Commit Graph

3514 Commits

Author SHA1 Message Date
Michael Drake 723f48b1cc Make RISC OS use -O2 too and tidy comments.
svn path=/trunk/netsurf/; revision=5356
2008-09-16 20:21:01 +00:00
Chris Young 7839439ce8 Re-enable MNG support for AmigaOS build
svn path=/trunk/netsurf/; revision=5355
2008-09-16 18:56:06 +00:00
Michael Drake 6456b84249 Make libmng string mention all formats it can support.
svn path=/trunk/netsurf/; revision=5354
2008-09-16 18:03:17 +00:00
Michael Drake 31127a130f Tidy up png support string.
svn path=/trunk/netsurf/; revision=5353
2008-09-16 17:52:37 +00:00
Michael Drake 03fdf02272 Fix warnings.
svn path=/trunk/netsurf/; revision=5349
2008-09-16 13:45:59 +00:00
Daniel Silverstone 6e0a71f631 Add support for displaying the tab bar if there's only one tab.
svn path=/trunk/netsurf/; revision=5348
2008-09-16 13:32:12 +00:00
Michael Drake 118c7ac1d3 Wrap consistency.
svn path=/trunk/netsurf/; revision=5347
2008-09-16 13:24:52 +00:00
Michael Drake bbd40534c6 Treat image/jpg as JPEG content for Royal Mail captcha.
svn path=/trunk/netsurf/; revision=5343
2008-09-16 08:13:35 +00:00
John Mark Bell a001437a66 Potentially squash warnings
svn path=/trunk/netsurf/; revision=5341
2008-09-15 23:20:07 +00:00
Michael Drake 18fef974ef Change default build to use libpng but not libmng.
svn path=/trunk/netsurf/; revision=5340
2008-09-15 23:16:21 +00:00
John Mark Bell 385d274f5b A bunch of fixes to the libpng binding
svn path=/trunk/netsurf/; revision=5338
2008-09-15 22:45:44 +00:00
Chris Young d9c7f033e6 Code cleanup, removed remnants of ttengine experimental code (way too slow to be
useful)

svn path=/trunk/netsurf/; revision=5337
2008-09-15 22:18:33 +00:00
Michael Drake 2c3a663ccc Fix some warnings.
svn path=/trunk/netsurf/; revision=5336
2008-09-15 22:14:17 +00:00
François Revel 8247c76404 Hopefully fix detection of libpng header path with pkg-config.
svn path=/trunk/netsurf/; revision=5335
2008-09-15 21:43:38 +00:00
Michael Drake 8afc2ba3bc Add PNGError to Messages files.
svn path=/trunk/netsurf/; revision=5334
2008-09-15 21:19:16 +00:00
François Revel 8c2a7e23de Fix include path for libpng.
Libpng mandates using <png.h>, if it doesn't work for you, fix your OS :D
(or use -I)
See http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-2

svn path=/trunk/netsurf/; revision=5333
2008-09-15 21:12:48 +00:00
John Mark Bell c446540109 Fix build if NETSURF_USE_PNG := yes and NETSURF_USE_MNG := no
svn path=/trunk/netsurf/; revision=5332
2008-09-15 20:54:03 +00:00
Michael Drake f2d6c62d7b Comment group plotters.
svn path=/trunk/netsurf/; revision=5331
2008-09-15 20:31:09 +00:00
Daniel Silverstone d3270ed648 Add libpng support. Default to off.
svn path=/trunk/netsurf/; revision=5330
2008-09-15 20:23:02 +00:00
Chris Young 5c9f7937f5 Fixed bold/italic styles
svn path=/trunk/netsurf/; revision=5328
2008-09-15 18:56:11 +00:00
Michael Drake caafa2704e Add general comment on knockout rendering.
svn path=/trunk/netsurf/; revision=5327
2008-09-15 18:47:37 +00:00
Michael Drake 7447ca1d4c Oops - commit the latest version.
svn path=/trunk/netsurf/; revision=5325
2008-09-15 18:19:13 +00:00
Michael Drake 7719e36c28 Start commenting plotter functions.
svn path=/trunk/netsurf/; revision=5324
2008-09-15 18:14:08 +00:00
Michael Drake 83fb0bbb9e Update source directory info.
svn path=/trunk/netsurf/; revision=5320
2008-09-15 11:30:42 +00:00
Chris Young 9de5a5137d Fix schedule_run so it doesn't occur outside gui_poll.
svn path=/trunk/netsurf/; revision=5311
2008-09-13 22:53:38 +00:00
Chris Young 684d452e9c Improved throbber, works independently on multiple windows, stops when it should, no
weird crashes, lock-ups etc.

The format has changed, Resources/Throbber now needs to be in a picture.datatype
format, as a "film strip" of frames with the first image the inactive (stopped
throbber) and the rest the active animation.  The number of frames needs to be set in
the Options file throbber_frames variable (currently - will probably move to a
tooltype of Resources/Throbber in the future for better theming ability)

svn path=/trunk/netsurf/; revision=5310
2008-09-13 22:39:48 +00:00
Chris Young 10bf100cc1 Added ability to load toolbar images from a different path.
Default is still TBImages: (ie AISS, http://www.masonicons.de)

All of the following must be present, in any format that bitmap.image will load
(usually this means any picture.datatype subclasses):

home, home_g, home_s - Home button
nav_east, nav_east_g, nav_east_s - History forward
nav_west, nav_west_g, nav_west_s - History back
reload, reload_g, reload_s - Reload
stop, stop_g, stop_s - Stop

The _g and _s files are ghosted and selected versions respectively.

To set the path, use toolbar_images:<path> in Options.


svn path=/trunk/netsurf/; revision=5304
2008-09-11 21:32:55 +00:00
Chris Young 256bf06387 Basic throbber support code. The throbber is shared between windows and must be
stored as Resources/Throbber in animation.datatype supported format.

The default animation is a small IFF ANIM which is only good for testing purposes.

This throbber code is likely to be replaced by custom animation code in the future as
using animation.datatype has issues and restrictions (only 8-bit formats, using
NewDTObject() twice on the same file doesn't seem to work correctly, clicking on the
anim starts it playing etc)

svn path=/trunk/netsurf/; revision=5303
2008-09-11 19:33:40 +00:00
Daniel Silverstone 433f90563b Move where WARNFLAGS is set up so that we actually get warnings. Ahem, there's a lot of them.
svn path=/trunk/netsurf/; revision=5299
2008-09-10 13:32:07 +00:00
Chris Young f78ed94926 Disabled the new scheduler by default as it is more unstable than I thought :(
Defining AMI_SCHEDULER_USES_TIMER will enable it again.

svn path=/trunk/netsurf/; revision=5291
2008-09-09 06:25:22 +00:00
John Mark Bell c6ac553d3d Enable dumping of DOM tree
svn path=/trunk/netsurf/; revision=5289
2008-09-08 21:55:20 +00:00
Chris Young 402f53f0a5 New mouse pointer images by Martin Merz (Mason)
Extended pointer size to 32x32 pixels.

svn path=/trunk/netsurf/; revision=5288
2008-09-08 21:27:35 +00:00
Chris Young 9fc58606db Scheduled events now signal when the scheduled time has passed.
The timer appears to stop signalling events occasionally - needs some investigation.

svn path=/trunk/netsurf/; revision=5287
2008-09-08 18:14:14 +00:00
Daniel Silverstone 7dd73c5b43 Ensure we actually use the FNV offset basis rather than the prime, for initialising the hash
svn path=/trunk/netsurf/; revision=5286
2008-09-08 15:23:34 +00:00
John Mark Bell 625237c9c1 Revert r5282 -- it's now redundant.
svn path=/trunk/netsurf/; revision=5283
2008-09-07 21:09:08 +00:00
John Mark Bell a99d5d153b Super-noisy logging. Do not use this build. Thanks.
svn path=/trunk/netsurf/; revision=5282
2008-09-07 19:35:09 +00:00
Michael Drake 2557b029ae Fix Amiga bitmap_get_bpp to be same as others. (It's bytes per pixel, not bits.) Fix param comments for vbitmap.
svn path=/trunk/netsurf/; revision=5281
2008-09-07 19:08:57 +00:00
Chris Young 3ea88d90a1 Support for dragging in files (for file upload forms etc)
svn path=/trunk/netsurf/; revision=5271
2008-09-07 15:58:11 +00:00
Michael Drake 40f20b439e Add param comments to layout_block_find_dimensions.
svn path=/trunk/netsurf/; revision=5267
2008-09-07 10:05:23 +00:00
Michael Drake 0187cbc40f Comment css_len2{pt|px} functions and wrap to 80 chars.
svn path=/trunk/netsurf/; revision=5263
2008-09-06 20:01:27 +00:00
Michael Drake 668dd06dc3 Add comments and change height attribute handling on TR to only alter the height if attribute height is greater than current height.
svn path=/trunk/netsurf/; revision=5259
2008-09-05 13:04:30 +00:00
Chris Young 9ea2e2c133 Much more efficient message handling/input loops, allows me to raise task priority
back to default of 0 without impacting other processes.

svn path=/trunk/netsurf/; revision=5238
2008-09-04 22:41:26 +00:00
Chris Young 4750d11a6b Added support code to allow CSET chunks to be read from clipboard IFF FTXT and
converted as necessary.  Added option to write UTF-8 direct to clipboard, setting CSET
appropriately.  Copying and pasting to/from webpages that are not in local charset and
to/from other applications that set CSET when not using local charset, should now work
correctly if clipboard_write_utf8 is set in the options.  If not set, NetSurf will
still convert from the charset specified in the clipboard when pasting, but will
convert text to local charset and not write a CSET chunk for copy operations.


svn path=/trunk/netsurf/; revision=5231
2008-09-03 22:10:30 +00:00
Chris Young eb67a135d1 Moved menu selection code to menu.c
svn path=/trunk/netsurf/; revision=5230
2008-09-03 22:02:41 +00:00
Chris Young 1f7e72ac06 Simple pointer imagery (hopefully temporary)
svn path=/trunk/netsurf/; revision=5229
2008-09-01 18:05:29 +00:00
Chris Young db1d925ff8 Add shift and ctrl click support, set file comments to url.
svn path=/trunk/netsurf/; revision=5228
2008-09-01 18:03:40 +00:00
Chris Young 30f0bbd256 Basic user-configurable pointer image support.
GUI_POINTER_DEFAULT and GUI_POINTER_WAIT still use the Amiga system default pointers,
and will not be overridden by NetSurf.

Pointer imagery lives in Resources/Pointers and the filenames are all defined in the
ptrs array at the top of gui.c, in the same order as in gui_pointer_shape - with the
exception of GUI_POINTER_DEFAULT (this instead points to a "Blank" pointer for hiding
the pointer) and GUI_POINTER_WAIT (reserved for future use, currently points to "Wait"
but this will change).

The file format is very simple.  It is a text file containing 16 rows of 16
characters, with a newline or CR (or, in fact, any character as this is not checked)
terminating each row.  The seventeenth row indicates the pixel on which the "point" is
set, as two digit X direction, a space, then two digits for the Y direction.

Pointers/Point is based on the hand2 image by Andreas Kuerzinger (the original is in
the AKPointerz.lha archive on Aminet)

svn path=/trunk/netsurf/; revision=5227
2008-08-31 17:34:00 +00:00
Chris Young 614e06da6e Addition of strings used by the Amiga UI.
svn path=/trunk/netsurf/; revision=5225
2008-08-31 11:22:59 +00:00
Chris Young 52e48260d3 Menu tidy-up, string correction and swap of Source and Text in the save/export menu
svn path=/trunk/netsurf/; revision=5224
2008-08-31 11:21:47 +00:00
Chris Young eb00649795 Option to stop iframes popping up in new windows
svn path=/trunk/netsurf/; revision=5223
2008-08-30 21:41:35 +00:00