Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-25 | Fix some code indentation. | Daniel Carl | |
2018-10-25 | Fix possible memory leak #361. | Daniel Carl | |
2018-10-25 | Always pass NUL-terminated text to command_spawn_editor() | Leonardo Taccari | |
It seems that there is no any guarantee that webkit_web_resource_get_data_finish() return data that is NUL-terminated. | |||
2018-10-25 | Avoid possible strlen() on NULL content | Leonardo Taccari | |
2018-10-25 | Add command_spawn_editor() and implement normal_view_source() | Leonardo Taccari | |
- Add a command_spawn_editor() to asynchronously spawn editor - Adjust input_editor_formfiller() to use command_spawn_editor() - Add support to view the source of the current page via the editor (`gf' command). | |||
2018-10-15 | Fixed wrong return type for util_file_set_content(). | Daniel Carl | |
2018-10-15 | Document a subtlety of util_parse_expansion() behaviour. | Leonardo Taccari | |
Single ~ uses g_get_home_dir() that honor HOME environment variable. However, ~user always consult the passwd file. | |||
2018-10-15 | Add support for marks, based on vimb-2.12 | Leonardo 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-12 | Always use curly braces for if and else. | Daniel Carl | |
2018-10-12 | Use stat(2) to retrieve the file permissions mode | Leonardo Taccari | |
Remove the mode arguments from util_file_prepend_line(), util_file_pop_line() and util_file_set_content(). Both util_file_prepend_line() and util_file_pop_line() just calls util_file_set_content() so stat(2) can be used there and if it fails the 0600 is used as a fallback. Thanks to @fanglingsu for reviews and suggestions! | |||
2018-10-11 | Replace g_file_set_contents(). | Daniel Carl | |
The g_file_set_contents performs atomic write to file by creating a temporary file, writing to it and renaming it. But during the creation of the temporary file, the mode is set hard to 0666. So our files will silently always change their mode in case we processed their content. This patch adds the util_file_set_content() function which follows the same approach, but allows to set the mode that is used to create the temporary file. So the file is created with the right permissions. | |||
2018-10-10 | Add a mode (in chmod(2) context) argument to util_get_filepath() | Leonardo Taccari | |
Add a mode argument to util_get_filepath() in order to adjust file permissions when creating file. Adjust all util_get_filepath() call and file permissions making them readable and writable only by the user. | |||
2018-10-10 | Show warning if peer dbus connection does not provide credentials #438. | Daniel Carl | |
2018-10-09 | Remove trialing tabs. | Daniel Carl | |
2018-10-08 | Use glib example code for dbus auth observer #438. | Daniel Carl | |
2018-10-08 | Setup dbus server before the webextension #438. | Daniel Carl | |
Not sure if this changes anything, but it's a good choice to setup the server before telling webkit where to look for webextensions. | |||
2018-09-28 | Remove also shared object on make clean. | Daniel Carl | |
2018-09-28 | Replace tabs by spaces. | Daniel Carl | |
2018-08-27 | Check webextension at startup by default. | Daniel Carl | |
Also fail with error if webextension could not be read. | |||
2018-08-06 | Update hints also on scrolling within frames. | Daniel Carl | |
2018-08-06 | Fix wrong hint label in case of scrolling. | Daniel Carl | |
Also moved style for hintcontainer from user style to hints.js because there is no styling set at the moment the user should change. | |||
2018-08-06 | Added webkit setting for file uri handling. | Daniel Carl | |
2018-08-04 | Fix wrong hint label position on xkcd.com. | Daniel Carl | |
On some pages which set the body to fixed position the hint labels where placed far away from the hinted element. This patch fixes this issue by setting the position of the label to fixed instead of absolute. This fixes #506. | |||
2018-07-31 | Convert focus_element_by_id.js to C | Virgil Dupras | |
2018-07-18 | Get page size from body as well as the documentElement #501. | Daniel Carl | |
2018-07-18 | Improve scripts change detection in Makefile | Virgil Dupras | |
When changing a script in `src/scripts`, `make` would need to be invoked twice for a proper build: once for `scripts.h` and once for the `.o` files depending on it. This commit fixes this by integrating `src/scripts/Makefile` into `src/Makefile` to allow for proper dependency update detection. | |||
2018-06-27 | Use travis-ci for testing. | Daniel Carl | |
2018-06-18 | Makefile: add dependency on scripts.h to input.o | Patrick Steinhardt | |
While "input.c" includes "scripts/scripts.h", which is generated dynamically by the build system, the Makefile does not state a dependency of "input.c" on "scripts/scripts.h". Add the dependency to fix broken builds. | |||
2018-06-18 | Fixed -Werror=format-security issue. | Daniel Carl | |
This fixes #495. | |||
2018-06-16 | Fix missing string.h include | Yutao Yuan | |
2018-06-14 | Make function static. | Daniel Carl | |
This is only use within main.c so we can make it static and leaf the vb_ prefix. | |||
2018-06-14 | Merge branch 'fix-url-detection' of https://github.com/GKFX/vimb. | Daniel Carl | |
2018-06-14 | Added tests for shortcuts #357. | Daniel Carl | |
2018-06-13 | Make URL detection more robust | George Bateman | |
2018-06-14 | Do not damage utf8 string on escape. | Daniel Carl | |
This fixes #492. | |||
2018-06-13 | Added first test for the util functions #357. | Daniel Carl | |
2018-06-13 | Fixed indentation. | Daniel Carl | |
2018-06-12 | Detect localhost and IPv6 as valid URLs. Fixes #478. | George Bateman | |
2018-06-12 | Allow user to hide and show the titlebar on demand. Fixes #439. | George Bateman | |
2018-06-11 | Allow to react on permission-requests. | Daniel Carl | |
2018-06-02 | Remove not really needed variable. | Daniel Carl | |
2018-06-02 | Fixed possible memory leak in case of errors. | Daniel Carl | |
2018-06-02 | Reuse success flag. | Daniel Carl | |
2018-06-02 | Fixed some code style issues. | Daniel Carl | |
2018-06-02 | Merge branch 'master' of https://github.com/svensp/vimb | Daniel Carl | |
2018-06-01 | moved id to its own variable to adher to IPO model | Sven Speckmaier | |
2018-05-30 | multi line javascript used from scripts/scripts.h | Sven Speckmaier | |
2018-05-29 | Use vimbhint attribute also for styling. | Daniel Carl | |
2018-05-29 | use vimb_editor_map when no id is present | Sven Speckmaier | |
2018-05-28 | assert and free data->element_id in editor return | Sven Speckmaier | |