Commit Graph

54 Commits

Author SHA1 Message Date
Chris Young
6d2a787380 Allocate deferred rectangles using itempools
On OS3 we use a normal memory pool instead
2016-01-21 00:08:49 +00:00
Vincent Sanders
c105738fa3 Change LOG() macro to be varadic
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.

The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.

A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Chris Young
a7b866e824 Always use a friend bitmap on OS3 2015-02-02 23:45:49 +00:00
Chris Young
2eb41ed77b More OS3 fixes 2015-01-18 21:11:00 +00:00
Chris Young
80558b3116 Use a function to create ready-cleared memory 2015-01-10 23:10:05 +00:00
Chris Young
d46e6a6894 Encourage requesters onto the correct screen and remove some unneeded includes 2014-12-13 15:53:55 +00:00
Chris Young
e85caab910 Remove unused includes 2014-11-10 23:30:17 +00:00
Chris Young
5776b39b8d Use TimedDosRequester so we're not relying on requester.class being open. 2014-11-10 23:25:43 +00:00
Chris Young
e9696b2fa9 New function for an error requester with the correct imagery which doesn't attempt to do Messages lookup. 2014-11-10 21:59:51 +00:00
Chris Young
7bf92f6a04 Remove die()
Terminating execution abruptly on AmigaOS is dangerous.
2014-11-10 18:56:09 +00:00
Chris Young
9bbb737fbf Fix warnings 2014-11-10 18:48:26 +00:00
Michael Drake
0f12325506 Don't need old URL header. 2014-10-31 14:39:11 +00:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
Chris Young
49fd5ea238 Correct Lock() parameter 2014-09-29 19:01:25 +01:00
Vincent Sanders
8848f754e0 documentation fixes and cleanups 2014-07-02 16:39:08 +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
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
Vincent Sanders
096bd47ab0 refactor url utility functions to use standard nserror codes and have appropriate documentation. 2014-05-08 00:16:50 +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
65adc17121 Fix a bunch of cppcheck unused/unreadVariable warnings 2014-04-05 20:26:40 +01:00
Vincent Sanders
38cb39339a move filename_from_path and path_add_part into gui operation tables 2014-01-16 00:01:25 +00:00
Chris Young
8b6874effd Revert "Think this needs converting back to local charset here otherwise non-ASCII file uploads don't work."
This reverts commit 2aacb411fc.
2013-12-31 23:37:28 +00:00
Chris Young
2aacb411fc Think this needs converting back to local charset here otherwise non-ASCII file uploads don't work. 2013-12-31 22:40:35 +00:00
Michael Drake
cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Chris Young
ff333828b7 Warn when closing multiple tabs 2012-12-08 17:47:57 +00:00
Chris Young
ffac64fcea Move download overwrite warning requester to misc.c 2012-12-08 17:25:25 +00:00
Chris Young
dfef1d6fde Use requester.class directly, so we can get requesters to appear on NetSurf's screen. Untested. 2012-07-28 21:56:27 +01:00
Chris Young
36e9d114ea Stop abusing certain Messages; add some dedicated non-crazy HelpHints
svn path=/trunk/netsurf/; revision=13912
2012-05-07 15:06:48 +00:00
Chris Young
b4977fbdcc Replace strncpy with strlcpy, as strncpy is not guaranteed to be
NULL-terminated. (thx Colin Wenzel)

svn path=/trunk/netsurf/; revision=13881
2012-04-18 18:54:15 +00:00
John Mark Bell
8a2247b3b3 Squash some warnings, don't attempt to free data we don't own
svn path=/trunk/netsurf/; revision=11154
2010-12-30 00:48:09 +00:00
James Bursa
841b458f7a Add LOG() to warn_user().
svn path=/trunk/netsurf/; revision=11122
2010-12-26 18:51:24 +00:00
Chris Young
001b401890 Support ColourIcons
svn path=/trunk/netsurf/; revision=10928
2010-10-31 11:14:26 +00:00
Chris Young
c0332c4394 Use core file fetcher
svn path=/trunk/netsurf/; revision=10759
2010-09-12 10:23:12 +00:00
Chris Young
a182a36067 More intelligent path concatenation
svn path=/trunk/netsurf/; revision=10639
2010-07-14 22:36:04 +00:00
Chris Young
82af25f4e2 Remove desbug
svn path=/trunk/netsurf/; revision=10630
2010-07-11 20:48:06 +00:00
Chris Young
d4c519cc05 Amiga file: URIs now translate the : in device names to / (and back), which conforms
better to the spec (: will still work for compatibility, but may have problems).  This
fixes a problem with directory browsing.
Directory parent link now uses the full parent path returned by url_parent instead of
one relative to the current directory.

svn path=/trunk/netsurf/; revision=10629
2010-07-11 20:42:06 +00:00
Michael Drake
513793a060 Fix inventory file leafname.
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
d6eb28d5de Replace unnecessarily complicated path concatenation with something simpler and
easily adaptable to different platform path structures.

svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
Chris Young
98b690a900 Fix file://localhost/ handling
svn path=/trunk/netsurf/; revision=10422
2010-04-17 10:43:12 +00:00
Chris Young
2bcf632973 Freeing the local charset version once we've finished with it is a good idea too.
svn path=/trunk/netsurf/; revision=10345
2010-04-10 19:39:40 +00:00
Chris Young
704e7c8d44 Show warning messages in correct charset
svn path=/trunk/netsurf/; revision=10344
2010-04-10 19:37:13 +00:00
Chris Young
7e551cf94f Missing include
svn path=/trunk/netsurf/; revision=10222
2010-03-31 16:41:56 +00:00
Vincent Sanders
95e4a737de rationalise the usage of the file scheme
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +00:00
Chris Young
033b5d815a Move code which extracts the filename from a given path into frontend.
svn path=/trunk/netsurf/; revision=10139
2010-03-21 13:32:59 +00:00
Chris Young
7220e03e7d Help hints, mainly for the tabs but also massage messages strings HelpToolbar0-4 & 14
into a format we can use on the main toolbar gadgets.  A couple of gadgets still
missing strings.

svn path=/trunk/netsurf/; revision=10134
2010-03-16 23:55:39 +00:00
Chris Young
0efc756a7a Support file://(/)localhost/ as well as file://(/)
As NetSurf insists on adding a third slash after file://, it is not possible to open
any local files which are in subdirectory "localhost" of the current directory.
Workaround is to type the "localhost" part in something other than fully lowercase.
In practice it is incredibly unlikely that even the workaround will need to be used.

svn path=/trunk/netsurf/; revision=9656
2009-11-01 16:01:07 +00:00
Chris Young
d6874d05b1 Allow opening of local files from anywhere, not just the parent of the current dir.
svn path=/trunk/netsurf/; revision=5695
2008-11-15 15:28:17 +00:00
Chris Young
86042c61ea Improved Amiga treeview support. Now creates trees for cookies and history (history
doesn't populate at the moment).  Can add folders and edit titles in hotlist
treeviews, and delete entries in all treeviews.

svn path=/trunk/netsurf/; revision=5542
2008-10-11 21:38:04 +00:00