Commit Graph

206 Commits

Author SHA1 Message Date
Chris Young 4059d2b096 Fix-up the timer.device scheduler and reinstate it as default. Unfortunately this
doesn't remove the need for INTUITICKS messages as we still need to break out for page
reflow (which doesn't use the scheduler), but it should make animations more accurate.

svn path=/trunk/netsurf/; revision=9648
2009-10-15 21:35:29 +00:00
Chris Young 8753b5a35d Implement the ability to stay in memory if all windows are closed. This and no window
on startup can be used together to make NetSurf "quick launch" and always available.

svn path=/trunk/netsurf/; revision=9603
2009-10-03 11:00:10 +00:00
Chris Young 12ac8eb215 Add options for "no quit on last window close" (disabled - not implemented) and
"no window on startup"

svn path=/trunk/netsurf/; revision=9601
2009-09-29 18:24:19 +00:00
Chris Young cf1d796491 Added application.library messages New Doc and Open Doc.
Added option_startup_no_window to allow NetSurf to be opened without an initial
browser window (unless a URL is specified on the command line or by extended
selection)

Provision for option_close_no_quit for NetSurf to stay in memory when all browser
windows are closed (not implemented yet)

svn path=/trunk/netsurf/; revision=9600
2009-09-28 22:17:09 +00:00
Chris Young abf51104fe Register with application.library.
Icon appears on AmiDock - ToFront, Open Prefs and (Force) Quit commands work.
Open (and maybe Print) Document could potentially be added.
Not sure if AppIcon-style drag'n'drop works with application.library-registered apps
by default (once Open supported).

svn path=/trunk/netsurf/; revision=9599
2009-09-28 18:00:40 +00:00
Chris Young 2b6b97e6c1 Fix obviously wrong logic and tweak the status display area frame slightly so it looks
better (or at least fits in with the OS look better)

svn path=/trunk/netsurf/; revision=9592
2009-09-17 21:44:07 +00:00
Chris Young a35b96ace7 Modify bottom border status gadget so that it has a frame. When the gadget is
refreshed now it will erase the gadget area before redrawing, allowing to use
RefreshGList instead of RefreshWindowFrame.  This is significantly faster as
RefreshWindowFrame redraws more than the function name suggests.

svn path=/trunk/netsurf/; revision=9577
2009-09-15 22:49:33 +00:00
Chris Young 7f369b829b Fix crash when switching to tabs that are still loading
svn path=/trunk/netsurf/; revision=9562
2009-09-08 22:59:47 +00:00
Chris Young a3d57f2c3c Indicate when tabs are loading. Currently this only works with the AISS theme (and
probably only under OS4.1), showing a yellow flag on tabs which are currently loading.

In the future this could be expanded to show a proper animated throbber on loading
tabs, maybe instead of the main throbber.

svn path=/trunk/netsurf/; revision=9548
2009-09-06 11:23:35 +00:00
Chris Young dac634f6fd Make throbber operate correctly according to the tab currently displayed.
svn path=/trunk/netsurf/; revision=9547
2009-09-06 10:48:14 +00:00
Chris Young 3c72fddaa0 Make the new horizontal scroller work the same way as the old one and teh vertical
scroller.

svn path=/trunk/netsurf/; revision=9536
2009-09-04 22:00:09 +00:00
Chris Young ee6e1df605 Fix kiosk mode
svn path=/trunk/netsurf/; revision=9535
2009-09-04 18:10:15 +00:00
Chris Young d9deb85bf3 Remove unnecessary RethinkLayout() for tabs under OS4.1 (removes flicker when
compositing off)

svn path=/trunk/netsurf/; revision=9530
2009-08-31 22:10:05 +00:00
Chris Young f43b786c50 Support Alt
svn path=/trunk/netsurf/; revision=9529
2009-08-31 21:48:57 +00:00
Chris Young 8d72c1106c Fix fast scrolling when scaled
svn path=/trunk/netsurf/; revision=9524
2009-08-31 12:12:00 +00:00
Chris Young 057bbb634f Fix box redraw when scaled, fast scrolling now works in the upwards direction, but
not down :)

svn path=/trunk/netsurf/; revision=9522
2009-08-31 12:05:35 +00:00
Chris Young 984973015a Increase mouse wheel scroll speed again. This should bring it up to the same speed as
OS4's built-in stuff.

svn path=/trunk/netsurf/; revision=9516
2009-08-31 10:16:23 +00:00
Chris Young 44ffe7b85d Fix scroll position
svn path=/trunk/netsurf/; revision=9514
2009-08-30 22:05:09 +00:00
Chris Young 06107bf050 Mostly working scale. Fast scrolling doesn't work when scaled, and neither does
updating boxes (GIF anims etc)

svn path=/trunk/netsurf/; revision=9513
2009-08-30 21:43:14 +00:00
Chris Young 768fea80aa revert accidental change
svn path=/trunk/netsurf/; revision=9506
2009-08-30 10:22:26 +00:00
Chris Young 78834c0036 Show printing progress
svn path=/trunk/netsurf/; revision=9505
2009-08-30 10:14:16 +00:00
Chris Young 68610c1fb1 Attempt to fix kiosk_mode, still not working.
svn path=/trunk/netsurf/; revision=9499
2009-08-29 15:57:23 +00:00
Chris Young 138d0754c9 Font scaling - scaling now works for printing, need 2nd attempt at implementing it for
browsing.

svn path=/trunk/netsurf/; revision=9496
2009-08-29 14:24:47 +00:00
Chris Young 0b6f91dd61 Changes for asynchronous printing. Currently disabled, as NetSurf window doesn't
redraw while printing in progress

svn path=/trunk/netsurf/; revision=9495
2009-08-29 14:00:57 +00:00
Chris Young 4e9480e6c7 Fix page dragging etc
svn path=/trunk/netsurf/; revision=9493
2009-08-29 10:16:19 +00:00
Chris Young 965329b600 gadget tag/position tweaks
svn path=/trunk/netsurf/; revision=9491
2009-08-28 23:26:55 +00:00
Chris Young d3039fea7b Move status bar to bottom window border, as per NetSurf standard. Thanks to Thomas
Rapp and others for info on how to do this.
Currently there seems to be a glitch which is cancelling events, making typing in
gadgets very difficult and mouse dragging almost impossible.

svn path=/trunk/netsurf/; revision=9490
2009-08-28 23:12:18 +00:00
Chris Young 3295d71a2f First attempt at Amiga printing support. Doesn't quite work - a column on the left
will print, but the rest of the page is an unexpected pastel pink.

svn path=/trunk/netsurf/; revision=9410
2009-08-23 15:59:41 +00:00
Chris Young 8d34071b8e Tweak throbber anim speed
svn path=/trunk/netsurf/; revision=9348
2009-08-18 13:06:28 +00:00
Chris Young 45e05288f0 Fix compile
svn path=/trunk/netsurf/; revision=9302
2009-08-14 17:53:28 +00:00
Chris Young 3d3bd874dc Disable resize with contents. This should stop the resize lockups once and for all.
svn path=/trunk/netsurf/; revision=8950
2009-08-01 13:16:16 +00:00
John Mark Bell ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
Chris Young b20949a350 Replace URL bar with custom StringView class. Thanks to Stephen Fellner, Rene W Olsen
and Joerg Strohmayer.

svn path=/trunk/netsurf/; revision=8723
2009-07-23 11:23:34 +00:00
Chris Young 0ef4d08580 Fix OS4.0 key duplication issue (unsat bug#62)
and there was much rejoicing

svn path=/trunk/netsurf/; revision=8617
2009-07-18 11:36:41 +00:00
Chris Young 01d87bd5ba Remove old progress pointer hack
svn path=/trunk/netsurf/; revision=8562
2009-07-15 17:44:25 +00:00
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