- Oct 31, 2024
-
-
Razvan Deaconescu authored
Change macro guard name for `include/internal/types.h` from `__TYPES_H__` to `__INTERNAL_TYPES_H__`. This prevents it from clashing with the macro guard for `include/sys/types.h`. Unless this change is applied, the inclusion of `sys/types.h` will not lead to the inclusion of `internal/types.h`, since the macro guard `__TYPES_H__` is used in both. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
- Oct 17, 2024
-
-
Razvan Deaconescu authored
Ignore STRCPY and STRNCPY warning for `checkpatch.pl`. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
- Oct 20, 2023
-
-
Razvan Deaconescu authored
Linter tools (`cpplint`, `checkpatch`, `shellcheck`) should use `linter.out` as their output file. Fix the `grade.sh` script to use `linter.out`, instead of the old, wrong `checker.out`. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
- Oct 18, 2023
-
-
Razvan Deaconescu authored
These are sample programs to test the mini-libc implementation. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Update `README.md` with current structure of directory (e.g. use `src/` instead of `libc/`). Detail use of `grade.sh` and `make lint`. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
- Oct 17, 2023
-
-
Razvan Deaconescu authored
`grade.sh` automatically grades the assignment based on the checker (running tests for grading correctness) and linter output (for grading coding style). Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
- Oct 03, 2023
-
-
Use the absolute path of SRC_PATH in tests/Makefile rather than prepending ../ when changing directory. Signed-off-by:
Alex Apostolescu <alexx.apostolescu@gmail.com>
-
- Oct 01, 2023
-
-
Razvan Deaconescu authored
Reference solution for implementing `stat()` and `fstat()` relies on system call being made. Include `internal/syscall.h` in corresponding source code files to provide the `syscall()` function. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
The `tests/run_all_tests.sh` script uses the `en_US.UTF-8` locale. This may not be available on certain systems, requiring installation. Replace it with the use of the generally available `C` locale. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Use `apt update` in the same `RUN` command with `app install`. This prevents package synchronzation issues during installation. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Ignore `readability/todo` rule. This gives an unpleasant warning to use `TODO(username)` as part of TODO comment items. Just allow simple `TODO` comment items. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Ignore `build/include_subdir` rule. This gives a rather abnoxious warning if you simply include "test.h". It should be written as "./test.h", but that's uncommon. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Remove spacing between TODO comments and existing code. This is for consistency throughout the assignment skeleton. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Changed the implementation of `write()` and `read()` to set `errno`, as per their manual pages. Signed-off-by:
Teodor Juravlea <teodorjuravlea@gmail.com>
-
- Mar 28, 2023
-
-
Razvan Deaconescu authored
This is compatible with default grading used by VMChecker. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
This is required for floating point formatting, to make sure it uses dot (`.`). Some languages (such as Romanian) use comma (`,`). Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
This rule creates a Zip archive with the contents of the `src/` directory (where the solution will be developed). The archive is meant to be submitted on Moodle. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Add instructions on using the checker: local, remote, Moodle. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
First run `make check`, then `make lint`. This is useful because Moodle only extract the first 300 lines of output. If `make lint` is first, that output is typically covered by the linter output, leaving out students from seeing the checker output (which is more important). Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
- Mar 26, 2023
-
-
Razvan Deaconescu authored
Copy hidden `.checkpatch.conf` and `.shellcheckrc` in temporary folder that will be mounted for running Docker interactively. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Replace default DockerHub registry. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
This improves the visibility of linter messages. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
Ignore general output files: object files, libraries, archives, temporary files. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-
Razvan Deaconescu authored
These are setup and checker files for Operating Systems assignments. Signed-off-by:
Razvan Deaconescu <razvan.deaconescu@upb.ro>
-