Rob Kendrick
1bd4a34a27
Remove asserts for default cases from all content message handlers; this is laborious and is no longer useful for catching bugs.
2014-01-05 14:39:08 +00:00
Vincent Sanders
5a408069c9
remove lcms dependancy as NetSurf does not directaly use it.
...
The dependancy probbaly comes from our historical use of libmng,
even then the libmng pkg-config should bring it in.
2014-01-04 16:13:10 +00:00
Vincent Sanders
f725c2dcde
check stat error return (coverity 1109835)
2013-11-27 22:21:59 +00:00
Vincent Sanders
47c17ad889
check return of chmod (coverity 1109836)
2013-11-27 22:09:21 +00:00
Michael Drake
3eb65bb54f
Fix Coverity #1129524 , resource leak.
2013-11-18 14:19:27 +00:00
Daniel Silverstone
4b3a7666dc
Use realpath and stuff file:// on the front of file arguments in GTK frontend
2013-11-17 15:07:09 +00:00
Vincent Sanders
8702eedf67
fix leak in error path (coverity 1109889)
2013-11-06 10:52:29 +00:00
Vincent Sanders
41bda017d1
fix error path resource handling in gtk browser window creation (coverity 1109888)
2013-11-03 16:30:34 +00:00
Vincent Sanders
5c3daf9013
fix memory leak in error path (coverity 1109889)
2013-11-03 15:00:40 +00:00
Vincent Sanders
401d1fd1a6
fix coverity 1109883
2013-10-31 23:17:14 +00:00
Vincent Sanders
9c707c8df0
fix coverity 1109891
2013-10-31 23:17:14 +00:00
Michael Drake
0f166ad6b0
Remove comment. Background only used with alpha channel when printing via Tinct on RISC OS.
2013-10-28 14:30:31 +00:00
Vincent Sanders
f29306cc9a
improve gtk source save to use gtk overwrite protection feature coverity 1109873
2013-10-25 21:25:56 +01:00
Vincent Sanders
2962faed63
fix gtk title setting to cope with null titles coverity 1109897
2013-10-25 15:44:52 +01:00
Vincent Sanders
88bd4e2ee2
fix resource leak coverity 1109883
2013-10-25 12:42:53 +01:00
Vincent Sanders
2e4c1cf950
fix resource leak coverity 1109884
2013-10-25 12:42:53 +01:00
Vincent Sanders
2cd2846122
fix coverity 1109906 uninitialised pointer read
2013-10-25 12:42:53 +01:00
Michael Drake
2d14f0bb2e
Fix Ctrl+Shift+Z.
2013-10-01 13:15:25 +01:00
Michael Drake
10b422b163
Pass KEY_UNDO and KEY_REDO to core. (Currently ignored.)
2013-09-30 21:37:31 +01:00
Michael Drake
f2b4a7a997
Port to new recursive expand/contract functions.
2013-09-03 12:36:55 +01:00
Michael Drake
cf8ffa412a
Remove old hotlist, cookies, and history_global_core modules.
...
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
e9f65ff9cb
Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions.
2013-09-02 18:57:43 +01:00
Michael Drake
4473f4b8a8
Remove tree icon_name globals from all the front ends.
2013-09-02 16:39:46 +01:00
Michael Drake
49c7994d05
Remove bulk of old treeview implementation.
2013-09-02 16:19:16 +01:00
Michael Drake
46e569c481
Use TREE_HOTLIST directly.
2013-09-02 14:42:53 +01:00
Michael Drake
9f35fd3fee
Use TREE_HISTORY directly.
2013-09-02 14:39:04 +01:00
Michael Drake
128fdbec43
Select TREE_COOKIES directly.
2013-09-02 14:33:53 +01:00
Michael Drake
5c7ca39ada
Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken.
2013-09-02 14:17:09 +01:00
Michael Drake
cb92b7d341
Cleanup mouse handling a bit.
2013-08-28 15:20:41 +01:00
Michael Drake
8b83456c02
Beginnings of new hotlist module, implemented with new treeview.
...
Currently it can only open, display and launch entries in an existing hotlist file.
TODO:
- Generate defualt hotlist when file not found.
- Add hotlist saving.
- Allow adding to hotlist.
- Allow hotlist editing.
- Allow hotlist nodes to be moved by dragging.
- Allow hotlist visit data to be updated.
2013-08-16 08:25:25 +01:00
Michael Drake
4a01ef9e7a
Avoid sslcert_get_tree_flags.
2013-08-13 13:48:53 +01:00
Michael Drake
eaae716989
Move old hotlist out of the way.
2013-08-13 12:41:04 +01:00
Michael Drake
d7f73d77bc
Use new ssl certificate viewer.
2013-08-12 11:43:41 +01:00
Michael Drake
68078d7ea7
Fix up for cookies_old rename.
2013-07-22 10:21:37 +01:00
Michael Drake
3f45e53539
s/history_core/local_history/
2013-07-10 11:55:42 +01:00
Vincent Sanders
a93e32de37
work round missing functionality
2013-06-28 13:20:05 +01:00
Vincent Sanders
2f280f16eb
completely rework scaffolding window destruction using gtkwidget destroy signals
2013-06-28 12:13:02 +01:00
Vincent Sanders
3d7f79683c
add new tab tab
2013-06-27 16:42:08 +01:00
Vincent Sanders
59dc293156
fix status/toolbar bottom split position and setting user option in gtk
2013-06-25 19:01:41 +01:00
Vincent Sanders
4e24869524
Add and use no proxy list option
2013-06-04 18:11:15 +01:00
Vincent Sanders
bccaa05fdb
add finalisation to options and document the API better
2013-06-01 16:09:39 +01:00
Michael Drake
b2aa0c129c
Remove 0.5px vertical displacement of text.
2013-05-31 15:12:40 +01:00
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
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
Michael Drake
67f2470d5a
Pass whether background images are wanted in redraw_context.
...
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
John Mark Bell
4e3a4448ec
Beginnings of a gstreamer binding. I've been sitting on this for too long
...
svn path=/trunk/netsurf/; revision=13248
2011-12-05 22:33:02 +00:00
John Mark Bell
f2993e6ed0
content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
...
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake
9a29f4b4fe
Call core to see if handles scroll wheel event first.
...
svn path=/trunk/netsurf/; revision=13199
2011-11-29 15:17:35 +00:00
Chris Young
24486e342a
Update frontends for r13185. Enabled new functionality, where it is not logical it
...
can be switched off.
svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Chris Young
085940711d
Add missing title
...
svn path=/trunk/netsurf/; revision=13058
2011-10-15 13:10:54 +00:00
Michael Drake
deae02c0e7
Remove unused variable.
...
svn path=/trunk/netsurf/; revision=13050
2011-10-14 20:57:24 +00:00
Daniel Silverstone
c7b2675eff
Ensure the GTK UI closes all its scaffoldings before exiting.
...
svn path=/trunk/netsurf/; revision=13019
2011-10-09 11:35:24 +00:00
Vincent Sanders
4c829ae481
use resource:favicon.ico instead of resource:favicon.png
...
svn path=/trunk/netsurf/; revision=12982
2011-10-07 21:03:45 +00:00
Vincent Sanders
33af42360f
fix ico handler to actually decode to bitmap when called via get_internal
...
svn path=/trunk/netsurf/; revision=12980
2011-10-07 19:39:52 +00:00
Vincent Sanders
52ad2c1e25
initial favicon support
...
svn path=/trunk/netsurf/; revision=12975
2011-10-06 23:31:55 +00:00
John Mark Bell
d5bb9d98e7
Build resource: map at start time
...
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate
svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
Michael Drake
36eff6da2b
Port more internals to nsurl. Front ends may need updating.
...
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
Vincent Sanders
cb27637a41
add option to set tab position
...
svn path=/trunk/netsurf/; revision=12896
2011-09-26 23:35:06 +00:00
Vincent Sanders
212358278c
clean up gtk tabs argument types to avoid uncessary casting
...
svn path=/trunk/netsurf/; revision=12888
2011-09-26 14:34:16 +00:00
Vincent Sanders
7334ec404e
reduce to a single global structure for glade file locations
...
svn path=/trunk/netsurf/; revision=12872
2011-09-24 09:24:13 +00:00
Vincent Sanders
14db3f7c70
make resource path discovery robust when no resources can be found
...
svn path=/trunk/netsurf/; revision=12860
2011-09-22 15:10:22 +00:00
John Mark Bell
f27d5a3e15
Remove gui_multitask
...
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Vincent Sanders
e82c5be653
remove deprecated GDK usage except for in libsexy
...
svn path=/trunk/netsurf/; revision=12803
2011-09-17 14:58:42 +00:00
Vincent Sanders
33df7bb9a0
ensure depricated interfaces are not used
...
svn path=/trunk/netsurf/; revision=12800
2011-09-16 11:09:58 +00:00
Michael Drake
9db586ed63
Port GTK front end's context menu handling to browser_window_get_contextual_content. (Can handle various things the old code couldn't (imagemaps, (i)frames).) Fix "Save Link" menu option to save the target of the link rather than the current content.
...
svn path=/trunk/netsurf/; revision=12756
2011-09-06 18:15:42 +00:00
Michael Drake
0401d52f51
Remove gui_window_frame_resize_start() functions.
...
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
34fe2531f2
Remove gui_window_get_browser_window from core. Remove unused implementations from front ends. Rename the GTK front end implementation to nsgtk_get_browser_window and change the GTK front end to use that.
...
svn path=/trunk/netsurf/; revision=12737
2011-09-05 13:28:17 +00:00
Michael Drake
1d5c6fd0ce
Delete unused function.
...
svn path=/trunk/netsurf/; revision=12731
2011-09-05 10:54:04 +00:00
Michael Drake
a7b886181b
Delete dead frames handling.
...
svn path=/trunk/netsurf/; revision=12730
2011-09-05 10:52:37 +00:00
John Mark Bell
0cc93c221b
Fix runtime warning
...
svn path=/trunk/netsurf/; revision=12717
2011-09-04 20:57:12 +00:00
Michael Drake
e1f20d37c5
Remove dead code.
...
svn path=/trunk/netsurf/; revision=12715
2011-09-04 19:00:18 +00:00
Michael Drake
5be6bd452d
Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
...
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
Vincent Sanders
cd554e6f1e
make image content handlers build conditional from teh makefile
...
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake
1bcfb7500b
Don't need to set current_redraw_browser any more.
...
svn path=/trunk/netsurf/; revision=12655
2011-08-24 13:35:27 +00:00
Michael Drake
48917cbb82
GTK changes for core search update (r12646).
...
svn path=/trunk/netsurf/; revision=12647
2011-08-24 12:31:27 +00:00
Vincent Sanders
0860ac499d
refactor to fix warning about out of range enums
...
split default image finding for toolbar and findbar
reorder to avoid forward declarations
refactor macros to be *slightly* less awful
svn path=/trunk/netsurf/; revision=12640
2011-08-13 22:02:36 +00:00
John Mark Bell
f75b0fca43
Fix motion event handling in GTK treeview
...
svn path=/trunk/netsurf/; revision=12622
2011-07-24 11:38:26 +00:00
Michael Drake
9c91893028
Fix selection for non-gui browser windows (iframes).
...
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.
svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
639e2dbfef
Fix up GTK for r12574 API change.
...
svn path=/trunk/netsurf/; revision=12580
2011-07-06 12:53:23 +00:00
Chris Young
4147c185c8
When launching multiple URLs from a treeview, allow to open one window with multiple
...
tabs instead of one window per URL. Make compatible frontends do this by default.
svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
2bedf4d88f
Frond ends signal end of drag with call to browser_window_mouse_track.
...
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Michael Drake
dea7683985
Remove gui_window_set_scale().
...
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef
If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
...
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Vincent Sanders
b9bdb198cb
compatability fix for recent gtk API deprecation
...
svn path=/trunk/netsurf/; revision=12469
2011-06-07 17:23:39 +00:00
Michael Drake
324e5bfce4
New window opens with homepage, rather than current page.
...
svn path=/trunk/netsurf/; revision=12457
2011-06-04 13:51:42 +00:00
John Mark Bell
b8fd68db1b
If you ask for a new tab, clone must be non-NULL
...
svn path=/trunk/netsurf/; revision=12422
2011-05-16 22:11:18 +00:00
Vincent Sanders
8be1e85e91
consolidate content redraw
...
more cleanups ready for image content refactor
svn path=/trunk/netsurf/; revision=12317
2011-05-08 19:54:35 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Vincent Sanders
e7f9e93cc6
make teh GTK frontend build on -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DPANGO_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_MULTIHEAD_SAFE
...
svn path=/trunk/netsurf/; revision=12138
2011-03-26 20:56:59 +00:00
Chris Young
7ec2cc7f8e
Update to use official libwebp 0.1
...
Remove libvpx references as no longer needed.
svn path=/trunk/netsurf/; revision=12115
2011-03-20 23:32:44 +00:00
Michael Drake
55afb9a64a
Comment out noisy nsfont_width logging.
...
svn path=/trunk/netsurf/; revision=12096
2011-03-17 14:12:39 +00:00
Michael Drake
a70c32422a
gui_find_resource --> gui_get_resource_url.
...
svn path=/trunk/netsurf/; revision=12089
2011-03-17 11:57:09 +00:00
Michael Drake
66f6e9eff5
Rename utils/resource to utils/filepath to avoid confusion with resource: fetcher.
...
svn path=/trunk/netsurf/; revision=12088
2011-03-17 11:26:30 +00:00
Michael Drake
3bc192186c
Remove superseded about doc.
...
svn path=/trunk/netsurf/; revision=12072
2011-03-16 12:27:00 +00:00
Vincent Sanders
1da7b161f8
Stop gtk printing from exploding if its unable to initialise the job
...
add interface to clone a high level cache handle
make generic printing core call new hlcache interface
svn path=/trunk/netsurf/; revision=12068
2011-03-15 22:02:06 +00:00
Vincent Sanders
cb2e3f95b8
make gtk help menu entries actually do something
...
svn path=/trunk/netsurf/; revision=12065
2011-03-15 21:00:08 +00:00
Vincent Sanders
a5ef282aec
Improve logging output to only show the part of teh string being measured
...
svn path=/trunk/netsurf/; revision=12045
2011-03-14 16:42:31 +00:00
Rob Kendrick
7591d2712e
Try to reduce a bit of Pango overhead by avoiding recreation of Pango layout contexts for each width request.
...
svn path=/trunk/netsurf/; revision=12044
2011-03-14 16:28:37 +00:00
John Mark Bell
408f78b737
Move schedule.h to utils/
...
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Daniel Silverstone
93e9bfe323
Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run.
...
svn path=/trunk/netsurf/; revision=12029
2011-03-13 18:26:46 +00:00
Vincent Sanders
b3608e3a63
fix close button having default focus
...
svn path=/trunk/netsurf/; revision=12010
2011-03-13 10:00:44 +00:00
John Mark Bell
155d8dec3f
gtk_dialog_set_has_separator is deprecated in GTK >= 2.21.8
...
svn path=/trunk/netsurf/; revision=12009
2011-03-13 09:52:40 +00:00
Vincent Sanders
009ba43d6e
fix gtk about dialog to use about: to display credits and licence
...
svn path=/trunk/netsurf/; revision=12006
2011-03-13 00:29:50 +00:00
Daniel Silverstone
f40bba0c3a
missing semicolon. I suck
...
svn path=/trunk/netsurf/; revision=12005
2011-03-13 00:05:20 +00:00
Daniel Silverstone
eef98634f6
Shunt some schedule_run() calls around.. Should improve behaviour on GTK and monkey a little
...
svn path=/trunk/netsurf/; revision=12004
2011-03-13 00:04:45 +00:00
John Mark Bell
155f50a48c
Hacky mime mappings for RISC OS filetype extensions
...
svn path=/trunk/netsurf/; revision=11993
2011-03-12 22:28:43 +00:00
Michael Drake
260fbf5fcc
Symlinks for GTK front end.
...
svn path=/trunk/netsurf/; revision=11992
2011-03-12 22:17:55 +00:00
Vincent Sanders
0fd2523f5f
make tab work in forms on gtk
...
svn path=/trunk/netsurf/; revision=11982
2011-03-12 19:02:58 +00:00
Michael Drake
55fd1d0133
Front ends don't need to call thumbnail_get_redraw_scale() now.
...
svn path=/trunk/netsurf/; revision=11946
2011-03-09 21:04:15 +00:00
Michael Drake
5833549a35
Purge nsgtk_plot_set_scale(), nsgtk_plot_get_scale() and nsgtk_plot_scale global.
...
svn path=/trunk/netsurf/; revision=11943
2011-03-09 16:52:03 +00:00
Michael Drake
cebac17d4d
Don't scale text plots in front end (GTK).
...
svn path=/trunk/netsurf/; revision=11936
2011-03-08 18:48:07 +00:00
John Mark Bell
de688b59e1
Fix text selection
...
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Vincent Sanders
9660442e92
remove obsolete, unused gui_window_redraw API
...
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +00:00
John Mark Bell
b193361d8f
Make resource paths global static, as it's only used in here
...
svn path=/trunk/netsurf/; revision=11777
2011-02-23 22:58:21 +00:00
Vincent Sanders
0231675abf
add resource handling
...
move gtk and framebuffer to use generic resource handling
svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
John Mark Bell
5c2d8c35f7
Hide implementation detail
...
svn path=/trunk/netsurf/; revision=11769
2011-02-23 08:23:02 +00:00
John Mark Bell
ec1b92cf24
Obtain download filename from the core
...
svn path=/trunk/netsurf/; revision=11768
2011-02-23 08:19:10 +00:00
Michael Drake
8813181cea
Use core's thumbnail_redraw().
...
svn path=/trunk/netsurf/; revision=11717
2011-02-19 22:24:36 +00:00
Michael Drake
a66575dfeb
Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
...
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
Michael Drake
8912285839
Comment rationale for render buffer dimensions.
...
svn path=/trunk/netsurf/; revision=11699
2011-02-16 14:35:48 +00:00
Michael Drake
082b128106
Remove legacy logging.
...
svn path=/trunk/netsurf/; revision=11698
2011-02-16 14:14:00 +00:00
Michael Drake
120005e04b
Various gtk thumbnailing fixes. Don't make intermediate buffer bigger than it needs to be. Don't pass clip rect that's larger than render area. Don't plot blank background before setting the clip rect. Scale initial content render appropriately. Simplify and fix scale calc for thumbnail resampling.
...
svn path=/trunk/netsurf/; revision=11697
2011-02-16 13:52:29 +00:00
Vincent Sanders
fa98e3d76a
add about: fetcher
...
rename fetchers to be more sensible
svn path=/trunk/netsurf/; revision=11692
2011-02-15 23:18:10 +00:00
Michael Drake
9665415428
Add "const".
...
svn path=/trunk/netsurf/; revision=11684
2011-02-14 22:08:21 +00:00
Michael Drake
94e7b44ebc
Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
...
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
Michael Drake
5cefc9584a
Pass clip rect to browser_window_redraw as pointer.
...
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake
fe7921a387
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
...
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
Michael Drake
fedcbf6656
Pass clip rect to browser_window_redraw as struct.
...
svn path=/trunk/netsurf/; revision=11648
2011-02-11 19:36:33 +00:00
Vincent Sanders
9a183018ea
improve browser_window_redraw width and height handling
...
svn path=/trunk/netsurf/; revision=11642
2011-02-11 00:14:22 +00:00
Vincent Sanders
2a8e8a5cf1
add browser_window_redraw() method to make content_redraw calls from frontends common RISC OS, atari, amiga and beos have not been updated
...
svn path=/trunk/netsurf/; revision=11640
2011-02-10 22:35:41 +00:00
John Mark Bell
86c2948eb4
Fix copying text/plain to clipboard
...
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Vincent Sanders
42990ed9ec
commit a neatness and comment cleanup in the gtk window code
...
svn path=/trunk/netsurf/; revision=11632
2011-02-08 23:40:14 +00:00
Vincent Sanders
726881c2ad
gtk can have *only* a single accelerator group attached or it goes bang
...
svn path=/trunk/netsurf/; revision=11598
2011-02-01 23:11:29 +00:00
Vincent Sanders
fbb1139214
add default system colour handlers to each frontend
...
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Vincent Sanders
42f89d4e0b
fixup gtk source file names
...
svn path=/trunk/netsurf/; revision=11529
2011-01-29 23:40:22 +00:00
Vincent Sanders
acc2c341bd
Make GTK popup menu generated like the menu bar menu
...
Clean up gtk scaffoling of some gsoc madness
fix tab opening from popup menu
Remove forward declarations and stop exporting the symbols for every event handler when they should be static
svn path=/trunk/netsurf/; revision=11514
2011-01-28 12:17:51 +00:00
Michael Drake
47c7051242
Change default favicon to content image.
...
svn path=/trunk/netsurf/; revision=11502
2011-01-26 18:36:48 +00:00
Vincent Sanders
7ff51a93d5
gtk context menu cleanups
...
svn path=/trunk/netsurf/; revision=11480
2011-01-25 09:19:47 +00:00
Daniel Silverstone
699f0cb344
Make the tree icon dir a non-option
...
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
John Mark Bell
a145763c1d
Remove redundant computation.
...
Fix nsfont_split to actually conform to its API and not return split points in the middle of character byte sequences.
svn path=/trunk/netsurf/; revision=11264
2011-01-09 00:52:00 +00:00
Daniel Silverstone
1335ffd488
Make the default favicon a desaturated netsurf logo
...
svn path=/trunk/netsurf/; revision=11247
2011-01-07 14:16:33 +00:00
Daniel Silverstone
1ca13118a8
Ensure that if we're given no icon (or can't generate one) we default to the system-default favicon
...
svn path=/trunk/netsurf/; revision=11246
2011-01-07 14:13:40 +00:00