Commit Graph

131 Commits

Author SHA1 Message Date
Daniel Micay 298dddc6e2 kill off the last global variable 2012-10-10 22:25:10 -04:00
Daniel Micay 4aa5cba78e no need for browser_cmd to be global 2012-10-10 17:44:59 -04:00
Daniel Micay ea31f4c3e3 rm useless check 2012-10-08 11:50:40 -04:00
Daniel Micay b06873bf98 get rid of macro/concat hack 2012-10-05 17:12:13 -04:00
Daniel Micay b4f059391a fix url hint invalid error 2012-10-05 12:45:17 -04:00
Daniel Micay a905414491 add util repo as submodule 2012-10-05 10:57:49 -04:00
Daniel Micay 506166230c use a wrapper to make std::unique_ptr less verbose 2012-10-04 15:35:48 -04:00
Daniel Micay 3d2c98b162 initialize directory to nullptr 2012-10-02 19:27:14 -04:00
Daniel Micay f21b9f55b2 add a command-line switch for chdir() 2012-10-02 19:14:12 -04:00
Daniel Micay a7e2352596 add ctrl-left/right and shift-left/right bindings 2012-10-02 11:10:59 -04:00
Daniel Micay a12645212c end can be local to the strtok loop 2012-09-28 13:58:12 -04:00
Daniel Micay 4bd4bff004 set errno to 0 before strtoul call 2012-09-28 13:54:10 -04:00
Daniel Micay eb6389e042 switch to strtok_r for comma-separator urls
this avoids an infinite loop when there is an invalid hint number
2012-09-28 13:41:18 -04:00
Daniel Micay 4f515865f6 move the other if-else into the switch 2012-09-28 12:18:13 -04:00
Daniel Micay a4de8fdbc1 if-else chain -> switch-case 2012-09-28 09:52:53 -04:00
Daniel Micay 5cbfb8113d fix input completion bindings for all modes 2012-09-28 03:45:49 -04:00
Simon Gomizelj 3f6ca1dedc make sure the panel gets hidden on escape 2012-09-27 19:00:59 -04:00
Daniel Micay dfec1ef085 make transparency double check a bit more robust 2012-09-27 12:54:44 -04:00
Simon Gomizelj a7458fba67 properly exit url hint mode on Esc key 2012-09-27 12:39:06 -04:00
Simon Gomizelj 21d15c0cb6 selecting a url should exit command mode 2012-09-27 12:26:16 -04:00
Simon Gomizelj 4e8721b365 allow for comma seperated url entry 2012-09-27 12:20:14 -04:00
Simon Gomizelj 307f2438c1 exiting command mode should kill the entry 2012-09-27 11:55:06 -04:00
Daniel Micay 6e168e25d6 rm type alias 2012-09-25 05:44:07 -04:00
Daniel Micay 16159f2b1c give url_data ownership over the url pointer 2012-09-25 05:03:14 -04:00
Daniel Micay 6d82e500d2 disable opacity properly (max guint16, not min) 2012-09-25 04:53:26 -04:00
Daniel Micay 6fb58f5688 don't ever set rgba visual if transparency is off 2012-09-25 04:49:43 -04:00
Daniel Micay 55c64aea32 avoid search_panel_info copy 2012-09-25 04:39:30 -04:00
Daniel Micay b4bb15aff4 restore true transparency support
however, it still doesn't play well with url hints or dynamic config
reloading
2012-09-25 02:32:20 -04:00
Daniel Micay b036852674 add pseudo-transparency support 2012-09-22 19:46:33 -04:00
Daniel Micay 1c3a31626e {start,end}_selection -> {enter,exit}_command_mode 2012-09-22 03:37:21 -04:00
Daniel Micay 8163fa1e6d reuse launch_browser function 2012-09-22 02:02:32 -04:00
Daniel Micay 2202d24468 rm redundant cast 2012-09-22 02:01:07 -04:00
Daniel Micay dd3716361a free matched urls in url_list 2012-09-21 23:36:42 -04:00
Daniel Micay 2cc3b1e706 free content in find_urls 2012-09-21 19:59:11 -04:00
Daniel Micay d4490bc785 use const for strtok tokens 2012-09-21 18:24:19 -04:00
Daniel Micay 4559891f1d might as well use auto with g_array_index 2012-09-21 18:02:30 -04:00
Daniel Micay 2ffe2aa2c6 urlregex.h -> url_regex.hh 2012-09-20 21:04:38 -04:00
Daniel Micay 3d8f18cebd cleanup strtok_r loops 2012-09-18 20:06:34 -04:00
Daniel Micay 1273e58d59 GTree -> std::set 2012-09-18 18:20:46 -04:00
Daniel Micay 5fd64fb634 Revert "replace hardware_keycode hack to stop focus cycle"
This reverts commit 742ed9c6c4.
2012-09-18 16:22:11 -04:00
Daniel Micay f913bc054d bounds check is too strict (off-by-one at the end) 2012-09-18 15:54:24 -04:00
Daniel Micay 742ed9c6c4 replace hardware_keycode hack to stop focus cycle 2012-09-18 08:13:55 -04:00
Daniel Micay ecab4a6dba id needs to be converted to the actual index 2012-09-18 07:56:59 -04:00
Daniel Micay eb622a0b8a an empty string isn't a valid number 2012-09-18 07:56:04 -04:00
Daniel Micay 4dc04defe2 rehide drawing area at startup 2012-09-18 06:13:55 -04:00
Daniel Micay 8f927cad26 Revert "only set the rgba visual when required"
This reverts commit 4b749020ae.
2012-09-18 05:02:00 -04:00
Daniel Micay 4b749020ae only set the rgba visual when required 2012-09-18 04:19:14 -04:00
Daniel Micay 83820ffb92 atoi -> strtoul with error checking 2012-09-18 02:55:26 -04:00
Daniel Micay 0c2d425f32 use g_signal_connect_swapped to avoid unused param 2012-09-18 00:50:01 -04:00
Daniel Micay 823aeb4ffe no more url_list global 2012-09-18 00:42:17 -04:00