Commit Graph

62 Commits

Author SHA1 Message Date
Vincent Sanders 7d9c9dba36 Split utils header into string functions and everything else
split out the string handling API from the rest of the utils header
and fix up all the fallout.
2016-04-21 22:36:21 +01:00
Vincent Sanders 31de1c251b Cleanup amiga include issues introduced as part of core updates 2016-04-20 15:54:18 +01:00
Vincent Sanders 759c34b324 fix missing includes caused by content_protected header cleanup 2016-04-19 23:28:54 +01:00
Chris Young cc0abb66b0 Implement warn_multi for OS3 (needed for the multiple tab close warning) 2016-01-31 17:21:51 +00:00
Chris Young 78dec4d515 Show warnings on OS3 with an EasyRequest 2016-01-26 00:10:11 +00:00
Chris Young 9e5bf6fb68 Don't free the deferred rects using FreeVec on exit as they're itempools 2016-01-23 12:11:33 +00:00
Chris Young 7e7ea09000 Allocate generic list objects using itempools
TODO: Allocate the attached structures also using itempools
2016-01-22 18:40:40 +00:00
Chris Young f51b7780e3 Don't clear memory twice under OS3 2016-01-21 22:39:21 +00:00
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