Michael Drake
d25b62f1c2
Avoid redundant assignement of name to name.
2014-05-30 21:59:12 +01:00
Vincent Sanders
7d02ae916a
make launch_url core operation use nsurl
2014-05-27 23:52:35 +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
Michael Drake
2aeec1a18c
Scope reduce a few variables.
2014-05-26 12:00:36 +01:00
Michael Drake
587c0229c3
Reduce scope of a couple of variables.
2014-05-26 11:57:40 +01:00
Michael Drake
c8099aef3f
Scope reduce some variables.
2014-05-26 11:55:29 +01:00
Michael Drake
2e79a8ee7a
Scope reduce a couple of variables.
2014-05-26 11:50:11 +01:00
Michael Drake
41e5f68d2c
Scope reduce some variables.
2014-05-26 11:48:07 +01:00
Michael Drake
508fc30ab9
Scope reduce a variable.
2014-05-26 11:42:25 +01:00
Michael Drake
6503757698
Scope reduce a variable.
2014-05-26 11:40:58 +01:00
Michael Drake
18fb6461f9
Reduce scope of some variables.
2014-05-26 11:39:49 +01:00
Michael Drake
a1cca5d127
Remove unused variable.
2014-05-26 11:37:16 +01:00
Michael Drake
cb0ae22949
Improve error handling.
2014-05-26 11:29:03 +01:00
Michael Drake
82bc40350a
Reuce scope of several variables.
2014-05-26 11:24:14 +01:00
Michael Drake
609eb8377b
Handle error.
2014-05-26 11:20:37 +01:00
Michael Drake
4a28b2b170
Scopre reduce some variables.
2014-05-26 11:14:18 +01:00
Michael Drake
02ac6b1976
Remove a couple of unused variables.
2014-05-26 11:05:03 +01:00
Michael Drake
8b9f2e7ee6
Fix warnings about redundant statements when building without RO types.
2014-05-26 10:51:46 +01:00
Michael Drake
cd89779831
Remove unused variable and assignements to it.
2014-05-26 10:42:43 +01:00
Michael Drake
423a934e0b
Scope reduce some variables.
2014-05-26 10:40:54 +01:00
Michael Drake
97e379083d
Scope reduce a variable.
2014-05-26 10:29:01 +01:00
Michael Drake
a64e0c4eaf
Fix failure to return NSERROR_NOMEM when malloc failed.
...
Was using return without any value.
2014-05-26 10:23:04 +01:00
Michael Drake
e105b15bf6
Fix completely broken handling of file: paths.
...
Was treating lwc_string* as char*.
2014-05-26 10:19:18 +01:00
Michael Drake
e39f0ff2f1
Scope reduce some variables.
2014-05-26 10:15:54 +01:00
Michael Drake
994caa34cb
Remove unused variable.
2014-05-26 10:12:34 +01:00
Michael Drake
ba2f3c1cb8
Scope reduce a couple of variables.
2014-05-26 10:09:55 +01:00
Michael Drake
f19bfa8f8d
Remove unneeded forward declaration.
2014-05-26 10:08:18 +01:00
Michael Drake
9cb9f638c4
Scope reduce a couple of variables.
2014-05-26 10:06:41 +01:00
Michael Drake
59e9caf8a1
Scope reduce some variables.
2014-05-26 10:02:30 +01:00
Michael Drake
6fe8e7ad53
Scope reduce some variables.
2014-05-26 10:00:09 +01:00
Michael Drake
290e4c5bf7
Report OSLib error message.
2014-05-26 09:59:37 +01:00
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