Frans de Jonge
26baa5e007
Added timeout to successful delete message.
2014-11-14 21:57:06 +01:00
Frans de Jonge
324d67a7a8
Various language-related fixes.
2014-11-14 20:34:55 +01:00
Hans-Werner Hilse
45cf927ee8
Fix double-check of task list
...
Since commit 12a76fee33
, we had a potential
bug on the event mechanism:
It introduced (besides the checkTasks method itself) a second run of the
checkTasks() method. In the second run, however, scheduled events were
not taken into consideration in how long to wait for input events
afterwards.
So when the after the first run of checkTasks() there were new scheduled
tasks added to the task queue, they were not properly scheduled and
and depended on an already existing scheduled event or an input event
to trigger.
This might have led to unexpected order of execution (though the order
is not guaranteed by the task scheduling anyway!) or to events triggering
not at all until the next input event.
2014-11-14 09:12:46 +01:00
Hans-Werner Hilse
c22dbbe3ae
factor out repaint to its own method
...
it's gotten complex enough to isolate it
2014-11-14 09:09:50 +01:00
Frans de Jonge
81cb358775
Change rm invocation from rm -r to rm -rf
...
Fixes #941 .
2014-11-13 22:40:02 +01:00
Frans de Jonge
5faff6331f
"File to remove" DEBUG message was empty
...
You can't get the full file path of a file that no longer exists, obviously.
2014-11-13 12:54:58 +01:00
Frans de Jonge
886a9d8f8f
File manager improvements: added delete confirmation dialog and success/failure message
...
This makes deleting files from within KOReader less scary and also provides the initial framework for handling different exit codes for #941 .
2014-11-13 12:28:57 +01:00
Qingping Hou
b0b02182ff
Merge pull request #1160 from chrox/fix_1154
...
fix #1154
2014-11-13 03:41:14 -05:00
Qingping Hou
38cf53b426
Merge pull request #1159 from chrox/fix_1155
...
dismiss 'Opening file' dialog once reader view is ready
2014-11-13 03:37:34 -05:00
Qingping Hou
2cb23c9df6
Merge pull request #1153 from chrox/fix_1149
...
fix #1149 by adding 'Network setting' in filemanager
2014-11-13 03:27:33 -05:00
chrox
111ad02143
fix #1154
...
And koreader release version is normalized to a 10 digits containing
a four digits year field followed by a two digits month field followed
by a four digits revision field like "2014041079".
2014-11-13 14:43:20 +08:00
chrox
d65e5cf813
dismiss 'Opening file' dialog once reader view is ready
2014-11-13 14:00:35 +08:00
chrox
edb124471d
screensaver options only apply to Kobo devices
2014-11-13 12:59:02 +08:00
chrox
cfa4f03c18
fix #1149 by adding 'Network setting' in filemanager
2014-11-13 12:54:42 +08:00
chrox
307bbe8675
fix #1142 by adding 'show page overlap' option for EPUB doc
...
And 'show page overlap' option is disabled in "page" mode for EPUBs,
and in fit to page/*height zoom mode for PDFs.
2014-11-13 12:37:20 +08:00
Huang Xin
24d629d4e7
Merge pull request #1145 from NiLuJe/master
...
Some more refresh fixes...
2014-11-13 07:07:39 +08:00
NiLuJe
13cbed8ea5
Fix partial refreshes on older Kobo devices
...
Fix #1146 (regression).
2014-11-12 19:12:22 +01:00
NiLuJe
1063ee74e5
Fix flipping mode refreshes
...
Don't do regional footer refreshes when we're in flipping mode.
There's probably a more elegant/correct way to handle this, but this
does the job ;).
Fix #1140
2014-11-12 16:51:52 +01:00
NiLuJe
1ee09010c4
Make ScrollTextWidget updates regional
...
Because I like breaking stuff in fun & interesting ways :D
2014-11-12 15:55:30 +01:00
Hans-Werner Hilse
acf6641009
fix memory calculation for cache insert decision, simplify drawing/rendering
2014-11-12 15:53:08 +01:00
NiLuJe
eef26a0e94
Ask for a full refresh when clearing HL
...
Helps avoiding ghosting, especially on REAGL devices.
re #1119
2014-11-12 15:49:01 +01:00
Hans-Werner Hilse
6b45a4ea06
fix cache implementation
...
the cache would behave badly when the same item was insert()ed twice:
it would add the size twice to memory consumption, but would never substract
it twice when purging the (actually single) object from cache. So the cache
would seem to fill up while in fact it wasn't.
2014-11-12 15:21:20 +01:00
NiLuJe
3d5dd44a4c
Don't hijack "fast" UI refresh w/ the REAGL stuff
2014-11-12 15:03:59 +01:00
Huang Xin
4fc1ff4491
Merge pull request #1141 from Frenzie/master
...
Minor English improvements.
2014-11-12 20:43:22 +08:00
Frans de Jonge
e5029b54c1
Capitalization: change a few mentions of calibre to lowercase
...
The author likes it that way. See http://calibre-ebook.com/about
2014-11-12 13:10:48 +01:00
Frans de Jonge
ff4e2f3458
Minor English improvements.
2014-11-12 12:29:38 +01:00
Hans-Werner Hilse
50cdbf133f
fix refresh with rotation and viewport
2014-11-12 09:32:09 +01:00
chrox
efbd7f7b5d
schedule in menu option callback
...
so that new reginal update on menu entry don't
affect screen update from callback results
2014-11-12 15:40:37 +08:00
Hans-Werner Hilse
5a36e5427f
fixes for picdocument
...
picdocument didn't use the document API correctly
2014-11-11 22:32:57 +01:00
Hans-Werner Hilse
c5afa17399
make fake_events device a private feature of the Kindle device initialization
...
This is highly Kindle-specific, so we keep it there for now
2014-11-11 20:17:46 +01:00
Hans-Werner Hilse
6e40d5a9ad
Fix refresh in rotated (landscape) mode when using viewport
...
Rotation wasn't applied to the underlying framebuffer's blitbuffer,
so refresh coordinates were cut off the wrong way.
2014-11-11 17:43:58 +01:00
NiLuJe
859031222e
Simplify the H2O special-casing
...
re #1119
AUTO appears to be doing the right thing...
(even if that baffles me, given the state of the Kernel sources,
unless they flip some switches at compile time
[NTX_WFM_MODE_OPTIMIZED_REAGL / NO_AUTO_REAGL_MODE] ...)
Anyway, that's what nickel does, so follow its lead ;).
2014-11-11 17:08:41 +01:00
Hans-Werner Hilse
5e5b2bd18d
calculate proper refresh coordinates when using viewport
...
The viewport offset used by refresh() was not properly adapted when
the screen was rotated.
2014-11-11 15:53:26 +01:00
Hans-Werner Hilse
78b098e47d
make functions in MD5 implementation local
...
also get rid of mostly unused helper libraries and some stylistic
oddities in the MD5 code
2014-11-11 15:53:26 +01:00
Qingping Hou
c8edd020f1
Merge pull request #1127 from chrox/fix_1120
...
fix missing fake events for Kindle devices
2014-11-11 03:10:43 -05:00
Qingping Hou
123d0a1230
Merge pull request #1126 from chrox/wifi_toggler
...
add network settings in reader menu
2014-11-11 03:05:12 -05:00
Qingping Hou
e0f18ebf5a
Merge pull request #1125 from chrox/fix_1105
...
fix #1105
2014-11-11 03:02:54 -05:00
Qingping Hou
fac2e121d2
Merge pull request #1124 from chrox/remember_menutab
...
remember menu tab index when showing reader menu
2014-11-11 03:01:35 -05:00
chrox
b6432c0305
fix missing fake events for Kindle devices
...
This should fix #1120 .
2014-11-11 13:17:13 +08:00
chrox
590073e4a8
add network settings in reader menu
...
and remove the wifi toggler on the footer of each menu page,
so that network status is only checked (currently with the stdout of ip cmd)
when navigating to the "Network settings" submenu instead of checking
on each menu popup.
2014-11-11 12:12:39 +08:00
NiLuJe
d018a31b0a
Me speak english good. ya!
2014-11-11 03:58:57 +01:00
chrox
ea4a37fe29
fix #1105
2014-11-11 10:44:54 +08:00
NiLuJe
dbe816062b
Be consistent in how we refer to stuff
2014-11-11 03:39:47 +01:00
NiLuJe
c3274a9d5e
Unbreak FM by reverting 7a812f
...
:D
2014-11-11 03:24:56 +01:00
NiLuJe
b88e304845
Make TouchMenu updates regional
2014-11-11 03:17:15 +01:00
NiLuJe
88c26b4112
Make ConfigDialog updates regional
2014-11-11 03:10:03 +01:00
chrox
95ac27df5c
remember menu tab index when showing reader menu
2014-11-11 10:06:17 +08:00
NiLuJe
7a812ff86d
Make Button update regional
2014-11-11 03:03:25 +01:00
NiLuJe
39244aa0cb
Make ToggleSwitch updates regional
2014-11-11 02:52:47 +01:00
NiLuJe
041f11cba0
Tweak some comments
2014-11-11 02:42:07 +01:00