Commit Graph

51 Commits

Author SHA1 Message Date
John Mark Bell
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake
e52aaecd7a Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12928
2011-10-03 16:41:55 +00:00
Chris Young
64f0938e8b If the prefs window is already open ad Edit Prefs is called from the menu, bring the
already-opened prefs window to the front and make it active.

svn path=/trunk/netsurf/; revision=12792
2011-09-13 16:56:59 +00:00
Chris Young
f5d91344b7 Change option to get accepted languages from Locale into a checkbox so it updates at
startup

svn path=/trunk/netsurf/; revision=12787
2011-09-11 14:53:33 +00:00
Chris Young
d225054ecf Swap position of context menu and behaviour options
svn path=/trunk/netsurf/; revision=12760
2011-09-06 20:49:48 +00:00
Chris Young
25fea2721d Avoid calling AllocSignal() until the last minute, as it causes PM_OPEN to initiate
an Intuition or Input deadlock.
Re-enable context menus as they are now safe.
Remove sticky context menus option as this can be set in GUI prefs as a global option.

svn path=/trunk/netsurf/; revision=12698
2011-09-02 17:31:47 +00:00
Chris Young
bdc0d994c1 Add an option to open new tabs next to the current tab. Needs some additional logic
as opening multiple tabs results in the new tabs being in reverse order to that
expected.

svn path=/trunk/netsurf/; revision=12559
2011-07-02 22:04:51 +00:00
Chris Young
e77b1a2955 Allow the user to set screen resolution in DPI in preferences
svn path=/trunk/netsurf/; revision=12269
2011-05-02 16:18:00 +00:00
Chris Young
08dcfc0c44 Every five minutes, close any fonts not used in the last five minutes
svn path=/trunk/netsurf/; revision=12267
2011-05-01 11:59:08 +00:00
Chris Young
af0583f8a7 Enable the ask overwrite checkbox so it can actually be changed, correct the gadget ID
so it works and swap clipboard and search bar options as it makes the interface look
neater

svn path=/trunk/netsurf/; revision=12139
2011-03-26 22:35:41 +00:00
Chris Young
14d6826685 Implement ask overwrite
svn path=/trunk/netsurf/; revision=12135
2011-03-26 10:33:58 +00:00
Chris Young
9d2699c6dd Remove "search from url bar" as it doesn't do anything.
Move clipboard group into vacated space

svn path=/trunk/netsurf/; revision=12132
2011-03-25 00:34:00 +00:00
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