summaryrefslogtreecommitdiff
path: root/amiga/gui.c
Commit message (Collapse)AuthorAgeFilesLines
* Make drag scrolls work more reliably and only within 10px of render areaChris Young2010-12-181-16/+22
| | | | svn path=/trunk/netsurf/; revision=11093
* Allow double-clicks in main browser and middle button double-clicks in treeviewChris Young2010-12-161-4/+54
| | | | svn path=/trunk/netsurf/; revision=11083
* Small refactor to change icon names to being passed in from frontends ↵Vincent Sanders2010-12-141-1/+1
| | | | | | instead of core treeview globals svn path=/trunk/netsurf/; revision=11053
* Remove Hubbub and Wapcaplet initialisation and finalisation.Michael Drake2010-12-041-10/+0
| | | | svn path=/trunk/netsurf/; revision=10980
* Fix serious crash if NetSurf is running twice (once with the FORCE switch) on aChris Young2010-11-211-13/+3
| | | | | | | NetSurf-created public screen, and the sessions are quit in the reverse order to which they were launched. svn path=/trunk/netsurf/; revision=10950
* Amiga icon loader. Treeviews will now use the user's icons for content types.Chris Young2010-10-301-4/+2
| | | | svn path=/trunk/netsurf/; revision=10925
* Move drag icon stuff to own file; fix warningsChris Young2010-10-301-38/+2
| | | | svn path=/trunk/netsurf/; revision=10922
* Fix content icons in treeviewsChris Young2010-10-291-0/+3
| | | | svn path=/trunk/netsurf/; revision=10918
* Only allow auto-scroll on selection and selection dragsChris Young2010-10-241-1/+3
| | | | svn path=/trunk/netsurf/; revision=10904
* Auto-scroll on drags beyond window boundariesChris Young2010-10-191-3/+26
| | | | svn path=/trunk/netsurf/; revision=10894
* Merge treeview-redux to trunkJohn Mark Bell2010-10-051-43/+46
| | | | svn path=/trunk/netsurf/; revision=10865
* Ensure kiosk_mode and frame windows are (a) handled the same wrt menus and ↵Chris Young2010-09-281-11/+17
| | | | | | | | (b) not trying to manipulate non-existant menus svn path=/trunk/netsurf/; revision=10855
* Revert previous changeChris Young2010-09-191-1/+5
| | | | svn path=/trunk/netsurf/; revision=10800
* Try to avoid corruption when moving cursor around in text boxesChris Young2010-09-191-2/+6
| | | | svn path=/trunk/netsurf/; revision=10799
* Remove unused #includeChris Young2010-09-171-3/+0
| | | | svn path=/trunk/netsurf/; revision=10795
* Prevent assert on non-HTML contentsChris Young2010-09-161-1/+4
| | | | svn path=/trunk/netsurf/; revision=10789
* Use core file fetcherChris Young2010-09-121-2/+0
| | | | svn path=/trunk/netsurf/; revision=10759
* Add startup and shutdown ARexx scripts (default to startup.nsrx and ↵Chris Young2010-08-281-3/+16
| | | | | | | | shutdown.nsrx) Remove PROGDIR: from arexx_dir default as AM_EXECUTE can't find files in PROGDIR: svn path=/trunk/netsurf/; revision=10719
* Correct font nameChris Young2010-08-061-1/+1
| | | | svn path=/trunk/netsurf/; revision=10683
* off by oneChris Young2010-07-311-1/+1
| | | | svn path=/trunk/netsurf/; revision=10673
* Show an icon under the pointer for drag saves (missed from previous commit)Chris Young2010-07-281-1/+4
| | | | svn path=/trunk/netsurf/; revision=10671
* Allow text selection dragging across (NetSurf) windows. DisplayBeep if it ↵Chris Young2010-07-271-5/+43
| | | | | | | | is dropped somewhere invalid. svn path=/trunk/netsurf/; revision=10665
* Fix clipping for non-HTML contentsChris Young2010-07-261-8/+8
| | | | svn path=/trunk/netsurf/; revision=10664
* Fix menu disable on tab switch and CutChris Young2010-07-241-41/+11
| | | | svn path=/trunk/netsurf/; revision=10661
* Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow ↵Chris Young2010-07-241-0/+85
| | | | | | | | | | | dragging selections within NetSurf window to text fields (does not work across windows). todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is putting something on the clipboard which causes a crash when pasting it back svn path=/trunk/netsurf/; revision=10660
* Fix some typesChris Young2010-06-261-16/+19
| | | | | | If "easy" charset conversion fails, return a copy of the original string. svn path=/trunk/netsurf/; revision=10580
* More calculation fixesChris Young2010-06-061-12/+4
| | | | svn path=/trunk/netsurf/; revision=10567
* Remove scroll positions from ami_do_redraw_limits, fix positional calcs inChris Young2010-06-051-23/+22
| | | | | | gui_window_set_scroll svn path=/trunk/netsurf/; revision=10564
* When redrawing part of a page, draw with respect to the position NetSurf ↵Chris Young2010-06-051-2/+10
| | | | | | | | | | | believes the scrollbars are in, rather than where they actually are. This resolves an issue with graphical corruption and animations, when using the scrollbars to scroll the page (the anim redraw was happening before the event to say the scrollbar had moved was being received) svn path=/trunk/netsurf/; revision=10563
* + Refactor input handling from browser window code into contentMichael Drake2010-06-041-6/+7
| | | | | | | | | | | | | handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561
* Amiga font code revamped and fixed. Will now fall back to a different font ↵Chris Young2010-05-061-0/+18
| | | | | | | | | | | if the character isn't present in the current one, this needs a complete or near-complete Unicode font in order to be useful - Code2000 and Bitstream Cyberbit are auto-detected by NetSurf on startup if none is configured. Japanese websites now display correctly, along with Japanese characters within Google UK search results etc. svn path=/trunk/netsurf/; revision=10551
* Consolidate several 'myrealloc' functions into ns_realloc, rename one which ↵Daniel Silverstone2010-04-301-12/+2
| | | | | | *is* different, thereby eliminating the word 'myrealloc' from the NS codebase svn path=/trunk/netsurf/; revision=10530
* It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by ↵John Mark Bell2010-04-301-0/+5
| | | | | | | | the C standard (whereas realloc(NULL, size) --> malloc(size) is). Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free). svn path=/trunk/netsurf/; revision=10524
* Reformat all tabs when window size changesChris Young2010-04-271-4/+18
| | | | svn path=/trunk/netsurf/; revision=10504
* Ensure menu state is correct when switching tabsChris Young2010-04-241-37/+2
| | | | svn path=/trunk/netsurf/; revision=10476
* Use our ca-bundle by default, rather than one in devs: which may not existChris Young2010-04-221-1/+4
| | | | svn path=/trunk/netsurf/; revision=10456
* Fix broken event handling.Chris Young2010-04-091-20/+36
| | | | | | | Any structures attached to the window_list *must* have a struct nsObject * as their first entry, and handle events outside of gui.c. svn path=/trunk/netsurf/; revision=10332
* Remove verbose_log from options fileChris Young2010-04-031-3/+1
| | | | | | Copy libz as I've built 1.2.4 and it has faster gzip code svn path=/trunk/netsurf/; revision=10230
* Use DataTypes to read text files that are dropped into text boxes, this ↵Chris Young2010-04-021-13/+33
| | | | | | | | allows more exotic formats to be read such as IFF FTXT. svn path=/trunk/netsurf/; revision=10229
* ...and right a bitChris Young2010-04-021-4/+3
| | | | svn path=/trunk/netsurf/; revision=10228
* Move status bar text up a bit...Chris Young2010-04-021-2/+2
| | | | svn path=/trunk/netsurf/; revision=10227
* netsurf_init expects a char ***, not a char **Chris Young2010-04-011-7/+10
| | | | | | | | | Change command template so URL is a keyword. This avoids the platform code re-interpreting core options (eg -v as a URL). Move screen open code slightly so "NetSurf ?" shows the template visibly, rather than opening an empty screen and the user not knowing what is happening. svn path=/trunk/netsurf/; revision=10224
* netsurf_init expects a pointer, not an intChris Young2010-03-301-1/+1
| | | | svn path=/trunk/netsurf/; revision=10216
* second pass at startup refactor removing the gui_init callbackVincent Sanders2010-03-291-7/+7
| | | | svn path=/trunk/netsurf/; revision=10205
* first part of initialisation refactor move gui_init2 into frontendsVincent Sanders2010-03-291-13/+17
| | | | svn path=/trunk/netsurf/; revision=10202
* Allow NetSurf to be opened from the CLI without a URL specified.Chris Young2010-03-281-4/+13
| | | | | | | | Add new switch FORCE which will force a new instance of NetSurf to open rather than opening a new window in the already-running application (intended for debugging when NetSurf has crashed) svn path=/trunk/netsurf/; revision=10189
* Changes required for new-cacheChris Young2010-03-281-36/+43
| | | | svn path=/trunk/netsurf/; revision=10186
* If a file isn't dropped over a text box or a file box, just load it.Chris Young2010-03-231-0/+5
| | | | svn path=/trunk/netsurf/; revision=10148
* Tidy up. Can almost tell what is going on in gui_init now.Chris Young2010-03-231-91/+111
| | | | svn path=/trunk/netsurf/; revision=10146
* Factor Amiga theme-related code out to a new file. This includes all ↵Chris Young2010-03-231-440/+9
| | | | | | | | | throbber and mouse pointer code (which are "theme modifiable") as well as normal theme reading code. svn path=/trunk/netsurf/; revision=10145