Page 6 of 9 FirstFirst 123456789 LastLast
Results 101 to 120 of 168
Like Tree40Likes
  1. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #101  
    The point is that no data is transferred using dbus. As I understand the process, the Enyo application asks the arxservice (using a very funny use of callPluginMethodDeferred) to open a file and prepare pages a different zoom levels, which in turn calls back when this is done. However the pages are not send to Enyo directly, but instead are placed at a specific place in the filesystem.

    I tried this again with a silenced jailer and it indeed works but has no significant performance impact either way. Obviously the caching of the kernel is working very good
  2. sagipe's Avatar
    Posts
    84 Posts
    Global Posts
    87 Global Posts
       #102  
    Quote Originally Posted by filmor_ View Post
    The point is that no data is transferred using dbus. As I understand the process, the Enyo application asks the arxservice (using a very funny use of callPluginMethodDeferred) to open a file and prepare pages a different zoom levels, which in turn calls back when this is done. However the pages are not send to Enyo directly, but instead are placed at a specific place in the filesystem.

    I tried this again with a silenced jailer and it indeed works but has no significant performance impact either way. Obviously the caching of the kernel is working very good
    If we could replace the flow so that image files will be sent through the dbus instead of written to the disk, this might make it faster- though I am not sure how data-intensive writes on the dbus will affect system performance. We will need the arxservice source code for that (good luck with that), or we could write one - but this will take some serious development time.
  3. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #103  
    DBus is not made for this. And I don't think it would be faster than tmpfs, I'd guess the main time usage is the rendering itself. I'll try to replace it and "measure" the performance.
  4. #104  
    Quote Originally Posted by knownboyofno View Post
    What is the name of a book you tried?
    PHP 5 Social Networking, they have free sample of early chapter on publisher's website: PHP 5 Social Networking Book & eBook | Packt Publishing Technical & IT Book and eBook Store
    bckrupps likes this.
  5. #105  
    Quote Originally Posted by parasitius View Post
    PHP 5 Social Networking, they have free sample of early chapter on publisher's website: PHP 5 Social Networking Book & eBook | Packt Publishing Technical & IT Book and eBook Store
    I will check this out for you. I just finished working on rendering pages dynamically. So that might help with this issue for you.
  6. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #106  
    Does anyone know, how the "unique-id" is calculated? It seems to be a md5 hash, but it's neither the hash of the file itself nor the hash of the filename.
  7. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #107  
    Hey, fellow Touchpad users

    I've reimplemented arxservice using mupdf and, guess what, that makes it really really fast

    Try it yourself:
    Source code: https://github.com/filmor/webos-pdf
    Binary: http://dl.dropbox.com/u/12499216/arxservice

    After backing up the original file, drop arxservice into /media/cryptofs/apps/usr/palm/applications/com.quickoffice.ar/import/arx
    and see the magic

    The code is GPLv3 licensed (although it doesn't say so yet) with parts used from Boost under the Boost license. It depends on mupdf, mupdf's dependencies (libjpeg, libopenjpeg, libfreetype iirc) and a few Boost headers. I didn't make a proper build system yet(!), but if someone can't get it to compile, just ask me.

    This is more or less a proof of concept, but it's working and (at least for me) a lot faster than the original service. It can also (easily) be used to implement table of contents, links and text search if someone implements that properly on the enyo side. But we could also (and I certainly will) take this as a starting point to implement a real pdf reader, based on GLES with every feature we can dream of (that is supported by mupdf ).

    Have fun with it

    /EDIT: It seems to have some problems with random files, I'll investigate that further.
  8. Redflea's Avatar
    Posts
    71 Posts
    Global Posts
    212 Global Posts
    #108  
    Quote Originally Posted by filmor_ View Post
    Hey, fellow Touchpad users

    I've reimplemented arxservice using mupdf and, guess what, that makes it really really fast

    Try it yourself:
    Source code: https://github.com/filmor/webos-pdf
    Binary: http://dl.dropbox.com/u/12499216/arxservice

    After backing up the original file, drop arxservice into /media/cryptofs/apps/usr/palm/applications/com.quickoffice.ar/import/arx
    and see the magic

    The code is GPLv3 licensed (although it doesn't say so yet) with parts used from Boost under the Boost license. It depends on mupdf, mupdf's dependencies (libjpeg, libopenjpeg, libfreetype iirc) and a few Boost headers. I didn't make a proper build system yet(!), but if someone can't get it to compile, just ask me.

    This is more or less a proof of concept, but it's working and (at least for me) a lot faster than the original service. It can also (easily) be used to implement table of contents, links and text search if someone implements that properly on the enyo side. But we could also (and I certainly will) take this as a starting point to implement a real pdf reader, based on GLES with every feature we can dream of (that is supported by mupdf ).

    Have fun with it

    /EDIT: It seems to have some problems with random files, I'll investigate that further.
    Did not work for me. Copied to the directory and PDFs opened showing blank pages. This is on 3.0.3.
  9. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #109  
    It's compiled against the 3.0.2 SDK and implements the interface of the 3.0.2 version of Adobe Reader. If you'd provide me with some logs I can see if I can blindly fix the problem. Set the system log level to "info" and show me all lines in /var/log/messages that contain "arxservice" or "com.quickoffice.ar"
  10. sagipe's Avatar
    Posts
    84 Posts
    Global Posts
    87 Global Posts
       #110  
    Quote Originally Posted by filmor_ View Post
    Hey, fellow Touchpad users

    I've reimplemented arxservice using mupdf and, guess what, that makes it really really fast

    Try it yourself:
    Source code: https://github.com/filmor/webos-pdf
    Binary: http://dl.dropbox.com/u/12499216/arxservice

    After backing up the original file, drop arxservice into /media/cryptofs/apps/usr/palm/applications/com.quickoffice.ar/import/arx
    and see the magic

    The code is GPLv3 licensed (although it doesn't say so yet) with parts used from Boost under the Boost license. It depends on mupdf, mupdf's dependencies (libjpeg, libopenjpeg, libfreetype iirc) and a few Boost headers. I didn't make a proper build system yet(!), but if someone can't get it to compile, just ask me.

    This is more or less a proof of concept, but it's working and (at least for me) a lot faster than the original service. It can also (easily) be used to implement table of contents, links and text search if someone implements that properly on the enyo side. But we could also (and I certainly will) take this as a starting point to implement a real pdf reader, based on GLES with every feature we can dream of (that is supported by mupdf ).

    Have fun with it

    /EDIT: It seems to have some problems with random files, I'll investigate that further.
    Thanks a lot! I'll try to compile it on my touchpad.

    What do you attribute the speed improvement to? Do you think it is just poor coding in the arxservice? The comments in the code seem to indicate it came from Adobe, so you would expect an efficient implementation from them, right?

    If we have an open source service, we could develop a separate open source PDF reader; after we hack the existing one for proof of concept.
    Awesome work! Thanks for taking the time to do that.
  11. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #111  
    Quote Originally Posted by sagipe View Post
    What do you attribute the speed improvement to? Do you think it is just poor coding in the arxservice? The comments in the code seem to indicate it came from Adobe, so you would expect an efficient implementation from them, right?
    Did you use Adobe Reader in the last few years?
  12. sagipe's Avatar
    Posts
    84 Posts
    Global Posts
    87 Global Posts
       #112  
    Quote Originally Posted by filmor_ View Post
    Did you use Adobe Reader in the last few years?
    Just academic curiosity.
    I always attributed slowness to their bloated UI, so for a simple binary that renders PDF pages to images I would expect better performance; guess I expected too much...
  13. #113  
    Quote Originally Posted by filmor_ View Post
    Hey, fellow Touchpad users

    I've reimplemented arxservice using mupdf and, guess what, that makes it really really fast
    Hi, thanks for the work. But I couldn't get it work at all. I am using the "UberPDF Patch"[1], which could be causing the problem. Whenever I open a PDF I get an error message saying "Quickoffice has encountered an error with this file". I even restarted the device, to no avail.

    Has anyone else run into the same issue?

    [1]: h__p://forums.precentral.net/webos-patches/302501-pdf-reader-open-last-viewed-page.html#post3194859
  14. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #114  
    Same advise, posting logs will significantly increase the probability of me (or anyone else) fixing this
  15. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #115  
    Quote Originally Posted by sagipe View Post
    If we have an open source service, we could develop a separate open source PDF reader; after we hack the existing one for proof of concept.
    Awesome work! Thanks for taking the time to do that.
    I actually think that the service-approach in itself is just bad design. If we want to make a real alternative we should make it right from the beginning (meaning rendering the pixmap directly from the RAM, not pdf -> pixmap -> png (on the fs) -> pixmap -> screen).
    MeetsInTaverns likes this.
  16. sagipe's Avatar
    Posts
    84 Posts
    Global Posts
    87 Global Posts
       #116  
    Quote Originally Posted by filmor_ View Post
    I actually think that the service-approach in itself is just bad design. If we want to make a real alternative we should make it right from the beginning (meaning rendering the pixmap directly from the RAM, not pdf -> pixmap -> png (on the fs) -> pixmap -> screen).
    If we could bypass the filesystem and do: pdf -> pixmap (at the right resolution) -> screen, that would be good enough.
    Does the PDK allow direct data transfer from C++ to Javascript? If not, then the only option is a native SDL based app.
  17. filmor_'s Avatar
    Posts
    222 Posts
    Global Posts
    223 Global Posts
    #117  
    Quote Originally Posted by sagipe View Post
    If we could bypass the filesystem and do: pdf -> pixmap (at the right resolution) -> screen, that would be good enough.
    Does the PDK allow direct data transfer from C++ to Javascript? If not, then the only option is a native SDL based app.
    I'm very sure that the PDK doesn't allow that and I'm not convinced that this would be fast. I'll have a prototype of a GLES reader by the weekend I guess.
  18. hape's Avatar
    Posts
    556 Posts
    Global Posts
    578 Global Posts
    #118  
    Quote Originally Posted by filmor_ View Post
    Same advise, posting logs will significantly increase the probability of me (or anyone else) fixing this
    ok here is my log:
    Code:
    2011-10-12T12:11:22.504815Z [15215] webos-device user.notice LunaSysMgr: {LunaSysMgrJS}: com.quickoffice.ar: SETTING path to /media/internal/Magazine/pm118.pdf, file:///media/cryptofs/apps/usr/palm/applications/com.quickoffice.ar/source/PxxArea.jsjsjs:$73$
    $2011$-$10$-$12T12$:$11$:$22$.$505049Z$ [$15215$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgrJS$}: $com$.$quickoffice$.$ar$: $Open$: $pm118$(/$media$/$internal$/$Magazine$/$pm118$.$pdf$), $file$:///$media$/$cryptofs$/$apps$/$usr$/$palm$/$applications$/$com$.$quickoffice$.$ar$/$source$/$PdfArea$.$js$:$28$
    $2011$-$10$-$12T12$:$11$:$22$.$514275Z$ [$15215$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $Sending$ $stage$ $deactivation$ $to$ $app$: $com$.$quickoffice$.$ar$
    $2011$-$10$-$12T12$:$11$:$22$.$517179Z$ [$15215$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgrJS$}: $com$.$quickoffice$.$ar$: $QuickofficeApp$: $closeAppMenuHandler$, $file$:///$usr$/$palm$/$frameworks$/$enyo$/$0$.$10$/$framework$/$build$/$enyo$-$build$.$js$:$75$
    $2011$-$10$-$12T12$:$11$:$22$.$526287Z$ [$15215$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgrJS$}: $com$.$quickoffice$.$ar$: $CONNECTED$, $file$:///$media$/$cryptofs$/$apps$/$usr$/$palm$/$applications$/$com$.$quickoffice$.$ar$/$source$/$PxxService$.$js$:$37$
    $2011$-$10$-$12T12$:$11$:$22$.$557623Z$ [$15215$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $WEBKIT$ $PERF$: $PAINT$ $appid$: $com$.$quickoffice$.$ar$ $1034$ $time$: $15215910$ 
    $2011$-$10$-$12T12$:$11$:$22$.$564899Z$ [$15215$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $virtual$ $void$ $WindowedWebApp$::$stageReady$():$1203$, $file$:///$media$/$cryptofs$/$apps$/$usr$/$palm$/$applications$/$com$.$quickoffice$.$ar$/$index$.$html$
    $2011$-$10$-$12T12$:$11$:$22$.$565328Z$ [$15215$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $virtual$ $void$ $WindowedWebApp$::$stageReady$(): $1210$ $Adding$ $to$ $windowManager$: $file$:///$media$/$cryptofs$/$apps$/$usr$/$palm$/$applications$/$com$.$quickoffice$.$ar$/$index$.$html$
    $2011$-$10$-$12T12$:$11$:$22$.$667276Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $SYSMGR$ $PERF$: $APP$ $READY$ $appid$: $com$.$quickoffice$.$ar$, $processid$: $1043$, $type$: $card$, $time$: $15216020$
    $2011$-$10$-$12T12$:$11$:$22$.$674739Z$ [$15216$] $webos$-$device$ $user$.$warning$ $LunaSysMgr$: {$LunaSysMgr$}: $void$ $SystemUiController$::$setCardWindowMaximized$($bool$): $706$
    $2011$-$10$-$12T12$:$11$:$22$.$675426Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $card$ $window$ $maximized$ $calling$ $lightbarOn$()
    $2011$-$10$-$12T12$:$11$:$22$.$676090Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $setting$ $the$ $lightbar$ $to$ $brightness$ $52$
    $2011$-$10$-$12T12$:$11$:$22$.$711705Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgrJS$}: $com$.$quickoffice$.$ar$: $Accounts$.$getAccounts$: $2$ $accounts$ $and$ $4$ $templates$, $file$:///$usr$/$palm$/$frameworks$/$enyo$/$0$.$10$/$framework$/$lib$/$accounts$/$source$/$get$-$accounts$.$js$:$146$
    $2011$-$10$-$12T12$:$11$:$22$.$736704Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $com$.$quickoffice$.$ar$ $activity$ $Id$: $203$
    $2011$-$10$-$12T12$:$11$:$22$.$736997Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgrJS$}: $com$.$quickoffice$.$ar$: $VERSION$:{&$quot$;$version$&$quot$;:&$quot$;$mupdf$ $0$.$9$&$quot$;}, $file$:///$media$/$cryptofs$/$apps$/$usr$/$palm$/$applications$/$com$.$quickoffice$.$ar$/$source$/$PxxService$.$js$:$51$
    $2011$-$10$-$12T12$:$11$:$22$.$747573Z$ [$15216$] $webos$-$device$ $user$.$info$ $accounts$.$js$: [$com$.$palm$.$service$.$accounts$] $ReadCredentialsCommandAssistant$: $id$=++$HgHPTRP2RGdgSr$
    $2011$-$10$-$12T12$:$11$:$22$.$753818Z$ [$15216$] $webos$-$device$ $user$.$info$ $keymanager$[$1821$]: [$keymanager$] $fetchKey$ $request$ $received$.
    $2011$-$10$-$12T12$:$11$:$22$.$754116Z$ [$15216$] $webos$-$device$ $user$.$info$ $keymanager$[$1821$]: [$keymanager$] $fetchKey$ ++$HgHPTRP2RGdgSr$ $request$ $for$ $com$.$palm$.$service$.$accounts$
    $2011$-$10$-$12T12$:$11$:$22$.$754240Z$ [$15216$] $webos$-$device$ $user$.$info$ $keymanager$[$1821$]: [$keymanager$] $backup$ $info$ $requested$.
    $2011$-$10$-$12T12$:$11$:$22$.$754356Z$ [$15216$] $webos$-$device$ $user$.$info$ $keymanager$[$1821$]: [$keymanager$] $fetchKey$ ++$HgHPTRP2RGdgSr$ $succeeded$.
    $2011$-$10$-$12T12$:$11$:$22$.$820514Z$ [$15216$] $webos$-$device$ $user$.$info$ $accounts$.$js$: [$com$.$palm$.$service$.$accounts$] $ReadCredentialsCommandAssistant$: $id$=++$Hg_grUWJKYFRYL$
    $2011$-$10$-$12T12$:$11$:$22$.$883668Z$ [$15216$] $webos$-$device$ $user$.$info$ $keymanager$[$1821$]: [$keymanager$] $fetchKey$ $request$ $received$.
    $2011$-$10$-$12T12$:$11$:$22$.$918287Z$ [$15216$] $webos$-$device$ $user$.$info$ $keymanager$[$1821$]: [$keymanager$] $fetchKey$ ++$Hg_grUWJKYFRYL$ $request$ $for$ $com$.$palm$.$service$.$accounts$
    $2011$-$10$-$12T12$:$11$:$22$.$918493Z$ [$15216$] $webos$-$device$ $user$.$info$ $keymanager$[$1821$]: [$keymanager$] $backup$ $info$ $requested$.
    $2011$-$10$-$12T12$:$11$:$22$.$918618Z$ [$15216$] $webos$-$device$ $user$.$info$ $keymanager$[$1821$]: [$keymanager$] $fetchKey$ ++$Hg_grUWJKYFRYL$ $succeeded$.
    $2011$-$10$-$12T12$:$11$:$22$.$918743Z$ [$15216$] $webos$-$device$ $user$.$info$ $node$: [$node_fork_server$] [$15200031$.$183471$] $Changing$ $to$ $directory$: /$usr$/$palm$/$services$/$com$.$palm$.$service$.$palmprofile$
    $2011$-$10$-$12T12$:$11$:$22$.$918863Z$ [$15216$] $webos$-$device$ $user$.$info$ $node$: [$node_fork_server$] [$15200034$.$569545$] ($7041$) $Forked$ $script$ /$usr$/$palm$/$services$/$jsservicelauncher$/$bootstrap$-$node$.$js$ $childstdout$: $false$ $childstderr$: $false$
    $2011$-$10$-$12T12$:$11$:$22$.$918983Z$ [$15216$] $webos$-$device$ $user$.$info$ $node$: [$node_fork_server$] [$2$.$281038$] $Fork$ $setup$ $code$...
    $2011$-$10$-$12T12$:$11$:$23$.$032297Z$ [$15216$] $webos$-$device$ $user$.$warning$ $LunaSysMgr$: {$LunaSysMgr$}: $Sending$ $focus$ $Event$ $to$ $app$: $com$.$quickoffice$.$ar$: $1$
    $2011$-$10$-$12T12$:$11$:$23$.$033441Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $void$ $SystemUiController$::$setDirectRenderingForWindow$($SystemUiController$::$DirectRenderingEnabledLayers$, $CardWindow$*, $bool$, $bool$): $Giving$ $DirectRendering$ $to$ $card$ $window$ [$5$]: $0x3023efe0$
    $2011$-$10$-$12T12$:$11$:$23$.$034177Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $Allowing$ $direct$ $rendering$
    $2011$-$10$-$12T12$:$11$:$23$.$035283Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $AppDirectRenderingArbitrator$::$layerEnabled$ $true$
    $2011$-$10$-$12T12$:$11$:$23$.$035974Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $Unblanking$ $fb1$
    $2011$-$10$-$12T12$:$11$:$23$.$051126Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $AppDirectRenderingArbitrator$::$layerEnabled$ $enableCount$: $1$
    $2011$-$10$-$12T12$:$11$:$23$.$051351Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $SYSMGR$ $PERF$: $STATE$ $MAXIMIZED$ $appid$: $com$.$quickoffice$.$ar$, $processid$: $1043$, $type$: $card$, $time$: $15216404$
    $2011$-$10$-$12T12$:$11$:$23$.$060182Z$ [$15216$] $webos$-$device$ $kern$.$info$ $kernel$: [$15216$.$405536$] $mdp_bus_scale_update_request$: $Setting$ $bus$ $scaling$ $index$ $2$
    $2011$-$10$-$12T12$:$11$:$23$.$306466Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $Sending$ $stage$ $activation$ $to$ $app$: $com$.$quickoffice$.$ar$
    $2011$-$10$-$12T12$:$11$:$23$.$307168Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $virtual$ $void$ $WindowedWebApp$::$focusedEvent$($bool$) ($com$.$quickoffice$.$ar$): $isEditing$: $0$
    $2011$-$10$-$12T12$:$11$:$23$.$307367Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $virtual$ $void$ $WindowedWebApp$::$editorFocusChanged$($bool$, $const$ $PalmIME$::$EditorState$&$amp$;) ($com$.$quickoffice$.$ar$): $focused$: $0$
    $2011$-$10$-$12T12$:$11$:$23$.$315847Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $IME$: $Window$ $got$ $focus$ $change$ $in$ $sysmgr$ $com$.$quickoffice$.$ar$ $focused$: $0$, $fieldtype$: $0$, $fieldactions$: $0x00$
    $2011$-$10$-$12T12$:$11$:$23$.$316091Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $void$ $InputWindowManager$::$slotAutoCapChanged$($bool$): $Got$ $auto$ $cap$ $change$ $0$
    $2011$-$10$-$12T12$:$11$:$23$.$356533Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $WEBKIT$ $PERF$: $PAINT$ $appid$: $com$.$quickoffice$.$ar$ $1043$ $time$: $15216709$ 
    $2011$-$10$-$12T12$:$11$:$23$.$357572Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $ROTATION$: [$virtual$ $int$ $CardWebApp$::$resizeEvent$($int$, $int$, $bool$)]: $Skipping$ $ResizeEvent$, $but$ $forcing$ $app$ $repaint$. $newWidth$ = $768$, $newHeight$ = $996$
    $2011$-$10$-$12T12$:$11$:$23$.$358137Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $directRendering$ $appid$: $com$.$quickoffice$.$ar$, $processId$: $1043$, $enabled$: $1$, $offset$: $0$, $28$, $orientation$: $6$
    $2011$-$10$-$12T12$:$11$:$23$.$358710Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $com$.$quickoffice$.$ar$: $1043$ $doing$ $direct$ $rendering$
    $2011$-$10$-$12T12$:$11$:$23$.$359673Z$ [$15216$] $webos$-$device$ $user$.$debug$ $LunaSysMgr$: {$LunaSysMgr$}: $virtual$ $bool$ $PGLES2ContextTextureShared$::$renderOnScreen$() $called$
    $2011$-$10$-$12T12$:$11$:$23$.$491693Z$ [$15216$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: $Initializing$ $palmprofile$ $with$ $a$ $server$ $URL$
    $2011$-$10$-$12T12$:$11$:$23$.$524761Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgrJS$}: $com$.$quickoffice$.$ar$: $READY$, $file$:///$media$/$cryptofs$/$apps$/$usr$/$palm$/$applications$/$com$.$quickoffice$.$ar$/$source$/$PxxService$.$js$:$32$
    $2011$-$10$-$12T12$:$11$:$23$.$527336Z$ [$15216$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgr$}: $com$.$quickoffice$.$ar$ $activity$ $Id$: $203$
    $2011$-$10$-$12T12$:$11$:$23$.$554388Z$ [$15216$] $webos$-$device$ $user$.$info$ $node$: [$node_fork_server$] [$15200734$.$140952$] $Sending$ $notification$ $that$ $child$ $with$ $pid$: $7041$ $is$ $ready$
    $2011$-$10$-$12T12$:$11$:$23$.$555845Z$ [$15216$] $webos$-$device$ $user$.$notice$ $node_spawner$: [$721$.$679$] $Got$ $confirmation$ $from$ $server$ $that$ $child$ $has$ $initialized$ 
    $2011$-$10$-$12T12$:$11$:$23$.$597277Z$ [$15216$] $webos$-$device$ $user$.$warning$ $LunaSysService$: $getPreferences$(): $resultMap$: [$locationHost$] -&$gt$; [---, $length$ $15$]
    $2011$-$10$-$12T12$:$11$:$23$.$613118Z$ [$15216$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: -------------$set$  $Server$ $url$ -----------$https$://$ps$.$palmws$.$com$/$palmcsext$/$services$/$deviceJ$/
    $2011$-$10$-$12T12$:$11$:$23$.$628345Z$ [$15216$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: $Sending$ $regular$ $request$ $to$: $https$://$ps$.$palmws$.$com$/$palmcsext$/$services$/$deviceJ$/
    $2011$-$10$-$12T12$:$11$:$23$.$629131Z$ [$15216$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: $Sending$ $regular$ $request$ $to$ $server$ $with$ $method$: $getPreferences$
    $2011$-$10$-$12T12$:$11$:$23$.$667157Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: $Sending$ $regular$ $request$ $to$: $https$://$ps$.$palmws$.$com$/$palmcsext$/$services$/$deviceJ$/
    $2011$-$10$-$12T12$:$11$:$23$.$667763Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: $Sending$ $regular$ $request$ $to$ $server$ $with$ $method$: $getPreferences$
    $2011$-$10$-$12T12$:$11$:$23$.$696730Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: ---------- $PALMPROFILE$ $exception$ ($getPreferences$) ---------
    $2011$-$10$-$12T12$:$11$:$23$.$735655Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: ---------- $PALMPROFILE$ $exception$ $log$ ---------{&$quot$;$message$&$quot$;:&$quot$;$httpClient$ $error$ $ECONNREFUSED$, $Could$ $not$ $contact$ $DNS$ $servers$&$quot$;,&$quot$;$stack$&$quot$;:&$quot$;$Error$: $httpClient$ $error$ $ECONNREFUSED$, $Could$ $not$ $contact$ $DNS$ $servers$\$n$    $at$ $Object$.$create$ (/$usr$/$palm$/$frameworks$/$foundations$/$version$/$1$.$0$/$javascript$/$structure$/$err$.$js$:$5$:$17$)\$n$    $at$ $Client$.$clientError$ (/$usr$/$palm$/$frameworks$/$foundations$/$version$/$1$.$0$/$javascript$/$comms$/$ajaxcall$.$js$:$370$:$28$)\$n$    $at$ $Client$.$emit$ ($events$:$2$:$431$)\$n$    $at$ $net$:$30$:$437$\$n$    $at$ $dns$:$8$:$74$\$n$    $at$ $IOWatcher$.$callback$ ($dns$:$3$:$277$)\$n$    $at$ /$usr$/$palm$/$nodejs$/$fork_server$.$js$:$201$:$10$\$n$    $at$ $ChildProcess$.$fork$ ($child_process$:$8$:$245$)\$n$    $at$ $Object$.$fork$ ($child_process$:$1$:$434$)\$n$    $at$ /$usr$/$palm$/$nodejs$/$fork_server$.$js$:$246$:$32$&$quot$;,&$quot$;$errorCode$&$quot$;:$11$}
    $2011$-$10$-$12T12$:$11$:$23$.$736515Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: ---------- $PALMPROFILE$ $SOMETHING$ $REALLY$ $BAD$ $E3$ ---------
    $2011$-$10$-$12T12$:$11$:$23$.$737145Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: ---------- $PALMPROFILE$ $SET$ $ERROR$ ---------
    $2011$-$10$-$12T12$:$11$:$23$.$756465Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: ---------- $PALMPROFILE$ $exception$ ($getPreferences$) ---------
    $2011$-$10$-$12T12$:$11$:$23$.$764493Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: ---------- $PALMPROFILE$ $exception$ $log$ ---------{&$quot$;$message$&$quot$;:&$quot$;$httpClient$ $error$ $ECONNREFUSED$, $Could$ $not$ $contact$ $DNS$ $servers$&$quot$;,&$quot$;$stack$&$quot$;:&$quot$;$Error$: $httpClient$ $error$ $ECONNREFUSED$, $Could$ $not$ $contact$ $DNS$ $servers$\$n$    $at$ $Object$.$create$ (/$usr$/$palm$/$frameworks$/$foundations$/$version$/$1$.$0$/$javascript$/$structure$/$err$.$js$:$5$:$17$)\$n$    $at$ $Client$.$clientError$ (/$usr$/$palm$/$frameworks$/$foundations$/$version$/$1$.$0$/$javascript$/$comms$/$ajaxcall$.$js$:$370$:$28$)\$n$    $at$ $Client$.$emit$ ($events$:$2$:$431$)\$n$    $at$ $net$:$30$:$437$\$n$    $at$ $dns$:$8$:$74$\$n$    $at$ $IOWatcher$.$callback$ ($dns$:$3$:$277$)\$n$    $at$ /$usr$/$palm$/$nodejs$/$fork_server$.$js$:$201$:$10$\$n$    $at$ $ChildProcess$.$fork$ ($child_process$:$8$:$245$)\$n$    $at$ $Object$.$fork$ ($child_process$:$1$:$434$)\$n$    $at$ /$usr$/$palm$/$nodejs$/$fork_server$.$js$:$246$:$32$&$quot$;,&$quot$;$errorCode$&$quot$;:$11$}
    $2011$-$10$-$12T12$:$11$:$23$.$765254Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: ---------- $PALMPROFILE$ $SOMETHING$ $REALLY$ $BAD$ $E3$ ---------
    $2011$-$10$-$12T12$:$11$:$23$.$765865Z$ [$15217$] $webos$-$device$ $user$.$info$ $ervices$.$js$: {$palmprofile$/$accountservices$}: ---------- $PALMPROFILE$ $SET$ $ERROR$ ---------
    $2011$-$10$-$12T12$:$11$:$23$.$773341Z$ [$15217$] $webos$-$device$ $user$.$warning$ $keymanager$[$1821$]: [$keymanager$] $BackupInfoSendHandler$ $received$ $error$: $httpClient$ $error$ $ECONNREFUSED$, $Could$ $not$ $contact$ $DNS$ $servers$
    $2011$-$10$-$12T12$:$11$:$23$.$774077Z$ [$15217$] $webos$-$device$ $user$.$warning$ $keymanager$[$1821$]: [$keymanager$] $BackupInfoSendHandler$ $received$ $error$: $httpClient$ $error$ $ECONNREFUSED$, $Could$ $not$ $contact$ $DNS$ $servers$
    $2011$-$10$-$12T12$:$11$:$28$.$456153Z$ [$15221$] $webos$-$device$ $user$.$info$ $arxservice$: $Open$ $Called$
    $2011$-$10$-$12T12$:$11$:$28$.$490294Z$ [$15221$] $webos$-$device$ $kern$.$info$ $kernel$: [$15221$.$845943$] $minicore_launch$: $CRASH$! $arxservice$($7004$) $received$ $11$. $Waiting$ $up$ $to$ $60s$ $for$ $minicore$ $to$ $attach$.
    $2011$-$10$-$12T12$:$11$:$28$.$490509Z$ [$15221$] $webos$-$device$ $kern$.$warning$ $kernel$: [$15221$.$845978$] $minicore_launch$: $minicore$ $attached$!
    $2011$-$10$-$12T12$:$11$:$28$.$571371Z$ [$15221$] $webos$-$device$ $user$.$warning$ $LunaSysMgr$: {$LunaSysMgrJS$}: $com$.$quickoffice$.$ar$: ($open$) $EXCEPTION$: $Error$: $NULL$ $reply$, $file$:///$media$/$cryptofs$/$apps$/$usr$/$palm$/$applications$/$com$.$quickoffice$.$ar$/$source$/$PxxService$.$js$:$118$
    $2011$-$10$-$12T12$:$11$:$28$.$571680Z$ [$15221$] $webos$-$device$ $user$.$notice$ $LunaSysMgr$: {$LunaSysMgrJS$}: $com$.$quickoffice$.$ar$: $DISCONNECTED$, $file$:///$media$/$cryptofs$/$apps$/$usr$/$palm$/$applications$/$com$.$quickoffice$.$ar$/$source$/$PxxService$.$js$:$44$
    $2011$-$10$-$12T12$:$11$:$28$.$823810Z$ [$15222$] $webos$-$device$ $user$.$info$ $node$: [$node_fork_server$] [$15206004$.$313396$] $Notified$ $remote$ $connection$ $that$ $spawned$ $child$ $finished$
    $2011$-$10$-$12T12$:$11$:$28$.$826354Z$ [$15222$] $webos$-$device$ $user$.$info$ $node$: [$node_fork_server$] [$15206006$.$849395$] ($7041$) $Exited$ $with$ $0$
    $2011$-$10$-$12T12$:$11$:$28$.$828793Z$ [$15222$] $webos$-$device$ $user$.$crit$ $node_spawner$: $7034$ ($node_spawner$) $PJSON$ $src$/$pjson_c$/$jobject$.$c$:$1886$ :: $Trying$ $to$ $access$ $0$ $as$ $a$ $number$
    $2011$-$10$-$12T12$:$11$:$28$.$831267Z$ [$15222$] $webos$-$device$ $user$.$info$ $node$: [$node_fork_server$] [$15206011$.$628951$] ($null$) $Console$ $connection$ $ended$ ($remote$ = $127$.$0$.$0$.$1$)
    2011-10-12T12:11:29.939431Z [15223] webos-device user.notice rdxd: Creating report for Linux Crash : arxservice : SIGSEGV
    2011-10-12T12:11:30.709211Z [15224] webos-device user.info powerd: {powerd}: BATTERY_IPC: (5361.000000mAh, 97%, 100%_ui, 27C, -590mA, 4099mV, 95 authentic) 
    2011-10-12T12:11:30.759212Z [15224] webos-device user.debug LunaSysMgr: {LunaSysMgr}: virtual void DisplayOn::handleEvent(DisplayEvent, sptr<Event>): received update brightness event
    2011-10-12T12:11:30.761455Z [15224] webos-device user.notice LunaSysMgr: {LunaSysMgr}: void DisplayManager::backlightOn(int, int, bool): calling palm://com.palm.power/backlight/set with {"display":{"brightness":88,"als":false},"keypad":{"brightness":88}}
    2011-10-12T12:11:30.762462Z [15224] webos-device user.debug LunaSysMgr: {LunaSysMgr}: void CoreNaviManager::updateBrightness(int): calling lightbarOn
    I just crashes as you see. No core dumps in /var/mincore
    I'm on webOS 3.0.2

    HaPe

    P.s.: What is a GLES reader?
  19. hape's Avatar
    Posts
    556 Posts
    Global Posts
    578 Global Posts
    #119  
    Hi,

    as it was asked. Yes Javascipt apps can talk to PDK apps and share information:
    https://developer.palm.com/content/a...interface.html

    Better saying, a Javascipt app cann contail a PDK part (alled PlugIn). This is the way that WIDK of the native pReader is working.
    You get the advatage of the Jascipt/HTML for the UI and the speed of the PDK plugin.


    HaPe
  20. sagipe's Avatar
    Posts
    84 Posts
    Global Posts
    87 Global Posts
       #120  
    Quote Originally Posted by HaPe View Post
    Hi,

    as it was asked. Yes Javascipt apps can talk to PDK apps and share information:
    https://developer.palm.com/content/a...interface.html

    Better saying, a Javascipt app cann contail a PDK part (alled PlugIn). This is the way that WIDK of the native pReader is working.
    You get the advatage of the Jascipt/HTML for the UI and the speed of the PDK plugin.


    HaPe
    Thanks for the info. The only drawback would be that all data returned to Javescript is returned as strings, so it might be slow to render the data from a string to a pixel map, but it's worth a try.

    filmor_, don't you think it would be an easy solution? You could use your open source port to generate a pixel map and Enyo to display it.

Posting Permissions