Commit Graph

274 Commits

Author SHA1 Message Date
Chris Young
d2534e0e74 Button disable state updates should now work correctly on OS3 2017-09-26 23:36:56 +01:00
Chris Young
9eba271693 OS3 was not checking the GA_Disabled tag value 2017-09-26 23:33:51 +01:00
Chris Young
8e697d335a Fix attribute 2017-09-24 23:33:04 +01:00
Vincent Sanders
8fb2fc6fc3 rationalise history icon bitmap handling to ensure correct lifetime 2017-09-10 16:06:38 +01:00
Daniel Silverstone
8123e65351 Finalise nslog layer properly in closedown 2017-09-10 14:22:05 +01:00
Vincent Sanders
5d6f189d8b Fixup everything the semantic patch missed 2017-09-07 18:12:09 +01:00
Vincent Sanders
b9bdc279f2 Update scheduler logging to use catagory 2017-09-07 15:30:08 +01:00
Vincent Sanders
b346790cf6 update plotter logging to use a catagory 2017-09-06 18:45:35 +01:00
Vincent Sanders
75018632a9 Use coccinelle to change logging macro calls in c files
for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done

@@ expression E; @@
-LOG(E);
+NSLOG(netsurf, INFO, E);
@@ expression E, E1; @@
-LOG(E, E1);
+NSLOG(netsurf, INFO, E, E1);
@@ expression E, E1, E2; @@
-LOG(E, E1, E2);
+NSLOG(netsurf, INFO, E, E1, E2);
@@ expression E, E1, E2, E3; @@
-LOG(E, E1, E2, E3);
+NSLOG(netsurf, INFO, E, E1, E2, E3);
@@ expression E, E1, E2, E3, E4; @@
-LOG(E, E1, E2, E3, E4);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4);
@@ expression E, E1, E2, E3, E4, E5; @@
-LOG(E, E1, E2, E3, E4, E5);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5);
@@ expression E, E1, E2, E3, E4, E5, E6; @@
-LOG(E, E1, E2, E3, E4, E5, E6);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6);
@@ expression E, E1, E2, E3, E4, E5, E6, E7; @@
-LOG(E, E1, E2, E3, E4, E5, E6, E7);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
2017-09-06 18:45:27 +01:00
Michael Drake
d70beb28db Content API: Make content_broadcast take pointer to content_msg_data. 2017-08-26 15:50:03 +01:00
Chris Young
83b0dd2409 Don't double-convert string 2017-06-28 18:58:53 +01:00
Vincent Sanders
ee749f2b11 cleanup use of internal frames scrollbar widget header 2017-06-11 11:46:50 +01:00
Chris Young
40951d5294 Use the correct function to get the URL at position
Hint popup still broken though :(
2017-06-10 22:37:43 +01:00
Chris Young
6511e9f9e0 Migrate Amiga local history to corewindow 2017-06-10 22:21:46 +01:00
Vincent Sanders
653ccb78a9 Split local history data from viewer in headers
This separates the local history data object API from the viewing
API. It also changes the api to return nsurl references instead of
strings.
2017-06-10 18:37:21 +01:00
Michael Drake
92ecc77768 Core window: Ensure all front ends initialise drag_status. 2017-06-10 18:10:07 +01:00
Michael Drake
368b03bffb Local history: Pass clip rectangle around as struct. 2017-06-10 11:15:20 +01:00
Vincent Sanders
703427a486 Update documentation removing junk and moving to markdown for most text files 2017-06-09 17:30:00 +01:00
Chris Young
a8348f3bc9 Free the structure with the correct function call 2017-06-08 19:57:18 +01:00
Chris Young
103f99c210 Correct alignment (thx Jaime Cagigal) 2017-06-07 18:27:39 +01:00
Vincent Sanders
6f2670ec42 update amiga corewindow implementation for changed API 2017-05-23 09:44:17 +01:00
Vincent Sanders
66602e6327 fixup errors introduced in set_scroll API change 2017-04-26 22:48:00 +01:00
Vincent Sanders
cbc60a906a update amiga frontend to new set_scroll API 2017-04-26 22:22:03 +01:00
Vincent Sanders
1e197432f8 update amiga frontend to remove reformat API 2017-04-26 09:59:08 +01:00
Michael Drake
a44a0875a7 Amiga: Update for core hotlist API change. 2017-04-25 11:57:46 +01:00
Vincent Sanders
6833f526f6 update amiga frontend invalidate window API change 2017-04-19 16:32:21 +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
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
30ccc06984 fix errors from cppcheck in amiga frontend 2017-03-03 19:34:11 +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
0f69965805 clean up some of the doxygen generation warnings 2017-02-19 11:32:17 +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
1666944c7e Merge branch 'vince/plotctx' 2017-02-12 20:01:05 +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
6075feb487 create netsurf inttypes header to have portable integer formatting macros 2017-01-21 14:20:55 +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