Commit Graph

4326 Commits

Author SHA1 Message Date
John Mark Bell abc3603feb And again
svn path=/trunk/netsurf/; revision=7607
2009-05-28 16:05:17 +00:00
John Mark Bell e9e3649648 Make some vague attempt at detecting failure to write output.
svn path=/trunk/netsurf/; revision=7606
2009-05-28 16:03:48 +00:00
Michael Drake 666506689f Remove redundant assign, and make case indentation style guide complient.
svn path=/trunk/netsurf/; revision=7605
2009-05-28 15:59:02 +00:00
John Mark Bell 07c557a25d Report memory exhaustion -- the whole tree loading stuff needs an overhaul as it's pretty lax about dealing with memory exhaustion.
svn path=/trunk/netsurf/; revision=7604
2009-05-28 15:57:54 +00:00
John Mark Bell d81a949cdd Remove unused code
svn path=/trunk/netsurf/; revision=7603
2009-05-28 15:51:03 +00:00
John Mark Bell dda592c870 Remove redundant code from browser_window_mouse_action_html().
Tidy up browser_window_mouse_track().

svn path=/trunk/netsurf/; revision=7602
2009-05-28 14:35:12 +00:00
John Mark Bell 8e545756f0 Tidy up background-position parsing
svn path=/trunk/netsurf/; revision=7601
2009-05-28 14:05:47 +00:00
John Mark Bell c1e3fb0bec Remove spurious "domain" variable from urldb_iterate_partial().
Lose unnecessary increment of rptr in cookie domain prefix matching.
Record that, in the long term, we need some kind of TLD service to consult so that (e.g.) .co.uk is not considered a valid domain prefix.

svn path=/trunk/netsurf/; revision=7600
2009-05-28 13:19:07 +00:00
John Mark Bell 5d75e40700 Lose redundant code. Actually ensure that mode is initialised in ro_gui_theme_update_toolbar_icon().
svn path=/trunk/netsurf/; revision=7598
2009-05-28 12:38:36 +00:00
John Mark Bell 059b6a0e15 Make logic surrounding extraction of URL + referer scheme more sensible.
Always require the fetch URL to have a scheme -- without it, we can't find a fetcher.

svn path=/trunk/netsurf/; revision=7597
2009-05-28 11:56:56 +00:00
Michael Drake 8f9b03578f Remove redundant increment.
svn path=/trunk/netsurf/; revision=7596
2009-05-28 11:48:32 +00:00
Michael Drake a7c3c7bf15 Remove redundant calculation.
svn path=/trunk/netsurf/; revision=7595
2009-05-28 11:46:14 +00:00
Michael Drake b595970d82 Reorganise some conditions and only try to deal with min-height and max-height where it should be done.
svn path=/trunk/netsurf/; revision=7594
2009-05-28 11:14:32 +00:00
John Mark Bell 243c1ba03f Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +00:00
John Mark Bell 89396e7d2a Avoid dereferencing NULL pointer. Tighten up other icon string initialisation, too.
svn path=/trunk/netsurf/; revision=7592
2009-05-28 00:55:04 +00:00
Michael Drake ee4beae9e2 Remove unused code.
svn path=/trunk/netsurf/; revision=7591
2009-05-27 20:14:36 +00:00
Michael Drake 223818b84c Make layout_apply_minmax_height assert if it's called with a box that shouldn't exist.
svn path=/trunk/netsurf/; revision=7590
2009-05-27 19:43:03 +00:00
Michael Drake 50219b81e6 Pedantic wrap.
svn path=/trunk/netsurf/; revision=7589
2009-05-27 19:17:16 +00:00
Michael Drake 7bb2aa7cbb Remove a couple of superfluous conditions.
svn path=/trunk/netsurf/; revision=7588
2009-05-27 19:11:07 +00:00
Michael Drake 5b33c1e723 Remove dead assignment
svn path=/trunk/netsurf/; revision=7587
2009-05-27 18:43:14 +00:00
Chris Young 0e880815f7 Custom apha-supporting backfill hook for tiled bitmaps that require it.
svn path=/trunk/netsurf/; revision=7553
2009-05-26 22:39:23 +00:00
Chris Young 772bbec9e8 Super whizzy fast shiny new tile plotter
Massively speeds up www.amigaimpact.org, slight improvement on other sites.
Unfortunately alpha plotting on tiled btimaps is broken again (makes amigaworld.net
difficult to read).
May need to reimplement the old tile plotter for alpha bitmaps only, or write my own
alpha-supporting backfill hook

svn path=/trunk/netsurf/; revision=7550
2009-05-26 19:02:51 +00:00
Chris Young 6ac80f3e05 Vague attempt at direct rendering
THIS IS NOT AND PROBABLY NEVER WILL BE IN ANY WAY USEFUL EXCEPT FOR DEBUGGING!
In particular it will probably crash when opening/closing multiple windows and the
display is offset incorrectly.

svn path=/trunk/netsurf/; revision=7547
2009-05-25 22:32:38 +00:00
Chris Young 181615779d Change back to Smart Refresh windows
svn path=/trunk/netsurf/; revision=7543
2009-05-25 10:13:53 +00:00
Chris Young 27b4580644 Reduce flicker
svn path=/trunk/netsurf/; revision=7542
2009-05-24 14:50:21 +00:00
Chris Young 8ac6d344f5 Prevent gadget and menu disable/enable magic from acting on frames (this fixes bug#207
at bugs.os4depot.net)

svn path=/trunk/netsurf/; revision=7541
2009-05-24 13:13:27 +00:00
Chris Young dc9fc39972 Add link to changelog
svn path=/trunk/netsurf/; revision=7539
2009-05-23 19:22:18 +00:00
Chris Young 3a93fd1085 Fix crash when pages are loading
svn path=/trunk/netsurf/; revision=7537
2009-05-23 19:06:58 +00:00
John Mark Bell cbef74a802 Add OpenSSL to the cflags/ldflags.
Fix GTK installation target.

This is based on a patch from Dmitry Artamonow.

svn path=/trunk/netsurf/; revision=7530
2009-05-23 11:40:49 +00:00
Chris Young 1f90347f9b Missing WITH_NS_SVG #ifdef
svn path=/trunk/netsurf/; revision=7524
2009-05-19 07:30:00 +00:00
Chris Young 6f120338ed Add ability to copy SVGs to the clipboard and save in IFF DR2D format.
svn path=/trunk/netsurf/; revision=7523
2009-05-19 07:23:56 +00:00
Chris Young efe2151c9a Too many 0s
svn path=/trunk/netsurf/; revision=7522
2009-05-17 16:59:56 +00:00
Chris Young 47fa825ae0 Add Save as IFF to main menus
Disable menu items that aren't relevant for current content

svn path=/trunk/netsurf/; revision=7521
2009-05-17 10:40:42 +00:00
Chris Young a3c357f4e6 Allow Copy menu to copy the image currently displayed, if we aren't displaying text
Fix some warnings

svn path=/trunk/netsurf/; revision=7520
2009-05-17 09:55:28 +00:00
Chris Young feb3568f21 Fix alpha testing, set correctly for ILBMs
svn path=/trunk/netsurf/; revision=7519
2009-05-17 09:42:13 +00:00
Chris Young 7a2fb9222a IFF save now works - needed an unexpected NULL as the first parameter to DTM_WRITE
DTA_ObjName is now the URL, as this is the only field that is being written by
picture.datatype (bug in picture.datatype?).  ObjAuthor and ObjAnnotation left in as
the DTM_COPY method might be able to use them.

svn path=/trunk/netsurf/; revision=7518
2009-05-16 17:30:25 +00:00
Chris Young 08d0c16822 Copy and save images as IFF ILBM attempt 2.
Copy now works, saving just creates an empty file - probably something wrong with my
DTM_WRITE call.

svn path=/trunk/netsurf/; revision=7517
2009-05-16 17:04:28 +00:00
Chris Young 478d953ea5 Copy and save images in IFF ILBM format. Currently, the data in the BODY chunk is
wrong.

svn path=/trunk/netsurf/; revision=7516
2009-05-16 14:50:30 +00:00
Michael Drake 750a6e624c Hubbub now a requirement.
svn path=/trunk/netsurf/; revision=7513
2009-05-15 08:16:00 +00:00
John Mark Bell 42e24e8099 s/abort/abort_fetch/
svn path=/trunk/netsurf/; revision=7512
2009-05-14 10:13:20 +00:00
Chris Young 4387f7b494 Local history started drawing on the browser window instead of the history window for
some reason.  This makes it draw to the usual global bitmap and blit across to the
history window instead.

svn path=/trunk/netsurf/; revision=7453
2009-05-09 19:44:10 +00:00
Chris Young c523d9f20b Populate option_accept_language with the user's preferred languages, in order.
LangNames now contains the language codes for all languages available with OS4.1, plus
Welsh (http://aminet.net/package/misc/misc/welsh_lang).  There are no other 3rd party
.language files available for OS4 that I am aware of, but any new ones can easily be
added if/when they become available.

These may now not be exactly the same as the RISC OS names, but that can be resolved
by renaming directories for new translations (current ones are OK), or reverting back
to the AmigaOS names for Messages files paths.

svn path=/trunk/netsurf/; revision=7452
2009-05-09 18:56:12 +00:00
Chris Young 1612d0f40d Remove min_font_size setting
svn path=/trunk/netsurf/; revision=7451
2009-05-09 18:47:08 +00:00
Chris Young c28114732a Adjust minimum font size
svn path=/trunk/netsurf/; revision=7450
2009-05-09 14:30:17 +00:00
Michael Drake 65a888dd87 Handle percentage table heights. Spare height is still not distributed over cells.
svn path=/trunk/netsurf/; revision=7439
2009-05-08 11:43:38 +00:00
Chris Young 14a6c56748 CompositeTags() was clipping one pixel too close.
svn path=/trunk/netsurf/; revision=7432
2009-05-07 22:40:52 +00:00
Chris Young e7cbf49fb9 Some optimisations, makes page rendering much quicker at least on OS4.1.
svn path=/trunk/netsurf/; revision=7431
2009-05-07 18:40:33 +00:00
Michael Drake c2ecbebd3d Fix viewport height handling not to obliterate calculation
of root element height from children's dimensions.
Improve handling of percentage heights on HTML and BODY.

svn path=/trunk/netsurf/; revision=7429
2009-05-07 16:22:38 +00:00
John Mark Bell 40d27d1152 Correct autobuilder path.
svn path=/trunk/netsurf/; revision=7425
2009-05-07 14:36:08 +00:00
John Mark Bell 94aa8e4b60 It probably helps to remember about ccres and makerun.
svn path=/trunk/netsurf/; revision=7422
2009-05-07 14:04:03 +00:00