Vincent Sanders
7227c29bba
move window scroll getter and setter into operations table
2014-01-13 01:08:15 +00:00
Vincent Sanders
5a962586fb
move mandantory window update and redraw operations into table
2014-01-12 23:50:54 +00:00
Vincent Sanders
4b49b4ac77
move more optional window operations into table including removing unused hide_pointer operation altogether
2014-01-12 22:55:26 +00:00
Vincent Sanders
b7736bae2f
split gui operations into core and window and move more operations into tables
2014-01-12 17:07:34 +00:00
Vincent Sanders
56bb9582b1
move set title, set url, start and stop throbber window operations to gui table
2014-01-12 10:27:41 +00:00
Vincent Sanders
c8496df3df
move window creation and destruction into table
2014-01-11 22:34:12 +00:00
Vincent Sanders
d3c392c3d3
Initial conversion of netsurf gui to callback vtable
2014-01-11 14:20:30 +00:00
Chris Young
a856439afb
Re-add proper notification of ability to close public screen.
2014-01-10 20:46:58 +00:00
Chris Young
78e8077a5a
Re-enable the RAmiga-U shortcut to activate the URL bar, now it is safe to do so.
2014-01-10 20:35:49 +00:00
Chris Young
9fd344172a
Enforce the use of popupmenu.library >=53.11
...
Older versions have a dangerous bug which manifests itself as a deadlock or a crash.
2014-01-10 20:32:20 +00:00
Chris Young
ef76dd468d
Tentatively enable AmigaGuide help
2014-01-10 20:03:22 +00:00
Chris Young
be6f4d3997
Probably shouldn't override thumbnail source alpha
2014-01-06 18:37:43 +00:00
Chris Young
870c709684
Get Composite() to befriend the screen's BitMap to ensure they are on the same graphics board. This should fix the slowness when multiple graphics cards are installed.
2014-01-06 18:29:05 +00:00
Chris Young
4eff5ddf71
Add file upload request on click
2014-01-05 23:04:28 +00:00
Chris Young
b2fff176df
This shouldn't be UTF-8
2014-01-05 22:55:34 +00:00
Daniel Silverstone
692d4a328c
Fix some log statements
2014-01-05 17:22:30 +00:00
Daniel Silverstone
9a9cb399f9
Merge branch 'rjek/click-file-gadget'
2014-01-05 17:03:17 +00:00
Rob Kendrick
550c8cd73c
Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work.
2014-01-05 16:45:32 +00:00
Rob Kendrick
d8ad3b8e78
Add new gui entry point for file open dialogue requests
2014-01-05 16:01:03 +00:00
Chris Young
b80da8bf0b
Add Javascript build ability to cross-compiled target
2014-01-05 12:13:57 +00:00
Vincent Sanders
f7916866e3
remove all references to using libMNG
2014-01-04 17:07:11 +00:00
Chris Young
845923adfc
Make the new tab button also use the new blank tab function. This fixes bug 2034
2014-01-03 18:20:47 +00:00
Chris Young
c25728b011
Move new blank tab into own function
2014-01-03 18:17:25 +00:00
Chris Young
8d82cd9963
Attempt fix/workaround of bug #2034
2014-01-03 00:26:45 +00:00
Chris Young
9bd355e30c
Convert download filename to local charset
2014-01-02 18:50:59 +00:00
Chris Young
8b6874effd
Revert "Think this needs converting back to local charset here otherwise non-ASCII file uploads don't work."
...
This reverts commit 2aacb411fc
.
2013-12-31 23:37:28 +00:00
Chris Young
2aacb411fc
Think this needs converting back to local charset here otherwise non-ASCII file uploads don't work.
2013-12-31 22:40:35 +00:00
Chris Young
5867ddc038
Minor formatting change
2013-12-15 20:43:56 +00:00
Chris Young
24e5b2ec16
Create a layout group for favicon, URL and the new favourites star. This makes the balance bar work again.
2013-11-24 14:37:44 +00:00
Chris Young
8f6e17d405
Update favourites button when switching tabs
2013-11-23 13:46:57 +00:00
Chris Young
46a88fe8f4
Create the BitMapObjects and just switch between them.
...
Fix the themes so the images are correct.
2013-11-23 13:11:30 +00:00
Chris Young
616a9b0652
Make hotlist button do something
2013-11-23 12:34:00 +00:00
Chris Young
50e038538a
Add hotlist favourites star button
2013-11-23 12:23:56 +00:00
Chris Young
240f6159f8
Add the ability to add folders and icons from the hotlist window's menu
2013-11-17 16:33:06 +00:00
Chris Young
5adb1fb1dd
Workaround for AM_EXECUTE not supporting PROGDIR:
2013-11-10 12:49:46 +00:00
Chris Young
c781ca27b7
Add an implied PROGDIR: to the ARexx dir name for scanning, as executing the script with PROGDIR: in it doesn't work.
2013-11-09 16:38:24 +00:00
Chris Young
5795c40e67
n an AISS icon for default hotlist dir
2013-11-09 15:36:26 +00:00
Chris Young
7c4668aafa
Use CI build number as the revision number of the internal version string when available.
2013-11-04 19:50:07 +00:00
Chris Young
ea64098699
Set ARexx default dir to PROGDIR:Rexx so it works no matter what the current dir is.
2013-11-04 19:29:54 +00:00
Chris Young
b50743a253
tidy-up
2013-10-28 21:30:43 +00:00
Chris Young
d3aac06e3f
Correct some more offsets
2013-10-26 19:47:31 +01:00
Chris Young
ef24e5ce9e
Fix bitmap offsets in direct render mode by forcing use of BltBitMap
2013-10-26 19:44:21 +01:00
Chris Young
f6b1227c8d
Allow direct render of treeview for debug purposes only.
2013-10-26 17:08:24 +01:00
Chris Young
1023fbf927
Create the hotlist menu/toolbar folders if they don't exist.
2013-10-26 16:43:36 +01:00
Vincent Sanders
f29306cc9a
improve gtk source save to use gtk overwrite protection feature coverity 1109873
2013-10-25 21:25:56 +01:00
Chris Young
3a35294a0e
Fix adding to hotlist from context menu
2013-10-13 12:01:11 +01:00
Chris Young
56723e5898
Use LIB_IS_AT_LEAST macro
2013-10-13 11:52:11 +01:00
Chris Young
8b9963e7ef
Use picture.datatype's PromoteMask function so we get an alpha channel for non-alpha bitmaps loaded through datatypes.library
2013-10-12 15:43:52 +01:00
Chris Young
efc2d5e03b
Delay the busy pointer again on intuition v53+
2013-10-12 14:27:16 +01:00
Chris Young
9786cc2417
Fix scaled bitmaps
2013-10-12 14:14:59 +01:00
Chris Young
20dabacb25
Correct some memory allocation parameters
2013-10-12 13:43:33 +01:00
Chris Young
ade86e496e
Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary.
2013-10-12 13:11:13 +01:00
Chris Young
6ea52d0d9f
Don't change the setting, just in case NetSurf is being used from two different OS installs on the same computer.
2013-10-12 11:55:07 +01:00
Chris Young
67f957df39
Force usage of OS pointers for OS4.1, there's no reason to use custom ones now.
2013-10-12 11:52:08 +01:00
Chris Young
5d2f4b0b98
Use all the built-in mouse pointers on OS4.1
2013-10-12 11:26:34 +01:00
Chris Young
af2c37167b
application.library fix for new SDK. Note that:
...
* application.library functionality will no longer be available on OS4.0, however that only extends to the Docky icon as notifications weren't supported anyway.
* CI builds may crash until the toolchain is updated.
2013-10-12 10:26:28 +01:00
Chris Young
69e264e4ec
more tidy-up
2013-10-05 11:28:33 +01:00
Chris Young
9ff65d7426
tidy up
2013-10-05 11:27:05 +01:00
Chris Young
a06cb9f05c
If bitmap is opaque, ensure we override the alpha channel as it may contain nonsense.
2013-10-05 11:18:27 +01:00
Chris Young
bdf76965b4
Add Undo/Redo to Amiga version. NB: Clear selection no longer has a shortcut key.
2013-10-01 18:51:27 +01:00
Chris Young
704e5cc839
Use a for loop instead
2013-09-28 16:03:24 +01:00
Chris Young
bd85c009d3
Ensure the glyph array is NULLed before use, and that we don't attempt to free NULL entries.
2013-09-28 15:37:09 +01:00
Chris Young
87da43d373
Extra logging
2013-09-28 14:58:03 +01:00
Chris Young
fda18c4977
less over-zealous code removal
2013-09-15 00:05:52 +01:00
Chris Young
04a118c415
treeview deferred redraw
2013-09-14 23:52:31 +01:00
Chris Young
c32c68f4ed
Support drag for global history too
2013-09-14 23:52:30 +01:00
Chris Young
250338ba7c
Re-implement dragging to/from treeview (not working)
2013-09-14 23:52:28 +01:00
Chris Young
653cf8fa1f
Use a simulated keypress rather than a simulated mouseclick
2013-09-12 17:12:45 +01:00
Chris Young
69b0350a3c
Make the hotlist toolbar work
2013-09-12 12:35:55 +01:00
Chris Young
0bc226def9
Make hotlist toolbar use the new functions
2013-09-12 12:29:47 +01:00
Chris Young
ccdaabfa38
Pass generic userdata
2013-09-12 12:15:00 +01:00
Chris Young
fda365fb2d
Move the hotlist menu creator into hotlist.c and make it more generic
2013-09-12 12:08:50 +01:00
Chris Young
177b46e873
Add hotlist menu items at the correct offset
2013-09-12 11:27:45 +01:00
Chris Young
ffb024f66d
Remove context menu some more as it's irrepairably broken anyway
2013-09-12 11:10:37 +01:00
Chris Young
667dc146ae
Fix buttons in the least convaluted way possible
2013-09-12 11:09:05 +01:00
Chris Young
5b457faf5f
Remove some very useful drag stuff that doesn't seem to yet have an equivalalent in the new treeveiw
2013-09-12 11:04:22 +01:00
Chris Young
0e5667e28e
Botched fixes just to get it to compile again
2013-09-12 10:58:19 +01:00
Chris Young
9af55136d0
Disable the treeview context menu for now, as it needs fixing.
2013-09-12 10:51:39 +01:00
Chris Young
9871ca4a2d
make the scroll bar disappear if size is -1 (untested)
2013-09-05 20:37:39 +01:00
Chris Young
9c49eb3ccc
Remove unused. NB: new routine untested
2013-09-05 20:27:39 +01:00
Chris Young
454fc8dbaa
Use the nsurl directly
2013-09-05 20:26:28 +01:00
Chris Young
f59a93f5ee
Attempt re-write of Hotlist menu creation
2013-09-05 20:24:01 +01:00
Michael Drake
bd38b712c6
Avoid an error.
2013-09-03 16:32:48 +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
Chris Young
011ba501a7
Make some global DrawInfo local to the function it is needed in.
2013-08-20 19:43:13 +01:00
Chris Young
1761d390de
Slightly better layouting
2013-08-20 19:39:18 +01:00
Chris Young
b686daea8c
Squash warning
2013-08-18 17:28:40 +01:00
Chris Young
d6e975ce50
Merge branch 'chris/gadtools-53-6'
2013-08-18 15:22:31 +01:00
Chris Young
1238afdfc8
Remove unused
2013-08-18 15:20:39 +01:00
Chris Young
4a70c21215
Construct the menu in a new function, which also does basic layouting of any image menus.
2013-08-18 15:15:12 +01:00
Michael Drake
2dc99f9ae7
Allow the other front ends to use the hotlist test too.
2013-08-16 08:25:25 +01:00
Chris Young
acdf478d3f
Sub-menu arrows
2013-08-16 00:07:20 +01:00
Chris Young
33b8644ec2
Another attempt at creating image menus
2013-08-15 20:10:55 +01:00
Chris Young
b11b18f258
Correct path
2013-08-15 18:21:12 +01:00
Chris Young
fd206d98e9
Add missing icons to package
2013-08-15 18:09:05 +01:00
Chris Young
03328e23e7
Non-working AISS icon redirect
2013-08-15 18:02:04 +01:00
Michael Drake
65a94d5b02
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-08-13 14:11:34 +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
40e4530433
Use new SSL certificate viewer.
2013-08-12 11:44:36 +01:00
Chris Young
f4d04cefc0
Revert nsfont_split back to how it was before I started meddling with it.
2013-08-03 12:54:50 +01:00
Chris Young
5382387c7d
Ensure we get the correct Messages files
2013-07-27 15:24:45 +01:00
Chris Young
2381ee1f7e
Remove rogue inc
2013-07-27 14:58:21 +01:00
Chris Young
344bcc87ae
Show iconified windows when quitting (horrible flickery workaround for a recoverable alert)
2013-07-27 14:46:20 +01:00
Chris Young
7d9af63c16
Localise the description, mark it Amiga-only
2013-07-27 14:25:07 +01:00
Chris Young
2d33665b69
Remove any AppIcons on quit
2013-07-27 14:19:51 +01:00
Chris Young
17c4201fb8
When receiving a "To Front" message, don't open a window if none are active.
2013-07-27 14:14:26 +01:00
Chris Young
ff78c7cf2e
Missed an ellipsis removal. Split this one out as RISC OS uses it.
2013-07-27 14:13:03 +01:00
Michael Drake
68078d7ea7
Fix up for cookies_old rename.
2013-07-22 10:21:37 +01:00
Chris Young
0a0e7867b9
Fix enable/disable of tab close option
2013-07-19 17:45:25 +01:00
Chris Young
0f79676d85
Re-arrange menu to better conform to the Style Guide
2013-07-19 17:42:25 +01:00
Michael Drake
3f45e53539
s/history_core/local_history/
2013-07-10 11:55:42 +01:00
Chris Young
6358290e78
Correct the readme a bit
2013-06-22 13:17:33 +01:00
Chris Young
ba297a7179
Create a helper launch script, and make launch-handler use it
2013-06-22 13:16:15 +01:00
Chris Young
6549c06683
Fix ARexx OPEN NEWTAB
2013-06-18 20:13:59 +01:00
Chris Young
6c17aa78a7
Add proxy bypass option
2013-06-08 17:22:22 +01:00
Chris Young
9b54d6bb9c
Remove PDF menu item if built without PDF export
2013-06-08 17:10:30 +01:00
Chris Young
4bd65d429c
Revert gadtools 53.5 change
2013-06-06 20:13:23 +01:00
Chris Young
f2a6d645ae
If a new browser window opens, bring the screen NetSurf is running on to the front
2013-06-02 16:26:25 +01:00
Chris Young
f31ab148cb
Better logging for resource searching
2013-06-02 16:07:59 +01:00
Chris Young
94dc0795c1
Ensure treeview gets a palette rather than the built-in defaults
2013-06-01 18:56:53 +01:00
Vincent Sanders
9bd2969876
amiga is the only user of the very odd usage of the options API
2013-06-01 16:09:26 +01:00
Chris Young
31e3b27fad
Set redraw tile size to default on screen change
2013-06-01 15:37:26 +01:00
Chris Young
9ad5b98fcd
Don't read the state of gadgets which don't exist
2013-06-01 15:31:39 +01:00
Chris Young
40682a899e
Remove unneeded parameter
2013-06-01 15:27:29 +01:00
Chris Young
173bfe3d3d
Fix the new prefs hook
2013-06-01 15:18:09 +01:00
Chris Young
8179e51a75
Set default colours when screen changes
2013-06-01 15:11:26 +01:00
Chris Young
fe78657b08
Use default macros for updating window size
2013-06-01 14:58:51 +01:00
Chris Young
8b586b2d67
Fix a crash when edit settings if NetSurf is running on the WB screen
...
Rename use_pubscreen to make it clearer what the option is for
2013-05-31 23:25:05 +01:00
Chris Young
864762cbe6
Merge branch 'chris/gadtools-53-5'
2013-05-31 19:59:58 +01:00
Chris Young
9b39408dff
Use macro directly
2013-05-31 19:42:57 +01:00
Chris Young
ac1865f361
Set more sensible default window size
2013-05-31 19:34:22 +01:00
Chris Young
22ce03aed6
Tentatively replace colour conversion with core macro
2013-05-30 00:03:43 +01:00
Chris Young
8e8b4fbe57
default download notification to true
2013-05-28 21:10:44 +01:00
Chris Young
1bbafde641
Further split fixing
2013-05-28 20:58:39 +01:00
Chris Young
2d483113ef
Fix Guru on exit
2013-05-28 20:38:16 +01:00
Chris Young
2dec72b4d5
Re-order Messages loading to avoid a crash on launch
2013-05-28 20:13:34 +01:00
Vincent Sanders
4e5d478ed1
fix spurious whitespace in makefile
2013-05-28 17:50:06 +01:00
Vincent Sanders
a88fb2e0e8
add missing includes
2013-05-28 17:34:29 +01:00
Vincent Sanders
f3065a5cfd
replace accidentallly removed function
2013-05-28 17:22:07 +01:00
Vincent Sanders
83ab7accf4
fix stupid mistake introduced in options API change
2013-05-28 17:09:42 +01:00
Vincent Sanders
b918f63f3e
fixup atari option names
2013-05-28 17:00:55 +01:00
Vincent Sanders
a92e5930ff
fixup issues with new options API merge
2013-05-28 16:44:46 +01:00
Vincent Sanders
91966b562e
move amiga to new options code
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
Chris Young
8dc7ec2cb4
More split fixery
2013-05-25 14:12:02 +01:00
Chris Young
4a618b7040
Another attempt to fix the moving split position when a string fits exactly.
2013-05-25 14:05:32 +01:00
Chris Young
b66775dc53
Prevent ASL from causing delayed menus
2013-05-25 13:59:42 +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
Chris Young
2f94771f41
revert text split change
2013-05-20 17:59:58 +01:00
Chris Young
fe2a80fe10
If using image menus, change the type to reflect that
2013-05-19 10:09:40 +01:00
Chris Young
ddbc8c7f63
Fix build
2013-05-18 16:55:37 +01:00
Chris Young
2bce0185fe
Create menus with icons when using gadtools 53.5+ (hotlist only currently)
2013-05-18 16:50:39 +01:00
Chris Young
f16f2f2904
Get hotlist icons to use in menu creation
2013-05-18 16:39:29 +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
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