Commit Graph

197 Commits

Author SHA1 Message Date
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
Přemysl Eric Janouch 298ae829f5 Add some dictionaries to the README 2015-02-08 00:36:45 +01:00
Přemysl Eric Janouch 61ad99b611 Make more use of xstrtoul() 2015-02-07 22:11:53 +01:00
Přemysl Eric Janouch 99116d0f70 Update information texts and copyrights 2015-02-07 21:38:27 +01:00
Přemysl Eric Janouch e1643289c5 Cancel selection confirmation when following the selection 2015-02-07 21:13:34 +01:00
Přemysl Eric Janouch a9bc1d8751 Add support for watching the primary selection
Depends on GTK+, which should make it work with all of X11, Wayland, and Mir.
2015-02-07 21:05:32 +01:00
Přemysl Eric Janouch 627248bd1f React to mouse wheel scrolling 2015-02-07 20:36:45 +01:00
Přemysl Eric Janouch 4730cc47e1 Hide the help in app_search_for_entry() 2015-02-07 20:35:09 +01:00
Přemysl Eric Janouch 6e42b07d20 Or let's rather do it like this 2015-02-01 22:44:16 +01:00
Přemysl Eric Janouch 08ed996fe1 Tell termo to convert DEL to Backspace
Now backspace works in tmux.
2015-02-01 22:32:49 +01:00
Přemysl Eric Janouch bb9802f83d resize_term -> resizeterm
Apparently we do need to call the "outer-level" function.
2015-01-20 23:56:29 +01:00
Přemysl Eric Janouch a5e0c0ea71 Update termo 2014-11-19 03:31:47 +01:00
Přemysl Eric Janouch 2562d108fa Avoid some overhead with iconv()
Now, in theory, terminal output could actually be a bit faster.
2014-11-19 03:31:47 +01:00
Přemysl Eric Janouch da3a4842f1 Get rid of wchar_t for good 2014-11-19 03:31:47 +01:00
Přemysl Eric Janouch b8dc6bb3cc Avoid flicker while resizing 2014-11-19 03:31:47 +01:00
Přemysl Eric Janouch b352a0fc8d Rewrite to use termo
Also get rid of some silliness that I'm only able to see now.
2014-11-19 03:31:46 +01:00
Přemysl Eric Janouch a3348d888b I've been enlightened
Now responding to C-p, C-n, C-b, C-f and C-h as expected.
2014-02-11 23:28:02 +01:00
Přemysl Eric Janouch d7114f0634 Don't apply the bold attribute to padding.
It looked awful when it caused a change in the colour of underlining.
2013-10-09 02:54:19 +02:00
Přemysl Eric Janouch adce15243a Add a querying tool for use in e.g. IRC bots
Now the tools don't get built on `make all' but instead have their
own target called `tools'.  It might be reasonable to move them into
their own directory sometime, instead of cluttering `src'.
2013-10-02 02:17:38 +02:00
Přemysl Eric Janouch 1955343857 Add a workaround for GLib < 2.33.1
I wanted to have it working in Wheezy and this was standing in the way,
so I went for the quick fix that I'd made available to myself.
2013-10-02 02:11:57 +02:00
Přemysl Eric Janouch 190c21eabb Clarify some behaviour in comments 2013-10-02 02:11:10 +02:00
Přemysl Eric Janouch 8d586931e0 Thanks, Coverity 2013-07-25 07:42:43 +02:00
Přemysl Eric Janouch f8a8395114 Fix another error path 2013-07-18 19:47:07 +02:00
Přemysl Eric Janouch 1df7021276 Fix the dictionary loading error path 2013-07-18 00:16:57 +02:00
Přemysl Eric Janouch 852667350b Actually use DictzipInputStream in sdtui 2013-07-18 00:16:50 +02:00
Přemysl Eric Janouch 270539c72e Move private data into StardictDictPrivate 2013-07-18 00:16:50 +02:00
Přemysl Eric Janouch 15f62b7054 Add a class to handle dictzip files
Provides pseudo-random access to dictionary files compressed using dictzip.

It doesn't implement a cache, it just loads missing chunks until it has the
whole file.  I'm not sure if discarding not recently used chunks is really
a useful feature.  If there _was_ a way to get noticed when system memory
is low, I think the best way to handle that event would be to simply release
it all.

All in all, this is pretty useless.  But it was interesting to write.

This has yet to be integrated into the application proper.
2013-07-18 00:16:43 +02:00