summaryrefslogtreecommitdiff
path: root/amiga/gui.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix schedule_run so it doesn't occur outside gui_poll.Chris Young2008-09-131-3/+1
| | | | svn path=/trunk/netsurf/; revision=5311
* Improved throbber, works independently on multiple windows, stops when it ↵Chris Young2008-09-131-15/+87
| | | | | | | | | | | | | | should, no weird crashes, lock-ups etc. The format has changed, Resources/Throbber now needs to be in a picture.datatype format, as a "film strip" of frames with the first image the inactive (stopped throbber) and the rest the active animation. The number of frames needs to be set in the Options file throbber_frames variable (currently - will probably move to a tooltype of Resources/Throbber in the future for better theming ability) svn path=/trunk/netsurf/; revision=5310
* Added ability to load toolbar images from a different path.Chris Young2008-09-111-15/+55
| | | | | | | | | | | | | | | | | | | | Default is still TBImages: (ie AISS, http://www.masonicons.de) All of the following must be present, in any format that bitmap.image will load (usually this means any picture.datatype subclasses): home, home_g, home_s - Home button nav_east, nav_east_g, nav_east_s - History forward nav_west, nav_west_g, nav_west_s - History back reload, reload_g, reload_s - Reload stop, stop_g, stop_s - Stop The _g and _s files are ghosted and selected versions respectively. To set the path, use toolbar_images:<path> in Options. svn path=/trunk/netsurf/; revision=5304
* Basic throbber support code. The throbber is shared between windows and must beChris Young2008-09-111-2/+34
| | | | | | | | | | | | | stored as Resources/Throbber in animation.datatype supported format. The default animation is a small IFF ANIM which is only good for testing purposes. This throbber code is likely to be replaced by custom animation code in the future as using animation.datatype has issues and restrictions (only 8-bit formats, using NewDTObject() twice on the same file doesn't seem to work correctly, clicking on the anim starts it playing etc) svn path=/trunk/netsurf/; revision=5303
* Disabled the new scheduler by default as it is more unstable than I thought :(Chris Young2008-09-091-0/+3
| | | | | | Defining AMI_SCHEDULER_USES_TIMER will enable it again. svn path=/trunk/netsurf/; revision=5291
* New mouse pointer images by Martin Merz (Mason)Chris Young2008-09-081-10/+11
| | | | | | Extended pointer size to 32x32 pixels. svn path=/trunk/netsurf/; revision=5288
* Scheduled events now signal when the scheduled time has passed.Chris Young2008-09-081-15/+36
| | | | | | The timer appears to stop signalling events occasionally - needs some investigation. svn path=/trunk/netsurf/; revision=5287
* Support for dragging in files (for file upload forms etc)Chris Young2008-09-071-10/+108
| | | | svn path=/trunk/netsurf/; revision=5271
* Much more efficient message handling/input loops, allows me to raise task ↵Chris Young2008-09-041-33/+75
| | | | | | | | priority back to default of 0 without impacting other processes. svn path=/trunk/netsurf/; revision=5238
* Moved menu selection code to menu.cChris Young2008-09-031-184/+130
| | | | svn path=/trunk/netsurf/; revision=5230