Commit Graph

8973 Commits

Author SHA1 Message Date
Michael Drake
a0fde060e8 Merge branch 'tlsa/selection-search-refactor' 2013-05-07 15:06:33 +01:00
Michael Drake
8b6665fe03 Merge branch 'master' of git://git.netsurf-browser.org/netsurf into tlsa/selection-search-refactor 2013-05-07 14:56:42 +01:00
Michael Drake
3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Vivek Dasmohapatra
f4af0d86e2 import messages from other formats into a fatmessages file 2013-05-06 14:33:33 +01:00
Vincent Sanders
04c486ab54 perl script to fetch translated resources from transifex 2013-05-06 14:31:56 +01:00
Vincent Sanders
21e7654902 make javascript library loading automatic if a pkg-config can be found 2013-05-05 10:24:22 +01:00
Vincent Sanders
63bef862fb updates for git repo renames 2013-05-05 10:19:27 +01:00
Vincent Sanders
47783096e8 fix cookies and bookmarks windows on gtk3 2013-05-04 20:42:00 +01:00
Vincent Sanders
ca1a468aa8 fix dumb comparison error 2013-05-04 20:22:33 +01:00
Vincent Sanders
85030ea2de Fix mouse wheel scrolling on gtk3 by implementing the smooth scroll direction
Fix mouse wheel scrolling on gtk2 by setting a reasonable default step
2013-05-04 19:42:01 +01:00
Vincent Sanders
30b1fc1dbd add assert to ensure API contract is met 2013-05-04 17:01:00 +01:00
Vincent Sanders
7e2a93bb72 ensure correct cleanup of user list sentinal in content clone 2013-05-04 16:50:59 +01:00
Vincent Sanders
c3530a0c39 make filepath_findfile() rely on realpath allocating the output buffer. 2013-05-04 16:42:00 +01:00
Vincent Sanders
52c5cccdeb cleanup tree_create_leaf_node text ownership 2013-05-04 09:49:11 +01:00
Vincent Sanders
926be456b4 check the return codes from css increment and reset 2013-05-04 08:59:55 +01:00
Vincent Sanders
848f3d13ca ensure parameter contract is met 2013-05-04 08:52:12 +01:00
Vincent Sanders
560faaa7be free memory on error condition 2013-05-04 08:45:04 +01:00
Vincent Sanders
5c57a30047 cleanup title string ownership madness in the tree_create_folder_node() API 2013-05-03 21:17:11 +01:00
Vincent Sanders
6c7ca26bdc FatMessages had strings in latin1 encoding now converted to utf-8 2013-05-03 14:45:08 +01:00
Vincent Sanders
f889f0ccbf fix leak in error path 2013-05-03 14:31:23 +01:00
Michael Drake
0647d69a8b Merge branch 'master' of git://git.netsurf-browser.org/netsurf into tlsa/selection-search-refactor 2013-05-03 13:30:44 +01:00
Vivek Dasmohapatra
4c4dff3384 Improvements to generated output 2013-05-02 23:08:18 +01:00
Michael Drake
1f6744f26b Styleguide formatting. 2013-05-02 09:34:01 +01:00
Michael Drake
a3394aa77f Put comments for exported functions in header. 2013-05-02 09:34:01 +01:00
Michael Drake
50d7a2288c Remove redundant read-only test function. 2013-05-02 09:34:01 +01:00
Michael Drake
6b178fb3fe HTML selections are always read-only now. 2013-05-02 09:34:01 +01:00
Michael Drake
e92dd5bf6a Remove dead stuff from the selection_ api surface. 2013-05-02 09:34:01 +01:00
Vincent Sanders
98369b74e2 fixup message splitting with updated tool 2013-05-02 09:24:18 +01:00
Vincent Sanders
2f03a0bfaf fix use after free on error path 2013-05-01 22:32:28 +01:00
Vincent Sanders
82e2fc57d7 free memory on error path 2013-05-01 22:15:24 +01:00
Vincent Sanders
25e6563e61 remove dead store 2013-05-01 22:07:29 +01:00
Vivek Dasmohapatra
820767e417 Improve the message split script to allow alternate output formats 2013-05-01 11:45:09 +01:00
Vincent Sanders
32eaf611b4 fix theme adding dialog 2013-04-29 16:02:20 +01:00
Michael Drake
ef363460f1 Remove another unused inuclude of render/textplain.h. 2013-04-29 14:58:10 +01:00
Michael Drake
2cb4a11d1d Remove unused #includes. 2013-04-29 14:55:20 +01:00
Michael Drake
6784e90a3a Remove unused selection_get_{start|end} APIs and their helper function. 2013-04-29 14:47:06 +01:00
Michael Drake
a4a3bcd979 Update comments. 2013-04-29 14:00:36 +01:00
Michael Drake
a467363d5e Remove block of code that have been commented out for years. 2013-04-29 13:41:27 +01:00
Vincent Sanders
1dd8601e3f Ensure split messages are cleaned up 2013-04-28 22:09:03 +01:00
Vincent Sanders
8df67ca801 Ensure default C language is installed 2013-04-28 22:06:30 +01:00
Vincent Sanders
d2ffd402b3 add fallback language 2013-04-28 21:55:49 +01:00
Chris Young
8c7eea4b62 Allocate the off-screen BitMap as a friend of the screen BitMap in the increasingly diminishing number of cases where this works correctly. This should stop NetSurf using memory on the wrong graphics card when two are installed. 2013-04-28 12:21:39 +01:00
Chris Young
e4f11d1b74 Fix a potential crash when plotting glyphs 2013-04-28 11:53:37 +01:00
Ole Loots
9641837022 Removed files added by mistake. 2013-04-25 23:06:59 +02:00
Chris Young
aeba307180 Fix upgrades from 2.9 to 3.0 2013-04-25 18:32:32 +01:00
Chris Young
c83878ff0d Increase AmigaOS revision number 2013-04-23 19:50:57 +01:00
Michael Drake
d399f565ed Fix abort of page render on failed content_redraw of background image. 2013-04-23 18:34:46 +01:00
Daniel Silverstone
5e774272cd Bump version.c to 3.1 2013-04-20 14:58:17 +01:00
Daniel Silverstone
72d2bb3371 Merge release in, but do not change version.c 2013-04-20 14:56:48 +01:00
Vincent Sanders
3234d06ded add attributes file to stop .gitignore being exported 2013-04-19 21:27:45 +01:00