Commit graph

16 commits

Author SHA1 Message Date
ponce cfa4b2f11a Fix Windows unittests. 2014-08-05 20:55:26 +02:00
yamadapc a075732c0b Let the nogc enum fix from 4a46262 be private.
This is so it doesn't leak on `import`. This also bumps version to
`1.0.4` and is also related to #7.
2014-08-05 15:34:56 -03:00
yamadapc 4a462627ea Patch for DMD 2.065 compatibility on Windows.
It seems it got `undefined identifier nogc`, when compiling with DMD
2.065 on Windows. This should patch that using a solution found here:
https://github.com/DerelictOrg/DerelictUtil/blob/master/source/derelict/util/system.d#L71

This is a fix to #7.
2014-08-05 15:29:28 -03:00
yamadapc 8499c64cd1 Bump the version to v1.0.2
This is simply to keep dub's README information in sync.
2014-08-01 04:30:50 -03:00
yamadapc 05107daa5a Update version number headers in the files.
This is a good practice. I'd forgotten to update them on the version
bumps, but will hopefully start to do so, from now on.
2014-08-01 04:19:55 -03:00
yamadapc 589c22e38f Rename the colorize function to color.
This will fix the name conflicts we were having before. It's a major
breaking change, but it should fix our problems which is nice. This
closes #6 and bumps the version to v1.0.0.
2014-07-31 18:28:18 -03:00
yamadapc 7398ee11f1 Fix a bunch of bugs in the cwrite module.
We had problems with format parameters dispatching (`cwritefln` ended up
calling `format` with '\n' as a trailing - orphan - format parameter),
`format` not being imported from `std.string` and an infinitely
recursive template case for the overloaded `cwritef` function.

This also bumps the version to 0.2.1.
2014-07-30 20:12:01 -03:00
yamadapc d0becf6a63 Remove trailing spaces and newlines.
This simply removes trailing spaces and '\n' characters left by p0nce's
contribution of adding windows support.
2014-07-30 14:35:19 -03:00
ponce 57605758d2 2-space indent 2014-07-30 00:29:05 +02:00
ponce 183ee21692 Whitespace tweak. 2014-07-29 23:53:59 +02:00
ponce on vps 4d98f3f9d3 Fix compatibility with linux and 2.065 2014-07-29 23:49:38 +02:00
ponce 8ff025230e fg and bg colours working. There was a problem with changing colors before stdout was ever flushed. 2014-07-29 23:36:46 +02:00
ponce 30f4576db5 Implement colour changing, still not working. 2014-07-29 00:41:50 +02:00
ponce 48444a6fb6 Coloured write now uses WinTermEmulation on Windows.
Basic state machine for parsing ANSI VT100 subset.
2014-07-29 00:20:33 +02:00
ponce 1361fca5d8 Partially implement coloured write/writef/...
Partially implement windows terminal emulation.
2014-07-28 23:55:16 +02:00
ponce 5caf15bd46 Reorganize package as to split in several files (colourize, Windows term emulation, and cprintf functions). 2014-07-28 22:54:08 +02:00