summaryrefslogtreecommitdiff
path: root/frontends/gtk
Commit message (Collapse)AuthorAgeFilesLines
* clean up some more handler code and remove button pushVincent Sanders2019-09-212-83/+117
|
* make menu sensitivity workVincent Sanders2019-09-213-168/+102
| | | | what remains is interfaces to make the toolbar appropriately sensative
* make menus work againVincent Sanders2019-09-212-35/+38
|
* make web search box workVincent Sanders2019-09-213-150/+148
|
* add home button clicked handlerVincent Sanders2019-09-212-71/+155
|
* implement several more button press handlersVincent Sanders2019-09-213-30/+140
|
* connect button clicked events for local history and stop buttonsVincent Sanders2019-09-213-206/+254
|
* fix url enttry completionVincent Sanders2019-09-213-23/+59
|
* cleanup toolbar warningsVincent Sanders2019-09-212-5/+4
|
* make url entry repond to navigate and update signalsVincent Sanders2019-09-214-13/+113
|
* make toolbar url entry display urlVincent Sanders2019-09-215-32/+179
|
* working throbberVincent Sanders2019-09-215-76/+161
|
* move toolbar to be in tab contentsVincent Sanders2019-09-214-24/+149
|
* get the code to at least compile again. toolbar is completely brokenVincent Sanders2019-09-213-685/+742
|
* moved most of init to toolbar.cVincent Sanders2019-09-218-696/+1049
|
* fix spelling mistakes from miscellaneous event commitVincent Sanders2019-08-201-1/+1
|
* add miscellaneous event to browser window callback tableVincent Sanders2019-08-201-9/+43
| | | | | | | | | | | | extend the browser window callback table with a miscallaneous event entry. This is used to replace all browser window callbacks which take no parameters. This reduces the API surface from seven separate calls to a single call with an enumeration which may be readily extended. The initial implementation in the frontends simply calls the original implementations to reduce scope for errors.
* access gtk throbber frames through an interfaceVincent Sanders2019-08-184-39/+92
| | | | | | This changes the gtk throbber frames to be accessed through an API This removes teh nsgtk_throbber global and hides the implementation details from the rest of the code.
* Move favicon from url entry widget to notebook tab labelVincent Sanders2019-08-157-82/+133
|
* remove login window from gtk front endVincent Sanders2019-08-138-652/+1
|
* Support SSL verification through new about: handlerDaniel Silverstone2019-08-061-1/+0
| | | | | | | | In doing this, also propagate why the certificates were bad so that the page can display a reason. We will need FatMessages for all these. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Reimplement handling of BAD_AUTH inside browser_windowDaniel Silverstone2019-08-061-1/+0
| | | | | | | | | | | | | We now handle authentication requests via an `about:` page which presents a nice form built into the browser window. In order to do this, we add internal navigation as a concept to the browser window and we strip the 401login support from all frontends except monkey. The 401login callback is now intended for password safe type support rather than an immediately interactive prompt. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove unused gtk window interfaces and clean up documentationVincent Sanders2019-08-042-20/+66
|
* Corewindow: Sanitise scrolling API.Michael Drake2019-08-031-40/+40
| | | | | | | Now the core has a helper so that all the front ends don't need to implement the scroll to show area API. Now they simply have get and set scroll APIs.
* make use of improved browser_window_set_scale API in frontendsVincent Sanders2019-08-031-4/+2
|
* change browser_window_get_features to use unscaled coordinatesVincent Sanders2019-08-032-6/+3
|
* change browser_window_mouse_track to use unscaled coordinatesVincent Sanders2019-08-031-9/+3
|
* change browser_window_mouse_click to use unscaled coordinatesVincent Sanders2019-08-032-10/+21
| | | | | this means frontends no longer need to scale mouse click events thus simplifying their implementation.
* gtk/local_history: Scroll local history to cursor on displayDaniel Silverstone2019-08-021-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* gtk/corewindow.c: Correctly handle scroll_visibleDaniel Silverstone2019-08-021-12/+38
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* gtk, beos: Run scheduler before fetching fdsetDaniel Silverstone2019-08-021-2/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove scaled parameter from get_dimensionsVincent Sanders2019-08-021-10/+1
|
* GTK: Update for unscaled bw invalidate rectangle.Michael Drake2019-08-011-6/+4
|
* split browser and browser_window operationsVincent Sanders2019-08-011-0/+1
|
* GTK: prefer using curl's intrinsic defaults for CURLOPT_CA*Samuel Dionne-Riel2019-08-011-5/+1
| | | | | | | | | | | | | | On distributions that ship only a ca-bundle in `/etc/ssl`, the configuration set at initialization will force curl to look for certificates that are not present in this directory. Removing the setting instead makes curl use its internal default. The framebuffer frontend will not set this option, and the only other frontend that sets it is BeOS. This issue can be observed (likely among other) on the NixOS Linux distribution.
* gtk/fetch.c & monkey/filetype.c: ascii_is_space already checks for newline.brabo2019-08-011-6/+2
|
* gtk/fetch.c & monkey/filetype.c: small comment correction.brabo2019-08-011-1/+1
|
* Declare global variables as extern in headersMichael Forney2019-06-304-4/+4
| | | | | | | Otherwise, each source file that includes the header will create a new definition, which are usually merged together by the linker. Multiple definitions of an object is not allowed in ISO C.
* Update schedulers return codesVincent Sanders2019-06-081-18/+34
| | | | | The GTK and monkey frontends schedulers now return NSERROR_NOT_FOUND when a caller is using a negative schedule time to remove a callback.
* change content get_source_data interfaces to return uint8_t and size_tVincent Sanders2019-05-051-4/+5
| | | | | previously these interfaces returned char * and unsigned int which was undesirable.
* fix enum name incompatability between gtk 2 and 3Vincent Sanders2019-05-052-1/+7
|
* centralise monkey output generationVincent Sanders2018-11-031-4/+7
|
* GTK: Squash GCC8.2 warning.Michael Drake2018-11-031-2/+14
| | | | | | | frontends/gtk/download.c: In function ‘gui_download_window_create’: frontends/gtk/download.c:829:10: warning: cast between incompatible function types from ‘gboolean (*)(gboolean)’ {aka ‘int (*)(int)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Wcast-function-type] (GSourceFunc) nsgtk_download_update, FALSE); ^
* GTK: Make nsgtk_download_selection_action match GFunc prototype.Michael Drake2018-11-031-4/+10
| | | | | | | | | | Squashes GCC 8.2 warning: frontends/gtk/download.c:244:22: warning: cast between incompatible function types from ‘nsgtk_download_selection_action’ {aka ‘void (*)(struct gui_download_window *)’} to ‘void (*)(void *, void *)’ [-Wcast-function-type] g_list_foreach(dls, (GFunc)action, NULL); ^
* GTK: Squash a couple of warnings from GCC 8.2.Michael Drake2018-11-031-2/+22
| | | | | | | | | | | | | frontends/gtk/download.c: In function ‘nsgtk_download_do’: frontends/gtk/download.c:238:24: warning: cast between incompatible function types from ‘void (*)(GtkTreePath *)’ {aka ‘void (*)(struct _GtkTreePath *)’} to ‘void (*)(void *, void *)’ [-Wcast-function-type] g_list_foreach(rows, (GFunc)gtk_tree_path_free, NULL); ^ frontends/gtk/download.c:239:24: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] g_list_foreach(rows, (GFunc)g_free, NULL); ^
* fix stupid typo in previous commitVincent Sanders2018-10-081-1/+1
|
* explicitly check for null string before compareVincent Sanders2018-10-061-1/+1
|
* squash clang warning about increased alignment requirements.Vincent Sanders2018-09-261-1/+2
|
* seems freebsd needs _XOPEN_SOURCE for math.h macros to be definedVincent Sanders2018-09-061-0/+1
|
* stop defining _XOPEN_SOURCEVincent Sanders2018-09-061-1/+0
| | | | | This is necessary with some libc as it overrides _POSIX_C_SOURCE and removes definitions of scandir etc.