1 /*********************************************************************
3 * File : $Source: /cvsroot/ijbswa/current/w32.rc,v $
5 * Purpose : Windows GUI resource script.
7 * Copyright : Written by and Copyright (C) 2001-2002 members of
8 * the Privoxy team. http://www.privoxy.org/
10 * Based on the Internet Junkbuster originally written
11 * by and Copyright (C) 1997 Anonymous Coders and
12 * Junkbusters Corporation. http://www.junkbusters.com
14 * This program is free software; you can redistribute it
15 * and/or modify it under the terms of the GNU General
16 * Public License as published by the Free Software
17 * Foundation; either version 2 of the License, or (at
18 * your option) any later version.
20 * This program is distributed in the hope that it will
21 * be useful, but WITHOUT ANY WARRANTY; without even the
22 * implied warranty of MERCHANTABILITY or FITNESS FOR A
23 * PARTICULAR PURPOSE. See the GNU General Public
24 * License for more details.
26 * The GNU General Public License should be included with
27 * this file. If not, you can view it at
28 * http://www.gnu.org/copyleft/gpl.html
29 * or write to the Free Software Foundation, Inc., 59
30 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34 * Revision 1.19 2006/07/18 14:48:48 david__schmidt
35 * Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
36 * with what was really the latest development (the v_3_0_branch branch)
38 * Revision 1.17.2.1 2002/08/21 17:58:40 oes
39 * - Reorder of Win32 menu
40 * - "Show Privoxy Window" now a toggle
41 * - Temp kludge to let user and default action file be edited through win32 GUI (FR 592080)
43 * Revision 1.17 2002/03/31 17:19:00 jongfoster
44 * Win32 only: Enabling STRICT to fix a VC++ compile warning.
46 * Revision 1.16 2002/03/26 22:57:44 jongfoster
47 * Web server name should begin www.
49 * Revision 1.15 2002/03/24 14:29:25 jongfoster
52 * Revision 1.14 2002/03/24 12:07:36 jongfoster
53 * Consistern name for filters file
55 * Revision 1.13 2002/03/24 12:03:47 jongfoster
58 * Revision 1.12 2001/07/30 22:16:07 jongfoster
59 * Tidying up #defines:
60 * - All feature #defines are now of the form FEATURE_xxx
61 * - Permanently turned off WIN_GUI_EDIT
62 * - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
64 * Revision 1.11 2001/07/21 17:53:41 jongfoster
65 * Adding version information block.
67 * Revision 1.10 2001/07/19 19:14:19 haroon
68 * - Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.
70 * Revision 1.9 2001/06/07 23:08:54 jongfoster
71 * Forward and ACL edit options removed.
72 * Config edit option renamed from "&Junkbuster" to "&Configuration".
74 * Revision 1.8 2001/05/31 21:37:11 jongfoster
75 * GUI changes to rename "permissions file" to "actions file".
77 * Revision 1.7 2001/05/29 09:50:24 jongfoster
78 * Unified blocklist/imagelist/permissionslist.
79 * File format is still under discussion, but the internal changes
82 * Also modified interceptor behaviour:
83 * - We now intercept all URLs beginning with one of the following
84 * prefixes (and *only* these prefixes):
86 * * http://ijbswa.sf.net/config/
87 * * http://ijbswa.sourceforge.net/config/
88 * - New interceptors "home page" - go to http://i.j.b/ to see it.
89 * - Internal changes so that intercepted and fast redirect pages
90 * are not replaced with an image.
91 * - Interceptors now have the option to send a binary page direct
92 * to the client. (i.e. ijb-send-banner uses this)
93 * - Implemented show-url-info interceptor. (Which is why I needed
94 * the above interceptors changes - a typical URL is
95 * "http://i.j.b/show-url-info?url=www.somesite.com/banner.gif".
96 * The previous mechanism would not have intercepted that, and
97 * if it had been intercepted then it then it would have replaced
100 * Revision 1.6 2001/05/26 14:15:18 jongfoster
101 * Cosmetic fix: // -> block comment
103 * Revision 1.5 2001/05/26 13:24:31 jongfoster
104 * New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
105 * This #define cannot be set from ./configure - there's no point, it
106 * doesn't work yet. See feature request # 425722
107 * (I missed this file in my original checkin)
109 * Revision 1.4 2001/05/26 00:28:36 jongfoster
110 * Automatic reloading of config file.
111 * Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
112 * Most of the global variables have been moved to a new
113 * struct configuration_spec, accessed through csp->config->globalname
114 * Most of the globals remaining are used by the Win32 GUI.
116 * Revision 1.3 2001/05/25 22:33:40 jongfoster
119 * Revision 1.2 2001/05/20 01:21:20 jongfoster
120 * Version 2.9.4 checkin.
121 * - Merged popupfile and cookiefile, and added control over PCRS
122 * filtering, in new "permissionsfile".
123 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
124 * file error you now get a message box (in the Win32 GUI) rather
125 * than the program exiting with no explanation.
126 * - Made killpopup use the PCRS MIME-type checking and HTTP-header
128 * - Removed tabs from "config"
129 * - Moved duplicated url parsing code in "loaders.c" to a new funcition.
130 * - Bumped up version number.
132 * Revision 1.1.1.1 2001/05/15 13:59:07 oes
133 * Initial import of version 2.9.3 source tree
136 *********************************************************************/
151 /****************************************************************************
152 * Language-neutral resources
153 ****************************************************************************/
155 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
157 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
158 #pragma code_page(1252)
164 * Icon with lowest ID value placed first to ensure application icon
165 * remains consistent on all systems.
167 IDI_MAINICON ICON DISCARDABLE "icons/privoxy.ico"
168 IDI_ANIMATED1 ICON DISCARDABLE "icons/ico00001.ico"
169 IDI_ANIMATED2 ICON DISCARDABLE "icons/ico00002.ico"
170 IDI_ANIMATED3 ICON DISCARDABLE "icons/ico00003.ico"
171 IDI_ANIMATED4 ICON DISCARDABLE "icons/ico00004.ico"
172 IDI_ANIMATED5 ICON DISCARDABLE "icons/ico00005.ico"
173 IDI_ANIMATED6 ICON DISCARDABLE "icons/ico00006.ico"
174 IDI_ANIMATED7 ICON DISCARDABLE "icons/ico00007.ico"
175 IDI_ANIMATED8 ICON DISCARDABLE "icons/ico00008.ico"
176 IDI_IDLE ICON DISCARDABLE "icons/privoxy.ico"
178 #endif /* Neutral resources */
181 /****************************************************************************
182 * English (U.S.) resources
183 ****************************************************************************/
185 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
187 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
188 #pragma code_page(1252)
189 #endif /* def _WIN32 */
196 VS_VERSION_INFO VERSIONINFO
197 FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
198 PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
209 BLOCK "StringFileInfo"
213 VALUE "CompanyName", "The Privoxy team - www.privoxy.org\0"
214 VALUE "FileDescription", "Privoxy\0"
215 VALUE "FileVersion", VERSION "\0"
216 VALUE "InternalName", "Privoxy\0"
217 VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
218 VALUE "OriginalFilename", "privoxy.exe\0"
219 VALUE "ProductName", "Privoxy\0"
220 VALUE "ProductVersion", VERSION "\0"
225 VALUE "Translation", 0x409, 1200
229 #endif /* ndef _MAC */
236 IDR_TRAYMENU MENU DISCARDABLE
240 MENUITEM "E&xit Privoxy", ID_FILE_EXIT
244 MENUITEM "&Main Configuration", ID_TOOLS_EDITCONFIG
245 MENUITEM "&Default Actions", ID_TOOLS_EDITDEFAULTACTIONS
246 MENUITEM "&User Actions", ID_TOOLS_EDITUSERACTIONS
247 MENUITEM "&Filters", ID_TOOLS_EDITFILTERS
249 MENUITEM "&Trust list", ID_TOOLS_EDITTRUST
250 #endif /* def FEATURE_TRUST */
253 #ifdef FEATURE_TOGGLE
254 MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
255 #endif /* def FEATURE_TOGGLE */
256 MENUITEM "Show Privoxy &Window", ID_TOGGLE_SHOWWINDOW, CHECKED
260 IDR_LOGVIEW MENU DISCARDABLE
264 MENUITEM "E&xit", ID_FILE_EXIT
268 MENUITEM "Copy", ID_EDIT_COPY
272 MENUITEM "&Clear Log", ID_VIEW_CLEARLOG
274 MENUITEM "&Log Messages", ID_VIEW_LOGMESSAGES, CHECKED
275 MENUITEM "Message &Highlighting", ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
276 MENUITEM "Limit &Buffer Size", ID_VIEW_LIMITBUFFERSIZE, CHECKED
277 MENUITEM "&Activity Animation", ID_VIEW_ACTIVITYANIMATION, CHECKED
281 #ifdef FEATURE_TOGGLE
282 MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
284 #endif /* def FEATURE_TOGGLE */
285 MENUITEM "Edit Main &Configuration", ID_TOOLS_EDITCONFIG
286 MENUITEM "Edit &Default Actions", ID_TOOLS_EDITDEFAULTACTIONS
287 MENUITEM "Edit &User Actions", ID_TOOLS_EDITUSERACTIONS
288 MENUITEM "Edit &Filters", ID_TOOLS_EDITFILTERS
290 MENUITEM "Edit &Trust list", ID_TOOLS_EDITTRUST
291 #endif /* def FEATURE_TRUST */
295 MENUITEM "Privoxy &FAQ", ID_HELP_FAQ
296 MENUITEM "Privoxy &Manual", ID_HELP_MANUAL
297 MENUITEM "GNU &General Public Licence", ID_HELP_GPL
299 MENUITEM "Privoxy Status...", ID_HELP_STATUS
301 MENUITEM "About Privoxy...", ID_HELP_ABOUT
305 IDR_POPUP_SELECTION MENU DISCARDABLE
309 MENUITEM "&Copy", ID_EDIT_COPY
318 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
320 "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
323 #endif /* English (U.S.) resources */