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

Historique #1

Open
AS400JPLPC opened this issue Jan 4, 2024 · 0 comments
Open

Historique #1

AS400JPLPC opened this issue Jan 4, 2024 · 0 comments

Comments

@AS400JPLPC
Copy link
Owner

AS400JPLPC commented Jan 4, 2024

→ 2023-05-22 changed regex processing, discontinued use of GO, and introduced regex.zig (https://github.com/tiehuis/zig-regex)

→ 2023-05-22 add function match (match.zig) updating controls in forms with regex
→ 2023-05-22 add function isMatch regex.h libc updating controls in forms with regex
→ 2023-05-22 controls conform standard
→ 2023-05-22 ex: https://stackoverflow.com/questions/201323/how-can-i-validate-an-email-address-using-a-regular-expression
→ 2023-05-22 chapitre RFC 6532 updates 5322 to allow and include full, clean UTF-8.

2023-08-1 I am preparing for the version change in order to take advantage of advancements and modify the code if necessary. My experience, you have to review the "FOR" loop the "ENUM" and "BUILD" functions what I did

2023-08-1 Studies of memory cleaning and various functions 0.11
2023-08-1 Add func Grid ioGridKey (parm,parm, button KEY return) for management grid to grid ex: modlObjet fn Order

2023-08-1 Adjustment for 0.11 test A lot of changes since version 0.10.1

2023-08-1 look at the build has changed a lot.
2023-08-1 Gencurs modlPanel OK
2023-08-1 Gencurs modlObjet testing "label define - order remove" OK
2023-08-1 modlObjet alt-T Title alt-L Label alt-w Menu(order/remove)
2023-08-1 modlObjet ESC abord ctrl-V valide F11 write all Objet for Panel ... F12 abord and return


2023-08-1 Changing and reorganizing the code:
new "grid.zig"

    the "forms.zig" no longer includes grid management

        I reviewed the initialization of the panel and grid

            with create mode to better manage memory and make memory allocation more consistent

                [ziggit](https://ziggit.dev/t/philosophical-question-about-memory/1343)

                    testing memoory
                        [zulipchat](https://zig-lang.zulipchat.com/#narrow/stream/346105-FR-General/topic/.E2.9C.94.20Debeuger)


                        2023-08-4 Watch the build version zig 0.11.0 new formula to generate documentation

                        2023-08-09 small update project due to version change
                        2023-08-09 modlObjet alt-F start of field processing
                        2023-08-09 Json studies to encapsulate the generation (IN/OUT)

                        2023-08-12 After a big discussion, setting up the wrestling
                        2023-08-12 Pause: preparing JSON this will help me control the values... more settings
                        2023-08-14 Installation of a logger I modified the logger and redirected to a file, it can also be used for recording other than errors or for monitoring data, diagrams test [zig_demoJson](https://github.com/AS400JPLPC/zig_demoJson)


                        2023-08-21 First Json test, now I will refine, it's too hot break.

reprise du projet

I had to buy a PC In the meantime I changed publisher etc...* 2023-11-15 add module mdlSjson (save file)

  • 2023-11-15 add module mdlRjson (restore file)

    2023-11-15 add module mdlFile (manager file)
    2023-11-15 in the "mdlObjet" module have little reordered and deleted
    2023-11-15 A “dspf” folder groups JSON files : Label Field
    2023-11-15 The software runs in a terminal
    2023-11-15 A small change F10 became F11 for convenience with the terminal

→ 2023-11-22 update Forms mdlObjet mdlSjon mdlRjson
→ 2023-11-22 harmonization function line vertical & horizontalharmomisation procedur
→ 2023-11-22 test Json save restor gencurs

→ 2023-11-29 restructuring:
new source ./deps/menu.zig deletion in forms.zig of menu processing change mdlObject name -> mdlForms
→ 2023-11-29 Still testing, mdlPanel update, mdlForms due to reorganization
→ 2023-11-29 Gencurs update preparation Grid/Menu generation

2023-12-28 I just made my first 'COMPTIME,' I finally understood what it's for and how to approach it. Introduction to comptime rstPanel example pnl; rstPanel(grd.GRID,Xcombo, pfmt001); example: restore(type grid, gridX, panelX) This function restores the part of the panel that was hidden by the grid.
2023-12-18 I removed the dependencies on forms(panel) for the menu and grid.
2023-12-28 (forms- grid - menu) They are deeply modified to make them independent.
2023-12-28 Corrections in mdlPanel F10 -> F11. Corrections in mdlFile Minor correction
2023-12-28 I take my time because I have heart problems (fatigue with medications), and I am still studying to understand and grasp the ZIG-LANG language. (I am 72 years old.)
2023-12-29

[a] Cursed: a background module that manages terminal access. It has been revised to enhance smoothness; I've explored other modules on the web that delve into the issue and have provided me with certain ideas.
[b] The Grid and Menu modules are completely independent of Forms.
[c] The utils (tools) module has been simplified and includes its own ArenaAllocator.
[d] Huge work on memory management; the Example program serves as a model.
[e] For your information, I initially thought it was the double buffer causing the program to bloat. After conducting a real test, I encountered the same issue. I removed some entanglements and reconsidered the allocation mode. The user-facing functions remain unchanged; there's just a deinitUstr function in place of deinitUtils.

→ 2024-01-05

I tested with two versions, 0.11.0 and 0.12.0-dev. Everything works fine except in mdlFile.zig:

// 0.11.0 active
const iter_dir = try std.fs.cwd().openIterableDir(vdir, .{});

// 0.12.0 
// const iter_dir = std.fs.cwd().openDir(vdir, .{.iterate = true}) catch unreachable;

→ 2024-02-01
**Significant modification due to the addition of the callPgm function (module.zig).**
   .Exec to the program associated with the Field zone. CTRL+P

   .Look at the example: Exemple.zig, the execve function in the source /deps/callpgm.zig.

   .Several corrections: handling of Fields within the Panel function, plus a few message associations...

   .Addition to the Field structure: progcall zone [] const u8, setCall, and getCall functions.

→ 2024-02-02
   .correction mineur
------------------------------------------------------------------
→ 2024-02-10
The 'exemple' folder demonstrates how to use a shared library in your project that may contain multiple programs.

→ 2024-02-14
Correction of the "rstpanel" function.
Correction of "label.name" (memory issue).
Possibility of adding the program name to an input field.
Correct alignment in the Json backup files.

I am progressing slowly (many tests). I have even considered directly addressing the memory.



→ 2024-03-25
    update version 0.12.0-dev.3429.
Inclusion of modules callPgmPid, zmmap only v0.12

Addition of the updateField function from mdlForms

Minor correction in ioCombo, the cursor wasn't moving up

In cursed, the handling of IOCTL has changed with the new Zig version

I've left the lines for downgrading, with 2 or 3 exceptions.(cursed)

Afterwards, I will only work with version 0.12.dev.

test : "./Gen" for Gencurs

I'm still mulling over my design for the table generator.

→ 2024-06-29

new version zig 0.13.0 stable

Implementation of the lib "library" removal of "deps"

I'm making progress, this MENU

→ 2024-07-03

curse/forms shell

→ 2024-07-22

  • big update cursed F1..F36 extension
  • Change of REGEX module

    Following the work provided by Sam Atman, a basic "regex" library allowing on-the-fly constraint testing of a form, all written in ZIG, now my project is in pure ZIG.
  • Therefore, update of the forms module, revision of the mdlPanel module to integrate the functions F1..F36, and correction of an error in mdlJson.

→ 2024-07-23

  • correction of mdlForms following the inclusion of the new regex module.

I'm making progress, and I'm going to create the JSON.

→ 2024-07-31

JSON function enabled for grid and menu.

  • full test GRID/MENU
  • various changes due to testing and implementation of the JSON function
  • This should not alter the old definitions.
  • you will find results in the dspf directory

"INFO"
Display attributes are in CURSED, e.g., term.ZONATRB, the CURSOR type.
REFTYP is in Forms and Grid.
CTRUE/CFALSE are in Forms and Grid.
CADRE is in Forms and Grid.
LINE is in Forms.
"CURSED" and "UTILS" are being called within "Forms", "Grid" and "Menu"
"MATCH" are being called within "Forms"




→ 2024-08-03 / 04
backup/restore
add directory choice
sort directory and files

Small bug fixed with testing

this morning some big tests:

refining uppercase extended ascii mode
in-depth regex test MVRZR MACH activation
scan and roll test JSON

→ 2024-08-12

→ 2024-08-03 / 04

backup/restore

add directory choice

sort directory and files

  • Small bug fixed with testing

  • this morning some big tests:

  • refining uppercase extended ascii mode
  • in-depth regex test MVRZR MACH activation
  • scan and roll test JSON

→ 2024-08-12

  • upgrade version 0.13 / 0.14 token

  • debug GRID add type :

    I made an update in the GRID module:

There are two ways to manage grids:

a) Combo starts with the letter C.

b) Grid starts with the letter G.

Why this naming convention? It's for code generation. A Combo handles a single value and is loaded as a fixed value.

For the Grid, it should be considered as a sub-file that can paginate, return multiple values, etc.

Even though both use the same routines, the functionality is different.

  • add orderGrid :

  • add module Gensrc :

    -Added the Gensrc program, restructured logger (file), and added logcons (console). This program will create the reference between the functions areas and the Combo/Grid definitions.



→ 2024-08-14

  • debug GRID While testing, I found a bug due to copy-paste Pagination with value return is correct.
  • the same goes for allocator cleaning (when you want to do too well, you do too much. GRID management is no longer altered when using mdlPanel and mdlForms
  • I think it will be possible to give names to the labels in order to be able to easily do on offs
  • With the generation tests, I go around the whole thing again...
  • ps : the structures do not move, except that I deleted redundant fn ioGridKeyfn ioGridKey




→ 2024-08-20

  • Big glitch due to copy-paste reintroduction of ioGridkey function SORRY
  • Added logsrc specifique for Gensrc
  • Added reference list: Gensrc The program is under development but functional It helps me to go around the project again and again.



→ 2024-08-20

Test programme Gensrc. It remains to determine the folders of the lists and the source output
To see how it works dspf/ntest

→ 2024-08-25

Improved isMatch regex from forms function
watch the program exemple.zig

→ 2024-09-01

be careful from branch 0.14. dev 1391 there are changes ex: @typeInfo(EnumTag).@"enum".fields (before .enum.fields)
add Alt-X function display menu
add Alt-R function display terminal actif
x,y menu positioning fix

→ 2024-10-17

update module MDLMENU -> improved sketch
update module MDLFILE -> changed function key text, more clarity
update Gensrc -> Generation Source type "mainMenu" with a skeleton
Several minor changes due to testing

→ 2024-10-17 19:00

update module MDLFORMS -> add function Alt-G View GRID
update module MDLGRID -> Best Grid Order/Remove Adaptation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant