summaryrefslogtreecommitdiff
path: root/src/webextension
AgeCommit message (Collapse)Author
2021-09-25Project branch offrafa_99
2021-02-19Use guint64 instead of glong. (#660)Holger Langenau
The glong type is not always guaranteed to be large enough, e.g., on 32 bit platform. One result is that the scroll percentage is a weird number. Using explict 64 bit types fixes this.
2018-10-15Add support for marks, based on vimb-2.12Leonardo Taccari
- Introduce a scroll_top field in State, similar to scroll_percent but in pixel - Adjust the webextension to communicate and update scroll_top - Implement normal_map(), mostly based on vimb-2.12
2018-10-09Remove trialing tabs.Daniel Carl
2018-10-08Use glib example code for dbus auth observer #438.Daniel Carl
2018-07-31Convert focus_element_by_id.js to CVirgil Dupras
2018-07-18Get page size from body as well as the documentElement #501.Daniel Carl
2018-04-16Fixed none cleaned webextension object files.Daniel Carl
2018-04-16Include dependencies at the end.Daniel Carl
2018-04-14Use separate makefile in for scripts.Daniel Carl
2018-04-14Do not use to many variables in makefiles.Daniel Carl
2018-04-13Give CPP and CFLAGS separate to compiler.Daniel Carl
Revert "Don't duplicate CFLAGS and CPPFLAGS." This reverts commit 0cc0db9f7d40fdf9e88f20101a5183e35ba2ea91.
2018-03-28Update license year.Daniel Carl
2017-08-04Fixed none freed memory.Daniel Carl
The g_variant format 's' will duplicate the memory of the requested string. Changed this to '&s' to access the serialized data direct so there is no need to free it.
2017-07-18Don't duplicate CFLAGS and CPPFLAGS.Daniel Carl
Don't put the CPPFLAGS and CFLAGS duplicate to the compiler which lead to warnings about redefinition of constants on command line like <command-line>:0:0: warning: "EXTENSIONDIR" redefined <command-line>:0:0: note: this is the location of the previous definition
2017-06-27Fixed wrong scroll position calculation #428.Daniel Carl
We use the scrollHeight and the scrollTop of the document.documentElement. But there are pages where the scrollHeight is calculated as the same value like the height of the viewport. I can't identify what causes this issue, but using the document.body scrollHeight fixes this.
2017-06-24Use Uppercase bool value from glib.Daniel Carl
2017-05-26Update license year.Daniel Carl
2017-05-12Fixed wrong client to webpage relation #349.Daniel Carl
In case a related webview is created. The relation between webextensions web page and the client in the ui process where mismatched. In fact the relation was correct, but when a dbus call was fired from ui to webextension, the webextension used the last created web page to run javascript in or to focus input fields. This patch adds the page_id of the web page to the dbus calls that target a specific web page. So that th webextension can get the right page by this id to use to answer the call. Also the communication from webextension to ui lagged this essential information. So that a click to a editable filed in a related webview all related instances into input mode switched.
2017-05-08Show scroll indicator in status bar #354.Daniel Carl
2017-04-21Run js by webextension.Daniel Carl
Make sure all the scripts we run internally are also evaluated in case js is disabled.
2017-04-21Run js for scrolling from webextension #367.Daniel Carl
2017-04-12User scripts don't work when scripts are disabled.Daniel Carl
In case the scripts are injected from the ui, they are not processed in case JavaScript is disabled in vimb. So use the previous dbus logic to observe dom focus changes and use the script messaging system to inform the ui process.
2017-04-12Use script message handler to track elements focus changes.Daniel Carl
Use script message handler instead of dbus to track for focused editable elements to switch vimb into input mode or back to normal mode.
2017-04-11Don't verbose the echo lines during make.Daniel Carl
The echo lines where a light alternative to the long compiler options lines, so there is no real benefit on showing the 'echo' itself.
2017-04-11Put objects before linker flags.Daniel Carl
This allows to compile with -Wl,--as-needed option which affects only those libraries written after that option on the command line.
2017-04-10adds make option V for verbose buildsRobert Timm
2017-02-01Removed debug message.Daniel Carl
2017-02-01Added real auth observer to webextension too.Daniel Carl
2017-01-28Attempt to start dbus server from ui.Daniel Carl
2016-06-30Made make a bit more silent.Daniel Carl
2016-06-17Don't use deprecated node list api.Daniel Carl
2016-06-01Update license year.Daniel Carl
2016-03-30Startup webkit2 branch from the scratch.Daniel Carl