Chris Young
2f94771f41
revert text split change
2013-05-20 17:59:58 +01:00
Chris Young
c10a4321f2
Bring ARexx items to new alloc function
2013-05-18 16:28:10 +01:00
Chris Young
051fce07d9
Move hotlist entries to new allocation function
2013-05-18 16:11:49 +01:00
Chris Young
9c49d5f090
Menu refactor
2013-05-18 15:34:25 +01:00
Chris Young
15fc44bd4d
Remove unused variable
2013-05-18 13:45:26 +01:00
Chris Young
5fcdbb80f0
Try to avoid the split point jumping around when it occurs exactly on the boundary requested
2013-05-18 13:34:36 +01:00
Chris Young
13e667ff78
Remove friend BitMap as it doesn't solve the problem intended, and I'm concerned that it will cause problems on gfx cards which only have LE modes
2013-05-18 13:26:07 +01:00
Chris Young
ba0cf5c949
put it back in a state where it stays enabled
2013-05-12 20:36:49 +01:00
Chris Young
94205ed48c
more futile attempts to get the copy option to behave
2013-05-12 20:36:48 +01:00
Chris Young
6d7adac89e
Update the edit menu after every click, to be safe.
2013-05-12 20:36:47 +01:00
Chris Young
0b028e41c6
more fix of edit menu updates
2013-05-12 20:36:46 +01:00
Chris Young
1304a939c3
stop the build whinging about NETSURF_USE_JS := AUTO
2013-05-12 20:36:45 +01:00
Chris Young
a752390abe
attempt fix edit menu item disable
2013-05-12 20:36:44 +01:00
Chris Young
57e5f7d89a
attempt fix cut disable on context menu
2013-05-12 20:36:42 +01:00
Chris Young
32df2bebdd
git being annoying
2013-05-12 20:36:41 +01:00
Chris Young
c2783ac1d4
change zoom button window dimensions test suff
2013-05-12 20:36:39 +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
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
98369b74e2
fixup message splitting with updated tool
2013-05-02 09:24:18 +01:00
Chris Young
8c7eea4b62
Allocate the off-screen BitMap as a friend of the screen BitMap in the increasingly diminishing number of cases where this works correctly. This should stop NetSurf using memory on the wrong graphics card when two are installed.
2013-04-28 12:21:39 +01:00
Chris Young
e4f11d1b74
Fix a potential crash when plotting glyphs
2013-04-28 11:53:37 +01:00
Chris Young
aeba307180
Fix upgrades from 2.9 to 3.0
2013-04-25 18:32:32 +01:00
Chris Young
c83878ff0d
Increase AmigaOS revision number
2013-04-23 19:50:57 +01:00
Chris Young
4da186e28e
Remove unneeded include
2013-04-16 00:29:26 +01:00
Chris Young
d167da308b
Use internal curl scheduled fetcher
2013-04-16 00:20:31 +01:00
Chris Young
bbb0f4c2b9
The scheduled callback function doesn't need to do anything, because NetSurf is going to call hlcache_poll anyway after it returns.
2013-04-15 23:53:54 +01:00
Chris Young
6557bae1a2
missing include
2013-04-15 23:46:28 +01:00
Chris Young
dbebd4c1ce
Schedule an immediate fetch poll if fetch is active
2013-04-15 23:42:46 +01:00
Chris Young
3b53d22260
Remove no-longer-needed code
2013-04-15 23:02:32 +01:00
Chris Young
6dcccd5051
test using amiga frontend
2013-04-15 19:51:40 +01:00
Chris Young
d9b8809908
Fix memory leak and make a point of ignoring UTF-16 surrogates
2013-04-14 16:03:46 +01:00
Chris Young
52e811a842
Don't recalculate next char position
2013-04-14 15:05:27 +01:00
Chris Young
53e361b622
Fix build
2013-04-11 21:32:05 +01:00
Chris Young
a6179250d5
Remove scheduled redraws for destroyed windows
2013-04-11 21:26:42 +01:00
Chris Young
26dbb7a602
Avoid multiple schedules of redraws
2013-04-11 21:20:25 +01:00
Chris Young
6ee4fa3f81
Default DPI to 85 as that is more correct than 72
2013-04-11 21:14:59 +01:00
Chris Young
a938b1a337
Make "resize with contents" a user option
2013-04-10 19:36:38 +01:00
Chris Young
b086d04d8a
If we are reformatting, delay the redraw slightly to avoid excessive consectutive redraws
2013-04-09 20:49:28 +01:00
Chris Young
78e7019479
Test enable "resize with contents" now we have queued/delayed redraws.
2013-04-09 20:32:58 +01:00
Chris Young
efc0fba8ef
avoid potential crah on exit
2013-04-09 00:02:11 +01:00
Chris Young
2db0024651
document and add missing include
2013-04-04 19:59:35 +01:00
Chris Young
90266d117c
Schedule browser-initiated reformats too, with the caveat that a message of some description needs to arrive at the message port before the reformat will be queued (think this only affects scale changes).
2013-04-04 19:47:46 +01:00
Chris Young
6686d9dad8
Schedule redraws from local history too, hide ami_do_redraw and friends as only gui.c needs to call those directly now
2013-04-04 19:46:33 +01:00
Chris Young
c297f45bb9
Schedule redraws to prevent expected redraws from not happening when no events are occuring
2013-04-04 19:31:42 +01:00
Chris Young
7de97e8d6a
ensure the closest character is picked
2013-03-24 11:35:27 +00:00
Chris Young
f70e58b4a1
update posn_in_string loop to be similar to nsfont_split
2013-03-24 11:27:26 +00:00
Chris Young
e678df267e
Handle UTF-16 multi-length characters properly
2013-03-24 11:06:36 +00:00
Michael Drake
d0966c9d3f
Fix leaked utf16 string.
2013-03-20 22:22:36 +00:00
Michael Drake
91d05fc0f1
Ensure that actual_x is set when string fits inside available_width.
2013-03-20 22:07:22 +00:00