Commit Graph

171 Commits

Author SHA1 Message Date
Chris Young 801ef751af Move all the layers code into plotters.c and refactor to use gui_globals structure
Purge option_direct_render

svn path=/trunk/netsurf/; revision=8425
2009-07-09 18:52:55 +00:00
Chris Young 651228e64d Migrate plotters to use a gui_globals pointer rather than RastPort.
svn path=/trunk/netsurf/; revision=8378
2009-07-07 19:28:34 +00:00
Chris Young ab2391ade1 Don't make the global bitmap a friend of the screen bitmap, instead allocate it so
that alpha blitting and Cairo operations work correctly.  Running NetSurf on a 16-bit
screen is now possible without bits of the display missing or obliterated, however it
does suffer a small performance hit.

svn path=/trunk/netsurf/; revision=8331
2009-07-05 18:15:55 +00:00
Chris Young 5886f232c4 turn iconification back off as it isn't working reliably.
svn path=/trunk/netsurf/; revision=8312
2009-07-04 18:01:46 +00:00
Chris Young f611631a5f Basic iconification support
svn path=/trunk/netsurf/; revision=8310
2009-07-04 16:12:27 +00:00
Chris Young afbc9e9b6e Remove debug code
svn path=/trunk/netsurf/; revision=8178
2009-06-30 07:23:14 +00:00
Chris Young 3f59ba7662 Should be static, attempt to fix odd crash.
svn path=/trunk/netsurf/; revision=8176
2009-06-30 07:02:52 +00:00
Chris Young ec2dba8579 Make all the buttons on the first two options tabs work.
May need to improve theme selection so it at least checks it is a valid theme and/or
provide a list of themes instead of a file requester.
Language selection could benefit from also having a drop-down chooser gadget too.

svn path=/trunk/netsurf/; revision=7910
2009-06-21 22:12:52 +00:00
Chris Young 040da4cf7b Amiga Options GUI template code and a bonus "redraw" option in the menu
svn path=/trunk/netsurf/; revision=7900
2009-06-20 22:29:43 +00:00
Chris Young 856fde9a4e Don't ask for a screenmode when one is not set unless we actually need it.
Immediately save Options once the user has selected a screenmode.
This now makes it possible to ask whether they want NetSurf to run on the Workbench or
a new NetSurf screen during installation.

svn path=/trunk/netsurf/; revision=7895
2009-06-20 13:29:30 +00:00
Chris Young 98092d7f16 If the extent changes, make sure the next redraw does the entire visible area,
otherwise it goes a bit weird in faster_scroll mode.

svn path=/trunk/netsurf/; revision=7889
2009-06-20 09:57:26 +00:00
Chris Young 85c2f83dc9 Actually return a value if the function requires it.
More faster_scroll fixes, redraws properly now when clicking anchor links.

svn path=/trunk/netsurf/; revision=7885
2009-06-19 18:32:31 +00:00
Chris Young f0acd5bfb7 Allow setting throbber speed in Theme definition file
svn path=/trunk/netsurf/; revision=7807
2009-06-15 18:41:14 +00:00
Chris Young abdfed143c reset scroll values to reflect position for new content
svn path=/trunk/netsurf/; revision=7800
2009-06-14 12:34:53 +00:00
Chris Young 0c1d88b218 Ensure page fully updates when faster_scroll active and clicking on a link with an
anchor point.

svn path=/trunk/netsurf/; revision=7710
2009-06-04 18:19:27 +00:00
Chris Young c4e27563c4 Pass scroller position to ami_do_redraw_limits, this fixes gaps and overlaps in fast
scroll mode.
Make faster_scroll the default as it is useful now.  Will remove the option to disable
it after further testing.

svn path=/trunk/netsurf/; revision=7703
2009-06-03 19:44:43 +00:00
Chris Young 42ba4e23a5 Fix new pages not always rendering when using faster_scroll
svn path=/trunk/netsurf/; revision=7692
2009-06-03 07:14:24 +00:00
Chris Young df678b6d60 Basic SSL certificate verification for Amiga version
Treeview window is not browseable (TimedDOSRequester is blocking)
Needs some strings writing

svn path=/trunk/netsurf/; revision=7675
2009-05-31 22:12:42 +00:00
Chris Young 3a2df205c2 Don't fast scroll when the user is scrolling more than one window's worth in any
direction

svn path=/trunk/netsurf/; revision=7674
2009-05-31 20:14:15 +00:00
Chris Young a49b8cdcf0 set_scroll should only activate faster_scroll if it is set in the options
svn path=/trunk/netsurf/; revision=7669
2009-05-31 15:19:46 +00:00
Chris Young 0ccf0e0d97 Fix minor problems with tab switching
svn path=/trunk/netsurf/; revision=7668
2009-05-31 15:17:35 +00:00
Chris Young 8e8d36156a Fix faster_scroll
svn path=/trunk/netsurf/; revision=7667
2009-05-31 15:05:26 +00:00
Chris Young 1e42e3a7ce Fully clear clipregion, stops eg. only a little bit of images being shown if the previous
page had an animated GIF

svn path=/trunk/netsurf/; revision=7662
2009-05-31 10:14:55 +00:00
Chris Young c277afc6d9 This really fixes the resize bug (#63)
svn path=/trunk/netsurf/; revision=7630
2009-05-29 22:56:49 +00:00
Chris Young 6770f7b9f9 Re-check window dimensions before copying contents in. This stops window borders
getting corrupted and crashes when resizing (unsat bug#63)

svn path=/trunk/netsurf/; revision=7628
2009-05-29 22:30:15 +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 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 3a93fd1085 Fix crash when pages are loading
svn path=/trunk/netsurf/; revision=7537
2009-05-23 19:06:58 +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 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 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 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
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
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
John Mark Bell daf7a52dd6 Hubbub is no longer optional.
Remove libxml2 parser binding.

svn path=/trunk/netsurf/; revision=7115
2009-04-17 00:54:27 +00:00
Chris Young 9f4851d288 Fix ARexx download queue - GummiSurf now works, and manual ARexx-initiated downloads
will be processed in turn rather than simultaneously.

svn path=/trunk/netsurf/; revision=7075
2009-04-14 18:51:10 +00:00
Chris Young 9f39880e8c fix compilation
svn path=/trunk/netsurf/; revision=7054
2009-04-06 17:25:21 +00:00
John Mark Bell 2531079866 Revert r6973. Apparently, it causes loads of problems.
svn path=/trunk/netsurf/; revision=7047
2009-04-05 19:17:24 +00:00
Chris Young 76665e8886 Update to use browser_window_refresh_url_bar()
svn path=/trunk/netsurf/; revision=7000
2009-03-30 18:04:30 +00:00
Chris Young 736cb29be0 Stop screen updates going odd when animated GIFs are in the page.
Much simpler tests than before too.

svn path=/trunk/netsurf/; revision=6985
2009-03-29 10:53:51 +00:00
Chris Young 2785f18af5 Mouse scrollwheel support
svn path=/trunk/netsurf/; revision=6976
2009-03-28 23:51:39 +00:00
Chris Young 67719a64e6 Add a note about those lines I commented out earlier.. have remembered why they were
there.  Leave them commented out pending a fix.

svn path=/trunk/netsurf/; revision=6975
2009-03-28 20:36:07 +00:00
Chris Young b180dd1a11 Stop cursor drawing off the page
Implement gui_window_save_as_link
Fix warnings


svn path=/trunk/netsurf/; revision=6970
2009-03-28 15:43:12 +00:00
Chris Young 2bf6bd72b8 Remove some checks before redraw, as they only seem to achieve stopping redraws
happening when we need them.

svn path=/trunk/netsurf/; revision=6969
2009-03-28 14:44:16 +00:00
Chris Young 2cfe83a921 Minor fixes
svn path=/trunk/netsurf/; revision=6967
2009-03-28 12:56:59 +00:00
Chris Young a28f64386e Implement a download queue for ARexx-initiated downloads. Working manually, however
GummiSurf is causing it to crash for some reason.

Split download/save routines off into a new file.

svn path=/trunk/netsurf/; revision=6966
2009-03-28 12:50:19 +00:00