Chris Frey [Tue, 24 Apr 2012 01:50:57 +0000 (23 21:50 -0400)]
rpm: updated spec file with bsyncjail and hal-blackberry path changes
Chris Frey [Tue, 24 Apr 2012 01:33:15 +0000 (23 21:33 -0400)]
debian: updated changelog
Chris Frey [Tue, 24 Apr 2012 01:32:41 +0000 (23 21:32 -0400)]
debian: moved hal-blackberry script to /usr/lib/barry/
Chris Frey [Tue, 24 Apr 2012 01:23:31 +0000 (23 21:23 -0400)]
desktop/debian: moved bsyncjail to pkglibexecdir
The bsyncjail program is mean to be called from barrydesktop only, so
put it in a location of its own, so it doesn't clutter the path.
This also alieviates the need for a man page for bsyncjail on Debian.
Chris Frey [Tue, 24 Apr 2012 01:22:38 +0000 (23 21:22 -0400)]
desktop: bumped configure.ac version number to 0.18
Chris Frey [Tue, 24 Apr 2012 00:03:30 +0000 (23 20:03 -0400)]
lib: removed more unused variables
Chris Frey [Thu, 19 Apr 2012 23:43:37 +0000 (19 19:43 -0400)]
debian: bumped Standards-Version to 3.9.3
Chris Frey [Thu, 19 Apr 2012 23:35:15 +0000 (19 19:35 -0400)]
rpm: added KnownBugs file to RPM doc install
Chris Frey [Thu, 19 Apr 2012 23:34:18 +0000 (19 19:34 -0400)]
deb: added KnownBugs file to debian doc install
Chris Frey [Thu, 19 Apr 2012 23:03:07 +0000 (19 19:03 -0400)]
desktop: allow desktop builds even without any opensync libraries
Chris Frey [Thu, 19 Apr 2012 23:02:45 +0000 (19 19:02 -0400)]
lib: fixed unused variable compiler warnings
Chris Frey [Thu, 19 Apr 2012 23:00:16 +0000 (19 19:00 -0400)]
desktop: thread IDs are initialized by pthread_create
This avoids a compiler warning on Fedora 17
Chris Frey [Wed, 18 Apr 2012 00:43:55 +0000 (17 20:43 -0400)]
rpm: fixed permissions issue in barry.spec file for French translation files
The spec file added the locale/ directory with 0644 permissions, which
made the files underneath unreadable.
Thanks to Nicolas Vivien for finding this bug.
Chris Frey [Tue, 17 Apr 2012 22:43:24 +0000 (17 18:43 -0400)]
Added KnownBugs file to root Makefile.am EXTRA_DIST
Chris Frey [Tue, 17 Apr 2012 21:31:06 +0000 (17 17:31 -0400)]
lib: moved AddCategories() to vBase from vCard
Chris Frey [Tue, 17 Apr 2012 21:24:32 +0000 (17 17:24 -0400)]
doc: added date DST issue to KnownBugs
Many devices seem to use modern DST rules, even for old dates where
those rules do not apply.
Chris Frey [Tue, 17 Apr 2012 21:23:55 +0000 (17 17:23 -0400)]
os4x: added Task Del/Add workaround to opensync plugin for 0.4x
See
fe7cdbcc7f635c14b4b0aa95e34fbef2d1ceb7f9 for more info.
Chris Frey [Fri, 6 Apr 2012 04:11:02 +0000 (6 00:11 -0400)]
desktop: made both Calendar and TaskEditDlg's EnableRecurMode() alike
Chris Frey [Fri, 6 Apr 2012 04:09:40 +0000 (6 00:09 -0400)]
desktop: CalendarEdit: added MakeDateRecent() calls for date fields
By default the start/end/recurend dates are all loaded, but if the
dates are "invalid" to start with, it starts out at 1970. So add
checks to bump the dates into recent territory when initializing the
dialog.
Chris Frey [Fri, 6 Apr 2012 04:09:09 +0000 (6 00:09 -0400)]
desktop: moved MakeRecent() to util.cc, renamed MakeDateRecent()
Chris Frey [Fri, 6 Apr 2012 03:01:34 +0000 (5 23:01 -0400)]
lib: large reworking and fixing of the Task record class
Removed the due date flag and the new alarm flag bool variables, since
the Barry::TimeT class is capable of being invalid/valid with IsValid().
This makes testing for whether these times are present easier, by
checking one variable instead of two.
Removed the FieldLink loop from the BuildFields() function, with the
goal of creating records as closely accurate to the records we receive
as possible. This was in a vain effort to work around the Tasks database
firmware bug in the device, but since it makes for better records, we're
keeping it for now.
Changed the Builder code to reuse the DueTime field for both StartTime
and DueTime. In devices, the data we receive from a Task record seems
to always have StartTime == DueTime. So when creating a record, the
user does not need to set StartTime with the very same data. The library
will take care of it for them.
The AlarmType is now only written via the Builder if the AlarmTime exists.
The same with the DueTime and AlarmTime flags. These flags are completely
hidden by the library now. The application does not need to worry about
them.
Fixed the Clear() function, using real enum values to clear AlarmType,
PriorityFlag, and StatusFlag, instead of setting them all to 0. This
is so that a Normal priority is set by default, instead of High.
Plus it is cleaner to use enum names instead of casting about with int
casts.
This commit also fixes other code that used to depend on the flags.
Chris Frey [Fri, 6 Apr 2012 02:59:33 +0000 (5 22:59 -0400)]
desktop: TaskEdit: only enable the week day checkboxes for Weekly recurrence
Chris Frey [Fri, 6 Apr 2012 02:58:59 +0000 (5 22:58 -0400)]
desktop: TaskEdit: make recur end date "recent" too, when activated
Chris Frey [Fri, 6 Apr 2012 02:57:11 +0000 (5 22:57 -0400)]
desktop: fixed recur end date validation error
If the recurrence end date, in both CalendarEditDlg and TaskEditDlg,
is not set properly, the validator will fail, and the dialog will not
fully load.
This commit sets the date, even if Perpetual is true, to avoid this
validation error.
Chris Frey [Fri, 6 Apr 2012 02:55:45 +0000 (5 22:55 -0400)]
lib: fixed missing recurrence code in Task::BuildFields
Chris Frey [Thu, 5 Apr 2012 20:13:44 +0000 (5 16:13 -0400)]
Added workaround to Desktop for Tasks database corruption
Also added KnownBugs file, to warn of this.
Still need to add workarounds for the opensync plugins
Chris Frey [Thu, 5 Apr 2012 20:12:41 +0000 (5 16:12 -0400)]
desktop: Browse Mode: added try/catch for read only records
Chris Frey [Thu, 5 Apr 2012 20:07:11 +0000 (5 16:07 -0400)]
desktop: TaskEditDlg: make dates recent, when enabled
User should not have to start scrolling from 1969 when entering a new due
date or reminder date.
Chris Frey [Thu, 5 Apr 2012 20:04:43 +0000 (5 16:04 -0400)]
desktop: changed Browse database loading to load in record count order
Load the databases in order of increasing record counts, so that, hopefully,
databases that the user needs will be loaded first, without a large
delay.
Chris Frey [Thu, 5 Apr 2012 19:53:44 +0000 (5 15:53 -0400)]
lib: added DatabaseDatabase::SortByRecordCount()
Chris Frey [Thu, 5 Apr 2012 19:52:45 +0000 (5 15:52 -0400)]
lib: renamed SB_DBOP_SET_RECORD to SB_DBOP_ADD_RECORD, and packet API
This is an internal change only.
Chris Frey [Thu, 5 Apr 2012 19:50:12 +0000 (5 15:50 -0400)]
lib: added IsReadOnly() test for ReturnCodeError exception class
Chris Frey [Thu, 5 Apr 2012 19:42:16 +0000 (5 15:42 -0400)]
Fixed missing headers when compiling with gcc 4.7
Chris Frey [Thu, 22 Mar 2012 18:28:01 +0000 (22 14:28 -0400)]
lib: fixed DueDateFlag bug and added AlarmFlag
In modern devices, in the Tasks database, when a DueTime or AlarmTime
are set, respectively, an extra field shows up for each with a flag.
On older devices, such as the 7750, these flags are not available.
This commit adds support for the AlarmFlag.
It also fixes the case where DueDateFlag would be false on old devices,
even though a due time was set. And similar special casing is done for
the new AlarmFlag.
Chris Frey [Fri, 30 Mar 2012 19:19:08 +0000 (30 15:19 -0400)]
desktop: added first stab at TaskEditDlg
Chris Frey [Fri, 30 Mar 2012 18:53:35 +0000 (30 14:53 -0400)]
lib: minor text alignment fix in Task record's Dump() function
Chris Frey [Fri, 30 Mar 2012 18:52:57 +0000 (30 14:52 -0400)]
desktop: fixed missing data-to-window bug in CalendarEditDlg
This fix uses the new StringSync's Refresh() API
Chris Frey [Fri, 30 Mar 2012 18:52:31 +0000 (30 14:52 -0400)]
desktop: added Refresh() API to StringSync class
Chris Frey [Fri, 30 Mar 2012 18:50:50 +0000 (30 14:50 -0400)]
desktop: fixed segfault issue in StringSync
It is not safe to call Sync() from StringSync's destructor, since if
the destructor is being called as the result of a parent class's
destructor, then we have no guarantee that the external strings
still exist.
This commit removes the destructor call and adds documentation for
this issue.
Chris Frey [Thu, 22 Mar 2012 18:27:13 +0000 (22 14:27 -0400)]
lib: added IsValid() to TimeT class
Chris Frey [Tue, 20 Mar 2012 20:59:24 +0000 (20 16:59 -0400)]
desktop: use RecurBase class constants for calendar recurrence editing
Chris Frey [Tue, 20 Mar 2012 01:35:33 +0000 (19 21:35 -0400)]
desktop: CalEditDlg: added event handler changing interval field label
Recurrence intervals can be in units of days, weeks, months, or years.
Chris Frey [Tue, 20 Mar 2012 00:36:30 +0000 (19 20:36 -0400)]
Removed DEPUTY file from Makefile.am's extra dist list
Chris Frey [Mon, 19 Mar 2012 23:58:55 +0000 (19 19:58 -0400)]
desktop: CalEditDlg: fixed dialog title bar
Chris Frey [Mon, 19 Mar 2012 23:54:48 +0000 (19 19:54 -0400)]
desktop: CalEditDlg: only show recurrence controls when selected
Chris Frey [Mon, 19 Mar 2012 23:39:07 +0000 (19 19:39 -0400)]
desktop: CalEdit: fixed initialization bug, to enable All Day Event mode
Chris Frey [Mon, 19 Mar 2012 23:33:23 +0000 (19 19:33 -0400)]
desktop: implemented start/end/duration event handling in CalendarEditDlg
Chris Frey [Mon, 19 Mar 2012 23:31:09 +0000 (19 19:31 -0400)]
desktop: fixed Notification time bug in CalendarEditDlg transfer code
Chris Frey [Mon, 19 Mar 2012 23:30:46 +0000 (19 19:30 -0400)]
desktop: added support for FreeBusyFlag to CalendarEditDlg
Chris Frey [Mon, 19 Mar 2012 23:29:34 +0000 (19 19:29 -0400)]
desktop: added IDs to controls that generate events in CalendarEditDlg
Chris Frey [Mon, 19 Mar 2012 21:54:37 +0000 (19 17:54 -0400)]
desktop: first implementation of CalendarEditDlg::TransferDataFromWindow
Chris Frey [Mon, 19 Mar 2012 21:53:46 +0000 (19 17:53 -0400)]
desktop: added timezone list to CalendarEditDlg
Chris Frey [Mon, 19 Mar 2012 21:52:47 +0000 (19 17:52 -0400)]
desktop: fixed signed comparison bug, and fixed seconds/minutes bug
Chris Frey [Mon, 19 Mar 2012 21:51:14 +0000 (19 17:51 -0400)]
desktop: added Ok/Cancel buttons to CalendarEditDlg
Chris Frey [Mon, 19 Mar 2012 21:46:59 +0000 (19 17:46 -0400)]
lib: added TimeZones operator[] overload
Chris Frey [Thu, 15 Mar 2012 15:58:07 +0000 (15 11:58 -0400)]
desktop: added TimeZones parameter to CalendarEditDlg class
Also, added code to load the timezone choice control
Chris Frey [Thu, 15 Mar 2012 15:56:23 +0000 (15 11:56 -0400)]
desktop: added TimeZones to record edit API in Mode_Browse.{h,cc}
Sometimes editing of records, such as calendar and tasks, requires access
to the device's (or the library's) time zone database / table.
This commit makes it possible to only load this once, but pass it into
the edit dialogs as needed.
Chris Frey [Thu, 15 Mar 2012 15:53:11 +0000 (15 11:53 -0400)]
desktop: documented the extra classes in Mode_Browse.h
Chris Frey [Thu, 15 Mar 2012 15:49:44 +0000 (15 11:49 -0400)]
lib: removed the zone offset from the static time zone table names
TimeZone::GetDescription() does this for us when using TimeZones.
The data is there for the application to add it manually if still using
the static time zone table. Unfortunately, these clash, so the static
table gets changed.
Chris Frey [Thu, 15 Mar 2012 15:48:56 +0000 (15 11:48 -0400)]
lib: add comment about possible exception in one of TimeZones constructors
Chris Frey [Thu, 15 Mar 2012 15:47:29 +0000 (15 11:47 -0400)]
lib: added static TimeZones::IsLoadable()
Not all devices have a Time Zones database. This static function allows
the application to determine in advance which table to load.
Chris Frey [Thu, 15 Mar 2012 15:47:06 +0000 (15 11:47 -0400)]
lib: added Find api to TimeZones
Chris Frey [Thu, 15 Mar 2012 15:45:42 +0000 (15 11:45 -0400)]
lib: added + sign to TimeZone::GetDescription() offset output
For timezones in the positive, display (+5) for 5 hours ahead, etc.
Chris Frey [Wed, 14 Mar 2012 14:50:37 +0000 (14 10:50 -0400)]
lib: added TimeZones class, for creating a vector of static or dynamic TimeZones
Chris Frey [Wed, 14 Mar 2012 14:48:56 +0000 (14 10:48 -0400)]
lib: use the parser/builder macros for Desktop::Load/SaveDatabaseByName
This prevents the parser and builder lists from getting out of date.
Chris Frey [Wed, 14 Mar 2012 13:38:37 +0000 (14 09:38 -0400)]
API: lib: renamed record parser class from Timezone to TimeZone
Chris Frey [Wed, 14 Mar 2012 13:23:21 +0000 (14 09:23 -0400)]
API: lib: renamed TimeZone to StaticTimeZone, along with API functions
The StaticTimeZone data is hard coded in the library, so makes sense
to name it that way explicitly, and let the record class use TimeZone
instead of the odd Timezone/TimeZone mix we had before.
Chris Frey [Tue, 13 Mar 2012 01:11:14 +0000 (12 21:11 -0400)]
desktop: removed unimplemented buttons
Apploader, media, and misc modes probably won't be implemented before 0.18
is released.
Chris Frey [Wed, 22 Feb 2012 02:01:50 +0000 (21 21:01 -0500)]
desktop: added CalendarEditDlg to Browse mode
Chris Frey [Wed, 22 Feb 2012 02:01:07 +0000 (21 21:01 -0500)]
desktop: implementing data<->gui transfer code
Chris Frey [Wed, 22 Feb 2012 02:00:29 +0000 (21 21:00 -0500)]
desktop: implemented GUITimeT
Chris Frey [Fri, 10 Feb 2012 20:44:21 +0000 (10 15:44 -0500)]
desktop: added start of calendar record edit dialog
Chris Frey [Tue, 13 Mar 2012 00:40:49 +0000 (12 20:40 -0400)]
Removed Debian maintainer from AUTHORS, and merged deputy docs into TODO list
Chris Frey [Sat, 3 Mar 2012 07:55:21 +0000 (3 02:55 -0500)]
maint: removed Ubuntu 8.04 LTS, since Ubuntu 12.04 LTS is coming soon
Toby Gray [Tue, 6 Mar 2012 10:32:05 +0000 (6 10:32 +0000)]
Android: Adding RTTI flag to allow tr1::shared_ptr to work on NDK r7b.
Chris Frey [Sat, 3 Mar 2012 07:16:49 +0000 (3 02:16 -0500)]
debian: fixed lintian errors and updated policy and compat levels
The following changes were made under debian/:
* reviewed policy manual and updated Standards-Version to 3.9.1 (2012/03/03)
* reviewed debhelper(7) manpage changes and updated compat to 7 (2012/03/03)
* moved udev rules from /etc/udev/rules.d to /lib/udev/rules.d
* changed backup and desktop menu icons to 32x32 XPM format
* using >0 debian version number, since I'll probably be maintainer now
* removed libosyncwrap.a and libosyncwrap.so from desktop package
The following changes were made under opensync-plugin/debian/:
* Bumped compat to level 7 (2012/03/03)
* Bumped Standards-Version to 3.9.1 (2012/03/03)
* Using >0 debian version, since I'll probably be Debian maintainer now
The following changes were made under opensync-plugin-4x/debian/:
* Bumped compat level to 7 (2012/03/03)
* Bumped Standards-Version to 3.9.1 (2012/03/03)
* Using >0 debian version, since I'll probably be Debian maintainer now
* Fixed extended-description-line-too-long lintian warning
Toby Gray [Fri, 2 Mar 2012 15:27:18 +0000 (2 15:27 +0000)]
Android: adding tools utility source file to tools build.
Chris Frey [Wed, 22 Feb 2012 01:09:59 +0000 (21 20:09 -0500)]
lib: added Restore::GetDBList()
Returns a DBListType list of databased names, from the given tarball.
Chris Frey [Wed, 22 Feb 2012 00:47:22 +0000 (21 19:47 -0500)]
tools: added -D inverse selection option to bio's tar input mode
Chris Frey [Wed, 22 Feb 2012 00:46:09 +0000 (21 19:46 -0500)]
lib: added AddSkipDB() to Restore builder
AddSkipDB() is the logical inverse of AddDB(). AddDB() selects only
the databases you want to restore, while AddSkipDB() selects the
databases you do NOT want to restore.
Chris Frey [Thu, 9 Feb 2012 21:34:08 +0000 (9 16:34 -0500)]
lib: added validation system to record building
Chris Frey [Thu, 9 Feb 2012 20:49:48 +0000 (9 15:49 -0500)]
desktop: fine-tune the button availability in Browse
We can only Add/Copy/Edit records if we have a dialog box available,
and so update the buttons appropriately, based on available dialog
boxes.
Chris Frey [Thu, 9 Feb 2012 20:49:23 +0000 (9 15:49 -0500)]
desktop: added status message during database pre-loads in Browse
Chris Frey [Thu, 9 Feb 2012 20:46:11 +0000 (9 15:46 -0500)]
desktop: made the thread locks more forgiving when pre-loading
When loading a large database from a slow device, the old single
lock system blocked unnecessarily. This commit allows for locking
of the map and locking of the load, so accessing pre-loaded data
is still possible during background device access.
Chris Frey [Sat, 4 Feb 2012 02:37:37 +0000 (3 21:37 -0500)]
tools: added libboostwrap.a to put boost related code into one spot
Hopefully this will speed up compiles when Boost is enabled.
Chris Frey [Sat, 4 Feb 2012 00:57:14 +0000 (3 19:57 -0500)]
gui: backward compatibility fix: set_visible() is not available on Ubuntu 8.04
Chris Frey [Fri, 3 Feb 2012 07:16:18 +0000 (3 02:16 -0500)]
tools: added -F sortkey support to btool
Chris Frey [Fri, 3 Feb 2012 07:08:19 +0000 (3 02:08 -0500)]
lib: added NamedFieldCmp<> template classes
These classes allow sorting records by field name, using a string
of field names. More details in the doxygen docs.
Chris Frey [Fri, 3 Feb 2012 06:50:58 +0000 (3 01:50 -0500)]
tools: build tools/util.* in a static lib, to save compile time
Also fixed some whitespace errors in tools/Makefile.am
Chris Frey [Fri, 3 Feb 2012 05:02:16 +0000 (3 00:02 -0500)]
tools: grouped common tool code into tools/util.{h,cc}
Chris Frey [Fri, 3 Feb 2012 05:00:40 +0000 (3 00:00 -0500)]
tools: removed outdated Makefile.plain
Chris Frey [Fri, 3 Feb 2012 03:15:57 +0000 (2 22:15 -0500)]
lib: use typedef instead of hard coded std::vector<FieldHandle<T> >
Chris Frey [Fri, 3 Feb 2012 02:44:13 +0000 (2 21:44 -0500)]
lib: typo fixes in comments
Chris Frey [Fri, 3 Feb 2012 01:14:36 +0000 (2 20:14 -0500)]
tools: get rid of "always false" code in btarcmp
Chris Frey [Fri, 3 Feb 2012 00:31:38 +0000 (2 19:31 -0500)]
gui: added access to ProbeResult in DeviceIface.h
Chris Frey [Fri, 3 Feb 2012 00:29:51 +0000 (2 19:29 -0500)]
lib + gui: added Auto Select All checkbox to the backup GUI
If the checkbox is checked, in the backup database list config,
then on every backup, the backup list is taken from the device's
DBDB, not the database list selection.
If you regularly backup everything, this setting prevents you from
ignoring new databases that appear when installing new applications
on your device, etc.
Chris Frey [Wed, 1 Feb 2012 02:37:27 +0000 (31 21:37 -0500)]
tools: added some optional bools in btarcmp's App for future functionality
Chris Frey [Wed, 1 Feb 2012 02:36:14 +0000 (31 21:36 -0500)]
tools: added list of field names to btarcmp -S output
Chris Frey [Wed, 1 Feb 2012 02:34:52 +0000 (31 21:34 -0500)]
lib: added some operator<() members to basic record objects
Chris Frey [Tue, 31 Jan 2012 07:56:52 +0000 (31 02:56 -0500)]
lib: added safety check in Timezone ctor for negative minutes
The Timezone record class always works with minutes as positive.
If the user happens to enter a negative minutes in the ctor, this
still works, but just do a quick flip first.
Note that the hard coded TimeZone table in time.cc uses negative
minutes, so this safety check makes sense.