Commit Graph

123 Commits

Author SHA1 Message Date
Přemysl Eric Janouch a063328ac8
Fix performance regression
Avoid stepping through the entire dictionary

When looking for the first match with an empty common prefix.
2016-09-28 04:17:08 +02:00
Přemysl Eric Janouch f453b9dd43
Extract get_xdg_config_dirs() 2016-09-28 04:16:00 +02:00
Přemysl Eric Janouch 021fdcc97c
Use GLib booleans 2016-09-28 03:05:39 +02:00
Přemysl Eric Janouch ff0ec60931
Validate encoding in .ifo files 2016-09-28 03:03:42 +02:00
Přemysl Eric Janouch 474bcb518a
Make app_load_config() return any error 2016-09-28 00:14:11 +02:00
Přemysl Eric Janouch e14c9af40f
Bump termo
Fixing cursor keys.
2016-09-28 00:01:34 +02:00
Přemysl Eric Janouch db0579b7a0
Improve partial matches 2016-09-27 03:47:36 +02:00
Přemysl Eric Janouch da6c46cba9
Fix common prefix search with no collator 2016-09-27 03:35:14 +02:00
Přemysl Eric Janouch c9eb47de7e
Update README 2016-09-27 01:12:24 +02:00
Přemysl Eric Janouch 08fdad56eb
Fix Travis build 2016-09-26 21:14:13 +02:00
Přemysl Eric Janouch 5ee562faf4
Make it possible to disable prefix highlighting 2016-09-26 21:06:51 +02:00
Přemysl Eric Janouch 81d702ed66
Add a configuration file
Now you can have pretty colors w/o having to hardcode them.
The selection is rather limited for now, though.

Search "centering" can now be disabled by default as well.
2016-09-26 21:06:51 +02:00
Přemysl Eric Janouch 4755033781
Fix bottom right corner 2016-09-26 20:50:38 +02:00
Přemysl Eric Janouch a591041912
Highlight the longest matching prefix of entries 2016-09-26 15:59:26 +02:00
Přemysl Eric Janouch a87aca9c76
Refactor app_add_utf8_string() 2016-09-26 14:14:01 +02:00
Přemysl Eric Janouch 5f9cd0885c
Bump termo 2016-09-25 22:37:07 +02:00
Přemysl Eric Janouch f1624095f8
Update copyright years 2016-09-25 22:24:35 +02:00
Přemysl Eric Janouch 4f9c638798 CMakeLists.txt: use more succint variables 2016-03-15 21:56:07 +01:00
Přemysl Eric Janouch 38890be47d Fix manpage installation 2016-03-15 21:53:52 +01:00
Přemysl Eric Janouch c5dbe5fa44 Don't force compilation flags 2016-03-14 21:28:44 +01:00
Přemysl Eric Janouch 7e5e660737 Update README, Travis CI, termo 2016-03-14 21:27:57 +01:00
Přemysl Eric Janouch 61f8b134a9 Fix transcoding on OpenBSD 2016-01-14 22:52:46 +01:00
Přemysl Eric Janouch c04ab011d1 Try harder to find ncursesw 2016-01-14 20:32:04 +01:00
Přemysl Eric Janouch ee9f055820 Travis CI: Update IRC server address 2015-10-01 22:37:30 +02:00
Přemysl Eric Janouch e7e92231fa Use optional dependencies opportunisticaly 2015-10-01 22:27:35 +02:00
Přemysl Eric Janouch 4c30a62246 Convert README to AsciiDoc 2015-09-27 01:44:06 +02:00
Přemysl Eric Janouch 533ea1044a Fix and update README 2015-09-27 01:36:36 +02:00
Přemysl Eric Janouch 4c18bd59a2 Bump termo 2015-07-25 19:49:50 +02:00
Přemysl Eric Janouch e740854dd2 Center the view on search
A lot of the time a better match is actually before the point
where we expect the entry to be.

Can be turned off with Alt-C.
2015-07-25 17:01:42 +02:00
Přemysl Eric Janouch 59dc1c31a8 Travis CI: final attempt at fixing 2015-05-28 22:01:57 +02:00
Přemysl Eric Janouch edf1b33c19 Travis CI: fix stray " 2015-05-28 21:35:16 +02:00
Přemysl Eric Janouch b1a860444e Travis CI: fix testing 2015-05-28 21:33:08 +02:00
Přemysl Eric Janouch cd13ae9f8e Bump termo 2015-05-28 20:08:36 +02:00
Přemysl Eric Janouch 1b15b52087 Formatting: leftovers 2015-02-28 21:21:21 +01:00
Přemysl Eric Janouch 25366d369b Refactoring 2015-02-27 23:50:32 +01:00
Přemysl Eric Janouch 6fb83a4043 Don't let GLib/GTK+ draw messages over curses 2015-02-27 23:42:24 +01:00
Přemysl Eric Janouch 7db828f62b Handle SIGINT/SIGTERM properly 2015-02-27 23:36:56 +01:00
Přemysl Eric Janouch 10240c716a Formatting 2015-02-26 23:29:45 +01:00
Přemysl Eric Janouch f9c308765f Miscellaneous little changes 2015-02-26 22:58:40 +01:00
Přemysl Eric Janouch 2f0852ec05 Handle search field overflow a bit better
Make sure the cursor doesn't overflow where it doesn't belong.
2015-02-24 23:52:36 +01:00
Přemysl Eric Janouch f4b29a980c Add a near-useless bar on top with bookname 2015-02-24 23:42:15 +01:00
Přemysl Eric Janouch 9f8af6c27b Fix build with ICU versions < 50
I'll try to describe my feelings with this excerpt from
David Firth's video "Take This Pill":

  PAIN.

  *oooowww...*

  Hurts, doesn't it?

  *...wwwwwww*
2015-02-24 21:39:45 +01:00
Přemysl Eric Janouch 1ef34fbb92 Travis CI: Try to fix searching for ICU config 2015-02-24 20:33:51 +01:00
Přemysl Eric Janouch ccfa92ba2a Fix reporting of unknown .ifo keys 2015-02-24 09:27:38 +01:00
Přemysl Eric Janouch 2abbe7017f Add a custom collation mechanism
A lot better than that StarDict shitfuckery.
2015-02-24 09:27:38 +01:00
Přemysl Eric Janouch d93b241a65 Silence a warning
We don't care if we read a byte from the pipe.
2015-02-14 06:16:17 +01:00
Přemysl Eric Janouch 23010c60d4 Travis CI: Try fixing Coverity scan 2015-02-14 06:00:16 +01:00
Přemysl Eric Janouch 915459097e Travis CI: Try enabling Coverity scan 2015-02-14 05:42:30 +01:00
Přemysl Eric Janouch eae5fff478 Add docbook-xsl as a dependency 2015-02-08 05:04:41 +01:00
Přemysl Eric Janouch 7c8154eb53 Add Travis CI configuration 2015-02-08 04:48:47 +01:00