Commit Graph

1863 Commits

Author SHA1 Message Date
Chris Young
ca6d6abf0f Remove links to files that don't exist in the archive 2014-09-02 19:03:07 +01:00
Chris Young
fa437777c4 Update version numbers for new release cycle. 2014-09-02 19:00:21 +01:00
Chris Young
93d7cf59ff Reduce stack back down to 64K 2014-09-02 18:58:28 +01:00
Michael Drake
34d7edcdc6 Remove debug logging. 2014-08-30 15:40:00 +01:00
Chris Young
5b815861f3 Ensure the favicon updates correctly when we close a tab 2014-08-25 20:20:16 +01:00
Chris Young
956997b178 Avoid a crash when running on own screen 2014-08-25 20:13:59 +01:00
Chris Young
349913572c Fix web search from context menu 2014-08-24 16:54:20 +01:00
Chris Young
2353790a45 Reduce minimum stack to 128K.
This should make it easier to see if bug#2177 is fully resolved.
2014-08-03 12:24:08 +01:00
Chris Young
116149c61c Use label.image's In Menu Mode when available 2014-07-28 18:22:09 +01:00
Chris Young
989e82544e Increase minimum stack to 1MB 2014-07-26 13:11:44 +01:00
Chris Young
db28f295a8 Raise minimum stack to 512K 2014-07-26 00:24:19 +01:00
Chris Young
36411a2ba5 Fix tab title when "always show tabs" is enabled and only one tab is present 2014-07-12 16:09:08 +01:00
Chris Young
d61713d107 Don't update if there is no browser attached (fixes potential crash on startup) 2014-07-12 16:01:43 +01:00
Chris Young
c3514c2c50 Ensure tab titles are updated if the tab bar is newly added 2014-07-12 15:44:14 +01:00
Vincent Sanders
3a9fa29ee5 try and improve usage of browser window internals 2014-07-06 18:34:34 +01:00
Vincent Sanders
0f151e37cb Merge branch 'vince/reformatpending'
Conflicts:
	amiga/gui.c
2014-07-06 10:45:31 +01:00
Chris Young
f5c62c2291 Stop the throbber resetting itself to frame 1 2014-07-05 19:07:20 +01:00
Chris Young
ab5b2d9afe Move favicon redraw to scheduled callback 2014-07-05 19:00:21 +01:00
Chris Young
21a21e8143 Move the throbber to proper scheduled operation 2014-07-05 18:44:44 +01:00
Chris Young
0e28071fa3 Moved forced throbber redraw to a scheduled callback 2014-07-05 17:59:54 +01:00
Chris Young
bdcb123f0a Replace a flag for search ico refresh with a scheduled callback 2014-07-05 17:47:40 +01:00
Chris Young
f3508427f8 Ensure Ctrl-C does not terminate NetSurf abruptly. 2014-07-05 09:36:43 +01:00
Chris Young
eccfdec27a Wait for network activity instead of polling. 2014-07-03 20:53:28 +01:00
Chris Young
074e6f3ec6 Remove some code duplication, tidy up and documentation 2014-07-03 00:08:56 +01:00
Chris Young
f52501d9ad If we try to duplicate an existing scheduled event, reschedule it instead. 2014-07-02 18:43:44 +01:00
Chris Young
5105249bf7 tidy up schedule removal 2014-07-02 18:35:16 +01:00
Vincent Sanders
8848f754e0 documentation fixes and cleanups 2014-07-02 16:39:08 +01:00
Chris Young
4497e9aab7 Neaten up sub-menu highlighting 2014-07-01 23:16:24 +01:00
Chris Young
291f1094eb Add some space between icon and text in the menu 2014-07-01 18:29:10 +01:00
Vincent Sanders
18aefabd20 change reformat to be driven from the scheduler like redraw 2014-07-01 09:27:20 +01:00
Vincent Sanders
2330503533 Merge branch 'vince/fetchschedule' 2014-07-01 09:03:47 +01:00
Chris Young
01088bb63b Re-disable the favicon render hook 2014-07-01 08:28:07 +01:00
Chris Young
1aed82b074 fix warnings 2014-06-30 22:38:58 +01:00
Chris Young
846b534854 Recreate the entire menu when the hotlist window is closed.
This ensures the hotlist entries in the menu are in sync with reality, and mirrors the existing hotlist toolbar update.
2014-06-30 22:37:05 +01:00
Chris Young
01271f4061 Re-enable favicon render hook. Not sure why or when this was disabled. 2014-06-30 22:21:10 +01:00
Chris Young
0c5bb37bea Implement a very basic favicon cache for the hotlist menu to use 2014-06-29 22:35:52 +01:00
Vincent Sanders
8944edd649 convert all frontends to scheduled fetch operation 2014-06-26 19:05:59 +01:00
Vincent Sanders
4b2101ba6a clean up the fetcher factory and improve its API 2014-06-19 18:27:24 +01:00
Chris Young
904cefd388 Enable temporary change of search provider from the main browser window 2014-06-15 15:48:55 +01:00
Chris Young
3de529d815 Change the search ico to be a chooser gadget with the icon as the display 2014-06-15 15:39:49 +01:00
Chris Young
d552865da1 Use search provider iterator.
Use a List instead of an array as it is more flexible
2014-06-15 14:56:09 +01:00
Vincent Sanders
8e29e517d5 fix disc cache size option to be unsigned 2014-06-09 13:13:59 +01:00
Vincent Sanders
f1c2dde13b extend file table with mkdir all and make fs backing store use it.
enable fs backing store for RISC OS.
2014-06-05 12:06:47 +01:00
Chris Young
ea01d6b3fc Double the stack as it still runs out on occasion 2014-06-01 08:46:22 +01:00
Chris Young
a98b946ca2 Confidently remove the debug 2014-06-01 08:45:29 +01:00
Chris Young
3457d3adc7 Sometimes (but not always) the UTF-16 conversion inserts a BOM. Skip it. 2014-06-01 08:44:51 +01:00
Michael Drake
0cdc102946 Remove unused variable. 2014-05-31 08:48:50 +01:00
Michael Drake
ee32aa43fe Remove an unused variable. 2014-05-31 08:47:32 +01:00
Vincent Sanders
7d02ae916a make launch_url core operation use nsurl 2014-05-27 23:52:35 +01:00
Vincent Sanders
1966649c83 fix amiga build to use correct nsurl acessor function 2014-05-27 00:15:34 +01:00
Vincent Sanders
688f60d963 fix errors with path_to_url conversion 2014-05-27 00:08:04 +01:00
Vincent Sanders
00b6cfc57e rework path to url mapping functions to convert from and to nsurl 2014-05-26 23:52:36 +01:00
Chris Young
4a9e1edbde Redraw the favicon if the window is resized. 2014-05-25 15:07:40 +01:00
Chris Young
bd9acf594f Try to ensure we get the correct search icon when the window opens. 2014-05-25 10:37:20 +01:00
Chris Young
2a58fa54c1 Map default.ico 2014-05-25 10:27:26 +01:00
Chris Young
ab5fb83037 Move search_web_init somewhere sane 2014-05-25 10:26:34 +01:00
Vincent Sanders
5d8d4d84b7 use new search web interface to refresh icon. 2014-05-25 01:16:32 +01:00
Vincent Sanders
b34a6bbe31 fix warnings in amiga build introduced in websearch changes 2014-05-25 01:14:01 +01:00
Vincent Sanders
649f4f8890 fix amiga build error 2014-05-25 01:11:24 +01:00
Vincent Sanders
a6d3ceae0e Completely re-write web search provider handling 2014-05-25 01:01:59 +01:00
Chris Young
610fafc0f9 Fix login window title 2014-05-24 12:04:00 +01:00
Chris Young
61b3537f59 Fix download URL handling 2014-05-24 12:02:41 +01:00
Chris Young
92d29c26d4 Stop treeview items moving when they've been dragged outside the treeview window. 2014-05-24 11:46:14 +01:00
Chris Young
06ad319c24 Filter all control chars from width kerning and fix some const warnings. 2014-05-19 18:39:54 +01:00
Michael Drake
eb5ca0f94d Add logging to nsfont_split function. 2014-05-18 19:36:06 +01:00
Chris Young
e197abf63a Don't try to kern a character with \0 2014-05-18 13:42:30 +01:00
Vincent Sanders
0a2082d777 ensure all vmkpath implementations check their parameters 2014-05-17 22:28:32 +01:00
Michael Drake
9727f87525 Fix build. 2014-05-16 18:14:28 +01:00
Michael Drake
09e7ea6566 Simplfy and clarify splitting function.
Should be funtionally identical.
2014-05-16 18:06:29 +01:00
Chris Young
1cada179b3 Set a more sensible upper cache size limit. 2014-05-16 17:32:15 +01:00
Chris Young
8aa8791f5c Add disc cache size to settings UI 2014-05-16 17:26:32 +01:00
Chris Young
aa846653c2 Tentatively enable the fs cache backing store 2014-05-16 09:57:09 +01:00
Chris Young
11f03cae0c Create cache dir 2014-05-16 09:55:38 +01:00
Vincent Sanders
64f607760b add backing store storage path to browser initialisation 2014-05-13 15:53:06 +01:00
Vincent Sanders
06a3f84e50 remove amiga specific mkpath wrapper as registration has been fixed and the generic netsurf)mkpath is available 2014-05-11 16:54:36 +01:00
Chris Young
318edea47e Make mkpath allocate the string buffer for map_filename. Fixes 2119. 2014-05-10 15:22:38 +01:00
Vincent Sanders
16b11e7238 ensure operations tables are registered as early as possible. 2014-05-10 10:22:10 +01:00
Vincent Sanders
2326d3c503 remove unecessary utils/url.h includes 2014-05-09 10:15:42 +01:00
Vincent Sanders
096bd47ab0 refactor url utility functions to use standard nserror codes and have appropriate documentation. 2014-05-08 00:16:50 +01:00
Vincent Sanders
b9bade808f missing comma 2014-05-07 16:47:44 +01:00
Vincent Sanders
6349704b5e fix silly errors in atari and amiga file operation table change 2014-05-07 16:38:58 +01:00
Vincent Sanders
c56642819e add file operations table and make all frontends use it.
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.

These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.

These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Chris Young
d67504677b Make the install script work for Dutch language. 2014-05-05 00:07:37 +01:00
Chris Young
06fcab1314 Remove a rogue procedure call 2014-05-03 16:48:42 +01:00
Chris Young
53a8f2aa0c Remove some unused library/SObj copying procedures from the Installer script. 2014-05-03 16:42:35 +01:00
Chris Young
b1f67dab31 Remove Cairo from AmigaOS frontend. 2014-05-03 16:38:58 +01:00
Chris Young
1822b7c163 Update some version numbers for 3.2-dev.
The minor version of 3 here is correct, it is only used internally to conform to AmigaOS versioning conventions.
2014-04-28 18:17:55 +01:00
Michael Drake
263118c501 Try to fix Amiga build failure. 2014-04-09 14:13:21 +01:00
Chris Young
9ba0d66c6d Ensure we don't get extraneous signals allocated 2014-04-06 15:24:24 +01:00
Chris Young
1ecd56bd71 Fix a case where the screen wouldn't close if NetSurf had been launched from Workbench 2014-04-06 15:22:18 +01:00
Chris Young
4ec70fd3a2 Fix some more cppcheck unread/unusedVariable warnings 2014-04-05 23:40:03 +01:00
Chris Young
5bb5e2667d Change the scope of some variables picked up by cppcheck, minor reformatting 2014-04-05 23:34:51 +01:00
Chris Young
3ea6ca89a0 Fix cppcheck constStatement warning 2014-04-05 23:12:07 +01:00
Chris Young
a36e7aaeb3 Fix cppcheck syntaxError 2014-04-05 23:09:47 +01:00
Chris Young
d9d0b1d3aa Add missing include 2014-04-05 23:07:40 +01:00
Chris Young
ba5bae389b Fix some cppcheck variableHidingTypedef warnings 2014-04-05 20:26:40 +01:00
Chris Young
65adc17121 Fix a bunch of cppcheck unused/unreadVariable warnings 2014-04-05 20:26:40 +01:00
Chris Young
975a1d3c5d Fix cppcheck variableScope warnings 2014-04-05 20:26:40 +01:00
Chris Young
c1a32d7c6e Fix some cppcheck unused/unreadVariables 2014-04-05 20:26:40 +01:00
Chris Young
b301a11140 Fix cppcheck arrayIndexOutOfBounds 2014-04-05 20:26:39 +01:00
Chris Young
0f68598649 Fix cppcheck syntaxError 2014-04-05 20:26:39 +01:00
Chris Young
c2f9a39966 Fix some cppcheck variableScope warnings 2014-04-05 20:26:39 +01:00
Chris Young
f991abc53c Fix a bunch of cppcheck unusedVariable/unreadVariable warnings 2014-04-05 20:26:39 +01:00
Chris Young
268cda0f56 Fix cppcheck variableHidingTypedef 2014-04-05 20:26:39 +01:00
Chris Young
d907ec9b06 Remove cppcheck unnecessaryForwardDeclaration 2014-04-05 20:26:39 +01:00
Chris Young
412df34298 Fix some cppcheck variableScope warnings 2014-04-05 20:26:39 +01:00
Chris Young
f0f05d691b Fix cppcheck nullPointer 2014-04-03 19:12:47 +01:00
Chris Young
fb072686c1 Fix cppcheck syntaxError 2014-04-03 19:12:07 +01:00
Chris Young
5324cd9abd Fix cppcheck nullPointer 2014-04-03 19:08:02 +01:00
Chris Young
4575698f0f Fix cppcheck syntaxError 2014-04-03 19:06:09 +01:00
Chris Young
a741ceadb8 Fix cppcheck bufferAccessOutOfBounds 2014-04-03 19:03:58 +01:00
Vincent Sanders
6f9a93e332 fix formatting of defaults makefiles 2014-03-20 11:05:39 +00:00
Vincent Sanders
4d4d74c8cd move page search gui callbacks to their own operations table 2014-03-18 22:32:52 +00:00
Chris Young
c44bbcdc08 Ensure any user-input URLs are passed to the core in UTF-8.
Everything else, including any content of the URL bar which hasn't just been entered by the user, is assumed to be in ASCII.
NB: The exception is the ARexx OPEN command.  This is because NetSurf uses the ARexx port and this command internally when multiple instances are opened.
file: addresses typed into the address bar containing non-ASCII characters will probably no loger work, but it is expected that under normal circumstances, users will either drag'n'drop files or use Project=>Open.  If it becomes an issue I will work around it at a later date.
2014-03-13 19:37:01 +00:00
Vincent Sanders
5c6a0eda3b fixup missing includes from schedule changes 2014-03-09 16:14:05 +00:00
Vincent Sanders
87f6314dab move scheduleing into browser operation table 2014-03-09 15:37:40 +00:00
Chris Young
fb9b171e32 Disable the dither option if we're running on a screen which doesn't use it. 2014-03-01 14:48:41 +00:00
Chris Young
69b61198f2 Return 1 if help closed. 2014-02-19 17:51:17 +00:00
Chris Young
6bcd221d0d Re-apply some of my previous changes 2014-02-19 17:45:52 +00:00
Chris Young
a2d4c8ee0f Updated amigaguide.class from Daniel Jedlicka 2014-02-19 17:44:06 +00:00
Michael Drake
6867726326 More build fixing. 2014-02-15 18:59:54 +00:00
Michael Drake
3efe56d7ef Fix build. 2014-02-15 18:52:32 +00:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Chris Young
a55957b1c9 Clear signal variable 2014-02-15 14:24:07 +00:00
Chris Young
03cb9a302a Correct case 2014-02-15 01:18:10 +00:00
Chris Young
f2ef17a1b5 Process the ShutdownMsgId message sent by the AmigaGuide help system, and clean up if it is received.
However, there appears to be a long-standing bug in amigaguide.library which means this is never sent.
2014-02-15 01:12:13 +00:00
Michael Drake
2f66b6f6e2 Fix builds. 2014-02-10 22:53:22 +00:00
Michael Drake
49bed056dd Make browser_window_navigate (un)verifiable flag match browser_window_create. 2014-02-10 22:40:04 +00:00
Chris Young
76b5378996 Add some explanation for the future. 2014-02-10 21:12:02 +00:00
Chris Young
5087fde086 Force downloads to abort on quit 2014-02-10 21:08:36 +00:00
Chris Young
80fcfa7bce Tidy-up; ami_try_quit is checking the window list now 2014-02-10 20:46:24 +00:00
Chris Young
f69f7b5ee7 Fix warning 2014-02-10 20:41:09 +00:00
Chris Young
cbf423d4c6 Try quitting after downloading if there are no windows open 2014-02-10 20:40:08 +00:00
Chris Young
55a96a7eee screen_signal should be reset to -1 2014-02-10 20:31:06 +00:00
Chris Young
c384c5dd3e Force the GUI opts window closed on quit 2014-02-10 20:30:08 +00:00
Chris Young
7fa641616b Free help before attempting to close the screen, as it doesn't consider itself a visitor window. 2014-02-10 20:23:09 +00:00
Chris Young
e975b355f5 Don't wait for the screen to close unless we're actually quitting. 2014-02-10 20:18:18 +00:00
Chris Young
a6fd328405 Comment out debug for now 2014-02-10 19:56:22 +00:00
Chris Young
709665e5c0 Ensure we always free the screen notification signal 2014-02-10 19:21:47 +00:00
Chris Young
802fb8a77e Need to get, rather than set, the signal 2014-02-10 19:20:30 +00:00
Chris Young
36e0715dfb Get and process AmigaGuide help messages 2014-02-10 18:42:50 +00:00
Chris Young
e1b5332192 Add ability to process AmigaGuide messages whilst the help system is running 2014-02-10 18:34:09 +00:00
Chris Young
4aa59f5382 SA_PubSig needs setting at screen open time.
Potentially this fixes a screen closure problem.
2014-02-10 18:13:28 +00:00
Michael Drake
af014bce99 Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags. 2014-02-10 14:08:45 +00:00
Michael Drake
7f2c977788 Unset tab flag in kiosk mode. 2014-02-09 13:31:48 +00:00
Michael Drake
ce41b8d431 Fix errors. 2014-02-09 13:19:46 +00:00
Michael Drake
ea79e85fcd Clean up gui_window creation API. 2014-02-09 13:07:39 +00:00
Michael Drake
987218e144 Fix amiga build. 2014-02-08 23:06:24 +00:00
Michael Drake
3d7cd77982 Simplify local history interface. 2014-02-08 22:43:54 +00:00
Michael Drake
8deb9ec25c Native select menu interface shouldn't force front end to dig inside bw struct. 2014-02-08 17:11:55 +00:00