Commit Graph

189 Commits

Author SHA1 Message Date
Chris Young
3a5907c1c4 Move everything else over to using the class pointers.
Exception: popupmenu.class is still using old _GetClass functions.
2015-01-26 00:05:01 +00:00
Chris Young
4f98fd5925 Add missing headers 2015-01-20 20:51:52 +00:00
Chris Young
e07bbbaaff Take out some more code which won't work on OS3 2015-01-19 20:08:45 +00:00
Chris Young
2eb41ed77b More OS3 fixes 2015-01-18 21:11:00 +00:00
Michael Drake
e4437ad76b Store scale in gui_window. Remove a lot of bw dereferencing for scale. 2014-12-04 11:42:12 +00:00
Michael Drake
d9a63bb9e0 Fix brackets. 2014-11-22 00:06:01 +00:00
Michael Drake
1a1b6f8984 Shouldn't need browser_private.h now. 2014-11-22 00:02:28 +00:00
Michael Drake
0756b544c6 Use API to find if content is selectable, instead of guessing. 2014-11-22 00:02:28 +00:00
Michael Drake
ba9a049d7b Simplify ami_history_open API and use correct call to get history object. 2014-11-22 00:02:28 +00:00
Michael Drake
0c7dc95dda Use API to get URL. 2014-11-22 00:02:28 +00:00
Michael Drake
c9683119c3 Use browser_window_get_content where we need to. 2014-11-22 00:02:27 +00:00
Chris Young
79690c6c90 Remove the global which meant we could only open one local history window.
Now we can open multiple local history windows, which avoids the confusion when requesting a local history window when one is already open.
2014-11-16 15:51:57 +00:00
Chris Young
668aa3d84b Remove some cyclic referencing 2014-11-16 15:28:42 +00:00
Chris Young
e8d551398b Fix amiga/menu.c for new structs 2014-11-16 14:55:58 +00:00
Chris Young
7e5ed88763 Fix warnings, formatting 2014-11-10 18:41:38 +00:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
Vincent Sanders
02bbaa3e88 split version info into its own header and remove unnecessary nesurf.h includes
The netsurf.h header should *only* contain the registration, core
initialisation and finalisation methods. Version information is best
placed in its own header.

Also remove any unneeded inclusion of this header limiting it to
solely the places the relevant API is required.
2014-10-13 15:08:16 +01:00
Chris Young
116149c61c Use label.image's In Menu Mode when available 2014-07-28 18:22:09 +01:00
Vincent Sanders
3a9fa29ee5 try and improve usage of browser window internals 2014-07-06 18:34:34 +01:00
Chris Young
4497e9aab7 Neaten up sub-menu highlighting 2014-07-01 23:16:24 +01:00
Chris Young
291f1094eb Add some space between icon and text in the menu 2014-07-01 18:29:10 +01:00
Chris Young
846b534854 Recreate the entire menu when the hotlist window is closed.
This ensures the hotlist entries in the menu are in sync with reality, and mirrors the existing hotlist toolbar update.
2014-06-30 22:37:05 +01:00
Chris Young
0c5bb37bea Implement a very basic favicon cache for the hotlist menu to use 2014-06-29 22:35:52 +01:00
Chris Young
b1f67dab31 Remove Cairo from AmigaOS frontend. 2014-05-03 16:38:58 +01:00
Chris Young
5bb5e2667d Change the scope of some variables picked up by cppcheck, minor reformatting 2014-04-05 23:34:51 +01:00
Chris Young
65adc17121 Fix a bunch of cppcheck unused/unreadVariable warnings 2014-04-05 20:26:40 +01:00
Vincent Sanders
5c6a0eda3b fixup missing includes from schedule changes 2014-03-09 16:14:05 +00:00
Vincent Sanders
87f6314dab move scheduleing into browser operation table 2014-03-09 15:37:40 +00:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Michael Drake
49bed056dd Make browser_window_navigate (un)verifiable flag match browser_window_create. 2014-02-10 22:40:04 +00:00
Michael Drake
af014bce99 Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags. 2014-02-10 14:08:45 +00:00
Chris Young
c25728b011 Move new blank tab into own function 2014-01-03 18:17:25 +00:00
Chris Young
8d82cd9963 Attempt fix/workaround of bug #2034 2014-01-03 00:26:45 +00:00
Chris Young
50e038538a Add hotlist favourites star button 2013-11-23 12:23:56 +00:00
Chris Young
5adb1fb1dd Workaround for AM_EXECUTE not supporting PROGDIR: 2013-11-10 12:49:46 +00:00
Chris Young
c781ca27b7 Add an implied PROGDIR: to the ARexx dir name for scanning, as executing the script with PROGDIR: in it doesn't work. 2013-11-09 16:38:24 +00:00
Chris Young
56723e5898 Use LIB_IS_AT_LEAST macro 2013-10-13 11:52:11 +01:00
Chris Young
20dabacb25 Correct some memory allocation parameters 2013-10-12 13:43:33 +01:00
Chris Young
ade86e496e Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary. 2013-10-12 13:11:13 +01:00
Chris Young
bdf76965b4 Add Undo/Redo to Amiga version. NB: Clear selection no longer has a shortcut key. 2013-10-01 18:51:27 +01:00
Chris Young
704e5cc839 Use a for loop instead 2013-09-28 16:03:24 +01:00
Chris Young
bd85c009d3 Ensure the glyph array is NULLed before use, and that we don't attempt to free NULL entries. 2013-09-28 15:37:09 +01:00
Chris Young
ccdaabfa38 Pass generic userdata 2013-09-12 12:15:00 +01:00
Chris Young
fda365fb2d Move the hotlist menu creator into hotlist.c and make it more generic 2013-09-12 12:08:50 +01:00
Chris Young
177b46e873 Add hotlist menu items at the correct offset 2013-09-12 11:27:45 +01:00
Chris Young
9c49eb3ccc Remove unused. NB: new routine untested 2013-09-05 20:27:39 +01:00
Chris Young
454fc8dbaa Use the nsurl directly 2013-09-05 20:26:28 +01:00
Chris Young
f59a93f5ee Attempt re-write of Hotlist menu creation 2013-09-05 20:24:01 +01:00
Michael Drake
bd38b712c6 Avoid an error. 2013-09-03 16:32:48 +01:00
Michael Drake
cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00