David Tolnay
|
078c90fab6
|
Implement set_namespace helper for OutFile
|
2020-11-01 18:09:25 -08:00 |
|
David Tolnay
|
e3b39820d1
|
Recognize identical block being closed and opened
|
2020-11-01 18:09:25 -08:00 |
|
David Tolnay
|
f02146e4e2
|
Validate that block begins and ends are correctly paired
|
2020-11-01 18:09:25 -08:00 |
|
David Tolnay
|
2a160e4eff
|
Pass Block only by Copy
|
2020-11-01 18:09:25 -08:00 |
|
David Tolnay
|
53e593f309
|
Merge pull request #400 from dtolnay/blockcopy
Borrow syntax tree idents to make Block copyable
|
2020-11-01 18:09:16 -08:00 |
|
David Tolnay
|
8da98ca66b
|
Merge pull request #399 from dtolnay/block
Preserve meaning of block boundaries
|
2020-11-01 17:43:57 -08:00 |
|
David Tolnay
|
97c5b86913
|
Borrow syntax tree idents to make Block copyable
|
2020-11-01 17:31:56 -08:00 |
|
David Tolnay
|
92b7b6d575
|
Condense creation of GeneratedCode
|
2020-11-01 17:31:56 -08:00 |
|
David Tolnay
|
0c033e3917
|
Preserve meaning of block boundaries
|
2020-11-01 17:31:56 -08:00 |
|
David Tolnay
|
ac7188c871
|
Eliminate need for lifetimes in write::gen signature
|
2020-11-01 16:58:16 -08:00 |
|
David Tolnay
|
98565a2535
|
Keep apis usable later in sort_by_inner_namespace
|
2020-11-01 16:52:08 -08:00 |
|
David Tolnay
|
4ebde54fd3
|
Rename Namespace::none() to const Namespace::ROOT
|
2020-11-01 14:24:11 -08:00 |
|
David Tolnay
|
ce7b37ccb7
|
Remove unneeded cfg test stringified Namespace parser
|
2020-11-01 14:09:07 -08:00 |
|
David Tolnay
|
047707440c
|
Simplify gen_namespace_contents' extern block code
|
2020-11-01 13:52:18 -08:00 |
|
David Tolnay
|
e1476af761
|
Make Opt accessible via OutFile
|
2020-11-01 13:49:04 -08:00 |
|
David Tolnay
|
bd9608fd66
|
Move namespace sorter to alphasort module
To make room for an upcoming topological sorter in a toposort module.
|
2020-11-01 13:24:19 -08:00 |
|
David Tolnay
|
caab991cbc
|
Clean up namespace_organizer unit test
|
2020-11-01 13:22:40 -08:00 |
|
David Tolnay
|
73de7d0d52
|
Detach sort_by_inner_namespace from NamespaceEntries
|
2020-11-01 13:07:21 -08:00 |
|
David Tolnay
|
945c3cb903
|
Touch up sort_by_inner_namespace implementation
|
2020-11-01 13:05:01 -08:00 |
|
David Tolnay
|
ef796967e8
|
Remove 'kids' naming
|
2020-11-01 13:01:33 -08:00 |
|
David Tolnay
|
7943e504d9
|
Remove 'child' naming
|
2020-11-01 12:51:31 -08:00 |
|
David Tolnay
|
9e4e7504a0
|
Clarify the distinction of NamespaceEntries contents
|
2020-11-01 12:47:42 -08:00 |
|
David Tolnay
|
f8df1bed74
|
Condense an iter + collect into from_iter
|
2020-11-01 12:44:36 -08:00 |
|
David Tolnay
|
68a12180a8
|
Clean up get_ prefix from accessor method name
|
2020-11-01 12:42:03 -08:00 |
|
David Tolnay
|
6ec4111038
|
Condense get_namespace's match
|
2020-11-01 12:40:38 -08:00 |
|
David Tolnay
|
60e7aa67e2
|
Move non-boilerplate impls out of impls.rs
|
2020-11-01 12:37:28 -08:00 |
|
David Tolnay
|
fe40ff2b28
|
Tighten spacing in between forward declarations
|
2020-11-01 12:35:54 -08:00 |
|
David Tolnay
|
9de98d40ee
|
Clean up section spacing around namespace entries
|
2020-11-01 12:35:54 -08:00 |
|
David Tolnay
|
f9d34a11ed
|
Allow non-static string used as block header
|
2020-11-01 12:35:53 -08:00 |
|
David Tolnay
|
159e712a54
|
Format with rustfmt 1.4.22-beta
|
2020-11-01 12:35:44 -08:00 |
|
David Tolnay
|
7907966838
|
Switch to namespace = "quoted::path" in docs and tests
To preserve parity with item-level #[namespace = "..."] which is
currently restricted by rustc to a quoted string.
|
2020-11-01 09:12:05 -08:00 |
|
David Tolnay
|
f6fa7b1a22
|
Skip ui tests on macOS builder too
|
2020-11-01 00:29:46 -07:00 |
|
David Tolnay
|
299731330c
|
Merge pull request #397 from dtolnay/multiple
Collect apis from multiple cxx::bridge in the same file
|
2020-11-01 00:25:16 -07:00 |
|
David Tolnay
|
42e0d6fecd
|
Collect apis from multiple cxx::bridge in the same file
|
2020-11-01 00:11:07 -07:00 |
|
David Tolnay
|
9ca2ff26d2
|
Wrap gen::generate comment to 80 columns
|
2020-11-01 00:10:47 -07:00 |
|
David Tolnay
|
1192653a45
|
Move proc-macro2 fallback to before starting to parse
|
2020-11-01 00:06:10 -07:00 |
|
David Tolnay
|
7fa9d63336
|
Merge pull request #396 from dtolnay/fn
Fix fn arg representation to eliminate warning on rust 1.46+
|
2020-11-01 00:01:32 -07:00 |
|
David Tolnay
|
b8ebeb0e84
|
Fix fn arg representation to eliminate warning on rust 1.46+
|
2020-10-31 23:54:26 -07:00 |
|
David Tolnay
|
ace45fa942
|
Re-enable c_take_callback test
|
2020-10-31 23:38:49 -07:00 |
|
David Tolnay
|
98f2b5f6cd
|
Lockfile update
|
2020-10-31 23:38:01 -07:00 |
|
David Tolnay
|
36aa9e0bd8
|
Eliminate Slice<T>::Repr struct
|
2020-10-31 23:24:31 -07:00 |
|
David Tolnay
|
919085cd8b
|
Add builtin for PtrLen
|
2020-10-31 23:12:25 -07:00 |
|
David Tolnay
|
6890ea4d9d
|
Merge pull request #395 from dtolnay/builtin
Select builtins lazily during code generation
|
2020-10-31 23:12:14 -07:00 |
|
David Tolnay
|
74d6d51439
|
Select builtins lazily during code generation
|
2020-10-31 23:05:39 -07:00 |
|
David Tolnay
|
bc6ebde31e
|
Merge pull request #394 from dtolnay/builtin
Move builtin-related writes to builtin module
|
2020-10-31 23:05:32 -07:00 |
|
David Tolnay
|
3374d8d51b
|
Move builtin-related writes to builtin module
|
2020-10-31 22:56:03 -07:00 |
|
David Tolnay
|
2f3e90b10e
|
Move include-related writes to include module
|
2020-10-31 22:56:02 -07:00 |
|
David Tolnay
|
3e278d7252
|
Move ifndef extractor to module
|
2020-10-31 22:56:02 -07:00 |
|
David Tolnay
|
880d1f86e5
|
Handle Api::Include as part of root namespace contents
|
2020-10-31 22:56:02 -07:00 |
|
David Tolnay
|
e629c6453a
|
Defer writing builtins until after main content
|
2020-10-31 22:56:02 -07:00 |
|