Commit 595f27a2 authored by Andrew Hodgkinson's avatar Andrew Hodgkinson
Browse files

Odd problem with Entries file meant none got checked in last time...

parent c46c55b2
...@@ -14,10 +14,13 @@ ...@@ -14,10 +14,13 @@
*/ */
/***************************************************/ /***************************************************/
/* File : MiscDefs.h */ /* File : MiscDefs.h */
/* */
/* Purpose: Miscellaneous definitions for the */ /* Purpose: Miscellaneous definitions for the */
/* browser. */ /* browser. */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 13-Feb-97: Created */ /* */
/* History: 13-Feb-97: Created. */
/***************************************************/ /***************************************************/
/* Browser-defined bits in the flags field of an HStream structure */ /* Browser-defined bits in the flags field of an HStream structure */
......
...@@ -14,18 +14,25 @@ ...@@ -14,18 +14,25 @@
*/ */
/***************************************************/ /***************************************************/
/* File : Mouse.h */ /* File : Mouse.h */
/* */
/* Purpose: Mouse pointer related functions for */ /* Purpose: Mouse pointer related functions for */
/* the browser */ /* the browser. */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 14-Mar-97: Created */ /* */
/* History: 14-Mar-97: Created. */
/***************************************************/ /***************************************************/
/* Shape definitions */ /* Shape definitions */
#define Mouse_Shape_Off 0 #define Mouse_Shape_Off 0
#define Mouse_Shape_Normal 1 #define Mouse_Shape_Normal 1
#define Mouse_Shape_Link 2 #define Mouse_Shape_Link 2
#define Mouse_Shape_Map 3 #define Mouse_Shape_Map 3
#define Mouse_Shape_UD 4
#define Mouse_Shape_LR 5
#define Mouse_Shape_UDLR 6
#define Mouse_Shape_NoResize 7
/* Function prototypes */ /* Function prototypes */
......
...@@ -12,26 +12,29 @@ ...@@ -12,26 +12,29 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
/*************************************************/ /***************************************************/
/* File : Multiuser.h */ /* File : Multiuser.h */
/* Purpose: Definitions required by multi-user */ /* */
/* builds. Included by Global.h if */ /* Purpose: Definitions required by multi-user */
/* SINGLE_USER is not defined. */ /* builds. Included by Global.h if */
/* Author : A.D.Hodgkinson */ /* SINGLE_USER is not defined. */
/* History: 23-Jul-97: Created */ /* */
/*************************************************/ /* Author : A.D.Hodgkinson */
/* */
/* History: 23-Jul-97: Created. */
/***************************************************/
/* Structures */
typedef struct userdef typedef struct userdef
{ {
char homepage [256]; char homepage [Limits_Multi_HomePage];
char name [32]; char name [Limits_Multi_Name];
char historyfile [Limits_Multi_History];
char lastfind [64]; char hotlistfile [Limits_Multi_Hotlist];
int casematch;
char historyfile [256];
char hotlistfile [256];
} userdef; } userdef;
/* Globals */
extern userdef user; extern userdef user;
...@@ -12,13 +12,16 @@ ...@@ -12,13 +12,16 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
/*************************************************/ /***************************************************/
/* File : NestWimp.h */ /* File : NestWimp.h */
/* Purpose: Definitions to use the new features */ /* */
/* of the nested Wimp. */ /* Purpose: Definitions to use the new features of */
/* Author : A.D.Hodgkinson */ /* the nested Wimp. */
/* History: 21-Feb-97: Created */ /* */
/*************************************************/ /* Author : A.D.Hodgkinson */
/* */
/* History: 21-Feb-97: Created. */
/***************************************************/
/* Extensions to Wimp_OpenWindow */ /* Extensions to Wimp_OpenWindow */
......
...@@ -14,9 +14,12 @@ ...@@ -14,9 +14,12 @@
*/ */
/***************************************************/ /***************************************************/
/* File : Printing.h */ /* File : Printing.h */
/* Purpose: Printing functions for the browser */ /* */
/* Purpose: Printing functions for the browser. */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 27-Jan-97: Created */ /* */
/* History: 27-Jan-97: Created. */
/***************************************************/ /***************************************************/
/* Message definitions */ /* Message definitions */
......
...@@ -14,9 +14,12 @@ ...@@ -14,9 +14,12 @@
*/ */
/***************************************************/ /***************************************************/
/* File : Redraw.h */ /* File : Redraw.h */
/* Purpose: Redraw functions for the browser */ /* */
/* Purpose: Redraw functions for the browser. */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 29-Nov-96: Created */ /* */
/* History: 29-Nov-96: Created. */
/***************************************************/ /***************************************************/
/* Definitions */ /* Definitions */
......
...@@ -14,9 +14,22 @@ ...@@ -14,9 +14,22 @@
*/ */
/***************************************************/ /***************************************************/
/* File : Reformat.h */ /* File : Reformat.h */
/* Purpose: Reformatting functions for the browser */ /* */
/* Purpose: Functions to handle page reformatting. */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 03-Dec-96: Created */ /* */
/* History: 03-Dec-96: Created. */
/* 16-Apr-97: First merge with T.Cheal's */
/* table code... */
/* 22-May-97: Amazingly, *still* trying */
/* to get this to work. */
/* 18-Jun-97: Hpmh; works, but very slow. */
/* Will need to rewrite at */
/* some stage; for the moment, */
/* moved a few bits over to */
/* Tables.c as they fitted in */
/* better over there. */
/***************************************************/ /***************************************************/
#include "HTMLLib.h" /* From the HTML library; the definitions below rely on this */ #include "HTMLLib.h" /* From the HTML library; the definitions below rely on this */
......
...@@ -14,25 +14,36 @@ ...@@ -14,25 +14,36 @@
*/ */
/***************************************************/ /***************************************************/
/* File : Save.h */ /* File : Save.h */
/* Purpose: Save functions for the browser */ /* */
/* Purpose: Save functions for the browser. */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 04-Dec-96: Created */ /* */
/* History: 04-Dec-96: Created. */
/***************************************************/ /***************************************************/
/* Filetype definitions */ /* Filetype definitions */
#define FileType_HTML 0xFAF
#define FileType_TEXT 0xFFF #define FileType_TEXT 0xFFF
#define FileType_DATA 0xFFD
#define FileType_POUT 0xFF4 #define FileType_POUT 0xFF4
#define FileType_TIFF 0xFF0
#define FileType_HTML 0xFAF
#define FileType_URI 0xF91 #define FileType_URI 0xF91
#define FileType_JPEG 0xC85
#define FileType_PNG 0xB60
#define FileType_URL 0xB28
#define FileType_GIF 0x695
/* Function prototypes */ /* Function prototypes */
ObjectId save_return_dialogue_id (void); ObjectId save_return_dialogue_id (void);
int save_fill_in (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int save_fill_in (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);
int save_fill_for_html (IdBlock * idb); int save_fill_for_html (IdBlock * idb);
_kernel_oserror * save_fill_for_object (browser_data * b, char * url);
int save_save_to_file (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int save_save_to_file (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);
int save_fill_buffer (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int save_fill_buffer (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);
int save_save_completed (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int save_save_completed (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);
int save_dialogue_completed (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
* limitations under the License. * limitations under the License.
*/ */
/***************************************************/ /***************************************************/
/* File : tablelib.c */ /* File : Tables.h */
/* Purpose: Table handling functions */ /* */
/* Purpose: Table handling functions. */
/* */
/* Author : T.Cheal, adapted by A.D.Hodgkinson */ /* Author : T.Cheal, adapted by A.D.Hodgkinson */
/* */
/* History: 18-Mar-97: Datestamp on code received */ /* History: 18-Mar-97: Datestamp on code received */
/* from T.Cheal. */ /* from T.Cheal. */
/* 17-Apr-97: Split up; HTMLLib specific */ /* 17-Apr-97: Split up; HTMLLib specific */
......
...@@ -12,13 +12,16 @@ ...@@ -12,13 +12,16 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
/*************************************************/ /***************************************************/
/* File : TokenUtils.h */ /* File : TokenUtils.h */
/* Purpose: Utility functions for finding */ /* */
/* out information about tokens. */ /* Purpose: Utility functions for finding out */
/* Author : A.D.Hodgkinson */ /* information about tokens. */
/* History: 09-Apr-97: Created */ /* */
/*************************************************/ /* Author : A.D.Hodgkinson */
/* */
/* History: 09-Apr-97: Created. */
/***************************************************/
/* Structures */ /* Structures */
......
...@@ -14,10 +14,13 @@ ...@@ -14,10 +14,13 @@
*/ */
/***************************************************/ /***************************************************/
/* File : ToolAction.h */ /* File : ToolAction.h */
/* */
/* Purpose: Definitions that don't use OSLib... */ /* Purpose: Definitions that don't use OSLib... */
/* */
/* Author : Copied from header by S.Middleton, by */ /* Author : Copied from header by S.Middleton, by */
/* A.D.Hodgkinson. */ /* A.D.Hodgkinson */
/* History: 26-Feb-97: Created */ /* */
/* History: 26-Feb-97: Created. */
/***************************************************/ /***************************************************/
/********************************** /**********************************
......
...@@ -14,10 +14,13 @@ ...@@ -14,10 +14,13 @@
*/ */
/***************************************************/ /***************************************************/
/* File : Toolbars.h */ /* File : Toolbars.h */
/* */
/* Purpose: Toolbar-related functions for the */ /* Purpose: Toolbar-related functions for the */
/* browser */ /* browser. */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 21-Nov-96: Created */ /* */
/* History: 21-Nov-96: Created. */
/***************************************************/ /***************************************************/
/* Magic number definitions */ /* Magic number definitions */
......
...@@ -14,14 +14,17 @@ ...@@ -14,14 +14,17 @@
*/ */
/***************************************************/ /***************************************************/
/* File : Trace.c */ /* File : Trace.c */
/* */
/* Purpose: Trace build only debugging functions */ /* Purpose: Trace build only debugging functions */
/* - not the sort of thing that hacks */ /* - not the sort of thing that hacks */
/* up some text display or whatever; that */ /* up some text display or whatever; that */
/* is the domain of TML. These functions */ /* is the domain of TML. These functions */
/* are for principally file-based output */ /* are for principally file-based output */
/* of things like token list dumps. */ /* of things like token list dumps. */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 02-Jul-97: Created */ /* */
/* History: 02-Jul-97: Created. */
/***************************************************/ /***************************************************/
int trace_dump_tokens_by_line (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int trace_dump_tokens_by_line (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);
......
...@@ -14,16 +14,23 @@ ...@@ -14,16 +14,23 @@
*/ */
/***************************************************/ /***************************************************/
/* File : URLutils.h */ /* File : URLutils.h */
/* */
/* Purpose: URL manipulation for the browser. */ /* Purpose: URL manipulation for the browser. */
/* */
/* Author : Merlyn Kline for Customer browser */ /* Author : Merlyn Kline for Customer browser */
/* This source adapted by A.D.Hodgkinson */ /* This source adapted by A.D.Hodgkinson */
/* from various original functions, with */ /* from various original functions */
/* new additions. */ /* */
/* History: 06-Feb-97: Created */ /* History: 06-Feb-97: Created. */
/***************************************************/ /***************************************************/
#include "URI.h" /* URI handler API, in URILib:h */ #include "URI.h" /* URI handler API, in URILib:h */
/* General definitions */
#define Internal_URL "!INTRNL!" /* Special string (i.e. hack...) to mark a URL as internal only. */
#define Int_URL_Len 8 /* Saves having to strlen(Internal_URL) in various places. */
/* Structures */ /* Structures */
/* If using the URI handler, need to keep an array of all */ /* If using the URI handler, need to keep an array of all */
......
...@@ -12,12 +12,15 @@ ...@@ -12,12 +12,15 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
/*************************************************/ /***************************************************/
/* File : Utils.h */ /* File : Utils.h */
/* Purpose: Infrequently altered utilities */ /* */
/* Author : A.D.Hodgkinson */ /* Purpose: Infrequently altered utilities. */
/* History: 18-Oct-96: Created */ /* */
/*************************************************/ /* Author : A.D.Hodgkinson */
/* */
/* History: 18-Oct-96: Created. */
/***************************************************/
/* Useful macros */ /* Useful macros */
...@@ -41,7 +44,7 @@ ...@@ -41,7 +44,7 @@
#define Utils_Error_Custom_Fatal ((1u<<30) + 1) /* Offers only 'Quit' */ #define Utils_Error_Custom_Fatal ((1u<<30) + 1) /* Offers only 'Quit' */
#define Utils_Error_Custom_Message ((1u<<30) + 2) /* Offers only 'Continue' */ #define Utils_Error_Custom_Message ((1u<<30) + 2) /* Offers only 'Continue' */
/* Miscellaneous function prototypes */ /* Function prototypes */
char * lookup_token (char * s, int flag, char * arg); char * lookup_token (char * s, int flag, char * arg);
char * lookup_choice (char * s, int flag, char * arg); char * lookup_choice (char * s, int flag, char * arg);
...@@ -102,6 +105,7 @@ browser_data * utils_ancestor (browser_data * b); ...@@ -102,6 +105,7 @@ browser_data * utils_ancestor (browser_data * b);
int encode_base64 (const char * in, int len, char * out); int encode_base64 (const char * in, int len, char * out);
int utils_strcasecmp (const char * a, const char * b); int utils_strcasecmp (const char * a, const char * b);
int utils_strncasecmp (const char * a, const char * b, unsigned int n); int utils_strncasecmp (const char * a, const char * b, unsigned int n);
int utils_len_printf (const char * format, ...);
_kernel_oserror * utils_stop_webserv (void); _kernel_oserror * utils_stop_webserv (void);
_kernel_oserror * utils_set_http_agent (void); _kernel_oserror * utils_set_http_agent (void);
...@@ -13,14 +13,16 @@ ...@@ -13,14 +13,16 @@
* limitations under the License. * limitations under the License.
*/ */
/***************************************************/ /***************************************************/
/* File : Utils.h */
/* File : Windows.h */ /* File : Windows.h */
/* */
/* Purpose: Window related functions for the */ /* Purpose: Window related functions for the */
/* browser (open, close, create, etc.). */ /* browser (open, close, create, etc.). */
/* */
/* Author : A.D.Hodgkinson */ /* Author : A.D.Hodgkinson */
/* History: 20-Nov-96: Created */ /* */
/* 15-Mar-97: Browser.c created from all */ /* History: 20-Nov-96: Created. */
/* browser_ prefixed functions */ /* 15-Mar-97: Split up to form Browser.h. */
/* to reduce source file size */
/***************************************************/ /***************************************************/
/* Magic number definitions */ /* Magic number definitions */
...@@ -33,7 +35,7 @@ ...@@ -33,7 +35,7 @@
/* Function prototypes */ /* Function prototypes */
int windows_new_browser (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle); int windows_new_browser (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);
_kernel_oserror * windows_create_browser (char * url, browser_data * parent, BBox * size, char * name); _kernel_oserror * windows_create_browser (char * url, browser_data * parent, BBox * size, char * name, int savelink);
int windows_open_browser (int eventcode, WimpPollBlock * b, IdBlock * idb, browser_data * handle); int windows_open_browser (int eventcode, WimpPollBlock * b, IdBlock * idb, browser_data * handle);
int windows_remember_size (int eventcode, WimpPollBlock * b, IdBlock * idb, void * handle); int windows_remember_size (int eventcode, WimpPollBlock * b, IdBlock * idb, void * handle);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment