lp:~xnox/vitables/patches

Created by Dimitri John Ledkov and last modified
Get this branch:
bzr branch lp:~xnox/vitables/patches
Only Dimitri John Ledkov can upload to this branch. If you are Dimitri John Ledkov please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dimitri John Ledkov
Project:
ViTables
Status:
Development

Recent revisions

170. By Vicent

Module nodePropDlg.py has been refactored and simplified.

The qt-designer file containing the Properties dialog has been modified.

* vitables/nodeProperties/nodePropDlg.py
ctor changed.
cleanGeneralPage and databaseGB methods added.
makeGeneralPage renamed to fillGeneralPage and rewritten.
makeSysAttrPage renamed to fillSysAttrPage.
makeUserAttrPage renamed to fillUserAttrPage.
groupGB and leafGB methods have been simplified.

169. By Vicent

Some code dealing with PyTables datatypes and numpy datatypes has been
cleaned.

* vitables/nodeProperties/nodeInfo.py
_dtype method renamed to _type. Docstring changed.
dtype property renamed to type.
_colTypes method has an unambiguous docstring now.

* vitables/nodeProperties/nodePropDlg.py
class docstring has been extended. Now it includes some comments about
where
and why we use PyTables and numpy datatypes.
ctor slightly changed.
makeSysAttrsPage method has been simplified.

168. By Vicent

Rows insertion/deletion in the tree view has been simplified and
debugged.

* vitables/h5db/dbsTreeModel.py
openDBDoc and createDBDoc method changed. Calls to the addNode method
have
been replaced by calls to insertRows.
rowCount method has been debugged.
lazyAddChildren method slightly changed.
addNode method has been removed.
insertRows and removeRows methods have been improved.

* vitables/vtapp.pyvitables/vtapp.py
slotFileSaveAs method has been debugged.

167. By Vicent

The import_csv and export_csv plugins have been improved.

* vitables/plugins/csv/export_csv.py
ExportToCSV class now inherits from QtCore.QObject.
addEntry method changed. The Export To CSV has been added to the leaf
context menu too.

* vitables/plugins/csv/import_csv.py
The module changed in order to take care of 1 row CSV files. The 1
column case
has been debugged. The following functions changed: tableInfo,
askForHelp and
homogeneousTableInfo (debugged and refactored).
isValidFilepath function debugged.
ImportCSV class now inherits from QtCore.QObject.
addEntry method changed. The import submenu has been added to the tree
view
context menu too.

166. By Vicent

Inconsistencies in the spacing between lines have been fixed.

165. By Vicent

Tree view usability improved.

Horizontal scrollbar behaves fine now. Fixing this was not as easy as it may
seem. The whole thing is somehow subtle.

* vitables/h5db/dbsTreeView.py
ctor changed. New signal/slot connection added.
updateColumnWidth method added. It takes care of resizing the tree width when
needed.

164. By Vicent

Added the new plugins_menu.py plugin. It show info about the loaded plugins.

New plugin added.
* vitables/plugins/menu/plugins_menu.py
* vitables/plugins/menu/__init__.py

A helpAbout method has been added to the currently existing plugins so they
provide About info to the new plugin.
* vitables/plugins/csv/export_csv.py
* vitables/plugins/csv/import_csv.py
* vitables/plugins/time_series.py

* vitables/vtapp.py
ctor and setupMenu method changed to make easier the interoperability with
plugins.

* vitables/preferences/pluginsLoader.py
The module has been refactored for improving the interoperability with
plugins.
Several methods have been renamed and have now more sensible names.

* vitables/preferences/vtconfig.py
Fixed a small issue in the saveConfiguration method.

163. By Vicent

The code dealing with application setup has been debugged and refactored.

* vitables/docBrowser/helpBrowser.py
ctor and slotExitBrowser methods: references to the hb_history and
hb_bookmarks settings have been updated

* vitables/preferences/preferences.py
Module has been debugged.
ctor changed. New signature. Kept references to the models tied to views used
in the plugins page of the Settings dialog.
setupList method changed accordingly to the new code in ctor.

Code for reading, loading and saving application settings has moved from the
vtapp.py module to preferences/vtconfig.py.

* vitables/preferences/vtconfig.py
ctor changed.
readConfiguration, saveConfiguration, getSessionFilesNodes, loadConfiguration
and userSettings methods added.

* vitables/vtapp.py
readConfiguration, saveConfiguration, getSessionFilesNodes and
loadConfiguration methods removed. Several other methods changed accordingly.

162. By Vicent

The plugins framework has been debugged and refactored and has a new ui.

In addition the icons folder has been reorganized.

The plugins configuration dialog has been embedded in the settings dialog.
Also the Tools menu has been moved back to the Settings menu.

* vitables/vtapp.py
setupActions, setupMenus method changed.
loadConfiguration method has been refactored.
slotPluginsConfigure method has been removed.

* vitables/preferences/settings_dlg.ui
The settings dialog (Qt-designer file) has changed. Now it contains a page
selector widget and a stack widget with 3 pages: General, Look & Feel and
Plugins.

* vitables/pluginsManager/pluginsmgr_dlg.ui
Qt-designer file with theplugins configuration dialog has been removed.

* vitables/pluginsManager
Subpackage has been removed.

* vitables/preferences/pluginsLoader.py
pluginsManager module has been moved here.

* vitables/preferences/preferences.py
Module has changed. Code for configuring plugins has been added.

The icons folder has changed: as a naming convention the name of a directory
containing icons tells the size of its icons. We have now the following
folders:
- 16x16 (was small_icons)
- 22x22 (was big_icons)
- 64x64 (new folder)

* vitables/utils.py
createIcons function changed accordingly to the new naming convention for
folders containing icons.

161. By Vicent

The deprecated (in Python 2.6) sets module is not used anymore.

* vitables/h5db/dbsTreeModel.py
lazyAddChildren method don't use sets module. Instead it uses frozenset
built-in.
dropMimeData method has been debugged.

* vitables/nodeProperties/attrEditor.py
setAttributes method don't use sets module. Instead it uses frozenset
built-in.

* vitables/queries/queriesManager.py
getTableInfo method don't use sets module. Instead it uses frozenset built-in.

* vitables/utils.py
getIcons and getHBIcons functions don't use sets module. Instead it uses
frozenset built-in.

* vitables/vtapp.py
slotUpdateActions method don't use sets module. Instead it uses frozenset
built-in.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.