Vincent Sanders
8b43b732bc
move gtk frontend to use new options API
2013-05-28 14:16:11 +01:00
Vincent Sanders
63d7247a9c
fix mismatched option name and variable names
...
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Vincent Sanders
a5355ec557
change all core and frontend options headers to new format
2013-05-28 14:16:10 +01:00
Vincent Sanders
e2957762ba
remove extraneous debug
2013-05-23 12:07:08 +01:00
Vincent Sanders
35dacc3671
move the logging initialisation out to be call by frontends
...
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Michael Drake
7ee2573f17
Convert image format to core format, when the core requests it.
2013-05-20 13:07:40 +01:00
Michael Drake
631265ef6b
Front ends have no reason to include desktop/selection.h now.
2013-05-10 12:16:05 +01:00
Michael Drake
9644d0594c
Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now.
2013-05-10 11:54:26 +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
Vincent Sanders
47783096e8
fix cookies and bookmarks windows on gtk3
2013-05-04 20:42:00 +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
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
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
Vincent Sanders
ad74fa4d6f
fix scrolling on gtk3
2013-04-17 14:16:45 +01:00
Vincent Sanders
69a26c50a3
add translation tokens for GTK preferences dialog
2013-04-17 12:02:53 +01:00
Vincent Sanders
d6f9ae3793
attach scrollbar and layout to the same adjustment so it need not be done in code
2013-04-17 12:02:53 +01:00
Vincent Sanders
fc9097fb1f
provide gettext hooks to use the netsurf localisation system
...
This means the internal message system is used for gettext calls from
gtk libraries.
2013-04-14 11:27:42 +01:00
Vincent Sanders
38d0a299df
remove unecissary glib internationalisation include
2013-04-14 11:27:42 +01:00
Vincent Sanders
bf75ba31ac
update gtk3 preferences dialog
2013-04-14 11:27:41 +01:00
Daniel Silverstone (parasomnia chroot)
78149141f9
all-program now splits fatmessages for generic in-tree execution
2013-04-10 23:24:49 +01:00
Michael Drake
037beb44fb
Pass caret clip rect out to front ends. (Nothing actually using them yet.)
2013-03-05 22:54:51 +00:00
Michael Drake
c2a718075a
A load of refactoring of how content selection and input work.
...
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Vincent Sanders
529ca251fc
rename flags for browser_window routines to be shorter
2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d
change browser_window_create and refactor all callsites
2013-02-18 11:23:48 +00:00
Vincent Sanders
3bfb5b96a7
browser_window_navigate refactor
2013-02-18 11:23:27 +00:00
Michael Drake
0c0e988ea5
Pass double and triple clicks to the browser window.
2013-02-12 13:20:36 +00:00
Michael Drake
7af0614202
Make delete line key enum value name less missleading. (Doesn't cut to clipboard.)
2013-02-11 10:34:06 +00:00
Michael Drake
4843658742
Don't need to break on space any more. This gives us unicode line breaking from pango.
2013-02-10 18:23:34 +00:00
Michael Drake
d899ebb5fa
Pass correct mouse button for button 2.
2013-01-16 11:54:30 +00:00
Michael Drake
e2e7aa135c
Update GTK front end to implement new clipboard API.
2013-01-08 17:02:27 +00:00
Michael Drake
8314101ada
Pass various control keys to core for clipboard control, etc.
2013-01-08 12:07:56 +00:00
Vincent Sanders
33934e1271
implement the GTK preferances dialog with signals
2013-01-01 00:59:47 +00:00
Vincent Sanders
f12be4ed85
restructure GTK frontend options dialog to be compiant with the gnome HIG and actually work
2012-12-28 01:08:23 +00:00
Vincent Sanders
0402b5ca91
fixup combo boxes to have content, missed in conversion from glade
2012-12-26 17:47:41 +00:00
Vincent Sanders
484fa8b110
move common include path setup to core Makefile
2012-12-20 15:27:07 +00:00
Vincent Sanders
c87cbe5655
split target defaults out
2012-12-13 19:26:24 +00:00
Vincent Sanders
16d67095a6
add pkg-config macro for libraries which are not controled by configuration
2012-12-13 17:23:47 +00:00
Vincent Sanders
45906b9dc2
make macro name more correct
2012-12-13 16:31:05 +00:00
John-Mark Bell
617d655c7b
Remove libxml
2012-11-10 00:11:57 +00:00
Anthony J. Bentley
4c82afa287
Fix GNUisms to make things more portable.
...
On OpenBSD, install does not take a -v flag, and tar does not default to
stdin/stdout.
2012-11-07 08:43:28 +00:00
Vincent Sanders
f16d560f6f
add math library to link
2012-11-05 17:20:33 +00:00
John-Mark Bell
07a53f4b44
Appease ancient "install" by removing -C
2012-11-05 09:08:52 +00:00
John-Mark Bell
925a830f9e
Make step adjustment work on GTK 2.12
2012-11-05 08:59:29 +00:00
Rob Kendrick (fatigue)
ba2a0fd723
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2012-11-04 11:20:31 +00:00
Rob Kendrick (fatigue)
abb1251461
Try to rationalise the gtk install target somewhat
2012-11-04 11:17:41 +00:00
Daniel Silverstone
3675f38cc3
Force GtkAdjustments to have a step -- this is a bodge but makes scrollwheels work again
2012-11-04 11:06:08 +00:00