Michael Drake
f310569df4
Calling a hlcache_handle "content" is confusing.
...
svn path=/trunk/netsurf/; revision=10266
2010-04-07 12:09:38 +00:00
John Mark Bell
cbf55bd418
Fix textarea crash.
...
I cannot express just how much I hate the necessity of this change: browser windows (and other code in desktop/) should stop poking around inside content objects
svn path=/trunk/netsurf/; revision=10258
2010-04-07 06:22:15 +00:00
John Mark Bell
2748fe4f64
Make downloads work again.
...
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00
John Mark Bell
69f02e926f
Make the high-level cache drop contents of unacceptable type on the floor.
...
svn path=/trunk/netsurf/; revision=10238
2010-04-04 17:17:24 +00:00
John Mark Bell
79ce683b4e
Most of a stop implementation.
...
Remaining work:
1) Clone content_html_data
2) Cloning content_css_data requires the charset of the old content
3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context.
svn path=/trunk/netsurf/; revision=10236
2010-04-04 12:41:19 +00:00
Chris Young
103998165a
Revert previous change
...
svn path=/trunk/netsurf/; revision=10215
2010-03-30 18:20:48 +00:00
Chris Young
9b9c26b569
Avoid crash if pargc is NULL. This might happen, for example, when launching NetSurf
...
from Workbench under AmigaOS :)
svn path=/trunk/netsurf/; revision=10214
2010-03-30 18:14:40 +00:00
John Mark Bell
9aca901eb1
The convert stage of a content's state progression no longer reflows the content to the provided dimensions.
...
It is now defined as converting the content into a state in which it is ready for use.
The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn.
Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs.
Fix up content handlers affected by the above change in semantics.
Ensure that browser_window_callback performs an initial reformat of its content.
svn path=/trunk/netsurf/; revision=10207
2010-03-29 22:33:21 +00:00
Vincent Sanders
e00fb7bd2d
second pass at startup refactor removing the gui_init callback
...
svn path=/trunk/netsurf/; revision=10205
2010-03-29 20:03:44 +00:00
Vincent Sanders
7e67527267
first part of initialisation refactor move gui_init2 into frontends
...
svn path=/trunk/netsurf/; revision=10202
2010-03-29 16:59:30 +00:00
Daniel Silverstone
cb7412181f
Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to complete properly.
...
svn path=/trunk/netsurf/; revision=10187
2010-03-28 16:00:54 +00:00
Rob Kendrick
fea38002ed
Do not assert when the only thing of interest is a body box. Status string can quite happily be NULL.
...
svn path=/trunk/netsurf/; revision=10184
2010-03-28 15:35:37 +00:00
Daniel Silverstone
05a4eceae2
Remove fetchcache.[ch]
...
svn path=/trunk/netsurf/; revision=10183
2010-03-28 15:34:07 +00:00
Daniel Silverstone
270ef59a98
Merge jmb/new-cache; r=dsilvers,rs=vince
...
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Vincent Sanders
cf322aeda3
Review fixups from Daniel Silverstone
...
Ensure status text statistics are initialised
Fix documentation and indentation of status text variables.
svn path=/trunk/netsurf/; revision=9968
2010-02-11 10:58:26 +00:00
Vincent Sanders
c1e7429d58
remove RISC OS status bar text caching
...
svn path=/trunk/netsurf/; revision=9966
2010-02-11 00:10:58 +00:00
Vincent Sanders
1537981da5
cache the status text to reduce teh number of window status update calls to teh frontend
...
svn path=/trunk/netsurf/; revision=9965
2010-02-10 23:37:06 +00:00
Vincent Sanders
55162445db
Add Windows frontend
...
svn path=/trunk/netsurf/; revision=9940
2010-01-31 00:36:02 +00:00
Vincent Sanders
6990c2cd04
remove uneccissary includes
...
svn path=/trunk/netsurf/; revision=9931
2010-01-29 11:32:53 +00:00
John Mark Bell
5b0ad574b6
Fix compilation when BMP/PNG/GIF support is disabled.
...
svn path=/trunk/netsurf/; revision=9858
2010-01-21 23:48:34 +00:00
Vincent Sanders
e01d93f344
Refactor main into the frontends
...
remove unused embedded global
svn path=/trunk/netsurf/; revision=9851
2010-01-20 20:32:30 +00:00
François Revel
18e27fb499
C89.
...
svn path=/trunk/netsurf/; revision=9779
2010-01-02 02:57:18 +00:00
John Mark Bell
b75b2ae8bb
Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9737
2009-12-18 20:15:50 +00:00
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
John Mark Bell
a042e38548
Squash leaks
...
svn path=/trunk/netsurf/; revision=9692
2009-11-22 14:10:39 +00:00
John Mark Bell
498cd522da
Avoid potential NULL pointer dereference
...
svn path=/trunk/netsurf/; revision=9685
2009-11-22 13:37:28 +00:00
John Mark Bell
2562f7e8c2
Avoid NULL pointer dereferences
...
svn path=/trunk/netsurf/; revision=9684
2009-11-22 13:35:41 +00:00
John Mark Bell
c2fd55cbab
Protect against NULL pointers
...
svn path=/trunk/netsurf/; revision=9681
2009-11-22 13:31:47 +00:00
John Mark Bell
9ca1622183
Ensure selection context is zero-initialised. This may well be the root cause of the random selection crashes people have been seeing.
...
svn path=/trunk/netsurf/; revision=9679
2009-11-22 13:20:39 +00:00
Michael Drake
074150ff18
Only try to reset scroll position on textarea wrap if there is a scrollbar.
...
svn path=/trunk/netsurf/; revision=9335
2009-08-17 13:23:52 +00:00
Michael Drake
c26611b32b
Merge from Paul Blokus' selectscroll branch. Fixes text input scrollbar behaviour.
...
svn path=/trunk/netsurf/; revision=9306
2009-08-14 23:10:53 +00:00
Michael Drake
13afa0ff4c
Merge Paul Blokus' selectscroll branch. Adds core select menu widget for forms and core scrollbar widget.
...
svn path=/trunk/netsurf/; revision=9289
2009-08-14 10:37:33 +00:00
Michael Drake
3549846a9a
Make textarea widget unaware of its global position. Credit: paulblokus.
...
svn path=/trunk/netsurf/; revision=9274
2009-08-13 22:10:36 +00:00
John Mark Bell
43941c53e8
C89.
...
svn path=/trunk/netsurf/; revision=9000
2009-08-02 21:51:24 +00:00
John Mark Bell
0665611cc2
Port to modified libcss API.
...
svn path=/trunk/netsurf/; revision=8997
2009-08-02 19:19:43 +00:00
Michael Drake
623808380a
Remove line that was removed in the other branch.
...
svn path=/trunk/netsurf/; revision=8887
2009-07-29 11:26:04 +00:00
Michael Drake
39546fd504
Merged revisions 8808,8862-8863 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/paulblokus/textinput
........
r8808 | paulblokus | 2009-07-26 22:52:53 +0100 (Sun, 26 Jul 2009) | 2 lines
don't recalculate height already aviable
........
r8862 | paulblokus | 2009-07-28 21:39:06 +0100 (Tue, 28 Jul 2009) | 2 lines
added css.c and css.h files which caused svn errors after using svnmerge
........
r8863 | paulblokus | 2009-07-28 21:43:53 +0100 (Tue, 28 Jul 2009) | 3 lines
changed textarea redraw logic
little fix of KEY_DELETE_LINE_START jandling
........
svn path=/trunk/netsurf/; revision=8886
2009-07-29 11:03:34 +00:00
John Mark Bell
3be8193500
Port r8808 to trunk.
...
svn path=/trunk/netsurf/; revision=8825
2009-07-27 14:58:06 +00:00
John Mark Bell
b5d55eb295
Consider stylesheet media types
...
svn path=/trunk/netsurf/; revision=8820
2009-07-27 13:49:10 +00:00
John Mark Bell
4af04582ad
Fix textarea line height.
...
svn path=/trunk/netsurf/; revision=8766
2009-07-24 01:03:17 +00:00
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
Michael Drake
f1eb054b87
Merged revisions 8663 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/paulblokus/textinput
........
r8663 | paulblokus | 2009-07-22 00:46:29 +0100 (Wed, 22 Jul 2009) | 2 lines
added getter for textarea dimensions
........
svn path=/trunk/netsurf/; revision=8695
2009-07-22 15:59:25 +00:00
John Mark Bell
6e13c2fb0a
Scale font sizes, for better accuracy.
...
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00
John Mark Bell
2565a37a52
Refactor text plotter and other font functions to remove dependency on CSS.
...
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Michael Drake
1299c213ea
Revert accidental commit.
...
svn path=/trunk/netsurf/; revision=8529
2009-07-14 16:53:39 +00:00
Michael Drake
3bfba0f584
mouse_track
...
svn path=/trunk/netsurf/; revision=8528
2009-07-14 16:51:42 +00:00
Michael Drake
f18904ca67
Indicate activity with the progress pointer for a second after you click a link and as the "auto" pointer while stuff is loading.
...
svn path=/trunk/netsurf/; revision=8525
2009-07-14 15:53:12 +00:00
Michael Drake
2d95b8aa57
Rename debug outline plot styles and make them const.
...
svn path=/trunk/netsurf/; revision=8518
2009-07-14 12:42:02 +00:00
Michael Drake
8365d46eb7
Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
...
svn path=/trunk/netsurf/; revision=8513
2009-07-14 10:57:07 +00:00
Vincent Sanders
86232d72a6
next round of plotter refactor
...
svn path=/trunk/netsurf/; revision=8512
2009-07-14 10:03:58 +00:00