Commit graph

221 commits

Author SHA1 Message Date
Heiko Bauke
0a4f909b97 fixed wrong language declaration 2016-04-18 14:54:18 +02:00
Heiko Bauke
80750b4f86 fixed double "CONFIG += sailfishapp" 2016-04-18 09:37:30 +02:00
Heiko Bauke
a4b7c45f8b revert changes in habour-books.spec 2016-04-17 02:05:34 +02:00
Heiko Bauke
a319ba6008 German localization 2016-04-16 23:01:17 +02:00
Slava Monich
138e7f2068 [app] Optimize BooksShelfItem
Use Loader to instantiate components on demand
2016-03-16 01:31:33 +02:00
Slava Monich
cb4f35a0c1 Fixed date in changelog 2016-03-05 17:32:06 +02:00
Slava Monich
b193b6d968 Version 1.0.10 2016-02-21 18:38:34 +03:00
Slava Monich
0220a2c79a [app] Tweaking the "Loading..." screen 2016-02-21 15:13:40 +03:00
Slava Monich
34f8070d8d [app] Fixed OBS build 2016-02-21 14:53:45 +03:00
Slava Monich
c27cccee7f [fbreader] Handle empty XHTML style stack 2016-02-21 13:51:49 +03:00
Slava Monich
40bfd59dc5 [app] Added -d option that turns on built-in fbreader trace
for example, -d epub
2016-02-21 13:48:07 +03:00
Slava Monich
bd3dbb7d19 [fbreader] Fixed the problem with external XML entities
XML parser's "hash_secret_salt" has to be set to anything non-zero.
Otherwise this parser won't be able to use the entity cache filled
by the child DTD parsers. For more details see CVE-2012-0876 and
http://sourceforge.net/p/expat/bugs/496/
2015-12-14 12:33:29 +03:00
Slava Monich
c9ec2cb51e [stubs] Added XML_SetHashSalt stub
It't required to fix the problem created by the fix for CVE-2012-0876
This is a great example of a solution that creates more problems than
it solves.
2015-12-14 12:23:12 +03:00
Slava Monich
e3fc9982c6 [app] Fixed ZLibrary::ourApplicationDirectory
It wasn't pointing where FBReader code was expecting it to point.
Particularly, FBReader wasn't finding format-specific XML entities.
2015-12-14 12:18:22 +03:00
Slava Monich
4704c68caf [fbreader] Handle SVG image element when looking for cover 2015-12-13 18:25:09 +03:00
Slava Monich
58d0927e82 [app] Implemented per-book font size
The global font size setting still exists, per-book value is the adjustment
relative to the default value.
2015-12-13 14:46:53 +03:00
Slava Monich
7ab1b72343 [app] Changed "-a" icon alignment 2015-12-12 17:33:24 +03:00
Slava Monich
c95bb79aa2 [app] Tweaking book copy 2015-12-12 12:38:26 +03:00
Slava Monich
84b9b77523 [app] Show progress indicator when copying the book 2015-12-03 01:00:45 +02:00
Slava Monich
272a45279c [app] Preparing to support copying folders 2015-12-02 23:38:16 +02:00
Slava Monich
08c0904a84 [app] Fixed the problem with the initial focus
If the first press isn't ignored by the drag area then the first flick
won't work. The problem has something to do with this drag area as
everything works fine if the drag area is removed. Couldn't figure out
what exactly the problem was and what's wrong with the initial focus,
but this hack makes things work.
2015-12-01 19:10:31 +02:00
Slava Monich
26e651a932 [app] Tweaking BooksShelfView
It doesn't need to be flickable. Also, re-parented BooksDragArea
2015-12-01 19:00:55 +02:00
Slava Monich
2f435649b7 [app] Removed unnecessary slash from the state file name
Doesn't really matter, purely cosmetic change
2015-12-01 18:59:17 +02:00
Slava Monich
34fb489107 [app] Reworked support for folder renaming
The actual renaming is easier to do in BooksShelf rather than BooksPathModel
and it generally makes more sense.

Editing now also starts after long-pressing the title of the current folder.
2015-12-01 00:00:56 +02:00
Slava Monich
9f1261a822 [app] Added BooksSaveTimer::saveNow() method 2015-11-30 23:18:53 +02:00
Slava Monich
a89e489f7a [app] Fixed criteria of a valid folder name 2015-11-30 23:17:43 +02:00
Slava Monich
ed218a6f03 [app] Added translation for "Enter folder name" 2015-11-30 18:29:37 +02:00
Slava Monich
57204d3cc4 [app] Implemented folder renaming 2015-11-30 17:57:27 +02:00
Slava Monich
8a4e131452 [app] Tweaking folder UI 2015-11-29 23:18:09 +02:00
Slava Monich
89f79e2492 [app] Added limited support for folders
UI doesn't allow creating or renaming the folders yet and there's
no easy way to move books between folders, but if folders are there,
they will be shown and the user will be able to navigate between them.

Folders can be deleted though.
2015-11-08 14:20:25 +03:00
Slava Monich
ef19a5c2e7 [app] Better guess at screen DPI 2015-11-05 01:04:55 +03:00
Slava Monich
3ebb82b208 [app] Housekeeping 2015-11-05 01:03:49 +03:00
Slava Monich
98b269d405 [app] Use busy indicator of medium size for bookshelf item 2015-11-05 00:40:29 +03:00
Slava Monich
cd2ada4654 Fixed path to app icon in README.md 2015-11-04 17:22:52 +03:00
Slava Monich
fe7f81e353 [app] Updated Finnish translation for book-view-formatting 2015-11-03 15:48:28 +03:00
Slava Monich
512c698fd1 [app] Only show the cancel button when actually loading the book 2015-11-03 01:33:58 +03:00
Slava Monich
aa73002011 Version 1.0.9 2015-11-02 22:57:21 +03:00
Slava Monich
53f7693ced [app] Workaround for Qt crash
Qt was crashing when user was swiping over hidden cancel button.
Making button invisible helps to avoid the crash.
2015-10-31 00:04:04 +03:00
Slava Monich
516028d542 Version 1.0.8 2015-10-21 14:03:05 +03:00
Slava Monich
312dbff58c [app] Don't mess with the Button width 2015-10-21 13:57:38 +03:00
Slava Monich
01e9c614a0 [app] Fixed the "cancel load" button
Now it disappears after loading is done and becomes compatible with SFOS 1.1.7
2015-10-21 13:38:28 +03:00
Slava Monich
d82564509c [app] Package icons in a different way
Otherwise deployment from QtCreator may fail.
2015-10-21 13:31:48 +03:00
Slava Monich
eda98440cf [app] Added 108x108, 128x128 and 256x256 icons 2015-10-19 16:54:37 +03:00
Slava Monich
1fc46997eb [app] Fixed gcc 4.8 warning "iteration 1u invokes undefined behavior" 2015-10-15 17:24:24 +03:00
Slava Monich
88e439e170 Version 1.0.7 2015-10-15 16:30:01 +03:00
Slava Monich
faf8581445 [test] Call ZLFile::initCache prior to running the tests
Otherwise test would crash
2015-09-13 13:18:37 +03:00
Slava Monich
94af49b211 [fbreader] Added ZLFile::flushCache 2015-09-13 13:17:52 +03:00
Slava Monich
b6a5dd4576 [fbreader] Reduced the number of atomic builtins used by the code 2015-09-13 13:16:19 +03:00
Slava Monich
b70dd1bcf9 [fbreader] Fixed incorrect use of atomic builtins
Which resulted in memory leaks
2015-09-13 13:14:13 +03:00
Slava Monich
c243a75376 Merge pull request #13 from eson57/patch-2
Update harbour-books-sv.ts
2015-09-12 22:44:52 +03:00