Commit Graph

4505 Commits

Author SHA1 Message Date
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
John Mark Bell d66ffb6e85 It's probably about time we stopped claiming to be 2.0
svn path=/trunk/netsurf/; revision=7411
2009-05-06 23:52:12 +00:00
Michael Drake 129fb84ed5 Make layout_block_context() private.
svn path=/trunk/netsurf/; revision=7406
2009-05-06 14:20:46 +00:00
Michael Drake a008d3486e Move special casing of form element dimensions out into separate helper function.
svn path=/trunk/netsurf/; revision=7403
2009-05-06 11:16:06 +00:00
John Mark Bell fd932d69b9 Set bit 4 of extended window flags byte (makes Wimp_GetPointerInfo respond to shaded icons on RO5). I've no idea why this wasn't done years ago.
svn path=/trunk/netsurf/; revision=7402
2009-05-06 00:14:32 +00:00
Chris Young ed40acf873 Don't bother plotting bitmaps that are completely out of the clip zone.
svn path=/trunk/netsurf/; revision=7401
2009-05-05 19:51:25 +00:00
Chris Young 0ac64cfce6 Minor corrections
svn path=/trunk/netsurf/; revision=7391
2009-05-04 16:00:06 +00:00
Chris Young 1f9ae3b62e Check if shared objects actually copied, and copy them on next startup if they didn't.
svn path=/trunk/netsurf/; revision=7390
2009-05-04 15:37:30 +00:00
Chris Young ddca6e5f83 Updated Italian translation from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=7388
2009-05-04 13:06:46 +00:00
Michael Drake 5a35e5cd97 Make form elements with specified sizes include paddings and borders in their sizes in some cases.
svn path=/trunk/netsurf/; revision=7386
2009-05-01 18:00:01 +00:00
Michael Drake 17373c1911 Remove default margin from form elements, to match other browsers.
svn path=/trunk/netsurf/; revision=7385
2009-05-01 17:57:20 +00:00
Chris Young 84873deeff Add Abort button to download window
svn path=/trunk/netsurf/; revision=7384
2009-04-30 18:40:26 +00:00
Chris Young 160ec892e1 Make it a bit easier to see the text under the cursor, by complementing rather than
obliterating.

svn path=/trunk/netsurf/; revision=7372
2009-04-29 17:05:40 +00:00
John Mark Bell 9582b087c7 Rework GTK options code to be less bug ridden. This fixes a bunch of buffer overflows and memory leaks. Additionally, don't bother calculating the default toolbar button type here -- it will already be determined the first time that a browser window is opened (i.e. before the preferences dialog can be opened, anyway).
Remove loads of trailing whitespace from every line in the gtk languages file.

svn path=/trunk/netsurf/; revision=7370
2009-04-29 15:24:00 +00:00
John Mark Bell c18945f771 Fix numbering of floated list items
svn path=/trunk/netsurf/; revision=7361
2009-04-29 10:44:20 +00:00
Michael Drake 68a72d17ab Allow box at point to search descendant space of boxes with no style.
svn path=/trunk/netsurf/; revision=7359
2009-04-28 21:24:11 +00:00
Michael Drake a99a5bdd70 Move handling of TR height attribute from box construction to layout and add support for height property on TR.
svn path=/trunk/netsurf/; revision=7358
2009-04-28 20:13:10 +00:00
Michael Drake 044a953400 Make box_at_point() only return boxes if the point is physically contained within them, and not if the point is mearly in the descendant area. (Fixes sites like BBC F1 page where whole page became an iPlayer link.)
svn path=/trunk/netsurf/; revision=7335
2009-04-27 10:20:44 +00:00
Chris Young 9f7a794b1f Set cache_bitmaps to 1 by default so it caches scaled bitmaps in memory.
I'm not sure why this wasn't default already.

svn path=/trunk/netsurf/; revision=7328
2009-04-26 22:05:58 +00:00
Chris Young 0b7b7beb83 Remember this comment as it shows in the menu
svn path=/trunk/netsurf/; revision=7327
2009-04-26 21:40:58 +00:00
Chris Young 98996a4a97 Ignore screen_modeid if it isn't a hex value
svn path=/trunk/netsurf/; revision=7326
2009-04-26 21:27:48 +00:00
Chris Young 00e37846b2 Speed up scrollwheel scrolling due to complaints :)
Restrict screen mode requester to 24 and 32-bit modes only, as the alpha blitting
doesn't work in 16-bit modes (may not work in 24-bit either, but I'm not sure and
Classic OS4 users are likely to have 24-bit cards so don't really want to restrict it
further)

svn path=/trunk/netsurf/; revision=7316
2009-04-25 21:51:40 +00:00