summaryrefslogtreecommitdiff
path: root/amiga/gui.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Avoid corruption of bottom window border after resizeChris Young2010-03-211-1/+2
| | | | svn path=/trunk/netsurf/; revision=10140
* Squash memory leak and an offset problem related to helphintsChris Young2010-03-171-4/+11
| | | | svn path=/trunk/netsurf/; revision=10137
* More HelpHints, these will work on OS4.1u1 and higher only.Chris Young2010-03-171-7/+24
| | | | svn path=/trunk/netsurf/; revision=10136
* Help hints, mainly for the tabs but also massage messages strings ↵Chris Young2010-03-161-19/+26
| | | | | | | | | HelpToolbar0-4 & 14 into a format we can use on the main toolbar gadgets. A couple of gadgets still missing strings. svn path=/trunk/netsurf/; revision=10134
* Remove caret when window is inactive, re-add when window becomes active again.Chris Young2010-03-151-0/+7
| | | | svn path=/trunk/netsurf/; revision=10133
* Remove caret while "fast scrolling" to prevent caret-trails over the display.Chris Young2010-03-151-0/+8
| | | | svn path=/trunk/netsurf/; revision=10132
* Only draw search favicon on normal browser windowsChris Young2010-03-141-1/+2
| | | | svn path=/trunk/netsurf/; revision=10127
* Fix compilationChris Young2010-02-221-3/+3
| | | | svn path=/trunk/netsurf/; revision=10074
* Attempt fix for OS4.0Chris Young2010-02-211-3/+7
| | | | svn path=/trunk/netsurf/; revision=10073
* Try to avoid the tab switching if closing a tab other than the current one ↵Chris Young2010-02-141-13/+23
| | | | | | | | | (doesn't seem to work, the act of clicking close must implicity switch to that tab) Remove extraneous Add Tab button layout group svn path=/trunk/netsurf/; revision=10058
* Add an Add Tab button.Chris Young2010-02-141-12/+56
| | | | | | | Could probably do with an image for this for the default theme (currently falls back to a textual "+") svn path=/trunk/netsurf/; revision=10053
* New window/tab now opens a blank window/tab rather than one showing the ↵Chris Young2010-02-141-6/+8
| | | | | | current URL svn path=/trunk/netsurf/; revision=10051
* Tidy up includesChris Young2010-02-141-66/+83
| | | | | | Add a separator bar between the toolbar and the main browser area/tabs svn path=/trunk/netsurf/; revision=10050
* Improved tabs for OS4.1u1:Chris Young2010-02-141-61/+139
| | | | | | | | | | | | | * Tabs now have a close gadget embedded * The tab bar only displays if there is more than one tab open * Changed the AISS theme "tab loading" image to something more appropriate Under OS4.0 the old tab close button and permanent tab bar still applies (needs testing as these changes may well have broken it) Users of OS4.1 prior to Update 1 will probably need to update! svn path=/trunk/netsurf/; revision=10045
* Fix new warnings. Not sure if I should be declaring all the gadgets as ↵Chris Young2010-02-131-98/+122
| | | | | | | | | Object *, but that is less casting than declaring them all as struct Gadget * - and allows the merging of object and gadget arrays, which were causing a few problems previously. svn path=/trunk/netsurf/; revision=10039
* Proper download notification code, should also open the file if the ↵Chris Young2010-02-131-2/+17
| | | | | | | | notification is double-clicked, although it doesn't seem to work. svn path=/trunk/netsurf/; revision=10037
* Remove status bar checks which are now in the core.Chris Young2010-02-111-18/+14
| | | | svn path=/trunk/netsurf/; revision=9969
* Refactor main into the frontendsVincent Sanders2010-01-201-0/+7
| | | | | | remove unused embedded global svn path=/trunk/netsurf/; revision=9851
* Prevent crash if screen could not be opened and prefs are subsequently changed.Chris Young2010-01-151-4/+4
| | | | svn path=/trunk/netsurf/; revision=9810
* Prevent status bar text overflowChris Young2010-01-081-0/+10
| | | | svn path=/trunk/netsurf/; revision=9797
* Search and a couple of other new optionsChris Young2009-12-231-1/+4
| | | | svn path=/trunk/netsurf/; revision=9756
* Functional search bar; search icon doesn't refresh if the search area is resizedChris Young2009-12-221-1/+13
| | | | | | however. svn path=/trunk/netsurf/; revision=9755
* Non-functional search barChris Young2009-12-211-3/+81
| | | | svn path=/trunk/netsurf/; revision=9754
* Vertically centre the main row of toolbar gadgets as it looks much neater.Chris Young2009-12-201-0/+5
| | | | svn path=/trunk/netsurf/; revision=9752
* Make favicons work properly with tabsChris Young2009-12-191-18/+32
| | | | svn path=/trunk/netsurf/; revision=9742
* Preliminary favicon support - doesn't display properly due to endian issue inChris Young2009-12-191-0/+41
| | | | | | libnsbmp svn path=/trunk/netsurf/; revision=9740
* Simple web search implementationChris Young2009-12-181-2/+16
| | | | svn path=/trunk/netsurf/; revision=9735
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-171-1/+18
| | | | svn path=/trunk/netsurf/; revision=9729
* Allow hiding of Docky icon by setting hide_docky_icon:1Chris Young2009-12-131-1/+4
| | | | | | | (bit of a workaround involved as REGAPP_NoIcon doesn't appear to check the tag value) svn path=/trunk/netsurf/; revision=9725
* Added keyboard navigation of tabs, using Alt+Left/RightChris Young2009-12-131-0/+38
| | | | svn path=/trunk/netsurf/; revision=9724
* Fix some potential issues with lists not being freed properlyChris Young2009-11-151-1/+0
| | | | svn path=/trunk/netsurf/; revision=9677