forked from GNOME/libgda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-pre-4.0
14899 lines (11140 loc) · 546 KB
/
ChangeLog-pre-4.0
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
2009-03-16 Vivien Malerba <[email protected]>
* doc/C: doc. fixes
2009-03-15 Vivien Malerba <[email protected]>
* configure.in: set version to 4.0.0
Released 3.99.14
2009-03-14 Vivien Malerba <[email protected]>
* libgda/gda-config.c:
* tools/gda-sql.c:
* providers/jdbc/jni-wrapper.c: use the XDG Base Directory Specification to
get the directory where to store the defined data sources and fall back to
$HOME/.libgda if the directory does not exist
* tools/tools-input.c: store history file in $XDG_CACHE_HOME from
the XDG Base Directory Specification
2009-03-12 Vivien Malerba <[email protected]>
* providers/mysql/gda-mysql-meta.c: corrected AUTO INCREMENT attribute reporting
for tables' columns
2009-03-12 Vivien Malerba <[email protected]>
* libgda/gda-holder.c:
* libgda/gda-data-proxy.c:
* libgda/gda-error.[ch]:
* libgda/gda-types.[ch]:
* libgda/gda-meta-store.c:
* libgda/gda-set.c:
* libgda/gda-init.c:
* libgda/Makefile.am:
* libgda/gda-custom-marshal.[ch]:
- renamed gda-error.[ch] to gda-types.[ch] as more custom types are defined
- don't install the new gda-types.h file
- don't export the _get_type() symbols
- fixes for bug #574736
* libgda/gda-set.c:
* doc/C: fixes for bug #574741
* libgda/gda-set.[ch]: removed unused part in GdaSetSource and added padding
for future expansion to GdaSetNode, GdaSetGroup and GdaSetSource
2009-03-10 Vivien Malerba <[email protected]>
* libgda/gda-statement.c:
* doc/C:
- documents gda_statement_to_sql_real(), fixes bug #574738
- mention that GdaServerOperationNode is mainly for database provider's
implementations, for bug #574742
* libgda/gda-meta-struct.c: fixes documentation for
gda_meta_struct_get_all_db_objects(), fixes bug #574740
2009-03-09 Vivien Malerba <[email protected]>
* configure.in: set version to 3.99.14
Released 3.99.13
2009-03-07 Vivien Malerba <[email protected]>
* libgda/gda-value.c: improved performances on gda_binary_to_string()
and gda_string_to_binary(): removed g_memmove() usage and convert any
non ASCII printable char to an octal representation (don't bither with
unicode anymore)
2009-03-05 Vivien Malerba <[email protected]>
* libgda/gda-value.c: fix for bug #574193
* tests/Makefile.am:
* tests/test-ddl-creator.c: remove created DB before running test, and run
as a test
* tests/Makefile.am:
* tests/tests/test-bin-converter.c: new test for gda_binary_to_string()
and gda_string_to_binary()
2009-03-04 Vivien Malerba <[email protected]>
* configure.in: use ncurses if found instead of ncuses, fixes bug #574021
* tools/tools-input.c: currected compilation issue if readline is not found,
fixes bug #574020
2009-03-03 Vivien Malerba <[email protected]>
* configure.in:
* libgda/Makefile.am:
* libgda/gda-data-model-bdb.c:
* providers/bdb/Makefile.am: the berkeley db livrary is now loaded only
when needed: the libgda library is not linked directly with it anymore
2009-03-02 Vivien Malerba <[email protected]>
* tools/gda-sql.c:
- corrected the "\i" command
- corrected multi line commands handling
* tools/gda-threader.c: removed unnecessary warning
* tests/parser: added a new test which checks the parsing of whole script files
* libgda/sql-parser/gda-sql-parser.c: consider a single '#' to be the start of a comment
up to the end of the line for MySQL
* libgda/libgda.symbols: added missing symbols (gda_data_model_error_get_type and
gda_utility_data_model_find_column_description), and other corrections
* libgda/sqlite/: renamed symbols which are not supposed to be exported
2009-02-28 Vivien Malerba <[email protected]>
* configure.in: set version to 3.99.13
Released 3.99.12
2009-02-26 Vivien Malerba <[email protected]>
* libgda/libgda.symbols:
* libgda/gda-row.[ch]: added gda_row_invalidate_value() and gda_row_value_is_valid()
to be used by database providers' implementations to tag individual values in a GdaRow
as invalid (either because the value coud not be read or because the value could not
be intepreted as the requested data type)
* libgda/sqlite: SQLite provider's improvements:
- handle int64 types
- fixed a bug when using the '*' in a SELECT to get a blob data
- use the new gda_row_invalidate_value() API
* libgda/gda-data-access-wrapper.c:
* libgda/gda-data-model-array.c:
* providers/mysql/gda-mysql-recordset.c:
* providers/postgres/gda-postgres-recordset.c: use the new gda_row_invalidate_value() API
* libgda/gda-data-select.c: use the new gda_row_value_is_valid() API
* libgda/gda-data-model.c: gda_data_model_dump_as_string() and gda_data_model_dump ()
now display #### when the value of a column can't be obtained and displayed instead
of undefined result
2009-02-25 Vivien Malerba <[email protected]>
* providers/mysql: more work on the MySQL provider:
- some work on the parameters' binding to use the correct type (not
always MYSQL_TYPE_STRING
- don't pass the bound parameters to the GdaMysqlPStmt as it does not
use them
- double free problem in GdaMysqlRecordset
2009-02-25 Vivien Malerba <[email protected]>
* providers/mysql: more work on the MySQL provider:
- use a MYSQL_STMT per prepared statement
- if the same prepared statement is executed more than once and is
a SELECT, then use another MYSQL_STMT to avoid conflicting with
the previous one
2009-02-24 Vivien Malerba <[email protected]>
* libgda/sql-parser/gda-statement-struct.c:
* doc/C: doc. improvements
* libgda/gda-meta-struct.c: misc corrections
* libgda/gda-data-proxy.c: made it thread safe
* libgda/libgda.symbols:
* libgda/gda-util.[ch]: added gda_sql_identifier_split()
* providers/mysql/*: more MySQL provider work:
- remove double quotes around tables names when rendering SQL
- make sure the connection uses UTF-8
- corrected the handling of NULL values in GdaMysqlRecordset
- removed compilation warnings
- improved meta data retreival
- bug fixes
2009-02-23 Vivien Malerba <[email protected]>
* libgda/gda-connection.c: improved debug message
* libgda/sqlite/sqlite-src/Makefile.am: define the SQLITE_OMIT_LOAD_EXTENSION flag
to avoid having to link with libdl, possible fix for bug #572277
* providers/mysql/gda-mysql-meta.c:
* providers/mysql/gda-mysql-recordset.c: general MySQL provider improvements
* providers/mysql/gda-mysql-provider.c: possible fix for bug #572394
2009-02-22 Armin Burgmeier <[email protected]>
* libgda/gda-util.c (gda_utility_data_model_dump_data_to_xml): Don't
leak rcols, fixes bug #572734
2009-02-21 Armin Burgmeier <[email protected]>
* libgda/sqlite/gda-sqlite-provider.c:
gda_sqlite_provider_begin_transaction()
gda_sqlite_provider_commit_transaction()
gda_sqlite_provider_rollback_transaction(): Set error when statement
execution fails.
2009-02-21 Vivien Malerba <[email protected]>
* libgda/gda-meta-store.c: corrected gda_meta_store_schema_get_structure(), fixes
bug #542847
2009-02-18 Vivien Malerba <[email protected]>
* libgda/sqlite/sqlite-src: uses SQLite version 3.6.11
2009-02-18 Vivien Malerba <[email protected]>
* doc/C: doc. improvements regarding GdaDataHandler
* providers/mysql/gda-mysql-ddl.c:
* providers/postgres/gda-postgres-ddl.c:
* providers/postgres/gda-postgres-handler-bin.c:
* libgda/sqlite/gda-sqlite-handler-bin.c:
* libgda/handlers/gda-handler-type.c:
* libgda/handlers/gda-handler-bin.c:
* libgda/gda-data-handler.c;
* libgda/gda-server-provider.c: make sure the
gda_data_handler_get_sql_from_value() function is implemented in a
coherent way, fixed bug #572220
2009-02-17 Vivien Malerba <[email protected]>
* configure.in:
* providers/sybase/main.c:
* Makefile.w32: removed any obsolete reference to bonobo,
for bug #571879
* libgda/gda-value.[ch]:
* libgda/handlers/gda-handler-bin.c:
* providers/postgres/gda-postgres-handler-bin.c:
- fixed gda_string_to_binary() and gda_string_to_blob(),
for bug #572028
- removed the const from gda_value_take_binary() and
gda_value_take_blob()
2009-02-15 Vivien Malerba <[email protected]>
* samples/MetaStore/example.c: corrected the usage of
gda_connection_get_meta_store_data()
* libgda/gda-connection.c: when using gda_connection_get_meta_store_data()
with GDA_CONNECTION_META_FIELDS, accept the filter composed of
"name" (table name) and "field_name" as mentionned in the doc
2009-02-14 Vivien Malerba <[email protected]>
* samples/:
- added a new MetaStore example to show some examples of the
gda_connection_update_meta_store() function
- corrected some examples to compile correctly
* doc/C:
* libgda/gda-connection.c: improved documentation
2009-02-13 Vivien Malerba <[email protected]>
* configure.in: set version to 3.99.12
Released 3.99.11
2009-02-13 Vivien Malerba <[email protected]>
* libgda/gda-connection.c:
* doc/C: doc. updates
* libgda/libgda.symbols: removed non existant symbol
2009-02-09 Vivien Malerba <[email protected]>
* libgda/sqlite/virtual/: s/GdaVConnectionDataModelFunc/GdaVconnectionDataModelFunc/
* doc/C: doc. updates
2009-02-08 Vivien Malerba <[email protected]>
* doc/C:
* libgda/sql-parser:
* libgda/libgda.symbols:
- documentation improvements, fixes bug #570787
- removed symbols which should never have been public
2009-02-05 Vivien Malerba <[email protected]>
* libgda/gda-attributes-manager.c: applied patch for bug #569399 (tanks
to Carl-Anton Ingmarsson)
2009-02-05 Vivien Malerba <[email protected]>
* libgda/gda-attributes-manager.c: added locking in case several threads use
the same GdaAttributeManager at the same time, this may be the problem for
Anjuta bug #569399
* doc/C: doc. improvements
* libgda/gda-data-access-wrapper.c: when data model being wrapped does not have
random access but still can iter forward and backward, then use a pool of GdaRow
of limited size instead of keeping all the read rows in memory
* libgda/gda-connection.c:
* providers/postgres/gda-postgres-provider.c:
* libgda/sqlite/gda-sqlite-provider.c:
* providers/mysql/gda-mysql-provider.c:
* providers/skel-implementation/capi/gda-capi-provider.c: when calling the
statement_execute() virtual method, the requested data model's access mode
is checked and altered in GdaConnection to have a common behaviour.
* other files:
- s/GdaLockableClass/GdaLockableIface/
- s/GdaDataModelClass/GdaDataModelIface/
- added padding for future expansion to guarantee ABI stability
2009-02-04 Vivien Malerba <[email protected]>
* libgda/gda-data-model.c: fixed a bug where the number of rows was printed
after every line in gda_data_model_dump()
* WixInstaller: moved to installers/WindowsWix
* installers: new directory to store information and scripts about OS
specific installers
2009-02-03 Vivien Malerba <[email protected]>
* doc/C: doc fixes, for bug #570315
* libgda/sql-parser/gda-sql-parser.c: allow more characters in parameter names
* libgda-report/engine/gda-report-engine.c:
* samples/Report/customers-report-spec.xml:
* samples/Report/customers-report-rml.rml: changed the syntax of parameters
to avoid SQL parsing confusions (replace "/@" by "|@", "/#" by "|#" and
"/%nrows" by "|?nrows")
* libgda/sqlite/gda-sqlite-recordset.c: debug messages
* libgda/gda-data-select.c: applied patch for bug #570251 (thanks Armin)
* libgda/gda-data-model.c: avoid calling twice g_set_error() on the same
GError
* libgda/gda-connection.c: only show database objects which are visible by
default in gda_connection_get_meta_store_data(), fixes bug #570396
2009-02-02 Vivien Malerba <[email protected]>
* configure.in: set version to 3.99.11
Released 3.99.10
2009-02-02 Vivien Malerba <[email protected]>
* libgda/libgda.symbols: removed non exported symbols
2009-02-02 Vivien Malerba <[email protected]>
* tools/gda-sql.c: change the prompt from "cnc_name>" to "cnc_name[" when
in a transaction
2009-02-02 Armin Burgmeier <[email protected]>
* libgda/gda-data-access-wrapper.c
(gda_data_access_wrapper_get_value_at): Don't rely on an existing
row for models that support both forward- and backward iteration since
rows are not cached in iter_row_changed_cb() in that case. Instead,
recreate the row to fetch the requested value.
2009-02-01 Vivien Malerba <[email protected]>
* configure.in:
* libgda/binreloc/gda-binreloc.c: fix for MacOS X
* tools/gda-sql.c: ignore unknown arguments on the command line
2009-01-28 Vivien Malerba <[email protected]>
* libgda/sqlite/virtual/gda-vconnection-hub.h:
* libgda/gda-easy.c:
* libgda/sql-parser/gda-statement-struct.c:
* libgda/sql-parser/gda-statement-struct-parts.h:
* libgda/gda-set.h:
* libgda/gda-server-provider.c:
* libgda/gda-server-provider-extra.c:
* libgda-report/DocBook/gda-report-docbook-document.c:
* libgda-report/RML/gda-report-rml-document.c:
* libgda/gda-meta-struct.c:
* libgda/gda-holder.[ch]:
* libgda/gda-data-model-array.c:
* libgda/gda-data-model.c:
* libgda/gda-data-model-bdb.c:
* libgda/gda-column.h: doc updates
* libgda/libgda.symbols:
* providers/postgres/gda-postgres-handler-bin.c:
* libgda/sqlite/gda-sqlite-handler-bin.c:
* libgda/gda-column.h:
* libgda/handlers/gda-handler-time.c:
* libgda/handlers/gda-handler-boolean.c:
* libgda/handlers/gda-handler-numerical.c:
* libgda/handlers/gda-handler-type.c:
* libgda/handlers/gda-handler-string.c:
* libgda/handlers/gda-handler-bin.c:
* libgda/gda-data-handler.c:
* libgda/gda-data-handler.h: removed unused methods
2009-01-28 Vivien Malerba <[email protected]>
* libgda/gda-server-provider.c: fixed a bug where the connection would remain
locked.
* providers/postgres/gda-postgres-meta.c: fix for bug #143576
* po/: ran "make update-po"
2009-01-27 Vivien Malerba <[email protected]>
* libgda/gda-easy.c:
* libgda/gda-mutex.c:
* libgda/gda-meta-store.c:
* libgda/gda-value.c:
* libgda/gda-meta-struct.h: doc. updates
2009-01-27 Vivien Malerba <[email protected]>
* libgda/libgda.symbols:
* libgda/gda-easy.[ch]: added gda_insert_row_into_table_v() and
gda_update_row_in_table_v() to facilitate C++ bindings; fixes bug #568484
* libgda/gda-easy.c:
* libgda/gda-meta-store.c:
* libgda/gda-util.c:
* libgda/gda-config.c: fixed memory leaks
* configure.in:
* libgda/gda-config.c: if available, use GIO to monitor config files changes
instead of FAM or gamin, fixes bug #486021
2009-01-26 Vivien Malerba <[email protected]>
* doc/C:
- added section about SQL parsers and how to write a database specific
one in a database provider
- misc. improvements
* providers/skel-implementation/capi/gen_def.c:
* providers/firebird/gen_def.c:
* providers/mysql/gen_def.c:
* providers/postgres/gen_def.c: removed unused #define in generated header file
* libgda/libgda.symbols: removed symbols not existing anymore
* providers/jdbc/Makefile.am: include the MANIFEST.MF in distributed tarballs,
fixes bugs #568388 and #568353
* providers/gda-mysql-recordset.c: add unsigned information when binding
for output to avoid data being truncated, fixes bug #561748
2009-01-25 Vivien Malerba <[email protected]>
* tools/test_blob.sh: new script used to test database provider's blobs
implementations
* providers/postgres/gda-postgres-provider.c: correct a double free problem
and prevent memory leaks in some cases
2009-01-24 Vivien Malerba <[email protected]>
* libgda/sql-parser/parser_tokens.h: removed unnecessary token names
* libgda/gda-server-provider-extra.[ch]: code cleanup, improved
documentation
2009-01-24 Vivien Malerba <[email protected]>
* providers/skel-implementation/capi/gen_def.c:
* providers/skel-implementation/capi/Makefile.am:
* providers/firebird/gen_def.c:
* providers/firebird/Makefile.am:
* providers/mysql/gen_def.c:
* providers/mysql/Makefile.am:
* providers/postgres/gen_def.c:
* providers/postgres/Makefile.am: corrected parser's symbols translations
* libgda/sql-parser/parser.y: allow identifiers to be enclosed between
single quotes
* libgda/sql-parser/gda-statement-struct-util.c:
gda_sql_identifier_remove_quotes() also accepts single quotes around
identifiers
* libgda/sql-parser/gda-sql-parser.c: added debug information
* tests/parser/testdata.xml: added more test cases
This fixes bug #568844
2009-01-23 Vivien Malerba <[email protected]>
* sqlite/gda-sqlite-provider.c: partial fix for bug #568844
2009-01-23 Vivien Malerba <[email protected]>
* documentation fixes, see bugs #568731 and #561178.
2009-01-21 Vivien Malerba <[email protected]>
* libgda/sqlite/gda-sqlite-meta.c: fix for bug #568570
* libgda/gda-value.c: corrected gda_value_new_timestamp_from_timet()
to correclty handle the results of localtime() (thanks to Tim Lapawa)
2009-01-19 Vivien Malerba <[email protected]>
* configure.in: set version to 3.99.10
Released 3.99.9
2009-01-19 Vivien Malerba <[email protected]>
* libgda/sqlite/sqlite-src: reverted to 3.6.7 because of bug #568093
* other files: documentation updates
2009-01-18 Vivien Malerba <[email protected]>
* libgda/sqlite/gda-sqlite-provider.c: fix for bug #568165
* libgda-report/RML/gda-report-rml-document.c:
* providers/skel-implementation/models/gda-models.h:
* providers/skel-implementation/capi/gda-capi.h:
* libgda/sqlite/virtual/gda-virtual-provider.c:
* libgda/sqlite/virtual/gda-vprovider-data-model.c:
* libgda/sqlite/virtual/gda-vprovider-hub.c: applied patch
for bug #568163 (thanks to Halton Huo)
2009-01-15 Vivien Malerba <[email protected]>
* libgda/Makefile.am:
* libgda/gda-threader.[ch]:
* libgda/libgda.symbols:
* tools/Makefile.am:
* tools/gda-threader.[ch]: removed GdaThreader from Libgda and moved it
to the gda-sql console which uses it, as this API is not well thought enough
(fixes bug #561175)
* libgda/gda-data-model.h: typedef enum GdaDataModelError
* libgda/gda-data-proxy.c: removed unused gda_data_proxy_get_model(), and
made gda_data_proxy_append() static
* libgda/gda-server-operation.c: improved documentation, for bug #561178
* Makefile.am: also distribute getsp.java and getsp.class
* libgda-report/Makefile.am: also distribute libgda-report.symbols
* doc/C:
- fix for bug #561173
- updated documentation
- cleanups
* libgda/sqlite/sqlite-src: now uses SQLite 3.6.10
* libgda/gda-value.c: made gda_value_list_copy() and gda_value_list_free() static
* libgda/gda-data-model.c:
* libgda/gda-data-model-private.h: made gda_data_model_to_xml_node() static
2009-01-12 Vivien Malerba <[email protected]>
* configure.in: set version to 3.99.9
Released 3.99.8
2009-01-12 Vivien Malerba <[email protected]>
* libgda/sql-parser/gda-statement-struct-parts.c:
* doc/C: doc. improvements
* libgda/libgda.symbols:
* libgda/gda-easy.[ch]: implementation of INSERT/UPDATE/DELETE convenience
functions (with some API Corrections!)
* samples/SimpleExample/example.c: use the convenience API
* libgda/gda-util.c: bug fixed
* providers/postgres/gda-postgres-meta.c: bug fixed (on partial meta data update)
2009-01-09 Vivien Malerba <[email protected]>
* tools/web-server.c:
* libgda/libgda.symbols: Win32 build corrections
2009-01-09 Vivien Malerba <[email protected]>
* libgda/gda-util.[ch]: added gda_compute_select_statement_from_update()
* libgda/sqlite/:
- added BLOB support for the SQLite provider
- report an error when getting a gint from a too big gint64 value
* tests/: updated test data related to the gda_g_type_to_string() changes
* configure.in
* tools/:
- added a '-v' command line option to display version
- added a man page for gda-sql
- optionnally create symlink from "<prog>" to the "<prog>-4.0" program names
2009-01-06 Vivien Malerba <[email protected]>
* tools/: embedded web server improvements:
- fix a bug where big data models were truncated
- UI corrections
- multiple simultaneous consoles now works
* libgda/sqlite/virtual/gda-vconnection-hub.c: only bind the tables
which require a complete name (<schema>.<name>)
2009-01-05 Vivien Malerba <[email protected]>
* tools/: now display result sets as an HTML table which can be resized
* providers/jdbc/GdaInputStream.c: removed unused variable
* libgda/gda-util.c:
- gda_g_type_to_string(): be more coherent
- gda_utility_data_model_find_column_description(): test GValue
existence before getting its value
2008-12-31 Vivien Malerba <[email protected]>
* configure.in: set version to 3.99.8
Released 3.99.7
2008-12-31 Vivien Malerba <[email protected]>
* doc/C/gda-sql-manual.xml: documentation for SQL console's embedded HTTP server
* po/: ran "make update-po"
2008-12-30 Vivien Malerba <[email protected]>
* libgda/gda-util.[ch]: added gda_utility_data_model_find_column_description(),
thanks to Carlos Savoretti
* libgda/gda-config.c:
- avoid memory leaks with provider's DSN spec and AUTH spec strings
- close all GModules after having go tthe list of providers)
* providers/*/libmain.c: don't leak memory when module is closed
* providers/jdbc/libmain.c: make sure the GModule is made resident because
the Java runtime is not completely unloaded (don't know how to do it)
* libgda/gda-connection.[ch]:
- cleaned unused GDA_CONNECTION_*_ERROR codes
- improved documentation, see bug #565019
* doc/C: doc. improvements
2008-12-29 Vivien Malerba <[email protected]>
* libgda/gda-data-model-iter.h: #define gda_data_model_iter_move_at_row to
gda_data_model_iter_move_to_row
* tools/Makefile.am: corrections to have "make distcheck" work
2008-12-26 Vivien Malerba <[email protected]>
* libgda/gda-quark-list.c: remove leading and trailing white spaces in both
key and value for each (<key>=<value>) pair (if a key or a value needs white
spaces, they need to encode them as "%20")
* tools/: improvements to the GDA SQL console's web server part:
- added authentication, based on a token (a string) the client must enter upon
request (then uses a cookie)
- added a terminal emulator to enter commands as one would do on a normal xterm
- reworked the CSS
- added binreloc feature
* libgda/gda-data-model.c: applied patch to correct a bug in
gda_data_model_get_typed_value_at(), thanks to Tim Lapawa
* providers/skel-implementation/capi/capi_specs_create_table.xml.in:
* providers/firebird/firebird_specs_create_table.xml.in:
* providers/sqlite/sqlite_specs_create_table.xml.in:
* providers/jdbc/jdbc_specs_create_table.xml.in:
* providers/mysql/mysql_specs_create_table.xml.in
* providers/postgres/postgres_specs_create_table.xml.in: don't define any column
when creating a GdaServerOperation for table creation, fixes bug #565618
* doc/C:
* libgda/gda-connection.c: doc. update
2008-12-18 Murray Cumming <[email protected]>
* libgda/gda-server-provider.[h|c]: Correct spelling of prefered_type
parameter to preferred_type.
2008-12-16 Vivien Malerba <[email protected]>
* libgda/sqlite/sqlite-src: up to version 3.6.7
2008-12-16 Vivien Malerba <[email protected]>
* libgda/gda-meta-struct.[ch]:
* libgda/gda-column.[ch]:
* libgda/gda-holder.[ch]: added a GDestroyNotify argument to gda_*_set_attribute()
because this API design was not correct, this breaks the API, see bug #564402
The gda_*_set_attribute_static() has been defined to reproduce the previous behaviour
* libgda/gda-meta-struct-io.c: use gda_meta_table_column_set_attribute_static()
* libgda/gda-attributes-manager.c: documentation corrections
* providers/postgres/gda-postgres-meta.c: fixed a bug the SQL code
* configure.in: detect size of C types used by MD5 implementation
* libgda/global.h: fixed MD5 computation error (make sure a four byte word is used)
* tests/value-holders/check_holder.c:
* tests/value-holders/check_set.c: use gda_holder_set_attribute_static()
* other misc files: minor corrections to remove compilation warnings.
2008-12-16 Murray Cumming <[email protected]>
* libgda/gda-data-model-iter-extra.h: Rename
gda_data_model_iter_move_at_row_default() to
gda_data_model_iter_move_to_row_default().
* libgda/gda-data-model-iter.[h|c]: Rename
gda_data_model_iter_move_at_row() to
gda_data_model_iter_move_to_row().
* libgda/gda-data-model.c:
* libgda/gda-data-proxy.c:
* libgda/gda-data-select.c:
* libgda/sqlite/virtual/virtual-test.c: Adapt.
2008-12-15 Murray Cumming <[email protected]>
* libgda/gda-connection.h:
* libgda/gda-data-comparator.h:
* libgda/gda-meta-store.h: Removed trailing , in enums to avoid
warnings.
* libgda/gda-connection.c:
* libgda/sqlite/gda-sqlite-provider.c:
* providers/skel-implementation/capi/gda-capi-provider.c: Corrected
g_set_error() calls to avoid warnings because I had the parameters in
the wrong order.
2008-12-14 Przemysław Grzegorczyk <[email protected]>
* libgda/gda-init.c:
* libgda/gda-config.c:
* libgda/sqlite/gda-sqlite.h:
* libgda/gda-value.c:
* libgda/gda-value.h:
* libgda/gda-util.c:
* libgda/gda-util.h:
* libgda/gda-server-provider.c:
* libgda/gda-server-operation.c:
* libgda/gda-quark-list.c:
* libgda/gda-quark-list.h:
* libgda/gda-log.c:
* libgda/gda-log.h:
* libgda/gda-data-model.c:
* libgda/gda-data-model-array.c:
* libgda/gda-column.c:
* libgda/gda-column.h: Cleared up glib includes
to use only toplevel headers. Bug #564274.
2008-12-11 Murray Cumming <[email protected]>
* Many files: Add an extra "%s" arguement to g_set_error() calls,
to avoid warnings about the lack of format and arguments.
We should really use g_set_error_literal() instead but that requires
glib 2.18
2008-12-11 Vivien Malerba <[email protected]>
* libgda/gda-connection.c: fix for bug #564159
2008-12-10 Vivien Malerba <[email protected]>
* libgda/libgda.symbols:
* libgda/Makefile.am:
* libgda-report/libgda-report.symbols:
* libgda-report/Makefile.am:
- use a DEF file on Windows to only export the
correct symbols (in the initialized data and the text (code) sections)
- create import libraries (.lib) files
* tools-input.[ch]:
* tools/gda-sql.c: use a main loop for characters input notification instead of
locking on a readline function
* configure.in
* tools/Makefile.am
* tools/html-doc.[ch]
* tools/web-server.[ch]: optionnally run a small embedded web server (if
libsoup is installed) to display meta data information in a browser
* libgda/gda-easy.[ch]: applied patch from Daniel Espinosa for bug #529794
* libgda/gda-data-model.c: calling gda_data_model_dump() with a NULL FILE*
now prints to stdout
* libgda/gda-meta-struct.c:
- removed debug messages
- better API documentation
2008-12-01 Vivien Malerba <[email protected]>
* tools/gda-sql.c: simplified the result of the -L option (now only returns the
provider name and its description for each installed provider)
* tools/command-exec.c:
- corrections when listing tables or views
- if no object is found in the default "search path", then it is also
looked up in all the schemas
* tools/tools-input.c: correclty handle history
* providers/jdbc/*:
- JNI related bug fixes
- meta data now also retreives table's columns information
- added some code specific to Apache Derby
* libgda/gda-connection.c:
* libgda/gda-meta-struct.c: replace "='BASE TABLE'" with "LIKE '%TABLE%'"
* libgda/gda-meta-struct.[ch]: added gda_meta_struct_complement_all()
2008-11-29 Vivien Malerba <[email protected]>
* libgda/gda-config.c: shared libraries corresponding to providers' implementations
can now implement more than one provider type (used by the JDBC provider which
implements a provider per JDBC driver found)
* providers/postgres/gda-postgres-recordset.c: comments corrections
* libgda/gda-data-select.c: code indentation
* libgda/gda-quark-list.c: shorter code which corrects potentially double free
problem
* tools/gda-sql.c:
* providers/postgres/gda-postgres-blob-op.c:
* libgda/dir-blob-op.c:
* libgda/gda-value.c:
* libgda/sqlite/virtual/gda-vprovider-data-model.c: minor corrections
* configure.in:
* getsp.class: new JAVA detection
* po/POTFILES.in:
* providers/Makefile.am
* providers/jdbc: new provider which wraps JDBC, giving access to many
databases: pure JAVA databases such as H2, Derby, HSQLDB (used by
OpenOffice.org's Base component) or any other database with a JDBC driver,
see the providers/jdbc/doc/index.html file for more information
* tests/data-models/check_virtual.c: set up test environment
* libgda/gda-data-select.h: added gda_data_select_get_connection() which
is already implemented and documented (Carlos Savoretti)
* libgda/gda-meta-struct.c: set the GDA_ATTRIBUTE_DESCRIPTION attribute for
table's columns (Carlos Savoretti)
* providers/mdb/libmain.c: correctly use binreloc to detect provider's ressources
location
* doc/C: doc. update
* po/: ran "make update-po"
2008-11-27 Johannes Schmid <[email protected]>
* libgda/gda-connection.c (gda_connection_get_meta_store_data_v):
Fixed crasher caused by wrong condition in for loop
2008-11-21 Vivien Malerba <[email protected]>
* libgda/dir-blob-op.c: fixed the "write" virtual method
* tools/gda-sql.c:
- added the "setex" command which sets a parameter either from a table's
value or from the contents of a file (as a blob)
- added the "export" command to export a parameter or a table's value to
a file
- lines starting with a # are considered as a comment and ignored
- added the '-i' option to keep the console after a script has been executed
* libgda/gda-value.[ch]: added gda_value_new_blob_from_file() as a convenience
function
* libgda/gda-column: doc. improvements
* libgda/gda-blob-op.c:
* doc/C:
- improved documentation for provider's developpers about blob operations
- moved the gda_column_set*() to the provider's developpers section
- updated the gda-sql console commands description (.setex end .export commands)
* providers/postgres/gda-postgres-provider.c:
- fixed prepared statement names using static counters to avoid naming collisions
- remove savepoint correction
- better transaction control when using blobs
* providers/postgres/gda-postgres-blob-op.c:
- don't keep the blob "opened" at all times
- correctly handle transaction states when accesing the blob
* providers/postgres/gda-postgres-recordset.h: fixed indentation
* libgda/sqlite/gda-sqlite-provider.c: note for future implementation of
BLOBS
* providers/skel-implementation/capi/gda-capi-blob-op.c:
* providers/skel-implementation/capi/gda-capi-provider.c: corrections to the
default provider's skeleton implementation
2008-11-17 Murray Cumming <[email protected]>
* doc/C/gettingstarted.xml:
* doc/C/libgda-4.0-docs.sgml:
* doc/C/tmpl/gda-batch.sgml:
* doc/C/tmpl/gda-sql-statement.sgml:
* doc/C/tmpl/gda-statement.sgml: Correct the spelling of grouped in
the documentation.
2008-11-10 Vivien Malerba <[email protected]>
* configure.in: set version to 3.99.7
Released 3.99.6
2008-11-10 Vivien Malerba <[email protected]>
* libgda/gda-easy.[ch]: modified the gda_perform_create_database() and
gda_perform_drop_database() to add the provider's name as 1st argument, for
bug #529794
* tests/test-cnc-utils.c: adaptations to API changes
* libgda/gda-init.c: set the default value of gda_numeric_locale and gda_lang_locale
to "" instead of NULL so if people forget to call gda_init() then they won't have a
crash when using any of there variables
* libgda/gda-data-model.[ch]: use real error codes with g_set_error()
* libgda/binreloc/gda-binreloc.c: make binreloc work again correctly on Win32
2008-11-05 Vivien Malerba <[email protected]>
* libgda/gda-config.c: don't try to load a shared library if
it does not have the "plugin_init" symbol
* providers/skel-implementation/capi/libgda-capi-4.0.pc.in: typo error
* testing/gda-provider-status.c: small pointer error correction (Daniel Espinosa)
2008-11-05 Massimo Cora' <[email protected]>
* libgda/gda-holder.c (real_gda_holder_set_const_value):
fixed a bug in returning wrong static values.
2008-10-26 Vivien Malerba <[email protected]>
* configure.in:
* providers/skel-implementation/models/Makefile.am:
* providers/skel-implementation/capi/Makefile.am:
* providers/firebird/Makefile.am:
* providers/bdb/Makefile.am:
* providers/sqlite/Makefile.am:
* providers/mdb/Makefile.am:
* providers/mysql/Makefile.am:
* providers/postgres/Makefile.am: limit the providers' list of exported symbols
* providers/skel-implementation/capi/parser.y:
* providers/firebird/parser.y:
* providers/mysql/parser.y:
* providers/postgres/parser.y:
* libgda/sql-parser/parser.y:
* libgda/sql-parser/delimiter.y:
- don't compute debug string if not debugging,
- reported modifications from the PostgreSQL and SQlite's providers's
parsers to other providers
2008-10-25 Vivien Malerba <[email protected]>
* tools/gda-sql.c:
* doc/C/libgda-4.0-sections.txt:
* doc/C/prov-writing.xml:
* doc/C/libgda-4.0-docs.sgml:
* doc/C/tmpl/gda-server-provider.sgml:
* doc/C/tmpl/gda-data-handler.sgml:
* providers/mysql/gda-mysql-ddl.c:
* providers/mysql/gda-mysql-provider.c:
* providers/postgres/gda-postgres-ddl.c:
* providers/postgres/gda-postgres-provider.c:
* libgda/gda-server-provider.c:
* libgda/gda-server-provider.h:
* libgda/gda-statement.c: s/gda_server_provider_get_data_handler_gtype/
gda_server_provider_get_data_handler_g_type
2008-10-25 Vivien Malerba <[email protected]>
* libgda/gda-column.c:
* libgda/sql-parser/gda-statement-struct-insert.c:
* libgda/sqlite/gda-sqlite-provider.c:
* providers/firebird/gda-firebird-provider.c:
* providers/mysql/gda-mysql-provider.c:
* providers/postgres/gda-postgres-provider.c:
* providers/skel-implementation/capi/gda-capi-provider.c: memory leaks corretions,
for bug #546339
* libgda/gda-holder.c: improved error messages (Carlos Savoretti)
* providers/mysql/gda-mysql-meta.c:
* providers/mysql/gda-mysql-provider.c:
* providers/mysql/gda-mysql-recordset.c:
* providers/mysql/gda-mysql-util.c: improvements to the MySQL provider (Carlos Savoretti)
2008-10-19 Vivien Malerba <[email protected]>
* libgda/gda-data-select.c: don't copy GdaColumn objects from the prepared statement,
but simmply g_object_ref() them
* libgda/gda-data-comparator.[ch]: fix for bug #556960
* libgda/gda-attributes-manager.c: performances improvements, for bug #556327
2008-10-18 Vivien Malerba <[email protected]>
* libgda/gda-data-select.[ch]: added gda_data_select_compute_columns_attributes()
which implements what was in gda_data_model_iter_compute_attributes(), better to
make it there since it was specific to the GdaDataSelect object
* libgda/gda-data-model-iter.[ch]: removed gda_data_model_iter_compute_attributes()
* libgda/sqlite/gda-sqlite-provider.c:
* providers/mysql/gda-mysql-provider.c:
* libgda/gda-data-proxy.c:
* libgda/gda-holder.c:
* tests/value-holders/check_holder.c:
* libgda/gda-easy.c: minor bug fixes
* libgda/gda-set.[ch]: removed dead code and declarations
2008-10-15 Vivien Malerba <[email protected]>
* providers/mysql/gda-mysql-pstmt.[ch]:
* providers/mysql/gda-mysql-blob-op.[ch]:
* providers/mysql/gda-mysql-provider.c:
* providers/mysql/gda-mysql-recordset.[ch]: corrections for cursor based access SELECT
statements, thanks to Carlos Savoretti
* libgda/gda-data-model-iter.[ch]: added the gda_data_model_iter_compute_attributes()
method to force the iterator to compute and set the correct attributes for
each of its GdaHolder; a separate method is required because computing them
all the time consumes too much ressources, see bug #556327
2008-10-15 Johannes Schmid <[email protected]>
* libgda/Makefile.am: Install gda-error.h header
* libgda/gda-error.c (gda_error_get_type):
Fixed a typo (GDaError <-> GdaError), for bug #556258
2008-10-13 Vivien Malerba <[email protected]>
* libgda/gda-error.[ch]: declare a GDA_TYPE_ERROR by registering a boxed type
for GError
* libgda/gda-custom-marshal.[ch]: implement custom marshallers where needed
* libgda/gda-column.c: moved custom marshaller to libgda/gda-custom-marshal.[ch]
* libgda/gda-data-proxy.c:
* libgda/gda-holder.c:
* libgda/gda-set.c: implemented custom marshallers for the following signals:
- GdaSet::validate-set
- GdaSet::validate-holder-changed
- GdaSet::holder-attr-changed
- GdaHolder::attribute-changed
- GdaHolder::validate-change
- GdaDataProxy::validate-row-changes
for bug #555905
* tests/data-models/check_data_proxy.c:
* tests/value-holders/check_set.c: updated test to check new marshallers
* libgda/gda-data-model.c: either display a warning or set error when a requested
method is not implemented
* libgda/binreloc/gda-binreloc.c: correctly handle the case where the libdir is lib64
* libgda/gda-statement.c:
* libgda/gda-data-comparator.c:
* libgda/gda-data-proxy.c:
* libgda/gda-custom-marshal.h:
* libgda/gda-marshal.c:
* libgda/gda-custom-marshal.c:
* libgda/gda-set.c:
* libgda/gda-marshal.h:
* libgda/gda-threader.c:
* libgda/Makefile.am:
* libgda/gda-config.c:
* libgda/gda-connection.c:
* libgda/gda-meta-store.c:
* libgda/gda-holder.c:
* libgda/gda-column.c:
* libgda/gda-server-operation.c: renamed gda_marshal* to _gda_marshal* so that these symbols
are not exported in the final library anymore (now only 853 symbols exported!)
* providers/mysql/gda-mysql-provider.c: honor the "USERNAME" and "PASSWORD" in
the auth_string
* doc/C: doc. update
2008-10-10 Vivien Malerba <[email protected]>
* libgda/handlers/gda-handler-type.c: use g_value_[sg]et_gtype() instead of
g_value_[sg]et_ulong()
* providers/postgres/gda-postgres-recordset.c: correclty handle the G_TYPE_GTYPE
values as the string representation must be converted to a GType (the type
is not stored as a string representation of its numerical value)
* libgda/gda-statement.[ch]: removed gda_statement_deserialize() as it's not
implemented
* libgda/gda-value.h: added a reserved pointer to GdaNumeric be able to maniuplate
GdaNumeric structures using the GMP library
* libgda/gda-data-model.c: