Commit Graph

1332 Commits

Author SHA1 Message Date
339ad0a4bc git_sync.ps1: -OrphanExempt, texte fara binar prin design
Un text .??2 al carui binar e gitignored si se genereaza local din text (txt2vcx) nu e
orfan, dar era raportat ca atare la fiecare sync. Pattern-urile din -OrphanExempt sunt
sarite inainte de verificarea binarului, deci nici raportate nici sterse la
-OrphanCleanup. Implicit acopera stub-ul de formular verificare.sc2 din testele
headless de achizitie import.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EiizMcQA6NEYCftpqCtPtC
2026-08-03 22:49:45 +03:00
57c4a63d06 vfp_symbols.ps1: reconstruire la schimbarea radacinii; default-uri pe fluxul in-tree
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A5okKjUKMM5Xk1egq2w81P
2026-08-03 08:56:00 +03:00
9b6671b0ed actualizare 2026-08-03 08:30:21 +03:00
7f06f3ca4c vfp_symbols.ps1: index de simboluri peste cache-ul text si .prg-urile proiectului
Retine intervalul de linii al fiecarei clase/metode/proceduri, ca o potrivire de grep sa
poata fi atribuita clasei si metodei care o contine - ce grep nu poate spune intr-un .vc2,
unde antetul clasei poate fi cu mii de linii deasupra potrivirii si ~2/3 din fisier sunt
proprietati si metadata.

Moduri: -Grep (eticheteaza rezultatele, -CodeOnly taie metadata), -Where fisier:linie,
-Find (unde e definit), -Class (lant de mostenire + metode cu intervale). Indexul se
reconstruieste singur cand cache-ul e mai nou.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ceaeZUhPwyDG4LXPzigUJ
2026-08-03 07:55:57 +03:00
234f6a5e7f Muta roa_sync.ps1 (+ testul) in COMUN\scripts - aici ramane doar stub
Scriptul de sesiune se distribuie de-acum prin svn update (COMUN e prezent in
toate proiectele ROA), nu prin pull manual pe clona foxbin2prg. Stub-ul
deleaga la <ProjectRoot>\COMUN\scripts\roa_sync.ps1 (cu svn update prealabil
daca fisierul lipseste inca), pentru lansatoarele roa_sync.bat neactualizate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AvccPZXr4A9ihcTtExNoJT
2026-07-27 11:58:55 +03:00
51cab198c4 roa_sync: reconciliere cu origin + push gardat doar commit-uri de sync
Dupa commit-ul local de sync: fetch origin, apoi ff-only (doar in urma) sau
rebase --empty=drop (divergenta - sync-urile cu continut deja identic pe
origin devin goale si sunt aruncate automat, fara interventie manuala);
conflict real -> rebase --abort + exit nenul. Push origin main DOAR cand
toate commit-urile ahead sunt de forma sync SVN[ r<rev>], cu maxim 3
reincercari la push respins (push simultan de pe alta masina). Switch nou
-GitOnly (sare svn update + regenerarea textelor). Harness nou
test_roa_sync.ps1: 8 scenarii pe fixture-uri git in TEMP, inclusiv
reproducerea incidentului din 2026-07-27 (local byte-identic cu origin).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AvccPZXr4A9ihcTtExNoJT
2026-07-27 11:52:23 +03:00
558973f0c6 Fb2P_Diff: actualizare proiect + texte regenerate; PROMPT_cautare_vfp: flux editare/write-back
Modificari pre-existente (09.07) comise separat de fluxul git-text;
.pj2/.sc2 reimprospatate din binare cu git_sync.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 11:22:36 +03:00
76ca98f0bf Adauga roa_sync.ps1 (sync de inceput de sesiune: svn update + git_sync + commit sync + inchidere branch-uri claude)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 11:14:00 +03:00
a05687a38f Flux git-text in-arbore: git_sync.ps1 + teste, txt2vcx in-place, filemap pjx/dbf
- git_sync.ps1 nou: conversie recursiva bin->text in arbore (staging temp,
  incremental, orfani, RoundtripExempt, DbfList cu date, anti-dialog cfg)
- vfp_filemap.ps1: mapari .pjx->.pj2 si .dbf->.db2
- txt2vcx.ps1: CacheRoot implicit = ProjectRoot (text in-arbore) + cfg anti-dialog in staging
- test_roundtrip.ps1: parametrizat per proiect, restaurare din backup temp (nu git checkout)
- test_git_sync.ps1 nou: incremental, orfani, esec partial, protectie binar, scutire roundtrip
- CLAUDE.md: fluxul nou documentat

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 11:04:23 +03:00
16f7d75363 vcx2txt.ps1: conversie incrementala reala - fara reconversii false la fiecare rulare
- Start-Process -Wait in loc de "&" (exe GUI - controlul se preda inainte de final,
  iar stergerea binarului copiat omora conversia in curs).
- succes decis pe rescrierea efectiva a textului sau raportul E0 al exe-ului, nu pe
  simpla existenta a unui text vechi (esecurile erau mascate ca "OK").
- FoxBin2Prg nu actualizeaza mtime cand textul regenerat e identic (ex. binare
  reatinse de Project > Build fara schimbari reale) - sincronizam mtime-ul textului,
  altfel fisierul parea stale si se reconvertea la nesfarsit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 13:13:39 +03:00
f36a26a9c6 Adauga write-back text->binar VFP: txt2vcx.ps1 + vfp_filemap.ps1 + test_roundtrip.ps1
Fluxul complet bin->text->edit->bin pentru .vcx/.scx (faza 1; .mnx/.frx raman
read-only): regenerare+compilare in staging unic per rulare, guard-uri
(COMUN cu -AllowComun, staleness, binar lipsa, folder foxbin2prg), fidelity
check pe octeti inainte de orice copiere, copiere .vct->.vcx cu restaurare
la esec partial, refresh cache. Harta de extensii extrasa in vfp_filemap.ps1,
dot-sourced si de vcx2txt.ps1 (comportament identic).

Invoke-FoxBin2PrgSafe: wrapper cu timeout+taskkill pentru toate invocarile
exe-ului - la text stricat Prg2Bin intoarce ErrorLevel 0 dar binarul corupt
poate ridica MessageBox modal VFP nesuprimabil la reconversie.

test_roundtrip.ps1: faze fidelitate/editare/smoke siblings/negativ+guard-uri,
41 PASS pe ROAGEST + smoke ROAIMOB/ROAACNPRO.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 18:30:21 +03:00
b449e0aa2f Muta cache-urile text VFP in afara clonei foxbin2prg
ReCreate_FoxBin2Prg.prg face Prg2Bin recursiv pe tot folderul tool-ului (get_FilesFromDirectory intra in orice subfolder), deci _textcache_* aflate sub foxbin2prg erau scanate si .??2-urile din alte proiecte reconvertite in binare parazitare.

Cache-urile stau acum in D:\ROA\_vfp_textcache\{roacnpro,roagest,roaimob}, in afara clonei, unde ReCreate nu le mai poate atinge. Actualizat default CacheRoot in vcx2txt.ps1, exemplele din CLAUDE.md / PROMPT_cautare_vfp.md / git_svn_parallel_init_prompt.md si comentariul din .git/info/exclude.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 12:46:06 +03:00
ffdaa88d74 sync_romfast.bat: repara "batch file cannot be found" cauzat de checkout master
Scriptul exista doar pe branch-ul romfast, deci "git checkout master" il
stergea de pe disc in timp ce cmd.exe il citea linie cu linie. Acum se
auto-copiaza in %TEMP% si ruleaza de acolo, imun la schimbarea de branch.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 12:33:06 +03:00
98e1295eec Adauga sync_romfast.bat/.ps1 pentru sincronizare romfast<->upstream cu optiune de stash
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 12:26:16 +03:00
7e4c0154f2 CLAUDE.md: documenteaza remote-urile (origin/github + romfast/gitea) si fluxul de sincronizare 2026-07-09 11:43:27 +03:00
d873d52aea Adaugari locale ROA: vcx2txt.ps1 (cautare cod in binare VFP), prompturi si CLAUDE.md 2026-07-09 11:42:07 +03:00
Lutz Scheffler
32715d06b8 Merge pull request #127 from lscheffler/fork_mod
Minor flaws
2026-06-21 14:24:05 +02:00
Lutz
cfcc8ed372 Minor flaws 2026-06-21 14:23:31 +02:00
Lutz Scheffler
2f9ce55803 Merge pull request #126 from lscheffler/fork_mod
Documentation reworked
- Single file for config files
- Dependencies of parameters and settings better shown
- Some API pem added.
- Static paths removed
- Settings better and more often linked
- TOCs reworked
2026-06-21 14:19:52 +02:00
Lutz
53e8b0c5a4 Documentation reworked
Single file for config files
Dependencies of parameters and settings better shown
Some API pem added.
Static paths removed
Settings better and more often linked
TOCs reworked
2026-06-21 14:14:35 +02:00
Lutz
7c0119b8e2 Docu ReadMe 2026-06-21 11:19:39 +02:00
Lutz Scheffler
c18afb8ccc Merge pull request #124 from lscheffler/fork_mod
Added some changes to the documentation due to some issues.

- https://github.com/fdbozzo/foxbin2prg/issues/117#issuecomment-4757649261
- #123
2026-06-20 15:08:32 +02:00
Lutz
9881b104a7 changes to prg removed, just documentation 2026-06-20 15:03:57 +02:00
Lutz
5142ff2131 Documentation
Better information on configuration files
use of git documentation: how to fix boken line endings
minor broken links
2026-06-20 14:58:35 +02:00
Lutz
429b43342f Documentation EXE vs PRG
Better documentation of issues with EXE and different versions of VFP
Clearer description when to use prg (mostly on many active VFP versions)
Minor documentation updates
2026-06-20 13:59:56 +02:00
Lutz
e5ac6ddda4 Bug fixex 121 and 122
Bug Fix: Fixed a typo in toF1oxBin2Prg. The "1" is not needed. #121 (ccantrell72)
Bug Fix: Unused methods set_BinTableFlags and set_NumTableFlags removed. #122
2026-06-19 18:37:46 +02:00
Lutz Scheffler
75e0c0c90f Merge pull request #120 from lscheffler/fork_mod
Version 1.21.05
2026-06-18 19:54:16 +02:00
Lutz
59921f3e52 Version to tcDontShowProgress
Bug Fix: Brute force fixed Datatype error for tcDontShowProgress, #114 (omirian)
Bug Fix: Fixed missing link SCM documentation, #116 (ToniKoehler)
Bug Fix: Fixed a problem that cDontShowProgress parameter will be ignored if ShowProgressbar property is used. #118 (LScheffler)
Docu: Added documentation of properties of settings object
Docu: Better documentation if a settings us ignored when a parameter is set. Voth in in docu and setting files generated via -Cc options.
Docu: Some settings will not follow inheritence, documented in docu and setting files generated via -Cc options.
2026-06-18 19:38:21 +02:00
Lutz
c565e41f27 Minor flaw in contribution doc 2026-06-18 17:39:56 +02:00
Lutz
abf47f7a3c Inline docu for BodyDevInfo = 2
German version of inline documentation of settings file created via -C/C -c/C and -t/T enhanced.
2026-06-18 17:26:37 +02:00
Lutz
fc44b60a7a Documentation
Documentation for settings file and the respective properties of the settings object enhanced.
Inline documentation of settings file created via -C/C -c/C and -t/T enhanced.

Aside from the properties, this is mostly about use of parameters and settings outside the chain of inheritance.
2026-06-18 16:53:00 +02:00
Lutz
e92f6edaed Reworked tcDontShowProgress
- Do not use parameter if depricated setting DontShowProgress is used
- Ignore setting ShowProgressbar, if parameter is used
- minor documentation of changes
2026-06-18 13:59:43 +02:00
Lutz
a094a3043e Docu
Missing change date in md
2026-06-18 13:24:50 +02:00
Lutz
1badfc9deb Docu
Better description of parameter cCFG_File of Execute method
2026-06-18 13:23:48 +02:00
Lutz
bc437be290 Problem with Transform
On some machines testing tcDontShowProgress in working with TRANSFORM fails.
2026-06-17 20:18:10 +02:00
Lutz
4801fb25b5 Documentation SCM
Stub instead of a link to the PLASTIC video
2026-06-17 18:33:12 +02:00
Lutz
3ccfacbf53 Merge branch 'master' of github.com:fdbozzo/foxbin2prg 2025-06-15 20:06:17 +02:00
Lutz
7b0edae0dc Problems with recreation of dev folders
Running ReCreate_FoxBin2Prg.prg will raise an error about TESTS\FXUResults.db2
This error is intended, only a bit surprising.
Documatation gives a better hint,
also what to download for dev and runtime as better visible
fixing #111
i
2025-06-15 20:01:40 +02:00
Lutz Scheffler
d6294c7b42 Merge pull request #109 from DougHennig/master
v1.21.04: Added support for BodyDevInfo = 2 in CFG file to prevent both DevInfo and ObjRev from being written to PJ2 file
2024-08-28 21:12:30 +02:00
Doug Hennig
10a2f4336e Updated doc dates 2024-08-28 10:10:59 -05:00
Doug Hennig
c6bdc993dc Changed LF to CRLF 2024-08-27 16:55:17 -05:00
Doug Hennig
8384b6c100 Updated docs 2024-08-27 10:08:48 -05:00
Doug Hennig
ab1f03e5b8 v1.21.04: Added support for BodyDevInfo = 2 in CFG file to prevent both DevInfo and ObjRev from being written to PJ2 file 2024-08-26 14:10:52 -05:00
Lutz
bcec0c754b Problems with NULL as fieldname in dbf 2024-04-24 16:42:05 +02:00
Lutz
8eb6775f60 Fixing issue recreating class per file
Problems regenerating single classes and forms from text files in class-per-file form; fixing #105
2024-01-03 11:26:23 +01:00
Lutz
ff82618901 Renamed zip 2023-12-12 10:45:58 +01:00
Lutz
4fb3ac73cf Missing zip file 2023-12-12 10:43:09 +01:00
Lutz
caaf3e93ed New version
see docs/Changelog.md
Merge branch 'fork_mod'
2023-12-06 14:03:41 +01:00
Lutz
17c23c2733 Reintegrated Thor 2023-12-06 10:02:46 +01:00
Lutz
0363d644af Fix problem regenerating DBC 2023-12-04 12:29:32 +01:00