11-05-2011, 06:44 AM | #1 |
Zealot
Posts: 133
Karma: 2142
Join Date: Oct 2011
Location: Spain
Device: I'm an iRex man: 8x DR1000S, 4x DR800SG, 4x DR800S
|
New developer in town, or something. Prospective questions...
Hi all,
questions I've been delaying until I have a non-shared DR1000S I can play with at leisure... exactly what components of the DR software do we have the sources of? I know we haven't the sources for the UDS (the main document viewer - what does "UDS" stand for?), but that it has some sort of plugin architecture I'd like to know more about, so please correct me where I'm wrong. As I have understood everything so far, each file type can be opened in the DR by a standalone application, or an UDS plugin, so UDS can provide a common interface for everything, with the page tabs, tool bar, etc. I'm not particularly interested in PDFs right now, but I might dab in that at some point to improve it a little. Is the built-in PDF viewer such an UDS plugin? Do we have the sources? Has anyone had a peek into the image viewer plugin (assuming it's an UDS plugin too)? Would it take very long to adapt it to view multipage images, like TIFF book scans? And what about the HTML viewer? The one in FW v1.7 was too basic, and I understand the new one in 2.0rc3+ is an adapted version of Google's Chrome. Is it a standalone application? Do we know what version it is? Do we have the sources? Could a more modern version be used instead? Can "normal" browser extensions be used with it? I have a full-fledged HTML editor written in JavaScript that could turn the DRs into true proof-reading devices. That's all for now... |
11-05-2011, 10:31 AM | #2 | |||||
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Hi MrWarper,
See my comments below. Quote:
Quote:
Quote:
Quote:
Quote:
There is a lot more information (hidden) somewhere in this forum, so searching/browsing it will also give you a lot of information. |
|||||
11-05-2011, 05:12 PM | #3 | ||||
Zealot
Posts: 133
Karma: 2142
Join Date: Oct 2011
Location: Spain
Device: I'm an iRex man: 8x DR1000S, 4x DR800SG, 4x DR800S
|
Hello Mackx, thanks for your reply.
Quote:
Quote:
Quote:
Anyway, another hypothetical question (I haven't had a real look at code yet, this is just some warm up). I really like the UDS interface so in principle I'd prefer to build any new stuff as plugins. Do you think it would be a lot of work to modify the erbrowser and make it into an UDS plug-in? Quote:
Last edited by MrWarper; 11-05-2011 at 05:14 PM. Reason: wording, clipping text |
||||
11-06-2011, 04:48 AM | #4 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
As a side note, if you plan to write apps for the DR and use IREX provided libs you should be familiar with glib/gtk+/cairo/pango/dbus stuff for common tasks and UI.
One problem though, is that libs versions are a bit older, so it's not possible to test everything compiling for a x86 linux computer. Using other toolkits (qt, wx, etc) will be difficult because there are not ready for e-ink. Anyway feel free to ask anything. And welcome, Iņigo |
11-06-2011, 09:46 AM | #5 | ||||
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
The iOn Development Environment.pdf is an important document to start with, but you probably discovered that already. Quote:
For the stand-alone pdf-viewer, better wait for Iņigo Quote:
Quote:
As Iņigo already sad, just ask any question, there are several people that are willing to help. |
||||
11-07-2011, 04:01 PM | #6 |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
At least some part of the pdf plugin seems to have been published. Look at document-viewer-plugins-4.0+svnr7001/plugins/pdf. I don't know how useful this is though, I haven't looked closely at it (yet).
Also there's some code for the pagebar used by UDS in libs/ergtk (erGtkPageBar.c). |
11-08-2011, 06:59 PM | #7 |
Zealot
Posts: 133
Karma: 2142
Join Date: Oct 2011
Location: Spain
Device: I'm an iRex man: 8x DR1000S, 4x DR800SG, 4x DR800S
|
@rvs: thank you for the info, I've added that to mi link collection.
@Iņigo: Hola Actually, my plan is to enjoy my DRs as much as possible writing as little code as possible, with the least possible effort, so I'd rather learn whatever I need before trying things like QT or whatever the iRex guys didn't consider. Thank you for the warning. Currently my only projects (and I won't start real coding very soon) are extending the image viewer so it can handle multiple-image TIFFs (if it's not too difficult I'd extend it to read other multi-image formats and zipped image collections, like .cbzs) and tweaking the browser as I hit its limits with my HTML format for ebooks (hopefully not too much). @Mackx: thank you for the hint about UDS. Also, it'll be probably very interesting to compare the old PDF stuff and see if we can spot any changes in the sources rvs pointed us to. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Science Fiction Doctorow, Cory: Someone Comes to Town, Someone Leaves Town v1.0 2007-11-29 | JSWolf | Kindle Books | 3 | 02-21-2018 10:35 AM |
IQ Prospective buyer with a few questions | digitalmunkey | PocketBook | 12 | 10-27-2011 03:34 PM |
Prospective buyer, some questions about writing on PE | muranternet | enTourage eDGe | 24 | 07-04-2011 06:11 AM |
Calibre on Mac, iPhone, iPad - questions from a prospective user | mlevin77 | Devices | 4 | 04-21-2011 11:55 AM |
Science Fiction Doctorow, Cory: Someone Comes to Town, Someone Leaves Town v2.0 2007-12-19 | JSWolf | IMP Books | 1 | 12-19-2007 09:35 AM |