Skip to content
Extraits de code Groupes Projets

Draft: Refactor the whole code.

Ouvert Kubat a demandé de fusionner rust vers master
  • Add lkt and amadeus with a new client lib, and not just hacks in a socket.
  • Implement the new database scheme in rust. Also expose the functions to C code.
  • Add the rust module for the repo.
Modification effectuée par Kubat

Rapports de requête de fusion

Loading
Loading

Activité

Filtrer l'activité
  • Approbations
  • Assignés et relecteurs
  • Commentaires (des bots)
  • Commentaires (des utilisateurs)
  • Branches et validations
  • Modifications
  • Labels
  • État de verrouillage
  • Mentions
  • État de la demande de fusion
  • Suivi
  • added Refactor label

  • assigned to @martin2018

  • Kubat added 1 commit

    added 1 commit

    • 158e1fb1 - RUST-DB: Use 2 characters codes even for added languages in the iso_639_1 table

    Compare with previous version

  • Kubat added 27 commits

    added 27 commits

    • 9d4271c2 - 1 commit from branch master
    • 58ddfefc - WINDOW: use mpv_observe_property for deprecated MPV_EVENTs
    • e1af3f7c - MODULES: Remove the SDL2 module + disable deprecated symbols from MPV
    • b6341da8 - DOC: Update changelog
    • 3325ad92 - CI: add cargo to build dependencies
    • b5fa56ed - BUILD: Fix the -Werror=address in src/base/reg.c:25 and src/base/reg.c:35 even...
    • 79003e94 - CI: Install the latest version of cargo and rustc in the docker
    • fe3d9ab9 - BUILD: Fix errors with GCC + use lkt_assert and not assert to be sure to have...
    • 93961e29 - BUILD: Add flags for release builds for the CI
    • 1b213e47 - CMAKE: Add a way to override the cargo path
    • 1c6cfca3 - CI: Try to build the rust things before to have the stdout/stderr in the CI logs
    • 87413ca6 - CI: Add the fontconfig package
    • 752e4501 - CMAKE: Try to display the output of the cargo commands
    • 651d840f - CMAKE: Try to fix the cmake file to build the rust sub-projects
    • b83e6418 - CI: Use basolute path for cargo binary
    • 9faa4125 - CI: No longer need to run the cargo build command on rust sub-projects before the cmake command
    • 534a414a - CI: Install diesel_cli in the CI...
    • 64fb6bd1 - MODULE: Remove the SDL2 module
    • 9a83ee4a - MODULE: Make a module with a rust implementation for repo_rs
    • 7534c16f - RUST: Run the diesel run migration command on a non existing db and generate...
    • 2c0132b7 - DB: Run migrations when opening the database
    • cfc0d595 - MISC: Update licences' years
    • edb6b027 - RUST: Update the databse SQL file
    • 213413cf - RUST-DB: Add some ISO 639-1 languages, handle the case where the passed...
    • a70b05fa - RUST-DB: Fix down.sql script + add comment for added languages
    • bda24341 - RUST-DB: Expose creation and deletion symbols as C symbols
    • 96a03996 - RUST-DB: Use 2 characters codes even for added languages in the iso_639_1 table

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 2cbbf827 - [WIP] RUST-DB: Try to experiment by first making simple requests and building things around

    Compare with previous version

  • Kubat added 28 commits

    added 28 commits

    • 2cbbf827...d2c3ac31 - 17 commits from branch master
    • 9f097cd8 - MODULE: Remove the SDL2 module
    • ead5fcb1 - MODULE: Make a module with a rust implementation for repo_rs
    • 22068b72 - RUST: Run the diesel run migration command on a non existing db and generate...
    • 304f902e - DB: Run migrations when opening the database
    • 3c42d06a - MISC: Update licences' years
    • 27c4efe0 - RUST: Update the databse SQL file
    • cfbd33a7 - RUST-DB: Add some ISO 639-1 languages, handle the case where the passed...
    • c06836d7 - RUST-DB: Fix down.sql script + add comment for added languages
    • 48d9cb37 - RUST-DB: Expose creation and deletion symbols as C symbols
    • 522502a5 - RUST-DB: Use 2 characters codes even for added languages in the iso_639_1 table
    • c846e5b7 - [WIP] RUST-DB: Try to experiment by first making simple requests and building things around

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 22d253c7 - RUST: Fix liblektor-rs build.rs file + move include files in the top level inc folder

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 8b3d5db8 - AMADEUS: Fix warnings from clippy

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • c8ffdc36 - BUILD: Fix compilation errors with newer versions of libs

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • b2ca52ad - RUST: Add functions in the new db to add/delete karas

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 619a5c73 - RUST: Add functions in the new db to add/delete karas

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • efc5dc35 - RUST: Add the database queue

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 64948ce4 - RUST: Add a way to get the content of a range in the database queue

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 286773c9 - RUST: Add a way to add things in the queue from the database connexion + fix...

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 01e4b9cf - MISC: Add VSCODE workspace files to hace something editable in vscode + apply clippy

    Compare with previous version

  • Kubat added 2 commits

    added 2 commits

    • 409028d9 - RUST: Split the rust part of lektor into multiple modules
    • b83ec3dd - RUST: The safe part of the rust lib should use the lektor_c_compat::rs_types...

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • c028380d - RUST: Add the standard size optimisation flags

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 4d41628b - BUILD: Now amadeus-rs builds with updated dependencies

    Compare with previous version

  • Kubat added 2 commits

    added 2 commits

    • b608a1fd - [WIP] RUST: Implementing the safe interface over the unsafe C types and functions
    • d3031456 - MISC: Fixing values of the c enums to be sure to have the correct values on the rust side

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 47c3e4ec - DB: Implementation of iterators returning references

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 4046bd79 - RUST: Hide the C types behind a feature to forbid any usage by safe creates

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • e961f91f - RUST: Create the safe rust types for the queue and the uri

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 109d7f4c - RUST: Logging from rust will call the C logging functions and write to stderr...

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 596f2a05 - RUST: Logging in the Rust source files must use the 'target' field to add a section in logging...

    Compare with previous version

  • Kubat added 35 commits

    added 35 commits

    • 596f2a05...5c4bc31f - 2 commits from branch master
    • 3252c90a - MODULE: Remove the SDL2 module
    • ce742bd5 - MODULE: Make a module with a rust implementation for repo_rs
    • ffd3ebb9 - RUST: Run the diesel run migration command on a non existing db and generate...
    • 07d67d31 - DB: Run migrations when opening the database
    • 00f6ac7d - MISC: Update licences' years
    • 0e3eeb69 - RUST: Update the databse SQL file
    • 30986e9c - RUST-DB: Add some ISO 639-1 languages, handle the case where the passed...
    • 76221408 - RUST-DB: Fix down.sql script + add comment for added languages
    • efda09e0 - RUST-DB: Expose creation and deletion symbols as C symbols
    • dbcdb287 - RUST-DB: Use 2 characters codes even for added languages in the iso_639_1 table
    • 657cd686 - [WIP] RUST-DB: Try to experiment by first making simple requests and building things around
    • 1abc669a - RUST: Fix liblektor-rs build.rs file + move include files in the top level inc folder
    • 6cdc0f2e - AMADEUS: Fix warnings from clippy
    • ca93c28a - FMT: Apply clang-format
    • 0e461e1e - MISC: Update README
    • 9d6d11eb - BUILD: Fix compilation errors with newer versions of libs
    • 8da2283d - RUST: Add functions in the new db to add/delete karas
    • 6e673def - RUST: Add the database queue
    • 056eddae - RUST: Add a way to get the content of a range in the database queue
    • 5cb6c377 - RUST: Add a way to add things in the queue from the database connexion + fix...
    • 792ead8f - MISC: Add VSCODE workspace files to hace something editable in vscode + apply clippy
    • 9d8cf40b - RUST: Split the rust part of lektor into multiple modules
    • d0ae2f5b - RUST: The safe part of the rust lib should use the lektor_c_compat::rs_types...
    • 5facc776 - RUST: Add the standard size optimisation flags
    • 7890769c - DOC: Update readme
    • 10ee1b6a - BUILD: Now amadeus-rs builds with updated dependencies
    • 70c25f35 - [WIP] RUST: Implementing the safe interface over the unsafe C types and functions
    • d4309b5b - MISC: Fixing values of the c enums to be sure to have the correct values on the rust side
    • 5476c5d3 - DB: Implementation of iterators returning references
    • 2fdf2886 - RUST: Hide the C types behind a feature to forbid any usage by safe creates
    • 30f93670 - RUST: Create the safe rust types for the queue and the uri
    • e72e8671 - RUST: Logging from rust will call the C logging functions and write to stderr...
    • af0b1de1 - RUST: Logging in the Rust source files must use the 'target' field to add a section in logging...

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • f0cd5e19 - FIX: Should prevent a possible buffer overflow in default config file path detection

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 45afe65b - FIX: Do the check for the creation of the default config file the right way

    Compare with previous version

  • Kubat added 35 commits

    added 35 commits

    • 45afe65b...7e22b87f - 2 commits from branch master
    • bb5dcbe3 - MODULE: Remove the SDL2 module
    • 770e859c - MODULE: Make a module with a rust implementation for repo_rs
    • b6b9b484 - RUST: Run the diesel run migration command on a non existing db and generate...
    • f325e393 - DB: Run migrations when opening the database
    • 92d3a74f - MISC: Update licences' years
    • fdf02ded - RUST: Update the databse SQL file
    • cb681920 - RUST-DB: Add some ISO 639-1 languages, handle the case where the passed...
    • 41bf643c - RUST-DB: Fix down.sql script + add comment for added languages
    • ae6682bc - RUST-DB: Expose creation and deletion symbols as C symbols
    • 637208e5 - RUST-DB: Use 2 characters codes even for added languages in the iso_639_1 table
    • 26291e0f - [WIP] RUST-DB: Try to experiment by first making simple requests and building things around
    • f84085e1 - RUST: Fix liblektor-rs build.rs file + move include files in the top level inc folder
    • 78973053 - AMADEUS: Fix warnings from clippy
    • 546d9ca5 - FMT: Apply clang-format
    • 461daa66 - MISC: Update README
    • 12b1f987 - BUILD: Fix compilation errors with newer versions of libs
    • f97142ac - RUST: Add functions in the new db to add/delete karas
    • 8166dc74 - RUST: Add the database queue
    • 1832aa48 - RUST: Add a way to get the content of a range in the database queue
    • a7d1569f - RUST: Add a way to add things in the queue from the database connexion + fix...
    • d4896889 - MISC: Add VSCODE workspace files to hace something editable in vscode + apply clippy
    • ff7b5164 - RUST: Split the rust part of lektor into multiple modules
    • a85b60cc - RUST: The safe part of the rust lib should use the lektor_c_compat::rs_types...
    • 3dfb9cd1 - RUST: Add the standard size optimisation flags
    • 314c6156 - DOC: Update readme
    • 36d0a40a - BUILD: Now amadeus-rs builds with updated dependencies
    • dc8fa1aa - [WIP] RUST: Implementing the safe interface over the unsafe C types and functions
    • 6d4aec52 - MISC: Fixing values of the c enums to be sure to have the correct values on the rust side
    • cbb6355a - DB: Implementation of iterators returning references
    • 13d88ae3 - RUST: Hide the C types behind a feature to forbid any usage by safe creates
    • 0a3f99f8 - RUST: Create the safe rust types for the queue and the uri
    • ea447eb6 - RUST: Logging from rust will call the C logging functions and write to stderr...
    • 9b6cd959 - RUST: Logging in the Rust source files must use the 'target' field to add a section in logging...

    Compare with previous version

  • Kubat added 33 commits

    added 33 commits

    • 9b6cd959...e8f593b8 - 2 commits from branch master
    • 62f45f4a - MODULE: Remove the SDL2 module
    • b97b3a8c - MODULE: Make a module with a rust implementation for repo_rs
    • e33d9dc5 - RUST: Run the diesel run migration command on a non existing db and generate...
    • 630eee86 - DB: Run migrations when opening the database
    • 8f421123 - MISC: Update licences' years
    • 2e48abc8 - RUST: Update the databse SQL file
    • f19a1a25 - RUST-DB: Add some ISO 639-1 languages, handle the case where the passed...
    • a64da75b - RUST-DB: Fix down.sql script + add comment for added languages
    • 1121ee3f - RUST-DB: Expose creation and deletion symbols as C symbols
    • a0641cda - RUST-DB: Use 2 characters codes even for added languages in the iso_639_1 table
    • 24fa9761 - [WIP] RUST-DB: Try to experiment by first making simple requests and building things around
    • 787d823d - RUST: Fix liblektor-rs build.rs file + move include files in the top level inc folder
    • d9cde1de - AMADEUS: Fix warnings from clippy
    • 91c85095 - FMT: Apply clang-format
    • fae218a1 - MISC: Update README
    • 81451845 - RUST: Add functions in the new db to add/delete karas
    • 3696744e - RUST: Add the database queue
    • 84c306b5 - RUST: Add a way to get the content of a range in the database queue
    • d016228a - RUST: Add a way to add things in the queue from the database connexion + fix...
    • e50cffec - MISC: Add VSCODE workspace files to hace something editable in vscode + apply clippy
    • ac1d17ce - RUST: Split the rust part of lektor into multiple modules
    • 32833fb8 - RUST: The safe part of the rust lib should use the lektor_c_compat::rs_types...
    • 8d7fb9b5 - RUST: Add the standard size optimisation flags
    • 2b542cbb - DOC: Update readme
    • d9d0ae16 - [WIP] RUST: Implementing the safe interface over the unsafe C types and functions
    • bb711247 - MISC: Fixing values of the c enums to be sure to have the correct values on the rust side
    • 26798ec6 - DB: Implementation of iterators returning references
    • b4ad51b3 - RUST: Hide the C types behind a feature to forbid any usage by safe creates
    • e04c02b7 - RUST: Create the safe rust types for the queue and the uri
    • 9b6dce3f - RUST: Logging from rust will call the C logging functions and write to stderr...
    • fdcef20c - RUST: Logging in the Rust source files must use the 'target' field to add a section in logging...

    Compare with previous version

  • Kubat added 21 commits

    added 21 commits

    • 3690959c - AMADEUS: Add base things for the amadeus-next, amadeus-rs but written with...
    • 50a8400d - WORKSPACE: Add workspace config for VSCode+linux
    • 7c2f3d4e - AMADEUS: Add things to the amadeus-next workspace
    • d09cc2a7 - AMADEUS: Write more commands for lkt-rs
    • 99dc27da - LIBLEKTOR-RS: DB now supports multiple languages per kara
    • c520187a - LKT-RS: Re-arrange the options and commands for lkt-rs
    • fa27d96d - DB: Remove the ot language
    • a5d6e859 - BUILD: Will now install the lkt-rs project as lkt
    • d4651723 - Revert "DB: Remove the ot language"
    • f34ac845 - AMADEUS: Continue the implementation of amadeus-next
    • 90493cde - MISC: Add a script to update all dependencies in rust workspaces
    • e12f15dc - RUST: Continue development of amalib and lkt-rs
    • 01d16aaf - RUST: Move the priority level definition from lkt-rs to the amalib
    • d0c2893d - RUST: Use forbit unsafe for where we can to enforce the use of unsafe code...
    • d4a62e63 - RUST: Continue to implement lkt-rs + add needed things to the amalib to do so
    • 568e8c48 - LKT-RS: Can now use a range, a count or let the argument empty when listing karas in the queue
    • 3662c8bb - RUST: Continue to implement lkt-rs with necessary changes to amalib
    • 11783045 - RUST: Continue to implement the rust lib of lektord with searches
    • e3729991 - RUST: Continue rust part implementation
    • 5abb960d - RUST: New kara IDs are created in the repo_kara table in an atomic way. We...
    • ba949f94 - DB: Add the is_virtual flag on karas

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    Compare with previous version

  • Kubat added 5 commits

    added 5 commits

    • 38d0dfb9 - URI: Add the query+link uri
    • fc5596bf - RUST: Add triggets to enforce some rules on the database
    • 73137b82 - RUST: Separate connexion and queue + add todo functions + update visibilities
    • c93b8965 - RUST: Merge the amadeus and liblektor sub-folders
    • 3790be1c - MISC: Clean up the project

    Compare with previous version

  • Kubat added 2 commits

    added 2 commits

    • 72e48668 - RUST: Rename things in rust db implementation + move the queue outside of the database
    • 178aaf0a - RUST: DB implementation continue

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 20c9c840 - RUST: Expose more things to the C part of lektor for the SQLite connexion

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 613c9d85 - RUST: Add wrappers for queue functions to call rust stuff from C

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • c188f497 - RUST: Continue C <-> Rust bindings + we will handle the config on the rust side of the force

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 6760f01d - MISC: Add vscode project setup file for C/C++ to ignore list

    Compare with previous version

  • Kubat added 24 commits

    added 24 commits

    • 82c77fff - LKT: The shuffle command won't take any argument
    • 3ac4397a - LKT: Change config, need to include the admin password and a user name that...
    • 6b4557d7 - LKT: Add a way to identifiate some commands.
    • 474f5af9 - RUST: Continue rust part implementation
    • 278cd8ff - RUST: New kara IDs are created in the repo_kara table in an atomic way. We...
    • 49ff8573 - DB: Add the is_virtual flag on karas
    • d6d4e359 - URI: Add the query+link uri
    • a32bfcbb - RUST: Add triggets to enforce some rules on the database
    • e452faa8 - RUST: Separate connexion and queue + add todo functions + update visibilities
    • fc03d07f - RUST: Merge the amadeus and liblektor sub-folders
    • 2899af1d - MISC: Clean up the project
    • e3949c84 - RUST: Rename things in rust db implementation + move the queue outside of the database
    • 1a7dc6a4 - RUST: DB implementation continue
    • 96a97569 - RUST: Expose more things to the C part of lektor for the SQLite connexion
    • a40cfa09 - RUST: Add wrappers for queue functions to call rust stuff from C
    • 81addda9 - RUST: Continue C <-> Rust bindings + we will handle the config on the rust side of the force
    • 68616a47 - RUST: Deps update
    • 553b2a14 - RUST: Delete duplicated declarations after rebase
    • c1cbf32e - RUST: Add dependency graphs for commons platforms + hide log inside the commons crate
    • b2e9379c - RUST: Update dependencies
    • b13460ae - RUST: Add the getset crate to write less code...
    • c5c98fcf - RUST: Add the smallstring crate + makes it 2021 edition
    • 4a5b3821 - RUST: Update included dependencies
    • 17586125 - RUST: First try at the amadb for caching requests to lektord

    Compare with previous version

  • Kubat added 4 commits

    added 4 commits

    • 7755b39f - AMALIB: Add base things for the cache on client-side
    • 0b9d2da2 - AMALIB: Come up with a way to patch tags
    • 47f14a3f - AMALIB: Add a way to override kara informations
    • fd2babb6 - WIP: We will load and write patch files for the database with auxiliary types.

    Compare with previous version

  • Kubat changed title from Draft: Implement the new database in rust and expose the functions to any code that can link to C to Draft: Refactor the whole code.

    changed title from Draft: Implement the new database in rust and expose the functions to any code that can link to C to Draft: Refactor the whole code.

  • Kubat changed the description

    changed the description

  • Kubat added 1 commit

    added 1 commit

    • f7b6776a - WIP: We will load and write patch files for the database with auxiliary types.

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • dd4a3927 - WIP: We will load and write patch files for the database with auxiliary types.

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 1b85a38b - WIP: We will load and write patch files for the database with auxiliary types.

    Compare with previous version

  • Kubat added 1 commit

    added 1 commit

    • 333ed132 - RUST: The cache will also be saved -> don't need to import all the overrides at each launch

    Compare with previous version

  • Kubat added 2 commits

    added 2 commits

    • 7dddc047 - AMALIB: Try to factorize Tcp and Unix sockets code...
    • 2e5812d7 - [WIP] AMALIB: Continue to try to come up with a way to handle unix sockets and...

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Veuillez vous inscrire ou vous connecter pour répondre
Chargement en cours