Skip to content

Bunch of PureMVC improvements and bug fixings #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 49 commits into from
Oct 19, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
3b0c785
Python style 'if' statements
Sep 25, 2012
5a593ef
Use 'is' instead of the 'equal to' operator
Sep 25, 2012
6e1f0b7
dict.get() returns 'None' by default
Sep 25, 2012
a22474a
Fixed typos
Sep 25, 2012
f73e255
Use "is" instead of "=" operator when comparing to None
Oct 10, 2012
9fe61c8
dict.get() returns None by default if no key was found
Oct 10, 2012
466dc5a
Fixed typo
Oct 10, 2012
be17258
Ignore .pyc files
Oct 10, 2012
564dbfd
Converted tabs into spaces and removed trailing spaces
Oct 10, 2012
a1aa426
Added src folder to Python search paths
Oct 10, 2012
978b687
Converted tabs into spaces and removed trailing spaces
Oct 10, 2012
beec2ec
Fixed 'test' task in fabric file
Oct 10, 2012
2a2daab
Converted tabs into spaces and removed trailing spaces
Oct 10, 2012
6031510
Missing inheritance from INotifier for facade, command and mediator i…
Oct 10, 2012
6a7bf82
Raise a NotImplementedError(self) for verbose exception
Oct 10, 2012
244ce6c
Fixed typo in method names
Oct 10, 2012
a042308
Fixed typo
Oct 10, 2012
42eedc4
Added missing method in facade's interface
Oct 10, 2012
a55ebd4
Avoid name collision with built-in types
Oct 13, 2012
5aa0abc
Added missing IVewi.removeObserver() method
Oct 13, 2012
43173da
Fixed typo
Oct 13, 2012
8f22b90
Replaces tabs with spaces and removed trailing spaces
Oct 13, 2012
66ffbea
No need to define a class level variable
Oct 13, 2012
2f962fd
Fixed typo
Oct 13, 2012
7013765
Repalces tabs and removed trialing spaces
Oct 13, 2012
92cfa46
Fixed bug in MacroCommand.execute() where the list of commands was co…
Oct 13, 2012
a7c107b
Converted tabs and removed trailing spaces
Oct 13, 2012
70137d4
Fixed name clash with built-in types
Oct 13, 2012
61ebea7
Fixed typos
Oct 13, 2012
dca24e9
Refactored Facade.removeProxy() method
Oct 13, 2012
ab88a97
Converted tabs and removed trailing spaces
Oct 13, 2012
1e0965c
Removed useless class level attributes
Oct 13, 2012
717a133
Converted tabs and removed trailing spaces
Oct 13, 2012
7500e9e
Fixed name clashes with built-in types
Oct 13, 2012
1f573bb
Always use instance attributes instead of class level attributes
Oct 13, 2012
a1faed5
Removed useless class level attributes
Oct 13, 2012
0521768
Use the view component's setter method
Oct 13, 2012
66b1e47
Set proxy data anyway because some objects (like an empty string) can…
Oct 13, 2012
048a5d4
Fixed multi command's execute method
Oct 13, 2012
c2c7e5f
Refactored unit test primer to auto-load unit tests
Oct 13, 2012
445028b
Fixed unit test names to be detected by the unit test auto-loader
Oct 13, 2012
2f4de9a
Removed unused imports
Oct 13, 2012
541b972
Fixed name clashes with built-in types
Oct 13, 2012
68a6e48
Revert "Fixed name clashes with built-in types"
Oct 13, 2012
bdca121
Fxed name clashes with built-in types
Oct 13, 2012
77da670
Added verbose switch to easily detect doc string's errors
Oct 13, 2012
c685375
Fixed doc string
Oct 13, 2012
df90b7c
Documentation updated
Oct 13, 2012
bb6ac2d
Call setData() only if proxy's data is not null
Oct 19, 2012
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

*.pyc
100 changes: 49 additions & 51 deletions docs/api-objects.txt

Large diffs are not rendered by default.

70 changes: 37 additions & 33 deletions docs/class-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,36 @@
</b></center><br />
<h1 class="epydoc">Class Hierarchy</h1>
<ul class="nomargin-top">
<li> <strong class="uidlink">object</strong>:
<em class="summary">The most base type</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.interfaces.IController-class.html">puremvc.interfaces.IController</a></strong>:
<em class="summary">The interface definition for a PureMVC Controller.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.core.Controller-class.html">puremvc.core.Controller</a></strong>:
<em class="summary">A Singleton <code>IController</code> implementation.</em>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.IModel-class.html">puremvc.interfaces.IModel</a></strong>:
<em class="summary">The interface definition for a PureMVC Model.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.core.Model-class.html">puremvc.core.Model</a></strong>:
<em class="summary">A Singleton <code>IModel</code> implementation.</em>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.INotification-class.html">puremvc.interfaces.INotification</a></strong>:
<em class="summary">The interface definition for a PureMVC Notification.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.patterns.observer.Notification-class.html">puremvc.patterns.observer.Notification</a></strong>:
<em class="summary">A base <code>INotification</code> implementation.</em>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.INotifier-class.html">puremvc.interfaces.INotifier</a></strong>:
<em class="summary">The interface definition for a PureMVC Notifier.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.interfaces.ICommand-class.html">puremvc.interfaces.ICommand</a></strong>:
<em class="summary">The interface definition for a PureMVC Command.</em>
<ul>
Expand All @@ -72,14 +102,6 @@ <h1 class="epydoc">Class Hierarchy</h1>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.IController-class.html">puremvc.interfaces.IController</a></strong>:
<em class="summary">The interface definition for a PureMVC Controller.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.core.Controller-class.html">puremvc.core.Controller</a></strong>:
<em class="summary">A Singleton <code>IController</code> implementation.</em>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.IFacade-class.html">puremvc.interfaces.IFacade</a></strong>:
<em class="summary">The interface definition for a PureMVC Facade.</em>
<ul>
Expand All @@ -96,25 +118,14 @@ <h1 class="epydoc">Class Hierarchy</h1>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.IModel-class.html">puremvc.interfaces.IModel</a></strong>:
<em class="summary">The interface definition for a PureMVC Model.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.core.Model-class.html">puremvc.core.Model</a></strong>:
<em class="summary">A Singleton <code>IModel</code> implementation.</em>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.INotification-class.html">puremvc.interfaces.INotification</a></strong>:
<em class="summary">The interface definition for a PureMVC Notification.</em>
<li> <strong class="uidlink"><a href="puremvc.interfaces.IProxy-class.html">puremvc.interfaces.IProxy</a></strong>:
<em class="summary">The interface definition for a PureMVC Proxy.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.patterns.observer.Notification-class.html">puremvc.patterns.observer.Notification</a></strong>:
<em class="summary">A base <code>INotification</code> implementation.</em>
<li> <strong class="uidlink"><a href="puremvc.patterns.proxy.Proxy-class.html">puremvc.patterns.proxy.Proxy</a></strong>:
<em class="summary">A base <code>IProxy</code> implementation.</em>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.INotifier-class.html">puremvc.interfaces.INotifier</a></strong>:
<em class="summary">The interface definition for a PureMVC Notifier.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.patterns.command.MacroCommand-class.html">puremvc.patterns.command.MacroCommand</a></strong>:
<em class="summary">A base <code>ICommand</code> implementation that executes other
<code>ICommand</code>s.</em>
Expand Down Expand Up @@ -156,14 +167,6 @@ <h1 class="epydoc">Class Hierarchy</h1>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.IProxy-class.html">puremvc.interfaces.IProxy</a></strong>:
<em class="summary">The interface definition for a PureMVC Proxy.</em>
<ul>
<li> <strong class="uidlink"><a href="puremvc.patterns.proxy.Proxy-class.html">puremvc.patterns.proxy.Proxy</a></strong>:
<em class="summary">A base <code>IProxy</code> implementation.</em>
</li>
</ul>
</li>
<li> <strong class="uidlink"><a href="puremvc.interfaces.IView-class.html">puremvc.interfaces.IView</a></strong>:
<em class="summary">The interface definition for a PureMVC View.</em>
<ul>
Expand All @@ -172,6 +175,8 @@ <h1 class="epydoc">Class Hierarchy</h1>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
Expand Down Expand Up @@ -204,8 +209,7 @@ <h1 class="epydoc">Class Hierarchy</h1>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1
on Tue Sep 22 01:31:51 2009
Generated by Epydoc 3.0.1 on Sun Oct 14 00:58:16 2012
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
4 changes: 2 additions & 2 deletions docs/epydoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ table.summary a.summary-sig-name:visited

/* Subclass list
*/
ul.subclass-list { display: inline; margin: 0; padding: 0; }
ul.subclass-list li { display: inline; margin: 0; padding: 0; }
ul.subclass-list { display: inline; }
ul.subclass-list li { display: inline; }

/* To render variables, classes etc. like functions */
table.summary .summary-name { color: #006080; font-weight: bold;
Expand Down
3 changes: 1 addition & 2 deletions docs/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,7 @@ <h2> The Navigation Bar </h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1
on Tue Sep 22 01:31:51 2009
Generated by Epydoc 3.0.1 on Sun Oct 14 00:58:16 2012
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
Loading