VisualNEO Win. Version 21.9.9 - Page 2 - Forum

Forum Navigation
You need to log in to create posts and topics.

VisualNEO Win. Version 21.9.9

PreviousPage 2 of 4Next

Also, if possible, add an autosave project.

 

Hello,

I could make a huge list. :)

And I am not a full time developer and/or Santa Claus ;-)

Facing realtity I will see what can be done when I find time again.

The last big additions were in my summer holidays when I could not travel for pandemic reasons.

Regards

Hans-Peter

And I am not a full time developer and/or Santa Claus ;-)

:)

I understand. Thank you very much for your time, program development and plugins.

 

@hpw

У вас есть подробности об API / вызовах, которые могут понадобиться для GitHub?

Должна быть возможна любая ссылка на Интернет.

И вы хотите использовать GitHub для обмена файлами pub?

Yes, I think it would be convenient to have the ability to synchronize the project with GitHub server (send updates and receive them, for example, from another of his own computer or copying project of another developer from GitHub). That is, it would be convenient to be able to send project updates from VisualNEO Win to the appropriate folder (i.e. repository) on GitHub (i.e. synchronize PUB file and all related files from that PUB file folder).
Thus, the project is simultaneously stored on your local computer and on GitHub. You can see an example of integration with GitHub in Delphi 10, for example. Clicked a button (or menu item) and the project is synchronized with what's in the GitHub cloud. This would allow you to make open source projects, share projects, and save projects reliably in the way developers around the world are used to. And, in addition, it would not burden the server of this forum with those files that can be stored on GitHub.

There are other useful features, such as developer acceptance/rejection of changes proposed by another developer (this would turn VisualNEO Win into a collaborative programming tool).

As far as I know, to synchronize with GitHub, a VisualNEO Win user will need an account on GitHub, where he can get a special access token to set up automatic access to his account.

If I understand correctly, the GitHub API can be used in different ways:

GitHub REST API
https://docs.github.com/en/rest

GitHub GraphQL API
https://docs.github.com/en/graphql

GitHub CLI (command line)
https://docs.github.com/en/github-cli/github-cli/about-github-cli

Hello @vaddim,

After a short look at your API links I would not think that it is a easy task.

Even the cli example seems to be a special shell.  Maybe I misunderstood it so far.

I am not sure if it worth to spend the resources for this, as other wishes are also on the wish-list.

You may search for a working example for delphi which can reduce the efforts.

Regards

Hans-Peter

 

@hpw

Yes, of course, you know better what requires priority efforts! I will try to find out more and find a sample for Delphi to reduce the amount of work possible. Thank you so much for developing your favorite program !!!

I'm actively working on a design time plugin. I accept integration suggestions. What does this Mouse Monitor option do? I will look into this Github API.

Hans-Peter, I can read the .PUB but do you have more info about how to isolate the Objects in the pub file? I would like to parse them

@albertomeyer

Thank you! The point of my suggestion was to add GitHub integration to VisualNEO Win itself. It seems to me that there is no sense to try to do it through a plugin, because in this case it is easier to use specialized Git software (setting it to synchronize local project folder with GitHub repository). The Git program (not to be confused with GitHub) has existed for a long time (https://git-scm.com/).

By the way, if I understand correctly, Delphi 10 also uses exactly Git to synchronize projects with GitHub (https://webdelphi.ru/2019/03/rabota-s-git-v-delphi-10-3-rio-poshagovoe-rukovodstvo/). The description on this link is in Russian, but you can translate it in your browser. It's probably a more efficient way than using the Github API directly.

But in any case, Hans-Peter is right in that you need to find already tested suitable code in Delphi, so that this endeavor is not costly. After all resources are always limited. Besides there are probably more important tasks.

 

Hello,

Hans-Peter, I can read the .PUB but do you have more info about how to isolate the Objects in the pub file? I would like to parse them

I am not sure what you mean with isolate. Once I wrote a pubparser in the newlip-projekt for an pubviewer with a treeview.

It is on my newlisp plugin page.

https://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html

The logik of the internal VNW parser is still not fully understood for me.

Regards

Hans-Peter

 

" The point of my suggestion was to add GitHub integration to VisualNEO Win itself. It seems to me that there is no sense to try to do it through a plugin".

My plugin extends the VisualNeo IDE, same way the Github plugin extends the Delphi IDE for that matter. My plugin already has many built-in tools.

 

Vadim has reacted to this post.
Vadim

"https://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html"

this is exactly what i am trying to do.

 

 

@hpwery nice app. Whats is "Sams Explanation from the forum". :) Thank you

V

 

Hello,

Sam Cox was a very active member on the forum and very helpfull and kompetent. Good coder.

Some years ago he disappears on the old forum. No information since then.

Regards

Hans-Peter

@hpw

Hello,

StrRegexIsMatch "'(.+?)'" "[Translate]" "[Error]"

Does not find a string with apostrophes, for example 'to', 'from'

hpwExecRegExpList "'(.+?)'" "[Translate]" "" "[Error]"

Works good.

Hello,

StrRegexIsMatch "'(.+?)'" "mail 'to' Test" "[ResultIsMatch]"

.Does not find a string with apostrophes, for example 'to', 'from'

hpwExecRegExpList "'(.+?)'" "mail 'to' Test" "|" "[ResultList]"

Works for me both. True and 'to'

Rergards

Hans-Peter

Sorry for disturbing. I am trying to switch to the use of these commands in Visualneo, and not in the plugin, and confused in anticipation of the return value. I expected the text, and returns True \ False

As a regular expression, transfer this symbol  ¶, or in SearchStr.

They already raised this question, I can not remember. Tell me hto remembers, or knows.

All, thanks to everyone :). The question is resolved. [#182]

Vadim has reacted to this post.
Vadim

@hpw

Hello,

Did you change anything in the system settings? For some reason, the file entry occurs on Cyrillic not wines 1251, but Makintosh. You have to constantly change the encoding when viewing the file. He found out from Vadim, he has 7 windows, the same. Previously, this was not observed, and now the NB also writes.

 

Vadim has reacted to this post.
Vadim
PreviousPage 2 of 4Next
Open chat
1
Do you need more info?
Hi, do you have any doubt?