Commit graph

81 commits

Author SHA1 Message Date
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
Brad Anderson
e8f706f1b7 Fix two WEB DDoc macros 2014-01-10 23:27:59 -07:00
Dmitry Olshansky
ac81385b2b adjust documentation to reflect new capabilities 2014-01-06 15:06:30 +04:00
Dmitry Olshansky
4e5b777432 fix issue 11808 2014-01-06 15:00:03 +04:00
Dmitry Olshansky
35f4e3e08f [trivial] remvoe trailing whitespace 2014-01-06 02:21:22 +04:00
k-hara
3e791f6bc6 Add import declarations for issue 313 & 314 2013-12-24 09:39:21 +09:00
Martin Nowak
c445f1c288 Merge pull request #1766 from jmdavis/deprecations
Move various deprecations along.

Conflicts:
    std/algorithm.d
    std/zip.d
2013-12-19 23:33:47 +01:00
Ilya
f1775bdc27 Fix issues #11771
improve std.uni intersect  `ref intersect()(dchar ch)`
Fix issues #11771
2013-12-19 15:15:55 +03:00
Daniel Murphy
654cb520ab Merge pull request #1785 from 9il/patch-2
std.uni: allow using "in"
2013-12-19 03:04:07 -08:00
Ilya
db17a50241 Update uni.d 2013-12-19 12:54:29 +03:00
Ilya
b8acdb3375 add unittest for bool opBinaryRight(string op: "in", U)(U ch) const 2013-12-19 12:34:12 +03:00
Ilya
e93d09e83a Update uni.d 2013-12-19 12:10:44 +03:00
Ilya
d8f9b59c15 allow using "in"
opIndex is const
2013-12-19 12:06:04 +03:00
jmdavis
efd6ea0cbf Move various deprecations along. 2013-12-11 23:44:12 -08:00
monarch dodra
8deaf7f5a7 Merge pull request #1699 from blackwhale/tweak-uni
Tweak unicode Trie generation speed
2013-12-10 12:05:16 -08:00
k-hara
64e0573940 fix property enforcement 2013-12-07 22:26:10 +09:00
Dmitry Olshansky
cf7c701c08 other tweaks for std.regex/ctRegex 2013-12-04 23:51:12 +04:00
Dmitry Olshansky
378224db3a tweak algorithm to actually fast-track zero-pages
Also significantly speed up replicateBits for single bit pattern case.
2013-12-04 23:50:33 +04:00
Dmitry Olshansky
f5b012eab7 refactor TrieBuilder 2013-12-04 23:49:53 +04:00
Dmitry Olshansky
42eb21616f Make MultiArray CTFE-able, workaround CTFE bug. 2013-12-04 23:48:05 +04:00
Jakob Ovrum
31a4357955 Add std.uni.byGrapheme and std.uni.byCodePoint 2013-12-03 22:06:30 +09:00
Adam D. Ruppe
5861654c7a import std.typecons outside unittests since it is needed 2013-11-27 09:53:33 -05:00
Dmitry Olshansky
87bff6186c split off rarely used unicode tables
This avoids parsing large files reducing parse time by 30 ms for me
(it took ~70ms to parse tables, now ~40ms).
And move hangul sets to Trie tables as well.
Also saves around 30Kb on "hello world" app.
2013-10-17 18:49:11 +04:00
Martin Nowak
5cecc7622d smaller executables
- Move all tables into functions or structs so that
  dmd's multilib will put them into separate archive
  objects. This allows the linker to only pick the
  tables that are actually used.
2013-10-16 09:03:53 +02:00
Martin Nowak
2ffda8c61c missing imports when using codepointTrie 2013-10-16 01:39:40 +02:00
Martin Nowak
4027518b74 use functions where applicable to reduce compile time/template bloat
- The semantic analysis and object generation only
  needs to be done once when building phobos.
  Using those overloads becomes a simple link dependency.

- add overloads for most common cases
2013-10-14 01:04:02 +02:00
Martin Nowak
26edfc624f deduplicate CodepointTries and leave the data in libphobos2.a
- Store the static immutable CodepointTries in separate functions.
2013-10-14 00:38:30 +02:00
Martin Nowak
f9e7a93d93 store other immutable tables in unicode_tables
- This is mainly for consistency with other tables.
2013-10-13 22:54:16 +02:00
Martin Nowak
45c873faf3 make case tables immutable
- Avoids redundant object copies and semantic
  analysis for every usage.

- Multilib archives or gc-sections will take care
  of the binary size issue.
2013-10-13 20:50:40 +02:00
Dmitry Olshansky
6ccde64322 reduce redundnant imports 2013-10-13 16:45:23 +04:00
Dmitry Olshansky
5ce8a6d538 tweak unicode_tables.d and related code to avoid CTFE in generated tables 2013-10-13 12:28:34 +04:00
monarch dodra
d9073b3a23 Merge pull request #1594 from blackwhale/fix-icmp
Fix regression in icmp
2013-09-26 07:27:17 -07:00
Dmitry Olshansky
9df179b65d fix issue 11057 [REG2.064dev] New std.uni has icmp() partly broken 2013-09-22 12:00:04 +04:00
Dmitry Olshansky
256b62b370 fix issue 11089 toUpper doesn't work with 1:m mappings
Also fixes a typo in generic toCase, adds test cases for
previously fixed issue 9629
2013-09-22 11:52:27 +04:00
monarch dodra
4721a44fb3 Merge pull request #1554 from 9rnsr/fix6178
Supplement fix fox issue 6178
2013-09-14 13:52:05 -07:00
Vladimir Panteleev
7ef599707e DDoc fixes 2013-09-09 06:38:29 +00:00
k-hara
e36292ebe5 Supplement fix fox issue 6178
AA value setting through alias this should not be allowed, because it could access invalid object state.
2013-09-08 19:10:55 +09:00
k-hara
aae9150736 Remove trailing spaces 2013-08-08 20:26:42 +09:00
k-hara
a8444987b0 Fix parenthesis 2013-08-08 20:26:37 +09:00
Dmitry Olshansky
9a053d97c2 new std.uni module 2013-07-20 23:00:34 +04:00
Hackerpilot
ae1dcaa3e1 Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace 2013-07-13 19:34:37 +00:00
jmdavis
8f7f6d69ac Remove some undocumented, deprecated functions which are slated for removal.
These have been deprecated for a while, but there was some balking
(primarily from Andrei IIRC) at actually removing them when they were
slated for removal, so they were instead made undocumented and slated
for removal after yet another 6 months or so. So, now that that time has
passed, here's another attempt to actually remove them.
2013-03-06 22:19:34 -08:00
k-hara
128aa9f8fc Remove remain redundant parenthesis. 2012-12-03 00:53:38 +09:00
monarch dodra
e6d4598bff New-style array declaration
Just 'cause this is D, and not C.
2012-11-20 22:26:16 +01:00
jmdavis
3d92608c47 Added more deprecation messages. 2012-10-15 21:40:36 -07:00
jmdavis
14c9a0ae44 Undocumented September deprecations.
The deprecated stuff scheduled for removal in September is now
undocumented and marked (in a normal comment) for removal in March 2013.
2012-09-30 04:15:56 -07:00
jmdavis
d283d5735c Move August removals to September.
Several deprecated items were listed for removal in August, but it's
looking likely that 2.060 will come out in August, and I'd prefer not to
have them removed for 2.060 given how many items are already in the
changelog, and they're already deprecated, so it'll only affect people
compiling with -d either way. So, I'm changing the ddoc comments to say
September instead of August. They'll be removed in 2.061.
2012-07-23 23:11:07 -07:00
H. S. Teoh
167d0c99c1 Capitalize Unicode throughout. 2012-02-24 16:21:06 -08:00
H. S. Teoh
945cb72b11 Fix broken docs caused by ambiguity with Ddoc syntax when we wrap lines
containing "category:".
2012-02-24 14:40:59 -08:00