Commit Graph

34 Commits

Author SHA1 Message Date
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
Vincent Sanders
ac70da346c Update the RISC OS frontend to cope with split operations table headers 2014-10-16 22:33:44 +01: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
0e8861d26e Fix build. 2013-02-18 13:00:56 +00:00
Vincent Sanders
0eb0798873 fix errors introduced in refactor 2013-02-18 12:24:49 +00:00
Vincent Sanders
529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Michael Drake
58225862c2 fetch_can_fetch takes a nsurl now.
svn path=/trunk/netsurf/; revision=12900
2011-09-27 12:02:15 +00:00
Steve Fryatt
cd9c0998e9 Merge branches/stevef/toolbars to trunk.
svn path=/trunk/netsurf/; revision=11741
2011-02-20 23:16:33 +00:00
John Mark Bell
a3e205bbd9 Constify ro_uri_launch()
If the URL is too long to fit into a non-indirected ANT URLLoad message, then skip the ANT URLLoad broadcast and jump straight to using URI_Dispatch. 
We don't support indirected ANT URLLoad messages as their potential for memory leakage is too great.

svn path=/trunk/netsurf/; revision=8233
2009-07-01 12:05:51 +00:00
John Mark Bell
16a821e2aa Purge WITH_URI
svn path=/trunk/netsurf/; revision=6602
2009-02-22 15:17:46 +00:00
Rob Kendrick
afdf592637 Merge Mike's tabs changes. Still needs some cleaning.
svn path=/trunk/netsurf/; revision=5189
2008-08-24 10:31:38 +00:00
John Tytgat
203b3289b8 - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
- Add same test in corresponding header file (if there is one)
- riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations.
- Disable PDF debug logging.

svn path=/trunk/netsurf/; revision=4769
2008-07-26 23:42:24 +00:00
Vincent Sanders
2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone
6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
c7f77b0165 Finish history cloning.
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +00:00
Adrian Lees
89993a5bf2 [project @ 2005-04-15 05:54:44 by adrianl]
Text selection, page drag scrolling, drag-saving images and a few SaveAs improvements

svn path=/import/netsurf/; revision=1640
2005-04-15 05:54:44 +00:00
John Mark Bell
8334683068 [project @ 2005-01-02 03:58:20 by jmb]
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)

svn path=/import/netsurf/; revision=1419
2005-01-02 03:58:21 +00:00
Richard Wilson
441b364600 [project @ 2004-12-09 19:09:56 by rjw]
Lose xcalloc().

svn path=/import/netsurf/; revision=1397
2004-12-09 19:09:56 +00:00
John Mark Bell
49ce807e3c [project @ 2004-10-01 21:31:55 by jmb]
A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match.

Things to do:
1) Preservation of referer across redirects (see comment in browser.c:284)
2) GUI templates/code for configuration of referer sending (simple on/off toggle only)
3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer?
4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good).

svn path=/import/netsurf/; revision=1297
2004-10-01 21:31:55 +00:00
John Tytgat
f14d765ca7 [project @ 2004-08-08 11:39:31 by joty]
Explicit #include of some header files to avoid Norcroft depth 8 limitation
when using UnixLib version currently at CVS trunk.

svn path=/import/netsurf/; revision=1193
2004-08-08 11:39:31 +00:00
John Mark Bell
05c46359ba [project @ 2004-06-28 23:57:26 by jmb]
Correct behaviour of unknown URL launching mechanism. the ANT load never occurred.

svn path=/import/netsurf/; revision=1025
2004-06-28 23:57:26 +00:00
John Mark Bell
af576a9bc7 [project @ 2004-05-23 16:37:30 by jmb]
Fix acknowledgement of URI_MProcess. Thanks to John Baker for reporting.

svn path=/import/netsurf/; revision=893
2004-05-23 16:37:30 +00:00
Richard Wilson
e7da747f5f [project @ 2004-05-04 22:21:37 by rjw]
Revised GUI.

svn path=/import/netsurf/; revision=823
2004-05-04 22:23:44 +00:00
John Mark Bell
04cdfb6151 [project @ 2004-04-12 23:59:01 by jmb]
Fix flawed check for URL scheme we can handle

svn path=/import/netsurf/; revision=768
2004-04-12 23:59:01 +00:00
John Mark Bell
361fcf507a [project @ 2004-04-02 15:16:15 by jmb]
Update url checking to use fetch_can_fetch
Fix non null-termination of strings in URL broadcast messages.

svn path=/import/netsurf/; revision=701
2004-04-02 15:16:15 +00:00
John Mark Bell
9454b8bca1 [project @ 2004-04-02 00:41:10 by jmb]
Try to use external apps for URI schemes we don't understand (eg mailto:)

svn path=/import/netsurf/; revision=698
2004-04-02 00:41:10 +00:00
James Bursa
7897a98a4c [project @ 2004-02-25 15:12:57 by bursa]
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.

svn path=/import/netsurf/; revision=566
2004-02-25 15:12:58 +00:00
John Mark Bell
62245d13ec [project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.

svn path=/import/netsurf/; revision=480
2004-01-05 02:10:59 +00:00
John Mark Bell
d49a18d608 [project @ 2003-12-26 22:11:28 by jmb]
Remove file:/// kludge. No longer needed as libcurl is now sensible

svn path=/import/netsurf/; revision=448
2003-12-26 22:11:28 +00:00
John Mark Bell
adc3476157 [project @ 2003-12-21 22:10:15 by jmb]
Tidy up and integrate frames code. Still incomplete.

svn path=/import/netsurf/; revision=439
2003-12-21 22:10:15 +00:00
James Bursa
9e13c0f9a3 [project @ 2003-11-20 00:16:31 by bursa]
Clean up and simplify themes, remove old history code.

svn path=/import/netsurf/; revision=420
2003-11-20 00:16:31 +00:00
John Mark Bell
7c474c848e [project @ 2003-07-30 13:06:22 by jmb]
Add support for Acorn URI Protocol and URI files (Rob Jackson)

svn path=/import/netsurf/; revision=242
2003-07-30 13:06:22 +00:00