+2004-08-12 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * UIxWinClose.wox: removed rendering of (X) on Laurent's request
+ (v0.9.11)
+
2004-08-11 Marcus Mueller <znek@mulle-kybernetik.com>
* UIxPageFrame subclasses from UIxComponent now, removed -SoUser
<?xml version='1.0' standalone='yes'?>
+<span xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:var="http://www.skyrix.com/od/binding"
+ xmlns:const="http://www.skyrix.com/od/constant"
+ xmlns:rsrc="OGo:url">
+ <!--
<a xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
href="javascript:history.back()"><img border="0" alt="X" src="/sogod/so/ControlPanel/Products/CommonUI/Resources/closewindow.gif"/></a>
+-->
+</span>
\ No newline at end of file
# $Id$
-SUBMINOR_VERSION:=8
+SUBMINOR_VERSION:=11
+2004-08-12 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * v0.9.24
+
+ * Added AnaisUidSelector to all views. Removed worse named -owner
+ method from all affected views and instead added
+ -formattedCalendarUIDs to UIxCalView. This is now used by all
+ print views in their header.
+
+ * UIxCalWeekOverview.m: adjusted endDate properly, if -displayWeekends
+ returns NO (the default).
+
2004-08-12 Marcus Mueller <znek@mulle-kybernetik.com>
* UIxCalView.m: fixed problems with redirect (v0.9.23)
<td id="skywinbodycell" class="wincontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#e8e8e0">
- <td align="left"
- valign="middle"
- width="80%"
- >TODO: controls</td><!-- 99% -->
+ <td align="left" valign="middle" width="80%">
+ <var:component className="AnaisUidSelector"
+ calendarUIDs="clientObject.calendarUIDs"
+ />
+ </td><!-- 99% -->
<td align="right">
<var:component className="UIxCalBackForthNavView"
methodName="ownMethodName"
<td id="skywinbodycell" class="wincontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#e8e8e0">
- <td align="left" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
+ <td align="left" valign="middle" width="80%">
+ <var:component className="AnaisUidSelector"
+ calendarUIDs="clientObject.calendarUIDs"
+ />
+ </td><!-- 99% -->
<td align="right">
<var:component className="UIxCalBackForthNavView"
methodName="ownMethodName"
#include "UIxCalDayView.h"
-@className= NSArray;
+@class NSArray;
@interface UIxCalDayOverview : UIxCalDayView
{
<td id="skywinbodycell" class="wincontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#e8e8e0">
- <td align="left" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
+ <td align="left" valign="middle" width="80%">
+ <var:component className="AnaisUidSelector"
+ calendarUIDs="clientObject.calendarUIDs"
+ />
+ </td><!-- 99% -->
<td align="right">
<var:component className="UIxCalBackForthNavView"
methodName="ownMethodName"
@end
+#include "common.h"
@implementation UIxCalDayPrintview
return [[self startDate] descriptionWithCalendarFormat:fmt];
}
-- (NSString *)owner {
-#warning ** TODO: owner
- return @"TODO: owner";
-}
-
@end
<tr>
<td colspan="2" align="center">
<h1 class="dayprintview"><var:string value="title" /></h1>
- <h2 class="dayprintview"><var:string value="owner" /></h2>
+ <h2 class="dayprintview"
+ ><var:string value="formattedCalendarUIDs"/></h2>
</td>
</tr>
<tr valign="top">
<td id="skywinbodycell" class="wincontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#e8e8e0">
- <td align="left"
- valign="middle"
- width="80%"
- >TODO: controls</td><!-- 99% -->
+ <td align="left" valign="middle" width="80%">
+ <var:component className="AnaisUidSelector"
+ calendarUIDs="clientObject.calendarUIDs"
+ />
+ </td><!-- 99% -->
<td align="right">
<var:component className="UIxCalBackForthNavView"
methodName="ownMethodName"
[date yearOfCommonEra]];
}
-- (NSString *)owner {
-#warning ** TODO: owner
- return @"TODO: owner";
-}
/* style sheet */
const:class="monthprintview_header"
>
<h1 class="monthprintview_header"><var:string value="title" /></h1>
- <h2 class="monthprintview_header"><var:string value="owner" /></h2>
+ <h2 class="monthprintview_header"
+ ><var:string value="formattedCalendarUIDs" /></h2>
</var:month-label>
<var:month-info>
<var:if condition="hasHolidayInfo">
[_qp removeObjectForKey:@"day"];
}
+/* calendarUIDs */
+
+- (NSString *)formattedCalendarUIDs {
+ return [[[self clientObject] calendarUIDs]
+ componentsJoinedByString:@", "];
+}
/* Actions */
<td id="skywinbodycell" class="wincontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#e8e8e0">
- <td align="left" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
+ <td align="left" valign="middle" width="80%">
+ <var:component className="AnaisUidSelector"
+ calendarUIDs="clientObject.calendarUIDs"
+ />
+ </td><!-- 99% -->
<td align="right">
<var:component className="UIxCalBackForthNavView"
methodName="ownMethodName"
<td id="skywinbodycell" class="wincontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#e8e8e0">
- <td align="left" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
+ <td align="left" valign="middle" width="80%">
+ <var:component className="AnaisUidSelector"
+ calendarUIDs="clientObject.calendarUIDs"
+ />
+ </td><!-- 99% -->
<td align="right">
<var:component className="UIxCalBackForthNavView"
methodName="ownMethodName"
<td id="skywinbodycell" class="wincontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#e8e8e0">
- <td align="left" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
+ <td align="left" valign="middle" width="80%">
+ <var:component className="AnaisUidSelector"
+ calendarUIDs="clientObject.calendarUIDs"
+ />
+ </td><!-- 99% -->
<td align="right">
<var:component className="UIxCalBackForthNavView"
methodName="ownMethodName"
}
-- (NSString *)owner {
-#warning ** TODO: owner
- return @"TODO: owner";
-}
-
/* style sheet */
- (NSString *)titleStyle {
<tr>
<td class="weekprintview">
<h1 class="weekprintview"><var:string value="title" /></h1>
- <h2 class="weekprintview"><var:string value="owner" /></h2>
+ <h2 class="weekprintview"><var:string value="formattedCalendarUIDs" /></h2>
</td>
</tr>
<tr>
}
- (NSCalendarDate *)endDate {
- return [[[self startDate] dateByAddingYears:0 months:0 days:7
- hours:0 minutes:0 seconds:0]
+ unsigned offset;
+
+ if([self shouldDisplayWeekend])
+ offset = 7;
+ else
+ offset = 5;
+ return [[[self startDate] dateByAddingYears:0 months:0 days:offset
+ hours:0 minutes:0 seconds:0]
endOfDay];
}
<td id="skywinbodycell" class="wincontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#e8e8e0">
- <td align="left" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
+ <td align="left" valign="middle" width="80%">
+ <var:component className="AnaisUidSelector"
+ calendarUIDs="clientObject.calendarUIDs"
+ />
+ </td><!-- 99% -->
<td align="right">
<var:component className="UIxCalBackForthNavView"
methodName="ownMethodName"
# $Id$
-SUBMINOR_VERSION:=23
+SUBMINOR_VERSION:=24