Steve Fryatt
73cf86e437
- Request correct redraw area when changing a node's size in tree_handle_node_changed().
...
- Update parameter documentation to match function definitions.
svn path=/trunk/netsurf/; revision=10876
2010-10-10 09:10:44 +00:00
Vincent Sanders
45b2ab2d88
If the cookies tree has not been initialised do not allow operations to be scheduled upon it.
...
svn path=/trunk/netsurf/; revision=10868
2010-10-06 21:46:06 +00:00
John Mark Bell
6173bb0e6c
Merge treeview-redux to trunk
...
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
James Bursa
76a8c043a6
Simplify a browser_window_go_post() to browser_window_go().
...
svn path=/trunk/netsurf/; revision=10762
2010-09-12 18:27:59 +00:00
Vincent Sanders
bda534e12a
Clean up how GTK frontend finds resources
...
svn path=/trunk/netsurf/; revision=10668
2010-07-28 15:22:44 +00:00
Chris Young
004aee8281
Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
...
selections within NetSurf window to text fields (does not work across windows).
todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back
svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Michael Drake
513793a060
Fix inventory file leafname.
...
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
d6eb28d5de
Replace unnecessarily complicated path concatenation with something simpler and
...
easily adaptable to different platform path structures.
svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
John Mark Bell
5bebf2f2fc
Merge branches/vince/netsurf-fbtk-rework to trunk.
...
svn path=/trunk/netsurf/; revision=10605
2010-07-07 18:08:17 +00:00
Michael Drake
f6faa20a37
In switch statements add default branch for unknown enum values, with assert.
...
svn path=/trunk/netsurf/; revision=10603
2010-07-06 21:09:20 +00:00
Vincent Sanders
bd6c884020
Fix up confusing formatting
...
svn path=/trunk/netsurf/; revision=10586
2010-06-28 11:31:51 +00:00
Michael Drake
0642cdafc2
Fix mouse.h file description. Add iframe comment.
...
svn path=/trunk/netsurf/; revision=10571
2010-06-09 09:53:07 +00:00
Michael Drake
b010a25771
+ Refactor input handling from browser window code into content
...
handlers.
+ Disentangle all box tree manipulation from browser window
code and put it where it belongs.
+ Move other content specific and other irrelevant code from
browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
used by browser window code, and it is used by treeview
windows on the treeview branch.
svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
John Mark Bell
000e6ad3de
It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
...
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).
svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Vincent Sanders
2fd1476f8c
The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
...
Alter the framebuffer schedule_run to return the time untill the next event.
svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00
John Mark Bell
2276afb9f6
Log any remaining interned strings (there should be none)
...
svn path=/trunk/netsurf/; revision=10502
2010-04-27 22:14:52 +00:00
Daniel Silverstone
30e0cfe7a9
First step to fixing memory leaks -- Box model no longer leaks computed styles
...
svn path=/trunk/netsurf/; revision=10500
2010-04-27 21:38:41 +00:00
John Mark Bell
0de2013f25
Clean up caches on exit
...
svn path=/trunk/netsurf/; revision=10494
2010-04-27 06:48:09 +00:00
Michael Drake
4c4c2c5f97
Fix typo.
...
svn path=/trunk/netsurf/; revision=10478
2010-04-24 21:16:12 +00:00
Vincent Sanders
03bb3e8636
remove _GNU_SOURCE define from everywhere.
...
strndup is not standard so provide an implementation.
svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
Daniel Silverstone
3f7c601078
Ensure we can search textplain again
...
svn path=/trunk/netsurf/; revision=10454
2010-04-22 14:37:32 +00:00
John Mark Bell
27064b4107
Remove redundant code
...
svn path=/trunk/netsurf/; revision=10430
2010-04-18 16:08:06 +00:00
John Mark Bell
031e301c53
Squash leak
...
svn path=/trunk/netsurf/; revision=10429
2010-04-18 16:07:51 +00:00
John Mark Bell
328fed8122
Liberally sprinkle #ifdef around
...
svn path=/trunk/netsurf/; revision=10417
2010-04-16 20:58:09 +00:00
John Mark Bell
c4de2cf6b3
Extract parent charset and quirkiness
...
svn path=/trunk/netsurf/; revision=10416
2010-04-16 20:55:17 +00:00
John Mark Bell
ad8d0b3350
Handle llcache queries (GTK only for now)
...
svn path=/trunk/netsurf/; revision=10403
2010-04-14 23:03:49 +00:00
Daniel Silverstone
3344b974af
Move content shuffling to prevent crash during threading through reformat
...
svn path=/trunk/netsurf/; revision=10396
2010-04-14 09:23:46 +00:00
Daniel Silverstone
3c81d2a527
Ensure url bar is updated with in-progress URL and restored if stop/download occurs
...
svn path=/trunk/netsurf/; revision=10385
2010-04-12 10:57:41 +00:00
John Mark Bell
11201a1cd7
Yes, ownership of the theme content is passed to theme_install
...
svn path=/trunk/netsurf/; revision=10375
2010-04-11 23:01:55 +00:00
John Mark Bell
9e8849c04c
Take the easy way out wrt loading messages files: leave it to the RISC OS frontend to do this.
...
svn path=/trunk/netsurf/; revision=10374
2010-04-11 22:40:41 +00:00
John Mark Bell
71de3618f1
Implement hlcache_poll(), which drives the low-level cache event loop, and attempts to clean the high-level cache.
...
Call this, instead of llcache_poll().
svn path=/trunk/netsurf/; revision=10371
2010-04-11 20:21:13 +00:00
Michael Drake
3c12281565
Remove dead special case for gtk status bar width.
...
svn path=/trunk/netsurf/; revision=10322
2010-04-08 17:51:31 +00:00
Rob Kendrick
64d6093631
Don't bother trying to fetch search provider icons when BMP support is disabled. This code could do with a little rearrangement to make this cleaner.
...
svn path=/trunk/netsurf/; revision=10311
2010-04-08 14:14:27 +00:00
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