Commit Graph

1914 Commits

Author SHA1 Message Date
Michael Drake
283fb36339 Treeview: Update treeview walker to handle walking the filtered display. 2017-09-18 23:18:44 +01:00
Michael Drake
f142b3684c Treeview: Track height of display in search view. 2017-09-18 23:18:44 +01:00
Michael Drake
45a7e6269b Treeview: Slight simplification of treeview_walk_internal(). 2017-09-18 23:18:44 +01:00
Michael Drake
0a0ad71bdb Treeview: Fix function namespace. 2017-09-18 23:18:44 +01:00
Michael Drake
db6b3441c4 Treeview: Scroll to top when treeview search bar is modified. 2017-09-18 23:18:44 +01:00
Vincent Sanders
8afeffedad fix warning due to undefined bitmap structure 2017-09-11 16:44:46 +01:00
Vincent Sanders
d2d5ef276b annotate error case fall through in switch to supress warnings 2017-09-11 16:43:25 +01:00
Vincent Sanders
8fb2fc6fc3 rationalise history icon bitmap handling to ensure correct lifetime 2017-09-10 16:06:38 +01:00
Michael Drake
c20ad21273 Treeview: Add support for rendering search filter matches as-you-type. 2017-09-10 15:53:15 +01:00
Michael Drake
c478f35c81 Treeview: Split tree-style treeview rendering out into helper. 2017-09-10 15:53:15 +01:00
Michael Drake
f41f7486ba Treeview: Add node matching to search text modification callback. 2017-09-10 15:53:15 +01:00
Michael Drake
d627b930f2 Treeview: API: Allow treeview fields to be flagged searchable. 2017-09-10 15:53:15 +01:00
Michael Drake
50688cde51 Treeview: Improve some code wrapping. 2017-09-10 15:53:15 +01:00
Michael Drake
37127c4a52 Treeview: Ensure window extents take account of search bar presence. 2017-09-10 15:53:15 +01:00
Michael Drake
43cdd74221 Treeview: Add keypress handling to the search bar. 2017-09-10 15:53:15 +01:00
Michael Drake
3a02a4ea48 Treeview: Handle mouse clicks on search bar. 2017-09-10 15:53:15 +01:00
Michael Drake
adbcb7f1b9 Treeview: Update treeview mouse handling to offset for search bar presence. 2017-09-10 15:53:15 +01:00
Michael Drake
f877069399 Treeview: Add search bar rendering to redraw function. 2017-09-10 15:53:15 +01:00
Michael Drake
3d2adf4330 Treeview: Create and destroy a textarea for search. 2017-09-10 15:53:15 +01:00
Michael Drake
1420d01a21 Treeview: Add search drag type to enumeration. 2017-09-10 15:53:15 +01:00
Michael Drake
521651ea51 Treeview: API: Add searchable flag for treeview creation. 2017-09-10 15:53:15 +01:00
Vincent Sanders
ec94d5f812 move history bitmap thumbnail into the page information structure 2017-09-10 10:31:06 +01:00
Michael Drake
02a8b5bca0 Treeview: Split out textarea construction helper. 2017-09-09 14:38:49 +01:00
Daniel Silverstone
bb056e55b1 Sort out the logging so that -v etc do the right thing 2017-09-08 21:15:54 +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
b35b3c1364 Search web: Ensure hlcache callbacks handle errorcode. 2017-08-28 12:10:27 +01:00
Michael Drake
7385f74141 Browser favicon: Handle errorcode in the hlcache callback. 2017-08-28 11:04:42 +01:00
Vincent Sanders
2b2bbbe765 fix resource leak on error in local history initialisation 2017-06-12 22:58:43 +01:00
Vincent Sanders
c4c2c22e87 remove depricated local history display API
Move local history display into separate module using corewindow
API. Note this is purely the rendering and teh browser history module
still constructs the history data.
2017-06-11 14:54:33 +01:00
Vincent Sanders
ee749f2b11 cleanup use of internal frames scrollbar widget header 2017-06-11 11:46:50 +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
1d31402dcb Core local history: Remove debug background fill. 2017-06-10 12:05:23 +01:00
Michael Drake
56daba5878 Core local history: Make rendering behave like treeview.
This fixes behaviour now that both treeviews and local history can
be rendered through core window.
2017-06-10 11:50:53 +01:00
Michael Drake
368b03bffb Local history: Pass clip rectangle around as struct. 2017-06-10 11:15:20 +01:00
Michael Drake
283d921f34 Core local history: We always clip, so don't need to handle condition. 2017-06-10 10:44:33 +01:00
Michael Drake
5225ca2b90 Core local history: Remove unused redraw API. 2017-06-10 10:40:43 +01:00
Michael Drake
3b18d36b02 Local history: Render window background fill. 2017-06-09 21:58:16 +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
Vincent Sanders
f1fdd93ffd Add local history get url API 2017-05-28 21:56:33 +01:00
Vincent Sanders
ac732fb79d update invalidate area core window API
slightly extends the invalidate core window API with error return and
whole window invalidation. Also renames it to be more inline with
browser window API call.

cannot quite reuse browser window API yet as that applies scaling
2017-05-23 09:41:29 +01:00
Michael Drake
ad3da6c139 Core hotlist: Improve hotlist_init documentation. 2017-04-28 12:09:58 +01:00
Michael Drake
06baaa9f7c Core hotlist: A NULL save_path makes the hotlist read-only. 2017-04-28 12:02:48 +01:00
Vincent Sanders
87066f9f8d simplify the browser window operations by removing scroll API
The browser window scrollingAPI was duplicated in window operation
table, this simplifies it to a single set_scroll API.
2017-04-26 20:48:54 +01:00
Vincent Sanders
bd932d958b remove reformat from browser window operation table
the reformat callback was completely unecessary and implementations
appeared potentialy buggy. This rationalises the API and reduces the
number of operations a frontend must provide.
2017-04-26 09:43:18 +01:00
Michael Drake
31d98a1d2e Core hotlist: Ensure any hotlist save callback is removed on hotlist_fini. 2017-04-25 15:14:56 +01:00
Michael Drake
479c3fd0b5 Hotlist: Save hotlist modifications.
When URLs are added, or address entries are edited or deleted,
a hotlist save is scheduled to happen after 10 seconds, if there
isn't already a hotlist save scheduled.
2017-04-25 13:09:44 +01:00
Michael Drake
c47b9f465c Core hotlist API: Take save path at init, rather than fini. 2017-04-25 11:52:47 +01:00
Vincent Sanders
14bff8d023 replace redraw and update methods with invalidate in window table API 2017-04-19 16:23:08 +01:00
Vincent Sanders
93e2b4855b make mimesniffing use core strings 2017-03-19 15:00:21 +00:00
Vincent Sanders
0a8976156a split out browser window drag context into separate structure 2017-03-03 14:45:39 +00:00