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