Commit Graph

1384 Commits

Author SHA1 Message Date
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
Michael Drake
918aa9d266 Fix error. 2013-03-20 20:59:00 +00:00
Michael Drake
138d2529ef More meddling. 2013-03-20 20:55:03 +00:00
Michael Drake
5d7b1f40a3 Another attempt. 2013-03-20 20:06:24 +00:00
Michael Drake
ea4b7eb3a8 Try fixing Amiga nsfont_split. (Untested!) 2013-03-20 13:14:17 +00:00
Chris Young
5f7ed448d4 This needs to be set as CustomScreen to ensure it isn't classed as a "visitor" window, for reasons not fully understood. 2013-03-20 08:28:08 +00:00
Chris Young
22c7c1259b We are opening on a public screen, not a custom screen (even our own screen is a public screen) 2013-03-20 08:22:03 +00:00
Michael Drake
dd704c2c43 Fix can paste/copy tests. 2013-03-18 23:06:06 +00:00
Chris Young
20e4bdadaf Support old picture.datatype 2013-03-09 15:29:30 +00: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
Chris Young
cd25e581cf Fix drag saving text selections 2013-02-22 21:03:52 +00:00
Chris Young
5d34d48a4b Remove obsolete ami_selection_to_text 2013-02-22 19:06:13 +00:00
Chris Young
4d9b674997 Remove struct selection from ami_file_save and anywhere that feeds into it 2013-02-22 19:02:58 +00:00
Michael Drake
8195113196 More fixup for new core selection treatment. 2013-02-22 14:08:24 +00:00
Michael Drake
8a4bfc537f Update for new core selection stuff. Save handling still needs fixing. Core now gives a char * that the front end should free. 2013-02-22 13:46:01 +00:00
Michael Drake
67c6046fb1 Update for new core selection handling. 2013-02-22 13:37:11 +00:00
Chris Young
5a307b5fa5 remove alloc.c 2013-02-21 23:51:40 +00:00
Chris Young
a89148332f Remove this; it's worse in real-life situations than the buggy newlib version. 2013-02-21 23:49:39 +00:00
Chris Young
28ddfb27c4 Deactivate alloc replacement; it refuses to work when other libs are involved. Replacing the relevant malloc/realloc/free triplets in textarea.c does appear to work with the replacement, however. 2013-02-21 23:15:46 +00:00
Chris Young
70df2d197d Attempt replacement of memory allocation functions with primitive working alternatives 2013-02-21 23:10:36 +00:00
Chris Young
486593df35 memory leak 2013-02-20 20:28:07 +00:00
Chris Young
5beca9d71f Remove spurious error message after closing About 2013-02-18 18:39:31 +00:00
Chris Young
a86ff2ac2c Add missing flag 2013-02-18 16:24:58 +00:00
Vincent Sanders
15d39c6ebf fix remaining errors introduced in refactor 2013-02-18 13:05:23 +00:00
Vincent Sanders
0eb0798873 fix errors introduced in refactor 2013-02-18 12:24:49 +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
Chris Young
c545bb4b42 Identify JavaScript by extension as a fallback 2013-02-15 23:38:27 +00:00
Chris Young
05969e52ef Set default JavaScript icon to report correct MIME type 2013-02-15 23:28:46 +00:00
Chris Young
8da8f14396 More logical splitting code 2013-02-15 16:51:50 +00:00
Chris Young
9fe2873f04 rationalise the removal of the box redraw queue 2013-02-13 20:23:17 +00:00
Chris Young
1809143ff3 Implement triple-click 2013-02-12 19:12:14 +00:00
Chris Young
d25fd5fb6c Set the split point to the end of the line if the entire string fits in the allocated space 2013-02-12 00:21:56 +00:00
Chris Young
d78777276c Bring nsfont_split up to core expectations. Slightly bodged. 2013-02-10 23:24:04 +00:00
Chris Young
af3ef0fb41 Queue fast scroll redraws same as any other box redraw 2013-02-10 12:13:39 +00:00
Chris Young
a853194c1d Correct SSL certificate accept/reject messages name 2013-02-06 20:00:46 +00:00
Chris Young
02115a8958 Optimise box redraws some more by discarding simple subsets 2013-02-06 18:44:41 +00:00
Chris Young
7c671378aa Don't add the same box redraw to the queue more than once 2013-02-05 19:44:21 +00:00
Chris Young
9c7031143f Use last known scroll pos, not current 2013-02-03 22:19:31 +00:00
Chris Young
b704ad3e88 Correct fast scroll co-ordinates 2013-02-03 19:30:11 +00:00