- Mar 01, 2018
-
-
Irene Y Zhang authored
Added a gitignore to the project. See merge request !1
-
Irene Y Zhang authored
Added debugging rule to Makefile. See merge request !2
-
Irene Y Zhang authored
Removed `goto fail` code with `unique_ptr`. See merge request !3
-
Michael Whittaker authored
Previously, `UDPTransport::SendMessageInternal` dynamically allocated a `char[]` and used a `goto fail` to make sure that it was properly deleted. Something like: ```c++ char *buf = new char[100]; if (...) { ... goto fail; } else if (...) { ... goto fail; } else { ... } fail: delete [] buf; return false; ``` Now, the array is stored in a `unique_ptr` so that it's properly deallocated when the function returns, without needing the goto fail.
-
Michael Whittaker authored
Added a debugging Makefile rule stolen from [1]. With this rule, you can run make print-<VAR> to print out the contents of <VAR>. For example, make print-OBJS make print-PROTOOBJS make print-BINS [1]: https://blog.melski.net/2010/11/30/makefile-hacks-print-the-value-of-any-variable/
-
Michael Whittaker authored
Previously, directories like `.obj/` and files like `libtapir.so` weren't being ignored by git. Now they are! This .gitignore ignores vim, c++, and project specific stuff.
-
- Feb 28, 2018
-
-
irene authored
-
- Feb 22, 2018
-
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
- Nov 17, 2017
-
-
Irene Zhang authored
A couple small lockserver client improvements.
-
Michael Whittaker authored
1. Previously, typing ` `, `lock`, or `unlock` into a lockserver client's REPL would cause the client to crash because of some `strtok` calls that were returning `NULL`. Now, this bug is fixed; `strtok` returns are checked to be `NULL`, and no input should crash the client. 2. Previously, typing in an unrecognized command into the lockserver client's repl would print `Unknown command.. Try again!`. Now, it also prints out the set of legal commands `Usage: exit | q | lock <key> | unlock <key>`. This makes it a bit easier for someone tinkering around with TAPIR for the first time (like me) to know what to type.
-
- Jun 22, 2017
-
-
Irene Zhang authored
fix building on Apple clang
-
Maxime Caron authored
-
- Jun 08, 2017
-
-
Irene Y Zhang authored
-
- Feb 08, 2017
-
-
Irene Y Zhang authored
-
Irene Y Zhang authored
-
Irene Y Zhang authored
-
- Jan 18, 2017
-
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
- Jan 17, 2017
-
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
- Jan 04, 2017
-
-
Naveen Kr. Sharma authored
-
- Aug 09, 2016
-
-
Irene Y Zhang authored
-
- May 13, 2016
-
-
Irene Y Zhang authored
-
- Feb 22, 2016
-
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
Irene Y Zhang authored
This reverts commit 4791cfd3.
-
Irene Y Zhang authored
-
Irene Y Zhang authored
-
Irene Y Zhang authored
-
Irene Y Zhang authored
-
Irene Y Zhang authored
fixing one bug in TAPIR (not handling abstain) and one in IR, not correctly passing back decide result
-
- Feb 11, 2016
-
-
Naveen Kr. Sharma authored
-
- Feb 10, 2016
-
-
Irene Zhang authored
-
Irene Zhang authored
-
Irene Zhang authored
-