| |
2607 |
2607 |
* improve documentation |
| |
2608 |
2608 |
* added handling of bson types for timestamps and dates |
| |
2609 |
2609 |
* provide setup based on mongo_db, mongo_collection and mongo_ns |
| |
2610 |
2610 |
* implemented type "reference" similar to "embedded" |
| |
2611 |
2611 |
* all referenced objects are for the time being auto-dereferenced |
| |
2612 |
2612 |
* new method "show" for mongo mapped classes |
| |
2613 |
2613 |
* added two new example files example-nx-reference-many.tcl and |
| |
2614 |
2614 |
example-nx-reference-one.tcl |
| |
2615 |
2615 |
* replaced "arg" by "type" in spec for mongo attributes to make |
| |
2616 |
2616 |
spec less stange |
| |
2617 |
2617 |
|
| |
2618 |
2618 |
- nsf.c: made potentially unknown clientData more safe (error message, |
| |
2619 |
2619 |
when something is passed via clientData to a method expecting |
| |
2620 |
2620 |
an object/class as clientData). |
| |
2621 |
2621 |
- renamed NsfNoDispatchObjectError() to NsfDispatchClientDataError(), |
| |
2622 |
2622 |
extended interface |
| |
2623 |
2623 |
- Makefile.in: fixed name methods.test |
| |
2624 |
2624 |
- nsf: renamed nsf::isobject to nsf::object::exists |
| |
2625 |
2625 |
- nsf: renamed nsf::qualify to nsf::object::qualify |
| |
2626 |
2626 |
|
| |
|
2627 |
- nx.tcl: added support for positional object parameter and |
| |
|
2628 |
removed special handling of the last argument for the init block; |
| |
|
2629 |
added attributes "position" and "positional" to ObjectParameterSlots, |
| |
|
2630 |
removed last argument of method "objectparameter" |
| |
|
2631 |
- nx.tcl: simplified createBootstrapAttributeSlots |
| |
|
2632 |
(second round of default value setting seems not necessary) |
| |
|
2633 |
- nx.tcl: some cleanup |
| |
2627 |
2634 |
|
| |
|
2635 |
|
| |
2628 |
2636 |
TODO: |
| |
2629 |
2637 |
|
| |
2630 |
2638 |
- the scripted init block is called before init. If the default |
| |
2631 |
2639 |
setting of the default parameters depend on each other, this has to |
| |
2632 |
2640 |
be set in the "init". But this won't be available in the init block. |
| |
2633 |
2641 |
This is not nice in the mongo case, where one has "mongo_ns", |
| |
2634 |
2642 |
"mongo_db" and "mongo_collection" which are related variables. |
| |
2635 |
2643 |
|
| |
2636 |
2644 |
- how to delete attributes? |
| |
2637 |
2645 |
|
| |
2638 |
2646 |
- Higher binary compatibility for future versions: |
| |
2639 |
2647 |
* It is not nice to have the full Nsf_Param structure in nsf.h |
| |
2640 |
2648 |
(required for Nsf_methodDefinition in the c code generator) |
| |
2641 |
2649 |
* It is not nice to have the full ParseContext structure in nsfmongo |
| |
2642 |
2650 |
(required for the allocation of the parse context in the stubs) |
| |
2643 |
2651 |
Adding fields to these structures would kill alder binaries |
| |
2644 |
2652 |
- not all converters have already external symbols |
| |
2645 |
2653 |
|
| |
2646 |
2654 |
- when alloc|dealloc are loaded via require, we have |
| |
2647 |
2655 |
no redefined-protection on those. Since the script does not know, |