Typo: inspect_jpegs, not inspect-jpegs in form
[privoxy.git] / src / w32res.rc
1 /*********************************************************************
2  *
3  * File        :  $Source: /cvsroot/ijbswa/current/src/w32res.rc,v $
4  *
5  * Purpose     :  Windows GUI resource script.
6  *
7  * Copyright   :  Written by and Copyright (C) 2001-2002 members of
8  *                the Privoxy team.  http://www.privoxy.org/
9  *
10  *                Based on the Internet Junkbuster originally written
11  *                by and Copyright (C) 1997 Anonymous Coders and 
12  *                Junkbusters Corporation.  http://www.junkbusters.com
13  *
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.
19  *
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.
25  *
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.
31  *
32  * Revisions   :
33  *    $Log: w32res.rc,v $
34  *    Revision 2.1  2002/09/05 08:26:42  oes
35  *    Synced with the stable branch:
36  *        Revision 1.17.2.1  2002/08/21 17:58:40  oes
37  *         - Reorder of Win32 menu
38  *         - "Show Privoxy Window" now a toggle
39  *         - Temp kludge to let user and default action file be edited through win32 GUI (FR 592080)
40  *
41  *    Revision 2.0  2002/06/04 14:43:03  jongfoster
42  *    Moving to src/, renaming from w32.rc to w32res.rc
43  *
44  *    Revision 1.17  2002/03/31 17:19:00  jongfoster
45  *    Win32 only: Enabling STRICT to fix a VC++ compile warning.
46  *
47  *    Revision 1.16  2002/03/26 22:57:44  jongfoster
48  *    Web server name should begin www.
49  *
50  *    Revision 1.15  2002/03/24 14:29:25  jongfoster
51  *    Renaming icon file
52  *
53  *    Revision 1.14  2002/03/24 12:07:36  jongfoster
54  *    Consistern name for filters file
55  *
56  *    Revision 1.13  2002/03/24 12:03:47  jongfoster
57  *    Name change
58  *
59  *    Revision 1.12  2001/07/30 22:16:07  jongfoster
60  *    Tidying up #defines:
61  *    - All feature #defines are now of the form FEATURE_xxx
62  *    - Permanently turned off WIN_GUI_EDIT
63  *    - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
64  *
65  *    Revision 1.11  2001/07/21 17:53:41  jongfoster
66  *    Adding version information block.
67  *
68  *    Revision 1.10  2001/07/19 19:14:19  haroon
69  *    -  Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.
70  *
71  *    Revision 1.9  2001/06/07 23:08:54  jongfoster
72  *    Forward and ACL edit options removed.
73  *    Config edit option renamed from "&Junkbuster" to "&Configuration".
74  *
75  *    Revision 1.8  2001/05/31 21:37:11  jongfoster
76  *    GUI changes to rename "permissions file" to "actions file".
77  *
78  *    Revision 1.7  2001/05/29 09:50:24  jongfoster
79  *    Unified blocklist/imagelist/permissionslist.
80  *    File format is still under discussion, but the internal changes
81  *    are (mostly) done.
82  *
83  *    Also modified interceptor behaviour:
84  *    - We now intercept all URLs beginning with one of the following
85  *      prefixes (and *only* these prefixes):
86  *        * http://i.j.b/
87  *        * http://ijbswa.sf.net/config/
88  *        * http://ijbswa.sourceforge.net/config/
89  *    - New interceptors "home page" - go to http://i.j.b/ to see it.
90  *    - Internal changes so that intercepted and fast redirect pages
91  *      are not replaced with an image.
92  *    - Interceptors now have the option to send a binary page direct
93  *      to the client. (i.e. ijb-send-banner uses this)
94  *    - Implemented show-url-info interceptor.  (Which is why I needed
95  *      the above interceptors changes - a typical URL is
96  *      "http://i.j.b/show-url-info?url=www.somesite.com/banner.gif".
97  *      The previous mechanism would not have intercepted that, and
98  *      if it had been intercepted then it then it would have replaced
99  *      it with an image.)
100  *
101  *    Revision 1.6  2001/05/26 14:15:18  jongfoster
102  *    Cosmetic fix: // -> block comment
103  *
104  *    Revision 1.5  2001/05/26 13:24:31  jongfoster
105  *    New #define, WIN_GUI_EDIT, enables the (embryonic) Win32 GUI editor.
106  *    This #define cannot be set from ./configure - there's no point, it
107  *    doesn't work yet.  See feature request # 425722
108  *    (I missed this file in my original checkin)
109  *
110  *    Revision 1.4  2001/05/26 00:28:36  jongfoster
111  *    Automatic reloading of config file.
112  *    Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
113  *    Most of the global variables have been moved to a new
114  *    struct configuration_spec, accessed through csp->config->globalname
115  *    Most of the globals remaining are used by the Win32 GUI.
116  *
117  *    Revision 1.3  2001/05/25 22:33:40  jongfoster
118  *    CRLF->LF
119  *
120  *    Revision 1.2  2001/05/20 01:21:20  jongfoster
121  *    Version 2.9.4 checkin.
122  *    - Merged popupfile and cookiefile, and added control over PCRS
123  *      filtering, in new "permissionsfile".
124  *    - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
125  *      file error you now get a message box (in the Win32 GUI) rather
126  *      than the program exiting with no explanation.
127  *    - Made killpopup use the PCRS MIME-type checking and HTTP-header
128  *      skipping.
129  *    - Removed tabs from "config"
130  *    - Moved duplicated url parsing code in "loaders.c" to a new funcition.
131  *    - Bumped up version number.
132  *
133  *    Revision 1.1.1.1  2001/05/15 13:59:07  oes
134  *    Initial import of version 2.9.3 source tree
135  *
136  *
137  *********************************************************************/
138
139 #include "config.h"
140
141 #ifndef STRICT
142 #define STRICT
143 #endif
144 #include <windows.h>
145
146 #include "w32res.h"
147
148 #ifdef __MINGW32__
149 #include "cygwin.h"
150 #endif
151
152 /****************************************************************************
153  *  Language-neutral resources
154  ****************************************************************************/
155
156 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
157 #ifdef _WIN32
158 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
159 #pragma code_page(1252)
160 #endif /* _WIN32 */
161
162 /*
163  * Icons
164  *
165  * Icon with lowest ID value placed first to ensure application icon
166  * remains consistent on all systems.
167  */
168 IDI_MAINICON            ICON    DISCARDABLE     "src/icons/privoxy.ico"
169 IDI_ANIMATED1           ICON    DISCARDABLE     "src/icons/ico00001.ico"
170 IDI_ANIMATED2           ICON    DISCARDABLE     "src/icons/ico00002.ico"
171 IDI_ANIMATED3           ICON    DISCARDABLE     "src/icons/ico00003.ico"
172 IDI_ANIMATED4           ICON    DISCARDABLE     "src/icons/ico00004.ico"
173 IDI_ANIMATED5           ICON    DISCARDABLE     "src/icons/ico00005.ico"
174 IDI_ANIMATED6           ICON    DISCARDABLE     "src/icons/ico00006.ico"
175 IDI_ANIMATED7           ICON    DISCARDABLE     "src/icons/ico00007.ico"
176 IDI_ANIMATED8           ICON    DISCARDABLE     "src/icons/ico00008.ico"
177 IDI_IDLE                ICON    DISCARDABLE     "src/icons/idle.ico"
178
179 #endif /* Neutral resources */
180
181
182 /****************************************************************************
183  *  English (U.S.) resources
184  ****************************************************************************/
185
186 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
187 #ifdef _WIN32
188 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
189 #pragma code_page(1252)
190 #endif /* def _WIN32 */
191
192 /*
193  * File Version
194  */
195 #ifndef _MAC
196
197 VS_VERSION_INFO VERSIONINFO
198  FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
199  PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
200  FILEFLAGSMASK 0x3fL
201 #ifdef _DEBUG
202  FILEFLAGS 0x1L
203 #else
204  FILEFLAGS 0x0L
205 #endif
206  FILEOS 0x40004L
207  FILETYPE 0x1L
208  FILESUBTYPE 0x0L
209 BEGIN
210     BLOCK "StringFileInfo"
211     BEGIN
212         BLOCK "040904b0"
213         BEGIN
214             VALUE "CompanyName", "The Privoxy team - www.privoxy.org\0"
215             VALUE "FileDescription", "Privoxy\0"
216             VALUE "FileVersion", VERSION "\0"
217             VALUE "InternalName", "Privoxy\0"
218             VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
219             VALUE "OriginalFilename", "privoxy.exe\0"
220             VALUE "ProductName", "Privoxy\0"
221             VALUE "ProductVersion", VERSION "\0"
222         END
223     END
224     BLOCK "VarFileInfo"
225     BEGIN
226         VALUE "Translation", 0x409, 1200
227     END
228 END
229
230 #endif /* ndef _MAC */
231
232
233 /*
234  * Menus
235  */
236
237 IDR_TRAYMENU MENU DISCARDABLE
238 BEGIN
239     POPUP "Popup"
240     BEGIN
241         MENUITEM "E&xit Privoxy",      ID_FILE_EXIT
242         MENUITEM                       SEPARATOR
243         POPUP "E&dit.."
244         BEGIN
245             MENUITEM "&Main Configuration",           ID_TOOLS_EDITCONFIG
246             MENUITEM "&Default Actions",              ID_TOOLS_EDITDEFAULTACTIONS
247             MENUITEM "&User Actions",                 ID_TOOLS_EDITUSERACTIONS
248             MENUITEM "&Filters",                      ID_TOOLS_EDITFILTERS
249 #ifdef FEATURE_TRUST
250             MENUITEM "&Trust list",                   ID_TOOLS_EDITTRUST
251 #endif /* def FEATURE_TRUST */
252         END
253         MENUITEM                              SEPARATOR
254 #ifdef FEATURE_TOGGLE
255         MENUITEM "&Enable",                   ID_TOGGLE_ENABLED, CHECKED
256 #endif /* def FEATURE_TOGGLE */
257         MENUITEM "Show Privoxy &Window",      ID_TOGGLE_SHOWWINDOW, CHECKED
258     END
259 END
260
261 IDR_LOGVIEW MENU DISCARDABLE
262 BEGIN
263     POPUP "&File"
264     BEGIN
265         MENUITEM "E&xit",                       ID_FILE_EXIT
266     END
267     POPUP "&Edit"
268     BEGIN
269         MENUITEM "Copy",                        ID_EDIT_COPY
270     END
271     POPUP "&View"
272     BEGIN
273         MENUITEM "&Clear Log",                  ID_VIEW_CLEARLOG
274         MENUITEM                                SEPARATOR
275         MENUITEM "&Log Messages",               ID_VIEW_LOGMESSAGES, CHECKED
276         MENUITEM "Message &Highlighting",       ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
277         MENUITEM "Limit &Buffer Size",          ID_VIEW_LIMITBUFFERSIZE, CHECKED
278         MENUITEM "&Activity Animation",         ID_VIEW_ACTIVITYANIMATION, CHECKED
279     END
280     POPUP "&Options"
281     BEGIN
282 #ifdef FEATURE_TOGGLE
283         MENUITEM "&Enable",                     ID_TOGGLE_ENABLED, CHECKED
284         MENUITEM                                SEPARATOR
285 #endif /* def FEATURE_TOGGLE */
286         MENUITEM "Edit Main &Configuration",      ID_TOOLS_EDITCONFIG
287         MENUITEM "Edit &Default Actions",         ID_TOOLS_EDITDEFAULTACTIONS
288         MENUITEM "Edit &User Actions",            ID_TOOLS_EDITUSERACTIONS
289         MENUITEM "Edit &Filters",                 ID_TOOLS_EDITFILTERS
290 #ifdef FEATURE_TRUST
291         MENUITEM "Edit &Trust list",              ID_TOOLS_EDITTRUST
292 #endif /* def FEATURE_TRUST */
293     END
294     POPUP "&Help"
295     BEGIN
296         MENUITEM "Privoxy &FAQ",                ID_HELP_FAQ
297         MENUITEM "Privoxy &Manual",             ID_HELP_MANUAL
298         MENUITEM "GNU &General Public Licence", ID_HELP_GPL
299         MENUITEM                                SEPARATOR
300         MENUITEM "Privoxy Status...",           ID_HELP_STATUS
301         MENUITEM                                SEPARATOR
302         MENUITEM "About Privoxy...",            ID_HELP_ABOUT
303     END
304 END
305
306 IDR_POPUP_SELECTION MENU DISCARDABLE
307 BEGIN
308     POPUP "Popup"
309     BEGIN
310         MENUITEM "&Copy",                       ID_EDIT_COPY
311     END
312 END
313
314
315 /*
316  * Accelerators
317  */
318
319 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
320 BEGIN
321     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
322 END
323
324 #endif /* English (U.S.) resources */