Commit Graph

24 Commits

Author SHA1 Message Date
Kartik K. Agaram c7fde8d4e4 3272
Move global constants into their own section since we seem to be having
trouble linking in 'extern const' variables when manually cleaving mu.cc
into separate compilation units.
2016-08-28 17:08:01 -07:00
Kartik K. Agaram 1ba81b0f57 3270
Clean up the Globals section so that we can generate extern declarations
for all globals out using this command after we carve it out into
globals.cc:

  grep ';' globals.cc |perl -pwe 's/[=(].*/;/' |perl -pwe 's/^[^\/# ]/extern $&/' > globals.h

The first perl command strips out initializers. The second prepends
'extern'. This simplistic approach requires each global definition to
lie all on one line.
2016-08-28 15:21:12 -07:00
Kartik K. Agaram 5a9e3a119d 3177
Systematize all the newlines while displaying test progress.
2016-08-13 17:17:24 -07:00
Kartik K. Agaram 0ca996fad6 3165 2016-08-10 09:12:11 -07:00
Kartik K. Agaram 385ff13617 3027 2016-06-02 10:40:06 -07:00
Kartik K. Agaram b24eb4766a 2773 - switch to 'int'
This should eradicate the issue of 2771.
2016-03-13 20:26:47 -07:00
Kartik K. Agaram b5ab709c53 2700 - fail tests on unexpected errors or warnings 2016-02-25 07:31:20 -08:00
Kartik K. Agaram ad6eb92329 2697 2016-02-24 18:08:20 -08:00
Kartik K. Agaram 6c1376f830 2095
Finally terminate the experiment of keeping debug prints around. I'm
also going to give up on maintaining counts.

What we really need is two kinds of tracing:
  a) For tests, just the domain-specific facts, organized by labels.
  b) For debugging, just transient dumps to stdout.
b) only works if stdout is clean by default.

Hmm, I think this means 'stash' should be the transient kind of trace.
2015-08-28 23:25:21 -07:00
Kartik K. Agaram 37537bf347 1965 - don't die on '-' ingredient
Thanks Caleb Couch.
2015-08-10 11:15:28 -07:00
Kartik K. Agaram 6179649e43 1641
Snapshot in switching editor-data.cursor to editor-data.before-cursor.
But I have trouble coercing events to touch events, even though using
the integer tag 2 for the conversion works.
2015-06-24 17:43:45 -07:00
Kartik K. Agaram afa42503cd 1474 - another warning 2015-05-26 15:48:35 -07:00
Kartik K. Agaram 40be252286 1437 2015-05-23 12:54:06 -07:00
Kartik K. Agaram 047296d811 1434 - support all unicode spaces 2015-05-23 12:35:05 -07:00
Kartik K. Agaram ac0e9db526 1391 - avoid unsigned integers 2015-05-17 02:22:41 -07:00
Kartik K. Agaram 304963834d 1389 2015-05-16 23:17:42 -07:00
Kartik K. Agaram 65ccad4c6e 1388 2015-05-16 21:24:47 -07:00
Kartik K. Agaram 0f125d5ff1 1387 2015-05-16 21:24:21 -07:00
Kartik K. Agaram 683d53ca26 1358 - inform shell of test failure 2015-05-12 17:40:04 -07:00
Kartik K. Agaram 827898fc1b 1357 - temporarily revert floating-point support 2015-05-12 17:10:33 -07:00
Kartik K. Agaram 3663ca6c2d 1356 - snapshot #2: floating point support
I added one test to check that divide can return a float, then hacked at
the rippling failures across the entire entire codebase until all tests
pass. Now I need to look at the changes I made and see if there's a
system to them, identify other places that I missed, and figure out the
best way to cover all cases. I also need to show real rather than
encoded values in the traces, but I can't use value() inside reagent
methods because of the name clash with the member variable. So let's
take a snapshot before we attempt any refactoring. This was non-trivial
to get right.

Even if I convince myself that I've gotten it right, I might back this
all out if I can't easily *persuade others* that I've gotten it right.
2015-05-12 17:00:19 -07:00
Kartik K. Agaram 54e4548dd1 1354 2015-05-12 08:47:06 -07:00
Kartik K. Agaram 5798a11bf0 1343 2015-05-11 10:04:16 -07:00
Kartik K. Agaram b96af395b9 1276 - make C++ version the default
I've tried to update the Readme, but there are at least a couple of issues.
2015-05-05 21:17:24 -07:00