Vincent Sanders
966ed9449c
fix riscos mkpath and error reporting in save complete
2014-05-17 23:14:43 +01:00
Vincent Sanders
0a2082d777
ensure all vmkpath implementations check their parameters
2014-05-17 22:28:32 +01:00
Vincent Sanders
64f607760b
add backing store storage path to browser initialisation
2014-05-13 15:53:06 +01:00
Vincent Sanders
39b0393d31
cleanup utils header, remove cruft and add documentation
2014-05-11 21:31:14 +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
1556055d91
fix nsurl references
2014-05-08 18:03:27 +01:00
Vincent Sanders
cd7f1eceea
make download_context_get_url() return an nsurl and adapt callers to cope
2014-05-08 17:54:44 +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
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
Michael Drake
2c4825cb38
Remove excessive logging.
2014-04-18 17:30:28 +01:00
Michael Drake
898ff4b821
Add logging to view-source filename generation.
2014-04-18 16:35:46 +01:00
Steve Fryatt
99c47eb99b
Allow mouse tracking events to terminate without a PointerLeaving event being received.
...
This change should handle the situation where a PointerEntering event is received without a corresponding PointerLeaving event, which appears to be caused by some third-party OS addons. This could cause unexpected consequences, so all such terminations are currently logged.
2014-04-05 19:59:07 +01:00
Michael Drake
b91c28b8d1
Fix logic error found by cppcheck.
2014-04-02 21:59:24 +01:00
Michael Drake
88a99d9722
Fix logic error found by cppcheck.
2014-04-02 21:56:34 +01:00
Michael Drake
527bc23bdb
Avoid potential NULL ptr deref found by cppcheck.
2014-04-02 21:10:26 +01:00
Michael Drake
979b59887f
Fix leak of url found by cppcheck.
2014-04-02 21:04:00 +01:00
Michael Drake
a9fb42e71b
Fix leak of filename found by cppcheck.
2014-04-02 21:03:13 +01:00
Michael Drake
442d1cb3cf
Fix out of bounds array accesses for Cyrillic2 found by cppcheck.
2014-04-02 21:00:48 +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
Vincent Sanders
87f6314dab
move scheduleing into browser operation table
2014-03-09 15:37:40 +00:00
Michael Drake
a38a63a37e
Make history internal to browser_window module.
2014-02-15 18:44:50 +00:00
Michael Drake
49bed056dd
Make browser_window_navigate (un)verifiable flag match browser_window_create.
2014-02-10 22:40:04 +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
ea79e85fcd
Clean up gui_window creation API.
2014-02-09 13:07:39 +00:00
Michael Drake
3d7cd77982
Simplify local history interface.
2014-02-08 22:43:54 +00:00
Michael Drake
6ccf13839b
Use API to get extents.
2014-02-08 20:07:00 +00:00
Michael Drake
11b152c915
Remove unused variable.
2014-02-08 17:16:32 +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
Vincent Sanders
abb37ba148
fix remaining include errors
2014-02-03 18:23:02 +00:00
Vincent Sanders
59eaaf3015
fixup missing includes
2014-02-03 18:12:44 +00:00
Vincent Sanders
236e135d63
fix missing stdlib include
2014-02-01 22:56:23 +00:00
Vincent Sanders
7798dae86a
fix missing includes
2014-02-01 22:44:43 +00:00
Vincent Sanders
886a3106db
move utf8 local conversion operations to table
2014-02-01 22:17:36 +00:00
Vincent Sanders
1f62b5a980
make the clipboard operation table and members static to textselection module and cleanup unnecessary includes
2014-02-01 10:45:20 +00:00
Vincent Sanders
356461244e
Merge remote-tracking branch 'origin/stevef/menus'
2014-01-31 18:46:45 +00:00
Vincent Sanders
f99b17ae89
bump the maximum number of nodes in the doxygen documentation and fix a couple of small documentation errors
2014-01-29 23:58:41 +00:00
Vincent Sanders
aaecf9e1af
add missing include for neturf_quit symbol
2014-01-29 23:36:59 +00:00
Vincent Sanders
e353973518
fix missing includes
2014-01-29 21:58:46 +00:00
Steve Fryatt
0114cc825d
Provide a dedicated interface for destroying open menus.
...
Add ro_gui_menu_destroy(), so that this specific task does not share the same code as the more general task of tidying up after menus have been closed by other means.
The original ro_gui_menu_closed() now simply cleans up from a known (or assumed) closure, without forcing a closure itself.
2014-01-29 16:54:34 +00:00
Steve Fryatt
849bb5911c
Don't poll when converting a menu to a dialogue, as the resulting Message_MenusDeleted no longer kills any newly-opened menus.
2014-01-28 23:59:51 +00:00
Steve Fryatt
654b25ffa1
Improve handling of Message_MenusDeleted so that we don't close whatever menu tree is open at the time.
2014-01-28 23:58:42 +00:00
Vincent Sanders
7cb0619fe8
fix dumb typos from utf8 error return refactor
2014-01-28 22:39:25 +00:00
Vincent Sanders
654da2ffb5
move utf8 conversion routines to use nserror instead of their own error enum
2014-01-28 21:40:13 +00:00
Steve Fryatt
27fdcb90f2
Update copyright dates in modified files.
2014-01-26 16:28:56 +00:00
Steve Fryatt
cdc4041942
Add belt and braces to ensure that URL Bar content is always cleanly terminated.
2014-01-26 15:15:49 +00:00
Steve Fryatt
def97156d3
Make Open URL dialogue allocate memory for the URL field.
...
Add global constant for URL length, to manage both URL Bar and Open URL.
2014-01-26 14:35:57 +00:00
Steve Fryatt
89992958d2
Increase maximum size of a URL in the URL Bar to 2047 characters plus terminator.
2014-01-26 13:41:41 +00:00
Steve Fryatt
0ab5fe7c02
Improve URL handling in URL Bar.
...
Rationalise handling of UTF8, so that URLs are always converted into local encoding even if there is no URL icon present.
In addition, make preliminary hotlist test in set_url() use local encoding, in line with all subsequent checks.
Make handling of over-length URLs more sensible: warn user and completely blank the URL bar.
2014-01-26 13:30:08 +00:00