Commit Graph

89 Commits

Author SHA1 Message Date
Chris Young
6fb873c54c Add "use blank page" button for homepage url
Add close gadget to window (operates as cancel)

svn path=/trunk/netsurf/; revision=11909
2011-03-04 23:19:24 +00:00
Chris Young
90fb7362c5 Use base type for gfxbase
svn path=/trunk/netsurf/; revision=11249
2011-01-07 18:21:01 +00:00
John Mark Bell
d83f683e96 Sprinkle some #ifdef __amigaos4__ around
svn path=/trunk/netsurf/; revision=11230
2011-01-06 23:17:17 +00:00
Chris Young
078ff2fd51 Move drag icon stuff to own file; fix warnings
svn path=/trunk/netsurf/; revision=10922
2010-10-30 11:20:53 +00:00
Chris Young
f55c11dbd6 Amiga font code revamped and fixed. Will now fall back to a different font if the
character isn't present in the current one, this needs a complete or near-complete
Unicode font in order to be useful - Code2000 and Bitstream Cyberbit are auto-detected
by NetSurf on startup if none is configured.  Japanese websites now display correctly,
along with Japanese characters within Google UK search results etc.

svn path=/trunk/netsurf/; revision=10551
2010-05-06 10:02:58 +00:00
Chris Young
17d76ee478 Remove Export tab properly when building without Haru
svn path=/trunk/netsurf/; revision=10545
2010-05-03 17:15:03 +00:00
Chris Young
085f6b33ec Update fonts immediately after requester use/save
svn path=/trunk/netsurf/; revision=10511
2010-04-28 22:34:15 +00:00
Chris Young
311a79591c Don't show export options if PDF export disabled. Use options if present.
svn path=/trunk/netsurf/; revision=10480
2010-04-25 10:31:52 +00:00
Chris Young
b6937419e1 Fix broken event handling.
Any structures attached to the window_list *must* have a struct nsObject * as their
first entry, and handle events outside of gui.c.

svn path=/trunk/netsurf/; revision=10332
2010-04-09 22:38:51 +00:00
Chris Young
5bb5cedec5 Changes required for new-cache
svn path=/trunk/netsurf/; revision=10186
2010-03-28 15:51:05 +00:00
Chris Young
73827546ef Fix new warnings. Not sure if I should be declaring all the gadgets as Object *, but
that is less casting than declaring them all as struct Gadget * - and allows the
merging of object and gadget arrays, which were causing a few problems previously.

svn path=/trunk/netsurf/; revision=10039
2010-02-13 18:03:05 +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
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
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
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
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
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
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
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
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
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