Vincent Sanders
becd3863c4
Update framebuffer frontend to use invalidate window area API
2017-04-23 20:42:37 +01:00
Vincent Sanders
6177e2930b
Update monkey frontend to use invalidate window area API
2017-04-23 20:42:37 +01:00
Vincent Sanders
b61c21c7d0
Update windows frontend to use invalidate window area API
2017-04-23 12:05:30 +01:00
Vincent Sanders
d930da3899
update gtk frontend with invalidate window API change
2017-04-23 12:05:30 +01:00
Vincent Sanders
b102950650
update atari frontend for invalidate window API change
2017-04-23 12:05:30 +01:00
Vincent Sanders
6833f526f6
update amiga frontend invalidate window API change
2017-04-19 16:32:21 +01:00
Vincent Sanders
febbdec345
update riscos frontend to invalidate window API
2017-04-19 16:27:14 +01:00
Chris Young
7e0ed132f7
Adjust the requested class versions to be the minimum required.
...
Some features of later versions are used but are either restricted to OS4 only, or runtime version checks select the appropriate routines.
Where the lowest required version cannot be determined, the version provided in the ClassAct 3.3 archive is requested.
Bugs may mean these older classes do not work as expected.
In addition, restrict the opening of listbrowser.gadget and the custom Stringview class to OS4 only.
2017-04-16 17:49:27 +01:00
Michael Drake
2c8a47b7d4
GTK: Slight optimisation to nsfont_split().
...
When we aren't modifying the line, pango_layout_get_line_readonly()
is a faster alternative to pango_layout_get_line().
2017-04-11 16:32:03 +01:00
Michael Drake
90100bbd45
GTK: Font rendering: Use same pango layout for painting as for measuring.
...
With this change we are consistent about how the pango layout
we use is created.
Now it always comes from a pango_layout_new() call on a pango context
that comes from gdk_pango_context_get().
Previously the pango layout used for painting came from a call
to pango_cairo_create_layout(), which required a global called
"current_cr" (a cairo drawing context), which is only valid
during redraw (painting). Since it was only valid during
painting, this source could not be used for pango layout
creation for the measuring code.
2017-04-11 16:13:13 +01:00
Chris Young
3df40959e3
Allow for more varied notification backmsgs
2017-03-21 18:42:41 +00:00
Chris Young
cd39367ef4
Try to avoid extraneous progress notifications
2017-03-20 20:53:39 +00:00
Chris Young
ee88653dc0
Enable displaying download progress within a notification.
...
Requires Enhancer Pack (Ringhio 53.65+)
Defaults to 0 (off) as there is currently no check to see if this version is installed.
This is currently potentially dangerous to toggle whilst a download is in progress, so cannot be changed through the GUI.
2017-03-20 20:35:40 +00:00
Vincent Sanders
e182a4d67c
fix memory leak in beos instantiate error path
2017-03-05 14:43:23 +00:00
Vincent Sanders
e190cdf926
fix uninitialised variable usage in atari ssl viewer
...
cppcheck identified uninitialised variable usage error
2017-03-05 14:40:49 +00:00
Vincent Sanders
ca942e9e26
fix use of uninitialised variables in gtk print
...
fixes errors detected by coverity.
2017-03-04 14:23:06 +00:00
Vincent Sanders
30ccc06984
fix errors from cppcheck in amiga frontend
2017-03-03 19:34:11 +00:00
Vincent Sanders
7dee82d900
remove unused computed rectangle in gtk local hostory redraw
2017-02-26 16:26:50 +00:00
Vincent Sanders
86134d9881
add local history destruction for gtk
2017-02-26 16:26:50 +00:00
Chris Young
25f9610d03
Atari packaging was copying ca-bundle twice
2017-02-25 15:39:34 +00:00
Chris Young
7a42134bee
When switching to outline fonts on OS3 reset the fonts
...
TODO: make this change in the GUI when toggling
2017-02-25 00:16:49 +00:00
Chris Young
f162ddc711
Fix menu shortcuts on non-menuclass menus
2017-02-24 23:43:51 +00:00
Vincent Sanders
d9a2c7b9c1
fix some doxygen errors
2017-02-24 14:02:31 +00:00
Vincent Sanders
1820bb7e63
fix remaining doccomment errors
2017-02-22 08:30:58 +00:00
Vincent Sanders
d35f61caa3
fix merge error in windows frontend
2017-02-19 12:02:23 +00:00
Vincent Sanders
ae45b18b45
Merge branch 'vince/localhist-corewin'
2017-02-19 11:39:47 +00:00
Vincent Sanders
0f69965805
clean up some of the doxygen generation warnings
2017-02-19 11:32:17 +00:00
Vincent Sanders
67b22a8111
cleanup windows frontend documentation comments and spelling
2017-02-17 20:44:37 +00:00
Vincent Sanders
8ddb9df377
update gtk frontend to use corewindow local history
2017-02-17 09:06:32 +00:00
Vincent Sanders
9d0943b8e5
remove redundant global context
2017-02-15 08:37:52 +00:00
Vincent Sanders
6741b6e287
clean up incorrect documentation comments from plotter API rework
2017-02-14 23:06:04 +00:00
Chris Young
0c32cbb7cb
Try to ensure we get the correct type of native BitMap
2017-02-13 18:41:38 +00:00
Chris Young
184348dada
Remove direct_render, only ever used for debugging
2017-02-13 18:30:30 +00:00
Chris Young
76d1758d7f
Make gui_globals less... global
2017-02-13 18:27:37 +00:00
Chris Young
e38f4d2f1a
Get render bitmap size via function
2017-02-13 18:16:22 +00:00
Chris Young
593ec1fbea
Manage shared pens internally unless we need multiple lists (eg. per browser_window)
2017-02-13 18:09:43 +00:00
Chris Young
075e9c0258
Alloc gui_global structure when initialising
2017-02-13 17:46:20 +00:00
Chris Young
edaa9c29f2
Remove use of global context data from Amiga frontend
2017-02-13 00:18:32 +00:00
Vincent Sanders
7b9fa8d7eb
fix plotter merge
2017-02-12 20:31:18 +00:00
Vincent Sanders
1666944c7e
Merge branch 'vince/plotctx'
2017-02-12 20:01:05 +00:00
Vincent Sanders
513366a7a2
update beos to new plotter API
2017-02-12 19:56:09 +00:00
Vincent Sanders
4361bfeace
update atari plotters to new API
2017-02-12 18:01:46 +00:00
Michael Drake
703fd10400
RISC OS: Initialise nsfont before hotlist.
...
This should allow the treeview to measure the width of label text.
2017-02-12 10:18:02 +00:00
Chris Young
7bc4f46df1
Fix OS3 build
2017-02-11 16:28:49 +00:00
Vincent Sanders
a3a7cbf06a
update amiga plot API
2017-02-11 13:57:07 +00:00
Vincent Sanders
320c0e1a75
update windows plotters to new API
2017-02-11 13:57:07 +00:00
Vincent Sanders
386951ecfc
update framebuffer to new plotter API
2017-02-11 13:57:07 +00:00
Vincent Sanders
0f43b23270
update monkey plotters to new API
2017-02-11 13:57:07 +00:00
Vincent Sanders
3ea137ca3d
update RISC OS plotters to new API
2017-02-11 13:57:07 +00:00
Vincent Sanders
78d601eb76
Update GTK plotters to use new API
2017-02-11 13:57:07 +00:00
Daniel Silverstone
10f1b7a1aa
Fix up GTK+ hotlist finalisation to clean up properly
2017-02-05 10:43:58 +00:00
Vincent Sanders
b23f55c81b
fix warnings and errors in atari frontend
2017-01-21 16:49:14 +00:00
Vincent Sanders
6075feb487
create netsurf inttypes header to have portable integer formatting macros
2017-01-21 14:20:55 +00:00
Vincent Sanders
11f11e0a7f
add missing utils header for NOF_ELEMENTS macro
2017-01-19 22:19:46 +00:00
Vincent Sanders
10248264ff
fixup cocoa form select menu includes to get rect type definition
2017-01-19 21:31:12 +00:00
Vincent Sanders
d1246c2061
add missing include of inttypes to atari cookies viewer
2017-01-19 21:30:43 +00:00
Vincent Sanders
70d700b26c
rationalise use of utils/utils.h header
2017-01-19 21:15:08 +00:00
Chris Young
a99c7a5c44
remove silly debug
2017-01-16 22:28:02 +00:00
Chris Young
2083375ec4
Perform dynamic update of Hotlist menu when using MenuClass menus
...
Currently updates on closing the Hotlist window, but could be persuaded to update on every hotlist drag if deemed necessary.
2017-01-16 22:24:05 +00:00
Chris Young
d871be3ea0
Update documentaton
2017-01-15 20:15:10 +00:00
Chris Young
d843f78c20
disable dynamic hotlist menu update
...
menuclass doesn't appear to be working as advertised
2017-01-15 20:11:31 +00:00
Chris Young
9e814fd0f0
minor menu fixes
2017-01-15 20:01:49 +00:00
Chris Young
b78d6f458e
Attempt hotlist menu refresh
2017-01-15 17:51:55 +00:00
Chris Young
b8640956d4
Ignore the other check toggle stuff with menuclass
...
The one thing we are toggling is actioned immediately when potentially changing the state in the prefs window
2017-01-15 16:13:32 +00:00
Chris Young
8e7603e6a2
Update JS menu check state when prefs option is toggled
2017-01-15 16:10:23 +00:00
Chris Young
606cc0c219
Split up menu.c into generic and gui_window-specific files
2017-01-15 16:05:07 +00:00
Chris Young
52f98c9fb2
Share menuclass object with all browser windows
2017-01-15 14:55:15 +00:00
Chris Young
24fed9d51c
Remove excess logging and fix user-added hotlist separator bars
2017-01-15 00:22:37 +00:00
Chris Young
b6f7ea536c
Fix MenuClass menu creation
2017-01-14 23:47:00 +00:00
Chris Young
e4d6d9a972
Get selected state with MenuClass compatible abstraction
2017-01-14 21:04:51 +00:00
Chris Young
313aaabdde
Replace OnMenu/OffMenu with MenuClass compatible abstraction
2017-01-14 20:51:51 +00:00
Chris Young
9f10babe64
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/menuclass
2017-01-14 19:58:54 +00:00
Vincent Sanders
7dab7cb43d
move plot style header to netsurf include directory
...
move plotter style header and adjust all callers to use only what they
actually require.
2017-01-13 10:03:24 +00:00
Chris Young
0d9023148d
Our hook function needs to be in UserData, not PickHook, for window.class reasons.
2017-01-12 18:46:48 +00:00
Chris Young
8ffc2e753b
Avoid accessing NULL pointer
2017-01-12 18:32:06 +00:00
Daniel Silverstone
9e03737627
Dave Higton's fix for 'tree' windows not being movable off-screen
2017-01-10 11:23:24 +00:00
Chris Young
439deddba1
Attempt to construct menu using menuclass
2017-01-09 19:06:09 +00:00
Chris Young
4fab8f830b
Queue redraws for SimpleRefresh browser windows
2017-01-08 23:10:27 +00:00
Chris Young
c19ea4deaa
Support SimpleRefresh corewindows
...
These queue redraws unlike the main browser window, which seems to work a bit better than redrawing immediately.
2017-01-08 13:59:51 +00:00
Chris Young
05e4463230
Update corewindow scrollbars when user resizes window
2017-01-08 13:21:32 +00:00
Chris Young
074afb43f4
Process in-window scrollbars using IDCMPUPDATE too
2017-01-08 01:55:45 +00:00
Chris Young
3436c097d2
Ensure we free the NM_END menu item
2017-01-08 01:29:50 +00:00
Chris Young
bf3ba5c97b
Complete Amiga corewindow implementation and migration from old treeviews
...
Merge branch 'chris/amiga-corewindow'
2017-01-08 01:09:41 +00:00
Chris Young
ae8959fa8b
Remove old tree implementation
2017-01-08 00:40:40 +00:00
Chris Young
d885c79743
remove excessive logging
2017-01-08 00:34:06 +00:00
Chris Young
22e25971ed
Working internal and tree-to-browser drags
...
tree-to-tree drags don't work unless the source supports internal drag moves (so global history to hotlist won't work as it did before)
2017-01-08 00:29:49 +00:00
Chris Young
0f58d92ab6
Dragging works internally
...
(except it doesn't, as the hotlist window is broken and doesn't respond to the mouse until selecting random menu items)
2017-01-07 18:00:48 +00:00
Chris Young
83840dca49
Possibly slightly less but still definitely broken drag handling
2017-01-07 17:43:45 +00:00
Vincent Sanders
d1693c27c0
fix windows installer generation
...
the windows installer package generation was not correctly
parameterised which resulted in fetching resources from incorrect
locations. Additionally the clean target was not removing generated
installer output.
2017-01-07 13:28:40 +00:00
Vincent Sanders
9be0f4ccaf
fixup usage of directory creation macro in Makefiles
2017-01-07 13:21:25 +00:00
Chris Young
a4bedbbaeb
Broken corewindow drag implementation
2017-01-07 00:26:15 +00:00
Chris Young
917a602dce
Conversion of Amiga hotlist manager to corewindow
2017-01-06 23:56:52 +00:00
Chris Young
a86f2c8dd3
Migrate global history to corewindow
2017-01-06 18:27:09 +00:00
Chris Young
e98a05bb08
Complete cookie manager corewindow interface
2017-01-05 18:50:38 +00:00
Chris Young
6e957396a9
fix some ui corruption on scrollbar hide
2017-01-03 20:14:41 +00:00
Chris Young
d6f6326ce9
it's not a double-click if the mouse has moved
2017-01-03 20:01:58 +00:00
Chris Young
26b98ac51b
template for menu addition in cookie manager
2017-01-03 19:43:55 +00:00
Chris Young
57a2bb8599
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/amiga-corewindow
2017-01-03 19:29:04 +00:00
Chris Young
695783e33b
re-structure menu code to make it useable elsewhere in the frontend
2017-01-03 19:27:40 +00:00
Chris Young
2e11f7f3cb
less cranky scrollbars
2017-01-03 18:03:43 +00:00