1 /*********************************************************************
3 * File : $Source: /cvsroot/ijbswa/current/Attic/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.2.1 2002/08/21 17:58:40 oes
35 * - Reorder of Win32 menu
36 * - "Show Privoxy Window" now a toggle
37 * - Temp kludge to let user and default action file be edited through win32 GUI (FR 592080)
39 * Revision 1.17 2002/03/31 17:19:00 jongfoster
40 * Win32 only: Enabling STRICT to fix a VC++ compile warning.
42 * Revision 1.16 2002/03/26 22:57:44 jongfoster
43 * Web server name should begin www.
45 * Revision 1.15 2002/03/24 14:29:25 jongfoster
48 * Revision 1.14 2002/03/24 12:07:36 jongfoster
49 * Consistern name for filters file
51 * Revision 1.13 2002/03/24 12:03:47 jongfoster
54 * Revision 1.12 2001/07/30 22:16:07 jongfoster
55 * Tidying up #defines:
56 * - All feature #defines are now of the form FEATURE_xxx
57 * - Permanently turned off WIN_GUI_EDIT
58 * - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
60 * Revision 1.11 2001/07/21 17:53:41 jongfoster
61 * Adding version information block.
63 * Revision 1.10 2001/07/19 19:14:19 haroon
64 * - Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.
66 * Revision 1.9 2001/06/07 23:08:54 jongfoster
67 * Forward and ACL edit options removed.
68 * Config edit option renamed from "&Junkbuster" to "&Configuration".
70 * Revision 1.8 2001/05/31 21:37:11 jongfoster
71 * GUI changes to rename "permissions file" to "actions file".
73 * Revision 1.7 2001/05/29 09:50:24 jongfoster
74 * Unified blocklist/imagelist/permissionslist.
75 * File format is still under discussion, but the internal changes
78 * Also modified interceptor behaviour:
79 * - We now intercept all URLs beginning with one of the following
80 * prefixes (and *only* these prefixes):
82 * * http://ijbswa.sf.net/config/
83 * * http://ijbswa.sourceforge.net/config/
84 * - New interceptors "home page" - go to http://i.j.b/ to see it.
85 * - Internal changes so that intercepted and fast redirect pages
86 * are not replaced with an image.
87 * - Interceptors now have the option to send a binary page direct
88 * to the client. (i.e. ijb-send-banner uses this)
89 * - Implemented show-url-info interceptor. (Which is why I needed
90 * the above interceptors changes - a typical URL is
91 * "http://i.j.b/show-url-info?url=www.somesite.com/banner.gif".
92 * The previous mechanism would not have intercepted that, and
93 * if it had been intercepted then it then it would have replaced
96 * Revision 1.6 2001/05/26 14:15:18 jongfoster
97 * Cosmetic fix: // -> block comment
99 * Revision 1.5 2001/05/26 13:24:31 jongfoster
100 * New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
101 * This #define cannot be set from ./configure - there's no point, it
102 * doesn't work yet. See feature request # 425722
103 * (I missed this file in my original checkin)
105 * Revision 1.4 2001/05/26 00:28:36 jongfoster
106 * Automatic reloading of config file.
107 * Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
108 * Most of the global variables have been moved to a new
109 * struct configuration_spec, accessed through csp->config->globalname
110 * Most of the globals remaining are used by the Win32 GUI.
112 * Revision 1.3 2001/05/25 22:33:40 jongfoster
115 * Revision 1.2 2001/05/20 01:21:20 jongfoster
116 * Version 2.9.4 checkin.
117 * - Merged popupfile and cookiefile, and added control over PCRS
118 * filtering, in new "permissionsfile".
119 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
120 * file error you now get a message box (in the Win32 GUI) rather
121 * than the program exiting with no explanation.
122 * - Made killpopup use the PCRS MIME-type checking and HTTP-header
124 * - Removed tabs from "config"
125 * - Moved duplicated url parsing code in "loaders.c" to a new funcition.
126 * - Bumped up version number.
128 * Revision 1.1.1.1 2001/05/15 13:59:07 oes
129 * Initial import of version 2.9.3 source tree
132 *********************************************************************/
147 /****************************************************************************
148 * Language-neutral resources
149 ****************************************************************************/
151 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
153 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
154 #pragma code_page(1252)
160 * Icon with lowest ID value placed first to ensure application icon
161 * remains consistent on all systems.
163 IDI_MAINICON ICON DISCARDABLE "icons/privoxy.ico"
164 IDI_ANIMATED1 ICON DISCARDABLE "icons/ico00001.ico"
165 IDI_ANIMATED2 ICON DISCARDABLE "icons/ico00002.ico"
166 IDI_ANIMATED3 ICON DISCARDABLE "icons/ico00003.ico"
167 IDI_ANIMATED4 ICON DISCARDABLE "icons/ico00004.ico"
168 IDI_ANIMATED5 ICON DISCARDABLE "icons/ico00005.ico"
169 IDI_ANIMATED6 ICON DISCARDABLE "icons/ico00006.ico"
170 IDI_ANIMATED7 ICON DISCARDABLE "icons/ico00007.ico"
171 IDI_ANIMATED8 ICON DISCARDABLE "icons/ico00008.ico"
172 IDI_IDLE ICON DISCARDABLE "icons/idle.ico"
174 #endif /* Neutral resources */
177 /****************************************************************************
178 * English (U.S.) resources
179 ****************************************************************************/
181 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
183 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
184 #pragma code_page(1252)
185 #endif /* def _WIN32 */
192 VS_VERSION_INFO VERSIONINFO
193 FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
194 PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
205 BLOCK "StringFileInfo"
209 VALUE "CompanyName", "The Privoxy team - www.privoxy.org\0"
210 VALUE "FileDescription", "Privoxy\0"
211 VALUE "FileVersion", VERSION "\0"
212 VALUE "InternalName", "Privoxy\0"
213 VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
214 VALUE "OriginalFilename", "privoxy.exe\0"
215 VALUE "ProductName", "Privoxy\0"
216 VALUE "ProductVersion", VERSION "\0"
221 VALUE "Translation", 0x409, 1200
225 #endif /* ndef _MAC */
232 IDR_TRAYMENU MENU DISCARDABLE
236 MENUITEM "E&xit Privoxy", ID_FILE_EXIT
240 MENUITEM "&Main Configuration", ID_TOOLS_EDITCONFIG
241 MENUITEM "&Default Actions", ID_TOOLS_EDITDEFAULTACTIONS
242 MENUITEM "&User Actions", ID_TOOLS_EDITUSERACTIONS
243 MENUITEM "&Filters", ID_TOOLS_EDITFILTERS
245 MENUITEM "&Trust list", ID_TOOLS_EDITTRUST
246 #endif /* def FEATURE_TRUST */
249 #ifdef FEATURE_TOGGLE
250 MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
251 #endif /* def FEATURE_TOGGLE */
252 MENUITEM "Show Privoxy &Window", ID_TOGGLE_SHOWWINDOW, CHECKED
256 IDR_LOGVIEW MENU DISCARDABLE
260 MENUITEM "E&xit", ID_FILE_EXIT
264 MENUITEM "Copy", ID_EDIT_COPY
268 MENUITEM "&Clear Log", ID_VIEW_CLEARLOG
270 MENUITEM "&Log Messages", ID_VIEW_LOGMESSAGES, CHECKED
271 MENUITEM "Message &Highlighting", ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
272 MENUITEM "Limit &Buffer Size", ID_VIEW_LIMITBUFFERSIZE, CHECKED
273 MENUITEM "&Activity Animation", ID_VIEW_ACTIVITYANIMATION, CHECKED
277 #ifdef FEATURE_TOGGLE
278 MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
280 #endif /* def FEATURE_TOGGLE */
281 MENUITEM "Edit Main &Configuration", ID_TOOLS_EDITCONFIG
282 MENUITEM "Edit &Default Actions", ID_TOOLS_EDITDEFAULTACTIONS
283 MENUITEM "Edit &User Actions", ID_TOOLS_EDITUSERACTIONS
284 MENUITEM "Edit &Filters", ID_TOOLS_EDITFILTERS
286 MENUITEM "Edit &Trust list", ID_TOOLS_EDITTRUST
287 #endif /* def FEATURE_TRUST */
291 MENUITEM "Privoxy &FAQ", ID_HELP_FAQ
292 MENUITEM "Privoxy &Manual", ID_HELP_MANUAL
293 MENUITEM "GNU &General Public Licence", ID_HELP_GPL
295 MENUITEM "Privoxy Status...", ID_HELP_STATUS
297 MENUITEM "About Privoxy...", ID_HELP_ABOUT
301 IDR_POPUP_SELECTION MENU DISCARDABLE
305 MENUITEM "&Copy", ID_EDIT_COPY
314 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
316 "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
319 #endif /* English (U.S.) resources */