|
span><span class="lines">@@ -16,7 +16,6 @@
</span><span class="cx"> PyObject *parent;
PyObject *children;
PyObject *root;
</span><span class="rem">- PyObject *view;
</span><span class="cx"> PyObject *acls;
} t_item;
</span>
</pre>
</div>
</div>
</body>
</html>
</pre></td></tr>
<tr class="mime">
<td class="left">Mime</td>
<td class="right">
<ul>
<li><a rel="nofollow" href="/archives/commits/200508.mbox/raw/<200508240352.j7O3qY1j026398@tutu.osafoundation.org>/">Unnamed text/html</a> (inline, 8-Bit, 13086 bytes)</li>
</ul>
</td>
</tr>
<tr class="raw">
<td class="left"></td>
<td class="right"><a href="/archives/commits/200508.mbox/raw/%3c200508240352.j7O3qY1j02639 |
|
| m...@osafoundation.org> |
span><span class="lines">@@ -16,7 +16,6 @@
</span><span class="cx"> PyObject *parent;
PyObject *children;
PyObject *root;
</span><span class="rem">- PyObject *view;
</span><span class="cx"> PyObject *acls;
} t_item;
</span>
</pre>
</div>
</div>
</body>
</html>
</pre></td></tr>
<tr class="mime">
<td class="left">Mime</td>
<td class="right">
<ul>
<li><a rel="nofollow" href="/archives/commits/200508.mbox/raw/<200508240352.j7O3qY1j026398@tutu.osafoundation.org>/">Unnamed text/html</a> (inline, 8-Bit, 13086 bytes)</li>
</ul>
</td>
</tr>
<tr class="raw">
<td class="left"></td>
<td class="right"><a href="/archives/commits/200508.mbox/raw/%3c200508240352.j7O3qY1j02639 |
Thu, 01 Feb, 17:56 |
| ic |
_setKind_NAME = PyString_FromString(&quot;_setKind&quot;);
+ importItem_NAME = PyString_FromString(&quot;importItem&quot;);
+ move_NAME = PyString_FromString(&quot;move&quot;);
+ rename_NAME = PyString_FromString(&quot;rename&quot;);
+ _getPath_NAME = PyString_FromString(&quot;_getPath&quot;);
</span><span class="cx"> }
}
}
</span></pre></div>
<a id="trunkinternalchandlerdbchandlerdbitemitemh"></a>
<div class="modfile"><h4>Modified: trunk/internal/chandlerdb/chandlerdb/item/item.h
(6771 => 6772)</h4>
<pre class="diff">
<span class="info">--- trunk/internal/chandlerdb/chandlerdb/item/item.h 2005-08-24 02:46:30
UTC (rev 6771)
+++ trunk/internal/chandlerdb/chandlerdb/item/item.h 2005-08-24 03:52:34 UTC (rev 6772)
</span><span class="lines">@@ -16,7 +16,6 @@
</span><span class="cx"> PyObject *parent;
PyObject *children;
PyObject *root;
</span><span class="rem">- PyObject *view;
</span><span class="cx"> PyObject *acls;
} t_item;
</span>
</pre>
</div>
</div>
</body>
</html>
</pre></td></tr>
<tr class="mime">
<td class="left">Mime</td>
<td class="right">
<ul>
<li><a rel="nofollow" href="/archives/commits/200508.mbox/raw/<200508240352.j7O3qY1j026398@tutu.osafoundation.org>/">Unnamed text/html</a> (inline, 8-Bit, 13086 bytes)</li>
</ul>
</td>
</tr>
<tr class="raw">
<td class="left"></td>
<td class="right"><a href="/archives/commits/200508.mbox/raw/%3c200508240352.j7O3qY1j02639 |
Sun, 07 Jun, 03:49 |
| ic |
_setKind_NAME = PyString_FromString(&quot;_setKind&quot;);
+ importItem_NAME = PyString_FromString(&quot;importItem&quot;);
+ move_NAME = PyString_FromString(&quot;move&quot;);
+ rename_NAME = PyString_FromString(&quot;rename&quot;);
+ _getPath_NAME = PyString_FromString(&quot;_getPath&quot;);
</span><span class="cx"> }
}
}
</span></pre></div>
<a id="trunkinternalchandlerdbchandlerdbitemitemh"></a>
<div class="modfile"><h4>Modified: trunk/internal/chandlerdb/chandlerdb/item/item.h
(6771 => 6772)</h4>
<pre class="diff">
<span class="info">--- trunk/internal/chandlerdb/chandlerdb/item/item.h 2005-08-24 02:46:30
UTC (rev 6771)
+++ trunk/internal/chandlerdb/chandlerdb/item/item.h 2005-08-24 03:52:34 UTC (rev 6772)
</span><span class="lines">@@ -16,7 +16,6 @@
</span><span class="cx"> PyObject *parent;
PyObject *children;
PyObject *root;
</span><span class="rem">- PyObject *view;
</span><span class="cx"> PyObject *acls;
} t_item;
</span>
</pre>
</div>
</div>
</body>
</html>
</pre></td></tr>
<tr class="mime">
<td class="left">Mime</td>
<td class="right">
<ul>
<li><a rel="nofollow" href="/archives/commits/200508.mbox/raw/<200508240352.j7O3qY1j026398@tutu.osafoundation.org>/">Unnamed text/html</a> (inline, 8-Bit, 13086 bytes)</li>
</ul>
</td>
</tr>
<tr class="raw">
<td class="left"></td>
<td class="right"><a href="/archives/commits/200508.mbox/raw/%3c200508240352.j7O3qY1j02639 |
Sun, 07 Jun, 03:49 |
| <ca...@osafoundation.org> |
class="mime">
<td class="left">Mime</td>
<td class="right">
<ul>
<li><a rel="nofollow" href="/archives/commits/200508.mbox/raw/<200508240352.j7O3qY1j026398@tutu.osafoundation.org>/">Unnamed text/html</a> (inline, 8-Bit, 13086 bytes)</li>
</ul>
</td>
</tr>
<tr class="raw">
<td class="left"></td>
<td class="right"><a href="/archives/commits/200508.mbox/raw/%3c200508240352.j7O3qY1j02639 |
Tue, 14 Oct, 16:58 |
| <ca...@osafoundation.org> |
class="mime">
<td class="left">Mime</td>
<td class="right">
<ul>
<li><a rel="nofollow" href="/archives/commits/200508.mbox/raw/<200508240352.j7O3qY1j026398@tutu.osafoundation.org>/">Unnamed text/html</a> (inline, 8-Bit, 13086 bytes)</li>
</ul>
</td>
</tr>
<tr class="raw">
<td class="left"></td>
<td class="right"><a href="/archives/commits/200508.mbox/raw/%3c200508240352.j7O3qY1j02639 |
Tue, 14 Oct, 16:58 |
| <ca...@osafoundation.org> |
class="mime">
<td class="left">Mime</td>
<td class="right">
<ul>
<li><a rel="nofollow" href="/archives/commits/200508.mbox/raw/<200508240352.j7O3qY1j026398@tutu.osafoundation.org>/">Unnamed text/html</a> (inline, 8-Bit, 13086 bytes)</li>
</ul>
</td>
</tr>
<tr class="raw">
<td class="left"></td>
<td class="right"><a href="/archives/commits/200508.mbox/raw/%3c200508240352.j7O3qY1j02639 |
Tue, 14 Oct, 16:58 |
| is |
PyObject *root;
</span><span class="rem">- PyObject *view;
</span><span class="cx"> PyObject *acls;
} t_item;
</span>
</pre>
</div>
</div>
</body>
</html>
</pre></td></tr>
<tr class="mime">
<td class="left">Mime</td>
<td class="right">
<ul>
<li><a rel="nofollow" href="/archives/commits/200508.mbox/raw/<200508240352.j7O3qY1j026398@tutu.osafoundation.org>/">Unnamed text/html</a> (inline, 8-Bit, 13086 bytes)</li>
</ul>
</td>
</tr>
<tr class="raw">
<td class="left"></td>
<td class="right"><a href="/archives/commits/200508.mbox/raw/%3c200508240352.j7O3qY1j02639 |
Sun, 22 Jun, 20:09 |
|
);
- previousWeek.SetToPrevWeekDay(GetWindowStyle() & wxCAL_MONDAY_FIRST
- ? wxDateTime::Mon : wxDateTime::Sun);
- previousWeek -= wxDateSpan::Week();
- if ( firstDay.GetMonth() != previousWeek.GetMonth() )
- {
- return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
|
|
);
- previousWeek.SetToPrevWeekDay(GetWindowStyle() & wxCAL_MONDAY_FIRST
- ? wxDateTime::Mon : wxDateTime::Sun);
- previousWeek -= wxDateSpan::Week();
- if ( firstDay.GetMonth() != previousWeek.GetMonth() )
- {
- return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Sat, 07 Apr, 02:32 |
|
);
- previousWeek.SetToPrevWeekDay(GetWindowStyle() & wxCAL_MONDAY_FIRST
- ? wxDateTime::Mon : wxDateTime::Sun);
- previousWeek -= wxDateSpan::Week();
- if ( firstDay.GetMonth() != previousWeek.GetMonth() )
- {
- return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Sat, 07 Apr, 02:32 |
|
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
|
| e |
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Tue, 18 Feb, 17:56 |
| e |
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Tue, 18 Feb, 17:56 |
|
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
|
| m.@osafoundation.org> |
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Mon, 03 May, 09:42 |
| m.@osafoundation.org> |
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Mon, 03 May, 09:42 |
| m.@osafoundation.org> |
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Mon, 03 May, 09:42 |
| m.@osafoundation.org> |
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Mon, 03 May, 09:42 |
| m.@osafoundation.org> |
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Mon, 03 May, 09:42 |
| m.@osafoundation.org> |
return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Mon, 03 May, 09:42 |
|
[No Subject] |
|
| y |
[No Subject] |
Wed, 06 May, 16:56 |
| <...@telecommunity.com> |
[No Subject] |
Wed, 07 Jan, 05:01 |
| <bkir...@osafoundation.org> |
[No Subject] |
Tue, 12 May, 17:36 |
| <nitin....@srishtitechnet.com> |
[No Subject] |
Wed, 05 Feb, 18:29 |
| ia |
IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Mon, 26 May, 09:29 |
|
EE/archives/ |
|
| <...@telecommunity.com> |
EE/archives/ |
Wed, 07 Jan, 05:01 |
| <...@telecommunity.com> |
EE/archives/ |
Wed, 07 Jan, 05:01 |
| <...@telecommunity.com> |
EE/archives/ |
Wed, 07 Jan, 05:01 |
| <...@telecommunity.com> |
EE/archives/ |
Wed, 07 Jan, 05:01 |
| <nitin....@srishtitechnet.com> |
ct *t_item__getKind(t_item *self, void *data)
+{
+ PyObject *kind = self-&gt;kind;
+
+ if (kind != Py_None &amp;&amp; ((t_item *) kind)-&gt;status &amp; STALE)
+ {
+ PyObject *view = ((t_item *) self-&gt;root)-&gt;parent;
+ self-&gt;kind = kind = PyObject_GetItem(view, ((t_item *) kind)-&gt;uuid);
+ }
+
+ Py_INCREF(kind);
+ return kind;
+}
+
+static int t_item__setKind(t_item *self, PyObject *kind, void *data)
+{
+ if (!PyObject_CallMethodObjArgs((PyObject *) self, _setKind_NAME,
+ kind, NULL))
+ return -1;
+
+ return 0;
+}
+
+
+/* itsView */
+
+static PyObject *t_item__getView(t_item *self, void *data)
+{
+ PyObject *root = self-&gt;root;
+ PyObject *view;
+
+ if (root != Py_None)
+ view = ((t_item *) root)-&gt;parent;
+ else
+ view = Py_None;
+
+ Py_INCREF(view);
+ return view;
+}
+
+static int t_item__setView(t_item *self, PyObject *view, void *data)
+{
+ if (!PyObject_CallMethodObjArgs(view, importItem_NAME,
+ (PyObject *) self, NULL))
+ return -1;
+
+ return 0;
+}
+
+
+/* itsParent */
+
+static PyObject *t_item__getParent(t_item *self, void *data)
+{
+ PyObject *parent = self-&gt;parent;
+
+ if (parent != Py_None &amp;&amp; ((t_item *) parent)-&gt;status &amp;
STALE)
+if the date is in a blank week
- if ( lastWeek )
- {
- wxDateTime::Tm firstDayTm = dt.GetTm();
- wxDateTime firstDay = wxDateTime(firstDayTm);
- firstDay.SetToPrevWeekDay(GetWindowStyle() & wxCAL_MONDAY_FIRST
- ? wxDateTime::Mon : wxDateTime::Sun);
-
- wxDateTime previousWeek = wxDateTime(firstDayTm);
- previousWeek.SetToPrevWeekDay(GetWindowStyle() & wxCAL_MONDAY_FIRST
- ? wxDateTime::Mon : wxDateTime::Sun);
- previousWeek -= wxDateSpan::Week();
- if ( firstDay.GetMonth() != previousWeek.GetMonth() )
- {
- return wxCAL_HITTEST_NOWHERE;
- }
</span><span class="add">+ // Test to see if click is actually in a hidden date
+ wxDateTime::Tm clickTm = dt.GetTm();
+ wxDateTime::Tm monthTm = m_date.GetTm();
+ int targetMonth = monthTm.mon + month;
+ if ( targetMonth > 11 ) {
+ targetMonth -= 12;
</span><span class="cx"> }
</span><span class="add">+ if ( clickTm.mon != targetMonth ) {
+ return wxCAL_HITTEST_NOWHERE;
+ }
</span><span class="cx"> if ( IsDateShown(dt) )
{
if ( date )
</span>
</pre>
</div>
</div>
</body>
</html>
|
Wed, 05 Feb, 18:29 |