Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread Peter von Kaehne
On 24/07/11 17:38, Stephan Tetzel wrote: Do I need all icu libraries to get sword > working with icu support? I am no programmer, but the following might be useful nevertheless: ICU is used for 1) transliteration - if you do not have the feature, you probably do not need it 2) Search input nor

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread Stephan Tetzel
Hi, finally I could solve my problems. It wasn't related to UTF-8 at all =). It didn't check if module->getConfigEntry always returns something !=0. So there is one conf File that doesn't have a Lang entry: personal.conf. Because of this I got a corrupted JSON string. But I went through the confs

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread Troy A. Griffitts
Stephan, Sorry for my '.' instead of '->' in my examples. I've been in Java for the past 3 weeks. Most everything is UTF-8 these days, but in our past world, when things were much more mixed, the proper way to get UTF-8 back was to use the module render filter and make sure your markup filter ma

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread David Haslam
And the change was even announced (via our news feed) in https://www.facebook.com/pages/The-CrossWire-Bible-Society/76458703521 facebook ! Thanks Chris. -- View this message in context: http://sword-dev.350566.n4.nabble.com/BibleZ-HD-Beta-webOS-Bible-Reader-App-for-the-HP-TouchPad-tp3682983p3

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread Chris Little
On 7/24/2011 12:40 AM, David Haslam wrote: In that case, should we not just change both the module and the conf file to UTF-8 ? The problem was that the module had been updated to UTF-8, but the .conf wasn't. I'll put a little time into updating the text this week to incorporate all of the

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread Peter von Kaehne
On 24/07/11 08:40, David Haslam wrote: > In that case, should we not just change both the module and the conf file to > UTF-8 ? I guess the consensus is not to submit/accept any new non-utf8 modules, but the other consensus is that the only way to replace a module is by making a new one. I.e. from

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread David Haslam
In that case, should we not just change both the module and the conf file to UTF-8 ? Using *Latin-1* is subject to the *Warning* in our wiki page. http://crosswire.org/wiki/DevTools:conf_Files http://crosswire.org/wiki/DevTools:conf_Files David -- View this message in context: http://sword-de

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread Peter von Kaehne
On 24/07/11 08:07, David Haslam wrote: > The proper solution would be for this module to be re-issued with the .conf > file encoded as UTF-8. The rule we had (whether all older modules conform I do not know) is that modules and conf are in the same encoding. Peter __

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-24 Thread David Haslam
You wrote, "Some conf files arn't encoded in UTF8 (e.g. gerlut1545.conf, it has ISO 8859-15 encoding). If I try to read the description I get "broken" character (e.g. for the german "Ü"). That's bad for my JSON parser, because it can't handle these characters. Is there a way to escape these non-uni

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-23 Thread Stephan Tetzel
Troy, First off all: Thank you for your suggestions. This help me a lot to get deeper into the SWORD library! > So webOS programming is pretty much all javascript with hooks to call > native library? That's pretty cool. Yes, it is =) > ___ > PDL_bool readConfs(PDL_JSParameters

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-23 Thread Stephan Tetzel
Troy, First off all: Thank you for your suggestions. This help me a lot to get deeper into the SWORD library! > So webOS programming is pretty much all javascript with hooks to call > native library? That's pretty cool. Yes, it is =) > ___ > PDL_bool readConfs(PDL_JSParameters

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-23 Thread Troy A. Griffitts
Being new to C++, you've done quite well. So webOS programming is pretty much all javascript with hooks to call native library? That's pretty cool. Here are a few suggestions for pluginSword.cpp. I'll walk through the logic of how we get to an optimal configuration so you can understand the re

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-23 Thread Stephan Tetzel
Am 23.07.2011 11:31, schrieb Peter von Kaehne: > On 21/07/11 08:09, Stephan Tetzel wrote: >> Hi, >> >> BibleZ HD is a port of one of my current webOS Apps >> (http://zefanjas.de/apps/biblez/) to the new webOS framework (enyo). The >> SWORD engine is now the new backend for this app. > > Where i

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-23 Thread scribe...@gmail.com
Stephan, I too was curious to see what the code for a WebOS app looked like, and also how you integrated your frontend with our engine. Was hoping maybe to suggest some tips. The app looks great. Very clean and professional design. Looking forward to sharing in work together, Troy Peter von

Re: [sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-23 Thread Peter von Kaehne
On 21/07/11 08:09, Stephan Tetzel wrote: > Hi, > > BibleZ HD is a port of one of my current webOS Apps > (http://zefanjas.de/apps/biblez/) to the new webOS framework (enyo). The > SWORD engine is now the new backend for this app. Where is the source? I see on your site nothing re GPL licensing

[sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad

2011-07-21 Thread Stephan Tetzel
Hi, BibleZ HD is a port of one of my current webOS Apps (http://zefanjas.de/apps/biblez/) to the new webOS framework (enyo). The SWORD engine is now the new backend for this app. If you have a TouchPad you can test BibleZ HD now. http://developer.palm.com/appredirect/?packageid=de.zefanjas.b