|
|
Home » Community » U++ community news and announcements » 2021.1 rc
2021.1 rc [message #56941] |
Sun, 02 May 2021 17:59  |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
Uploaded to https://sourceforge.net/projects/upp/files/upp/2021.1rc1/
Please test. If there are no issues detected, this will become 2021.1 in a couple of days.
Release highlights
New system for 3rd party modules, "UppHub": independently developed U++ modules residing in Git repositories now can be seamlessly integrated, including automatic installation of missing packages if they are in the UppHub.
Core
double NAN and INF values are now considered Null (IsNull returns true for them).
FileSystemInfo now returns volume names of network drives
Improvements in FindFile
String middle tier heap handling optimised
U++ does not require MemoryFreeThread call at the end of thread (it is now implemented using thread_local destructor)
Core/SSH: the underlying libssh2 library is upgraded to v. 1.9.0
CtrlCore
New C++ style for iteration of widget children now possible for(Ctrl& q : widget)
Pen support (pressure, tilt etc...)
RichText, RichEdit
1.15 line spacing support
JPEG raw image data is now exported to PDF as JPEG (instead of recoding)
TheIDE
Context goto now support AK_ key definitions
TheIDE now contains credentials manager for git and svn (including github tokens)
Various improvements to text comparison dialogs - ability to copy and delete individual lines between versions, filtering by file time (for directory comparison).
Repo history of .upp files directly available via package context menu
Open package dialog filtering options redesigned
New function to copy positions as text to clipboard (e.g. "RichEdit/Modify.cpp:27") and go to such position based on clipboard content. Useful for communication between developers.
Some common nest root files like README.md or LICENSE are now directly accessible through <meta> pseudo-package.
TheIDE/umk build flags MAKE_LIB and MAKE_MLIB force generation of library instead of executable.
New "Merge nests" function (in Package organizer) copies all used packages that are not in the first nest of assembly into the first nest. In U++, first nest usually contains the application code whole while other nests contain libraries (U++ or 3rd party libraries). This function is intended to "freeze" the non-application code before releasing / tagging / branching to reduce the chance that a change of that code does not break the application.
TheIDE now can "Open terminal" at various directories (output directory, package directory, source file directory etc...), with PATH augmented with current build executable directories.
Support for .md (markdown) format
Improved debugger threads tab
Support for override in virtual methods dialog
Ctrl+Shift+Up/Down now moving the line or block of text up/down
Win32
Now ships with minimal git (mingit) implementation
CLANG now at version 11.0.0
|
|
|
Re: 2021.1 rc [message #56948 is a reply to message #56941] |
Mon, 03 May 2021 09:51   |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I tried a fresh install of 2021.1 rc (15939), but it froze for several minutes on first startup showing progress 'Working: Search engines setup'. This is likely caused by my development computer not having an internet connection most of the time. Would it be possible to remove this requirement for internet connection from TheIDE? E.g. setup the search engines only on first search or something...?
I did not have this issue when recently installing 15931.
Best regards,
Tom
[Updated on: Mon, 03 May 2021 10:33] Report message to a moderator
|
|
|
|
|
|
Re: 2021.1 rc [message #56954 is a reply to message #56952] |
Mon, 03 May 2021 16:19   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Mirek,
I just found that HasGit function returns false on macOS even if git and svn is installed. It blocks launching UppHub from Setup -> UppHub. The line that return false on macOS is (idebar.cpp - 388):
menu.Add(HasGit(), "UppHub..", IdeImg::UppHub(), [] { UppHub(); });
Also HasGit is looking for svn on POSIX instead of git:
bool HasGit()
{
String dummy;
static bool b = Sys("svn", dummy) >= 0;
return b;
}
On macOS default command for svn might return different end value than greater than zero.
Klugier
U++ - one framework to rule them all.
[Updated on: Mon, 03 May 2021 16:21] Report message to a moderator
|
|
|
|
Re: 2021.1 rc [message #56964 is a reply to message #56941] |
Tue, 04 May 2021 10:12   |
Oblivion
Messages: 1211 Registered: August 2007
|
Senior Contributor |
|
|
Hi,
I've found out that the compare directories feature can freeze the ide when loading and/or comparing tpp files. If I try to compare two tpp files (say,local ide/ app.tpp/UppHub_en-us.tpp and the svn version of the same file), IDE hangs for a very long time and CPU usage spikes up. It makes it almost impossible to compare/apply the changes in big tpp files. This is reproducible at least on Linux.(I'll check it on windows later)
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
|
|
|
Re: 2021.1 rc [message #56971 is a reply to message #56970] |
Tue, 04 May 2021 21:07   |
Oblivion
Messages: 1211 Registered: August 2007
|
Senior Contributor |
|
|
Quote:I have just tried, but could not reproduce. Perhaps it is specific file? Are you clicking tpp or tppi? What file?
UppHup.tpp. This file was old. I didn't bother updating for long time. Still, the file is displayed correctly only when I switch the "split long lines" on. Otherwise it hangs.
I bave attached the file if you like to inspect what's wrong with it. (Something to do with line endings?)
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
|
Goto Forum:
Current Time: Thu Jun 12 09:32:53 CEST 2025
Total time taken to generate the page: 0.08566 seconds
|
|
|