Commit graph

19 commits

Author SHA1 Message Date
Fraser Waters 52ea9d68ed [Bind] Improve BindStreamWriter
Allows multiple calls to Write to build up one line of text. Splits on
new line characters even in Write. Only places tabs if line is not
otherwise empty.
2015-07-30 14:14:42 +01:00
thefiddler 570d08fff1 [Bind] Add NoIndent option to BindStreamWriter 2014-03-31 09:50:51 +02:00
thefiddler d7614f5718 [Bind] Clean up BindStreamWriter implementation
Instead of inheriting and overriding StreamWriter methods, it now
forwards its parameters to an internal StreamWriter, after applying the
necessary formatting changes.

This shields us from the StreamWriter implementation differences
between .Net and Mono.
2014-03-13 18:44:36 +01:00
thefiddler 13e80a7c06 Fix discrepancies between mono and .net 2014-03-12 18:13:05 +01:00
Stefanos A. add848f32d Fixed newline and indentation behavior
Mono and .Net have a few minor differences in their StreamWriter
implementations. Added workarounds to produce identical output on all
platforms.
2013-11-01 14:00:46 +01:00
Stefanos A. b7f2379f87 Fixed infinite recursion issue. 2013-11-01 11:42:42 +01:00
Stefanos A. 6022ea9fbd Improved multiline output
This lets us compose and print multiline strings without manually
adjusting indentation on each line.
2013-11-01 08:57:44 +01:00
the_fiddler fed983f51f Keep a reference to the file being read. 2010-12-06 22:32:11 +00:00
the_fiddler 43e0e2c5e5 Applied Barlog's 02_Bind_2172_ShortenQualifierReferences patch. 2009-08-21 20:28:14 +00:00
the_fiddler c487a382e1 Applied Barlog's refactoring patch for using directives. 2009-08-17 12:28:22 +00:00
the_fiddler 6f57ac0f6d * BindStreamWriter.cs: Fixed workaround for indentation on Linux (indentation seems to be applied twice). 2009-08-12 08:33:49 +00:00
the_fiddler fcaff2477b Reverted commit 2028 (Jonathan's formatting patch for Bind output), since it broke formatting on Windows. Added temporary workaround until the real cause of the issue is discovered and fixed. 2009-08-11 14:17:27 +00:00
the_fiddler b6900f4d7a * BindStreamWriter.cs: Committed Jonathan's formatting patch for the
generated bindings.
2009-08-03 23:09:37 +00:00
the_fiddler a22019d890 Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler a5d5449007 Removed unused indent variable. 2007-11-04 15:26:22 +00:00
the_fiddler b2ac1d4c61 Updated BindStreamWriter to better handle endlines. Reverted WinRawInput to standard reads. 2007-09-22 14:59:33 +00:00
the_fiddler f5db25f32c Enhanced BindStreamWriter.Indent() and Unindent() implementation (they now change a simple counter).
Suppressed warning CS0649 (uninitialised field) in generated code for delegates.
2007-09-21 19:59:22 +00:00
the_fiddler e220f3a71a Updated Build.exe to correctly generate sharpdev and sharpdev2 projects.
Removed some unused variables.
Added licensing information.
2007-08-10 09:27:13 +00:00
the_fiddler c1d3fbe2f1 Merged with gl3 branch. 2007-08-01 09:27:57 +00:00