Recent Updates RSS Toggle Comment Threads | Keyboard Shortcuts

  • Jorge Bernal 7:22 pm on January 10, 2012 Permalink | Reply  

    In [2382]: Enabled GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS so we get a bunch new warnings if we’re using deprecated methods. Autocompletion usually helps to avoid it when writing new code, but we should review the old code. 19 warnings only :)

     
  • Jorge Bernal 8:34 pm on December 16, 2011 Permalink
    Tags: libraries   

    I plan to write some coding guidelines for iOS extending what’s here (not much, I know), but one thing I need to warn right now, just in case:

    If you add any external libraries, don’t modify them.

    That said, if you need to change them to fit our app:

    • Make it generic enough to be accepted by the original developer, if it fixes a general problem
    • Try creating a subclass, or find other workaround, if it’s too specific to our app
    • If you absolutely must modify the library, at least commit a clean copy of it to svn, then apply your changes and commit. This way we can have a diff of what we’ve modified and update the library easily in the future

    This came from trying to update the XMLRPC library. Our version was really old, the first version committed to our svn already had modifications, in all this time they moved from svn to git losing the history. There was no sane way to figure out what our changes were compared to the original version to port them over the latest version, so I had to take a guess (only picked the changes after it was added to svn)

     
    • Jorge Bernal 8:39 pm on December 16, 2011 Permalink | Reply

      I also plan next week to move all the libraries to a Vendor directory, so it’s easier to differentiate our code from third party. Since we can’t have git externals/submodules in svn, I was planning to just store a list of libraries in a text file. Something like this:

      AFNetworking
      Source: https://github.com/koke/AFNetworking
      Version: 049fef588818e29e92128a08ae835aad3a33103b
      
      XMLRPC
      Source: https://github.com/eczarny/xmlrpc
      ...
      

      I’ve been looking at dependency management for Objective-C like CocoaPods and VendorKit, but I’m not sold on any of those yet.

    • Dan 8:59 am on December 28, 2011 Permalink | Reply

      Speaking of external libraries, AFNetworking has a bunch of example code in it. We should remove that at some point.

      • Jorge Bernal 10:53 am on December 28, 2011 Permalink | Reply

        Not 100% happy about it, but it goes to the “don’t modify”. Since we can’t have them as externals/submodules, I tried to keep the files the same as upstream, and add only what we need in the Xcode project.

  • Jorge Bernal 1:47 pm on December 16, 2011 Permalink  

    Feature request from twitter: better support for finding/editing old posts:

    First we’d need support on the XML-RPC api. In theory, metaWeblog.getRecentPosts supports everything that WP_Query supports, but I can’t find search on the documentation.

    But even then, how do we decide what to keep? Most of the users will only care about the latest posts if anything, and keeping 1K posts in the app would add disk space, and possibly slow down the app.

     
    • X-Money 1:57 pm on December 16, 2011 Permalink | Reply

      Why you can’t use the same or similar API that Apple use in the Mail app? Everyone has a search or category API for iOS. Amazon, Google, EBay. You gotta reverse engineer their app. If you can make WP search and editing of posts like Apple Mail that will be awesome.

      • Jorge Bernal 3:10 pm on December 16, 2011 Permalink | Reply

        Well, the API that mail uses (IMAP) is for mail servers. Adding a search box to the app interface is relatively easy, the problem is asking your WordPress site to search. As far as I know, there’s no API for that yet.

        That doesn’t mean it’s impossible, but we’d have to wait until WordPress 3.4 (at least) to be able to make it.

        Anyway, what’s the typical case that makes you go so often to old posts?
        Do you get a comment on an old post and correct something? Do you search for old posts as a template for new posts?

    • Darnell Clayton 5:04 pm on December 16, 2011 Permalink | Reply

      Meh! I hate to say it, but I see this as (more or less) an unnecessary feature that you need to say no to (at least right now).

      If users need to edit a post, then why not enable it on the mobile web side, allowing them to log in, search, etc. and edit from there? (also is there a plugin for that?)

      Adding this feature would indeed slow the WordPress app down, and it’s better to wait for an API. To paraphrase Steve Jobs, “learn to say no to feature requests.”

    • Manuel Rubio 1:47 pm on December 17, 2011 Permalink | Reply

      I believe that WordPress release 2.9.3 has been well and you must have well-taken care of with the modifications so that it does not happen like with version 2.9.2

  • Isaac Keyet 11:38 am on December 12, 2011 Permalink
    Tags: update   

    Copy/Paste issues are fixed in 2.9.3, which just went live. Sorry about the trouble, and be sure to let us know how this update works for you.

     
    • Manuel Rubio 6:59 pm on December 12, 2011 Permalink | Reply

      Thank you very much. I have try it and works very well

  • Isaac Keyet 6:33 pm on December 5, 2011 Permalink
    Tags:   

    WordPress for iOS 2.9.2 is out! It’s a bug fix update that improves stability and adds a notification about new updates being available.

     
    • Manuel Rubio 12:56 pm on December 6, 2011 Permalink | Reply

      With old version 2.9.1 was very comfortable TO COPY and PASTE from the application Notebook of iPhone to application OS. Now CAB DO IT. From version 2.9.2 a COMMENTARY CANNOT BE PASTE and is necessary to write it again. This is a GREAT FAILURE

      • Isaac Keyet 11:43 am on December 12, 2011 Permalink | Reply

        Sorry about that, this has been fixed in 2.9.3. Please update the app to regain copy/pasting functionality.

  • Dan 9:56 am on November 12, 2011 Permalink
    Tags:   

    I went to upload some images and when… 

    I went to upload some images, and when the custom dialog popped up, I also received the location allow dialog at the same moment. I couldn’t tap on anything until I switched to a different app, and then could respond to the location dialog.

    20111112-095504.jpg

     
    • Gloopy 1:15 pm on November 18, 2011 Permalink | Reply

      We have had 3 customers now tell us about this :( deffo a bug

  • Jorge Bernal 2:31 pm on November 8, 2011 Permalink
    Tags:   

    I’ve seen some crash reports on iOS5 with the following error:

    ‘NSInvalidArgumentException’, reason: ‘Cannot set metadata in read-only store.’

    Looking at this thread and the dev forums, it seems like an Apple bug, but one user said:

    My beta testers reported that syncing with iTunes seems to clear this error up- so my guess is that iTunes sync is fixing a permissions problem.

    Let’s hope they’ll fix that in a next release, since it’s about 20% of the crashes for 2.9.1 right now

     
  • Jorge Bernal 4:25 pm on November 4, 2011 Permalink
    Tags: , , , wpios-3.0   

    I just emptied the 3.0 milestone on trac so we can start fresh.

    I’ll start working on the roadmap next week, and everything should have it’s own ticket so we can easily keep track of the changes and progress.

     
  • Jorge Bernal 12:18 pm on October 5, 2011 Permalink  

    Crash Report status for 2.9.1:

    • Fixed freeze when picking photo from library [2239]
    • Fixed crashes on iOS 4.0 [8.58% of crashes] [2236]
    • Maybe fixed crash when memory warning issued while adding/selecting categories [4% of crashes] [2240]
    • Try to avoid crash on weird cases when picking a photo [2.47% of crashes]. Can’t reproduce, but I’ve tried to make it not crash on unexpected values [2241]

    Unsolved crashes:

    • There’s a Safari bug on iOS 4.0 which makes WebCore crash [5.29% of crashes]. New version of the reader in 2.9.1 will at least not make it happen when users are somewhere else in the app, but will still crash when loading the articles that trigger that bug. That would also help pinpoint what the bug actually is
    • The crash on ojbc_msgSend [4.47% of crashes]. We’ve had this one for a long time, and happens in very random places. At least users are now giving more details of what they were doing when app crashed. Cleanup and NSOperation in 3.0 will probably help getting rid of this one
    • NSObjectInaccessibleException [3.17% of crashes]. In some edge cases, the app tries to show a comment which has been deleted (or marked as spam). It looks like it happens when the app was in the background and just launched opening a comment.
    • The “Deallocation Problem” (more info) [2.59% of crashes]. Nasty bug which happens when a UIViewController does something on the background and gets released before the background thread is finished. That causes dealloc to be called from a background thread which is fatal when you have a UIWebView. Let’s move to NSOperation and stay away from performSelector* on 3.0
     
    • Jorge Bernal 12:48 pm on October 5, 2011 Permalink | Reply

      Also, there’s a “crash” for some users when opening the comments tab while posts are still loading

      I saw it happen live on WordCamp Lisbon, but it didn’t leave any kind of crash log. When user went to visit and refresh a different blog, it was suddenly fixed.

    • Stefan 11:08 pm on October 16, 2011 Permalink | Reply

      What’s about Custom-Post-Type function in the App? Would that function coming with that new version or with v3.0 of the app?

      • Jorge Bernal 11:39 am on October 17, 2011 Permalink | Reply

        Probably not going to make it for 3.0, although we want to support them somehow in the future

  • Jorge Bernal 5:37 pm on October 3, 2011 Permalink
    Tags:   

    Fixed one of 2.9 crashes in [2236]. We were using some constants defined on 4.1, but we still support 4.0

    If you’re unsure in the future check the documentations, or run this:

    ack -h -a '_AVAILABLE_STARTING\(.*, ?__IPHONE_4_[123]' /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks
    

    After looking at those results, I haven’t found anything else we use unsupported in 4.0

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel
Follow

Get every new post delivered to your Inbox.

Join 46 other followers