summaryrefslogtreecommitdiff
path: root/frontends/gtk
Commit message (Collapse)AuthorAgeFilesLines
* tidy up GTK frontend initialisationVincent Sanders2021-02-221-514/+544
|
* split out gtk misc operations from gui moduleVincent Sanders2021-02-224-279/+360
|
* Improve target setup in makefilesVincent Sanders2021-01-171-0/+16
| | | | | split out HOST TARGET and SUBTARGET generation into separate file. split out target(frontend) specific tool settings into separate files.
* add back/forward mouse button processing to GTK frontendVincent Sanders2021-01-022-2/+16
|
* gtk: In path plotter, maintain cairo transformation offsetDaniel Silverstone2020-10-031-2/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* gtk/bitmap: Assert surface width/height non-zeroDaniel Silverstone2020-10-031-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Make GTK UI resources more consistentVincent Sanders2020-09-0430-33/+28
| | | | | | | | | | | | | | The GTK UI resources have to be different resources between major versions. When kept in one directory with slightly different filenames they were difficult to distinguish and resource definition was difficult to update. The resources for both gtk versions were stored in both builds resulting in unneccessary increased binary size. The new stratagy lists the UI files once in a single gresources file and only includes what is required. If a UI file is added it must be provided in both gtk2 and 3 or a build failure will occour rather than a runtime error.
* Makefile: add Chinese (Simplified) translation targetZixing Liu2020-09-023-1/+5
| | | | Signed-off-by: Zixing Liu <liushuyu@aosc.io>
* resources: add Chinese (Simplified) translationsWeiyi Xu2020-09-023-0/+3
| | | | | | Signed-off-by: Weiyi Xu <xuweiyi0923@gmail.com> Signed-off-by: Zixing Liu <liushuyu@aosc.io> Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
* gtk compile din resource list was missing pageinfo for gtk2 buildVincent Sanders2020-08-151-15/+16
|
* gtk: Implement handling of new present_cookies callbackDaniel Silverstone2020-05-234-3/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* gtk: Do not attempt to use now-freed scaffolding when iterating them to quitDaniel Silverstone2020-05-221-1/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* frontends/gtk: Defocus search before selecting all in relevant core windowsDaniel Silverstone2020-05-223-0/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* chore: Perform sslcert_viewer-ectomyDaniel Silverstone2020-05-224-386/+0
| | | | | | | | | | | This removes the sslcert_viewer entirely from the code. Where possible I've also trimmed out of frontends any code I think should not be present. Frontends should check and remove any further references that I have failed to catch. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Add transient popup behaviour for local history tooDaniel Silverstone2020-05-0910-7/+131
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Change toolbar page-info to use compat allocation functionDaniel Silverstone2020-05-091-1/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Cause the page-info popup to appear in the right placeDaniel Silverstone2020-05-088-0/+90
| | | | | | | | | | | | | To position the page-info window we have to tunnel all the way from the current scaffolding, via its top-level gui window, through to the toolbar. In the toolbar we look up the URL bar and then determine the screen coordinates of the scaffolding via the top level widget GTK semantics. Finally we place the page-info window 4 pixels down and right of the bottom-left of the entry box, which should look nice. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK RES: Make page info windows popup typeDaniel Silverstone2020-05-082-0/+2
| | | | | | | | | In order for GTK windows to be styled properly, in the context we use them, the page-info windows need to be marked as popup windows (typically used for transient popups such a menus, so ideal for us). Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Make page info transient properly, handle events, etc.Daniel Silverstone2020-05-081-4/+44
| | | | | | | | | This makes the page info properly transient and causes it to handle activity in the corewindow and outside itself properly. This includes ensuring that actions outside the window will close it, etc. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* add page information ui elements to GTK frontendVincent Sanders2020-03-116-83/+101
|
* GTK: Initial page-info display.Michael Drake2020-03-111-44/+15
|
* Frontends: Delete maps resource links.Michael Drake2020-02-242-2/+0
|
* About fetches resources: Drop maps resource.Michael Drake2020-02-243-3/+1
| | | | It had bitrotted.
* GTK: Page info: Change crtvrfy to pi throughout.Michael Drake2020-02-231-39/+39
|
* Keep the complete certificate chain from a fetchVincent Sanders2020-02-231-5/+9
| | | | | | | | | Instead of extracting information from the X509 certificate chain in the fetcher the entire chain is propagated in Distinguished Encoding Rules (DER) format. This allows all the information contained in a certificate chain to be retained which can subsequently be presented to the user
* GTK: When we update the dimensions, resize the gridDaniel Silverstone2020-02-221-0/+5
| | | | | | | By doing this, we ensure the scrollbars update their thumbs properly, otherwise they can lag behind the page shape somewhat. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Drain GTK events before schedule_run()Daniel Silverstone2020-02-221-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Catch a couple of missed flag renamesDaniel Silverstone2020-02-222-2/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Update preferences dialog to use GtkBoxDaniel Silverstone2020-02-221-43/+86
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Core window: Constify the core_window handle through the getters.Michael Drake2020-02-221-2/+3
|
* GTK: Remove hack for url bar refresh on throbber stopDaniel Silverstone2020-02-221-3/+0
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Ensure that we don't frob the URL bar from the scaffoldDaniel Silverstone2020-02-222-4/+4
| | | | | | | | To correctly refocus the location box on tab switching we need to not update the url of the tab when the scaffold updates its global context. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Add a location focus state machineDaniel Silverstone2020-02-223-3/+73
| | | | | | | | | | Because the initial navigation process on new browser window creation is somewhat complex, we need a small state machine in the GTK UI to ensure that we handle the correct combination of focussing needed to maintain selection through initial tab opening. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Request and honour location focusDaniel Silverstone2020-02-222-1/+8
| | | | | | | | So that when we create a new tab we automatically focus the location box, pass the flag into create, and honour it when it comes back to us. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Use new BW_CREATE_FOREGROUND flagsDaniel Silverstone2020-02-224-25/+10
| | | | | | | | | This gets rid of temp_open_background which was, frankly, a bit of an eyesore. In addition it makes the open-in-new-tab context menu action behave like Firefox's with respect to the user's preference regarding whether or not to immediately focus new tabs. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Remove unused minimum GIF delay option.Michael Drake2020-02-213-97/+0
|
* GTK3: Also enable focus for other core windows.Daniel Silverstone2020-02-213-3/+3
| | | | | | | This should enable keyboard support for the other core windows such as cookies, global history and the hotlist. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK3: Permit Local History to be focussedDaniel Silverstone2020-02-211-1/+1
| | | | | | | | | In order to let keypresses operate the local history window on GTK3 we have to permit the drawing area to get focus so that the keypresses actually make their way into the event loop in the correct place. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* remove unused render_resample option from beos, gtk and monkey frontendsVincent Sanders2019-12-214-44/+2
|
* GTK: fix missing includesJohn-Mark Bell2019-12-212-0/+3
|
* remove long unused plugin option from gtk and monkeyVincent Sanders2019-12-174-46/+4
|
* Buildsystem: GTK: Change gtk target to gtk2, which builds nsgtk2.Michael Drake2019-12-021-7/+1
|
* set debug text to correct levelVincent Sanders2019-12-011-1/+1
|
* make gtk frontend use page information iconsVincent Sanders2019-12-015-11/+136
|
* add gtk icon resources for page informationVincent Sanders2019-12-012-1/+11
|
* repurpose ssl certificate core window for nitial page infor window on gtkVincent Sanders2019-12-015-23/+60
|
* make gtk tab closeable with middle clickVincent Sanders2019-11-301-11/+43
| | | | | Implements feature request "Please add middle-click on tab to close." Fixes: #2720.
* ensure caret is handled correctly on gtk when focus is removed from layoutVincent Sanders2019-11-271-0/+18
|
* remove warning callback from miscelaneous function tableVincent Sanders2019-11-111-1/+0
|
* ensure save_complete resources are correctly finalised before quitVincent Sanders2019-10-241-0/+6
|