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
John-Mark Bell
f824ab8af4
Port save complete to libdom.
2012-11-03 23:19:45 +00:00
Daniel Silverstone
180f7ff42c
Merge Vincent's Javascript work onto master
2012-11-03 15:13:43 +00:00
Rob Kendrick (monotony)
118b03a786
Add a macro to split and install messages files, and have gtk front end use it.
2012-11-03 11:16:33 +00:00
Daniel Silverstone
5631943e40
Ensure that we turn on JS sources if either of USE_JS or USE_MOZJS is triggered
2012-11-02 23:03:20 +00:00
Rob Kendrick (monotony)
de074a3ada
Deference symlinks when installing. This should be rewritten to use the install tool
2012-11-02 19:13:09 +00:00
Michael Drake
35eb251244
Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak.
2012-10-17 14:20:18 +01:00
Michael Drake
d88a839937
Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache.
2012-10-14 20:03:18 +01:00
Daniel Silverstone
fa660c24e8
Remove unnecessary libxml includes from GTK includes
2012-10-11 20:48:06 +01:00
Michael Drake
d9e7d58106
Fix up ripples from urldb change.
2012-10-11 11:20:02 +01:00
Vincent Sanders
5800789df2
trivial docuemntation cleanups to address some of the huge number of docuemntation warnings
2012-10-08 14:52:24 +01:00
Rob Kendrick (humdrum)
c2eff23c0d
Make GTK install target work again, and make copy flags consistent
2012-10-02 13:07:32 +01:00
Vincent Sanders
e237ebac8f
Split install and package targets.
...
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +01:00
Michael Drake
bc8fee46f7
Fix scaled tiled image rendering.
2012-08-22 22:29:18 +01:00
Michael Drake
4357f5e9d7
Test for zero width/height at the start.
2012-08-22 22:26:00 +01:00
Michael Drake
153c444454
Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
...
Frontends that have been updated to build:
framebuffer
gtk
monkey
riscos
TODO:
amiga
atari
beos
cocoa
windows
2012-08-22 12:22:58 +01:00
Michael Drake
1086fc5246
Change order of libs.
2012-08-21 14:17:11 +01:00
Michael Drake
634b8f642e
Don't need to set everything to zero since it's static
2012-08-20 23:05:09 +01:00
Michael Drake
b134279644
Allow the presence of form inputs to be obtained without knowledge of html content internals.
2012-08-20 22:02:37 +01:00
Michael Drake
f478ee4db7
Remove a bunch of unused includes.
2012-08-20 18:54:57 +01:00
Michael Drake
9202c137b2
Remove unused includes.
2012-08-20 16:08:06 +01:00
Michael Drake
8fc0eab89b
Use proper function for dumping box tree.
2012-08-20 16:06:51 +01:00
Michael Drake
971058cd67
Remove unused struct box.
2012-08-20 14:21:16 +01:00
Michael Drake
b51816c222
Clean up search gui callbacks.
2012-08-14 13:41:30 +01:00
Michael Drake
c8a83bf1b4
s/TRUE/true/
2012-08-13 14:51:24 +01:00
Michael Drake
d106091d6e
Pass font plot style out to front end clipboard append function.
2012-08-13 14:43:04 +01:00
Michael Drake
5747465437
Use selection_copy_to_clipboard instead of peering at core innards.
2012-08-02 14:38:47 +01:00
Michael Drake
02561162a9
Add welcome page resources. Add symlinks to English welcome page to gtk and framebuffer.
2012-07-21 13:09:14 +01:00
Vincent Sanders
804bec4f99
make non js builds compile
...
make js support compile with older debian/ubuntu packaging
svn path=/trunk/netsurf/; revision=13990
2012-06-27 23:17:18 +00:00
Vincent Sanders
4c89c9d5df
improve javascript support
...
svn path=/trunk/netsurf/; revision=13962
2012-06-10 22:17:30 +00:00
Vincent Sanders
feb37dd067
cleanup debug logging
...
svn path=/trunk/netsurf/; revision=13961
2012-06-10 14:53:52 +00:00
Vincent Sanders
d6fbe19acd
remove supurflous variable
...
svn path=/trunk/netsurf/; revision=13960
2012-06-10 14:53:25 +00:00
Vincent Sanders
bc664042c4
remove junk blank page resource
...
svn path=/trunk/netsurf/; revision=13959
2012-06-10 14:51:40 +00:00
Vincent Sanders
8ffc6439a7
fix build on gtk 2.12
...
svn path=/trunk/netsurf/; revision=13927
2012-05-17 16:48:20 +00:00
Vincent Sanders
2622adaa1f
allow netsurf to build with gtk3
...
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +00:00
François Revel
bae750ee44
Fix a crash when opening Preferences panel and Choices file doesn't exist:
...
- add missing strdup(),
- fix free() vs g_free() mixups.
svn path=/trunk/netsurf/; revision=13824
2012-04-07 18:32:11 +00:00
François Revel
4465c4f4af
Add Seeks < http://www.seeks-project.info/ > to the list of search engines. Use http for the favicon to avoid a cert popup.
...
svn path=/trunk/netsurf/; revision=13821
2012-04-07 17:14:31 +00:00
François Revel
c48042e0da
Implement gui_launch_url() for GTK.
...
svn path=/trunk/netsurf/; revision=13820
2012-04-07 12:56:02 +00:00
Michael Drake
ce20021df7
Fix colour string matching. Lose unneeded case insensitivity in matching.
...
svn path=/trunk/netsurf/; revision=13739
2012-03-27 11:02:35 +00:00
Michael Drake
eb189092c7
Constify param to gui_system_colour_char function.
...
svn path=/trunk/netsurf/; revision=13737
2012-03-27 10:47:29 +00:00
Daniel Silverstone
bf5459c18b
Include render/box.h
...
svn path=/trunk/netsurf/; revision=13667
2012-03-25 10:21:47 +00:00
Vincent Sanders
b21f85a072
initial move to libdom
...
svn path=/trunk/netsurf/; revision=13573
2012-03-23 23:18:04 +00:00
Vincent Sanders
1490b52a6b
NetSurf options rework (a=vince r=daniels,jmb)
...
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
John Mark Bell
9478f01828
Fix bug #3481624 : this was needlessly complex
...
svn path=/trunk/netsurf/; revision=13463
2012-02-23 21:22:37 +00:00
Vincent Sanders
ea0c028cac
fix favicon display
...
svn path=/trunk/netsurf/; revision=13460
2012-02-21 20:54:31 +00:00
Vincent Sanders
8e3e8f2ca1
remove unused scrolledwindow member
...
svn path=/trunk/netsurf/; revision=13452
2012-02-20 21:28:24 +00:00
John Mark Bell
26a1bb7718
Use S_IRWXU where appropriate
...
svn path=/trunk/netsurf/; revision=13439
2012-02-10 20:02:13 +00:00
John Mark Bell
6d8cb05732
Fix Debian bug #659376 : .netsurf must not be world readable
...
svn path=/trunk/netsurf/; revision=13438
2012-02-10 19:41:02 +00:00
Vincent Sanders
4dd1b4d80b
fix the popup menu entry signal attaching to attach the correct handler functions. as the prototype changes depending on signal type and we were using the non menu function prototype for menu entries.
...
svn path=/trunk/netsurf/; revision=13437
2012-02-08 02:45:03 +00:00
Michael Drake
6794af012e
Constify rect param to gui_window_drag_start.
...
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9
Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
...
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Michael Drake
31f221e84f
Remove search init function.
...
svn path=/trunk/netsurf/; revision=13391
2012-01-06 23:42:22 +00:00
Michael Drake
fc3de8814c
Search-as-you-type.
...
svn path=/trunk/netsurf/; revision=13385
2012-01-06 23:10:04 +00:00
Michael Drake
aac69e6478
s/s/S/
...
svn path=/trunk/netsurf/; revision=13366
2012-01-02 13:42:51 +00:00
John Mark Bell
f91dcf7308
Fix build with GTK <2.16
...
svn path=/trunk/netsurf/; revision=13364
2012-01-02 12:11:07 +00:00
Vincent Sanders
6ebaecccaf
Totaly prefunctry binding to spidermonkey
...
svn path=/trunk/netsurf/; revision=13360
2012-01-01 21:42:38 +00:00
Vincent Sanders
7124d96b1f
ensure favicon is correctly set
...
svn path=/trunk/netsurf/; revision=13358
2011-12-31 12:57:47 +00:00
Vincent Sanders
e0596793e1
load default favicon once
...
svn path=/trunk/netsurf/; revision=13357
2011-12-31 00:00:54 +00:00
Vincent Sanders
be20f89884
only use libsexy entry widget prior to gtk 2.16
...
svn path=/trunk/netsurf/; revision=13356
2011-12-30 23:22:18 +00:00
Vincent Sanders
df18a97143
Change GTK plotting to use cairo surfaces throughout
...
svn path=/trunk/netsurf/; revision=13354
2011-12-30 00:58:35 +00:00