Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » 2024rc2
2024rc2 [message #61057] Sat, 02 November 2024 11:03 Go to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
https://sourceforge.net/projects/upp/files/upp/2024rc2/
Re: 2024rc2 [message #61058 is a reply to message #61057] Sat, 02 November 2024 16:33 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
Thank you!

Testing right now.

Hopefully the editor is better, because whatever new Clang version I'm using is definitely a miserable editing experience versus the old TheIDE.
Re: 2024rc2 [message #61059 is a reply to message #61058] Sat, 02 November 2024 18:39 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
cbpporter wrote on Sat, 02 November 2024 17:33
Thank you!

Testing right now.

Hopefully the editor is better, because whatever new Clang version I'm using is definitely a miserable editing experience versus the old TheIDE.

First impressions good. Don't know why my version was broken, but it had several problems, like autocomplete popup not responding to keys and "intellisense" being very slow.

RC2 no longer seems to have these problems and ctrl-click is always instant. Moving to RC2 full time.
Re: 2024rc2 [message #61060 is a reply to message #61057] Sun, 03 November 2024 12:12 Go to previous messageGo to next message
Tom1
Messages: 1303
Registered: March 2007
Ultimate Contributor
Thanks Mirek,

Will put this on test.

Best regards,

Tom
Re: 2024rc2 [message #61063 is a reply to message #61060] Tue, 05 November 2024 08:54 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
After some more testing, not all the awkwardness of the editor is done.

Example, open up AddressBook, go to a function where "array" is defined, type array, then '.', autocomplete popup, press down arrow to navigate the list, press tab, the editor add a tab instead of auto-complete. Other scenarios involving tab work.
Re: 2024rc2 [message #61064 is a reply to message #61057] Tue, 05 November 2024 09:32 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 1209
Registered: August 2007
Senior Contributor
There is also another problem I've noticed:

SQLite doesn't seem to work in release mode (in Windows). Examples, such as SQL_SQLite, fail to create tables with the following log:

* C:\Users\user2\Desktop\upp\out\reference\CLANGx64.Blitz\SQL_Sqlite3.exe 04.11.2024 16:38:05, user: user2

ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(ID, NAME, LASTNAME, BDATE) values (0, 'Joe', 'Smith', 20000101)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(ID, NAME, LASTNAME, BDATE) values (1, 'Mike', 'Smith', 20000102)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(ID, NAME, LASTNAME, BDATE) values (2, 'Jon', 'Goober', 20000103)
ERROR no such table: SIMPLE_TEST1(1): Preparing: delete from SIMPLE_TEST1 where ID > 3
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(ID, NAME, LASTNAME, BDATE) values (5, 'wrongname', 'wronglastname', 20010604)
ERROR no such table: SIMPLE_TEST1(1): Preparing: update SIMPLE_TEST1 set NAME = 'rightname', LASTNAME = 'rightlastname', BDATE = 20010604 where ID = 5
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(name,bdate) values(?,?)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(name,bdate) values(?,?)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(name,bdate) values(?,?)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(name,bdate) values(?,?)
ERROR no such table: SIMPLE_TEST1(1): Preparing: select ID, NAME, LASTNAME, BDATE from SIMPLE_TEST1
ERROR no such table: SIMPLE_TEST1(1): Preparing: select * from SIMPLE_TEST1


Am I missing something here, this shouldn't be happening in release mode, right? The examples work fine (read: can succesfully create and query tables) in debug mode.


Best regards,
Oblivion


Re: 2024rc2 [message #61065 is a reply to message #61064] Tue, 05 November 2024 09:56 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
Oblivion wrote on Tue, 05 November 2024 09:32
There is also another problem I've noticed:

SQLite doesn't seem to work in release mode (in Windows). Examples, such as SQL_SQLite, fail to create tables with the following log:

* C:\Users\user2\Desktop\upp\out\reference\CLANGx64.Blitz\SQL_Sqlite3.exe 04.11.2024 16:38:05, user: user2

ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(ID, NAME, LASTNAME, BDATE) values (0, 'Joe', 'Smith', 20000101)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(ID, NAME, LASTNAME, BDATE) values (1, 'Mike', 'Smith', 20000102)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(ID, NAME, LASTNAME, BDATE) values (2, 'Jon', 'Goober', 20000103)
ERROR no such table: SIMPLE_TEST1(1): Preparing: delete from SIMPLE_TEST1 where ID > 3
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(ID, NAME, LASTNAME, BDATE) values (5, 'wrongname', 'wronglastname', 20010604)
ERROR no such table: SIMPLE_TEST1(1): Preparing: update SIMPLE_TEST1 set NAME = 'rightname', LASTNAME = 'rightlastname', BDATE = 20010604 where ID = 5
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(name,bdate) values(?,?)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(name,bdate) values(?,?)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(name,bdate) values(?,?)
ERROR no such table: SIMPLE_TEST1(1): Preparing: insert into SIMPLE_TEST1(name,bdate) values(?,?)
ERROR no such table: SIMPLE_TEST1(1): Preparing: select ID, NAME, LASTNAME, BDATE from SIMPLE_TEST1
ERROR no such table: SIMPLE_TEST1(1): Preparing: select * from SIMPLE_TEST1


Am I missing something here, this shouldn't be happening in release mode, right? The examples work fine (read: can succesfully create and query tables) in debug mode.


Best regards,
Oblivion


Uhm, it is intentional, although for sqlite3 example maybe a bit misplaced. If you check the example, schema code is in #ifdef _DEBUG blocks...

The explanation is that in production (that is "release mode"), you really do no want to run schema updates in your application. So traditionally, we were using schema updates just for development, then pick generated scripts in debug mode and use them to prepare upgrade packages (actually, these were debian packages) for production environment.

Mirek
Re: 2024rc2 [message #61066 is a reply to message #61063] Tue, 05 November 2024 09:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 05 November 2024 08:54
After some more testing, not all the awkwardness of the editor is done.

Example, open up AddressBook, go to a function where "array" is defined, type array, then '.', autocomplete popup, press down arrow to navigate the list, press tab, the editor add a tab instead of auto-complete. Other scenarios involving tab work.


Uhm, and what should have happened? Should tab insert auto-complete now? (I have no problem with that if that is considered standard in other editors, but it was never this way).

Mirek
Re: 2024rc2 [message #61067 is a reply to message #61066] Tue, 05 November 2024 14:55 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
Yes, it should insert the autocomplete. In fact it does, if in the scenario I described, you do not press down arrow, but go directly for tab. Interacting with the drop down removes the tab behavior.

Also, is it normal for the Automatic build methods, when not dealing with clang, to not pick up MSC. Unfortunately, of fortunately if you will, our tools have inherited TheIDE style autodetection and both seem broken.

I'm working on a new solution that autodetects and uses "c:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" . That should be more robust and avoid the extensive searches employed today? Not even MS can figure out where they put VS...

PS: How on God's earth have you managed to integrate Clang. I'm not using lib-clang, but lib-llvm and it is impossible to link with it. And trying to download a precompiled version that matches what I have is a nightmare...

Re: 2024rc2 [message #61068 is a reply to message #61067] Tue, 05 November 2024 20:01 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1099
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello cbpporter,

Thank you for your feedback! However, it is more about features request rather than fixing existing problems. So, we shouldn't address it right now and create next rc candidate after that.

For vswhere. Thansk for providing that information it is nice to know that something like that exist. I agree that we should launch this binary and then analyze the output in the first place. It looks like the installation path is there:
resolvedInstallationPath: C:\Program Files\Microsoft Visual Studio\2022\Community

However, what about if you install Visual Studio Installer to the diffrent path. Then launching vswhere will be problematic. Also, I am afraid that after some time M$ could change the path to Program Files.

For 'tab' and autocomplete in Assist++ dialog. As Mirek noticed, we didn't support it in the past. However, after verifying with other IDE's I agree that should normalized the behavior and allow tab to act as enter.

Klugier


U++ - one framework to rule them all.
Re: 2024rc2 [message #61069 is a reply to message #61067] Tue, 05 November 2024 20:19 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 05 November 2024 14:55
Yes, it should insert the autocomplete. In fact it does, if in the scenario I described, you do not press down arrow, but go directly for tab. Interacting with the drop down removes the tab behavior.


OK, Tab now does the same thing as Enter... in main. I guess I will copy rc3 tomorrow...

Quote:

PS: How on God's earth have you managed to integrate Clang. I'm not using lib-clang, but lib-llvm and it is impossible to link with it. And trying to download a precompiled version that matches what I have is a nightmare...


With a lot of duct tape and some really bad coding habits... Smile
Re: 2024rc2 [message #61070 is a reply to message #61068] Tue, 05 November 2024 22:28 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
Klugier wrote on Tue, 05 November 2024 21:01
Hello cbpporter,

Thank you for your feedback! However, it is more about features request rather than fixing existing problems. So, we shouldn't address it right now and create next rc candidate after that.

For vswhere. Thansk for providing that information it is nice to know that something like that exist. I agree that we should launch this binary and then analyze the output in the first place. It looks like the installation path is there:
resolvedInstallationPath: C:\Program Files\Microsoft Visual Studio\2022\Community

However, what about if you install Visual Studio Installer to the diffrent path. Then launching vswhere will be problematic. Also, I am afraid that after some time M$ could change the path to Program Files.

For 'tab' and autocomplete in Assist++ dialog. As Mirek noticed, we didn't support it in the past. However, after verifying with other IDE's I agree that should normalized the behavior and allow tab to act as enter.

Klugier

Mine is installed in weird locations and the tool does report the correct paths. First we should check all possible program files. That's why I want to prototype a new detect using vswhere. DirFinder solution no longer works.

Edit: with how iffy VS is, doesn't hurt to have a fallback or two.

[Updated on: Tue, 05 November 2024 22:40]

Report message to a moderator

Re: 2024rc2 [message #61071 is a reply to message #61070] Tue, 05 November 2024 23:05 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 05 November 2024 22:28
Klugier wrote on Tue, 05 November 2024 21:01
Hello cbpporter,

Thank you for your feedback! However, it is more about features request rather than fixing existing problems. So, we shouldn't address it right now and create next rc candidate after that.

For vswhere. Thansk for providing that information it is nice to know that something like that exist. I agree that we should launch this binary and then analyze the output in the first place. It looks like the installation path is there:
resolvedInstallationPath: C:\Program Files\Microsoft Visual Studio\2022\Community

However, what about if you install Visual Studio Installer to the diffrent path. Then launching vswhere will be problematic. Also, I am afraid that after some time M$ could change the path to Program Files.

For 'tab' and autocomplete in Assist++ dialog. As Mirek noticed, we didn't support it in the past. However, after verifying with other IDE's I agree that should normalized the behavior and allow tab to act as enter.

Klugier

Mine is installed in weird locations and the tool does report the correct paths. First we should check all possible program files. That's why I want to prototype a new detect using vswhere. DirFinder solution no longer works.

Edit: with how iffy VS is, doesn't hurt to have a fallback or two.


Proper PR with better VS detection will be accepted fast.. That said, not a high priority for me - I mean, I do not plan to work on this personally.
Re: 2024rc2 [message #61072 is a reply to message #61071] Wed, 06 November 2024 14:42 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
mirek wrote on Wed, 06 November 2024 00:05

Proper PR with better VS detection will be accepted fast.. That said, not a high priority for me - I mean, I do not plan to work on this personally.

That will take some time...

I have 2 PCs, same VS, one is detected, the other not. Mysterious. Think will be very hard without making a VM with WIN so I can rollback installs...

Until then I can test what the machine that detects VS says if I feed it the vswhere input...

Edit: I spoke too soon.

One doesn't detect, the other detects:
"c:\program files (x86)\microsoft visual studio\2019\professional\vc\tools\msvc\14.29.30133\bin\amd64 \cl.exe "

This folder does not exist. Probably the code should not detect files that do not exist.

The correct path is:
"c:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\Hostx 64\x64\cl.exe "

vswhere.exe reports:
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional

Think I'll stop talking about this here, not to hijack the thread and open a new thread.

Edit 2: now it finds the good path... Yeah, new thread Smile.

[Updated on: Wed, 06 November 2024 14:59]

Report message to a moderator

Re: 2024rc2 [message #61074 is a reply to message #61072] Thu, 07 November 2024 01:05 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
I had such an encounter which I cannot reproduce. I was editing something in TheIDE. An accidental mouse movement maybe in combination with mouse click, etc caused a help window being popup with the mouse pointer becoming a up-pointer finger, carring a info popup with it. The mouse were thus captured and no effort (key strokes, mouse clicks, etc) could release the capture. Keyboard were still working but I eventually had to power off my computer and restarted it to come out of the situation.


ubuntu 24.04+wayland
TheIDE version: 17449
Re: 2024rc2 [message #61075 is a reply to message #61074] Thu, 07 November 2024 10:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
Lance wrote on Thu, 07 November 2024 01:05
I had such an encounter which I cannot reproduce. I was editing something in TheIDE. An accidental mouse movement maybe in combination with mouse click, etc caused a help window being popup with the mouse pointer becoming a up-pointer finger, carring a info popup with it. The mouse were thus captured and no effort (key strokes, mouse clicks, etc) could release the capture. Keyboard were still working but I eventually had to power off my computer and restarted it to come out of the situation.


ubuntu 24.04+wayland
TheIDE version: 17449


Well, gtk should automatically release mouse capture when all mouse buttons are released...

Mirek
Re: 2024rc2 [message #61078 is a reply to message #61075] Thu, 07 November 2024 20:39 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Thu, 07 November 2024 04:40


Well, gtk should automatically release mouse capture when all mouse buttons are released...

Mirek


Then there must be some holes in gtk. It doesn't happen very often but I have encounterred unreleased captures at least a handful of times over recent years, with the second most recent on just a couple of weeks ago, on xorg. That time I was able to release the capture by clicking the right mouse button.
Re: 2024rc2 [message #61157 is a reply to message #61058] Wed, 27 November 2024 09:48 Go to previous messageGo to next message
emve is currently offline  emve
Messages: 10
Registered: February 2022
Promising Member
Will be multiline cursor (something like on the image below)
ever be implemented in TheIDE?
I quickly googled an informational image and
found this Notepad++ column mode one:

index.php?t=getfile&id=7011&private=0

I just need to extend the cursor to multiple lines
and then type a text to all those lines at once....
Michal




Re: 2024rc2 [message #61158 is a reply to message #61157] Wed, 27 November 2024 09:55 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
Not this year Smile

Was not a priority so far. Can be done I think, we already have all pieces ready (rectangular selection, paste in column). Keep asking and it will happen.
Re: 2024rc2 [message #61159 is a reply to message #61158] Wed, 27 November 2024 10:51 Go to previous messageGo to previous message
emve is currently offline  emve
Messages: 10
Registered: February 2022
Promising Member
mirek wrote on Wed, 27 November 2024 09:55
Not this year Smile

Was not a priority so far. Can be done I think, we already have all pieces ready (rectangular selection, paste in column). Keep asking and it will happen.


I keep asking, occasionally Smile :
https://www.ultimatepp.org/forums/index.php?t=msg&goto=5 8132&#msg_58132

Anyway, the multiline edit mode doesn't need to be activated
by that selection box - it was just an example image as I
couldn't find anything better.

When you want to edit multiple lines at once in Visual C++ or Notepad++,
you just press Alt+Shift+Down or Up arrow so the cursor is extended
to another line(s).
Then the text is entered to all lines where the cursor is as you type it in.

Michal




Previous Topic: 2024rc5
Next Topic: U++ 2024
Goto Forum:
  


Current Time: Sun Jun 01 16:15:09 CEST 2025

Total time taken to generate the page: 0.02743 seconds