mirror of
https://gitlab.com/erkanisik/yali-rs.git
synced 2026-07-31 03:09:00 +00:00
İşleme için hazırlanmamış değişiklikler:
(işlenecekleri güncellemek için "git add <dosya>..." kullanın)
(çalışma dizinindeki değişiklikleri atmak için
"git restore <dosya>..." kullanın)
değiştirildi: locales/en.toml
değiştirildi: locales/tr.toml
değiştirildi: src/funct.rs
değiştirildi: src/installer.rs
değiştirildi: src/main.rs
değiştirildi: src/steps/bootloader.rs
değiştirildi: src/steps/display_manager.rs
değiştirildi: src/steps/mod.rs
değiştirildi: src/steps/partition.rs
değiştirildi: src/ui/mod.rs
değiştirildi: src/ui/theme.rs
İzlenmeyen dosyalar:
(işlenecekler arasına koymak için "git add <dosya>..." kullanın)
TODO-comar.txt
src/steps/location.rs
src/ui/combobox.rs
src/ui/combobox_stil.rs
İşlemeye eklenen değişiklik yok ("git add" ve/veya "git commit -a" kullanın)
Click to collapse
+ Thought: 1.1s
$ git diff --stat
locales/en.toml | 1 +
locales/tr.toml | 1 +
src/funct.rs | 43 ++-------
src/installer.rs | 205 -------------------------------------------
src/main.rs | 4 +-
src/steps/bootloader.rs | 17 ++--
src/steps/display_manager.rs | 40 ++++-----
src/steps/mod.rs | 2 +
src/steps/partition.rs | 75 ++++++----------
src/ui/mod.rs | 2 +
…
Click to expand
+ Thought: 1.4s
$ git log --oneline -5
25226c0 feat: dropdown full-width click, gradient bg, pointing-hand cursor
a48120b feat: gradient buttons, language selector with flags, SVG support, and UI improvements
b9f6df2 Merge branch 'main' into 'main'
30ea527 Merge branch yali-rs:main into main
d60bf64 feat: update display manager configuration and enhance cleanup process with repository management
+ Thought: 1.2s
$ git add locales/en.toml locales/tr.toml src/funct.rs src/installer.rs src/main.rs src/steps/bootloader.rs src/steps/display_manager.rs src/steps/mod.rs src/steps/partition.rs src/ui/mod.rs src/ui/theme.rs src/steps/location.rs src/ui/combobox.rs src/ui/combobox_stil.rs && git commit -m "refactor: extract ComboBox styling into dedicated module, add location step
- Create src/ui/combobox.rs with helper functions (show_combo_box, selectable_value, selectable_value_custom)
- Create src/ui/combobox_stil.rs with ComboBox visual constants (weak_bg_fill, text/border colors)
- Move theme.rs ComboBox visuals (weak_bg_fill, fg_stroke, bg_stroke) into combobox_stil::apply_visuals
- Move LocationStep from installer.rs to src/steps/location.rs
- Re-register LocationStep in steps/mod.rs
- Update all ComboBox usages across steps (bootloader, display_manager, partition, funct) to use theme::show_combo_box / selectable_value
- Replace manual mesh drawing in language selector with combobox helper
- Add region/timezone i18n keys
- Vertical-align region/zone labels to match ComboBox height"
[main ccc851d] refactor: extract ComboBox styling into dedicated module, add location step
14 files changed, 547 insertions(+), 340 deletions(-)
create mode 100644 src/steps/location.rs
create mode 100644 src/ui/combobox.rs
create mode 100644 src/ui/combobox_stil.rs
ccc851d refactor: extract ComboBox styling into dedicated module, add location step
14 dosya, 547 ekleme, 340 silme. Yeni dosyalar: combobox.rs, combobox_stil.rs, location.rs.
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
=== COMAR Python'dan Arındırma Planı ===
|
||||||
|
|
||||||
|
Hedef: Python bağımlılığını tamamen kaldırmak, tek dil (C) kullanmak.
|
||||||
|
|
||||||
|
Kapsam:
|
||||||
|
- script.c → Python yorumlayıcısını kaldır, model verisini C struct'larında tut
|
||||||
|
- db.c → Python dict yerine C struct kullan (iksemel XML parse zaten C'de)
|
||||||
|
- pydbus.c → İşlevleri script.c'ye taşı, bu dosyayı kaldır
|
||||||
|
- core.py → C'de yeniden yaz (~50 satır, introspect/listeleme/register/remove)
|
||||||
|
- policy.py → C'de yeniden yaz (~8 satır, decorator → C callback)
|
||||||
|
- CMakeLists.txt → PythonLibs bağımlılığını kaldır
|
||||||
|
- Betik sistemi (scripts/<model>/<app>.py) → aktifse Lua'ya geçir, değilse kaldır
|
||||||
|
|
||||||
|
Yapılacaklar:
|
||||||
|
1. scripts/ dizinindeki .py dosyalarının kullanım durumunu kontrol et
|
||||||
|
2. Model veritabanını C struct'larına çevir (db.c)
|
||||||
|
3. core.py fonksiyonlarını C'ye taşı
|
||||||
|
4. script.c'deki Python API çağrılarını temizle
|
||||||
|
5. pydbus.c'yi script.c'ye birleştir
|
||||||
|
6. CMakeLists.txt'den PythonLibs'i çıkar
|
||||||
|
7. Python 2→3 geçişi yapma, direkt çıkar
|
||||||
Reference in New Issue
Block a user