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.21 2008/11/02 14:37:47 ler762
35 * commit the part of the patches I've been using that were written by torford and gjmurphy
36 * [ 1824315 ] Minor code cleanup
37 * [ 1781135 ] Patch - Add clear log, select all, and Accelerators for w32
38 * http://sourceforge.net/tracker/?func=detail&atid=311118&aid=1781135&group_id=11118
39 * The full patch adds control keys A(select all), C(copy) and D(delete all) to the
40 * Privoxy log window menu. Select all and copy work for me without the patch
41 * (albeit without showing the accelerator keys on the menu), so the only part of the
42 * patch I've been using for the last year or so has been the ctrl-d to delete
43 * everything in the Privoxy log window.
45 * Revision 1.20 2006/08/18 02:06:25 david__schmidt
46 * Making icon go back to blue when idle.
49 * Revision 1.19 2006/07/18 14:48:48 david__schmidt
50 * Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
51 * with what was really the latest development (the v_3_0_branch branch)
53 * Revision 1.17.2.1 2002/08/21 17:58:40 oes
54 * - Reorder of Win32 menu
55 * - "Show Privoxy Window" now a toggle
56 * - Temp kludge to let user and default action file be edited through win32 GUI (FR 592080)
58 * Revision 1.17 2002/03/31 17:19:00 jongfoster
59 * Win32 only: Enabling STRICT to fix a VC++ compile warning.
61 * Revision 1.16 2002/03/26 22:57:44 jongfoster
62 * Web server name should begin www.
64 * Revision 1.15 2002/03/24 14:29:25 jongfoster
67 * Revision 1.14 2002/03/24 12:07:36 jongfoster
68 * Consistern name for filters file
70 * Revision 1.13 2002/03/24 12:03:47 jongfoster
73 * Revision 1.12 2001/07/30 22:16:07 jongfoster
74 * Tidying up #defines:
75 * - All feature #defines are now of the form FEATURE_xxx
76 * - Permanently turned off WIN_GUI_EDIT
77 * - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
79 * Revision 1.11 2001/07/21 17:53:41 jongfoster
80 * Adding version information block.
82 * Revision 1.10 2001/07/19 19:14:19 haroon
83 * - Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.
85 * Revision 1.9 2001/06/07 23:08:54 jongfoster
86 * Forward and ACL edit options removed.
87 * Config edit option renamed from "&Junkbuster" to "&Configuration".
89 * Revision 1.8 2001/05/31 21:37:11 jongfoster
90 * GUI changes to rename "permissions file" to "actions file".
92 * Revision 1.7 2001/05/29 09:50:24 jongfoster
93 * Unified blocklist/imagelist/permissionslist.
94 * File format is still under discussion, but the internal changes
97 * Also modified interceptor behaviour:
98 * - We now intercept all URLs beginning with one of the following
99 * prefixes (and *only* these prefixes):
101 * * http://ijbswa.sf.net/config/
102 * * http://ijbswa.sourceforge.net/config/
103 * - New interceptors "home page" - go to http://i.j.b/ to see it.
104 * - Internal changes so that intercepted and fast redirect pages
105 * are not replaced with an image.
106 * - Interceptors now have the option to send a binary page direct
107 * to the client. (i.e. ijb-send-banner uses this)
108 * - Implemented show-url-info interceptor. (Which is why I needed
109 * the above interceptors changes - a typical URL is
110 * "http://i.j.b/show-url-info?url=www.somesite.com/banner.gif".
111 * The previous mechanism would not have intercepted that, and
112 * if it had been intercepted then it then it would have replaced
115 * Revision 1.6 2001/05/26 14:15:18 jongfoster
116 * Cosmetic fix: // -> block comment
118 * Revision 1.5 2001/05/26 13:24:31 jongfoster
119 * New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
120 * This #define cannot be set from ./configure - there's no point, it
121 * doesn't work yet. See feature request # 425722
122 * (I missed this file in my original checkin)
124 * Revision 1.4 2001/05/26 00:28:36 jongfoster
125 * Automatic reloading of config file.
126 * Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
127 * Most of the global variables have been moved to a new
128 * struct configuration_spec, accessed through csp->config->globalname
129 * Most of the globals remaining are used by the Win32 GUI.
131 * Revision 1.3 2001/05/25 22:33:40 jongfoster
134 * Revision 1.2 2001/05/20 01:21:20 jongfoster
135 * Version 2.9.4 checkin.
136 * - Merged popupfile and cookiefile, and added control over PCRS
137 * filtering, in new "permissionsfile".
138 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
139 * file error you now get a message box (in the Win32 GUI) rather
140 * than the program exiting with no explanation.
141 * - Made killpopup use the PCRS MIME-type checking and HTTP-header
143 * - Removed tabs from "config"
144 * - Moved duplicated url parsing code in "loaders.c" to a new funcition.
145 * - Bumped up version number.
147 * Revision 1.1.1.1 2001/05/15 13:59:07 oes
148 * Initial import of version 2.9.3 source tree
151 *********************************************************************/
166 /****************************************************************************
167 * Language-neutral resources
168 ****************************************************************************/
170 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
172 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
173 #pragma code_page(1252)
179 * Icon with lowest ID value placed first to ensure application icon
180 * remains consistent on all systems.
182 IDI_MAINICON ICON DISCARDABLE "icons/privoxy.ico"
183 IDI_ANIMATED1 ICON DISCARDABLE "icons/ico00001.ico"
184 IDI_ANIMATED2 ICON DISCARDABLE "icons/ico00002.ico"
185 IDI_ANIMATED3 ICON DISCARDABLE "icons/ico00003.ico"
186 IDI_ANIMATED4 ICON DISCARDABLE "icons/ico00004.ico"
187 IDI_ANIMATED5 ICON DISCARDABLE "icons/ico00005.ico"
188 IDI_ANIMATED6 ICON DISCARDABLE "icons/ico00006.ico"
189 IDI_ANIMATED7 ICON DISCARDABLE "icons/ico00007.ico"
190 IDI_ANIMATED8 ICON DISCARDABLE "icons/ico00008.ico"
191 IDI_IDLE ICON DISCARDABLE "icons/privoxy.ico"
192 IDI_OFF ICON DISCARDABLE "icons/off.ico"
194 #endif /* Neutral resources */
197 /****************************************************************************
198 * English (U.S.) resources
199 ****************************************************************************/
201 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
203 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
204 #pragma code_page(1252)
205 #endif /* def _WIN32 */
212 VS_VERSION_INFO VERSIONINFO
213 FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
214 PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
225 BLOCK "StringFileInfo"
229 VALUE "CompanyName", "The Privoxy team - www.privoxy.org\0"
230 VALUE "FileDescription", "Privoxy\0"
231 VALUE "FileVersion", VERSION "\0"
232 VALUE "InternalName", "Privoxy\0"
233 VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
234 VALUE "OriginalFilename", "privoxy.exe\0"
235 VALUE "ProductName", "Privoxy\0"
236 VALUE "ProductVersion", VERSION "\0"
241 VALUE "Translation", 0x409, 1200
245 #endif /* ndef _MAC */
252 IDR_TRAYMENU MENU DISCARDABLE
256 MENUITEM "E&xit Privoxy", ID_FILE_EXIT
260 MENUITEM "&Main Configuration", ID_TOOLS_EDITCONFIG
261 MENUITEM "&Default Actions", ID_TOOLS_EDITDEFAULTACTIONS
262 MENUITEM "&User Actions", ID_TOOLS_EDITUSERACTIONS
263 MENUITEM "&Filters", ID_TOOLS_EDITFILTERS
265 MENUITEM "&Trust list", ID_TOOLS_EDITTRUST
266 #endif /* def FEATURE_TRUST */
269 #ifdef FEATURE_TOGGLE
270 MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
271 #endif /* def FEATURE_TOGGLE */
272 MENUITEM "Show Privoxy &Window", ID_TOGGLE_SHOWWINDOW, CHECKED
276 IDR_LOGVIEW MENU DISCARDABLE
280 MENUITEM "E&xit", ID_FILE_EXIT
284 MENUITEM "Copy", ID_EDIT_COPY
288 MENUITEM "&Clear Log\tCtrl+D", ID_VIEW_CLEARLOG
290 MENUITEM "&Log Messages", ID_VIEW_LOGMESSAGES, CHECKED
291 MENUITEM "Message &Highlighting", ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
292 MENUITEM "Limit &Buffer Size", ID_VIEW_LIMITBUFFERSIZE, CHECKED
293 MENUITEM "&Activity Animation", ID_VIEW_ACTIVITYANIMATION, CHECKED
297 #ifdef FEATURE_TOGGLE
298 MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
300 #endif /* def FEATURE_TOGGLE */
301 MENUITEM "Edit Main &Configuration", ID_TOOLS_EDITCONFIG
302 MENUITEM "Edit &Default Actions", ID_TOOLS_EDITDEFAULTACTIONS
303 MENUITEM "Edit &User Actions", ID_TOOLS_EDITUSERACTIONS
304 MENUITEM "Edit &Filters", ID_TOOLS_EDITFILTERS
306 MENUITEM "Edit &Trust list", ID_TOOLS_EDITTRUST
307 #endif /* def FEATURE_TRUST */
311 MENUITEM "Privoxy &FAQ", ID_HELP_FAQ
312 MENUITEM "Privoxy &Manual", ID_HELP_MANUAL
313 MENUITEM "GNU &General Public Licence", ID_HELP_GPL
315 MENUITEM "Privoxy Status...", ID_HELP_STATUS
317 MENUITEM "About Privoxy...", ID_HELP_ABOUT
321 IDR_POPUP_SELECTION MENU DISCARDABLE
325 MENUITEM "&Copy", ID_EDIT_COPY
334 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
336 "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
337 "D", ID_VIEW_CLEARLOG, VIRTKEY, CONTROL, NOINVERT
340 #endif /* English (U.S.) resources */