summaryrefslogtreecommitdiff
path: root/frontends/gtk/window.c
Commit message (Collapse)AuthorAgeFilesLines
* GTK: Cause the page-info popup to appear in the right placeDaniel Silverstone2020-05-081-0/+7
| | | | | | | | | | | | | 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: 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: Catch a couple of missed flag renamesDaniel Silverstone2020-02-221-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* GTK: Add a location focus state machineDaniel Silverstone2020-02-221-1/+3
| | | | | | | | | | 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-221-0/+7
| | | | | | | | 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-221-16/+8
| | | | | | | | | 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>
* make gtk frontend use page information iconsVincent Sanders2019-12-011-0/+13
|
* ensure caret is handled correctly on gtk when focus is removed from layoutVincent Sanders2019-11-271-0/+18
|
* make throbber visible in tab icon while activeVincent Sanders2019-10-081-16/+89
|
* persist the menu and tool bar visibility as user settingsVincent Sanders2019-09-211-0/+19
|
* remove leftover sighandler codeVincent Sanders2019-09-211-7/+0
|
* remove unused signal handler apiVincent Sanders2019-09-211-7/+2
|
* fix resource release and stopping throbber on toolbar widget destructionVincent Sanders2019-09-211-7/+0
|
* make the gtk_search structure private to teh gtk search objectVincent Sanders2019-09-211-1/+1
|
* clean up find in page to operate nicelyVincent Sanders2019-09-211-2/+2
|
* move search toolbar to be per tab and move implementation to one placeVincent Sanders2019-09-211-1/+28
|
* ensure pixbuf references are updated correctly to avoid leaksVincent Sanders2019-09-211-1/+5
|
* toolbar customisation can now apply chnagesVincent Sanders2019-09-211-1/+12
|
* allow toolbar customisation to open a tabVincent Sanders2019-09-211-19/+22
|
* make toolbar and menubar hiding work appropriatelyVincent Sanders2019-09-211-84/+146
|
* fix toolbar property updateVincent Sanders2019-09-211-4/+8
|
* make web search icon setting work properlyVincent Sanders2019-09-211-5/+60
|
* another five handlers and fix menu sensitivity on throbber state changeVincent Sanders2019-09-211-2/+2
|
* allow menu activation to use the toolbar button implementationsVincent Sanders2019-09-211-2/+8
|
* make url entry repond to navigate and update signalsVincent Sanders2019-09-211-1/+8
|
* make toolbar url entry display urlVincent Sanders2019-09-211-0/+6
|
* working throbberVincent Sanders2019-09-211-2/+5
|
* move toolbar to be in tab contentsVincent Sanders2019-09-211-2/+16
|
* 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.
* Move favicon from url entry widget to notebook tab labelVincent Sanders2019-08-151-10/+7
|
* remove unused gtk window interfaces and clean up documentationVincent Sanders2019-08-041-10/+0
|
* change browser_window_get_features to use unscaled coordinatesVincent Sanders2019-08-031-3/+2
|
* 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-031-8/+15
| | | | | this means frontends no longer need to scale mouse click events thus simplifying their implementation.
* remove scaled parameter from get_dimensionsVincent Sanders2019-08-021-10/+1
|
* GTK: Update for unscaled bw invalidate rectangle.Michael Drake2019-08-011-6/+4
|
* GTK: Remove logging during window resize.Michael Drake2018-08-271-1/+0
|
* fix gtk 3 deprication warningsVincent Sanders2018-08-261-3/+1
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* remove unecessary textarea includeVincent Sanders2017-08-271-1/+1
|
* Update documentation removing junk and moving to markdown for most text filesVincent Sanders2017-06-091-1/+1
|
* Update GTK frontend for set_scroll API changeVincent Sanders2017-04-261-6/+26
|
* update GTK frontend for reformat API changeVincent Sanders2017-04-261-23/+20
|
* update gtk frontend with invalidate window API changeVincent Sanders2017-04-231-15/+25
|
* update gtk frontend to use corewindow local historyVincent Sanders2017-02-171-2/+2
|
* remove redundant global contextVincent Sanders2017-02-151-6/+0
|
* create netsurf inttypes header to have portable integer formatting macrosVincent Sanders2017-01-211-1/+1
|
* rationalise use of utils/utils.h headerVincent Sanders2017-01-191-1/+0
|
* move key press enums and operations to their own headerVincent Sanders2016-07-011-0/+2
|