-
Notifications
You must be signed in to change notification settings - Fork 4
/
Changes
16664 lines (12105 loc) · 544 KB
/
Changes
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
-----------
| Changelog |
-----------
February 1, 2012 - Jerome
o Constructors:
- Fixed bug with relative base URI in element constructors.
January 25, 2012 - Jerome
o Parsing:
- Fixed lexing issue with tokens after '/' that can only be in the
operator state.
o Constructors:
- Fixed some error cases when xmlns/xml names are used in
attribute or element constructors.
January 24, 2012 - Jerome
o Parsing:
- Added collation support in order-by clause.
January 23, 2012 - Jerome
o Rewritings:
- Fixed somewhat embarrassing bug on rewriting of overloaded
functions, not properly checking for all cases in union types.
- Fixed rewriting bug for overloaded function applied to anyURI,
revealed by the previous fix.
January 20, 2012 - Jerome
o Parsing:
- Fixed a few regressions introduced by the latest change to the parser.
o Streaming:
- Fixed an issue with code-selection for global variables,
streaming too aggressively.
o Type-checking:
- Fixed a bug in type intersection involving node().
January 19, 2012 - Jerome
o Parsing:
- Removing obolete rules leading to (harmless) shift/reduce.
- Cleaned up some unused tokens and lexing rules.
January 18, 2012 - Jerome
o F&O:
- Final fix to fn:subsequence, issue with NaN or INF as parameter.
- Fix to negative marker on fn:round resulting in -0 rather than 0.
January 17, 2012 - Jerome
o F&O:
- Fixed rounding issue with fn:subsequence.
January 10, 2012 - Jerome
o Configuration:
- Fixed bug in configuration generation introduced in previous patch.
o F&O:
- fn:doc-available returns false for the empty sequence, not empty.
January 10, 2012 - Jerome
o Lexing:
- Fixed lexical state issue arising from function types.
- Added -print-states [on/off] option to the top-level tokenizer.
January 7, 2012 - Jerome
o Configuration:
- Fixed lexing tool script for MacOSX.
January 6, 2012 - Jerome
o Lexing:
- Added a hook to the tokenizer from the command line, returning
the set of lexing tokens, along with the lexical state's stack.
Usage:
glx tokenize [files]
January 5, 2012 - Jerome
o Lexing:
- Removed Xmldecl_lexer, unused.
o Parsing:
- Computed processing instruction accepts no expression content.
- Direct processing instruction constructor checks for space after
NCName.
- Computed processing instruction names, should make sure to cast
to xs:NCName. (Note: cast to xs:NCName does not properly check
for facet constraints at this point).
o Overloaded functions:
- Fixed overloading of unary arithmetic operators over the empty
sequence.
o Date and time:
- Fixed rounding error when multiplying over a yearMonthDuration.
o Functions and operators:
- Added missing (new?) fn:doc-available, simply reusing fn:doc.
January 4, 2012 - Jerome
o Documentation:
- Some cleanup and basic update of the documentation.
o Configuration:
- Made the ./configure script more robust to variations in ocaml's
version number.
o Installation:
- Fixed installed makefile for update usecases.
January 3, 2012 - Jerome
o Parsing:
- Fixed minor issue with new-line normalization.
- Added strict conformance flag. Sample rule is no multiple
expressions in the main module.
- Fixed bug in parsing or processing instruction kind tests
provided as a string, succeedings even when not a validNCName.
- Fixed bug in parsing for attribute and schema-attribute node
kinds.
December 21, 2011 - Jerome
o Rewriting:
- Fixed slightly too aggressive rewriting rules for
fs:untyped-to-double, leading to errors in some cases.
December 20, 2011 - Jerome
o Normalization:
- Fixed odd bug on leading '/' and leading '//' not properly
checking for document node.
o Testing:
- Simple switch of XQTS to v103
- Added some missing test groups (some new namespace, errors, XML
1.1 tests)
o Parsing:
- Fixed bug in parsing of default typeswitch clause with a variable.
o XPath:
- Fixed a couple of issues with reverse axis and
following/preceding sibling (empty for attributes nodes).
o Configuration:
- Cleaned up a few wrong version references and links to Web site
in the code.
December 16, 2011 - Jerome
o Rewriting:
- Reverted slightly too aggressive rewriting rule for casting,
introducing a regression.
- Consolidated E1[E2] rewrite, making sure they are correct and
do not introduce regressions.
December 15, 2011 - Jerome
o Rewriting:
- Fixed some of the basic rewrites for E1[E2] when E2 is a
numeric, leads to better access times for those cases.
December 8, 2011 - Jerome
o Testing:
- Fixed serialization of XML optimized plans during testing
- Some fixes to the GLX tests catalog
December 8, 2011 - Jerome
o Streaming:
- Further cleanup of namespace resolution.
December 6, 2011 - Jerome
o GIT:
- Removed some files that shouldn't be tracked.
o Streaming:
- Slightly neater attribute resolution code.
December 6, 2011 - Jerome
o Streaming:
- Cleaned up some of the handling of namespace attributes.
December 6, 2011 - Jerome
o Streaming:
- Reduces namespace environment manipulation during stream
resolution, resulting in much faster processing in some cases.
December 5, 2011 - Jerome
o Build:
- Now builds on ocaml 3.12.1+rc1
- Upgraded all the major libraries:
- findlib 1.2.7
- pcre-ocaml 6.2.3
- pxp 1.2.2
- camomile 0.8.3
o Data model:
- Major revision of the streams support, now relying on a single
stream type, in an attempt to reduce the number of events
being copied.
March 30, 2011 - Jerome
o String matching:
- Fixed problem with tokenization of empty sequence, introduced
by latest fix.
March 9, 2011 - Jerome
o Build:
- Now builds on ocaml 3.12, with camomile 0.8
o String matching:
- Fixed serious bug in fn:tokenize (failing for consecutive
delimiters without text in between).
June 7, 2010 - Jerome
o Errors:
- Applied patch fixing typos in error messages. [Contributed by
Stephane Glondu]
May 11, 2010 - Jerome
o Lexing:
- Improved efficiency of keywords lexing.
o Usecases:
- Updates usecases now points to the right local executable.
April 19, 2010 - Jerome
o Modules:
- Improved propagation of errors during module import.
o Usecases:
- Cleaned up use case execution and installation.
February 9, 2010 - Jerome
o Toplevel:
- Made sure command-line help prints out details for their
respective sub-commands. 'glx help <subcommand>' and 'glx-map
help <subcommand>' now dispatch properly to 'glx <subcommand>
-help' and 'glx-map <subcommand> -help' respectively.
- Fixed 'glx -version' and 'glx-map -version'.
January 25, 2010 - Jerome
o Toplevel:
- Migrated xquery2soap to the glx-map command line tool.
- Reorganized the remaining command-line executable production
in the main Makefile for clarity.
January 22, 2010 - Jerome
o Toplevel:
- Migrated Xquery2xquery, Wsdl2xquery, Xquery2plan, xmlplan2plan
command lines tools to the glx-map command line tool.
- Migrated options for WSDL mapping to the generic option
support.
January 13, 2010 - Jerome
o Regression testing:
- Fixed the makefiles for regression testing, not using the new
command-line options.
o Toplevel:
- Removed obsolete galax-mapschema.ml file.
January 13, 2010 - Jerome
o Examples: More clean up of the Caml API example.
- Fixed the Caml API tests to use the proper result comparison
target.
- Made sure the install / compile / run / clean works properly.
January 12, 2010 - Jerome
o Examples:
- Fixed installed Makefile.galax to make sure the caml_api
examples compile properly. (Closes #2898247)
o Documentation:
- Started updating the documentation to reflect the new command
line tools. (Related #2928716)
- Removed unrelated JoinPlan.txt file in the documentation.
January 5, 2010 - Jerome
o Toplevel: More clean-ups of the command-line tools.
- galax --> glx
- New tool focused on mappings: glx-map
- galaxd --> glxd
- galax-test --> glx-test
- Fixed some module names with '-'.
- Added help message in case no specific directive is passed to
the command line-tool. e.g., glx help ; glx-map help
- Renumbered some of the TARGETS in the main Makefile.
December 15, 2009 - Jerome
o Toplevel:
- Added projection (untested and likely not working) to main
command-line tool: galax-project [options] --> galax project [options]
December 8, 2009 - Jerome
o Cleanup: Reviewed unused/uncompiled modules.
- Removed the unused Xquery_algebra_ast_annotation AST.
- Removed Glx_jabber from the target list (unmaintained extension).
- Made sure Factorize_global is compiling, and linked-in properly.
- Removed Demo_conf from .cmi targets, not linked into galax.cma.
- Removed shredded_load_update from .cmi targets, not used or
linked into galax.cma.
- Removed Galax_wrap from .cmi targets, not used or linked into
galax.cma.
- Made sure Stream_analysis_builtin and Stream_analysis are
compiling, and linked-in properly. Added some basic
'streaming' annotation to the core AST to do so. (Note: may
have been intended to algebraic annotation, but never seemed
to happen...)
December 1, 2009 - Jerome
o Configuration:
- Slight reorganization of the makefiles to allow for various
sub-components to share most of the configuration, and differ
on some of the target rules. Main galax configuration is now
in ./config/Makefile.galax.common
December 1, 2009 - Jerome
o Toplevel:
- Fixed bug in command-line usage processing, which wrongly
assumed it was always embedded in a galax executable, breaking
user-generated executables with galax libraries in them.
December 1, 2009 - Jerome
o Configuration:
Fixed issues related to circular module dependencies being
dropped during compilation of Galax.
- Moved some signature and type definitions used in DXQ from
server utilities to processing context.
- Eliminated a rarely (never?) used dependency of the AST
utils onto the AST pretty printer.
o Code reorganization:
Cleaned up some of the module dependencies and ensured properly
staged compilation order for all the Caml modules.
- Moved Logical_algebra_types from ./compilation to ./ast/Ast_logical_algebra_types.
- Moved Alg_path_struct from ./projection to ./ast/Ast_path_struct.
- Removed unused module in Streaming_ops (referencing the AST).
- Removed unused module in Code_execute to (referencing
Galax_server_util which is toplevel).
November 23, 2009 - Jerome
o Toplevel:
- Added schema parsing/mapping to main command-line tool:
galax-mapschema [options] --> galax xmlschema [options]
o Config:
- Fixed duplicate clean up of .depend files in some of the tools
(removing Warning).
November 23, 2009 - Jerome
o Documentation:
- Cleaned up the documentation generation so it doesn't choke on
nested URLs and properly generates the table of content.
November 23, 2009 - Jerome
o Toplevel:
- Started consolidating command-line executable under a single
'galax' command. New commands are:
galax-run [options] --> galax xquery [options]
galax-parse [options] --> galax xml [options]
galax-compile [options --> galax compile [options]
November 18, 2009 - Jerome
o Examples:
- Remove obsolete or incomplete examples directories.
November 12, 2009 - Jerome
o Parsing:
- Fixed error message properly pointing to DXQ option when parsing
DXQ programs.
o XQueryX embedding:
- Re-enabled parsing/printing of XQueryX embedding of DXQ
interfaces.
November 6, 2009 - Jerome
o Toplevel:
- Added build information to the version message.
November 6, 2009 - Jerome
o Web site:
- Updated the description of the compiler, reflecting the most
recent architecture, along with pointers to corresponding
specifications or published articles.
November 6, 2009 - Jerome
o Web site:
- Added pointers to DXQ articles.
- Fixed some of the material in optimization.
o Test suite:
- Fixed issue with test configuration, not running the separate
Galax test suite.
o Caml:
- Upgraded to O'Caml 3.11.1. Fixed some minor serialization
issues for floating point numbers resulting from changes in
the O'Caml standard library.
o Datatypes:
- Added proper interface for the datatype lexer.
October 29, 2009 - Jerome
o Web Site:
- Changes to the Web Site front pages for Sourceforge.
October 28, 2009 - Jerome
o Config:
- Minor cleanups of Makefiles. Notably missing clean targets in
website and regression.
October 15, 2009 - Jerome
o Minor fixes to top-level
o Changes to Web site
August 18, 2009 - Jerome
o Switched Galax to SVN server on sourceforge.
o A number of bug fixes at various places (hard to locate without
old CVS).
***** Tagged with galax-1-1 for GODI O'Caml release 3.10 *****
March 24, 2008 - Mary
o Typing_call
- Fixed insidious bug in Typing_call in which static type checking
for binary overloaded function call did not match on all
possible pairs of types, thus excluding valid output types,
which lead to type-based rewriting incorrectly converting the
overloaded/polymorphic call to a monomorphic call.
March 21, 2008 - Jerome
o Typing:
- Fixed wrong signatures for op:is-same-node, op:node-*.
***** RE-Tagged with galax-1-0 for GODI O'Caml release 3.10 *****
March 12, 2008 - Jerome
o Installation:
- Now installing the extensions examples directory.
- Added missing META.in.
o Serialization:
- Fixed a few issues with serialization (showing up while doing
the tutorial).
o Documentation:
- Added table of contents back.
- Pass on installation chapter. Added section on how to run the
W3C XQuery test suite.
- Removed the 'accessing and storing XML' part relating to Jungle
and datamodel, empty or obsolete.
- Added back chapter on APIs.
- Shuffled the chapters in the reference part (alignment is
renamed conformance and comes first, 'general' last).
- Removed tutorial part on serialization as well-formed,
buggy. Added text for more useful 'standard' mode.
- Pass on tutorial chapter added a short tutorial section on
printing compilation phases.
o Testing:
- Fixed the default config file to not point to the
Galax-specific test suite. (for distribution).
February 21, 2008 - Jerome
o Release:
- Changed the status to 'Stable'
o Documentation:
- Pass on Chapter 1.
February 21, 2008 - Jerome
o Debian:
- Folded in Stefano's patches.
o Documentation:
- Re-enabled documentation generation.
- Fixed some formatting issues.
***** Tagged with galax-1-0 for GODI O'Caml release 3.10 *****
February 12, 2008 - Mary
o Ran XQuery Test Suite
o Fixed the APIs
January 29, 2008 - Mary [DXQ]
o Galaxd:
BUG ALERT:
Added default configuration: Conf.set_materialize_tables Conf.Always;
Changes Conf.materialize_tables_kind from Analysis (i.e., always
do analysis) to Always, due to quadratic memory usage bug somewhere
in Alg_path_structutil.path_sequences_with_disjoint_roots
o Typing_expr:
Bugs in typing Eval and Insert.
o Webgui:
Added new graph-drawing for <node> and (sub)<tree>
o Top_util:
load_graph raises error if named graph does not exist.
o Procmod_phases:
Permitted code selection phase to be optional
January 14, 2008 - Mary [DXQ]
o Playing with Willow
December 5, 2007 - Mary
o Java API:
- Changes to get Java API to link
TODO: align examples/galapi/java_api
November 26, 2007 - Mary
o C API:
Makefile.galax: Had to add "-lrt" and CONF_C_LIBPCRE to C-API link
opitons.
November 16, 2007 - Mary [DXQ]
o Changed syntax of box-closure expression to:
for server P implement Q box { E }
Assumption is that closure will be evaluated at some server P
that implements interface Q, but we do not know the ultimate
destination.
NB: Now that we ship arbitrary code in closure, we have even more
motivation to distinguish between functions that are (1) location
dependent and/or (2) updating. We ue 'updating' modifier to
describe both, which conflates meaning. This will eventually bite
us when we want to optimize an expression for a particular server.
o Updated Willow example:
- Changes friend for a domain based on latency
November 7, 2007 - Mary [DXQ]
o Changed glx:gettime() to use Unix.gettimeofday()
o Fixed bug in normalization & code selection for
'for server P box { E }' to have same semantics as the remote
execute expressions.
November 6, 2007 - Mary [DXQ]
o Changed config files to use uniform graph format for neighbors and
latencies.
See examples/dxq/narada/latencies.xml & examples/dxq/willow/topology.xml
o Webgui:
Added "-t graph.xml" option to load initial neighbor topology from file.
October 25, 2007 - Jerome
o DXQ:
- Fixed precedence conflicts in the parser for boxstuff
expressions.
o Anonymization:
- Factored out occurrences of 'Galax' in strings into
a single constant, to facilitate anonymization. (SIGMOD stuff).
***** Tagged with galax-0-9-9 for Debian Release to Stefano Zacchiroli <[email protected]> *****
October 24, 2007 - Mary
o Documentation:
Woefully incomplete vis a vis Updates, XQueryP, APIs, etc.
o Code_selection:
Fixed insidious bug in code selection for references to imported
variable or imported function: Incorrectly returned
code-selection-context of imported module instead of importing
module.
o configure script:
Disabled C and Java APIs until we figure out what we want to do
with them.
o OCaml API examples:
Aligned with new processing model
October 23, 2007 - Jerome
o Unicode:
- Added support to change the location of Unicode character maps
through an environment variables.
October 16, 2007 - Mary [DXQ]
o Typing_expr:
Added default typing rules for update expressions so that
sub-expressions are also typed.
o Conf.mlp:
XQueryP is containted in DXQ: Fixed is_xqueryp() to account for
inclusion.
o Narada:
Initialized global variables to be non-empty, to avoid this bug:
[TODO : There is a nasty stack overflow bug in Subtyping_gluskov.includes:
Internal Error: Subtyping_gluskov.includes
small = element route of type xs:untyped, text?, element route of type xs:untyped (min 0) (max 0)
big = attribute * of type, (...rest of item()*...)
]
***** Tagged with galax-0-7-10 *****
October 15, 2007 - Mary
o Release:
- Set config/Makefile.galax RELEASE number to 0.7.10
Should this be 1.0...finally?!
October 15, 2007 - Mary [DXQ]
o Added two new constructs to DXQ: boxing an expression in a closure
and evaluating a boxed closure. This expression:
for server S box Expr
constructs a closure for Expr in the context of server
implementation S. The closure is an XML tree. This expression:
eval box Expr
unboxes the closure in Expr and evaluates the closure. A
rough definition of at-server-do (similarly, for-server-return) in terms
of box and eval:
at server S do E
===
let $v := for server S box E return
at server S do { eval box $v }
Semantics of these constructs still a bit fuzzy.
o Implementation required changes all the way from parser to code
selection and plan serialization.
October 10, 2007 - Jerome
o Join detection:
- Disabled rewriting of "some" into "let" to facilitate join
detection in a few specific cases (affects q10 in XMark).
- Changed how XMark query 10 is written (manual inlining of two
variables) to avoid issues with independance checking
interacting with optimization.
September 20, 2007 - Jerome
o Location hints:
- Fixed schema_import.mlp to use the new location hint calls.
September 20, 2007 - Jerome
** Please run configure again due to changes to detect Camomile's version **
o Galax Compilation:
- Fixes to ./configure to support camomile's version.
- Upgraded to Ocaml 3.10
(changes in compilation due to new camlp4)
- Added support for Camomile 0.7.* on top of Camomile 0.6.
(changes due to new library names)
- Now forcing use of Netsys, coming with latest ocamlnet.
o Join optimization:
- Another fix to the compiler, to properly clean-up selec
clause for join detection.
Sept 25, 2007 - Mary [DXQ]
o Grammar + Xquery_ast/Xquery_core_ast
- Added optional "implements URI [at Expr]" clause to module declaration:
"module" "namespace" NCNAME "=" URI ["implements" URI ["at" Expr]];
- GLXTS : Galax Test Suite
Added "Interfaces" test group for testing interfaces & modules
o Processing_context
- Location hints are completely managed in this module
- Now distinguish between interface, module and schema location
hints.
Sept 19, 2007 - Mary [DXQ]
o Grammar + Xquery_ast/Xquery_core_ast
- Added global server declaration to prolog:
"declare server NCNAME implements NCNAME at Expr;"
aligns with :
"let server NCNAME implement NCNAME at Expr return Expr"
It doesn't match other declarations that define namespaces:
e.g., "module namespace X = URI";
o Namespace_names + many normalization modules
Added support for interface and server prefixes:
- Extended Namespace_names.prefix to distinguish between interface
and server prefixes.
(Pre-requisite to implementing function shipping correctly.)
- Fixed scoping of declare/let-server prefixes and added static
checks that server-functions are actually defined in
corresponding interface.
Open questions/TODO
~~~~~~~~~~~~~~~~~~~
x Should globally declared server in a module be imported into
importing module? Right now, it's not, but it probably should
be.
x Norm_ident_top/expr are incomplete vis a vis declare-server and
let-server.
o DXQ Examples
Use new declare-server syntax
o General clean-up of Web GUI
Webgui:
- Flashplayer interface is now primary GUI
- Excised all SVG code and event reporting from HTML interface
- HTML interface only useful for quick access to servers'
programs, debug logs, and sending queries
- Still not very clean code, but there's a lot less to grapple
with
September 15, 2007 - Jerome
o Streaming:
- Disabled stream inside tuple fields because of some serious
problem with the streaming analysis...
September 13, 2007 - Jerome
o Compilation:
- Fixed bug in the compilation of where clauses, affecting some
queries with conjunctive/disjunctive predicates.
o Processing model:
- Added a debug option for the compiler.
o Namespaces:
- Fixed expected results for Usecase NS, and regression tests.
September 12, 2007 - Mary
o General clean-up of Web GUI
Webgui:
- Flashplayer interface is now primary GUI
- Excised all SVG code and event reporting from HTML interface
- HTML interface only useful for quick access to servers'
programs, debug logs, and sending queries
- Still not very clean code, but there's a lot less to grapple
with
September 10, 2007 - Mary
o General clean-up of DXQ server code
Galax_server_util:
- Contains server utility functions shared by Galax_server,
Galaxd, Webgui: server logging, signatures for server functions,
etc.
Galax_server:
- Consolidated GADS of replicated code:
queries from peers, queries from GUIs, error handling
- Defines HTTP/TCP and UDP server functions
- Builtin DXQ functions except those depending on
Thread/Mutex/Condition modules
- All calls to Browser/GUI isolated here
Galaxd:
- Thread server definition and definitions of thread primitives
exposed as builtin DXQ functions.
- Mainline for server start-up: reads directories, parses files,
etc., but does not handle query evaluation or call GUI. All
query evaluation and GUI I/O in Galax_server.
September 7, 2007 - Mary
(Warning: NS,SGML,XMP usecases currently failing regression)
o General clean-up of HTTP code
Http :
All HTTP functions (client-side, server-side, and rpc-like) are
now in http.ml. This module is in a "hybrid" state: the HTTP
get function is implemented using Http_client; all others are
implemented using home-grown HTTP request code.
Client-side functions only return HTTP message payloads (no
status or headers) and an raise exception if any status other
than 200/"OK" is received.
Galax_http :
Is replaced by Galax_url, which only handles URL decoding and
user-installed schemes.
September 4, 2007 - Nicola
o added a new function, glx:http-get-request() that (temporarily)
implements HTTP get calls with full HTTP/1.1 features (using Netclient),
until we fix and unify the HTTP support.
August 30, 2007 - Jerome
o Namespaces:
- Added a couple of optimizations to the namespace resolution
process.
- Now avoiding serialization of namespace bindings that are
already in scope.
August 29, 2007 - Nicola
o Workflows:
- Added support for HTML forms.
August 27, 2007 - Jerome
o XQueryP:
- Removed obsolete while normalization code.
August 27, 2007 - Jerome
o XQueryP:
- Fixed normalization of already normalized expressions with while
loops.
August 27, 2007 - Jerome
** NOTE: Complete re-implementation of while loops in XQueryP. It
has only been tested with simple kinds of while loops and
Narada. Please report any problem. **
o XQueryP:
- Full re-implementation of while loops. Now preserved as such all
the way down to the algebra. This fixes problems with variable
scoping, and (seems to) improve performances.
- Added proper checks in the parser for some of the XQueryP
expressions (while, letvar, set).
- Fixed the core pretty-printer for: while,letvar,set,imperseq
expressions.
August 23, 2007 - Jerome
o Join support:
- Re-enabled support for conjunctive normal form of predicates
during compilation of where clauses, needed to support proper
hash/sort-join detection. [Likely disabled by mistake]
August 23, 2007 - Jerome
o Rewritings:
- Fixed bug in inlining inside the fn:error() function.
o Updates:
- (Somewhat) improved performances for insert operations. Most
significant for "insert into" or "insert as first into".
** Note: insert into now behaves as insert as first!! Please use
explicit location to override that behavior.
August 21, 2007 - Jerome
o Testing:
- Updated the reference for the test results.
August 21, 2007 - Jerome
Feature Galax
Minimal Conformance 14555 / 69 / 14637 (99.4%)
Optional Features
Schema Import Feature 0 / 0 / 174
Schema Validation Feature 0 / 0 / 25
Static Typing Feature 46 / 0 / 46
Full Axis Feature 130 / 0 / 130
Module Feature 32 / 0 / 32
Trivial XML Embedding Feature 0 / 0 / 4
o Oops:
- Guarded printing of table materialization size by proper debug
flag.
o Namespaces:
- Fixed bug in the fn:in-scope-prefixes() function.
o XQueryP:
- Added support for multiple declarations in blocks.
In the style of: declare $x := 1, $y := 2;
o Testing:
- Re-generated expected plans for the Galax test suite, aligning
with the current compiler.
August 21, 2007 - Jerome
o Processing model:
- Fixed issue with compilation of main modules in the context of
the standard module. (semi-hackish)
August 17, 2007 - Jerome
o Testing:
- Cleaned up some dead-wood code in test_core.
o Updates:
- Propagated several bug fixes in the update usecases.
o DXQ:
- Fixed namespace issue related to I/O of query plans in XML.