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 » 2023.1 released
2023.1 released [message #59924] Wed, 31 May 2023 11:39 Go to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member

- MacOS is supported again; POSIX and MACOS releases are now merged to single archive
- clang-format integration
- .image selection database tool
Re: 2023.1 released [message #59926 is a reply to message #59924] Wed, 31 May 2023 13:06 Go to previous messageGo to next message
Tom1
Messages: 1217
Registered: March 2007
Senior Contributor
Many thanks!

Best regards,

Tom
Re: 2023.1 released [message #59929 is a reply to message #59924] Wed, 31 May 2023 22:06 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1077
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

Congratulations! It is good to see new U++ release. I created release on GitHub. I also decided to add a description to the release not only several points.

Klugier


U++ - one framework to rule them all.
Re: 2023.1 released [message #59930 is a reply to message #59929] Thu, 01 June 2023 09:33 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
Klugier wrote on Wed, 31 May 2023 22:06
Hello Mirek,

Congratulations! It is good to see new U++ release. I created release on GitHub. I also decided to add a description to the release not only several points.

Klugier


Thank you.
Re: 2023.1 released [message #59934 is a reply to message #59930] Sun, 04 June 2023 23:53 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,

When updating an application and it did not compile (rebuild all in windows 10, 64) due to the error:

... Linking has failed
... ld.lld: error: undefined symbol: HostSys(char const*, Upp::String&)


line 255 Util.cpp (version 16847)
(NOTE: no was directive to PLATFORM_WIN32!)
bool HasGit()
{
	String dummy;
	static bool b = HostSys("git", dummy) >= 0;
	return b;
}


line 262 Util.cpp  (in old version 16660 this works!)
(NOTE: in line 255 was the directive  #ifdef PLATFORM_WIN32) 
bool HasGit()
{
	String dummy;
	static bool b = FileExists(GetInternalGitPath()) || Sys("git", dummy) >= 0;
	return b;
}




Thanks!
Re: 2023.1 released [message #59935 is a reply to message #59934] Mon, 05 June 2023 00:07 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member

in the line 246 I inserted the contents of the previous version and it worked fine!


#ifdef PLATFORM_WIN32

String GetInternalGitPath() { return GetExeDirFile("bin/mingit/cmd/git.exe"); }

  bool HasGit()
  {
	String dummy;
	static bool b = FileExists(GetInternalGitPath()) || Sys("git", dummy) >= 0;
	return b;
  }

#else
  bool HasGit()
  {
	String dummy;
	static bool b = HostSys("git", dummy) >= 0;
	return b;
  }

#endif

Re: 2023.1 released [message #59936 is a reply to message #59934] Mon, 05 June 2023 09:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
BetoValle wrote on Sun, 04 June 2023 23:53
Hi,

When updating an application and it did not compile (rebuild all in windows 10, 64) due to the error:


Some context please!

What application?

Mirek
Re: 2023.1 released [message #59937 is a reply to message #59936] Mon, 05 June 2023 13:49 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,
I built an application to backup files and in one routine I use the ShellOpenFolder function from the ComDlg.cpp file in the ide/common package. (the Util.cpp file in question is part of this component)

 
    int n = gD.GetCursor();
    String pasta_= gD.Get ( n,colunaDestino).ToString();
    if(!pasta_.IsEqual("") )
      ShellOpenFolder(pasta_);
Re: 2023.1 released [message #59938 is a reply to message #59937] Mon, 05 June 2023 16:22 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
ide/common is not really meant to be used in client code. I suggest to copy that function (which one is that?) to your code.

[Updated on: Mon, 05 June 2023 16:22]

Report message to a moderator

Re: 2023.1 released [message #59939 is a reply to message #59938] Mon, 05 June 2023 18:06 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,
ok! I replace the function ShellOpenFolder for LaunchWebBrowser and removed the component ide/common from the application!
it work fine!

Thanks!
Previous Topic: 2023.1rc3
Next Topic: bmGIT_HASH
Goto Forum:
  


Current Time: Sun Jun 16 19:56:30 CEST 2024

Total time taken to generate the page: 0.02453 seconds