Commit Graph

627 Commits

Author SHA1 Message Date
Andrew Phillips (aider)
4b8e082179 feat: configure Cargo.toml to include src/tests.rs in test suite 2025-05-12 11:37:26 -03:00
Andrew Phillips (aider)
4c1fbdbd64 fix: improve command execution in tests 2025-05-12 11:25:32 -03:00
Andrew Phillips (aider)
5b2d8b365d feat: Add test cases for keep CLI with temporary directory 2025-05-12 11:23:42 -03:00
Andrew Phillips (aider)
f9969a7537 fix: use libc::c_int for file descriptor instead of nix::Fd 2025-05-12 11:16:46 -03:00
Andrew Phillips (aider)
723ec2a6e8 fix: convert Fd to raw descriptor using .0 access
This addresses the E0412 error by correctly extracting the raw file descriptor from the nix::unistd::Fd newtype wrapper.
2025-05-12 11:15:32 -03:00
Andrew Phillips (aider)
f9dd390a12 fix: convert nix Fd to raw fd using into_raw() 2025-05-12 11:14:44 -03:00
Andrew Phillips (aider)
d31ab6e793 refactor: centralize thread spawning for item writing 2025-05-12 11:13:06 -03:00
Andrew Phillips (aider)
f3f3c6d628 refactor: extract common function for writing item data to pipe with fd argument 2025-05-12 11:10:00 -03:00
Andrew Phillips (aider)
825ff7a451 fix: remove unused import and method 2025-05-12 10:51:00 -03:00
Andrew Phillips
bb7ed06e9c refactor: update debug logs to use log::debug macro 2025-05-12 10:50:54 -03:00
Andrew Phillips (aider)
e6cc479b32 refactor: Replace debug! with log::debug! in diff module logging statements 2025-05-12 10:45:22 -03:00
Andrew Phillips (aider)
47e0a1d51c fix: add log::debug macro and remove unused imports 2025-05-12 10:40:49 -03:00
Andrew Phillips (aider)
5edecfa960 fix: update debug macros to use log crate and remove unused imports 2025-05-12 10:25:53 -03:00
Andrew Phillips (aider)
74e4db0f65 fix: resolve duplicate imports and add log::debug prefixes 2025-05-12 10:23:52 -03:00
Andrew Phillips
9418bf58ea refactor: Remove mode_diff implementation and dependencies 2025-05-12 10:23:28 -03:00
Andrew Phillips (aider)
8594a292f9 fix: add missing diff module and mode_diff implementation 2025-05-12 10:20:24 -03:00
Andrew Phillips
48311b0f5f refactor: Remove --diff mode implementation from main function 2025-05-12 10:17:25 -03:00
Andrew Phillips (aider)
4741314493 refactor: Move mode_diff to src/modes/diff.rs and update imports 2025-05-12 10:00:05 -03:00
Andrew Phillips (aider)
d669beca5a (no commit message provided) 2025-05-12 09:01:45 -03:00
Andrew Phillips
d9defdec45 refactor: move list mode handling to modes/list.rs 2025-05-10 14:11:37 -03:00
Andrew Phillips (aider)
5c76d4c15c refactor: add ColumnType import and remove unused imports 2025-05-10 14:09:32 -03:00
Andrew Phillips (aider)
134731ca5c fix: add missing format_size and ColumnType imports 2025-05-10 14:07:31 -03:00
Andrew Phillips (aider)
d5f9adc3ae fix: remove unused imports and adjust common module re-exports 2025-05-10 14:06:23 -03:00
Andrew Phillips (aider)
e0e00f13af fix: add missing ColumnType/TableFormat imports and re-export 2025-05-10 14:05:09 -03:00
Andrew Phillips (aider)
da47077b08 fix: add missing CompressionEngineProgram import and remove unused imports 2025-05-10 14:02:16 -03:00
Andrew Phillips (aider)
a955b2a0c6 refactor: remove unused imports from various files 2025-05-10 13:59:04 -03:00
Andrew Phillips (aider)
412aa0f4cb fix: correct ErrorKind from InvalidInput to InvalidValue 2025-05-10 13:56:03 -03:00
Andrew Phillips (aider)
ae67e67921 fix: resolve unresolved types and type mismatches in list and common modules 2025-05-10 13:54:53 -03:00
Andrew Phillips (aider)
0b82921506 chore(list): Add log and anyhow crates 2025-05-10 13:53:08 -03:00
Andrew Phillips (aider)
c2ace42c02 fix: Fix missing imports and type resolution issues 2025-05-10 13:51:11 -03:00
Andrew Phillips (aider)
0a8464bab3 fix: add error handling for unknown column types 2025-05-10 13:45:51 -03:00
Andrew Phillips (aider)
33fa31bbb6 feat: add ColumnType as_str method and improve error handling 2025-05-10 13:41:48 -03:00
Andrew Phillips
ceb50a03b3 style: organize and format use statements 2025-05-10 13:38:10 -03:00
Andrew Phillips (aider)
dbf3d70128 feat: Move ColumnType to common and update imports 2025-05-10 13:34:38 -03:00
Andrew Phillips
f0b93e37fe chore: move prettytable color import to correct position 2025-05-10 13:18:31 -03:00
Andrew Phillips (aider)
d9c38ffe77 feat: add prettytable color support to list mode 2025-05-10 13:14:40 -03:00
Andrew Phillips (aider)
d65289e9fa refactor: replace import block with crate::Alignment 2025-05-10 13:13:40 -03:00
Andrew Phillips (aider)
994dfe1c42 fix: resolve missing imports and ErrorKind typo 2025-05-10 13:11:43 -03:00
Andrew Phillips
6bbc306c23 style: reorder imports and adjust formatting 2025-05-10 13:09:49 -03:00
Andrew Phillips (aider)
97d89196ab refactor: Remove duplicated functions from list.rs 2025-05-10 13:07:03 -03:00
Andrew Phillips (aider)
b9004c871a fix: add missing imports and resolve build errors in list mode 2025-05-10 13:04:08 -03:00
Andrew Phillips (aider)
2b98a5437a fix: resolve mode_list duplication and missing imports in list.rs 2025-05-10 13:02:34 -03:00
Andrew Phillips
da55c42342 style: reorder common module imports for consistency 2025-05-10 13:02:17 -03:00
Andrew Phillips (aider)
1628e0889e refactor: move mode_list to src/modes/list.rs and update imports 2025-05-10 12:55:30 -03:00
Andrew Phillips (aider)
1ce5909f7b fix: Add missing TableFormat and function imports to resolve compilation errors 2025-05-10 12:51:53 -03:00
Andrew Phillips (aider)
bc85cdac6c fix: remove unused imports and non-const format builder 2025-05-10 12:45:14 -03:00
Andrew Phillips (aider)
f8b14cb570 fix: replace const with function for table format and update is_terminal import 2025-05-10 12:42:04 -03:00
Andrew Phillips (aider)
a2104ff705 fix: remove extra closing brace in common.rs 2025-05-10 12:39:59 -03:00
Andrew Phillips (aider)
d1bdc3f187 fix: remove misplaced string_column call in common.rs 2025-05-10 12:38:57 -03:00
Andrew Phillips (aider)
33757dabee fix: move format constant to common and update stdout check 2025-05-10 12:37:08 -03:00