Commit Graph

55 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
8848f754e0 documentation fixes and cleanups 2014-07-02 16:39:08 +01:00
Vincent Sanders
2326d3c503 remove unecessary utils/url.h includes 2014-05-09 10:15:42 +01:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Michael Drake
3d7cd77982 Simplify local history interface. 2014-02-08 22:43:54 +00:00
Steve Fryatt
a00e0f91c7 Move all mouse tracking into ro_mouse module.
Add Pointer Entering Window events to wimp_event module and add handlers to all modules requiring mouse tracking.
Updated: Treeview, URL Complete, History and GUI Window.
Delete all handling for Pointer Entering/Leaving from ro_gui.
2013-09-08 11:55:21 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Michael Drake
153c444454 Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
Frontends that have been updated to build:
  framebuffer
  gtk
  monkey
  riscos

TODO:
  amiga
  atari
  beos
  cocoa
  windows
2012-08-22 12:22:58 +01:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Michael Drake
67f2470d5a Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
b46e69fe22 Purge ro_plot_set_scale() and ro_plot_scale global, as front ends nolonger need to maintain scale for plotting.
svn path=/trunk/netsurf/; revision=11942
2011-03-09 16:20:55 +00:00
John Mark Bell
f0a06d8535 Aliasing fixes
svn path=/trunk/netsurf/; revision=6956
2009-03-28 01:09:03 +00:00
John Tytgat
c40fc354b3 - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
- ro_gui_get_icon_string(): 
    - Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
    - Enfore NUL string termination as return value (instead of other control char termination) 
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added

svn path=/trunk/netsurf/; revision=4907
2008-08-05 01:23:04 +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
a836591435 Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues.
svn path=/trunk/netsurf/; revision=2739
2006-07-13 12:46:02 +00:00
James Bursa
5a72700817 [project @ 2006-03-25 20:30:35 by bursa]
Split local history into portable and RISC OS specific code. Improve layout of history tree.

svn path=/import/netsurf/; revision=2164
2006-03-25 20:30:35 +00:00
Richard Wilson
3d9a1198db [project @ 2006-02-22 01:58:19 by rjw]
Reduce constant bitmap overhead per reference by moving to a flag word. Allow bitmaps to be reduced back to their raw data to free extra memory in a highly efficient manner.

svn path=/import/netsurf/; revision=2089
2006-02-22 01:58:19 +00:00
Richard Wilson
4cc85469cb [project @ 2006-02-21 20:49:11 by rjw]
Allow any content to be used as a background. Simplify bitmap code.

svn path=/import/netsurf/; revision=2087
2006-02-21 20:49:12 +00:00
Richard Wilson
d1094d1238 [project @ 2005-12-31 04:40:48 by rjw]
Use new wimp_event system.

svn path=/import/netsurf/; revision=1916
2005-12-31 04:40:49 +00:00
Adrian Lees
4a5dc6d5cc [project @ 2005-07-16 05:54:45 by adrianl]
Thumbnails displayed and dragged for full page save; spelling correction

svn path=/import/netsurf/; revision=1793
2005-07-16 05:54:45 +00:00
Richard Wilson
26872ea54f [project @ 2005-06-23 18:02:26 by rjw]
Remove test code.

svn path=/import/netsurf/; revision=1764
2005-06-23 18:02:26 +00:00
Richard Wilson
f559054c1a [project @ 2005-06-23 17:24:23 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 2 of 2.

svn path=/import/netsurf/; revision=1762
2005-06-23 17:24:23 +00:00
John Mark Bell
8c0cc33e3b [project @ 2005-03-21 00:15:48 by jmb]
Fix mouse click handling in local history window

svn path=/import/netsurf/; revision=1565
2005-03-21 00:15:48 +00:00
Richard Wilson
db41dc3dac [project @ 2005-02-07 14:28:43 by rjw]
Initial work for global history (currently incomplete)

svn path=/import/netsurf/; revision=1497
2005-02-07 14:28:43 +00:00
John Mark Bell
77de9c1336 [project @ 2005-01-03 02:09:20 by jmb]
Shift + Click == download

svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
Richard Wilson
bd652a750a [project @ 2004-12-09 12:07:32 by rjw]
Fix GTK build. Lose xcalloc() from history.

svn path=/import/netsurf/; revision=1396
2004-12-09 12:07:32 +00:00
Richard Wilson
3276fe3ed8 [project @ 2004-11-03 02:29:01 by rjw]
Changing screenmodes causes font handles to be refound.

svn path=/import/netsurf/; revision=1338
2004-11-03 02:29:01 +00:00
Richard Wilson
1fbcdd14d5 [project @ 2004-11-02 23:23:07 by rjw]
Fix for recent GIF decoding bug. Rectangular pixel mode-friendly sprites for hotlist. Slight change to history image size to please Tinct. Support for foreground and background image quality settings. Support for error diffusion and bi-linear filtering (Tinct still requires some further work)

svn path=/import/netsurf/; revision=1336
2004-11-02 23:23:07 +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 Mark Bell
39ad1632eb [project @ 2004-10-01 00:06:49 by jmb]
Send HTTP referer header. This is _only_ sent when a link is clicked (theoretically, at least).

svn path=/import/netsurf/; revision=1296
2004-10-01 00:06:49 +00:00
James Bursa
0a93f2d264 [project @ 2004-08-12 12:08:39 by bursa]
Fix various history functions to check for history->current.

svn path=/import/netsurf/; revision=1215
2004-08-12 12:08:39 +00:00
John Mark Bell
3cfb34bc4a [project @ 2004-08-07 12:58:46 by jmb]
Handle malloc failure

svn path=/import/netsurf/; revision=1191
2004-08-07 12:58:46 +00:00
John Mark Bell
09afabf63c [project @ 2004-08-06 22:19:12 by jmb]
Anchor support

svn path=/import/netsurf/; revision=1187
2004-08-06 22:19:13 +00:00
John Tytgat
a0d511734a [project @ 2004-07-05 20:19:51 by joty]
Using UTF-8 instead of Latin1 encoding.

svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
Richard Wilson
4d190d89ee [project @ 2004-06-26 22:31:34 by rjw]
Visual representation of navigation features availble

svn path=/import/netsurf/; revision=1015
2004-06-26 22:31:34 +00:00
John Mark Bell
9b1cbd7622 [project @ 2004-06-09 20:05:14 by jmb]
Remove magic numbers. Now uses sensible tinct_FOO style flag names

svn path=/import/netsurf/; revision=941
2004-06-09 20:05:14 +00:00
James Bursa
24fb50b120 [project @ 2004-05-07 19:14:54 by bursa]
Implement multitasking warning dialog. Warn user if resolvers not set.

svn path=/import/netsurf/; revision=841
2004-05-07 19:14:54 +00:00
James Bursa
bb41604045 [project @ 2004-05-05 16:33:15 by bursa]
Fix some compiler warnings. Ignore size attribute for file inputs.

svn path=/import/netsurf/; revision=828
2004-05-05 16:33:15 +00:00
John Mark Bell
226f3efbe8 [project @ 2004-04-12 22:04:51 by jmb]
Fix calculation of string width

svn path=/import/netsurf/; revision=767
2004-04-12 22:04:51 +00:00
John Mark Bell
d0a3543e72 [project @ 2004-04-12 21:46:08 by jmb]
Add popup tooltip containing URL when mouse is over history window entry

svn path=/import/netsurf/; revision=766
2004-04-12 21:46:08 +00:00
John Mark Bell
02915fd4cd [project @ 2004-04-10 23:12:28 by jmb]
Add text under thumbnails again.

svn path=/import/netsurf/; revision=748
2004-04-10 23:12:28 +00:00
Richard Wilson
88bf9d7ddc [project @ 2004-04-10 20:04:11 by rjw]
Fix for thumbnail palette bug.
Fix for upper case iconsprite names.
Uses thumbnail sprite creation routines.

svn path=/import/netsurf/; revision=747
2004-04-10 20:04:11 +00:00
Richard Wilson
13f1dde4d9 [project @ 2004-04-08 17:30:26 by rjw]
Support for 32bpp thumbnails.

svn path=/import/netsurf/; revision=739
2004-04-08 17:30:26 +00:00
John Mark Bell
2f2cfbfe16 [project @ 2004-04-03 18:08:31 by jmb]
Add title text to history tree

svn path=/import/netsurf/; revision=716
2004-04-03 18:08:31 +00:00
James Bursa
c05d6fdc8b [project @ 2004-02-26 17:52:10 by bursa]
Implement back and forward using history.

svn path=/import/netsurf/; revision=572
2004-02-26 17:52:10 +00:00
James Bursa
0a4caa5687 [project @ 2004-02-26 17:25:51 by bursa]
Improvements to history window.

svn path=/import/netsurf/; revision=571
2004-02-26 17:26:01 +00:00