Commit Graph

397 Commits

Author SHA1 Message Date
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
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 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 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 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
Chris Young b8dde8e473 Post-2.0 release changes: stripped static binary in only 5MB
Fix AutoInstall copying NetSurf_Cairo without renaming
Fix installing on systems without AISS


svn path=/trunk/netsurf/; revision=7315
2009-04-25 21:47:39 +00:00
Chris Young 49e705c62e Minor packaging fixes
svn path=/trunk/netsurf/; revision=7314
2009-04-25 21:45:26 +00:00
Chris Young f4757102b6 Fix warnings
svn path=/trunk/netsurf/; revision=7132
2009-04-18 16:56:22 +00:00
Chris Young 3ad3a8f7f9 Fix warnings
svn path=/trunk/netsurf/; revision=7131
2009-04-18 16:55:59 +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 4044c864e1 Ensure the selected item stays selected when being moved. Bit of a hack as the
listbrowser is single-select and recreated completely every update.  Needs some
reworking and change to multi-select mode.

svn path=/trunk/netsurf/; revision=7076
2009-04-14 22:36:57 +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 b3e904058e filename changes
svn path=/trunk/netsurf/; revision=7074
2009-04-14 18:49:15 +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 d6f5ae2ef0 Make selections stand out from buttons
svn path=/trunk/netsurf/; revision=7024
2009-04-01 17:56:11 +00:00
Chris Young 7434200dba Minor corrections
svn path=/trunk/netsurf/; revision=7023
2009-04-01 17:44:20 +00:00
Chris Young 16d7252eac Sync full Cairo build with GTK Cairo plotters
(this was in the previous commit with a copy'n'paste error)

svn path=/trunk/netsurf/; revision=7022
2009-04-01 17:40:09 +00:00
Chris Young 853793eaa8 Remove option_quick_text (local charset text printing)
svn path=/trunk/netsurf/; revision=7021
2009-04-01 17:36:18 +00:00
Chris Young b10db01386 Don't open menu if there are no items
svn path=/trunk/netsurf/; revision=7019
2009-04-01 17:26:39 +00:00
Chris Young 06acdd6c69 More shared objects...
svn path=/trunk/netsurf/; revision=7017
2009-03-31 16:39:49 +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 f388785f8a fix text co-ordinate
svn path=/trunk/netsurf/; revision=6987
2009-03-29 20:57:57 +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 3179a891d6 Fix actual_x
svn path=/trunk/netsurf/; revision=6968
2009-03-28 14:12:31 +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
Chris Young 487223feb9 Make NetSurf look a little closer to the default OS4 theme
svn path=/trunk/netsurf/; revision=6950
2009-03-27 20:04:34 +00:00
Chris Young 4a8b0ca787 Call bitmap_save() for native drag saves.
(still does nothing as bitmap_save isn't implemented yet)

svn path=/trunk/netsurf/; revision=6903
2009-03-26 18:22:24 +00:00
Chris Young 8d58a8b87b Add save_complete to drag save
svn path=/trunk/netsurf/; revision=6896
2009-03-26 08:26:01 +00:00
Chris Young 07af1bd8fd Change pointer imagery when dragging
Disable drag saving when not running on the Workbench screen

svn path=/trunk/netsurf/; revision=6882
2009-03-25 19:59:10 +00:00
Chris Young be609c1dfa Some sort of drag-save implementation.
Limitations:
  NetSurf must be running on the Workbench screen
  Only drags to Workbench disk/drawer windows or icons are supported
  Text selection drags are always called netsurf_text_file

Until workbench.library gets a proper function to handle dragging from applications,
this is as good as it will get.

Bugs:
  Pointer imagery needs to change to reflect the dragging, and prevent the usual
pointer changes while the drag is in progress
  Functionality needs to be disabled if NetSurf isn't running on the Workbench screen
(will currently act as if things are being dropped on the WB screen)
  Overwrites existing files without prompting

svn path=/trunk/netsurf/; revision=6865
2009-03-25 00:03:43 +00:00
Chris Young 5b2d816d86 Move gui_drag_save_selection() into the same file as gui_drag_save_object() as they
will have common code when implemented.

svn path=/trunk/netsurf/; revision=6859
2009-03-24 18:53:22 +00:00
Chris Young ede9c4858d Update to new _available() functions
svn path=/trunk/netsurf/; revision=6858
2009-03-24 18:28:02 +00:00
Chris Young c9fc91c6e4 Set history scroll offsets
svn path=/trunk/netsurf/; revision=6815
2009-03-22 00:12:12 +00:00