Commit Graph

638 Commits

Author SHA1 Message Date
Chris Young
0b29da0700 Remove status bar checks which are now in the core.
svn path=/trunk/netsurf/; revision=9969
2010-02-11 18:49:03 +00:00
Chris Young
40c768cec6 Notify on download completion using system-wide Ringhio notifications.
- Uses ARexx currently due to includes for application.library v53 not having been
released.
 - Shows a download complete message even if failed (but the user would already have
seen a warning requester about that)

svn path=/trunk/netsurf/; revision=9913
2010-01-25 12:41:05 +00:00
Vincent Sanders
e01d93f344 Refactor main into the frontends
remove unused embedded global

svn path=/trunk/netsurf/; revision=9851
2010-01-20 20:32:30 +00:00
Chris Young
8dd9aa4e21 Use OS4.1 Update 1 launch-handler when available. Will fall back to OpenURL.library
even if URL: is dismounted while NetSurf is running.
Installation adds the lines to configure launch-handler to open URLs in NetSurf.

svn path=/trunk/netsurf/; revision=9835
2010-01-16 15:53:00 +00:00
Chris Young
3662b3781f Prevent crash if screen could not be opened and prefs are subsequently changed.
svn path=/trunk/netsurf/; revision=9810
2010-01-15 23:05:41 +00:00
Chris Young
6061cc3103 More helpful font open error
svn path=/trunk/netsurf/; revision=9809
2010-01-15 22:51:07 +00:00
Chris Young
44a834a08d Prevent status bar text overflow
svn path=/trunk/netsurf/; revision=9797
2010-01-08 23:13:20 +00:00
Chris Young
7014a8d249 Fix logic
svn path=/trunk/netsurf/; revision=9796
2010-01-08 21:44:12 +00:00
Chris Young
836a4cec67 More useful build information, ditch SVN info if built with NDEBUG.
svn path=/trunk/netsurf/; revision=9795
2010-01-08 21:42:38 +00:00
Chris Young
f23a285103 It helps to allocate enough memory for 40 LONGs, and that memory needs to be returned
regardless as passing a NULL to chooser.gadget crashes it.

svn path=/trunk/netsurf/; revision=9757
2009-12-23 13:47:50 +00:00
Chris Young
a3d82a3634 Search and a couple of other new options
svn path=/trunk/netsurf/; revision=9756
2009-12-23 13:29:10 +00:00
Chris Young
b11df61394 Functional search bar; search icon doesn't refresh if the search area is resized
however.

svn path=/trunk/netsurf/; revision=9755
2009-12-22 23:04:59 +00:00
Chris Young
df64fb7903 Non-functional search bar
svn path=/trunk/netsurf/; revision=9754
2009-12-21 23:25:35 +00:00
Chris Young
d2b2000367 Vertically centre the main row of toolbar gadgets as it looks much neater.
svn path=/trunk/netsurf/; revision=9752
2009-12-20 21:39:43 +00:00
Chris Young
be51c4accb Files required for web search
svn path=/trunk/netsurf/; revision=9746
2009-12-19 17:07:14 +00:00
Chris Young
ee7e9b52ba Copy and update SearchEngines file
svn path=/trunk/netsurf/; revision=9745
2009-12-19 16:51:03 +00:00
Chris Young
8a77de8377 Save favicon as part of icon for save_complete drawers and PDFs
svn path=/trunk/netsurf/; revision=9744
2009-12-19 15:57:53 +00:00
Chris Young
d9b17c8077 Don't fail on non-HTML/CSS types - we just don't want an icon saving so is non-fatal.
svn path=/trunk/netsurf/; revision=9743
2009-12-19 14:41:48 +00:00
Chris Young
f723272cf2 Make favicons work properly with tabs
svn path=/trunk/netsurf/; revision=9742
2009-12-19 13:42:48 +00:00
Chris Young
b53a3273c1 Preliminary favicon support - doesn't display properly due to endian issue in
libnsbmp

svn path=/trunk/netsurf/; revision=9740
2009-12-19 00:39:52 +00:00
Chris Young
46eaa6a058 Simple web search implementation
svn path=/trunk/netsurf/; revision=9735
2009-12-18 17:52:31 +00:00
Chris Young
c5dbbe89a9 Fix compilation
svn path=/trunk/netsurf/; revision=9734
2009-12-18 16:42:41 +00:00
John Mark Bell
355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
Chris Young
4346b2b62b Allow hiding of Docky icon by setting hide_docky_icon:1
(bit of a workaround involved as REGAPP_NoIcon doesn't
appear to check the tag value)

svn path=/trunk/netsurf/; revision=9725
2009-12-13 12:14:43 +00:00
Chris Young
4bcd8ee1ba Added keyboard navigation of tabs, using Alt+Left/Right
svn path=/trunk/netsurf/; revision=9724
2009-12-13 11:52:58 +00:00
Chris Young
bc4abe9087 Fix some potential issues with lists not being freed properly
svn path=/trunk/netsurf/; revision=9677
2009-11-15 23:11:41 +00:00
Chris Young
976e5db268 Missing break
svn path=/trunk/netsurf/; revision=9662
2009-11-04 08:14:17 +00:00
Chris Young
fcaa11f548 Added F5 for reload, purely because I'm getting fed up of people asking for it.
svn path=/trunk/netsurf/; revision=9661
2009-11-04 08:06:52 +00:00
Chris Young
dcbe08d458 PageUp/Down, Home/End etc page scrolling now working.
Most menu shortcuts now available even when the pointer is hovering over the browser
window (menu disabled mode)
RAmiga-R (reload page) and RAmiga-U (activate URL bar) available from keyboard
shortcuts but not from the menu.
This fixes unsat bug #81

svn path=/trunk/netsurf/; revision=9660
2009-11-03 23:17:57 +00:00
Chris Young
1b89eb8397 Basic keyboard scrolling
svn path=/trunk/netsurf/; revision=9658
2009-11-02 23:12:28 +00:00
Chris Young
e5b8264dd8 New key handling code borrowed from the treeview branch.
svn path=/trunk/netsurf/; revision=9657
2009-11-02 23:02:53 +00:00
Chris Young
0efc756a7a Support file://(/)localhost/ as well as file://(/)
As NetSurf insists on adding a third slash after file://, it is not possible to open
any local files which are in subdirectory "localhost" of the current directory.
Workaround is to type the "localhost" part in something other than fully lowercase.
In practice it is incredibly unlikely that even the workaround will need to be used.

svn path=/trunk/netsurf/; revision=9656
2009-11-01 16:01:07 +00:00
Chris Young
019eff10c1 Amiga print UI
svn path=/trunk/netsurf/; revision=9655
2009-11-01 14:53:04 +00:00
Chris Young
90012b487a Fix odd missing chars
svn path=/trunk/netsurf/; revision=9654
2009-10-24 09:18:22 +00:00
Chris Young
5ce6402321 Add a note on how to obtain the sources.
svn path=/trunk/netsurf/; revision=9651
2009-10-21 19:59:15 +00:00
Chris Young
9f6a4d9745 Revert previous change, causing instability.
svn path=/trunk/netsurf/; revision=9649
2009-10-16 19:49:56 +00:00
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
87695acd33 Fix download progress title corruption
svn path=/trunk/netsurf/; revision=9647
2009-10-15 16:49:52 +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
a80a4968bd fix text cursor positioning some more
svn path=/trunk/netsurf/; revision=9597
2009-09-23 21:52:36 +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
8bc7cfbe04 Doc updates
svn path=/trunk/netsurf/; revision=9564
2009-09-13 12:23:30 +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
56e42730de ensure current_redraw_browser is set
svn path=/trunk/netsurf/; revision=9554
2009-09-07 22:55:31 +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
3d971835db Click position improvements
svn path=/trunk/netsurf/; revision=9541
2009-09-05 14:39:38 +00:00
Chris Young
2fc90e362c Fix missing characters
svn path=/trunk/netsurf/; revision=9540
2009-09-05 12:35:05 +00:00
Chris Young
b322e5d8d6 More simple
svn path=/trunk/netsurf/; revision=9539
2009-09-05 11:58:13 +00:00
Chris Young
10a9f0e030 Simplify and fix some long-standing highlight/layout issues
svn path=/trunk/netsurf/; revision=9538
2009-09-05 11:33:05 +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
a5d569ae3e Use correct history window structure
svn path=/trunk/netsurf/; revision=9498
2009-08-29 14:45:47 +00:00
Chris Young
5e033b5133 Give local history own off-screen rendering bitmap
svn path=/trunk/netsurf/; revision=9497
2009-08-29 14:41:24 +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
95c87008cf Stop the alpha channel getting lost on scaled bitmaps
svn path=/trunk/netsurf/; revision=9439
2009-08-24 22:23:17 +00:00
Chris Young
d5018b862d libsvgtiny is shared object now, tweak percent complete values in install to allow
this shared object and space for future ones (such as libDOM), without value jumping
backwards.

svn path=/trunk/netsurf/; revision=9438
2009-08-24 21:14:46 +00:00
Chris Young
3c03dd2d99 Remove the hook function, printing now works correctly (at least with the FILE driver)
svn path=/trunk/netsurf/; revision=9412
2009-08-23 16:40:28 +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
69ee94bb47 Fix crash on www.bebo.com
svn path=/trunk/netsurf/; revision=9409
2009-08-23 10:20:51 +00:00
Chris Young
e57eaed1ad Give "Save as" and "Save as..." different identifiers. Thanks to Samir Hawamdeh for
the heads-up

svn path=/trunk/netsurf/; revision=9377
2009-08-20 17:20:33 +00:00
Chris Young
dc6e7f4627 Add missing code to apply the fetcher settings
Make some stuff private to gui_options.c

svn path=/trunk/netsurf/; revision=9349
2009-08-18 15:38:09 +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
e2ce2bb3ea Built libxml2-2.7.3 and gave it a sensible name.
svn path=/trunk/netsurf/; revision=9338
2009-08-17 17:46:16 +00:00
Chris Young
6030a12341 Revert back to creating a new clip region rather than reusing the previous one. This
fixes the long-standing incremental_reflow problem, as apparently ClearClipRegion
can't cope with the frequency of calls it gets with this switched on.

svn path=/trunk/netsurf/; revision=9333
2009-08-17 11:48:56 +00:00
Chris Young
45e05288f0 Fix compile
svn path=/trunk/netsurf/; revision=9302
2009-08-14 17:53:28 +00:00
Michael Drake
13afa0ff4c Merge Paul Blokus' selectscroll branch. Adds core select menu widget for forms and core scrollbar widget.
svn path=/trunk/netsurf/; revision=9289
2009-08-14 10:37:33 +00:00
Chris Young
8e58c63c99 Revert r9108, as component order in libnsgif due to be corrected.
svn path=/trunk/netsurf/; revision=9137
2009-08-09 21:37:20 +00:00
Chris Young
c67bb2fbe7 Copy libcurl.so, have built 7.19.5 with a sensible name
svn path=/trunk/netsurf/; revision=9133
2009-08-09 20:15:58 +00:00
Chris Young
d197e03bf2 Support new libnsgif by adding bitmap flag BITMAP_ABGR.
This tells big endian systems that the data is in ABGR instead of RGBA.
It should be ignored on little endian systems!
Add support in Amiga platform code.

-> All platform code that could be compiled for big endian systems will need
   to be updated to recognise BITMAP_ABGR.  This includes GTK and
   Framebuffer frontends.  Both BITMAP_ABGR *and* the endianness of the host
   will most likely need to be checked and the allocated bitmap format
   and/or bitmap plotter changed to handle ABGR component order.

svn path=/trunk/netsurf/; revision=9108
2009-08-07 21:16:49 +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
Chris Young
e1004a0a81 Make polling function return after a fetch_free operation, as under certain (unknown)
circumstances it starts wandering off to nodes which don't exist (the same happens
when using NetSurf's rings).

Remove debug

svn path=/trunk/netsurf/; revision=8915
2009-07-30 21:59:26 +00:00
John Mark Bell
bbdb07fe16 Fix RISC OS and Amiga builds.
The sooner this stuff is in the core, the better.

svn path=/trunk/netsurf/; revision=8827
2009-07-27 18:01:54 +00:00
Chris Young
51ab05d49f Revert r8804. This is still occuring, on two different XOOPS sites.
svn path=/trunk/netsurf/; revision=8807
2009-07-26 19:21:14 +00:00
Chris Young
a4d3cabd34 Allow the user to disable URL suggestion.
svn path=/trunk/netsurf/; revision=8806
2009-07-26 18:47:15 +00:00
Chris Young
9c7423c90a Remove setting incremental_reflow off by default. Whatever the cause, the libcss
changes appear to have fixed it.

svn path=/trunk/netsurf/; revision=8804
2009-07-26 16:24:26 +00:00
Chris Young
d63daf0525 Minor corrections for libcss build
svn path=/trunk/netsurf/; revision=8803
2009-07-26 16:23:34 +00:00
Chris Young
055ab3ee17 Ensure quirks.css gets recognised as CSS
svn path=/trunk/netsurf/; revision=8802
2009-07-26 16:04:02 +00:00
Chris Young
f899bd2076 Fix logic
svn path=/trunk/netsurf/; revision=8801
2009-07-26 15:56:38 +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
John Mark Bell
6e13c2fb0a Scale font sizes, for better accuracy.
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00
John Mark Bell
2565a37a52 Refactor text plotter and other font functions to remove dependency on CSS.
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Chris Young
1930989f8c Switch off incremental reflow by default, as for some reason it started causing some
sites randomly to freeze on load (with objects remaining) a couple of months back.

svn path=/trunk/netsurf/; revision=8618
2009-07-18 11:50:22 +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
Michael Drake
8365d46eb7 Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
svn path=/trunk/netsurf/; revision=8513
2009-07-14 10:57:07 +00:00
Vincent Sanders
86232d72a6 next round of plotter refactor
svn path=/trunk/netsurf/; revision=8512
2009-07-14 10:03:58 +00:00
Chris Young
af4f3d2be7 Don't do higher quality scaling on OS4.0 as it doesn't work.
svn path=/trunk/netsurf/; revision=8484
2009-07-12 18:10:14 +00:00
Vincent Sanders
680298e61c plotters line refactor
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +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
e580428738 Fix compilation
svn path=/trunk/netsurf/; revision=8400
2009-07-08 22:32:57 +00:00
Vincent Sanders
f9ecd56f62 ploter refactor of rectangle handling
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +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
febe19851e Fix warnings
svn path=/trunk/netsurf/; revision=8377
2009-07-07 19:27:08 +00:00
Chris Young
6dfc7b8a7c GETSCREENANME documentation
svn path=/trunk/netsurf/; revision=8334
2009-07-05 21:57:56 +00:00
Chris Young
be36c723ca Add a note about how to get the best speed out of the OS4 version. Mostly this is to
encourage people to use 32-bit screenmodes :)

svn path=/trunk/netsurf/; revision=8333
2009-07-05 21:25:24 +00:00
Vincent Sanders
0ade453958 Refactor fill plotter to take a style
svn path=/trunk/netsurf/; revision=8332
2009-07-05 20:10:17 +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
0d879c2e7f fix warnings
svn path=/trunk/netsurf/; revision=8316
2009-07-04 19:12:56 +00:00
Chris Young
65ee9ef4b1 Apply scaling quality also to thumbnails.
svn path=/trunk/netsurf/; revision=8315
2009-07-04 19:10:33 +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
619ea621e8 Script to show the source of the current page
svn path=/trunk/netsurf/; revision=8304
2009-07-04 12:16:53 +00:00
Chris Young
d90e784ab4 Add GETSCREENNAME command
svn path=/trunk/netsurf/; revision=8303
2009-07-04 12:16:22 +00:00
Chris Young
b8f6dfd58d Minor positional changes. This code probably needs a rethink as it doesn't correctly
advance for two-byte UTF8 chars.

svn path=/trunk/netsurf/; revision=8276
2009-07-02 23:07:04 +00:00
Vincent Sanders
1165edf662 remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +00:00
Vincent Sanders
aa26843411 Improve bitmap plotter API
svn path=/trunk/netsurf/; revision=8195
2009-06-30 13:02:23 +00:00
Chris Young
afbc9e9b6e Remove debug code
svn path=/trunk/netsurf/; revision=8178
2009-06-30 07:23:14 +00:00
Chris Young
53374684e5 Re-enable the Use OS Pointers option as I have fixed the crash.
svn path=/trunk/netsurf/; revision=8177
2009-06-30 07:06:22 +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
a6dbc567ef Add a note about font styles
svn path=/trunk/netsurf/; revision=8098
2009-06-28 10:15:32 +00:00
Chris Young
b48fdcd9be Strip down the options file section. People should be using the GUI for everything
else - that's what it's for.

svn path=/trunk/netsurf/; revision=8080
2009-06-27 23:10:35 +00:00
Chris Young
71d8a60f81 Set new installs to start on the Workbench screen, this can be changed from the GUI
now and is a bit friendlier than being prompted for a screenmode on first launch.

svn path=/trunk/netsurf/; revision=8079
2009-06-27 23:04:52 +00:00
Chris Young
5da3d5aa32 Don't update screen ModeID if it is 0, as it gets written in a format which NetSurf
then interprets as a valid ModeID.

svn path=/trunk/netsurf/; revision=8077
2009-06-27 23:01:51 +00:00
Chris Young
e616704164 Completed Amiga preferences GUI.
svn path=/trunk/netsurf/; revision=8065
2009-06-27 16:15:42 +00:00
Chris Young
fa99a7a3ce Convert group and other label strings also to local charset. Free all the strings
when the options GUI is closed

svn path=/trunk/netsurf/; revision=8052
2009-06-27 12:54:00 +00:00
Chris Young
3671fe4e41 Export tab done
svn path=/trunk/netsurf/; revision=8027
2009-06-26 22:01:37 +00:00
Chris Young
90258e15c3 Advanced tab all working
svn path=/trunk/netsurf/; revision=8026
2009-06-26 21:10:02 +00:00
Chris Young
c01913e93e Layout of Advanced tab done, does not set values or act on gadget clicks
svn path=/trunk/netsurf/; revision=7991
2009-06-25 22:40:20 +00:00
Chris Young
2f845d2239 Disable the anim speed gadget if anims themselves are disabled. Also disable the disc
cache options as there is no disc cache.

svn path=/trunk/netsurf/; revision=7988
2009-06-25 21:36:54 +00:00
Chris Young
b23aeb5059 Cache tab done, missing history option added to the General tab.
svn path=/trunk/netsurf/; revision=7984
2009-06-25 18:14:47 +00:00
Chris Young
06d0f2d286 Fix the disappearing radio buttons. I don't know why this suddenly stopped working.
svn path=/trunk/netsurf/; revision=7953
2009-06-24 21:58:11 +00:00
Chris Young
cd6203b6fd Fonts tab done, another gadget type used, have nearly completed the set but lost the
radio button on the Display tab in the process.

svn path=/trunk/netsurf/; revision=7952
2009-06-24 18:54:48 +00:00
Chris Young
507cfe9313 Rendering tab in options all done, new option to improve the scale quality (bilinear
filtering).  This needs to be tested on 4.0 as I'm not sure if bilinear is valid
there, might need to be BSAF_AVERAGE.

svn path=/trunk/netsurf/; revision=7939
2009-06-23 21:29:44 +00:00
Chris Young
050e776119 Network tab done, pretty much identical to the gtk version.
svn path=/trunk/netsurf/; revision=7917
2009-06-22 18:17:41 +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
fa976f3aed Remove libc.so, libgcc.so and libpthread.so as these are present in the OS4.1 QuickFix
released today.

svn path=/trunk/netsurf/; revision=7909
2009-06-21 15:26:05 +00:00
Chris Young
57308f8726 Disabled the OS pointers gadget, as apparently it does take effect immediately and I
had forgotten about a long-outstanding bug (introduced when compiled with the OS4.1
SDK) which just causes the whole thing to freeze if this option is turned off.

svn path=/trunk/netsurf/; revision=7908
2009-06-21 15:12:13 +00:00
Chris Young
3fb6622a92 Added mouse pointer options to the Display tab, as they are probably better suited
here than in Advanced where I was going to put them.  Also, like all the other options
on this tab, they will not take effect until NetSurf is restarted.  I have now added a
note (or, more accurately, a placeholder for what will be a proper note once I've
added all the new strings to the Messages files) to this effect underneath the options
on the Display tab.


svn path=/trunk/netsurf/; revision=7907
2009-06-21 15:05:25 +00:00
Chris Young
9015277d6b Display tab done, except for interconnection of gadgets and the screenmode and file
gadget buttons.
This tab is Amiga-specific and contains the options for specifying which screen to run
on, and which theme to use.

svn path=/trunk/netsurf/; revision=7906
2009-06-21 14:42:01 +00:00
Chris Young
8097cb2958 General tab done, I've tried to keep the layout broadly similar to the GTK version
with some minor changes, removed options etc.
Other than save/use/cancel the buttons don't do anything yet.

svn path=/trunk/netsurf/; revision=7905
2009-06-21 13:32:50 +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
397e2cc0a9 Revert accidental change
svn path=/trunk/netsurf/; revision=7898
2009-06-20 14:13:16 +00:00
Chris Young
cb23d7d911 Modify correct RastPort
svn path=/trunk/netsurf/; revision=7897
2009-06-20 14:11:24 +00:00
Chris Young
2afe4157cd Support option_font_default
svn path=/trunk/netsurf/; revision=7896
2009-06-20 13:44:39 +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
8af2fb49f5 Copy ChangeLog if it exists
svn path=/trunk/netsurf/; revision=7702
2009-06-03 19:42:08 +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
3918a7eaaf SSL certificate verification strings
svn path=/trunk/netsurf/; revision=7685
2009-06-01 21:23:14 +00:00
Chris Young
bc1c7d4efe Add link to Italian dir
svn path=/trunk/netsurf/; revision=7684
2009-06-01 18:32:36 +00:00
Chris Young
ab580742e2 Fix stupid error in the standalone/test code
svn path=/trunk/netsurf/; revision=7682
2009-06-01 17:56:25 +00:00
Chris Young
c29b8ad073 Basic SSL certificate verification, needs some work.
svn path=/trunk/netsurf/; revision=7676
2009-05-31 22:13:58 +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
c55f902197 Check that p96AllocBitMap actually allocated a bitmap (fixes unsat bug#61)
svn path=/trunk/netsurf/; revision=7658
2009-05-30 14:10:04 +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
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
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
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
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
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