phobos/std/internal
Martin Nowak 9d73d18c0c fix Issue 16291 - EncodingScheme.create fails
- add EncodingScheme.register overload that references the registered class
- just adding the FQN name of a class does not reference that class, so
  it must not end up in the binary and subsequently EncodingScheme.create failed
- This used to work by chance b/c all the EncodingScheme implementations
  were in a module w/ static ctor. Any user of std.encoding did drag in
  that ModuleInfo, which in turn referenced all classes of std.encoding.
  Since moving the static ctor to std.internal.phobosinit to break a
  cycle, the classes were no longer referenced by a ModuleInfo w/ shared
  ctor, so they wouldn't end up in the binary unless explicitly
  referenced elsewhere.
- deprecate the old EncodingScheme.register(string fqn) b/c relying on
  Object.factory is slow, error prone (linkage), and really unnecessary
- import encodinginit in std.encoding so that the
  std_encoding_shared_static_this callback actually gets run
2016-10-05 01:54:22 +02:00
..
digest
math Added const and immutable to several variables in std.internal.math.biguintcore 2016-07-26 15:54:26 -04:00
test
windows
cstring.d csting: add opIndex to result 2016-09-14 12:49:07 -07:00
encodinginit.d fix Issue 16291 - EncodingScheme.create fails 2016-10-05 01:54:22 +02:00
processinit.d fix Issue 16580 - spawnShell segfaults on macOS 2016-10-04 23:56:38 +02:00
scopebuffer.d
unicode_comp.d Mark the internal unicode code as package 2016-09-15 08:42:57 +01:00
unicode_decomp.d Mark the internal unicode code as package 2016-09-15 08:42:57 +01:00
unicode_grapheme.d Mark the internal unicode code as package 2016-09-15 08:42:57 +01:00
unicode_norm.d Mark the internal unicode code as package 2016-09-15 08:42:57 +01:00
unicode_tables.d Mark the internal unicode code as package 2016-09-15 08:42:57 +01:00