summaryrefslogtreecommitdiff
path: root/amiga/gui.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug where public screens would remain open if NetSurf was the last visitorChris Young2009-02-141-0/+5
| | | | | | window to close. svn path=/trunk/netsurf/; revision=6485
* Don't bother trying to render things that are completely off the screenChris Young2009-02-101-0/+3
| | | | svn path=/trunk/netsurf/; revision=6412
* Fix animated GIF displayChris Young2009-02-081-1/+1
| | | | svn path=/trunk/netsurf/; revision=6397
* Really stop overwriting window borders (also fix fast scrolling down, and ↵Chris Young2009-02-071-14/+27
| | | | | | | | break fast scrolling up) svn path=/trunk/netsurf/; revision=6394
* Some attempt at faster scrolling - can be enabled with option faster_scroll:1Chris Young2009-02-051-26/+25
| | | | svn path=/trunk/netsurf/; revision=6364
* Try to stop rendering of things that can't be seenChris Young2009-02-041-4/+22
| | | | svn path=/trunk/netsurf/; revision=6362
* Tidy-up of redraw codeChris Young2009-02-011-110/+21
| | | | svn path=/trunk/netsurf/; revision=6345
* gui_window_update_box and gui_window_redraw now only update the relevant ↵Chris Young2009-02-011-35/+42
| | | | | | | | | areas.. I think. They are liable to destroy things outside of the render area as well currently. svn path=/trunk/netsurf/; revision=6342
* Remove the caret by replacing it with the area under the caret, rather than ↵Chris Young2009-02-011-1/+1
| | | | | | | | the area displayed somewhere else on the page. svn path=/trunk/netsurf/; revision=6338
* Oops, probably shouldn't double-convert textChris Young2009-02-011-1/+1
| | | | svn path=/trunk/netsurf/; revision=6330
* Convert UTF-8 titles to local charset for display in tabsChris Young2009-02-011-2/+5
| | | | | | | Disable keyboard shortcuts for tabs as an underscore in the title was causing keypresses to be ignored or tabs to be switched unexpectedly svn path=/trunk/netsurf/; revision=6329
* Change to use names instead of numbers for keypressesChris Young2009-02-011-11/+74
| | | | | | Add missing keypresss svn path=/trunk/netsurf/; revision=6328
* Added context menu option to download the link target.Chris Young2009-01-311-10/+72
| | | | | | Added SAVEAS/K to OPEN ARexx command to download a URL instead of displaying it. svn path=/trunk/netsurf/; revision=6326
* This is the actual fix for the crashing, although this is temporary as theChris Young2009-01-261-3/+3
| | | | | | implementation needs changing. svn path=/trunk/netsurf/; revision=6283
* This appears to fix an odd crash Chris Young2009-01-251-6/+3
| | | | svn path=/trunk/netsurf/; revision=6262
* Handle key-presses manually for greater control, and to remove some keyboardChris Young2009-01-251-15/+44
| | | | | | copy'n'paste annoyances. Caps lock still fails to work though. svn path=/trunk/netsurf/; revision=6261
* Clear render area properly when switching tabsChris Young2009-01-171-1/+1
| | | | svn path=/trunk/netsurf/; revision=6116
* nsfont_width implemented for Unicode textChris Young2009-01-161-0/+4
| | | | | | | | | cache outline fonts for big speedup still need to implement other text size functions and also bold and italic fonts svn path=/trunk/netsurf/; revision=6095
* Some redraw optimisationsChris Young2009-01-151-29/+38
| | | | svn path=/trunk/netsurf/; revision=6071
* Allocate the file requester after reading the options which contain the ↵Chris Young2009-01-151-7/+7
| | | | | | | | values we need to put in the allocation request svn path=/trunk/netsurf/; revision=6068
* Reinstate WINDOW_Qualifier - the AutoDoc is wrong, it returns a uint32 not a ↵Chris Young2009-01-101-18/+6
| | | | | | | | uint16. This should stop shift and ctrl keys from appearing to get stuck down. svn path=/trunk/netsurf/; revision=6035
* Revert WINDOW_Qualifier change which was supposed to make shift and ctrl ↵Chris Young2009-01-101-7/+7
| | | | | | | | | keyboard reading more reliable, but for some reason wasn't returning the keyboard state as it should. svn path=/trunk/netsurf/; revision=6034
* If screen mode ID is not set in the options, prompt for a screenmode on ↵Chris Young2009-01-101-59/+126
| | | | | | | | | | | | | | | | | startup. This replaces the old BestModeID() guess based on the window_screen_width, window_screen_height and screen_depth options. use_workbench has been replaced with use_pubscreen. If set, NetSurf will attempt to open on the named public screen. If this fails it will fall back to Workbench (it will not fall back to opening an own screen). use_pubscreen:Workbench is equivalent to use_workbench:1 Allocate ASL file requesters specially for saves, to keep a consistent load/save interface. May also need a seperate one for the ARexx file requester. svn path=/trunk/netsurf/; revision=6025
* Fix crash when launching NetSurf if it is already running.Chris Young2008-12-281-38/+24
| | | | svn path=/trunk/netsurf/; revision=5941
* Minor changes for Amiga Cairo buildChris Young2008-12-281-22/+20
| | | | svn path=/trunk/netsurf/; revision=5940
* Reduce memory usageChris Young2008-12-261-62/+69
| | | | svn path=/trunk/netsurf/; revision=5926
* Update for new SDKChris Young2008-12-201-6/+7
| | | | svn path=/trunk/netsurf/; revision=5915
* Clear display area when switching tabsChris Young2008-12-131-44/+87
| | | | | | | | Remove always_open_tabs Move pointer filenames to theme files svn path=/trunk/netsurf/; revision=5908
* Fixed display of plain text files beyond the initial visible area.Chris Young2008-12-101-1/+2
| | | | svn path=/trunk/netsurf/; revision=5898
* When a visitor window was present on NetSurf's public screen and NetSurf was ↵Chris Young2008-12-071-9/+31
| | | | | | | | | | | | | | | | | quit, the screen would fail to close. Re-launching NetSurf would then fail to open a public screen as a public screen with the same name was already open. The window would end up on the Workbench screen and then crash as the pointer to the screen being used was NULL. This fixes the problem by closing the ARexx port early (this stops any new sessions from thinking NetSurf is still running) and looping until Intuition closes the screen. Running NetSurf will check for a public screen of name NetSurf if opening a new screen fails and use this if present. It will also fall back to using the Workbench screen if both opening a new screen and locking an existing NetSurf screen fails. svn path=/trunk/netsurf/; revision=5886
* Make NetSurf's screen a public screen with the name "NetSurf".Chris Young2008-12-061-0/+11
| | | | svn path=/trunk/netsurf/; revision=5885
* NetSurf will now check if it is already running (ie. if ARexx port NETSURF ↵Chris Young2008-11-161-35/+90
| | | | | | | | | | | | | | | exists), and quit and send an OPEN command to the one in memory if this is the case. Setting files as projects of NetSurf is now possible, as is multi-select launching from Workbench. Multi-selects are not passed through using ARexx yet, only the first file in the list will be opened if NetSurf is already running. Plain text files which have no MIMETYPE tooltype are now correctly identified as text/plain instead of text/ascii, allowing them to be opened locally. svn path=/trunk/netsurf/; revision=5698
* Allow opening of local files from anywhere, not just the parent of the ↵Chris Young2008-11-151-13/+18
| | | | | | current dir. svn path=/trunk/netsurf/; revision=5695
* mime type overflow and tab switching fixes.Chris Young2008-11-091-2/+5
| | | | svn path=/trunk/netsurf/; revision=5660
* AmigaOS implementation of complete page save.Chris Young2008-11-081-2/+19
| | | | svn path=/trunk/netsurf/; revision=5653
* Minor fixes, changing some defaults to safer values, screen_modeid should ↵Chris Young2008-11-031-4/+4
| | | | | | | | | | now work. Added screen_depth to stop it complaining when trying to BestModeID() a 32-bit screen on a system that doesn't have one. svn path=/trunk/netsurf/; revision=5650
* Change memory allocations to MEMF_PRIVATE to enable paging on OS4.1.Chris Young2008-11-021-23/+30
| | | | svn path=/trunk/netsurf/; revision=5649
* ARexx menu with items populated from arexx_dir.Chris Young2008-10-261-3/+28
| | | | svn path=/trunk/netsurf/; revision=5632
* Track the current/last used browser window (at the moment, just for ARexx).Chris Young2008-10-251-3/+10
| | | | | | | | | | | | | | | | | | | | | Extended ARexx port. First two are primarily for openurl.library: * OPEN now takes a parameter NEW=NEWWINDOW/S to open the URL in a new window (default is to open in the current browser window) * TOFRONT will bring NetSurf's screen to the front (this may be extended in the future to bring the current browser window to the front - which might be better for when it is running on the WB screen) Next is to make it easy to support getvideo.rexx: * GETURL returns the URL of the current browser window in RESULT GetVideo.nsrx script will get the current URL and pass it to rexx:getvideo.rexx Currently there is no way to call ARexx scripts directly from NetSurf, or any way to specify whether to save, play or saveplay the video without editing the script. [clipboard.c/clipboard.h were missing from previous commit] svn path=/trunk/netsurf/; revision=5631
* Complete (but quite minimal at the moment) context menu implementation for ↵Chris Young2008-10-251-159/+11
| | | | | | | | | | | | | | | | | AmigaOS: Links, objects and upload file boxes have their own menu item or submenu. Context menus can be enable/disabled and be made "sticky" with the following options: context_menu sticky_context_menu Seperated clipboard related code out to clipboard.c to make it easier to maintain and add the ability to copy URLs to the clipboard. Copying images to the clipboard will come later. svn path=/trunk/netsurf/; revision=5629
* Initial context menus. Five possible options (copy link to clipboard, ↵Chris Young2008-10-211-3/+10
| | | | | | | | | | download link, show object, save object and select file for upload), only one implemented at the moment. Menu structure/strings need some thought and tidy-up (with object and URL options in their own sub-menus?) svn path=/trunk/netsurf/; revision=5612
* Prepare for context menusChris Young2008-10-201-0/+14
| | | | svn path=/trunk/netsurf/; revision=5607
* Various fixes in relation to tabs.Chris Young2008-10-191-28/+48
| | | | svn path=/trunk/netsurf/; revision=5598
* Basic theme support.Chris Young2008-10-181-39/+40
| | | | | | | | | | | NetSurf will use the theme pointed to by the Options file "theme:". Default is Resources/Themes/Default This directory must contain a file called Theme which indicates which files should be used for which images. The number of frames in the Throbber must also be specified here. See Resources/Themes/Default/Theme for an example. svn path=/trunk/netsurf/; revision=5592
* Implemented the ability to add hotlist entries to the Hotlist menu. ↵Chris Young2008-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified the default Hotlist links so they show up in the menu. Currently deleting items from the menu is dangerous. To add to the Hotlist menu, add a folder node called "Menu" to the root node of the hotlist tree. Items in this folder node up to a maximum (currently) of 40 items will be added to the Hotlist menu, within the limits of the Intuition menu system. Items in folders within the Menu folder node will be converted to subitems in the menu. Folder nodes with no entries and folder nodes at level 3 in the heirarchy will become menu items with no action. Items deeper will not be included in the menu at all. eg. Root | +- Menu | +- Netsurf | | | +- NetSurf Homepage | | | +- More NetSurf links | | | +- NetSurf bugtracker | +- Google Will look something like the following within the menu: |NetSurf »| - |NetSurf Homepage | |Google | |More NetSurf links| svn path=/trunk/netsurf/; revision=5577
* AmiUpdate support.Chris Young2008-10-131-2/+29
| | | | svn path=/trunk/netsurf/; revision=5564
* Improved Amiga treeview support. Now creates trees for cookies and history ↵Chris Young2008-10-111-4/+15
| | | | | | | | | (history doesn't populate at the moment). Can add folders and edit titles in hotlist treeviews, and delete entries in all treeviews. svn path=/trunk/netsurf/; revision=5542
* List traversing tidy-up.Chris Young2008-10-061-13/+8
| | | | svn path=/trunk/netsurf/; revision=5499
* Full quit function and associated ARexx command (QUIT)Chris Young2008-10-061-0/+37
| | | | svn path=/trunk/netsurf/; revision=5498
* Closing entire windows instead of just tabs is now possibleChris Young2008-10-061-2/+43
| | | | svn path=/trunk/netsurf/; revision=5497