Commit Graph

3763 Commits (e031599c0a14c5fd6efc174d9ce431d32c57cb55)
 

Author SHA1 Message Date
Hans-Werner Hilse e031599c0a fix strcoll() workaround
The strcoll() workaround we had in place for Kobo devices was (or has
become) ineffective. We had set self.strcoll to nil on Kobo devices -
but this was the instance variable. Setting it to nil effectively makes
the instance variable vanish, so when trying to access it later, it
was not there and got looked up via the metatable - which had the original
reference. Setting it to nil had no effect whatsoever.

We simplify that approach and set the replacement function where before we
had set this to nil.

This is a partial fix for issue #1183 (and explains a comment in issue #686
which says that the old fix did not work).

However, to really fix #1183 - if we want to do so - we would need a collate
function that normalizes uppercase/lowercase before compare.
10 years ago
NiLuJe 16459fe442 Merge pull request #1188 from hwhw/master
fix dump() recursion detection
10 years ago
Hans-Werner Hilse 7e0b49edd1 fix dump() recursion detection
only detect recursions for table values.
10 years ago
Huang Xin fd81ebdc00 Merge pull request #1187 from Frenzie/language
Changed "delete" in history to "remove this item from history" for clarity
10 years ago
Frans de Jonge 7a4b737ecd Changed "delete" in history to "remove this item from history" for clarity 10 years ago
Huang Xin b5521df335 Merge pull request #1185 from erosennin/phoenix-viewport
Fix the viewport on Kobo Aura (phoenix).
10 years ago
Andrey Golovizin f785b29f34 Fix the viewport on Kobo Aura (phoenix). 10 years ago
Huang Xin e904a99589 Merge pull request #1178 from erosennin/show-current-settings
Show current font face and hyphenation dictionary in menu
10 years ago
Andrey Golovizin 50d9041c1d Use checked_func instead of remembering the checked item. 10 years ago
Andrey Golovizin a3e51b339d Show current font face in menu. 10 years ago
Andrey Golovizin c5122abb21 Show current hyphenation dictionary in menu. 10 years ago
NiLuJe 40a9615d5f Merge pull request #1184 from hwhw/master
update to latest base
10 years ago
Hans-Werner Hilse a41ccb7ba0 update to latest base
Pull changes to CREngine property setting
(should speed things up when re-rendering is being done)
10 years ago
NiLuJe f899af32d9 Merge pull request #1182 from hwhw/master
fix bug in viewport offset calculation for refreshes
10 years ago
Hans-Werner Hilse e8d576f99f fix bug in viewport offset calculation for refreshes
The calculation did not correctly calculate the offset in rotated
modes when the rotation was 90 or 270 degrees. Under these circumstances,
getWidth() and getHeight() did return rotated values for the framebuffer,
while Device.viewport did return not rotated values.
10 years ago
Huang Xin 560131957c Merge pull request #1177 from erosennin/remember-hyphenation
Preserve hyphenation settings when changing font face
10 years ago
Andrey Golovizin 99eecde875 Use setStringProperty method to set hyphenation dictionary. 10 years ago
Huang Xin 7dbe940b71 Merge pull request #1174 from Frenzie/master
Various language-related fixes.
10 years ago
Frans de Jonge 90d3c23030 Enter *a* word to look up. 10 years ago
Frans de Jonge fcb59bfd30 Improved SetDefaults dialog message. 10 years ago
Frans de Jonge 26baa5e007 Added timeout to successful delete message. 10 years ago
Frans de Jonge 324d67a7a8 Various language-related fixes. 10 years ago
NiLuJe ac7e25504e Merge pull request #1172 from hwhw/master
factor out dump() function, handle reference loops
10 years ago
Hans-Werner Hilse 5b48c165b3 factor out dump() function, handle reference loops 10 years ago
HW 3459a432de Merge pull request #1171 from tigran123/fix1164
Fix #1164 by registering .txt.zip/.html.zip/.htm.zip formats
10 years ago
Tigran Aivazian e5e50ed0f9 Fix 1169 by registering .txt.zip/.html.zip/.htm.zip formats 10 years ago
Huang Xin 2dbda247a2 Merge pull request #1168 from hwhw/master
Fix double-check of task list
10 years ago
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.
10 years ago
Hans-Werner Hilse c22dbbe3ae factor out repaint to its own method
it's gotten complex enough to isolate it
10 years ago
Huang Xin 5e24e18d3e Merge pull request #1167 from Frenzie/master
Change rm invocation from rm -r to rm -rf
10 years ago
Frans de Jonge 81cb358775 Change rm invocation from rm -r to rm -rf
Fixes #941.
10 years ago
HW 4f19d5a9b7 Merge pull request #1163 from Frenzie/master
"File to remove" DEBUG message was empty
10 years ago
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.
10 years ago
Huang Xin c219ba3266 Merge pull request #1162 from Frenzie/master
File manager improvements: added delete confirmation dialog and success/failure message
10 years ago
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.
10 years ago
Qingping Hou b0b02182ff Merge pull request #1160 from chrox/fix_1154
fix #1154
10 years ago
Qingping Hou 38cf53b426 Merge pull request #1159 from chrox/fix_1155
dismiss 'Opening file' dialog once reader view is ready
10 years ago
Qingping Hou 2cb23c9df6 Merge pull request #1153 from chrox/fix_1149
fix #1149 by adding 'Network setting' in filemanager
10 years ago
Qingping Hou 244a0cb6f5 Merge pull request #1152 from chrox/fix_1142
fix #1142 by adding 'show page overlap' option for EPUB doc
10 years ago
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".
10 years ago
chrox d65e5cf813 dismiss 'Opening file' dialog once reader view is ready 10 years ago
chrox edb124471d screensaver options only apply to Kobo devices 10 years ago
chrox cfa4f03c18 fix #1149 by adding 'Network setting' in filemanager 10 years ago
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.
10 years ago
Huang Xin 24d629d4e7 Merge pull request #1145 from NiLuJe/master
Some more refresh fixes...
10 years ago
Huang Xin 382441f651 Merge pull request #1144 from hwhw/master
Memory related fixes
10 years ago
NiLuJe 13cbed8ea5 Fix partial refreshes on older Kobo devices
Fix #1146 (regression).
10 years ago
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
10 years ago
Hans-Werner Hilse aadbca416b pull latest base
contains fix/workaround for freeing memory used by MuPDF
10 years ago
NiLuJe 1ee09010c4 Make ScrollTextWidget updates regional
Because I like breaking stuff in fun & interesting ways :D
10 years ago