]> code.delx.au - comingnext/commitdiff
fixed alignment for entries with very long description
authorMichael Prager <michael@pragers.de>
Tue, 13 Oct 2009 12:32:04 +0000 (14:32 +0200)
committerMichael Prager <michael@pragers.de>
Tue, 13 Oct 2009 12:32:04 +0000 (14:32 +0200)
Readme.txt
comingNext/index.html
comingNextB/index.html

index a69b8a55bb320c526bab52ab1cd38c353bf02998..49ce96f123ba221e992d805fff213e36fe5fc497 100644 (file)
@@ -2,7 +2,7 @@
  ComingNext & Coming Next B for N97\r
 ------------------------------------\r
 This widget was originally created by Dr. Cochambre and was extended by \r
-Oxidative <X_X_L@gmx.net>. It will display the next 8 upcoming events \r
+Michael Prager <X_X_L@gmx.net>. It will display the next 8 upcoming events \r
 on your N97 homescreen. It consists of two seperate widgets, each displaying\r
 4 events.\r
 \r
@@ -44,6 +44,10 @@ known limitations:
   Nokias WRT library: entry.Status sometimes is undefined.\r
 - real transparent background: I haven't found a way todo this yet. All the \r
   widgets that have transparent background are no WRT widgets. Nokia?\r
+- There is no automatic detection if you're in a timezone that uses daylight\r
+  saving time (DST). By default, the widget assumes that you're in a timezone\r
+  that has a 1h DST. If this is not the case, please change the \r
+  "enableDaylightSaving" setting in comingNext.wgz/comingNext/index.html\r
 \r
 \r
 License:\r
@@ -65,7 +69,7 @@ Changelog:
     reduction)\r
   - calendar app launches and closes much faster\r
   - more explicit error messages (post them here if you get one)\r
-1.10 (2009-08-27) by Oxidative\r
+1.10 (2009-08-27) by Michael Prager\r
   - Only 4 lines per widget, also use the bigger default font and a bigger \r
     font size\r
   - added icons to easier distinguish between todos, meetings, birthdays etc\r
@@ -80,7 +84,7 @@ Changelog:
   - display all todos from within the last year, if they are not marked as \r
     "done". The original version will only display todos that have a \r
     termination time in the future.\r
-1.11 (2009-08-27) by Oxidative\r
+1.11 (2009-08-27) by Michael Prager\r
   - added fix suggested by yves: use InstanceStartTime instead of StartTime \r
     if available\r
   - use a <table> to align columns instead of loose <div> boxes\r
@@ -90,21 +94,21 @@ Changelog:
     - added changelog to keep track of changes more easily\r
     - added switch (var panelNum) so the same code can be used for both, \r
       "ComingNext" and "ComingNextB" widgets\r
-1.12 (2009-08-28) by Oxidative\r
+1.12 (2009-08-28) by Michael Prager\r
   - support for all date formats (YYYY-MM-DD, DD-MM-YYYY, MM-DD-YYYY)\r
   - format dates and times as 01.01 instead of 1.1\r
   - output more details to error log if JavaScript logging is enabled in web \r
     browser\r
   - added variable to enable/disable ToDos in the event list\r
   - added variable to define the number months to include in the event list\r
-1.13 (2009-08-28) by Oxidative\r
+1.13 (2009-08-28) by Michael Prager\r
   - support for ToDos without dates\r
   - support for events without summary\r
   - fixed date format parsing for MM-DD-YYYY (finally ;-))\r
   - fixed months beeing off by 1\r
-1.14 (2009-08-28) by Oxidative\r
+1.14 (2009-08-28) by Michael Prager\r
   - support for fake transparent backgrounds.\r
-1.15 (2009-08-30) by Oxidative\r
+1.15 (2009-08-30) by Michael Prager\r
   - added separate Readme.txt\r
   - use the date format defined by the system (e.g. "31.12" or "12.31")\r
   - show a colored "Today" for the current day instead of full date\r
@@ -115,7 +119,7 @@ Changelog:
     begin of index.html so they are easy to spot.\r
   - fixed table alignment for very long event descriptions\r
   - comingNext is now licensed under the GPLv3\r
-1.16 (2009-08-31) by Oxidative \r
+1.16 (2009-08-31) by Michael Prager \r
   - applied patch by pcmoore: Fixed a bug where all times are reported as \r
     "AM" regardless of the actual event time\r
   - applied patch by pcmoore: new option to define which calendar app to \r
@@ -135,21 +139,21 @@ Changelog:
   - added option to force a specific date format. dateFormat='auto' \r
     (default) will use your phone's setting, 'DDMM' will display day first, \r
     'MMDD' will display month first.\r
-1.17 (2009-09-02) by Oxidative\r
+1.17 (2009-09-02) by Michael Prager\r
   - fixed anniversaries for today not showing\r
   - new option "eventsPerWidget": with this you can define the number of \r
     events that will be shown for each widget.\r
   - added new CSS class "icon": change this to modify the icon size (very\r
     useful if you want to change the number of events)\r
-1.18 (2009-09-04) by Oxidative\r
+1.18 (2009-09-04) by Michael Prager\r
   - fixed ToDos being shown although includeTodos=false was set\r
   - fixed ToDos being shown twice\r
   - show text "No further events within 2 months" if there are no events\r
     in the list. This behaviour and the text can be changed in the settings\r
-1.19 (2009-09-04) by Oxidative\r
+1.19 (2009-09-04) by Michael Prager\r
   - refixed problems that 1.18 should have solved (todos not showing, entries \r
     showing twice)\r
-1.20 (2009-09-05) by Oxidative\r
+1.20 (2009-09-05) by Michael Prager\r
   - new project website at http://sourceforge.net/projects/comingnext\r
   - fixed memos/anniversaries showing although they have already passed\r
   - don't display weekday if date is 'Today'\r
@@ -162,9 +166,10 @@ Changelog:
       and only the date for events beyond today (showCombinedDateTime)\r
     - Add a new feature to disable showing the location of appointments \r
       (showLocation)\r
-1.21 (2009-10-11) by Oxidative\r
+1.21 (2009-10-13) by Michael Prager\r
   - support daylight saving time (DST). This is based on the modifications \r
     from Manfred Hanselmann (thanks for that!)\r
   - added option "enableDaylightSaving" to disable DST. In case you are in a \r
     timezone that has no DST, you should use this option\r
   - some code cleanup (by Paul Moore)\r
+  - fixed alignment when calendar entries have very long description\r
index 9ec9f99b6d09f3ae80bf32f3ac32a448d0b9173b..59dd6d099d57352aa1697c3efd15d8c249748f0f 100644 (file)
@@ -552,18 +552,18 @@ function updateData()
                                                if (isToday(date) && showTodayAsText) // show weekday if the date string is not text. looks odd otherwise\r
                                                        entriesHtml += '<td colspan="4"><span class="date">' + dateStr + '</span> ';\r
                                                else\r
-                                                       entriesHtml += '<td class="weekDay">' + weekDay + '</td><td class="date">' + dateStr + '</td><td colspan="2">';\r
+                                                       entriesHtml += '<td class="weekDay">' + weekDay + '</td><td width="1px" class="date">' + dateStr + '</td><td colspan="2">';\r
                                        } else if (entry.Type == 'Meeting') {\r
                                                if (showCombinedDateTime) {\r
                                                        if (isToday(date))\r
-                                                               entriesHtml += '<td colspan="4"><span class="today">' + time + '</span> ';\r
+                                                               entriesHtml += '<td width="1px" colspan="4"><span class="today">' + time + '</span> ';\r
                                                        else\r
-                                                               entriesHtml += '<td class="weekDay">' + weekDay + '</td><td class="date">' + dateStr + '</td><td colspan="2">';\r
+                                                               entriesHtml += '<td width="1px" class="weekDay">' + weekDay + '</td><td width="1px" class="date">' + dateStr + '</td><td colspan="2">';\r
                                                } else {\r
                                                        if (isToday(date) && showTodayAsText)\r
                                                                entriesHtml += '<td colspan="4"><span class="today">' + dateStr + '</span> <span class="time">' + time + '</span> ';\r
                                                        else\r
-                                                               entriesHtml += '<td class="weekDay">' + weekDay + '</td><td class="date">' + dateStr + '</td><td width="1px" class="time">' + time + '</td><td>';\r
+                                                               entriesHtml += '<td width="1px" class="weekDay">' + weekDay + '</td><td width="1px" class="date">' + dateStr + '</td><td width="1px" class="time">' + time + '</td><td>';\r
                                                }\r
                                        }\r
                                }\r
index b5631d39af04ba0f8cc4ea5be81e267cc0128c3d..18d334dec998bd6288df59bfbdf36f4321604e1a 100644 (file)
@@ -552,18 +552,18 @@ function updateData()
                                                if (isToday(date) && showTodayAsText) // show weekday if the date string is not text. looks odd otherwise\r
                                                        entriesHtml += '<td colspan="4"><span class="date">' + dateStr + '</span> ';\r
                                                else\r
-                                                       entriesHtml += '<td class="weekDay">' + weekDay + '</td><td class="date">' + dateStr + '</td><td colspan="2">';\r
+                                                       entriesHtml += '<td class="weekDay">' + weekDay + '</td><td width="1px" class="date">' + dateStr + '</td><td colspan="2">';\r
                                        } else if (entry.Type == 'Meeting') {\r
                                                if (showCombinedDateTime) {\r
                                                        if (isToday(date))\r
-                                                               entriesHtml += '<td colspan="4"><span class="today">' + time + '</span> ';\r
+                                                               entriesHtml += '<td width="1px" colspan="4"><span class="today">' + time + '</span> ';\r
                                                        else\r
-                                                               entriesHtml += '<td class="weekDay">' + weekDay + '</td><td class="date">' + dateStr + '</td><td colspan="2">';\r
+                                                               entriesHtml += '<td width="1px" class="weekDay">' + weekDay + '</td><td width="1px" class="date">' + dateStr + '</td><td colspan="2">';\r
                                                } else {\r
                                                        if (isToday(date) && showTodayAsText)\r
                                                                entriesHtml += '<td colspan="4"><span class="today">' + dateStr + '</span> <span class="time">' + time + '</span> ';\r
                                                        else\r
-                                                               entriesHtml += '<td class="weekDay">' + weekDay + '</td><td class="date">' + dateStr + '</td><td width="1px" class="time">' + time + '</td><td>';\r
+                                                               entriesHtml += '<td width="1px" class="weekDay">' + weekDay + '</td><td width="1px" class="date">' + dateStr + '</td><td width="1px" class="time">' + time + '</td><td>';\r
                                                }\r
                                        }\r
                                }\r