Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Saturday, April 18 2009
36 [PATCH] Fix return value for PListNode.as_data() in Python binding was created
  • Martin S.
    Martin S. created the ticket at 8:58 PM

    Fix in patch below. The as_data() method would otherwise just return the bytes till the first null-byte was encountered. Now it works correct and one can check ...

35 [PATCH] Fix receive of plists larger than a packet was updated
  • Martin S.
    Martin S. commented at 5:56 PM

    Here is a patch for lockdown, however I am not sure if the SSL stuff will work with the buffer receive loop as good as iphone_mux_recv, thus I would not accept ...

  • Martin S.
    Martin S. created the ticket at 5:55 PM

    Both the "lockdown recv" and "mobilesync recv" functions only request a single usbmux packet using "iphone_mux_recv()" and ignore that the datalen reported migh...

33 libplist has issues when sub nodes of type dict are used was updated
  • Martin S.
    Martin S. commented at 1:15 PM

    Nice and thanks a lot, couldn't disturb it by anything thrown at it now. Feel free to close ticket and push a tag. :)

  • Jonathan Beck
    Jonathan Beck commented at 9:18 AM

    Ok so there was still lifecycle issue in subnodes (deleting twice subnodes data) It should be fixed.

    get_first_child is also fixed.

    Hope it is fully functional ...

4 ifuse_open doesn't handle file modes correctly was updated
  • Paul Sladen
    Paul Sladen commented at 1:04 AM

    Credit to Nikias for having the brains to think about this one!

    And as to why... the six permissions are exactly those used by:

    fopen(..., "r" "r+" "w" "w+" "a"...

Thursday, April 16 2009
34 [PATCH] Return error if lockdown fails starting a service was created
  • Martin S.
    Martin S. created the ticket at 7:19 PM

    The codepath of "iphone_lckd_start_service" currently fails for the case when the requested service could not be started and a "Result:Failure" is returned from...

30 [PATCH] Add tools to show device information and relay the syslog was updated
  • Martin S.
    Martin S. commented at 4:03 PM

    I did not care about the names since all lives in the dev/ directory which is not actually meant for distribution, contains "not clean" test tools and requires ...

  • Paul Sladen
    Paul Sladen commented at 2:05 PM

    Excellent. Again, wondering that the name is too generic. What about 'iphonesyslogrelay' or combining into a more general 'lockdown command arguments' tool or s...

  • Martin S.
    • Tag changed from libiphone, lockdown, patch to libiphone, lockdown, patch, syslog_relay
    • Title changed from [PATCH] Add tool to show device information to [PATCH] Add tools to show device information and relay the syslog
    by Martin S. at 1:54 PM

    Patch below applies after 0007-add-deviceinfo-tool.patch and adds a syslog_relay tool which basically dumps the syslog of a device to stdout.

    Someone might have...

  • Martin S.
    Martin S. commented at 1:44 AM

    Also shows battery information now.

5 Integrate usbmuxd (when it's ready) was updated
  • Martin S.
    Martin S. commented at 11:58 AM

    No #ifdef stuff since there is not much need to keep the "old usbmux way" in once usbmuxd is integrated and working.

  • Jonathan Beck
    Jonathan Beck commented at 7:33 AM

    Since we want to include it in the end, I'd say we should integrate usbmuxd without all the #ifdef stuff, and fix bugs when they come.

    Then there is no complica...

Wednesday, April 15 2009
30 [PATCH] Add tool to show device information was updated
  • Martin S.
    Martin S. commented at 11:18 PM

    Changed name to iphoneinfo and added some more information being dumped.

  • Nikias Bassen
    Nikias Bassen commented at 2:35 PM

    The name 'deviceinfo' is too generic. 'iphoneinfo' would be more suitable regarding that this tool (in a later revision) might be used for automounting.

  • Paul Sladen
    • Milestone set to 1.0 Release
    by Paul Sladen at 10:44 AM
  • Martin S.
    Martin S. created the ticket at 12:19 AM

    This patch adds a "deviceinfo" tool which shows interesting information of an attached iPhone/iPod Touch which can be request from lockdownd.

    One can choose a s...

33 libplist has issues when sub nodes of type dict are used was updated
  • Martin S.
    Martin S. commented at 9:28 PM

    Thanks for looking into it.

    Despite the usecase you posted working now, the code below fails (not sure if that is expected): @@@dict = PListNode(PLIST_DICT) dic...

  • Jonathan Beck
    Jonathan Beck commented at 8:40 PM

    So I've reworked the SWIG binding since there were multiple errors. Now I don't have any segfault anymore.

    Let me know if last HEAD, so I can close this ticket ...

  • Jonathan Beck
    Jonathan Beck commented at 6:44 PM

    Ah, you're right Nikias, the GetValue line must be removed to make a valid plist.

    Still have the segfault in python though...

  • Jonathan Beck
    • Tag changed from libplist to libplist, python
    • State changed from new to open
    by Jonathan Beck at 6:39 PM

    Regarding the empty dict, I can't reproduce the problem. I used this :

    #include <stdio.h>
    #include <stdlib.h>
    #include <plist/plist.h>
    
    int main(int argc, char...
  • Nikias Bassen
    Nikias Bassen commented at 6:34 PM

    Hi, the line

    plist_add_sub_string_el(node, "GetValue");

    is not required to make the xml plist show above, in fact it even creates an invalid plist. But even wit...

3 earlier changes…
  • Martin S.
    Martin S. commented at 5:10 PM

    You are right, didn't notice that it had to be valid like that which of course means the test is correct.

    However, there was another issue I had came up with on...

  • Jonathan Beck
    Jonathan Beck commented at 4:45 PM

    Do you mean only changing the array node into dict in 1.plist ?, ie :

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLI...
  • Martin S.
    Martin S. created the ticket at 2:46 PM

    I noticed libplist 0.10 fails miserably if one uses subnodes in the plist files.

    To test simply change the node to in the 1.plist data example and run plist_tes...

5 Integrate usbmuxd (when it's ready) was updated
  • Nikias Bassen
    Nikias Bassen commented at 9:07 PM

    STATUS UPDATE

    The current usbmuxd implementation is quite stable, and it is also when running multiple connections (e.g. multiple ifuse mounts and/or iphoneclie...

32 [PATCH] Extend libplist Python API was updated
  • Jonathan Beck
    • State changed from new to resolved
    by Jonathan Beck at 4:38 PM

    applied, thanks Martin.

  • Martin S.
    Martin S. created the ticket at 2:36 PM

    Below patch extends the libplist Python API a bit and fixes the wrongly named "AddSubNode" to "add_sub_node".

29 [PATCH] Update msync.py example to latest Python API was updated
  • Paul Sladen
    • Milestone set to 1.0 Release
    by Paul Sladen at 10:44 AM
27 [PATCH] NotificationProxy updated was updated
  • Paul Sladen
    • Milestone set to 1.0 Release
    by Paul Sladen at 10:43 AM
26 [PATCH] afc_get_file_attr: do not call afc_close_file was updated
  • Paul Sladen
    • Milestone set to 1.0 Release
    by Paul Sladen at 10:43 AM
28 [PATCH] Make usb bus enumeration work reliably was updated
  • Paul Sladen
    • Milestone set to 1.0 Release
    by Paul Sladen at 10:43 AM
31 Invite Nikias to libiphone was created
  • Paul Sladen
    Paul Sladen created the ticket at 10:41 AM

    Invite/delegate sufficient permissions to Nikias to allow setting Milestones.

Tuesday, April 14 2009
29 [PATCH] Update msync.py example to latest Python API was updated
  • Martin S.
    Martin S. commented at 8:46 PM

    Additional patch below extends the Python API by exposing set_debug_mask, get_specific_device and allow send/receive of plists for lockdownd.

  • Martin S.
    Martin S. created the ticket at 12:57 PM

    The patch below.

27 [PATCH] NotificationProxy updated was updated
  • Nikias Bassen
    Nikias Bassen commented at 5:07 PM

    Hi again. This is the new and tested patch. It fixes the errors reported, introduces the iphone_mux_recv_timeout function as well as iphone_np_set_notify_callba...

  • Martin S.
    Martin S. commented at 12:53 PM

    You have a typo "g_strfr eev(dirs);" should be "g_strfreev(dirs);". Also "iphone_mux_recv_timeout" which you are using seems not to be defined in libiphone mast...

  • Nikias Bassen
    Nikias Bassen commented at 10:06 AM

    Well, here is the complete patch.

  • Nikias Bassen
    Nikias Bassen commented at 10:01 AM

    Yes, right. Here is the complete patch.

  • Martin S.
    Martin S. commented at 4:11 AM

    The implementation for lockdownd_get_device_name seems missing from the patch.

26 [PATCH] afc_get_file_attr: do not call afc_close_file was updated
  • Nikias Bassen
    Nikias Bassen commented at 4:57 PM

    There was a ';' missing. Use this new patch instead.

28 [PATCH] Make usb bus enumeration work reliably was created
  • Martin S.
    Martin S. created the ticket at 12:34 PM

    Attached patch fixes the way how the usb busses/devices are enumerated by libusb. It changes it to use the dirname/filename string members instead of the numeri...

Monday, April 13 2009
27 [PATCH] NotificationProxy updated was created
  • Nikias Bassen
    Nikias Bassen created the ticket at 11:30 PM

    Here's a patch that updates the functionality and several declarations of the NotificationProxy implementation. This includes a new iphone_np_get_notification f...

26 [PATCH] afc_get_file_attr: do not call afc_close_file was created
  • Nikias Bassen
    Nikias Bassen created the ticket at 11:19 PM

    This is a fix for iphone_afc_get_file_attr. As the file is not opened when getting its information with afc_get_file_info, there's no need to close the file (be...

17 Get rid of libiphone-initconf was updated
  • Matt Colyer
    • State changed from open to resolved
    by Matt Colyer at 3:56 PM

    Merged in.

Do not rely on libiphone wrongly expo... was committed by Jonathan Beck at 3:54 PM
2 merge libiphone-libplist was updated
Conform to python naling scheme. Add ... was committed by Jonathan Beck at 3:48 PM
Add libtool dependency in README. htt... was committed by Jonathan Beck at 3:48 PM
Use less secure random number generat... was committed by Jonathan Beck at 3:48 PM