summaryrefslogtreecommitdiff
path: root/amiga/gui.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixed some problems with tabs, added a tab close gadget.Chris Young2008-10-051-16/+39
| | | | svn path=/trunk/netsurf/; revision=5489
* Kiosk mode (borderless window, no gadgets or menu etc)Chris Young2008-10-051-184/+250
| | | | | | | | | To enable, set kiosk_mode:1 Requested for upcoming Amiga show. svn path=/trunk/netsurf/; revision=5484
* AmigaOS tabs implementation.Chris Young2008-10-051-39/+112
| | | | | | | | | | | Two new strings: NewTab, CloseTab Two new options: always_open_tabs indicates to open tabs instead of windows by default new_tab_is_active makes any new tab the current one (default is to open tabs in background) svn path=/trunk/netsurf/; revision=5483
* Incomplete support for tabbed browsing.Chris Young2008-10-041-171/+255
| | | | svn path=/trunk/netsurf/; revision=5482
* Minimal ARexx port.Chris Young2008-09-291-1/+9
| | | | | | | | | | | Port name: NETSURF Commands supported: OPEN OPEN URL/A Opens URL specified by URL argument in new browser window. svn path=/trunk/netsurf/; revision=5462
* - Accept a URL as an argument to open that page on startup (this is needed ↵Chris Young2008-09-281-50/+66
| | | | | | | | | for OpenURL support) - Fix loads of warnings svn path=/trunk/netsurf/; revision=5460
* When the treeview window is the last one on screen and it is closed, NetSurf nowChris Young2008-09-281-0/+5
| | | | | | quits. svn path=/trunk/netsurf/; revision=5456
* Treeview window event handling (currently just double-clicking hotlist items andChris Young2008-09-281-11/+17
| | | | | | closing the window) svn path=/trunk/netsurf/; revision=5453
* Improved text cursorChris Young2008-09-271-8/+12
| | | | svn path=/trunk/netsurf/; revision=5449
* Experimental treeview implementation using listbrowser.gadget.Chris Young2008-09-271-10/+38
| | | | svn path=/trunk/netsurf/; revision=5447
* If use_os_pointers is off and no Wait pointer image has been loaded from ↵Chris Young2008-09-231-1/+11
| | | | | | | | disk, we now use the OS busy pointer instead of the OS default pointer. svn path=/trunk/netsurf/; revision=5427
* 32-bit mouse pointer support.Chris Young2008-09-221-67/+165
| | | | | | | | | | | | | | | The pointer imagery are the icon files of the 4-colour custom text file images. Tooltypes XOFFSET and YOFFSET specify the "point" of the image. The 32-bit pointers can be disabled by setting option truecolour_mouse_pointers:0 The OS pointers (for "Default" and "Wait" only) can be used by setting os_mouse_pointers:1 Deleting the relevant files has the same effect :) This complete set of 32-bit images is drawn by Martin Merz (Mason). The code to read them is derived from sample code by Joerg Strohmayer. svn path=/trunk/netsurf/; revision=5401
* Fix signalling of events from 401 login windowChris Young2008-09-211-1/+0
| | | | svn path=/trunk/netsurf/; revision=5389