Commit Graph

822 Commits

Author SHA1 Message Date
Daniel Micay dd3716361a free matched urls in url_list 2012-09-21 23:36:42 -04:00
Daniel Micay 0af2466ea4 fix url regex escaping 2012-09-21 20:45:30 -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 e3671e1d6f follow the url spec for url path characters 2012-09-21 17:41:06 -04:00
Daniel Micay fdd1ba0ce1 url_regex.hh: host is optional (thus file:///) 2012-09-21 17:10:06 -04:00
Daniel Micay 0c52014f77 url_regex.hh: make scheme follow the standard 2012-09-21 17:05:11 -04:00
Daniel Micay 30f6d438de start from the old inferior, but cleaner url regex 2012-09-21 16:47:52 -04:00
Daniel Micay 8f3c75b987 Makefile: update deps 2012-09-21 16:45:25 -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 7611a8aac0 document the existence of url hints 2012-09-18 05:37:36 -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
Simon Gomizelj 0600309498 have the hints use the same font as the vte 2012-09-17 19:40:55 -04:00
Simon Gomizelj f7b534784f use numeric_limits in draw_marker 2012-09-17 19:14:22 -04:00
Simon Gomizelj 63432759ba snprintf buffer len is the wrong length 2012-09-17 19:12:57 -04:00
Simon Gomizelj 10295938ab properly space hints within a padding 2012-09-17 19:10:52 -04:00
Daniel Micay 94217c8a57 fix url_data initialization order 2012-09-17 18:54:07 -04:00
Daniel Micay b1dd8d6997 url_data's pos is now really the actual column 2012-09-17 18:00:39 -04:00
Daniel Micay eacbaca03d minor cleanup 2012-09-17 17:57:14 -04:00
Daniel Micay e513f2ccd2 get the column from the char attr struct too 2012-09-17 17:51:08 -04:00
Daniel Micay 8ebe3ec620 %d -> %u for unsigned 2012-09-17 17:44:49 -04:00
Daniel Micay 30298b446d url_data: line should be a long 2012-09-17 17:33:39 -04:00
Daniel Micay 885805c5c6 fix hint position on wrapped lines 2012-09-17 05:20:43 -04:00
Daniel Micay e9bbc0f949 use const in a few places 2012-09-17 01:15:06 -04:00
Daniel Micay c9da57f434 silence -Wconversion warnings 2012-09-16 18:09:52 -04:00
Daniel Micay 363300df1a prevent a long -> unsigned conversion 2012-09-16 17:13:23 -04:00
Daniel Micay e77a4ed5cb purge some useless glib typedefs 2012-09-16 17:06:21 -04:00
Daniel Micay 2b683b1f0e mbstowcs -> g_utf8_strlen 2012-09-16 16:57:34 -04:00
Daniel Micay 4c5c8d97ba rm struct typedef 2012-09-16 16:25:14 -04:00
Daniel Micay 189c669920 replace GList with vector 2012-09-16 16:23:29 -04:00
Daniel Micay 6137340f6d list -> url_list 2012-09-16 16:12:22 -04:00
Daniel Micay c30216eca5 fix unused variable warning 2012-09-16 16:08:01 -04:00
Daniel Micay 7d188f3010 handle leaving hint mode 2012-09-16 16:03:49 -04:00
Daniel Micay e1822fbfde name the overlays 2012-09-16 15:53:09 -04:00
Daniel Micay 14c62d6074 manually merge vodik's old url hint branch 2012-09-16 05:57:01 -04:00
Daniel Micay a45f822139 no longer need termite.vim 2012-09-10 16:05:10 -04:00
Daniel Micay a6abd786cf minor move_forward cleanup (\0 terminator not used) 2012-09-09 22:28:38 -04:00