From 109e5733c86dd4e806f74a58684c92c59d2fbb89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erkan=20I=C5=9EIK?= Date: Wed, 17 Jun 2026 10:01:47 +0300 Subject: [PATCH] =?UTF-8?q?=C4=B0=C5=9Fleme=20i=C3=A7in=20haz=C4=B1rlanmam?= =?UTF-8?q?=C4=B1=C5=9F=20de=C4=9Fi=C5=9Fiklikler:=20=20=20(i=C5=9Flenecek?= =?UTF-8?q?leri=20g=C3=BCncellemek=20i=C3=A7in=20"git=20add=20..."?= =?UTF-8?q?=20kullan=C4=B1n)=20=20=20(=C3=A7al=C4=B1=C5=9Fma=20dizinindeki?= =?UTF-8?q?=20de=C4=9Fi=C5=9Fiklikleri=20atmak=20i=C3=A7in=20=20=20=20=20"?= =?UTF-8?q?git=20restore=20..."=20kullan=C4=B1n)=20=09de=C4=9Fi?= =?UTF-8?q?=C5=9Ftirildi:=20=20=20=20=20=20=20=20=20locales/en.toml=20=09d?= =?UTF-8?q?e=C4=9Fi=C5=9Ftirildi:=20=20=20=20=20=20=20=20=20locales/tr.tom?= =?UTF-8?q?l=20=09de=C4=9Fi=C5=9Ftirildi:=20=20=20=20=20=20=20=20=20src/fu?= =?UTF-8?q?nct.rs=20=09de=C4=9Fi=C5=9Ftirildi:=20=20=20=20=20=20=20=20=20s?= =?UTF-8?q?rc/installer.rs=20=09de=C4=9Fi=C5=9Ftirildi:=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20src/main.rs=20=09de=C4=9Fi=C5=9Ftirildi:=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20src/steps/bootloader.rs=20=09de=C4=9Fi=C5=9Ftiri?= =?UTF-8?q?ldi:=20=20=20=20=20=20=20=20=20src/steps/display=5Fmanager.rs?= =?UTF-8?q?=20=09de=C4=9Fi=C5=9Ftirildi:=20=20=20=20=20=20=20=20=20src/ste?= =?UTF-8?q?ps/mod.rs=20=09de=C4=9Fi=C5=9Ftirildi:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20src/steps/partition.rs=20=09de=C4=9Fi=C5=9Ftirildi:=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20src/ui/mod.rs=20=09de=C4=9Fi=C5=9Ftirildi:=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20src/ui/theme.rs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit İzlenmeyen dosyalar: (işlenecekler arasına koymak için "git add ..." 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. --- TODO-comar.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 TODO-comar.txt diff --git a/TODO-comar.txt b/TODO-comar.txt new file mode 100644 index 0000000..cb6d10d --- /dev/null +++ b/TODO-comar.txt @@ -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//.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