Bug#593610: release.debian.org: freeze exception pre-approval: qorganizer

2010-08-24 Thread Eugene V. Lyubimkin
package release.debian.org
retitle 593610 remove qorganizer from testing
thanks

Hi,

Julien Cristau wrote:
 On Thu, Aug 19, 2010 at 19:15:38 +0300, Eugene V. Lyubimkin wrote:
 
 Qorganizer has priority 'optional' and losing data sounds like important
 bug for me. Can I upload new upstream patch release 3.1.5 (current is
 3.1.4)?

 Please upload and get back to us when the package is accepted in the
 archive.
While preparing new package (which took a lot more time that it should) and
looking to the code again, I now think that this software should be kept out
of Squeeze due to its low quality. Appropriate RC bug #594229 filed. Please
remove qorganizer from testing.

Sorry for wasting your time reviewing upstream changes.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Developer



signature.asc
Description: OpenPGP digital signature


Bug#593610: release.debian.org: freeze exception pre-approval: qorganizer

2010-08-21 Thread Julien Cristau
On Thu, Aug 19, 2010 at 19:15:38 +0300, Eugene V. Lyubimkin wrote:

 Qorganizer has priority 'optional' and losing data sounds like important
 bug for me. Can I upload new upstream patch release 3.1.5 (current is
 3.1.4)?
 
Please upload and get back to us when the package is accepted in the
archive.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#593610: release.debian.org: freeze exception pre-approval: qorganizer

2010-08-19 Thread Eugene V. Lyubimkin
Package: release.debian.org
Severity: normal

Hello,

Today I received a mail from qorganizer's upstream author:

-8-
[...]
I found a very critical compatibility issue in qOrganizer 3.1-4. It
doesn't work well with Qt 4.6. I have issued a bugfix release.
[...]
Whenever used with the latest version of Qt some items (event titles)
from the Schedule will randomly disappear.  Without warning, causing the
user to loose data. [...]
-8-

Qorganizer has priority 'optional' and losing data sounds like important
bug for me. Can I upload new upstream patch release 3.1.5 (current is
3.1.4)?

Upstream diffstat (excluding whitespace changes and stripping binaries
from tarball that are rebuilt anyway) attached.


P.S. Thanks for your hard work in preparing Squeeze release!

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -urN -b /tmp/tardiffdir1/qOrganizer-v3.1-4/CHANGELOG.txt /tmp/tardiffdir2/qOrganizer-v3.1-5/CHANGELOG.txt
--- /tmp/tardiffdir1/qOrganizer-v3.1-4/CHANGELOG.txt	2008-09-07 13:33:54.0 +0300
+++ /tmp/tardiffdir2/qOrganizer-v3.1-5/CHANGELOG.txt	2010-08-19 13:05:28.0 +0300
@@ -1,3 +1,7 @@
+v3.1 Update 5:
+-Fixed critical compatibility issue with Qt 4.6
+-Fixed compile error under Qt 4.6
+
 v3.1 Update 4:
  -Added Polish translation thanks to Dariusz Gadomski
  -Fixed a bug that caused memory problems and crashes on 64 bit systems
Binary files /tmp/tardiffdir1/qOrganizer-v3.1-4/qOrganizer and /tmp/tardiffdir2/qOrganizer-v3.1-5/qOrganizer differ
diff -urN -b /tmp/tardiffdir1/qOrganizer-v3.1-4/src/qcalendar.cpp /tmp/tardiffdir2/qOrganizer-v3.1-5/src/qcalendar.cpp
--- /tmp/tardiffdir1/qOrganizer-v3.1-4/src/qcalendar.cpp	1970-01-01 02:00:00.0 +0200
+++ /tmp/tardiffdir2/qOrganizer-v3.1-5/src/qcalendar.cpp	2010-02-13 02:26:51.0 +0200
@@ -0,0 +1,40 @@
+#include qcalendar.h
+
+QCalendar :: QCalendar()
+{
+
+}
+
+
+void QCalendar :: addColoredDate(int year,int month, int day)
+{
+QDate sdate(year,month,day);
+dateSet.insert(sdate);
+}
+
+
+void QCalendar :: removeColoredDate(int year,int month, int day)
+{
+QDate sdate(year,month,day);
+dateSet.remove(sdate);
+}
+
+
+void QCalendar :: paintCell(QPainter *painter, const QRect rect, const QDate date) const
+{
+if((dateSet.contains(date))  (date != selectedDate())) {
+painter-fillRect(rect, Qt::red);
+painter-save();
+painter-setPen(Qt::white);
+painter-drawText(rect, Qt::AlignCenter, QString::number(date.day()));
+painter-restore();
+}
+else
+QCalendarWidget :: paintCell(painter,rect,date);
+}
+
+
+QCalendar :: ~QCalendar()
+{
+
+}
diff -urN -b /tmp/tardiffdir1/qOrganizer-v3.1-4/src/qcalendar.h /tmp/tardiffdir2/qOrganizer-v3.1-5/src/qcalendar.h
--- /tmp/tardiffdir1/qOrganizer-v3.1-4/src/qcalendar.h	1970-01-01 02:00:00.0 +0200
+++ /tmp/tardiffdir2/qOrganizer-v3.1-5/src/qcalendar.h	2010-02-13 02:26:51.0 +0200
@@ -0,0 +1,35 @@
+#ifndef QCALENDAR_H
+#define QCALENDAR_H
+
+#include QCalendarWidget
+#include QPainter
+#include QDate
+#include QColor
+#include QSet
+
+
+inline uint qHash(const QDate d)
+{
+return d.year()+d.month()+d.day();
+}
+
+
+class QCalendar : public QCalendarWidget
+{
+public:
+QCalendar();
+~QCalendar();
+
+   void addColoredDate(int year,int month, int day);
+   void removeColoredDate(int year,int month,int day);
+
+
+ protected:
+   QSetQDate dateSet;
+
+ private:
+virtual void paintCell(QPainter *painter, const QRect rect, const QDate date) const;
+
+};
+
+#endif // QCALENDAR_H
diff -urN -b /tmp/tardiffdir1/qOrganizer-v3.1-4/src/qorganizer.cpp /tmp/tardiffdir2/qOrganizer-v3.1-5/src/qorganizer.cpp
--- /tmp/tardiffdir1/qOrganizer-v3.1-4/src/qorganizer.cpp	2008-09-07 11:02:49.0 +0300
+++ /tmp/tardiffdir2/qOrganizer-v3.1-5/src/qorganizer.cpp	2010-08-18 10:04:02.0 +0300
@@ -433,7 +433,7 @@
 void qOrganizer::addCalendarPageWidgets()
 {
   //widgets in the page 
-  calendar=new QCalendarWidget; //The Calendar
+  calendar=new QCalendar(); //The Calendar
   calendar-setGridVisible(true);
   calendar- setFirstDayOfWeek (Qt::DayOfWeek(C_FIRST_DAY_OF_WEEK)); 
   calendar-setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Fixed);
@@ -445,6 +445,11 @@
 
   connect(calendar, SIGNAL(selectionChanged()), this, SLOT(updateDay()));
   
+  /*connect(calendar, SIGNAL(currentPageChanged (int,int)) , this, SLOT (loadSpecialDays(int,int)));
+  connect(calendar, SIGNAL(clicked()) , this, SLOT (loadSpecialDays(int,int)));
+
+  loadSpecialDays(date.year(),date.month());*/
+  
   tableWid = new CQTableWidget();
   tableWid-setRowCount(C_NRROWS);
   tableWid-setColumnCount(4);
@@ -1154,7 +1159,7 @@
   else