1. 07 Jan, 2008 7 commits
    • John (J5) Palmieri's avatar
      add the icon files to MANIFEST.in · 7bf67242
      John (J5) Palmieri authored
    • John (J5) Palmieri's avatar
      bump version to 0.1.7 for release · fa5b8d0a
      John (J5) Palmieri authored
      * we should start bumping version right after a release instead
        of when we do the release
    • John (J5) Palmieri's avatar
      implement getting property values when a property is selected · d0e49946
      John (J5) Palmieri authored
      * dfeet/_ui/busnameinfobox.py (BusNameInfoBox.cursor_changed_handler): run the
        on_selected method of the selected node
      * dfeet/introspect_data.py (Node.on_selected): virtual method that other classes implement
        (LeafNode): New base class for leaf nodes that provides methods common to all leaf nodes
        (Method, Signal, Propery): Inherit from LeafNode
        (Method.dbus_call): offload getting a proxy to the parent class
        (Property.on_selected): if the propery is selected and can be read from, get the value
         of the property
        (Property.to_markup_str, Property.__str__): add a value to the output if it exists
    • John (J5) Palmieri's avatar
    • John (J5) Palmieri's avatar
      fix how we represent arguments parsed from the introspection data and make output pretty · 4f45f880
      John (J5) Palmieri authored
      * dfeet/_introspect_parser.py: (_Parser.StartElementHandler): for properties, methods and signals
        denote sig as a list of dicts which have the argument name and type as keys
      * dfeet/introspect_data.py(Node._sig_list_to_string, Node._sig_list_to_markup):
        helper functions which work with the new sig format to display formatted
        representations of the signature
        (Property.get_icon_name): display a different icon based on the type of access
        is permitted for the property
        (Property.to_markup_str): display properties in pretty print, now as a simple
        <type> <name> format
        (PropertyLabel.add, SignalLabel.add): pass in the propper signature data when
        creating Property and Signal nodes
      * icons/src/object-catagories-centered.svg: create the new read, write and readwrite
        property icons
    • John (J5) Palmieri's avatar
      add icons to denote methods, properties and signals · ccade0bd
      John (J5) Palmieri authored
      * dfeet/_ui/wnck_utils.py(IconTable.__init__): set the default icon to be
        an icon we include since not all systems have the icon-service icon
      * dfeet/introspect_data.py(ObjectPath Method, Signal, Property, MethodLabel,
        SignalLabel, PropertyLabel): set their get_icon_name with the new icon
      * setup.py: make sure the new icons install into hicolor
    • John (J5) Palmieri's avatar
      fix typo s/property/in_property · 886c75c0
      John (J5) Palmieri authored
  2. 23 Dec, 2007 1 commit
  3. 13 Dec, 2007 3 commits
    • John (J5) Palmieri's avatar
      bump to release · 232239a0
      John (J5) Palmieri authored
    • John (J5) Palmieri's avatar
    • John (J5) Palmieri's avatar
      add support for icons in the treeview and hook up execute button for methods · 850613f5
      John (J5) Palmieri authored
      * dfeet/DFeetApp.py(__init__.py): hookup the execute_method action
        (introspect_node_selected_cb): set execute button sensitive if a method is
        (execute_current_method_cb): get the current selected method and busname and
        bring up the execute dialog
      * dfeet/_ui/busbox.py: Add introspectnode-selected signal for when a node is
        selected by the BusNameInfoBox child
        (busname_info_selected_cb): emit introspectnode-selected when the BusNameInfoBox
        child emits a selected signal
        (get_selected_introspect_node): returns the current selected node of the
        BusNameInfoBox child
        (get_selected_busname): returns the currently selected busname in the
      * dfeet/_ui/busnameinfobox.py: new selected signal
        (__init__): add pixbuf renderer to the treeview
        (cursor_changed_handler): emit selected
        (get_selected_node): returns the current selected node
      * dfeet/introspect_data.py(Node.get_icon_name): default to None
        (Method.get_icon_name): return 'gtk-execute' for now
        (IntrospectData): add new icon_name column
  4. 12 Dec, 2007 2 commits
  5. 11 Dec, 2007 3 commits
    • John (J5) Palmieri's avatar
      make libwnck icons stick around for longer · 00192c57
      John (J5) Palmieri authored
      * dfeet/_ui/wnck_utils.py (IconTable.on_app_close) Icons can only be
        grabbed when a window is created. For services like mugshot this means
        we lose the icon when the last window closes.  This 'fix' is leaky since
        we don't clean up when the app really goes away.  We need to fix that
        in the future but in practice it shouldn't be a major issue.
    • John (J5) Palmieri's avatar
      allow multiple system and session bus tabs (no pure addresses yet) · 29d6190c
      John (J5) Palmieri authored
      * dfeet/DFeetApp.py(DFeetApp.__init__): attach to signals for adding bus tabs
        and no longer create a session and system bus tab on start
        (DFeetApp._load_tabs): setup method for loading the tabs from the last saved settings
        (DFeetApp.add_bus): add a bus tab based on the type or address
        (DFeetApp._quit_dfeet): save out tab configuration when exiting
      * dfeet/_ui/busbox.py(BusBox.get_bus_watch): keep track of the bus watch so we can use
        it to save out state
      * dfeet/dbus_introspector.py(BusWatch.get_bus_name): method used to save out what bus
        was being used in a tab
      * dfeet/settings.py(Settings): add a bustabs_list property to the general section
        (Settings.read): add logic that says any property ending with list gets converted to a list
        (Settings.write): add logic that says any property ending in list is joined as a comma
        delimited string
      * ui/default-actiongroup.ui: add the action callbacks for adding tabs
    • John (J5) Palmieri's avatar
      use GtkBuilder instead of glade · 815ee1a5
      John (J5) Palmieri authored
      * This is good and bad in a couple of different ways
        * bad
          * no UI builder currently works with GtkBuilder
          * need to split into different files because there is no way to define the
            root node
        * good
          * more powerful than glade
          * cleaner API
          * one less dep
      * ui/*.ui: new ui files split from the dfeet.glade file which was removed
      * tests/uifile_tests.py: script to test the ui files
      * dfeet/_ui/uiloader.py(UILoader): new class for loading the .ui files
      * dfeet/DFeetApp.py(DFeetApp.__init__): use the new uiloader to load the
        main window
      * dfeet/_ui/busbox.py(BusBox.__init__): use the new uiloader to load the
        filter box
      * dfeet/_ui/busnameinfobox.py(BusNameInfoBox.__init__): use the new uiloader to
        load the introspect view
      * dfeet/_ui/executemethoddialog.py(ExecuteMethodDialog.__init__): use the new ui
        loader to load the main window
      * dfeet/_util.py
        (get_glade_file): removed
        (get_ui_dir): added to return where to get the ui files from
  6. 09 Dec, 2007 8 commits
  7. 08 Dec, 2007 1 commit
  8. 07 Dec, 2007 4 commits
  9. 05 Dec, 2007 11 commits