Permalink
Commits on Aug 25, 2013
  1. Example 84: Supply an optional root_dir parameter so that the app can…

    Dusty Phillips
    Dusty Phillips committed Aug 25, 2013
    … be run from __main__ and main.py
Commits on Aug 24, 2013
  1. Example 82: Disable sound playing.

    Dusty Phillips
    Dusty Phillips committed Aug 24, 2013
    This is causing a hard crash on android, probably due to a bug in Kivy. Disable for now and hope it's solved in a future release.
  2. Example 81: Tweek location of icon and sound files so that they work …

    Dusty Phillips
    Dusty Phillips committed Aug 24, 2013
    …on android.
    
    This probably breaks them for the 'python orkiv/' case, but we can fix that later.
  3. Example 80: Tweak buildozer.spec for orkiv.

    Dusty Phillips
    Dusty Phillips committed Aug 18, 2013
  4. Add generated boilerplate buildozer.spec.

    Dusty Phillips
    Dusty Phillips committed Aug 18, 2013
  5. Example 79: add a __version__ spec.

    Dusty Phillips
    Dusty Phillips committed Aug 18, 2013
  6. Example 78: Refactor __main__ into a separate main module.

    Dusty Phillips
    Dusty Phillips committed Aug 18, 2013
    This required a few fixes. This change will allow buildozer to pick up the main file in order to build android .apks.
Commits on Aug 17, 2013
  1. Example 77: When window is resized while chat_window is visible, dete…

    Dusty Phillips
    Dusty Phillips committed Aug 17, 2013
    …rmine whether buddy list needs to be shown or hidden.
  2. Example 76: When adding a chat window, decide whether or not to keep …

    Dusty Phillips
    Dusty Phillips committed Aug 17, 2013
    …buddy list visible.
  3. Example 75: Set the mode based on the width property.

    Dusty Phillips
    Dusty Phillips committed Aug 17, 2013
    Kivy's dynamic property binding means that the mode will always be set as soon as a resize event occurs.
  4. Example 74: Add two kinds of properties to OrkivRoot.

    Dusty Phillips
    Dusty Phillips committed Aug 13, 2013
    These will facilitate calculations about whether to add a new chat window beside the buddy list or
    or to replace it.
Commits on Jul 31, 2013
  1. Example 71: Add a method for forcing the list view to redraw itself.

    Dusty Phillips
    Dusty Phillips committed Jul 27, 2013
    This really shouldn't be necessary given a well designed and used API, but it's the easiest way to work around the deficiencies.
  2. Example 70: Add a set to store new messages on.

    Dusty Phillips
    Dusty Phillips committed Jul 27, 2013
    We use a set because the primary purpose is to determine if something is in that set, and sets are extremely efficient at that operation.
  3. Example 69: Play a sound on every incoming message.

    Dusty Phillips
    Dusty Phillips committed Jul 26, 2013
  4. Example 68: Hook up an EnterTextInput to send messages when the enter…

    Dusty Phillips
    Dusty Phillips committed Jul 26, 2013
    … key is pressed.
  5. Example 67: Use the EnterTextInput as base for AccountDetailsTextInput.

    Dusty Phillips
    Dusty Phillips committed Jul 26, 2013
    Removing duplicate code is the main catalyst here. This is perhaps more readable, but it's definitely more maintainable.
  6. Example 66: A generic TextInput that responds to enter keypress.

    Dusty Phillips
    Dusty Phillips committed Jul 26, 2013
    This is our introduction to how easy it is to create and dispatch events of our own devising.
  7. Example 65: Scroll to the bottom of the window on new text.

    Dusty Phillips
    Dusty Phillips committed Jul 25, 2013
  8. Example 64: Make the label scrollable.

    Dusty Phillips
    Dusty Phillips committed Jul 25, 2013
Commits on Jul 25, 2013
  1. Example 63: Render markup in chat labels.

    Dusty Phillips
    Dusty Phillips committed Jul 25, 2013
    This is primarily to visually distinguish who sent or received each message.
  2. Example 62: Create a new method that renders the chat message onto th…

    Dusty Phillips
    Dusty Phillips committed Jul 25, 2013
    …e label.
  3. Example 61: Removing duplicate code for chat window creation.

    Dusty Phillips
    Dusty Phillips committed Jul 25, 2013
    We pull the code that creates a chat window if it doesn't exist into its own method. The calling code is now
    much easier to follow.
Commits on Jul 23, 2013
  1. Example 59: A method to handle received messages as they come in from…

    Dusty Phillips
    Dusty Phillips committed Jul 23, 2013
    … SleekXMPP.
    
    Since this method isn't being called anywhere yet, it's kind of useless. But we'll hook it up right away.
Commits on Jul 21, 2013
  1. Example 58: Hook the new send_message method up to the release event …

    Dusty Phillips
    Dusty Phillips committed Jul 21, 2013
    …on the send button.
  2. Example 57: Add a send_message method to ChatWindow.

    Dusty Phillips
    Dusty Phillips committed Jul 21, 2013
    The send event hasn't been hooked up yet, but when it is, this method will send the message to the connected client, update the chat label, and clear the box in preparation for the next message to send.
  3. Example 56: Fix up the OrkivRoot so that it keeps track of BuddyList …

    Dusty Phillips
    Dusty Phillips committed Jul 21, 2013
    …and ChatWindow objects such that they can be displayed without having to be reconstructed.
  4. Example 55: Add event handlers to the BuddyListItem and Buddies button.

    Dusty Phillips
    Dusty Phillips committed Jul 21, 2013
    Now we can switch back and forth between the two views at will. Of course, the two views are rather boring...
  5. Example 54: Add a method to render Buddy Chat.

    Dusty Phillips
    Dusty Phillips committed Jul 21, 2013
    We add this to the root object, since it will ultimately be the screen manager. Currently, it does nothing but create a new chat window each time it is called.
  6. Example 53: Basic styling for the chat window widget.

    Dusty Phillips
    Dusty Phillips committed Jul 19, 2013
    It contains a window for chat text, a text entry area, and buttons to send or go back to the buddy list.
    None of those are hooked up yet, though.
  7. Example 52: Add a ChatWindow class.

    Dusty Phillips
    Dusty Phillips committed Jul 21, 2013
    Also include a couple properties that we know we'll have to reference shortly.