Commit Graph

4253 Commits

Author SHA1 Message Date
John Mark Bell
b82801129c More aliasing avoidance/permission
svn path=/trunk/netsurf/; revision=6948
2009-03-27 18:09:49 +00:00
John Mark Bell
ac6cc0e4a4 More permitted aliasing
svn path=/trunk/netsurf/; revision=6947
2009-03-27 17:55:58 +00:00
John Mark Bell
fbec0d96c9 Another wimp_window_state->wimp_open conversion.
Avoid aliasing an int ** and a void **.

svn path=/trunk/netsurf/; revision=6946
2009-03-27 17:54:33 +00:00
Michael Drake
a6e0dfe800 Fix off by one at line end.
svn path=/trunk/netsurf/; revision=6945
2009-03-27 17:49:39 +00:00
John Mark Bell
c097ddf59e Permit aliasing of pointers to wimp_window_state and wimp_open.
svn path=/trunk/netsurf/; revision=6944
2009-03-27 17:49:25 +00:00
Michael Drake
dbeeea572c Draw CSS overflow scrollbars differently. Front ends can override the colours used.
svn path=/trunk/netsurf/; revision=6943
2009-03-27 16:45:56 +00:00
Michael Drake
20a95b4f8f Update build config example comment.
svn path=/trunk/netsurf/; revision=6942
2009-03-27 14:26:43 +00:00
Daniel Silverstone
0b66f6f4c2 Ensure the example Makefile.config is just that -- an example
svn path=/trunk/netsurf/; revision=6940
2009-03-27 13:48:00 +00:00
Michael Drake
aa086476e8 Include the right default build options file.
svn path=/trunk/netsurf/; revision=6939
2009-03-27 13:35:43 +00:00
Daniel Silverstone
5f55c788b6 Add a default Makefile.config with an example (commented out)
svn path=/trunk/netsurf/; revision=6938
2009-03-27 11:25:27 +00:00
Daniel Silverstone
308d2d3345 Rename Makefile.config to Makefile.defaults and update the docs
svn path=/trunk/netsurf/; revision=6937
2009-03-27 11:23:25 +00:00
Daniel Silverstone
38c56a9d73 Ensure it's clear that Makefile.config is meant to be INVIOLATE to all but core devs
svn path=/trunk/netsurf/; revision=6936
2009-03-27 11:11:43 +00:00
John Mark Bell
8f25d44891 Squash warning.
svn path=/trunk/netsurf/; revision=6935
2009-03-27 02:47:16 +00:00
John Mark Bell
0bfed166f5 Squash warnings
svn path=/trunk/netsurf/; revision=6934
2009-03-27 02:46:30 +00:00
John Mark Bell
efeb0134f7 Squash warnings
svn path=/trunk/netsurf/; revision=6933
2009-03-27 02:33:35 +00:00
John Mark Bell
861970fbcd Squash warnings
svn path=/trunk/netsurf/; revision=6932
2009-03-27 02:32:26 +00:00
John Mark Bell
73365fa023 Squash warnings
svn path=/trunk/netsurf/; revision=6931
2009-03-27 02:28:30 +00:00
John Mark Bell
79a2422fd1 Squash warnings
svn path=/trunk/netsurf/; revision=6930
2009-03-27 02:25:57 +00:00
John Mark Bell
68d8ed687d Squash warning.
svn path=/trunk/netsurf/; revision=6929
2009-03-27 02:24:00 +00:00
John Mark Bell
d8ab59b578 Squash warning
svn path=/trunk/netsurf/; revision=6928
2009-03-27 02:21:42 +00:00
John Mark Bell
58f4b10b87 Squash warnings
svn path=/trunk/netsurf/; revision=6927
2009-03-27 02:20:22 +00:00
John Mark Bell
bd06e8e9be Squash warnings
svn path=/trunk/netsurf/; revision=6926
2009-03-27 02:19:38 +00:00
John Mark Bell
e84fa19ba6 Squash warning
svn path=/trunk/netsurf/; revision=6925
2009-03-27 02:15:24 +00:00
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