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.17 2002/03/31 17:19:00 jongfoster
35 * Win32 only: Enabling STRICT to fix a VC++ compile warning.
37 * Revision 1.16 2002/03/26 22:57:44 jongfoster
38 * Web server name should begin www.
40 * Revision 1.15 2002/03/24 14:29:25 jongfoster
43 * Revision 1.14 2002/03/24 12:07:36 jongfoster
44 * Consistern name for filters file
46 * Revision 1.13 2002/03/24 12:03:47 jongfoster
49 * Revision 1.12 2001/07/30 22:16:07 jongfoster
50 * Tidying up #defines:
51 * - All feature #defines are now of the form FEATURE_xxx
52 * - Permanently turned off WIN_GUI_EDIT
53 * - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
55 * Revision 1.11 2001/07/21 17:53:41 jongfoster
56 * Adding version information block.
58 * Revision 1.10 2001/07/19 19:14:19 haroon
59 * - Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.
61 * Revision 1.9 2001/06/07 23:08:54 jongfoster
62 * Forward and ACL edit options removed.
63 * Config edit option renamed from "&Junkbuster" to "&Configuration".
65 * Revision 1.8 2001/05/31 21:37:11 jongfoster
66 * GUI changes to rename "permissions file" to "actions file".
68 * Revision 1.7 2001/05/29 09:50:24 jongfoster
69 * Unified blocklist/imagelist/permissionslist.
70 * File format is still under discussion, but the internal changes
73 * Also modified interceptor behaviour:
74 * - We now intercept all URLs beginning with one of the following
75 * prefixes (and *only* these prefixes):
77 * * http://ijbswa.sf.net/config/
78 * * http://ijbswa.sourceforge.net/config/
79 * - New interceptors "home page" - go to http://i.j.b/ to see it.
80 * - Internal changes so that intercepted and fast redirect pages
81 * are not replaced with an image.
82 * - Interceptors now have the option to send a binary page direct
83 * to the client. (i.e. ijb-send-banner uses this)
84 * - Implemented show-url-info interceptor. (Which is why I needed
85 * the above interceptors changes - a typical URL is
86 * "http://i.j.b/show-url-info?url=www.somesite.com/banner.gif".
87 * The previous mechanism would not have intercepted that, and
88 * if it had been intercepted then it then it would have replaced
91 * Revision 1.6 2001/05/26 14:15:18 jongfoster
92 * Cosmetic fix: // -> block comment
94 * Revision 1.5 2001/05/26 13:24:31 jongfoster
95 * New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
96 * This #define cannot be set from ./configure - there's no point, it
97 * doesn't work yet. See feature request # 425722
98 * (I missed this file in my original checkin)
100 * Revision 1.4 2001/05/26 00:28:36 jongfoster
101 * Automatic reloading of config file.
102 * Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
103 * Most of the global variables have been moved to a new
104 * struct configuration_spec, accessed through csp->config->globalname
105 * Most of the globals remaining are used by the Win32 GUI.
107 * Revision 1.3 2001/05/25 22:33:40 jongfoster
110 * Revision 1.2 2001/05/20 01:21:20 jongfoster
111 * Version 2.9.4 checkin.
112 * - Merged popupfile and cookiefile, and added control over PCRS
113 * filtering, in new "permissionsfile".
114 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
115 * file error you now get a message box (in the Win32 GUI) rather
116 * than the program exiting with no explanation.
117 * - Made killpopup use the PCRS MIME-type checking and HTTP-header
119 * - Removed tabs from "config"
120 * - Moved duplicated url parsing code in "loaders.c" to a new funcition.
121 * - Bumped up version number.
123 * Revision 1.1.1.1 2001/05/15 13:59:07 oes
124 * Initial import of version 2.9.3 source tree
127 *********************************************************************/
142 /****************************************************************************
143 * Language-neutral resources
144 ****************************************************************************/
146 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
148 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
149 #pragma code_page(1252)
155 * Icon with lowest ID value placed first to ensure application icon
156 * remains consistent on all systems.
158 IDI_MAINICON ICON DISCARDABLE "icons/privoxy.ico"
159 IDI_ANIMATED1 ICON DISCARDABLE "icons/ico00001.ico"
160 IDI_ANIMATED2 ICON DISCARDABLE "icons/ico00002.ico"
161 IDI_ANIMATED3 ICON DISCARDABLE "icons/ico00003.ico"
162 IDI_ANIMATED4 ICON DISCARDABLE "icons/ico00004.ico"
163 IDI_ANIMATED5 ICON DISCARDABLE "icons/ico00005.ico"
164 IDI_ANIMATED6 ICON DISCARDABLE "icons/ico00006.ico"
165 IDI_ANIMATED7 ICON DISCARDABLE "icons/ico00007.ico"
166 IDI_ANIMATED8 ICON DISCARDABLE "icons/ico00008.ico"
167 IDI_IDLE ICON DISCARDABLE "icons/idle.ico"
169 #endif /* Neutral resources */
172 /****************************************************************************
173 * English (U.S.) resources
174 ****************************************************************************/
176 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
178 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
179 #pragma code_page(1252)
180 #endif /* def _WIN32 */
187 VS_VERSION_INFO VERSIONINFO
188 FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
189 PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
200 BLOCK "StringFileInfo"
204 VALUE "CompanyName", "The Privoxy team - www.privoxy.org\0"
205 VALUE "FileDescription", "Privoxy\0"
206 VALUE "FileVersion", VERSION "\0"
207 VALUE "InternalName", "Privoxy\0"
208 VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
209 VALUE "OriginalFilename", "privoxy.exe\0"
210 VALUE "ProductName", "Privoxy\0"
211 VALUE "ProductVersion", VERSION "\0"
216 VALUE "Translation", 0x409, 1200
220 #endif /* ndef _MAC */
227 IDR_TRAYMENU MENU DISCARDABLE
231 MENUITEM "E&xit Privoxy", ID_FILE_EXIT
235 MENUITEM "&Configuration...", ID_TOOLS_EDITCONFIG
237 MENUITEM "&Actions...", ID_TOOLS_EDITACTIONS
238 MENUITEM "&Filters...", ID_TOOLS_EDITFILTERS
240 MENUITEM "&Trust...", ID_TOOLS_EDITTRUST
241 #endif /* def FEATURE_TRUST */
244 #ifdef FEATURE_TOGGLE
245 MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
246 #endif /* def FEATURE_TOGGLE */
247 MENUITEM "Show Privoxy &Window", ID_SHOWWINDOW
251 IDR_LOGVIEW MENU DISCARDABLE
255 MENUITEM "E&xit", ID_FILE_EXIT
259 MENUITEM "Copy", ID_EDIT_COPY
263 MENUITEM "&Clear Log", ID_VIEW_CLEARLOG
265 MENUITEM "&Log Messages", ID_VIEW_LOGMESSAGES, CHECKED
266 MENUITEM "Message &Highlighting", ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
267 MENUITEM "Limit &Buffer Size", ID_VIEW_LIMITBUFFERSIZE, CHECKED
268 MENUITEM "&Activity Animation", ID_VIEW_ACTIVITYANIMATION, CHECKED
272 #ifdef FEATURE_TOGGLE
273 MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
275 #endif /* def FEATURE_TOGGLE */
276 MENUITEM "&Configuration...", ID_TOOLS_EDITCONFIG
278 MENUITEM "&Actions...", ID_TOOLS_EDITACTIONS
279 MENUITEM "&Filters...", ID_TOOLS_EDITFILTERS
281 MENUITEM "&Trust...", ID_TOOLS_EDITTRUST
282 #endif /* def FEATURE_TRUST */
286 MENUITEM "Privoxy &FAQ", ID_HELP_FAQ
287 MENUITEM "Privoxy &Manual", ID_HELP_MANUAL
288 MENUITEM "GNU &General Public Licence", ID_HELP_GPL
290 MENUITEM "Privoxy Status...", ID_HELP_STATUS
292 MENUITEM "About Privoxy...", ID_HELP_ABOUT
296 IDR_POPUP_SELECTION MENU DISCARDABLE
300 MENUITEM "&Copy", ID_EDIT_COPY
309 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
311 "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
314 #endif /* English (U.S.) resources */