Commit Graph

114 Commits

Author SHA1 Message Date
bb9802f83d resize_term -> resizeterm
Apparently we do need to call the "outer-level" function.
2015-01-20 23:56:29 +01:00
a5e0c0ea71 Update termo 2014-11-19 03:31:47 +01:00
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
da3a4842f1 Get rid of wchar_t for good 2014-11-19 03:31:47 +01:00
b8dc6bb3cc Avoid flicker while resizing 2014-11-19 03:31:47 +01:00
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
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
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
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
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
190c21eabb Clarify some behaviour in comments 2013-10-02 02:11:10 +02:00
8d586931e0 Thanks, Coverity 2013-07-25 07:42:43 +02:00
f8a8395114 Fix another error path 2013-07-18 19:47:07 +02:00
1df7021276 Fix the dictionary loading error path 2013-07-18 00:16:57 +02:00
852667350b Actually use DictzipInputStream in sdtui 2013-07-18 00:16:50 +02:00
270539c72e Move private data into StardictDictPrivate 2013-07-18 00:16:50 +02:00
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
c2e8709372 Fix minimal required CMake version 2013-07-14 21:09:01 +02:00
0c2a603a21 Add support for transposition with Ctrl-T 2013-07-09 07:50:17 +02:00
1cc91a4b17 Fix double- and zero-wide characters
It's not perfect but seems to work well enough.
2013-06-02 00:04:43 +02:00
d3b966a93f Fix a 100% CPU usage bug 2013-05-19 20:06:29 +02:00
ce3b2c80a1 Use a little bit more straight-forward detection 2013-05-19 19:28:08 +02:00
ebc482b8fd Indicate with ellipsis that text is too long 2013-05-19 18:42:38 +02:00
a405bd508c Update translations 2013-05-19 08:04:13 +02:00
1636c34f83 Add a manpage 2013-05-19 07:49:47 +02:00
c38f1046f3 Don't abort() on setlocale() failure 2013-05-19 05:26:20 +02:00
a48bcd1948 Add Czech translation 2013-05-19 05:05:14 +02:00
5225c6117b Initialise GError's 2013-05-19 05:04:47 +02:00
46083b1e7d Internationalisation 2013-05-19 05:04:37 +02:00
c430b6d7f8 Don't do case-sensitive searches 2013-05-19 01:29:04 +02:00
110f2523d3 Fix window resizing 2013-05-19 01:07:08 +02:00
caac68a3ed Fix characters not representable in LC_CTYPE 2013-05-19 00:12:52 +02:00
c09e3dcc96 Show some help/about information 2013-05-18 23:48:53 +02:00
ec57f2d806 Extend key code handling 2013-05-18 23:47:57 +02:00
583b19c6e4 Add Ctrl-L to repaint everything
Any serious application has it, so why not this one.
2013-05-18 03:06:35 +02:00
de2a576ba5 Allow mouse clicks within the search field 2013-05-18 01:14:49 +02:00
c017d5b569 Don't redraw the top line to restore the cursor
Consider this a rather temporary solution.
2013-05-18 00:38:18 +02:00
9c024a57cd Add CMake infrastructure 2013-05-17 18:41:14 +02:00
156e12c456 Add LICENSE and README 2013-05-17 00:54:11 +02:00
5cb6a2e506 New functionality
Ctrl-Up/Down skips whole entries
Alt-Left/Right moves the division line
Enter confirms the entry for overwriting

The modified arrow keys aren't going to work everywhere,
e.g. the Linux terminal doesn't support them.
2013-05-16 23:56:01 +02:00
d07f80c051 Support Ctrl-A/E shortcuts 2013-05-16 20:46:33 +02:00
11c16cc173 Add Pango parsing. 2013-05-15 20:58:40 +02:00
b8c4d29233 Store search input in UCS4. 2013-05-15 19:30:47 +02:00
421d87b7c0 Refactoring. 2013-05-15 17:26:39 +02:00
776cebe535 Begone, bug. 2013-05-15 13:19:36 +02:00
e054f21ad5 Add simple mouse support. 2013-05-15 13:03:54 +02:00
a7a85a8e55 Use GIConv to get rid of encoding issues 2013-05-15 12:53:50 +02:00
bdff36bbce Add basic functionality
The bugs are there but the program is usable now.
2013-05-14 23:17:03 +02:00
6db153b1e2 Start working on sdtui; implement line editing 2013-05-12 05:58:24 +02:00
8ab74e16d7 Rename the project 2013-05-11 04:17:39 +02:00