forked from NetDirect/barry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
3555 lines (3534 loc) · 154 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Note: As of version 0.18.0, all change history is now in git.
Please see the git repository and commit history for details
about what changed and who changed it.
Release: version 0.17.0 - 2011/02/10
------------------------------------------------------------------------------
2011/02/08
- lib: added Connector base class and DesktopConnector class
These classes manage connecting and reconnecting to a device.
Too much technical knowledge was required in the application
in order to successfully connect and reconnect on all devices,
such as in the plugins when refreshing the dirty flags.
Pauses and rescans were needed in some cases. This knowledge
belongs in the library, not the application.
2011/02/07
- lib: fixed bug in Contact parser that caused old RecordIDs / UniqueID
to be stored in the Unknowns list, which when copied
and added to the device again, would build up and potentially
cause conflicts.
In some cases, when adding a record with multiple
RecordIDs, and if one of the IDs already existed in the
BlackBerry device, then the device would get into an
inconsistent state and end up with an un-deletable record,
and every attempt to edit it would give the message:
"Address updated externally. Changes will be lost and the
viewer closed"
This would also cause an inconsistency in the Record State
Table record count and the actual count retrieved during a
database backup.
The only way to recover would be to restore from a known
good backup, which will erase the existing database and
start fresh.
2011/01/21
- build: added Debian Lenny's copy of pkg.m4
New versions of pkg-config's autoconf m4 files set the
variables PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR as
precious... which means that configure caches the original
values and our subdir overrides are lost. This copy of
pkg.m4 overrides whatever is on the system, and avoids
such preciousness.
2011/01/20
- doc: updated doc/www website docs in preparation for release
- updated copyright dates for 2011
- lib: fixed bug in MIME parsing with more than 2 BEGIN levels
Some events have an ALARM as well, which makes 3 BEGIN
levels, which broke the parsing that assumed only 2.
- lib: added date-only parsing to TzWrapper
- lib: added all-day event support to MIME vEvents
This allows all-day event syncing as well, in both plugins.
2011/01/18
- ppp: applied Jason Thomas's ppp chatscripts for Optus and Vodafone AU
2011/01/18
- udev: added ENV{ID_PDA}="1" to 69-blackberry.rules for Fedora 14
Thanks to Nathanael Noblet for tracking this down.
2011/01/14
- lib: fixed bug in vformat.c _fold_lines() when QUOTED-PRINTABLE
is in use
2011/01/07
- merged zsh completion scripts (btool,btardump) from Nicolas Vivien
2010/12/31
- merged translation and general bug fixes from Nicolas Vivien
- lib: merged Nicolas Vivien's BlackBerry.alx parser
- lib: changed pointer handling in src/a_*.h to use shared_ptr<>
- ppp: added barry-minimal, which may help in the case of
"Could not determine local IP address" errors
2010/12/24
- lib: cleaned up Clear() functions in all record classes
Primarily fixed some missing variables.
- lib: added record parser for the Content Store database
- tools: added simple output mode to bio for Content Store
This supports extracting files and photos from Content Store.
- lib: fixed display bug in Date's operator<<
- lib: added HomeFax, MobilePhone2, and Nickname fields to Contact
- lib: tweaked tarfile.cc so it skips all directory names instead
of throwing exceptions... this allows reading of tarball
backups that may have been created by tar or perlbarry's
ipd2tgz tool
2010/12/21
- tools: added bio command line tool, Barry Input / Output
Supports IO for devices, tar backups, boost, ldif streams,
mime streams, hex and human dumps, and sha1 output
2010/12/19
- lib: fixed capitalization API consistency in pin.h
2010/12/13
- tools: fixed StartParser/EndParser bug in brecsum and bfuse
These calls are not used or called by the library anymore.
- lib: added DBDataBuilder class, to make it easy to wrap a DBData
object in a builder for APIs that need it
- lib: added DeviceParser class, which behaves like a parser
in that it accepts incoming DBData blocks, but instead
of parsing them, writes them to the device.
Therefore to copy: DeviceBuilder -> Pipe -> DeviceParser
2010/12/07
- tools: added -i charset support to btardump
2010/12/04
- lib: add ALX parser by Nicolas VIVIEN
- lib: add browser bookmarks parser by Nicolas VIVIEN
- tools: added -V option to btardump by Nicolas VIVIEN, to output in the new
MIME vformat mode for records that are supported
2010/12/02
- doc: clarified btardump help, and added btardump.1 manpage
2010/11/30
- lib: fixed but in Messages parser, which used CheckSize()
inappropriately
- lib: added Data version of TarFile::ReadNextFile() (optimization)
- lib: allow Packet class to override receive buffer on the fly
- lib: added Data::Append()
- lib: substantial cleanup of the Builder API, removing the
Retrieve() and BuildDone() steps, and using just
BuildRecord() and FetchRecord(), depending on whether
the caller needs offset support or not.
In this change, the TarFile Data optimization is used.
- lib: another API change, for Parser, removing StartParser()
and EndParser()
- lib: optimized Mode::DBLoader to allow application level data buffers
- lib: added DeviceBuilder class, which gives a Builder interface
to reading records directly from a device
- lib: added a swath of new parser assistant classes: HexDumpParser,
RecordParserBase, NullStore<>, DumpStore<>, MultiRecordParser,
AllRecordStore, AllRecordDumpStore, AllRecordParser,
and TeeParser
- examples: added pipedump.cc to demo how to use some of the new
builders, parsers, and pipe class
- tools: added btardump for parsing backup files from command line
2010/11/16
- doc: clarified btool -X in its man page
2010/11/09
- doc: updated Fedora's RPM git repo URL
2010/11/02
- added library dependency info to pkg-config .pc files
- cleaned up constructor and initialization order and pointer
issues found by the automatic API tester at:
http://linuxtesting.org/upstream-tracker/versions/barry.html
2010/11/01
- lib: fixed header bugs
- maint: added abi checker scripts and config
2010/10/28
- changed the versioning sheme for Barry, updating doc/VersionNotes,
src/Makefile.am, and ChangeLog
- updated maintainer scripts to support 3-number versions
2010/10/20
- lib: simplified parser and builder API, using the new DBData class
This also updates the DBData class to support copy-on-write
in construction, to avoid copies wherever possible.
Also, this patch affects a lot of code, and it is all
updated at once.
2010/10/18
- lib: removed needless data copy in Socket::Packet()
- lib: moved command/response buffers into Desktop class itself
- lib: added DBData and DBLoader... these classes make it possible
for the programmer to control the database record loading
process, instead of using the parser callback mechanism...
this is the beginning stage of adding generic data flow
channels to Barry, to hopefully make it easy to pass
data from backup files to devices, from device to device,
from backup to backup, and more
2010/10/14
- lib: fixed timeout mismatch behaviour between USB and Router
The default timeout (-1) for usbwrap is about 30 seconds,
while the default timeout (-1) for the DataQueues used
by the Router is forever. The router now accepts a default
read timeout of its own, and defaults to the same 30
seconds as usbwrap.
2010/10/13
- a number of build tweaks for compiling command line tools
on Windows
2010/10/07
- made bcharge more flexible... Dual mode is not the default anymore,
since newer devices seem to present themselves in a sane
manner via USB. Instead -o and -d only happen if specified.
This patch also adds a new option, -g, which will set dual
mode only if Interface Class 255 (database) is not found.
Also updated the udev rules to use -d and -g as appropriate.
- reverted commit c7685942140b123bf110e755ce11a97c3c6372f7 (the
UnrouteableReadError patch) since it was discovered that
usb bulk reads of 0 bytes are possible and valid
2010/10/05
- doc: added note about --with-libintl-prefix=/opt/local/ on Mac OSX
Thanks to Toby Gray for reporting this.
2010/10/04
- merged from Toby Gray:
- missing header in builder.h
- added try/catch in SimpleReadThread()
- added fallback to set_altinterface() in probe
- added gettext.h convenience header to support --disable-nls
Toby Gray discovered that when --disable-nls is used or
on systems that do not support <libintl.h> well, it
is recommended to use the gettext.h header as specified
in the gettext documentation:
http://www.gnu.org/software/gettext/manual/gettext.html#lib_002fgettext_002eh
This commit adds gettext.h to both tools/ and the gui/
- lib: added Builder::BuildDone() to make the multiple-call
possibility of Retrieve() more explicit
- lib: added Pipe class to join builders and parsers together
2010/10/02
- lib: added start of libbarrybackup, and copied tarfile support
from gui
- lib: added DBName support to parsers and builders
- lib: added BackupError and RestoreError exceptions
- lib: removed the dbId from Builder::Retrieve()
- tools: changed parser/builder auto_ptr to shared_ptr
- added libbarrybackup*.pc file to install target
- lib: added EndOfFile() to Builder
- lib: added Backup parser and Restore builder classes
These classes are based on the backup and restore logic of
the GUI's DeviceIface.cc code, but made general.
- tools: added tar backup option to btool (!)
2010/10/01
- lib: cleaned up missing BXEXPORT / BXLOCAL flags for exceptions
http://gcc.gnu.org/wiki/Visibility
- lib: fixed build bug where GCC visibility flags were missing from
the libbarrysync library
- merged clear halt fixes from Toby Gray, which should make it
possible to use Barry and usb-storage at the same time
2010/09/30
- merged build fixes from Toby Gray
- merged UnroutableReadError exception patch from Toby Gray
- moved platform specific detail into tools/platform.h
2010/09/21
- merged constant and timeout fixes from Toby Gray
- lib: added belt-and-suspenders fix to usb Read functions
This is to avoid the possibility of inappropriate asserts
2010/09/20
- removed ppa_build.sh per request by Martin Owens
- debian: added autopoint to build deps
The new Debian Squeeze and Ubuntu Maverick have split out
the autopoint script from the gettext package. On systems
with gettext 0.18 or newer, we require autopoint, and hope
that autopoint depends on gettext.
2010/09/19
- further split up the m4 directories to make the submodules
yet more independent
- debian: added back the autoreconf targets, but not cleanup targets
2010/09/18
- debian: remove all autoreconf and cleanup targets
Having the debian/rules files try to manage their own
autoreconf is too much of a headache. Binary packages
should start with a valid autoconf and gettext / autopoint
system already in place.
This patch removes any temptation to believe otherwise.
If you have been building source packages from git
already, just add a call to "./buildgen.sh" before your
debian binary build.
- maint: overhaul of release / test build scripts
Made scripts configurable by user, in case others have
chroot build systems of their own.
2010/09/16
- debian: updated rules to allow for building with an external debian/
- applied Martin Owens' patch to add a debian directory to
the opensync-plugin-0.4x plugin
- debian: moved 0.22 plugin packaging to its own directory
2010/09/15
- set AC_CONFIG_AUX_DIR to [.] instead of parent directory, to make
the submodules more independent
- lib: fixed Makefile.am to install semaphore.h and scoped_lock.h
This is needed for the raw channel code.
2010/09/11
- added -A option to bjavaloader save
2010/09/07
- added hardware contribution section to AUTHORS
2010/09/03
- merged Toby Gray's and Adrian Taylor's RAW channel support code
- updated debian binary package with brawchannel and examples and
ppp chat scripts as docs
- updated rpm barry.spec with brawchannel and ppp README
2010/08/31
- os4x: optimized dirty flag clearing
Clearing the dirty flags on newly updated records requires
a reconnect, but it only requires one reconnect, and no
reconnect it needed if nothing is written to the device,
so skip the reconnect whenever possible, which makes syncing
much faster
2010/08/30
- lib: use thread-safe getpwuid_r() in config file code
2010/08/18
- fixed build bug, where libbarrysync was still used even if glib2
was not found on the system. Thanks to Eric Arseneau
for finding this during his Mac build testing.
- added LTLIBINTL and LTLIBICONV to tools/Makefile.am for systems
that have separate libraries for these features, such as
the Mac
- buildgen.sh calls libtoolize and glibtoolize now (Mac support)
2010/08/15
- lib: fixed bug in ISO timezone detection... must be in [-+]HH[:]MM
format, with 2 digits for the hours and minutes
2010/08/12
- lib: added better ISO timestamp support... Now handles timestamps
with dashes and colons, including timestamps with their
own timezone offsets
- lib: fixed vsnprintf() error check bug in log.cc... and added
code to allocate memory if message is too long for
static buffer
2010/07/29
- applied patch from Martin Owens fixing version dependencies in
debian binary packages
2010/07/22
- gettext: removed autogenerated files and generate them in buildgen.sh
Not sure if the version will matter, but since gettext 0.17
is the only gettext version in common use (Ubuntu 10.04
doesn't even have 0.18 yet) we'll stick with it for now.
Hopefully 0.18's autopoint is smart enough to update things
automatically. I don't have 0.18 to test with.
2010/07/21
- applied Nicolas Vivien's compile fix and French translation patches
2010/07/20
- sync: added 1 second wait during Reconnect() to let firmware settle
This seems to help prevent the firmware hang fixed yesterday,
which ultimately speeds up the whole sync
- os4x: reverted run-as-process undo commit... now runs as process
again... I believe the timeout was the firmware issue, not
an opensync issue
2010/07/19
- lib: added ability to do a USB ClearHalt() from socket level
- lib: added ability to override USB default timeout from controller
- sync: added workarounds for firmware hang issue
This workaround overrides the timeout due to a firmware
issue: sometimes the firmware will hang during a plugin
Reconnect(), during the shutdown stage when the plugin
attempts to update the device's dirty flags. When the
device hangs like this, it fails to respond to a
Desktop::Open(). To work around this, we set the default
timeout to 15 seconds so that we find this failure early
enough to fix it within opensync's 30 second timeout.
Then if we get such a timeout, we do the Reconnect again and
hope for the best... this often fixes it.
2010/07/17
- lib: added tm_to_iso() to tzwrapper functions
- lib: vbase now has default implementation of vTimeConverter (was
vTimeZone) with a simpler API, based on TzWrapper underneath
- lib: pulled in os4x vbase code, so both plugins are using one
set of vformat code
- lib: added vtodo and vjournal vformat support from os4x plugin
- deb: added new libbarrysync library to debian binary package
- tools: added -V option to btool, to output in the new MIME vformat
mode for records that are supported
2010/07/16
- lib: added BARRY_GCC_FORMAT_CHECK() for printf() style arg checking
- lib: added C-style BarryLogf() function for internal use
- libsync: moved vformat-related code from os22 to library
- lib: included tzwrapper in Barry and Barrified the namespace
2010/07/13
- os4x: undo run-as-process setting, since some tests indicate that
sync will timeout
2010/07/10
- ppp: copied barry-sprint to barry-telus, which also works
Thanks to Matt McGirr who confirmed it works with Telus
- os4x: run plugin as process... other opensync plugins seem to run
better with this, and it seems like a good idea to isolate
plugins as much as possible
2010/07/08
- fixed bug in both opensync plugins where they would attempt to
access a database, even if it was disabled in the config.
Thanks to R. Brent Clements for reporting this bug.
2010/06/26
- added Pete Zaitcev's usbmon-6, with some minor changes to
remove root requirements and pretty up the hex dump format
2010/06/12
- applied chat scripts for Orange Spain from Adrian Gibanel
- updated debian and rpm packages with new chatscripts
2010/06/04
- os22: ported Nicolas Vivien's multi-calendar patch to 0.22 plugin
From commit: eb4d68df8d06f734e79e13ea05f7755aa5b0a5f3
This patch is untested with multiple calendars as I don't
have a device for such testing, but is identical to
the 0.4x plugin code.
2010/06/03
- doc: added wireshark USB capture method to USB-capture.txt
- lib: added GetStore() access function to RecordParser template class
- lib: Improved the record class operator<() member functions, basing
the sort order on multiple fields in many cases. This should
produce a fairly stable sort for a given data set, regardless
of RecordId. This should be useful for scripted tests.
- tools: Added -I command line option to make use of new sort order
- man: Updated btool manpage
2010/05/29
- applied 3 patches from Nicolas Vivien that add:
- Calendar - All parser
- special handling for syncing of multiple calendars
- compiler fixes
- lib: updated src/s11n-boost.h with new CalendarID and CalendarAll
- lib: refactored Calendar*::Dump() functions
note: this introduces a change in my earlier policy that
avoided virtual functions in the record classes...
the duplicate code overhead is just too heavy, and
I think I was wrong to be afraid of virtual functions
in containers anyway... vive la virtual! :-)
2010/05/28
- rpm: added Fedora 13 support, and cleaned up conditionals
- udev: fixed permissions issue, so device shows up in lsusb
output even for users not in plugdev
- applied two patches from Nicolas Vivien, one fixing a precision
bug in BuildField() and another adding a 64bit BuildField()
2010/05/13
- lib: fixed compile error in j_message.h
Thanks to Raymond Blostein for the bug report and the
link to the explanation of the C++ standard change:
https://bugs.launchpad.net/inkscape/+bug/522327/comments/1
2010/05/11
- ppp: cleaned up ppp options files and put notes in README
Thanks to feedback from Matt Machado for Rogers specific
notes, and for recommendation to have one copy of
comments for the PPP options.
2010/04/19
- lib: added LDIF mapping support for Contact::Image fields
- lib: fixed signed extension bug in base64 encoder
- sync: ported Photo support from 0.4x plugin to 0.22 plugin
2010/03/30
- updated Fedora and Mandriva maintainer info
2010/03/18
- added chat script for FIDO from Sujay D'Souza
2010/03/11
- added Probe::Find(), for simple searching of probe results
2010/02/09
- added message during restore, to let user know that the erased
database was restored (requested by Pierre Pietri)
2010/01/29
- added product ID 8001 (Pearl Flip) to udev rules
2010/01/26
- examples: added dbdump.cc example for extracting database data
- bumped the copyright dates for 2010
- added F12 build target to maintainer scripts
- added missing BXEXPORT to src/configfile.h that shows up
on ubuntu 7.10
- added headers to sources list in src/Makefile.am, since header
changes didn't always cause a library rebuild
2010/01/15
- updated barry.spec to install 69-blackberry.rules on Fedora 12
note that this further breaks the opensuse build, but
that is not currently supported anyway, due to lack of time
- doc: added notes on tools to use for building RPMs in homedir
2010/01/04
- udev: added 69-blackberry.rules for Fedora 12 systems. Thanks
to Nathanael Noblet (list email dated 2009/12/30)
for hunting this down!
2009/12/15
- lib: added operator==() to ProbeResult, and operator!= to Pin
- os22: fixed bug while loading opensync config file (may not load
the pin number correctly, or may rely on luck)
- added 'addmemo' example, to test newline behaviour
- lib: Memo::Dump() now translates \r chars into prettier output
Requested by Michael Brown
- doc: added some notes on how to tether via Bluetooth
2009/12/04
- tools: added libbarry to bdptest build (needed on opensuse?)
2009/12/03
- lib: added GetKey/SetKey support in GlobalConfigFile
2009/12/02
- gettextize BarryBackup by Nicolas VIVIEN
- lib: added support for a global config file
Barry::ConfigFile now supports a per-device configuration (as
usual) as well as a global config file. Both are loaded
by default, but they can be saved and loaded separately.
This new global config file is for global defaults,
preferences, etc.
- lib: added IsVerbose() API call
- lib: added VerboseLogging setting to global config
- lib: made Probe results more storage friendly
2009/11/27
- made Barry::Init() safe to be called multiple times
- added Barry::Verbose() for controlling debug output on the fly
2009/11/26
- moved the Pin and ConfigFile classes from gui/ to the library
- Probe now loads ConfigFile's device name if available
2009/11/24
- added '-P' password option to upldif tool, and updated manpage
including applying Nicolas Vivien's bugfix patch
- applied Nicolas Vivien's "NOT_ENOUGH_MEMORY" javaloader patch
- added gettext support to RPM and DEB packages
2009/11/19
- gettextize by Nicolas VIVIEN
2009/10/02
- doc: added list of reasons why to submit patches, and notes
on how to create a forked tree on repo.or.cz
2009/10/01
- removed redundant library dependencies from autoconf build
- version bump:
- configure.ac
- src/Makefile.am
- src/version.cc
- gui/src/BackupWindow.cc
- Doxyfile
- rpm/barry.spec
- debian/changelog
- opensync-plugin/src/barry_sync.cc
- opensync-plugin-0.4x/src/barry_sync.cc
Release: version 0.16 - 2009/10/01
------------------------------------------------------------------------------
2009/09/30
- added PNG generated icon based on SVG source files
- added barry logo to barrybackup-gui Debian and RPM packages
- applied new barry logo and icon from Martin Owens
- gui: use short barry URL in About box
- gui: fixed bug where actual finished records were overwritten
with the starting total... don't overwrite the actual
with the estimated
- gui: added thread state, to determine what operation finished
Also improved status message, specifying exact operation
- gui: added code to check that actual # of backed up records
matches the total number reported by the device, and
display a warning to the user if they don't match
- www: added known issue about international chars and protocol change
2009/09/29
- os4x plugin: updated for the pkgconfig libopensync -> libopensync1
rename
- added bjdwp.1 manpage
- added bjdwp and manpage to rpm and debian packages
- added bash and zsh completion scripts to debian & rpm packages
2009/09/26
- gui: fixed status text during restore (said "Backup" instead
of "Restore")
2009/09/24
- updated various URLs to point to netdirect.ca
- lib: moved vSmartPtr<> from opensync plugin code to main library
- lib: fixed memory leaks in vSmartPtr (doh!)
- lib: added vLateSmartPtr<> for setting of FreeFunc after construction
2009/09/18
- updated opensync 0.4x plugin to compile against latest SVN
- removed unneeded osync_error_unref() from get_sync_info()
- updated plugin to support the new OSyncError** arguments
scattered all over the code
2009/09/17
- added IRC info to contact www doc page
2009/09/16
- changed all the ancient SYSFS{} keynames into ATTRS{} keynames
in all udev rules files
- added udev rule for BB Tour Product ID 8007
Thanks to Theodore Charles III for testing and suggested
rules.
- removed obsolete duplicate SUBSYSTEM keynames from udev rules
- created new cross-distro udev rules set, with documentation
in udev/README
- updated deb and rpm package rules with new udev rules set
note: opensuse needs work
2009/09/15
- merged Josh Kropf's brimtrans fix: 59abfa6959eb350221fa56a03ba5816
- applied bash-completion scripts by Ryan Li
2009/09/14
- merged Josh Kropf's compile fixes
- applied zsh missing bracket patch from Ryan Li
2009/09/11
- merged Nicolas Vivien's debug parser lib updates
with change:
- fixed API spelling typo and capitalization
- added firmware upgrade to TODO list
- added checks for pthread function errors in Thread class
- moved #defines out of public dp_codinfo.h into dp_codinfo.cc
Applications probably don't care about these.
- changed string arguments to const references
- added STL-style typedefs to list classes to make looping easier
and easier to change types if needed
- added libbarrydp as dependency for libbarryjdwp
- replaced direct cout usage with dout() in dp_codinfo.cc
- added Barry::Init to bdptest.cc, defaulting to verbose
mode, to keep the same behaviour as expected
- use more generic std::istream in dp_codinfo, instead of ifstream
- use references with iterator looping to avoid copies, and
use const where appropriate
- added typedef for j_server.cc's ConsoleCallbackType
- tightened up member variable init and cleanup in JDWServer class
- added exceptions in JDWServer class where marked TODO
- made setup sequence dependent on previous steps, in acceptThread,
so that the logic doesn't assume success where it could
have failed
2009/09/10
- added copyright notices to all source files in bjdwp/
This is based on the initial README included in
the patches from Nicolas Vivien stating that bjdwp
was under the GPL.
- added GPL license as file bjdwp/COPYING, since bjdwp is
somewhat standalone, like the plugins and the gui
- bjdwp: removed jdwplog() in favour of identical barryverbose()
- bjdwp: moved into main tree from bjdwp/ and created two new
libraries: libbarrydp and libbarryjdwp
2009/09/09
- fixed potential loss of serial data during PPP init
when seding the AT test, usually the OK response is
sent to the callback, but if the expected non-serial
response doesn't appear, the OK is lost... this fix
passes the OK to the callback, which fixes some chatscript
behaviour
- gui: updated web documentation and screenshots
2009/09/08
- changed wording on GUI reload button to clarify what it does
- added documentation on how to change the theme for GTK+ apps
when not using the Gnome desktop environment
- fixed broken links in web doc generation
2009/09/05
- applied backup GUI patches from Ryan Li:
- resolved crash while disconnecting from no devices
- added confirmation dialog before quitting
- gui: handled case where the user exits via window manager Close
button
- also refactored 'working' confirmation logic
2009/09/04
- fixed socket RawReceive verbose log message
when reading from the default queue, the queue knows the
endpoint, not the socket object
2009/09/03
- added version output when -v is used in pppob
2009/09/02
- fixed syncing of 8 contact phone numbers. Reported by
Ian B. MacDonald, 2009/08/22
- ported above syncing fix to opensync 0.4x plugin
- applied Martin Owens' Barry logos 'patch'
2009/09/01
- applied chatscript patch from Andrew Nording
Sourceforge tracker #2848549
- added KPN chatscripts to DEB and RPM binary packages
- added KPN to script list in doc/www/modem.php
- pulled from Nicolas Vivien: a909925ef6bf3d75b1597a9ddd16f52201690cbb
Fixes for library and bjdwp documentation
- moved bjdwp/doc/* to doc/bjdwp/ to keep docs in one spot
2009/08/31
- pulled from Nicolas Vivien's repo.or.cz repo: bjvmdebug support
With rebase changes and fixes to library.
Fixes to library:
- fixed buffer size checks in m_jvmdebug.cc
- used #defines instead of hard coded numbers where possible
- added FIXME to tidy up the Unknowns in the API
- commented out Mode::Close(): not convinced that applications
should have to worry about socket-level details
- added #define for JVM STOP command
- removed unused Socket::PacketJVM() functions
- made sizeof check in JVMPacket::Size() more specific
Rebase changes:
- removed executable chmod bits from BarryDemo java samples
- removed copyrighted Sun documentation from bjdwp/doc/
- fixed longstanding buffer size check bug in CheckSize()
- updated AUTHORS
- applied Ryan Li's latest threaded GUI patch (2009/08/25 email)
- gui: added a wrapper around pStatusbar->push() to avoid
the never ending push syndrome
- gui: added PIN to the "please name new device" dialog
- gui: added statusbar workaround: normally the statusbar shows
Ready after initialization, but since the initial Scan()
happens right away, and the statusbar doesn't seem to
update the screen until the handler is finished,
we update the status bar during init instead
2009/08/30
- applied Martin Owens' ppa_build.sh patch
- added version output when -v is used in btool
- changed USB verbose bus tree dump (i.e. btool -v) so the
hex/decimal values look more like lsusb -v output,
for ease of debugging
2009/08/29
- version bump:
- configure.ac
- src/Makefile.am
- src/version.cc
- gui/src/BackupWindow.cc
- Doxyfile
- rpm/barry.spec
- debian/changelog
- opensync-plugin/src/barry_sync.cc
- opensync-plugin-0.4x/src/barry_sync.cc
Release: version 0.15 - 2009/08/28
------------------------------------------------------------------------------
2009/08/28
- added binary build for Ubuntu 9.04 to maintainer scripts
2009/08/27
- added binary build for Fedora 11 to maintainer scripts
2009/08/21
- updated www documentation for upcoming release
- applied Nicolas Vivien's phone duplication patch (opensync 0.4x)
- fixed missing conflict check in vcard code in opensync 0.4x plugin
- backported new TYPE parsing code from opensync-0.4x plugin to
old opensync 0.22 plugin
- added X-EVOLUTION-UI-SLOT support in both sync plugins to retain
phone number order
2009/08/17
- added pin and password command line support to bfuse
- updated bfuse man page
2009/07/29
- added border to barrybackup doc images
2009/07/28
- updated license and URL in barry.spec
- updated barrybackup Credits dialog to reference AUTHORS file
- updated barrybackup.1 man page
- updated doc/www scripts to generate more dynamic pages,
so subheaders are not hard coded... this helps support
updating the new NetDirect website
- commented out out-of-date docs in hacking.php
- marked milestone 4 complete (javaloader)
- linked device compatibility list from index.php
2009/07/10
- changed pppob to report if Serial was fallback or command line
- started device compatibility list in web docs
2009/07/07
- applied Ryan Li's GUI enhancement patches, which let the user
switch devices without restarting, with fixes:
- reorganized BackupWindow.glade for better spacing
- fixed width issue (main window was set to 275
width, which made things too narrow on Debian
Lenny
- moved buttons beside the drop down box, to
mimic old GUI behaviour
- added space around the middle controls, but
not around the menu bar or status bar, which
should be right against the outer window.
- renamed m_device_num to m_device_count for clarity
- changed m_device_count to unsigned int to fix compiler
warnings
- removed gtkmm call to unset_model()
The function unset_model() is only available in gtkmm
2.16, and Debian Lenny only has 2.12, and won't compile.
Since set_model() automatically does the unset for us,
just reorganize the calls so Lenny is supported.
2009/07/06
- applied Ryan Li's SMS clarification patch
2009/07/02
- added Martin Owens' new Ubuntu PPA link to docs
- added DEPUTY documentation and updated AUTHORS
2009/06/30
- documentation updates
- added SMS to list of parsers in documentation
- updated sync notes for Fedora 9 and 10 in documentation
- removed Martin Owens' PPA binary package link, since
I can't find the binaries anymore
- reverted commit 2d0e60d1: put hal fdi files back
- updated HAL FDI files for Fedora 11
- duplicated directory hierarchy under hal
- added 19-blackberry-acl.fdi to add the access_control
capability to blackberry devices when they are
plugged in. As long as this file is under
the 10osvendor directory, then
20-acl-management.fdi runs after it, adding
the hal-acl-tool callout, which does the low
level getfacl/setfacl work on the /dev/bus/usb/*/*
device file.
related thread:
http://lists.freedesktop.org/archives/devkit-devel/2009-June/000247.html
- changed hal fdi policy to use "pda" instead of "scanner"
- applied Ryan Li's 7-bit GSM conversion patch for SMS records
- applied Ryan Li's barrybackup patch: can now select backup path
2009/06/26
- fixed install location of hal fdi files in debian and rpm
HAL reserves /usr/share/hal/fdi/information/10freedesktop
for files that the project itself distributes, so
we get to use 20thirdparty.
2009/06/24
- cleaning up autoconf warnings on Fedora 11
- changed buildgen.sh to run libtoolize first for all subprojects,
otherwise, a later project's run may copy files into ../m4
after having created configure for a previous project.
This would cause a makefile discrepency during the build
on some systems (Fedora 11), and cause configure to be
incorrectly regenerated mid-build, due to timestamps.
2009/06/21
- updated dependencies documentation page
2009/06/20
- added BadPacket exception, for socket errors that need to meddle
with the response code
- added special case for JavaLoader's Goodbye packet
On older devices, such as the 7750 and 7130, they respond
with a NOT_SUPPORTED error instead of an ACK, for Goodbye
packet commands. This is seen in Windows traffic as well,
so should not be considered an error. Thanks to Josh Kropf
for confirming this protocol behaviour.
- updated socket.cc to use new BadPacket exception where appropriate
- pulled from Josh Kropf: 0f1cca2fa69d0810d439ade4fb3dd0dfa15c89a6
- fixed size issue with deviceinfo command on 7130 devices
2009/06/19
- reworked autoconf rules to handle every kind of Boost dependency:
- let user enable/disable from configure, default to
disable, but error if enabled and not available
- let user specify separate include and lib paths, since
some Boost installations have an additional
boost-1.34.1 style directory in them
- default to no path overrides, using system defaults
- let user specify name of serialization library, since
the name of the library can change whether you're
building from source or not
- default to searching for boost_serialization or
boost_serialization-mt, and error if not found
- New configure switches are:
--enable-boost Handles enable/disable
--with-boost-include=path Override the include path
--with-boost-lib=path Override the lib path
--with-boost-serialization=name Override the name of
serialization library
to link with
- updated documentation, build test, and binary packages to use
new switches
2009/06/18
- added non-backward-compatibility note to man/btool.1
- applied Nicolas Vivien's LDIF patches, clarifying split
between work and home addresses, and adding support
for the homePostalAddress LDAP field
- fixed missing #includes for Fedora 11. Thanks to
Nathanael Noblet for reporting this.
- applied Ryan Li's PPP chat script for China Mobile
- added barry-chinamobile chat script to RPM and Debian packages
- renamed blacklist-berry_charge to blacklist-berry_charge.conf
for Debian sid and Fedora 11. Thanks to Rodrigo Linfati
for reporting.
- applied Nicolas Vivien's autoconf patch to automatically
search for boost_serialization or boost_serialization-mt
2009/05/12
- applied Dr. J A Gow's category patches (task + memo)
- fixed compile error when using Boost
- cleaned up Categories handling:
- s11n-boost.h
- Dump() should be consistent across Calendar, Memo, Task
- fixed i18n support to category names
- cleaned up code formatting to match surrounding code
- moved CategoryList to its own class, and removed duplicated
string conversion code
- removed protocol-specific MemoType and TaskType fields from
their corresponding record classes
2009/05/09
- applied Nicolas Vivien's Task builder patch for the Storm
and Bookmark documentation patch
2009/05/08
- applied most of Dr. J A Gow's recurring iCal sync patch
- did not include the pure upper case changes, since
it is an RFC bug in SynCE
see http://www.mail-archive.com/[email protected]/msg01109.html
- added starttime to RecurToBarryCal() args, to make the
prerequisites clear (StartTime must be determined before
recurrence is parsed)
- added check that COUNT is not zero (RFC requirement)
- fixed timezone drift: using gmtime() + mktime() uses two
different timezones... use localtime() + mktime() instead
- comment resizing
- reformatted if/else FREQ tests into a more readable
sequence, and fixed a logic error in the yearly count
advance, which should only happen when FREQ == YEARLY
- updated AUTHORS
2009/05/06
- going through www documentation, updating for 0.15
- updated man/btool.1 with new -a option
- updated TODO list with new reality
- applied Nicolas Vivien's phone call log parser patches
- added CallLog to s11n-boost.h
- added size checks to parser
- removed CallLogType, since it is protocol specific
- added and tidied comments
- made CallLog::Clear() match the class declaration order,
fixed missing member, and used enum names to set
enum defaults
2009/05/05
- applied Nicolas Vivien's task sync patches, with btool updates
- fixed "VTOTO" typo
- now that there's a Desktop::ClearDatabase() call,
use it in SaveDatabase() to reduce code duplication
- use separate vector<> clearDbNames in btool
to eliminate chance of mixing -d and -a argument
types and losing data
- reverted VNOTE change in vformat.c
- added VFORMAT_JOURNAL support to vformat.c based on
r2795 of the opensync vformat plugin
- fixed some TimeZoneValid flag mistakes in Task and Calendar
- display DueDateFlag in src/r_task.cc
- changed vtodo.cc so DTSTART is only set if available in BB data
2009/05/01
- applied Nicolas Vivien's zsh patch
- applied Nicolas Vivien's memo sync patch
- added MEMO_TYPE 'm' to built memo record
- updated btool to include new Memo builder
- updated config.rpath to latest from Debian stable
2009/04/27
- removed free() in tarfile.cc, since some distros have bugs in
th_get_pathname() that doesn't return a freeable string
2009/04/22
- fixed some missing headers as reported by Christopher Stover
- applied Ryan Li's SMS body null terminator strip patch
- fixed code formatting issues
- added comment on why we're stripping out nulls
- fixed potential single byte buffer overflow
- pulled from Josh Kropf: 8266c95a94
added "reset to factory" command to bjavaloader
- split creation of deb src tarballs into separate script
instead of tar-create.sh
- added more statements for the m4/ directory in configure.ac
and Makefile.am, attempting to eliminate build warnings
on FC10, as reported by Christopher Stover
2009/04/14
- applied Nicolas Vivien's sscanf patch (opensync-0.4x)
- wrapped OSyncList in vSmartPtr<> to automatically handle
all calls to new osync_list_free() API
- applied Ryan Li's updated SMS parser patch
- moved SMS metadata structure into its own struct
in protostructs.h
- fixed some endian conversion errors
- added strnlen() call to avoid null terminators in
the Addresses strings
2009/04/10
- added brimtrans to rpm spec file and debian install
2009/04/09
- fixed OSyncList* leak in 0.4x plugin from call to
osync_plugin_info_get_objtype_sinks()
2009/04/08
- added IConvHandle, making it possible to support more than one
charset in Blackberry data
- removed patches from opensync-plugin-0.4x 'make dist' target
- updated buildtest.sh for opensync 0.4x
2009/04/06
- updated man/bjavaloader.1
2009/04/04
- added Product ID 8001 for the Pearl Flip. Thanks to John Ladan
for reporting the new ID.
2009/04/03
- removed 0.22 opensync patches from 0.4x tree
- applied opensync Photo support patches from Nicolas Vivien
- renamed SequencePacket() to HideSequencePacket() for clarity
This is a temporary measure... this sequence packet
code needs to be cleaned up.
- added Photo support to examples/addcontact.cc
- removed try/catch from vcard/vevent, pending feedback from Nicolas
- applied Ryan Li's SMS record parsing patch
- changed capitalization to match other code
- added Sms to s11n-boost.h and required operator
- added Sms to btool.cc, record.h, and Makefile.am
- added size checks to the parser code
- cleaned up brackets and casting
- made dump output prettier (at least to me) :-)
- added "unknown" state for MessageStatus, as default
- cleaned up whitespace
- updated AUTHORS
- added endpoint override to Probe class while testing the 7130
When using btool's -e option, the Probe class still
attempted to probe endpoints as it saw fit.
2009/04/02
- fixed double-free bug in opensync 0.4x plugin
Can only report error or success once in a change.
- updated buildgen.sh to handle ctags for multiple opensyncs
- fixed inverted logic when doing a hashtable slowsync (opensync 0.4x)
- fixed uninitialized osync_trace args in both vformat.c files
2009/04/01
- opensync 0.4x changes due to upstream API updates
- removed idmap and cache code, in favour of opensync's
uid mapping and hashtables respectively
2009/03/31
- opensync 0.4x changes due to upstream API updates
- removed deprecated opensync header
- updated 0.4x plugin to use new slow-sync API
- updated 0.4x plugin to use new function registration and
user data API
- updated 0.4x plugin to use new sink list (API change)
2009/03/27
- changed PIN format from decimal to hex in opensync-0.4x plugin
config
- added special case so photo data does not print raw in btool dumps
- fixed call to trace.logf() in plugin code... should never call
a printf-like function unless you use a constant "%s"
- made opensync-0.4x:vformat.c's base64 routines const-correct
- fixed free()-crash bug in both vformat.c files
When generating the resulting VCARD data, vformat.c assigned
static strings to a dynamic heap list pointer, and the
later free always failed.
- merged some changes from Jose Sogo's Debian package work
- menu changes to conform with policy
- renamed opensync plugin package name to match Debian
- added Nicolas Vivien and Josh Kropf to debian/copyright
- fixed uninitialized variable in SocketZero
- fixed memory leak in tarfile.cc
- fixed uninitialized time struct in bjavaloader.cc (valgrind error)
2009/03/24
- fixed typo in zsh/_bjavaloader thanks to feedback from Nicolas V.
- pulled from Josh Kropf: 75b1a89e8b1eb9d89bcd8b5ecbed9a47af5a8930
added logstacktraces support to bjavaloader
- updated TODO list with "- All" database parsing
2009/03/13
- added git tag signing to maintainer scripts
- added signed tagging to release checklist doc
2009/03/11
- updated opensync-plugin-0.4x/README with build help
2009/03/10
- pulled from Josh Kropf: d6c3173ccd87c6223647950963da79331a68d712
added deviceinfo support to bjavaloader
- pulled from Josh Kropf: 272f371e8bb95b6c41a8293de657da45a782736f
new tool: brimtrans for dealing with RIM USB logs
- pulled from Josh Kropf: 7ed1df560ea7cc6a2205d8f8627c00c7aaed2294
added wipe support to bjavaloader
- added confirmation step to bjavaloader wipe, so it is harder to
accidentally wipe your device
- applied zsh patch from Nicolas Vivien for bjavaloader wipe
2009/03
- changes inspired from Rick Scott's XmBlackberry
- event log timestamp is a time_t in milliseconds
2009/03/07
- added Mode base class for common mode class code
2009/03/06
- reorganized external links by date and topic, and added link
to Nicolas Vivien's Blackberry on Linux documentation
2009/03/05
- pulled from Josh Kropf: b3d3a6f48fe008e8842c057df4a653a04b9c56ce
- compile fix when using __DEBUG_MODE__
- fixed timeout when calling JavaLoader::GetDir on device
with zero modules
2009/03/04
- fixed embarrassing incorrect exception messages in usbwrap.cc
Fortunately, these didn't affect my timeout testing.
- added Data::QuickZap(), so that usb read errors don't
return old data
- inlined Data::QuickZap()
- added usb_set_altinterface() call to Interface class