Giter Club home page Giter Club logo

fbreaderj's People

Contributors

aplicatii-romanesti avatar beckydtp avatar bigfishcat avatar boussouira avatar danieroux avatar dennis-sheil avatar dlmv avatar eliovir avatar ffes avatar fotock avatar geometer avatar horus68 avatar igormarques avatar intari avatar itkach avatar lidoxod avatar liquiddandruff avatar madill avatar matm avatar pataquets avatar probil avatar siebert avatar snaury avatar snowwlex avatar t3d avatar tamo avatar trottel avatar udmv avatar ury0005 avatar vasiliy-bout avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fbreaderj's Issues

The application fbreaderj stopped unexpectedly.

Hello Friends,

I am the error "The application fbreaderj stopped unexpectedly.". The following has more details.
Could someone kindly let me what is causing the problem?

Thanks
Larry

Error
Tue Nov 15 11:24:26 EST 2011
No command output when running: 'am start -n org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader -a android.intent.action.MAIN -c android.intent.category.LAUNCHER' on device emulator-5554

com.android.ddmlib.ShellCommandUnresponsiveException
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:408)
at com.android.ddmlib.Device.executeShellCommand(Device.java:311)
at com.android.ide.eclipse.adt.internal.launch.ActivityLaunchAction.doLaunchAction(ActivityLaunchAction.java:74)
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(AndroidLaunchController.java:1148)
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.clientChanged(AndroidLaunchController.java:1498)
at com.android.ddmlib.AndroidDebugBridge.clientChanged(AndroidDebugBridge.java:871)
at com.android.ddmlib.Device.update(Device.java:436)
at com.android.ddmlib.Client.update(Client.java:836)
at com.android.ddmlib.HandleAppName.handleAPNM(HandleAppName.java:90)
at com.android.ddmlib.HandleAppName.handleChunk(HandleAppName.java:64)
at com.android.ddmlib.MonitorThread.callHandler(MonitorThread.java:414)
at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:322)
at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

Locking phone while FBReaderJ open leads to incorrect time being displayed

When locking my phone while FBReaderJ is open, upon resuming (unlocking the phone later), the clock displayed in the status bar is not updated, and continues ticking away with the incorrect time.

Steps to reproduce:

  1. Open FBReaderJ, and open a book into the reader screen. Note the time in the status bar.
  2. Lock the phone.
  3. Wait a couple of minutes.
  4. Unlock the phone, restoring the app. Note the time has not updated.
  5. Watch for a couple of minutes, and note that the time continues ticking along from the previously paused time.

Expected behavior:

The clock should be updated from system time upon restoring from lock mode. Then the tick counter can update the software timer asynchronously from the clock as it appears to do now.

FBReaderJ 1.3.7 (103071)
Phone: HTC Evo 3D
OS: Android 2.3.4

FBRreader.apk from Toshiba AC100 misses libLineBreak

I wanted to use FBReader on a Samsung Galaxy telephone, but had no
Internet connection. So I found FBReader.apk on my Toshiba AC100
(which is ARM, had Android), and installed it on the phone.

I thought that the dependencies are checked when a package is
installed on Android, but I get the following error now (it's about
missing libLineBreak).

(The program wanted to report the error via email, but the email
address it wanted to use is not valid. See below for the description
of the errors.

Please be informed of this two problems.)

Subject: FBReader 0.6.4 exception report

java.lang.ExceptionInInitializerError
at org.geometerplus.zlibrary.text.view.ZLTextParagraphCursor.fill(ZLTextParagraphCursor.java:193)
at org.geometerplus.zlibrary.text.view.ZLTextParagraphCursor.(ZLTextParagraphCursor.java:177)
at org.geometerplus.zlibrary.text.view.ZLTextParagraphCursor.cursor(ZLTextParagraphCursor.java:183)
at org.geometerplus.zlibrary.text.view.ZLTextView.setModel(ZLTextView.java:74)
at org.geometerplus.fbreader.fbreader.FBView.setModel(FBView.java:41)
at org.geometerplus.fbreader.fbreader.FBReader.openBookInternal(FBReader.java:210)
at org.geometerplus.fbreader.fbreader.FBReader$1.run(FBReader.java:133)
at org.geometerplus.zlibrary.ui.android.dialogs.ZLAndroidDialogManager$3.run(ZLAndroidDialogManager.java:216)
at java.lang.Thread.run(Thread.java:1096)
Caused by: java.lang.UnsatisfiedLinkError: Library LineBreak not found
at java.lang.Runtime.loadLibrary(Runtime.java:461)
at java.lang.System.loadLibrary(System.java:557)
at org.vimgadgets.linebreak.LineBreaker.(LineBreaker.java:5)
... 9 more

Bullet list display error.

The bullet point lists are shown incorrectly (have checked to verify it is not part of the books code).

They appear as, using [] as a bullet substitute:
[] First point
[]
Second Point
[]
Third Point
etc...

Only the first bullet is shown correctly.

I have included a screenshot to better explain.
http://i.imgur.com/v2M9a.jpg

FBReader/Android not formatting my ebooks properly

I wrote a short ebook on Haskell command line programming with GetOptFu. I made this available online in plain HTML, as well in two popular ebook formats: ePUB and MOBI. FBReader for Android shows neither of these files correctly, ignoring basic CSS directives for text-alignment, as well as ignoring indentation in PRE-formatted code. I believe these ebooks should appear more like they do in their respective hardware readers, nook and Kindle respectively. I've tested these books on both devices, and when FBReader opens them, they look much sloppier.

Specs:

  • FBReader 1.6.3
  • Android 4.0.3
  • acer A200 tablet

Make tapping zones customizable

Would be great to have tapping behavior on different screen zones (flipping pages in the bottom and top, choosing pages and accessing menu in the middle) customizable. Thank you.

SSL (self signed) in Network Library

The network library does not work with OPDS catalogues if they are on HTTPS. It gives an error saying that it failed to connect. The catalogue is otherwise available as the xml file can be found by navigating to the correct location in a browser both on the android device and PC. This appears to be an issue with self signed certificates.

No pagination in OPDS Catalogs

I'm writing and ODPS catalog of my epub collection. Everything works fine, i can load my Catalog, FBReader gets my title automatically, and loads my menu (just one "Recent" menu item for now).

But when i load that navigation option, that points to an ODPS listing with the latest 20, and data for pagination, FBReader starts to load all the pages, one after another, until the end.

That sums up to 3.845 ebooks data in 192 pages, loaded in a single shot, so 192 calls to my server to get the pages, plus 3.845 calls to get the 3.845 thumbnails, to a final 4.037 calls to load a section in FBReader !

After a couple minutes, my phone just can't handle the load and hangs FBReader.

So i assume the is no pagination support in FBReader, it just try to load the whole set by default.

Could it be possible to add support for the ODPS pagination standard ?

I think i've set the correct tags as for the specification:

<opensearch:totalResults>3845</opensearch:totalResults>
<opensearch:itemsPerPage>20</opensearch:itemsPerPage>
<link type="application/atom+xml; profile=opds-catalog; kind=navigation" rel="self" href="http://marcosbl.local/opds/recent"/>
<link type="application/atom+xml;profile=opds-catalog;kind=acquisition" title="Siguiente" rel="next" href="http://marcosbl.local/opds/recent/2"/>

So i think everything is in place for pagination support, total number, per page, and current and next pages link.

I know i can use OpenSearch (in fact i do, and it works great !) but pagination should be there for authors/recents/top listings imho.

Thanks for your time and excuse my poor english !

Feature request: PDF support

I love how FBReader supports both ePUB and MOBI, so whether your ebook collection is mostly Kindle or mostly nook, you're covered. But in fact, most ebooks today are still in PDF format, so it would be very helpful if FBReader added support for viewing PDF files, especially for Android.

What say you?

Plain HTML support

ePUB and MOBI are just zipped HTML files, so why not add support for plain HTML files?

Book page size customization

I imply the possibility to customize amount of words/symbols, that are counted as a page.
Now, FBReader says, Dostoyevsky's "Demons" ("Бесы") contains 1700 pages which is obviously not true.
For example, i could make the page to be counted as 1024 symbols or 200 words.
Thanks

ant package & ant debug doesn't work

Hi,

I want to build FBReaderJ but i receive this error :

computer-di-apple-pc-03:FBReaderJ-sources-1.3.3 agosto$ ant package
Buildfile: /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/build.xml

BUILD FAILED
Target "package" does not exist in the project "FBReaderJ".

Total time: 0 seconds

ant debug :

....
.....
....
....

-compile:
[javac] Compiling 495 source files to /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/bin/classes
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:38: package javax.jmdns does not exist
[javac] import javax.jmdns.*;
[javac] ^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:207: cannot find symbol
[javac] symbol : class ServiceInfo
[javac] location: class org.geometerplus.android.fbreader.network.ScanLocalNetworkActivity.ServiceInfoItem
[javac] private final ServiceInfo myServiceInfo;
[javac] ^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:209: cannot find symbol
[javac] symbol : class ServiceInfo
[javac] location: class org.geometerplus.android.fbreader.network.ScanLocalNetworkActivity.ServiceInfoItem
[javac] public ServiceInfoItem(ServiceInfo info) {
[javac] ^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:161: cannot find symbol
[javac] symbol: class JmDNS
[javac] final JmDNS mcDNS = JmDNS.create(address, "FBReader");
[javac] ^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:161: cannot find symbol
[javac] symbol: variable JmDNS
[javac] final JmDNS mcDNS = JmDNS.create(address, "FBReader");
[javac] ^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:163: cannot find symbol
[javac] symbol: class ServiceInfo
[javac] for (ServiceInfo info : mcDNS.list(type)) {
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 6 errors

BUILD FAILED
/Developer/android-sdk-mac_x86/tools/ant/build.xml:602: The following error occurred while executing this line:
/Developer/android-sdk-mac_x86/tools/ant/build.xml:622: Compile failed; see the compiler error output for details.

Is there anyone help me?
Thanks

Opensearchdescription doesn't seem to be working anymore

I have made a small OPDS server using Calibre library (COPS) and it provide opensearchdescription to allow search in the catalog.

It used to work perfectly with FBReaderJ. The last time I checked it was in May 2012 and it was working fine.

I received an issue from a user saying it doesn't work anymore a few days ago. After investigating a little I found out that it was true.

The only way I found to make it work again was to avoid using OpenSearchDescription and use it like this :

    <link href="http://xxx.fr/feed.php?query={searchTerms}" type="application/atom+xml" rel="search" title="Search here"/>

My previous way was :

    <link href="feed.php?page=8" type="application/opensearchdescription+xml" rel="search" title="Search here"/>

And adding a description like this :

    <?xml version="1.0" encoding="UTF-8"?>  
    <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
      <ShortName>My catalog</ShortName>
      <InputEncoding>UTF-8</InputEncoding>
      <OutputEncoding>UTF-8</OutputEncoding>
      <Image type="image/x-icon" width="16" height="16">favicon.ico</Image>
      <Url type="application/atom+xml" template="http://cops-demo.slucas.fr/feed.php?query={searchTerms}"/>
      <Query role="example" searchTerms="robot"/>
    </OpenSearchDescription>

You can try it with my demo catalog :
http://cops-demo.slucas.fr/feed.php

Thanks in advance.

Button lights re-light-up when changing screen brightness using left-finger-drag

When both the "Screen brightness adjustment" and "Disable buttons light during reading" settings are enabled, upon changing the screen brightness with a left-side vertical finger drag, the button lights light up again, and are not shut off until entering the settings menu and returning, or exiting and restarting FBReaderJ. Happens in both Day & Night mode.

Steps to reproduce:

  1. Start FBReaderJ, enable "Screen brightness adjustment" and "Disable buttons light during reader" settings in the Settings->Appearance menu.
  2. Return to the reader screen with a book open. Make sure the button lights are off.
  3. Change the display brightness (up or down) with a left-screen-side-finger-drag. The buttons will light up.
  4. Exit and restart, or enter the Settings menu and return to the reader; they will turn off again.

Expected behavior:

Ideally, they wouldn't light up, or maybe turn back off right after changing the display brightness.

FBReaderJ 1.3.7 (103071)
Phone: HTC Evo 3D
OS: Android 2.3.4

Table support - columns below each other

I'm using 1.5 on Android, and I have an epub created with writer2xhtml in LibreOffice 3.5. When I view it with EPUBReader in Firefox, the tables are okay, but when I try to view the table in FBReader on my phone the columns are displayed underneath each other. This makes it hard to compare numbers in this table. Are viewing of tables supported?

the email address hardcoded for sending bugs to doesn't work

FBReader from Toshiba AC100 wants to send (automatically) bug reports to [email protected] , but this address doesn't work (anymore?).

Here is the reply:

Delivery to the following recipient failed permanently:

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 [email protected]: invalid address (state 13).

----- Original message -----

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:cc:content-type;
bh=BQGsFKL+L9rZQMq8JwuhyQTRXbbWFFYcATBgWJw6wOQ=;
b=MV+3BI0VJfQJXtYTlOse4R7Bguc4bFoTYPRLhJwuelSX5Bp1gLk39xXDtGIPo+wjnH
EBfl9NcB5Ht/VPR8azYZke6YmX1KN9unGRfaR5cfZKeMErAJYh+AXWyBfnby7uvJRYjP
oMHIbQmJ0p1jNBrq+tuXJhbERGa1GMnK4rpGMBM/TmsTd3W4uWo/eb6n/sQTZIv2inoT
8+a+cJWy7xAWlUgTzPhuOFtXjeJTNVkwTw752yhBLb6Dd4seHmZhJ7BJvpKL4I79cxOt
9XKZr9cMOfCP0wUzrqmug+07aJ9S73NSvF46snexNuZPDhvJykzvQ/ohICn4QcOD2P9x
y4qQ==
MIME-Version: 1.0
Received: by 10.182.73.65 with SMTP id j1mr1817079obv.42.1343976655041; Thu,
02 Aug 2012 23:50:55 -0700 (PDT)
Received: by 10.182.44.42 with HTTP; Thu, 2 Aug 2012 23:50:54 -0700 (PDT)
Received: by 10.182.44.42 with HTTP; Thu, 2 Aug 2012 23:50:54 -0700 (PDT)
In-Reply-To: CABU_JXzjDZ_pQBGdeq18V5iA7DKmz5+sWXrTzC5ig7HaC6PeuQ@mail.gmail.com
References: CABU_JXzjDZ_pQBGdeq18V5iA7DKmz5+sWXrTzC5ig7HaC6PeuQ@mail.gmail.com
Date: Fri, 3 Aug 2012 17:50:54 +1100
X-Google-Sender-Auth: SYBSSyfZimKEXRXbdv6eSon25Fg
Message-ID: CABU_JXyMSDisdrD3MktiAi2E4qBn=wn-3ZZAz3Rch8+Z0LSU_Q@mail.gmail.com
Subject: FBReader 0.6.4 exception report
From: Ivan Zakharyaschev [email protected]
To: [email protected]
Cc: [email protected]
Content-Type: multipart/alternative; boundary=f46d044472e31c333a04c656f34a

The exception itself reported in that message is described at #66.

Переоткрытие старой книги после выбора новой

Часто (но не каждый раз) вылазит такой глюк: из библиотеки выбираю новую книгу (например, из "по авторам" или из "недавних", без разницы), программа показывает диалог загрузки, потом он пропадает, показывается книга, и тут же поверх ещё раз показывается диалог загрузки и читается и показывается старая книга. Такое может быть несколько раз подряд. Борюсь обычно выходом и принудительной очисткой памяти телефона, после этого, как правило, нормально открывает новую книгу.
Телефон: Samsung Galaxy S i9000 перешитый на 2.3.6 (I9000XXJVT). Каталог с книгами лежит на внешней карте памяти (карта 16GB). Обновляю через маркет уже с полгода, сносить и ставить заново не пробовал.

fbreader accepts an intent it should not

FBReader will react to an intent with action = android.intent.action.VIEW and data = content://anything (eg. content://com.sec.android.widgetapp.dualclock/dualclock/ as used by one Samsung widget) and no type.

android:pathPattern=".*.fb2" apparently does not work without also matching on a host.

FBReaderJ crashes on non-ISO 8859-1 epub's with JPG cover images

The crash happens on the ice-cream-sandwich branch.

When the Android device or emulator is in a non-ISO 8859-1 language, and is instead in say a ISO 8859-2 language such as Hungarian or Czech, and you are reading an epub with a cover image in one of those non-ISO 8859-1 languages, such as Hungarian or Czech, the program crashes. It crashes, because when the code is dealing with the JPG cover image embedded within the epub, it does a check to see if character encoding is windows-1252. The check assumes the character encoding is ISO 8859-1 before the check even completes, and crashes if it is not so. I will post about that in subsequent comments.

This is on the ice-cream-sandwich branch, in a Jellybean (4.1) emulator in Czech language mode. I downloaded one of the epub books the app can not handle - R.U.R. by Karel Čapek. You can download that epub here ( http://www.gutenberg.org/ebooks/13083.epub ).

Czech epub's without a JPEG cover image loaded fine. Ones like this with a JPEG cover image crashed during the load though.

Also, Hungarian epub's with JPEG cover images crash the app in similar circumstances. The emulator set to Hungarian language, the epub loaded being a Hungarian language (Magyar) book with a JPG cover image in the epub. It will crash as well.

Here is the crash method as I try to load the book up. The crash is repeatable, I've done it several times:

W/System.err( 588): using plugin: ePub/NATIVE

W/dalvikvm( 588): JNI WARNING: input is not valid Modified UTF-8: illegal start byte 0xff

W/dalvikvm( 588): string: 'ÿØÿà'

W/dalvikvm( 588): in Lorg/geometerplus/fbreader/formats/NativeFormatPlugin;.readModelNative:(Lorg/geometerplus/fbreader/bookmodel/BookModel;)Z (NewStringUTF)

I/dalvikvm( 588): "Thread-80" prio=5 tid=11 NATIVE

I/dalvikvm( 588): | group="main" sCount=0 dsCount=0 obj=0x41565ff0 self=0x2a314ad8

I/dalvikvm( 588): | sysTid=664 nice=0 sched=0/0 cgrp=apps handle=707939960

I/dalvikvm( 588): | schedstat=( 288679729 2049960715 86 ) utm=24 stm=4 core=0

I/dalvikvm( 588): #00 pc 00001260 /system/lib/libcorkscrew.so (unwind_backtrace_thread+27)

I/dalvikvm( 588): #1 pc 0005f664 /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+35)

I/dalvikvm( 588): #2 pc 00053518 /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const_, Thread_, bool)+303)

I/dalvikvm( 588): #3 pc 000535b2 /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)

I/dalvikvm( 588): #4 pc 00038cfa /system/lib/libdvm.so

I/dalvikvm( 588): #5 pc 0003a0ac /system/lib/libdvm.so

I/dalvikvm( 588): #6 pc 0003c30a /system/lib/libdvm.so

I/dalvikvm( 588): #7 pc 000377d8 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (AndroidUtil::createJavaString(_JNIEnv*, std::string const&)+15)

I/dalvikvm( 588): #8 pc 00046b50 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (ZLUnicodeUtil::toLower(std::string const&)+35)

I/dalvikvm( 588): #9 pc 00047ea8 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (ZLXMLReader::readDocument(shared_ptr)+195)

I/dalvikvm( 588): #10 pc 00047f9c /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (ZLXMLReader::readDocument(ZLFile const&)+15)

I/dalvikvm( 588): #11 pc 0005e658 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (XHTMLImageFinder::readImage(ZLFile const&)+87)

I/dalvikvm( 588): #12 pc 0005baba /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (OEBBookReader::startElementHandler(char const_, char const_*)+1777)

I/dalvikvm( 588): #13 pc 00048f72 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (ZLXMLReaderInternal::fStartElementHandler(void_, char const_, char const**)+309)

I/dalvikvm( 588): #14 pc 00079402 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so

I/dalvikvm( 588): #15 pc 00079b64 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so

I/dalvikvm( 588): #16 pc 000788e6 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so

I/dalvikvm( 588): #17 pc 00078e12 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so

I/dalvikvm( 588): #18 pc 0007aaf2 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (XML_ParseBuffer+57)

I/dalvikvm( 588): #19 pc 00048012 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (ZLXMLReaderInternal::parseBuffer(char const*, unsigned int)+5)

I/dalvikvm( 588): #20 pc 00047f14 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (ZLXMLReader::readDocument(shared_ptr)+303)

I/dalvikvm( 588): #21 pc 00047f9c /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (ZLXMLReader::readDocument(ZLFile const&)+15)

I/dalvikvm( 588): #22 pc 0005ae8a /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (OEBBookReader::readBook(ZLFile const&)+189)

I/dalvikvm( 588): #23 pc 0005dd86 /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (OEBPlugin::readModel(BookModel&) const+57)

I/dalvikvm( 588): #24 pc 00036f4a /data/data/org.geometerplus.zlibrary.ui.android/lib/libNativeFormats-v2.so (Java_org_geometerplus_fbreader_formats_NativeFormatPlugin_readModelNative+149)

I/dalvikvm( 588): #25 pc 0001de30 /system/lib/libdvm.so (dvmPlatformInvoke+112)

I/dalvikvm( 588): #26 pc 0004ce66 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const_, JValue_, Method const_, Thread_)+389)

I/dalvikvm( 588): #27 pc 00038d84 /system/lib/libdvm.so (dvmCheckCallJNIMethod(unsigned int const_, JValue_, Method const_, Thread_)+7)

I/dalvikvm( 588): #28 pc 00027260 /system/lib/libdvm.so

I/dalvikvm( 588): #29 pc 0002bb2c /system/lib/libdvm.so (dvmInterpret(Thread_, Method const_, JValue*)+180)

I/dalvikvm( 588): #30 pc 0005f590 /system/lib/libdvm.so (dvmCallMethodV(Thread_, Method const_, Object_, bool, JValue_, std::__va_list)+271)

I/dalvikvm( 588): #31 pc 0005f5ba /system/lib/libdvm.so (dvmCallMethod(Thread_, Method const_, Object_, JValue_, ...)+19)

I/dalvikvm( 588): at org.geometerplus.fbreader.formats.NativeFormatPlugin.readModelNative(Native Method)

I/dalvikvm( 588): at org.geometerplus.fbreader.formats.NativeFormatPlugin.readModel(NativeFormatPlugin.java:63)

I/dalvikvm( 588): at org.geometerplus.fbreader.formats.oeb.OEBNativePlugin.readModel(OEBNativePlugin.java:47)

I/dalvikvm( 588): at org.geometerplus.fbreader.bookmodel.BookModel.createModel(BookModel.java:47)

I/dalvikvm( 588): at org.geometerplus.fbreader.fbreader.FBReaderApp.openBookInternal(FBReaderApp.java:259)

I/dalvikvm( 588): at org.geometerplus.fbreader.fbreader.FBReaderApp$1.run(FBReaderApp.java:157)

I/dalvikvm( 588): at org.geometerplus.android.util.UIUtil$3$1.run(UIUtil.java:120)

I/dalvikvm( 588):

E/dalvikvm( 588): VM aborting

F/libc ( 588): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 664 (Thread-80)

I/DEBUG ( 34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG ( 34): Build fingerprint: 'generic/sdk/generic:4.1/JRN83C/391408:eng/test-keys'

I/DEBUG ( 34): pid: 588, tid: 664, name: UNKNOWN >>> org.geometerplus.zlibrary.ui.android <<<

I/DEBUG ( 34): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d

Open fb2.zip files from any file manager

Currently it's not possible to open fb2.zip files in FBReader directly from File Manager. It could be fixed by adding the following intent filter:

            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="file" />
                <data android:host="*" />
                <data android:pathPattern=".*\\.fb2.zip" />
                <data android:mimeType="application/zip" />
            </intent-filter>

You can use ES File Explorer to check.

can't find ZLTextCSSStyleEntry and ZLTextOtherStyleEntry()

there are some errors, the Eclipse report ,
org.geometerplus.zlibrary.text.model.ZLTextPlainModel.java
final ZLTextStyleEntry entry =
type == ZLTextParagraph.Entry.STYLE_CSS
? new ZLTextCSSStyleEntry()
: new ZLTextOtherStyleEntry();

ZLTextCSSStyleEntry and ZLTextOtherStyleEntry are missing , please tell me where find them?

(Request)Black-on-white text in lists.

To make FBReaderJ look nice on eInk devices, please consider an option to change screen background color in library, network library, search etc to white and text color to black. It can be implemented as one single option "Default EInk Color Scheme".

Arabic Language support

Hi
I had a problem in opening arabic epub books with FBReader.
an example book can be downloaded from here http://www.ibooks.ae/?p=173

when I first opened the book the app didn't detect the language.
when I pressed reload the app detected the language as "Other language".

the book pages were not loaded, only displayed blank pages.
after several times of opening/reloading it finally opened the book and displayed normally.

Добавить список того, что будешь читать

Я много читаю и мне много людей рекомендует книги. Я их загружаю, но потом забываю и то как книга называется, и автора и вообще что собирался её прочесть.

Предлагаю наряду с Recent books добавить Want to read, чтобы можно было последовательно прочитать и не забыть

exportable bookmarks/highlights

...or at least a way to copy metadata.db over to another computer for sqlite hacking - assuming that's where bookmarks/etc are stored - right now that's not user-accessible unless you root the machine, right?

I like to copy/paste book excerpts to my WikiLog for future reference. I don't mind doing some SQLite hacking to do so. I'd even build a little webapp in web.py and share it with the class.....

Let me rephrase this as a series of questions:

  1. are bookmarks and highlights stored in metadata.db?
  2. is metadata.db user-visible (and copyable over USB to another computer) without rooting the android device?

Assuming the answer are 1=yes and 2=no, then please do simplest thing possible to make data accessible - maybe an export function that creates a copy of metadata.db?

Adding RTL language support

Hi,
I want to contribute this project to fix RTL rendering problem of FBReader in Android.
Can you direct me which class that need to be enhanced?

Пропадают плагины из меню (2.0beta6)

При первом запуске плагины на месте http://dl.dropbox.com/u/11362313/tmp/fb1.png
Если "закрыть" программу кнопкой "Назад" и заново открыть - плагины исчезают http://dl.dropbox.com/u/11362313/tmp/fb2.png
Вылечивается остановкой программы через Настройки-Управление приложениями.
Проверил на эмуляторе 4.0.3 и реальном 2.3.5
http://dl.dropbox.com/u/11362313/tmp/fb3.jpg
http://dl.dropbox.com/u/11362313/tmp/fb4.jpg

FBReader crashes when opening an "offline" file from google drive

When you set a file to be available "offline" in google drive, and you open it in FBReader, FBReader crashes with the following error message:


org.geometerplus.fbreader.bookmodel.BookReadingException: Error occured during reading '/data/data/com.google.android.apps.docs/cache/7794399287785437294/emerson, R.W. - De Overziel.epub'
at org.geometerplus.fbreader.formats.NativeFormatPlugin.a(Unknown Source)
at org.geometerplus.fbreader.formats.c.e.a(Unknown Source)
at org.geometerplus.fbreader.bookmodel.d.a(Unknown Source)
at org.geometerplus.fbreader.b.f.a(Unknown Source)
at org.geometerplus.fbreader.b.j.run(Unknown Source)

at org.geometerplus.android.a.j.run(Unknown Source)

Compilation error

I get the following compilation error when building FBReaderJ. Why is there direct access to fields instead of setters/getters in that code? After I correct it, it works fine. Do you want a patch for that?

ppawel ~/src/FBReaderJ $ ant debug
Buildfile: /home/ppawel/src/FBReaderJ/build.xml

-set-mode-check:

-set-debug-files:

-set-debug-mode:

-debug-obfuscation-check:

-setup:
     [echo] Gathering info for FBReaderJ...
    [setup] Android SDK Tools Revision 16
    [setup] Project Target: Android 2.2
    [setup] API level: 8
    [setup] 
    [setup] ------------------
    [setup] Resolving library dependencies:
    [setup] No library dependencies.
    [setup] 
    [setup] ------------------
    [setup] 
    [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (5) is lower than the project target API level (8)

-build-setup:
     [echo] Creating output directories if needed...

init:

check.native.libraries:
     [echo] Checking if native libraries are up-to-date...
     [echo] DONE (Checking if native libraries are up-to-date)

resources:
     [echo] Cleaning up the 'res/drawable' folder...
   [delete] Deleting directory /home/ppawel/src/FBReaderJ/res/drawable
     [echo] DONE (Cleaning up the 'res/drawable' folder)
     [echo] Copying icons files to 'res/drawable/' folder...
     [copy] Copying 65 files to /home/ppawel/src/FBReaderJ/res/drawable
     [echo] DONE (Copying icons files to 'res/drawable/' folder)

native:

-pre-build:

-code-gen:
     [echo] ----------
     [echo] Handling aidl files...
     [aidl] Found 3 AIDL files.
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Found modified input file
     [aapt] Generating resource IDs...

-pre-compile:

-compile:
    [javac] Compiling 425 source files to /home/ppawel/src/FBReaderJ/bin/classes
    [javac] /home/ppawel/src/FBReaderJ/src/org/geometerplus/zlibrary/core/tree/ZLTree.java:48: error: addSubTree(T,int) has private access in ZLTree
    [javac]             parent.addSubTree((T)this, position);
    [javac]                   ^
    [javac]   where T is a type-variable:
    [javac]     T extends ZLTree declared in class ZLTree
    [javac] /home/ppawel/src/FBReaderJ/src/org/geometerplus/zlibrary/core/tree/ZLTree.java:83: error: mySize has private access in ZLTree
    [javac]                     if (subtree.mySize <= index) {
    [javac]                                ^
    [javac] /home/ppawel/src/FBReaderJ/src/org/geometerplus/zlibrary/core/tree/ZLTree.java:84: error: mySize has private access in ZLTree
    [javac]                         index -= subtree.mySize;
    [javac]                                         ^
    [javac] /home/ppawel/src/FBReaderJ/src/org/geometerplus/zlibrary/core/tree/ZLTree.java:163: error: mySubTrees has private access in ZLTree
    [javac]                 myCurrentElement = (T)element.mySubTrees.get(0);
    [javac]                                              ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 4 errors

BUILD FAILED
/opt/android-sdk/tools/ant/build.xml:602: The following error occurred while executing this line:
/opt/android-sdk/tools/ant/build.xml:622: Compile failed; see the compiler error output for details.

Total time: 9 seconds
ppawel ~/src/FBReaderJ $ 

FBReader for android duplicates books in Categories

I don't know why my in FBReader library my books are duplicated. I have only one instance of book but in my library there are 2 or even 3 instances. Listing a lot of duplicate instances is not very convinient.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.