Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fixed compilation warning introduced by the following commit: Fixed ↵ | 2009-12-01 | |
| | | | | `run_handler (const gchar *act, const gchar *args)` by calling `inject_handler_args` only if `act` contains both a command and some parameters. | ||
* | Fixed `run_handler (const gchar *act, const gchar *args)` by calling ↵ | 2009-12-01 | |
| | | | | | | | | | | | | `inject_handler_args` only if `act` contains both a command and some parameters. The problem is: * when `act` has no spaces, > char **parts = g_strsplit(act, " ", 2); * `parts[1]` is `NULL`, and thus the following is wrong, > gchar* expanded = expand(parts[1], 0); > inparts = inject_handler_args(parts[0], expanded, args); * instead `inparts[1]` should be set equal with `args` and no expansion should occur. | ||
* | Fixed `run_handler (const gchar *act, const gchar *args)` by checking if ↵ | 2009-12-01 | |
| | | | | | | | | | `act` is not `NULL` or empty. It seems that there are a number of "hooks" that are executed when something happens (like accessing an url), but usually by default these hooks are not set (thus NULL), and g_strsilit gives an NULL assertion warning. Also we should check if `act` was not an empty string, thus `parts[0]` beeing `NULL`. | ||
* | Fixed `expand(const char *s, guint recurse)` by checking if s (the string to ↵ | 2009-12-01 | |
| | | | | | | | | | | | | | | | | | | | | | expand) is not null. The problem appears from the following: * if `new_window` variable is set, `run_handler` is called; > if (uzbl.behave.new_window) { > GString *s = g_string_new (""); > g_string_printf(s, "'%s'", uri); > run_handler(uzbl.behave.new_window, s->str); > send_event(NEW_WINDOW, s->str, NULL); > return; > } * but if `new_window` is not splittable (its only a command), > char **parts = g_strsplit(act, " ", 2); * thus `parts[0]` is NULL and `expand` seg-faults uzbl: > gchar* expanded = expand(parts[1], 0); > inparts = inject_handler_args(parts[0], expanded, args); (The current problem should bi fixed in `run_handler`, but also in `expand` for robustness.) | ||
* | fix empty argument fix ;) | 2009-11-30 | |
| | |||
* | fix empty argument in script command | 2009-11-30 | |
| | |||
* | remove default WM_CLASS setting, use --class instead | 2009-11-30 | |
| | |||
* | refactored signal handling | 2009-11-30 | |
| | |||
* | generate BUITLINS event only once on startup | 2009-11-20 | |
| | |||
* | added "builtins" command and corresponding event | 2009-11-20 | |
| | |||
* | added search_clear command | 2009-11-19 | |
| | |||
* | guard g_strstplit | 2009-11-12 | |
| | |||
* | remove obsolete statusbar code | 2009-11-12 | |
| | |||
* | add command params to COMMAND_ERROR | 2009-11-12 | |
| | |||
* | added COMMAND_ERROR event | 2009-11-12 | |
| | |||
* | Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental | 2009-11-10 | |
|\ | |||
* | | reworked mouse button events | 2009-11-09 | |
| | | |||
| * | Merge remote branch 'np/remove-old-scroll-commands' into experimental | 2009-11-08 | |
| |\ | |||
| * | | Merge remote branch 'np/more-scrolling' into experimental | 2009-11-08 | |
|/| | | |||
* | | | Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into experimental | 2009-11-08 | |
|\ \ \ | |||
* | | | | added mouse button events | 2009-11-08 | |
| | | | | |||
| * | | | 2 small code updates/comments | 2009-11-07 | |
| | | | | |||
* | | | | added PLUG_CREATED event | 2009-11-06 | |
| | | | | |||
* | | | | allow for 0 a plug socket id | 2009-11-06 | |
|/ / / | |||
* | | | fix comment | 2009-11-04 | |
| | | | |||
* | | | allow for random numbers up to RAND_MAX | 2009-11-04 | |
| | | | |||
* | | | generate random id for sockets/fifos in xembed mode | 2009-11-04 | |
| | | | |||
* | | | remove obsolete code | 2009-11-04 | |
| | | | |||
* | | | initialize var | 2009-11-03 | |
| | | | |||
* | | | added FILE_INCLUDED event | 2009-11-03 | |
| | | | |||
* | | | added include command | 2009-11-03 | |
| | | | |||
* | | | Revert "NOT FINISHED: added status_format_center and status_format_right" | 2009-11-03 | |
| | | | | | | | | | | | | This reverts commit 58ccefec5c7551f5e83181c203dfcf6a967148a6. | ||
* | | | NOT FINISHED: added status_format_center and status_format_right | 2009-11-02 | |
| | | | |||
| | * | Remove the old scroll commands | 2009-11-02 | |
| |/ | | | | | | | | | scroll_vert,scroll_horz,scroll_begin,scroll_end commands are now superseded by the scroll command. | ||
| * | Add the scroll command | 2009-11-02 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Example of usage: * scroll vertical 20 * scroll vertical 20% * scroll vertical -40 * scroll vertical begin * scroll vertical end * scroll horizontal 10 * scroll horizontal -500 * scroll horizontal begin * scroll horizontal end | ||
* | | add STRING_ARRAY cl arguments when opening new windows | 2009-10-30 | |
| | | |||
* | | added zoom_type type variable | 2009-10-27 | |
|/ | |||
* | removed update_gui command | 2009-10-26 | |
| | |||
* | Merge branch 'master' of git://github.com/bct/uzbl into experimental | 2009-10-25 | |
|\ | |||
| * | remove pointless cmd_{cookie,scheme}_handler() | 2009-10-25 | |
| | | |||
| * | Merge remote branch 'dieterbe/experimental' | 2009-10-25 | |
| |\ | |||
| * | | expand arguments given to "set *_handler" | 2009-10-25 | |
| | | | |||
* | | | Update title on every variable set. | 2009-10-26 | |
| |/ |/| | |||
* | | also perform $PATH-like expansion on spawn_sync (sync_spawn) | 2009-10-25 | |
|/ | |||
* | restore original scroll bahviour | 2009-10-24 | |
| | |||
* | re-add endif | 2009-10-24 | |
| | |||
* | Merge branch 'master' of git://github.com/bct/uzbl into experimental | 2009-10-24 | |
|\ | | | | | | | | | Conflicts: uzbl-core.c | ||
* | | set wm class | 2009-10-21 | |
| | | |||
* | | updated README | 2009-10-21 | |
| | | |||
* | | added hardcopy command | 2009-10-21 | |
| | |