Commit Graph

4330 Commits

Author SHA1 Message Date
John Mark Bell
16a509e472 Squash warning
svn path=/trunk/netsurf/; revision=6924
2009-03-27 02:14:23 +00:00
John Mark Bell
1e72b02727 Squash warnings
svn path=/trunk/netsurf/; revision=6923
2009-03-27 02:13:10 +00:00
John Mark Bell
6d6491b240 Squash warnings
svn path=/trunk/netsurf/; revision=6922
2009-03-27 02:12:20 +00:00
John Mark Bell
38980e99fe Squash warnings
svn path=/trunk/netsurf/; revision=6921
2009-03-27 02:07:17 +00:00
John Mark Bell
3cdd5810ad Squash warnings
svn path=/trunk/netsurf/; revision=6920
2009-03-27 02:01:34 +00:00
John Mark Bell
118036d27b Use <> for library headers.
svn path=/trunk/netsurf/; revision=6919
2009-03-27 01:59:16 +00:00
John Mark Bell
d4bdb0882a Don't include libmng.h from mng.h, as it causes jconfig.h to be seen, which in turn causes HAVE_STDLIB_H to be defined, which clashes with the definition of hpdf_config.h. Quite why the auto-generated configuration header for either jpeglib or libharu needs to be public, I've no idea.
The above change means that the mng_handle field in content_mng_data is a void *.
Fixup the couple of places in mng.c where the mng_handle field needs casting back to its real type. Also take the opportunity to make linewrapping and brace position more consistent.

svn path=/trunk/netsurf/; revision=6918
2009-03-27 01:58:55 +00:00
John Mark Bell
a95145d806 Squash warnings.
svn path=/trunk/netsurf/; revision=6917
2009-03-27 01:34:32 +00:00
John Mark Bell
ad8aaa1d59 Squash warning
svn path=/trunk/netsurf/; revision=6916
2009-03-27 01:30:18 +00:00
John Mark Bell
3251f4b49c Squash warning
svn path=/trunk/netsurf/; revision=6915
2009-03-27 01:29:39 +00:00
John Mark Bell
9e35636b5e Squash warning
svn path=/trunk/netsurf/; revision=6914
2009-03-27 01:29:05 +00:00
John Mark Bell
57fa6e30c6 Use byte instead of unsigned char.
svn path=/trunk/netsurf/; revision=6913
2009-03-27 01:28:57 +00:00
John Mark Bell
ae326427a1 Squash warnings
svn path=/trunk/netsurf/; revision=6912
2009-03-27 01:27:27 +00:00
John Mark Bell
2b352b5752 Squash warnings
svn path=/trunk/netsurf/; revision=6911
2009-03-27 01:24:32 +00:00
John Mark Bell
4665091349 Squash warnings.
svn path=/trunk/netsurf/; revision=6910
2009-03-27 01:22:10 +00:00
John Mark Bell
69456beabb Squash warning
svn path=/trunk/netsurf/; revision=6909
2009-03-27 01:19:02 +00:00
John Mark Bell
b7b0edd8e0 Squash warnings
svn path=/trunk/netsurf/; revision=6908
2009-03-27 01:15:52 +00:00
John Mark Bell
e97bc3b178 Squash warnings. Tidy code. Make last_sprite_found static and locally scoped.
svn path=/trunk/netsurf/; revision=6907
2009-03-27 01:14:42 +00:00
John Mark Bell
be6d60c555 Squash warning
svn path=/trunk/netsurf/; revision=6906
2009-03-27 01:11:52 +00:00
John Mark Bell
c23ef5818a Squash warning
svn path=/trunk/netsurf/; revision=6905
2009-03-27 01:11:20 +00:00
John Mark Bell
5823b09a1c Squash warning
svn path=/trunk/netsurf/; revision=6904
2009-03-27 00:48:22 +00:00
Chris Young
4a8b0ca787 Call bitmap_save() for native drag saves.
(still does nothing as bitmap_save isn't implemented yet)

svn path=/trunk/netsurf/; revision=6903
2009-03-26 18:22:24 +00:00
Chris Young
8d58a8b87b Add save_complete to drag save
svn path=/trunk/netsurf/; revision=6896
2009-03-26 08:26:01 +00:00
Chris Young
07af1bd8fd Change pointer imagery when dragging
Disable drag saving when not running on the Workbench screen

svn path=/trunk/netsurf/; revision=6882
2009-03-25 19:59:10 +00:00
Chris Young
be609c1dfa Some sort of drag-save implementation.
Limitations:
  NetSurf must be running on the Workbench screen
  Only drags to Workbench disk/drawer windows or icons are supported
  Text selection drags are always called netsurf_text_file

Until workbench.library gets a proper function to handle dragging from applications,
this is as good as it will get.

Bugs:
  Pointer imagery needs to change to reflect the dragging, and prevent the usual
pointer changes while the drag is in progress
  Functionality needs to be disabled if NetSurf isn't running on the Workbench screen
(will currently act as if things are being dropped on the WB screen)
  Overwrites existing files without prompting

svn path=/trunk/netsurf/; revision=6865
2009-03-25 00:03:43 +00:00
Chris Young
5b2d816d86 Move gui_drag_save_selection() into the same file as gui_drag_save_object() as they
will have common code when implemented.

svn path=/trunk/netsurf/; revision=6859
2009-03-24 18:53:22 +00:00
Chris Young
ede9c4858d Update to new _available() functions
svn path=/trunk/netsurf/; revision=6858
2009-03-24 18:28:02 +00:00
Vincent Sanders
d471e0fd25 Fix framebufefr port callback scheduling
svn path=/trunk/netsurf/; revision=6838
2009-03-24 14:11:10 +00:00
Michael Drake
da3b0227a7 Make framebuffer front end use r6827 functions. Note: stop & reload availability is still not assessed for framebuffer toolbar.
svn path=/trunk/netsurf/; revision=6829
2009-03-23 23:31:48 +00:00
Michael Drake
82aedf9600 Make RISC OS front end use r6827 functions.
svn path=/trunk/netsurf/; revision=6828
2009-03-23 22:56:31 +00:00
Michael Drake
0a7e10819b Add functions for checking if back/forward/stop/reload actions are currently available for a given browser window.
svn path=/trunk/netsurf/; revision=6827
2009-03-23 22:22:30 +00:00
Vincent Sanders
972cd147aa remove interlacing and other abberations
svn path=/trunk/netsurf/; revision=6824
2009-03-23 15:43:08 +00:00
Vincent Sanders
02761ee5e4 use greyed images for forward back buttons as approprite
svn path=/trunk/netsurf/; revision=6819
2009-03-22 23:11:38 +00:00
Vincent Sanders
8db32fc061 add vertical scrollbar to freamebuffer
svn path=/trunk/netsurf/; revision=6817
2009-03-22 14:34:56 +00:00
Chris Young
c9fc91c6e4 Set history scroll offsets
svn path=/trunk/netsurf/; revision=6815
2009-03-22 00:12:12 +00:00
François Revel
3a0b151b5b Fix the fix... $(CC) will work better for C files...
svn path=/trunk/netsurf/; revision=6814
2009-03-21 23:22:59 +00:00
François Revel
be485d795e Quick fix for building with gcc2. It's getting quite ugly though...
svn path=/trunk/netsurf/; revision=6813
2009-03-21 23:20:15 +00:00
Vincent Sanders
7b1f478b5a fixup 8bpp plotters
svn path=/trunk/netsurf/; revision=6807
2009-03-19 19:24:29 +00:00
Vincent Sanders
e2a6087fe3 clean up linux framebuffer frontend
svn path=/trunk/netsurf/; revision=6799
2009-03-18 21:13:09 +00:00
Vincent Sanders
37eae24d5c add opaque switch to 16bpp plotters
svn path=/trunk/netsurf/; revision=6798
2009-03-18 21:08:23 +00:00
Chris Young
317fb4ec91 Rexx dir should default to PROGDIR: too
svn path=/trunk/netsurf/; revision=6796
2009-03-17 21:34:01 +00:00
Chris Young
f648479aec Access Resources relative to program directory rather than current directory.
svn path=/trunk/netsurf/; revision=6795
2009-03-17 21:25:20 +00:00
Chris Young
bcb645a301 Fix crash in GETURL
svn path=/trunk/netsurf/; revision=6794
2009-03-17 21:20:15 +00:00
John Mark Bell
58cd142338 Remember the scroll position in the history, so that it's maintained when going back. (credit: Paweł Blokus)
svn path=/trunk/netsurf/; revision=6793
2009-03-17 12:26:41 +00:00
Vincent Sanders
6e9618484e stop SDL faulting with bad os redraw values
svn path=/trunk/netsurf/; revision=6792
2009-03-16 20:30:27 +00:00
Vincent Sanders
e37b214e10 fix able frontend
svn path=/trunk/netsurf/; revision=6791
2009-03-16 20:20:37 +00:00
Michael Drake
9e81d2e583 Slightly better looking scrollbar.
svn path=/trunk/netsurf/; revision=6790
2009-03-16 12:41:32 +00:00
Chris Young
61b806d5f3 Fix clicking on history items beyone the first page
svn path=/trunk/netsurf/; revision=6789
2009-03-15 21:44:03 +00:00
Chris Young
eabb5339a3 Close history and search windows when associated browser window closes.
svn path=/trunk/netsurf/; revision=6786
2009-03-15 11:29:33 +00:00
Chris Young
eab55f2c5a Fix warnings
Fall back to default theme if specified one can't be found

svn path=/trunk/netsurf/; revision=6785
2009-03-15 11:21:46 +00:00