Chris Young
673f3e6887
Fix some old and new GCC errors/warnings
2016-01-15 19:58:24 +00:00
Chris Young
b54a1fe4cb
Add missing menu image
2016-01-03 00:00:55 +00:00
Chris Young
0feb291c2e
Add F8/F9/F10 as shortcuts to the scale functionality
2015-11-15 14:07:25 +00:00
Chris Young
125f131714
Forcibly enable cut/copy/paste menu items until such a time as I can figure out why they are disabling at the wrong times.
2015-11-06 19:38:24 +00:00
Chris Young
de75959362
Create menus on OS3 and 4 the same way (manual GadTools method).
...
This makes it easier to switch to menuclass.
It also fixes a crash-on-exit bug on OS3.
2015-09-06 09:06:20 +01:00
Chris Young
944248ce32
Rough outline for Intuition-based context menu
2015-09-03 00:24:04 +01:00
Chris Young
06221c2340
Fix usage of ExAll with new SDK
...
Some of the defines it needs have moved to dos/obsolete.h
2015-09-01 18:06:45 +01:00
Chris Young
fea40a0a78
Restrict all menu icon code to OS4+gadtools53.7
...
This avoids requests for TBimages: on OS3
2015-08-17 18:15:29 +01:00
Chris Young
87ebe66880
Check menuobj before we dispose it
2015-08-16 22:51:32 +01:00
Chris Young
3b9a913125
Permanently enable display of the "enable javascript" UI options
2015-08-09 14:22:29 +01:00
Chris Young
fcadb1f6f8
Space ARexx menu items correctly.
2015-06-21 19:24:46 +01:00
Chris Young
57ca8bbd21
Require gadtools 53.7
...
OS4.1u6 does not cope well with image menus, so insist on a component in FE to ensure the layouting is sane and menu creation is fast.
2015-06-20 18:09:44 +01:00
Chris Young
3db1e7381a
Prettify pull-down (not context) menu.
2015-06-16 19:36:09 +01:00
Chris Young
d8ce401591
Remove some workarounds to make image menus conform better on OS4.1u6. They never quite matched normal menus so are going to look odd when we add more images anyway.
2015-06-16 18:44:52 +01:00
Witold Filipczyk
befa5e6ed3
To avoid namespace conflicts with ncurses add NetSurf key prefix.
...
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Chris Young
68c6ba3a70
fix OS3 build, avoid forward declarations
2015-02-23 23:16:34 +00:00
Chris Young
ce060f3c13
Convert menu.c to use macros for hook functions
2015-02-23 23:07:52 +00:00
Chris Young
2ad93ed773
NewLook menus
2015-02-01 10:58:31 +00:00
Chris Young
e5b6dac87c
Fix OS3 build
...
Fix font cache on OS3
2015-01-29 19:31:47 +00:00
Chris Young
0e3cbbb67b
Don't schedule our own redraw after a reformat, as this is performed anyway.
...
Attempt to get menus working on OS3 build.
2015-01-29 19:18:49 +00:00
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