summaryrefslogtreecommitdiff
path: root/frontends/gtk
Commit message (Collapse)AuthorAgeFilesLines
* use attributes to indicate switch fall through instead of commentsVincent Sanders2024-03-052-2/+5
|
* fix c library API flags for freebsd when building GTKVincent Sanders2024-03-051-2/+8
|
* Resources: Add french static filesÉtienne Deparis2024-03-014-0/+6
|
* fix gtk frontend download destroy function definitionVincent Sanders2024-02-271-1/+1
|
* Implement simple jpeg xl image handlerVincent Sanders2023-11-261-0/+1
|
* Ensure the current scaffold remains validVincent Sanders2023-11-251-0/+12
| | | | | | When a scaffold was being destroyed the currently selected scaffold could become a reference to a destroyed object. This would result in crashes subsequently when the current scaffold was referenced. The change is simply to ensure the selected scaffold is changed to something valid during destruction.
* gtk: Don't try to make zero-size bitmapsMichael Drake2023-01-241-0/+4
| | | | | Fixes complete failure to render wikipedia and the register when built against rsvg.
* add rsvg image decoder that uses the new APIVincent Sanders2022-11-271-0/+2
|
* gtk: toolbar: Handle snprintf errorMichael Drake2022-10-231-1/+8
|
* gtk: pixbuf creation: Avoid int overflow before size_t conversionMichael Drake2022-10-231-1/+1
|
* s/http/https/ in user-facing URIsJohn-Mark Bell2022-05-271-3/+3
|
* GTK: Simplify opaque bitmap handling.Michael Drake2022-03-292-52/+6
| | | | | Avoid creating new bitmaps and copying in set_opaque by always using an RGBA format.
* Bitmap: Implement test_opaque in core instead of in every frontend.Michael Drake2022-03-291-31/+0
|
* GTK: Bitmap: Converted bool not needed any more.Michael Drake2022-03-281-1/+0
|
* GTK: Drop bitmap format logging that's duplicated in the core.Michael Drake2022-03-281-1/+0
|
* GTK: Get the core to handle premultipled alpha bitmap format.Michael Drake2022-03-282-170/+1
|
* GTK: Search: Squash implicit declaration of malloc.Michael Drake2022-03-281-0/+1
|
* GTK: Scaffolding: Squash implicit declaration of malloc, free.Michael Drake2022-03-281-0/+1
|
* GTK: Misc: Squash strcmp and strdup implicit declaration warnings.Michael Drake2022-03-281-0/+2
|
* GTK: Set bitmap format to match Cairo format.Michael Drake2022-03-282-12/+47
| | | | Cairo format is native endian 0xAARRGGBB.
* Bitmap API: Clean up creation flags.Michael Drake2022-03-241-4/+4
|
* GTK: Drop bitmap save callback entry; core doesn't use it.Michael Drake2022-03-241-18/+0
|
* GTK: Drop bitmap get bpp function.Michael Drake2022-03-241-17/+0
|
* GTK: Add support for word left/right keybindings.Michael Drake2022-01-231-0/+4
|
* GTK: Add support for word delete left/right.Michael Drake2022-01-221-0/+4
| | | | These are ctrl+delete and ctrl+backspace.
* 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