Commit graph

  • 645b191948 Removed todo garbage. Ferdinand Majerech 2014-07-26 23:38:59 +0200
  • f07aaeef87 Reader UTF decoding is now private. Ferdinand Majerech 2014-07-26 23:37:56 +0200
  • a8c32430ed Minor style. Ferdinand Majerech 2014-07-26 23:32:25 +0200
  • ebe10ad8c4 Removed the Error and ErrorData aliases. Ferdinand Majerech 2014-07-26 23:31:13 +0200
  • 2e7de5f9ed checkDocumentStart func attribs. Ferdinand Majerech 2014-07-26 23:30:13 +0200
  • d5663b1e57 Scanner style. Ferdinand Majerech 2014-07-26 23:29:55 +0200
  • f76e4cfd02 Queue copyright. Ferdinand Majerech 2014-07-26 23:25:08 +0200
  • 424e6e5f98 Queue whitespaces. Ferdinand Majerech 2014-07-26 23:24:41 +0200
  • 2688591c6a Better func attribs in Queue. Ferdinand Majerech 2014-07-26 23:23:59 +0200
  • 9d480d1723 scanDirective is now nothrow and mostly @nogc. Ferdinand Majerech 2014-07-26 18:26:39 +0200
  • 14a8e31fa5 Minor cleanup. Ferdinand Majerech 2014-07-26 18:20:57 +0200
  • f11fbf3b36 scanTagDirectiveValue returns handle length with return value, not ref param Ferdinand Majerech 2014-07-26 18:19:26 +0200
  • 271eca053a scanYAMLDirectiveValue is now nothrow @nogc. Ferdinand Majerech 2014-07-26 18:15:50 +0200
  • 58b42750aa scanYAMLDirectiveNumber now scans to slice. Ferdinand Majerech 2014-07-26 18:08:39 +0200
  • e055506b29 nothrow and some @nogc in tag directive scanning. Ferdinand Majerech 2014-07-26 17:48:50 +0200
  • d190b9d839 scanDirective now uses a slice. Ferdinand Majerech 2014-07-26 17:37:20 +0200
  • f48d254350 Updated copyright statement in parser.d Ferdinand Majerech 2014-07-26 16:43:39 +0200
  • 388b74b332 Stripped spaces. Ferdinand Majerech 2014-07-26 16:43:02 +0200
  • db7fecf960 directiveToken no longer stores multiple values by zero-separating. Ferdinand Majerech 2014-07-26 16:41:04 +0200
  • b5259e6ada Directive type is now a Token data member. Ferdinand Majerech 2014-07-26 16:38:15 +0200
  • 3ae7c713ef Added a directive type enum. Ferdinand Majerech 2014-07-26 16:37:38 +0200
  • 27bccabca4 scanDirectiveIgnoredLine is now nothrow @nogc. Ferdinand Majerech 2014-07-26 13:42:22 +0200
  • 5133257201 scanAnchor is now nothrow. Ferdinand Majerech 2014-07-26 13:31:31 +0200
  • 60e0270ffa A function to simplify building 'expected, but found' error messages. Ferdinand Majerech 2014-07-26 13:18:03 +0200
  • cf014150ca Renamed setError() to error() for more compact error handling. Ferdinand Majerech 2014-07-26 13:06:35 +0200
  • 33110e295e scanAlphaNumeric, scanDirectiveName are now nothrow @nogc. Ferdinand Majerech 2014-07-26 12:50:58 +0200
  • e256d4c004 Removed the no longer used Appender from Scanner. Ferdinand Majerech 2014-07-26 04:24:30 +0200
  • f9ede1c409 scanAlphaNumeric and callers now work with slices. Ferdinand Majerech 2014-07-26 04:20:32 +0200
  • 8b086caa40 Default scanToNextBreak now only skips, doesn't scan anything. Ferdinand Majerech 2014-07-26 03:16:27 +0200
  • ccdbc21e8f Style Ferdinand Majerech 2014-07-26 03:16:01 +0200
  • 08f8168889 SliceBuilder assert fixes. Ferdinand Majerech 2014-07-26 03:07:32 +0200
  • acc7617fab Forgotten SliceBuilder methods that enable new Scanner code. Ferdinand Majerech 2014-07-26 03:06:51 +0200
  • 09b11470ac scanBlockScalar is now nothrow. Ferdinand Majerech 2014-07-26 02:53:05 +0200
  • 6e2b9a7511 Code determining if a func scanned anything replaced by checking slice length. Ferdinand Majerech 2014-07-26 02:49:52 +0200
  • 0ce9dc0b3a lineBreak is a dchar instead of an array now. Ferdinand Majerech 2014-07-26 02:41:42 +0200
  • 701b01dd20 Removed non-slice scanBlockScalarBreaks. Ferdinand Majerech 2014-07-26 02:34:28 +0200
  • f2cda9e799 Style. Ferdinand Majerech 2014-07-26 02:34:02 +0200
  • a19131417e Updated alternate commented out code in scanBlockScalar Ferdinand Majerech 2014-07-26 02:33:49 +0200
  • fb93ad7cf1 scanBlockScalar now reads to a slice... and is a lot more complicated. Ferdinand Majerech 2014-07-26 02:33:16 +0200
  • 7bbd5ab5b3 Style. Ferdinand Majerech 2014-07-26 02:29:27 +0200
  • e38120c6db A version of scanToNextBreak that reads to a slice. Ferdinand Majerech 2014-07-26 02:27:11 +0200
  • 6dbe9ad4ae Refactored 2 alternate slices in scanBlockScalar into one. Ferdinand Majerech 2014-07-25 23:50:04 +0200
  • 0aa321f8c5 A ToSlice version of scanBlockScalarBreaks. Ferdinand Majerech 2014-07-25 23:48:28 +0200
  • 537c3c06f3 scanBlockScalarIndentation now scans into caller's slice. Ferdinand Majerech 2014-07-25 23:45:47 +0200
  • 45468bff68 @nogc scanBlockScalarBreaks/scanBlockScalarIndentation. Ferdinand Majerech 2014-07-25 23:40:18 +0200
  • 3cf56c8061 scanBlockScalarIgnoredLine is now nothrow @nogc. Ferdinand Majerech 2014-07-25 21:22:44 +0200
  • b5bbd2a03b Style fixes. Ferdinand Majerech 2014-07-25 21:15:14 +0200
  • ea3b696a8e scanBlockScalarIndicators is now @nogc. Ferdinand Majerech 2014-07-25 21:12:33 +0200
  • 537eccc597 scanTag is now nothrow. Ferdinand Majerech 2014-07-25 18:28:08 +0200
  • 4e3619cf6a Using buildMsg to simplify error messages. Ferdinand Majerech 2014-07-25 18:27:21 +0200
  • 1b5eea58bf Style. Ferdinand Majerech 2014-07-25 18:26:23 +0200
  • 93a99ad7ca A shortcut function to build error messages. Ferdinand Majerech 2014-07-25 18:26:08 +0200
  • 6403b2da63 scanTagURI is now nothrow (not @nogc due to std.utf.decode) Ferdinand Majerech 2014-07-25 17:33:54 +0200
  • f12e0104a6 Removed an unneeded import Ferdinand Majerech 2014-07-25 17:30:51 +0200
  • b3ef48f41f printNoGC now supports const(dchar). Ferdinand Majerech 2014-07-25 17:30:35 +0200
  • fe33be52e4 scanTagHandle is now nothrow @nogc. Ferdinand Majerech 2014-07-25 16:55:15 +0200
  • 3574555c3a Fixed a recent bug. Ferdinand Majerech 2014-07-25 16:54:46 +0200
  • 86e6628fa1 Doc fixes. Ferdinand Majerech 2014-07-25 16:54:06 +0200
  • 46255846e6 Using printNoGC to simplify @nogc error message building. Ferdinand Majerech 2014-07-25 16:53:40 +0200
  • 2420b57281 Updated nogcutil doc/copyright. Ferdinand Majerech 2014-07-25 16:52:47 +0200
  • 963d197093 Utilities around AppenderNoGCFixed to build error messages easily without GC. Ferdinand Majerech 2014-07-25 16:52:36 +0200
  • 5f27ab26c7 A gutted, @nogc version of Appender. Ferdinand Majerech 2014-07-25 16:51:56 +0200
  • cac40a6a85 scanTag scans into a slice,tag handle/suffix are split by valueDivider, not \0 Ferdinand Majerech 2014-07-25 03:36:55 +0200
  • 918395ea64 Enforcing that Token is at most 32 bytes long. Ferdinand Majerech 2014-07-25 03:33:27 +0200
  • e88842573f New Token data member for splitting token value when we need 2 values. Ferdinand Majerech 2014-07-25 03:33:08 +0200
  • 2228e92a43 scanTagURI now scans into a slice started by the caller. Ferdinand Majerech 2014-07-25 02:51:06 +0200
  • 7865e0b480 scanURIEscapesToSlice now returns the number of scanned characters. Ferdinand Majerech 2014-07-25 02:49:33 +0200
  • 817dc3b610 scanTagURI now scans to a slice, as does scanURIEscapes, at cost of complexity Ferdinand Majerech 2014-07-25 02:34:53 +0200
  • 457cabbb72 scanTagHandle now scans to a slice. Ferdinand Majerech 2014-07-25 02:32:29 +0200
  • 9fe84bf729 Style fixes. Ferdinand Majerech 2014-07-24 23:22:26 +0200
  • b63c0849e7 More @safe. Ferdinand Majerech 2014-07-24 23:22:14 +0200
  • 4ed4a2c746 scanFlowScalar is now nothrow and only does one GC allocation. Ferdinand Majerech 2014-07-24 23:21:59 +0200
  • a59a34ffce scanFlowScalarNonSpaces is now nothrow @nogc. Ferdinand Majerech 2014-07-24 23:21:07 +0200
  • 48f31d6971 Doc fixes. Ferdinand Majerech 2014-07-24 23:20:31 +0200
  • 1a31b3c7d2 Added an integer parsing function that doesn't use the GC. Ferdinand Majerech 2014-07-24 23:20:01 +0200
  • bed862c8ab Turned some escapes associative arrays into switch functions to avoid GC. Ferdinand Majerech 2014-07-24 23:18:49 +0200
  • 19f163a150 Added a buffer to construct error messages in without allocation. Ferdinand Majerech 2014-07-24 23:17:24 +0200
  • f9eb7b2eb1 scanFlowScalarNonSpaces errors are now thrown by the caller. Ferdinand Majerech 2014-07-24 18:56:22 +0200
  • fb20ca1006 scanFlowScalarSpaces is now nothrow @nogc. Ferdinand Majerech 2014-07-24 18:49:34 +0200
  • 039d601a5f Flow scalar tokens are now scanned into slices. Ferdinand Majerech 2014-07-24 18:46:21 +0200
  • 706ce872b0 scanPlain doc fix. Ferdinand Majerech 2014-07-24 18:44:20 +0200
  • 571eecd836 setError use in scanPlain. Ferdinand Majerech 2014-07-24 18:44:07 +0200
  • 1969dc0e97 Space fix. Ferdinand Majerech 2014-07-24 18:43:46 +0200
  • 45d8db08d1 Use of throwIfError for handling scanPlain errors. Ferdinand Majerech 2014-07-24 18:43:33 +0200
  • 60c3079f11 Functions to simplify error setting/throwing in Scanner. Ferdinand Majerech 2014-07-24 18:42:55 +0200
  • 33e509659d Minor doc fix. Ferdinand Majerech 2014-07-24 18:42:12 +0200
  • e816b93419 More const in exception.d Ferdinand Majerech 2014-07-24 18:41:55 +0200
  • ab868df785 Better Scanner function attributes. Ferdinand Majerech 2014-07-24 03:50:39 +0200
  • 02494914e4 dchar[], not dstring in Reader/Scanner. Will be changed back where possible. Ferdinand Majerech 2014-07-24 03:06:24 +0200
  • 7ae6098bd9 Space fix. Ferdinand Majerech 2014-07-24 02:44:53 +0200
  • 2d445dbc22 Plain scalars are now scanned into Reader slices, without allocations. Ferdinand Majerech 2014-07-24 02:44:43 +0200
  • a2cbb90d4e SliceBuilder is now a part of Reader. Ferdinand Majerech 2014-07-24 02:43:28 +0200
  • d8f1221457 Transactions in SliceBuilder to allow reverting of eager slice changes. Ferdinand Majerech 2014-07-24 02:43:09 +0200
  • 892aed303f An API to build slices into read parts of Reader buffer. Ferdinand Majerech 2014-07-24 02:42:34 +0200
  • e493e7299d Reader buffer is again dchar[]. Ferdinand Majerech 2014-07-24 02:40:32 +0200
  • 36e7954756 Code calling scanPlain() assumes scanPlain() writes exception into errorData_. Ferdinand Majerech 2014-07-23 18:28:57 +0200
  • d4a7b066d0 Scanner style fixes. Ferdinand Majerech 2014-07-23 18:26:39 +0200
  • 2a8f78f46f Scanner data members for @nogc/nothrow functions to write exception data to. Ferdinand Majerech 2014-07-23 18:25:46 +0200
  • be942564d9 Using utf32To8 Ferdinand Majerech 2014-07-23 18:19:35 +0200
  • f6457f2321 Added a nothrow function to convert dstring to string. Ferdinand Majerech 2014-07-23 18:18:21 +0200