Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and clean the code #109

Merged
merged 74 commits into from
Aug 7, 2024
Merged

Refactor and clean the code #109

merged 74 commits into from
Aug 7, 2024

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    c49defb View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. feat: Moving towards the owned data processing model

    feat: removed the cache last generated commands, so they're one only one entity
    feat: reworked the conversion from our cache to the compile_commands.json format
    feat: unified the serialization and serialization entities. The intermediate ones used to clone data from the non-owned version of the cache has been deleted, and the SourceCommandLine now only works with owned data, so there's no need anymore to use those intermediate data mappers (that already was cloning from borrowed data)
    TheRustifyer committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    82cef53 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    3c41152 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d44a4f View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    226099c View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. feat(wip)!: Creational Flyweights to reduce the memory usage footprin…

    …t and common Argument(s) that only need to be created once
    TheRustifyer committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    aac336b View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. Configuration menu
    Copy the full SHA
    32fcb75 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. Configuration menu
    Copy the full SHA
    79e9e37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87305b7 View commit details
    Browse the repository at this point in the history
  3. feat(wip): Finished the refactor step of the project model using Cow …

    …instead of owned data. Code compiles but is far from finished yet
    TheRustifyer committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    ffd6648 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. feat(system_headers): Avoiding check the fs for system headers to see…

    … if they are already built if there's no header declared by the user. This closes #116
    TheRustifyer committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    f7c928c View commit details
    Browse the repository at this point in the history
  2. fix: missed .with_extension methods on the implementations of Transla…

    …tionUnit
    
    fix: we can't use join for file_stem(s) that contains dots in their names, since it skips anything after the first point
    TheRustifyer committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    48a95ee View commit details
    Browse the repository at this point in the history
  3. fix: removed unused borrows of the project configuration since its ow…

    …nership is transferred to the build_model procedure
    TheRustifyer committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    7535b3a View commit details
    Browse the repository at this point in the history
  4. fix: removed unused borrows of the project configuration since its ow…

    …nership is transferred to the build_model procedure
    
    fix: changed back the types on the config file data structures to their original reference types
    TheRustifyer committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    dbadd89 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    13d36b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    985c334 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4815b9f View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. feat(wip): Working with the interior mutability pattern to see if it'…

    …s worth the change of not having commands
    TheRustifyer committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    fb3c748 View commit details
    Browse the repository at this point in the history
  2. chore(wip): Towards the unique generation and generification of the p…

    …rocessing of translation units
    TheRustifyer committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    62ebe6a View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. feat: No ReferenceCounted or Interior Mutability patterns are require…

    …d anymore. Everything works again with plain references or moved values
    TheRustifyer committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    118633a View commit details
    Browse the repository at this point in the history
  2. feat: Making Clang the first compiler that correctly uses the Flyweig…

    …hts data structures for generating the C++ module interfaces command lines
    TheRustifyer committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    8ce930f View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    54f8b56 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. feat: The generated obj files that are added to the linker are append…

    …ed at generation time only
    TheRustifyer committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    5421500 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    cacfa51 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. feat: Introducing the transient crate to allow downcasting the implem…

    …entors of TranslationUnit when they're behind a impl TranslationUnit
    TheRustifyer committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    ec8bdd3 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. feat: Generification of the commands generator for any kind of Transl…

    …ation Unit, so now we only need a single block of code to process them all
    TheRustifyer committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    56257d3 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. feat: Avoiding duplicating the linker arguments with an early guard w…

    …hile we don't implement named targets
    TheRustifyer committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    215cea7 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. feat: refactor of the core of the procedure for that takes care about…

    … the commands generation
    
    feat: reworked the cache loading/save
    feat: added a metadata field for the cache
    feat: improving the iteration times among different build processes
    TheRustifyer committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    6ae32ac View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    919d1f5 View commit details
    Browse the repository at this point in the history
  2. fix: changed the arguments passed to the bencher function on the meas…

    …ures of the 'Generate Commands'
    TheRustifyer committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    683444d View commit details
    Browse the repository at this point in the history
  3. chore: cargo fmt

    TheRustifyer committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    9994f25 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. feat: refactor of the C++ modular std lib procedure

    chore: code reorganization and clean-up
    TheRustifyer committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4134274 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27a99bb View commit details
    Browse the repository at this point in the history
  3. fix: changed again the 'generate_commands' signature without reflecti…

    …ng it on the benchmarks module
    TheRustifyer committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    01a73a3 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Configuration menu
    Copy the full SHA
    40ee054 View commit details
    Browse the repository at this point in the history
  2. chore: cargo fmt

    TheRustifyer committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    2f8a9d4 View commit details
    Browse the repository at this point in the history
  3. feat: Caching the project model, so it can be loaded as a cached enti…

    …ty instead of mapping the target cfg to the project model on every iteration. Closes #120
    TheRustifyer committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    2800fe7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9de936 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    52cc0f4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2cbb6d6 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    aa7e43e View commit details
    Browse the repository at this point in the history
  2. fix: removing the trailing whitespace when printing the generated arg…

    …uments for a translation unit
    TheRustifyer committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    2170ee1 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    e5998ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1266875 View commit details
    Browse the repository at this point in the history
  3. chore: cargo fmt

    TheRustifyer committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    bb41e1e View commit details
    Browse the repository at this point in the history
  4. chore: cargo fmt

    TheRustifyer committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    6fbfd74 View commit details
    Browse the repository at this point in the history
  5. fix: changed the unwrap_or_else of the load_and_deserialize for its o…

    …riginal behaviour (unwrap or default)
    TheRustifyer committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    3049251 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. chore: conceptually reordering the data structures of the generated c…

    …ommands within the domain on the project files
    TheRustifyer committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    3879b35 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Configuration menu
    Copy the full SHA
    876fe2b View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. Configuration menu
    Copy the full SHA
    11c54ba View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    11175a0 View commit details
    Browse the repository at this point in the history
  2. feat(wip): indepent targets now compiles and runs successfuly

    chore: refactored the .collect() calls on the chained iterators to just
    use an opaque type behind the Iterator type and avoid to consume the
    view of the command line arguments
    TheRustifyer committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    cb03f0b View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    c1c85b3 View commit details
    Browse the repository at this point in the history
  2. chore: minimal opts

    TheRustifyer committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    c3180df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4c7a4e View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    8fd6f64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7e8549 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    145c30b View commit details
    Browse the repository at this point in the history
  4. fix: Missing byproduct path on the SystemModule kind of translation unit

    This bug was causing to fail the linkage step, since the linker was
    receiving a ::default()(ed) Argument, which evaluates to ""
    TheRustifyer committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    f8ada58 View commit details
    Browse the repository at this point in the history
  5. feat: project root cfg attribute will be used as a joinable path to m…

    …ake the user's declared files easier to read, reducing the amount of directories per file that should be passed to the configuration file
    TheRustifyer committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    d8f2160 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    faf6654 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Configuration menu
    Copy the full SHA
    9af3d7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af9de3b View commit details
    Browse the repository at this point in the history
  3. chore: doc-tests

    TheRustifyer committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    5fc1646 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59c3c45 View commit details
    Browse the repository at this point in the history
  5. fix: Removing the sysmodules byproducts from the GCC linker command l…

    …ine of every target, since GCC handles the references to the modules via gcm.cache
    TheRustifyer committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    f45886f View commit details
    Browse the repository at this point in the history
  6. fix: bringing the chain of the modules.implementations for the linker…

    … command line, deleted by mistake (too much v-dd)
    TheRustifyer committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    80e1752 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. feat: New type for better readability while passing the shared args a…

    …nd env vars to the commands executors
    TheRustifyer committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    14dbc8e View commit details
    Browse the repository at this point in the history
  2. chore: lint and fmt

    TheRustifyer committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    8c04c9f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    f174ce2 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    101c533 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ac924d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f590026 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71a1c8a View commit details
    Browse the repository at this point in the history