Remove global class registry
Replaced by the class array in CFCParcel.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/682278c4
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/682278c4
Store CFCClass pointer in CFCMethod
Store a weak pointer to the class containing the method.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/a0e051a0
Tree:
Switch some code over to CFCClass_in_parcel
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/bea2a98f
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/bea2a98f
Diff:
Use WeakPtr in CFCType
Weaken the parcel pointer, allowing to store a class array in CFCParcel
later.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/7ce20fd2
Tree:
Merge branch 'cfc-parcel'
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/d601b8b8
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/d601b8b8
Diff:
Remove classes array from CFCHierarchy
Replaced by class array in CFCParcel.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/8fbf9c96
Tree:
Rework setup of parent/child relationship
Set up parent/child relationship of classes in CFCParcel. Connect and
sort classes in a single function.
Make sure that prereq parcels are registered first.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit:
Store class array in parcel
Store an array of all classes that belong to a parcel in CFCParcel.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/22e055c3
Tree:
Remove CFCHierarchy_ordered_classes
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/89712636
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/89712636
Diff:
Add CFCParcel_class functions
Search classes in a parcel by name or struct symbol.
In most cases, it's important to only search classes in a parcel or
its direct prerequisites. Otherwise, classes from random other parcels
could be picked up.
Project:
Stop tracking parcels that are inherited from
This code was unused. The original idea was to allow circular
dependencies between parcels as long as they don't inherit classes
from each other. This is an unimportant feature that had to be solved
differently, now that we specify prereqs in .cfp
Add CFCClass_in_parcel and CFCClass_in_same_parcel
Simple but useful helper functions.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/bfd19d20
Tree:
Rework URI resolution
Add CFCMethod_get_docucomment to get inherited CFCDocuComment.
Use correct base class when resolving URIs. Only search parcel and
prereqs for full struct symbols. Also search prereqs for short struct
symbols. Search all source parcels and their prereqs for standalone .md
Repository: lucy-clownfish
Updated Branches:
refs/heads/master ab9d38830 -> d601b8b8b
Implement CFCWeakPtr
We mostly avoided circular references in CFC so far, although it's
often useful to have pointers to a parent or ancestor in the tree
structures CFC operates on. Weak pointers allow to
Use WeakPtr in CFCClass
Weaken the parcel pointer. This allows to store a class array in
CFCParcel later.
Also weaken the parent pointer, so that the circular reference doesn't
have to be broken manually.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit:
Add CFCType_get_class
Store a weak pointer to CFCClass in CFCType for object types.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/850d69bf
Tree:
Sort class arrays of parcels
Some of the code generators require that parent classes are processed
before subclasses. Sort the class array accordingly when building the
hierarchy.
Also sort subclasses by class name to guarantee a consistent order.
This should make the CFC output completely
Simplify CFCBindMeth_method_def
Remove unneeded static functions.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/821bf0d0
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/821bf0d0
Diff:
Store CFCClass pointer in parser state
Store a CFCClass pointer instead of the class name.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/1ff6ed0f
Tree:
19 matches
Mail list logo