Index: groups.html =================================================================== --- groups.html (revision 8340) +++ groups.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config groups + +

The new config system in pcb-rnd

grouping - flat vs. tree

@@ -41,9 +46,9 @@

The main groups in the logical tree are: -

+
-
(root)   (config root) +
(root)   (config root)
|      
+- rc run control (program startup)
|       @@ -113,4 +118,5 @@ from the logical tree are converted into binary (native C values like "long int" or "double") and are saved in C variables for the code to access them directly. - + + Index: index.html =================================================================== --- index.html (revision 8340) +++ index.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config system + +

The new config system in pcb-rnd

Why, what was wrong with the old one?

Index: index_prog.html =================================================================== --- index_prog.html (revision 8340) +++ index_prog.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config programmer's index + +

The new config system in pcb-rnd

Programmer's documentation

@@ -5,4 +10,5 @@ TODO - + + Index: index_user.html =================================================================== --- index_user.html (revision 8340) +++ index_user.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config for users + +

The new config system in pcb-rnd

User documentation

@@ -25,7 +30,7 @@ config tree. The following diagram demonstrates all configuration related data flows.

- +[diagram]

The leftmost column of nodes are the sources. (Note: paths mentioned there are the default paths, for reference, it is possible to change them compile-time.) @@ -90,3 +95,5 @@ the lowest priority. This configuration file contains the default value for all settings. + + Index: lists.html =================================================================== --- lists.html (revision 8340) +++ lists.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config lists + +

The new config system in pcb-rnd

Lists and arrays

@@ -123,3 +128,6 @@
2. apply user X,Y,Z,A,B,C  
3. apply project X,Y,Z,A,B,C,D,E  
+ + + Index: noextend.html =================================================================== --- noextend.html (revision 8340) +++ noextend.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - old config + +

The OLD config system in pcb-rnd

If the config system is too static

@@ -57,3 +62,6 @@ to work for the simpler cases, but it was not powerful enough to express things like "use all system and user libraries first, then the project's local library" vs. "the project's local library has priority over system libraries". + + + Index: plugin_chk.html =================================================================== --- plugin_chk.html (revision 8340) +++ plugin_chk.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config plugin checklist + +

The new config system in pcb-rnd

Plugin programmer's checklist

@@ -5,3 +10,5 @@ TODO + + Index: prio.html =================================================================== --- prio.html (revision 8340) +++ prio.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config priorities + +

The new config system in pcb-rnd

Priorities

@@ -18,5 +23,5 @@ order of merge, which changes the order of items in the final list as config roots prepend and append items. - - + + Index: scalars.html =================================================================== --- scalars.html (revision 8340) +++ scalars.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config scalars + +

The new config system in pcb-rnd

Scalars

@@ -52,5 +57,5 @@ always use 'E' for the given setting while lets other users working on the same project use the value set in the project file. - - + + Index: sources.html =================================================================== --- sources.html (revision 8340) +++ sources.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config sources + +

The new config system in pcb-rnd

Sources

@@ -69,4 +74,5 @@ ("I always want to use mincut, so I enable it from my user's config with high priority and a version controlled project setting can not turn it off") - + + Index: syntax.html =================================================================== --- syntax.html (revision 8340) +++ syntax.html (revision 8341) @@ -1,4 +1,9 @@ + + + pcb-rnd - config syntax + +

The new config system in pcb-rnd

Config file syntax

@@ -21,7 +26,7 @@ TODO: is this really a list or a hash?

Each config root is a partial description of the - config tree (which is the logical + config tree (which is the logical configuration of all possible settings). Config roots have a policy and a priority attached. This is done in the name of the config root, which must be of the form of policy-priority, @@ -43,3 +48,6 @@

in project files

TODO + + +