Permalink
Browse files

several cleanups

  • Loading branch information...
Whiteknight committed Dec 9, 2011
1 parent 67899c4 commit a8ff7facaffaa53cd5ee353f9b469ccb06b556ff
Showing with 135 additions and 143 deletions.
  1. +6 −6 setup.winxed
  2. +40 −42 src/include/FileSystem.winxed
  3. +37 −39 src/include/Proxy.winxed
  4. +22 −24 src/include/Query.winxed
  5. +30 −32 src/include/String.winxed
View
@@ -397,20 +397,20 @@ function setup_include_headers(var rosella)
{
rosella["inst_wxheader"] = {
"src/include/Action.winxed" : "Rosella/Action.winxed",
+ "src/include/Builtins.winxed" : "Rosella/Builtins.winxed",
"src/include/CommandLine.winxed" : "Rosella/CommandLine.winxed",
+ "src/include/Core.winxed" : "Rosella/Core.winxed",
"src/include/FileSystem.winxed" : "Rosella/FileSystem.winxed",
+ "src/include/Harness.winxed" : "Rosella/Harness.winxed",
"src/include/Math_Builtins.winxed" : "Rosella/Math_Builtins.winxed",
"src/include/Proxy.winxed" : "Rosella/Proxy.winxed",
- "src/include/Random.winxed" : "Rosella/Random.winxed",
- "src/include/String.winxed" : "Rosella/String.winxed",
- "src/include/Test.winxed" : "Rosella/Test.winxed",
- "src/include/Builtins.winxed" : "Rosella/Builtins.winxed",
- "src/include/Core.winxed" : "Rosella/Core.winxed",
- "src/include/Harness.winxed" : "Rosella/Harness.winxed",
"src/include/Path.winxed" : "Rosella/Path.winxed",
"src/include/Query.winxed" : "Rosella/Query.winxed",
+ "src/include/Random.winxed" : "Rosella/Random.winxed",
"src/include/Repl.winxed" : "Rosella/Repl.winxed",
+ "src/include/String.winxed" : "Rosella/String.winxed",
"src/include/Template.winxed" : "Rosella/Template.winxed"
+ "src/include/Test.winxed" : "Rosella/Test.winxed",
};
}
@@ -1,45 +1,43 @@
-namespace Rosella {
- namespace FileSystem {
- // src/filesystem/FileSystem.winxed
- extern function get_os_pmc;
- extern function set_os_pmc;
- extern function is_file;
- extern function is_directory;
- extern function path_separator;
- extern function join_path_parts;
- extern function iterable_handle;
-
- // src/filesystem/Directory.winxed
- class Directory;
- namespace Directory {
- extern function current_directory;
- }
-
- // src/filesystem/Entry.winxed
- class Entry;
-
- // src/filesystem/FilePath.winxed
- class FilePath;
-
- // src/filesystem/File.winxed
- class File;
- namespace File {
- extern function get_filehandle;
- extern function set_filehandle_factory;
- }
-
- // src/filesystem/Visitor.winxed
- class Visitor;
- namespace Visitor {
- // src/filesystem/visitor/Delete.winxed
- class Delete;
-
- // src/filesystem/visitor/Function.winxed
- class Function;
-
- // src/filesystem/visitor/List.winxed
- class List;
- }
+namespace Rosella.FileSystem {
+ // src/filesystem/FileSystem.winxed
+ extern function get_os_pmc;
+ extern function set_os_pmc;
+ extern function is_file;
+ extern function is_directory;
+ extern function path_separator;
+ extern function join_path_parts;
+ extern function iterable_handle;
+
+ // src/filesystem/Directory.winxed
+ class Directory;
+ namespace Directory {
+ extern function current_directory;
+ }
+
+ // src/filesystem/Entry.winxed
+ class Entry;
+
+ // src/filesystem/FilePath.winxed
+ class FilePath;
+
+ // src/filesystem/File.winxed
+ class File;
+ namespace File {
+ extern function get_filehandle;
+ extern function set_filehandle_factory;
+ }
+
+ // src/filesystem/Visitor.winxed
+ class Visitor;
+ namespace Visitor {
+ // src/filesystem/visitor/Delete.winxed
+ class Delete;
+
+ // src/filesystem/visitor/Function.winxed
+ class Function;
+
+ // src/filesystem/visitor/List.winxed
+ class List;
}
}
View
@@ -1,55 +1,53 @@
-namespace Rosella {
- namespace Proxy {
- // src/proxy/Proxy.winxed
- extern function is_proxy;
- extern function get_private_attr_name;
- extern function add_proxy_class_private_attr;
- extern function get_proxy_private_attr;
- extern function set_proxy_private_attr;
- extern function add_vtable_override;
+namespace Rosella.Proxy {
+ // src/proxy/Proxy.winxed
+ extern function is_proxy;
+ extern function get_private_attr_name;
+ extern function add_proxy_class_private_attr;
+ extern function get_proxy_private_attr;
+ extern function set_proxy_private_attr;
+ extern function add_vtable_override;
- // src/proxy/Builder.winxed
- class Builder;
- namespace Builder {
- extern function get_builders;
+ // src/proxy/Builder.winxed
+ class Builder;
+ namespace Builder {
+ extern function get_builders;
- // src/proxy/builder/Array.winxed
- class Array;
+ // src/proxy/builder/Array.winxed
+ class Array;
- // src/proxy/builder/AttributeIntercept.winxed
- class AttributeIntercept;
+ // src/proxy/builder/AttributeIntercept.winxed
+ class AttributeIntercept;
- // src/proxy/builder/Immitate.winxed
- class Imitate;
+ // src/proxy/builder/Immitate.winxed
+ class Imitate;
- // src/proxy/builder/Immutable.winxed
- class Immutable;
+ // src/proxy/builder/Immutable.winxed
+ class Immutable;
- // src/proxy/builder/InvokeIntercept.winxed
- class InvokeIntercept;
+ // src/proxy/builder/InvokeIntercept.winxed
+ class InvokeIntercept;
- // src/proxy/builder/MethodIntercept.winxed
- class MethodIntercept;
+ // src/proxy/builder/MethodIntercept.winxed
+ class MethodIntercept;
- // src/proxy/builder/Passthrough.winxed
- class Passthrough;
+ // src/proxy/builder/Passthrough.winxed
+ class Passthrough;
- // src/proxy/builder/PMCKeyedHash.winxed
- class PMCKeyedHash;
+ // src/proxy/builder/PMCKeyedHash.winxed
+ class PMCKeyedHash;
- // src/proxy/builder/ProxyData.winxed
- class ProxyData;
+ // src/proxy/builder/ProxyData.winxed
+ class ProxyData;
- // src/proxy/builder/StringKeyedHash.winxed
- class StringKeyedHash;
- }
+ // src/proxy/builder/StringKeyedHash.winxed
+ class StringKeyedHash;
+ }
- // src/proxy/Controller.winxed
- class Controller;
+ // src/proxy/Controller.winxed
+ class Controller;
- // src/proxy/Factory.winxed
- class Factory;
- }
+ // src/proxy/Factory.winxed
+ class Factory;
}
function __load_proxy[anon, load, init]()
View
@@ -1,29 +1,27 @@
-namespace Rosella {
- namespace Query {
- class Provider;
- class Queryable;
- extern function as_queryable;
- extern function as_stream;
- extern function is_array;
- extern function is_hash;
- extern function array_or_hash;
- extern function default_provider_factory;
- extern function set_provider_factory;
+namespace Rosella.Query {
+ class Provider;
+ class Queryable;
+ extern function as_queryable;
+ extern function as_stream;
+ extern function is_array;
+ extern function is_hash;
+ extern function array_or_hash;
+ extern function default_provider_factory;
+ extern function set_provider_factory;
- namespace Provider {
- class Array;
- class Hash;
- class Scalar;
- class Factory;
- extern function get_array_provider;
- extern function get_hash_provider;
- extern function get_scalar_provider;
- extern function qsort;
- }
+ namespace Provider {
+ class Array;
+ class Hash;
+ class Scalar;
+ class Factory;
+ extern function get_array_provider;
+ extern function get_hash_provider;
+ extern function get_scalar_provider;
+ extern function qsort;
+ }
- namespace Queryable {
- class InPlace;
- }
+ namespace Queryable {
+ class InPlace;
}
}
View
@@ -1,40 +1,38 @@
-namespace Rosella {
- namespace String {
- // src/string/String.winxed
- extern function get_character_class;
- extern function first_not_cclass;
- extern function last_not_cclass;
- extern function trim_start;
- extern function trim_end;
- extern function trim;
- extern function sprintf;
- extern function pad_start;
- extern function pad_end;
- extern function remove_start;
- extern function remove_end;
- extern function remove_middle;
- extern function replace_all;
- extern function replace_first;
- extern function replace_skip;
- extern function indexof_start;
- extern function indexof_end;
+namespace Rosella.String {
+ // src/string/String.winxed
+ extern function get_character_class;
+ extern function first_not_cclass;
+ extern function last_not_cclass;
+ extern function trim_start;
+ extern function trim_end;
+ extern function trim;
+ extern function sprintf;
+ extern function pad_start;
+ extern function pad_end;
+ extern function remove_start;
+ extern function remove_end;
+ extern function remove_middle;
+ extern function replace_all;
+ extern function replace_first;
+ extern function replace_skip;
+ extern function indexof_start;
+ extern function indexof_end;
- // src/string/Tokenizer.winxed
- class Tokenizer;
+ // src/string/Tokenizer.winxed
+ class Tokenizer;
- namespace Tokenizer {
- // src/string/tokenizer/CClass.winxed
- class CClass;
+ namespace Tokenizer {
+ // src/string/tokenizer/CClass.winxed
+ class CClass;
- // src/string/tokenizer/Delimiter.winxed
- class Delimiter;
+ // src/string/tokenizer/Delimiter.winxed
+ class Delimiter;
- // src/string/tokenizer/DelimiterRegion.winxed
- class DelimiterRegion;
+ // src/string/tokenizer/DelimiterRegion.winxed
+ class DelimiterRegion;
- // src/string/tokenizer/Token.winxed
- class Token;
- }
+ // src/string/tokenizer/Token.winxed
+ class Token;
}
}

0 comments on commit a8ff7fa

Please sign in to comment.