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 alpha
2023.1 alpha [message #59836] Mon, 01 May 2023 19:44 Go to next message
mirek is currently offline  mirek
Messages: 14155
Registered: November 2005
Ultimate Member
All things planned are ready for 2023.1:

- MacOS is supported again; POSIX and MACOS releases are now merged to single archive
- clang-format integration
- .iml image selection database tool
- many fixes....

I am therefore designating current nightly as "2023.1 alpha"....
Re: 2023.1 alpha [message #59839 is a reply to message #59836] Mon, 01 May 2023 21:40 Go to previous messageGo to next message
GiuMar is currently offline  GiuMar
Messages: 4
Registered: August 2022
Location: Italy
Junior Member
Great.
Many thanks.
Re: 2023.1 alpha [message #59841 is a reply to message #59836] Tue, 02 May 2023 07:35 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
Thanks!
Re: 2023.1 alpha [message #59842 is a reply to message #59836] Tue, 02 May 2023 08:11 Go to previous messageGo to next message
pvictor is currently offline  pvictor
Messages: 68
Registered: December 2015
Member
Hi

Please correct this issue https:// www.ultimatepp.org/forums/index.php?t=msg&th=12005&s tart=0& in the new release.

Best regards,
Victor
Re: 2023.1 alpha [message #59843 is a reply to message #59842] Tue, 02 May 2023 08:41 Go to previous messageGo to next message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Hello,
Many thanks Mirek for this new release Razz
Re: 2023.1 alpha [message #59847 is a reply to message #59842] Tue, 02 May 2023 20:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14155
Registered: November 2005
Ultimate Member
pvictor wrote on Tue, 02 May 2023 08:11
Hi

Please correct this issue https:// www.ultimatepp.org/forums/index.php?t=msg&th=12005&s tart=0& in the new release.

Best regards,
Victor


Thanks, hopefully fixed (although I am still puzzled with that format variation). Tried to fill some more holes too.

Mirek
Re: 2023.1 alpha [message #59854 is a reply to message #59847] Fri, 05 May 2023 14:51 Go to previous messageGo to next message
Tom1
Messages: 1279
Registered: March 2007
Senior Contributor
Hi Mirek,

Thanks! Pleased to hear release is approaching. I will keep testing.

For now, here's a couple of compilation warnings on MSBT22x64:

C:\upp-git\upp.src\uppsrc\plugin\sqlite3\Sqlite3upp.cpp(644): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
C:\upp-git\upp.src\uppsrc\Painter\Painter.cpp(270): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data

Best regards,

Tom
Re: 2023.1 alpha [message #59864 is a reply to message #59854] Fri, 12 May 2023 10:23 Go to previous messageGo to next message
Tom1
Messages: 1279
Registered: March 2007
Senior Contributor
Hi Mirek,

There is an issue with FileSel with the current version. I can select a file, e.g. "datafile.csv", but the returned result is "datafile.csv.csv". Sometimes FileSel compalains it cannot find the file that was picked up from the list:

	FileSel fs;
	fs.Multi();
	fs.Type(t_("All supported formats"),"*.csv; *.CSV; *.txt; *.TXT");
	fs.Type(t_("Comma separated values file"),"*.csv; *.CSV");
	fs.Type(t_("Text file"),"*.txt; *.TXT");
	
	if(fs.ExecuteOpen(t_("Import data file"))){

Best regards,

Tom
Re: 2023.1 alpha [message #59865 is a reply to message #59864] Fri, 12 May 2023 15:09 Go to previous messageGo to next message
Tom1
Messages: 1279
Registered: March 2007
Senior Contributor
Hi,

Would it be possible to add Null support for float?

I think below you can find pretty much what is needed in Core/Defs.h:
...
constexpr double DOUBLE_NULL    =    -std::numeric_limits<double>::infinity();
constexpr float FLOAT_NULL    =    -std::numeric_limits<float>::infinity();

class Nuller {
public:
	operator int() const                { return INT_NULL; }
	operator int64() const              { return INT64_NULL; }
	operator double() const             { return DOUBLE_NULL; }
	operator float() const              { return FLOAT_NULL; }
	operator bool() const               { return false; }

	Nuller() {}
};

extern const Nuller Null;

template <class T> void SetNull(T& x) { x = Null; }

template <class T> bool IsNull(const T& x)       { return x.IsNullInstance(); }

template<> inline bool  IsNull(const int& i)     { return i == INT_NULL; }
template<> inline bool  IsNull(const int64& i)   { return i == INT64_NULL; }
template<> inline bool  IsNull(const double& r)  { return !(std::abs(r) < std::numeric_limits<double>::infinity()); }
template<> inline bool  IsNull(const float& r)   { return !(std::abs(r) < std::numeric_limits<float>::infinity()); }
template<> inline bool  IsNull(const bool& r  )  { return false; }
...


Best regards,

Tom
Re: 2023.1 alpha [message #59866 is a reply to message #59864] Sat, 13 May 2023 17:47 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14155
Registered: November 2005
Ultimate Member
Tom1 wrote on Fri, 12 May 2023 10:23
Hi Mirek,

There is an issue with FileSel with the current version. I can select a file, e.g. "datafile.csv", but the returned result is "datafile.csv.csv". Sometimes FileSel compalains it cannot find the file that was picked up from the list:

	FileSel fs;
	fs.Multi();
	fs.Type(t_("All supported formats"),"*.csv; *.CSV; *.txt; *.TXT");
	fs.Type(t_("Comma separated values file"),"*.csv; *.CSV");
	fs.Type(t_("Text file"),"*.txt; *.TXT");
	
	if(fs.ExecuteOpen(t_("Import data file"))){

Best regards,

Tom


Remove ';'.

		fs.Type(t_("All supported formats"),"*.csv *.CSV *.txt *.TXT");
		fs.Type(t_("Comma separated values file"),"*.csv *.CSV");
		fs.Type(t_("Text file"),"*.txt; *.TXT");
Re: 2023.1 alpha [message #59867 is a reply to message #59865] Sat, 13 May 2023 17:48 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14155
Registered: November 2005
Ultimate Member
Tom1 wrote on Fri, 12 May 2023 15:09
Hi,

Would it be possible to add Null support for float?

I think below you can find pretty much what is needed in Core/Defs.h:
...
constexpr double DOUBLE_NULL    =    -std::numeric_limits<double>::infinity();
constexpr float FLOAT_NULL    =    -std::numeric_limits<float>::infinity();

class Nuller {
public:
	operator int() const                { return INT_NULL; }
	operator int64() const              { return INT64_NULL; }
	operator double() const             { return DOUBLE_NULL; }
	operator float() const              { return FLOAT_NULL; }
	operator bool() const               { return false; }

	Nuller() {}
};

extern const Nuller Null;

template <class T> void SetNull(T& x) { x = Null; }

template <class T> bool IsNull(const T& x)       { return x.IsNullInstance(); }

template<> inline bool  IsNull(const int& i)     { return i == INT_NULL; }
template<> inline bool  IsNull(const int64& i)   { return i == INT64_NULL; }
template<> inline bool  IsNull(const double& r)  { return !(std::abs(r) < std::numeric_limits<double>::infinity()); }
template<> inline bool  IsNull(const float& r)   { return !(std::abs(r) < std::numeric_limits<float>::infinity()); }
template<> inline bool  IsNull(const bool& r  )  { return false; }
...


Best regards,

Tom


Too big change in time of release, even if I thought this is a good idea (I am yet undecided). Let us discuss float at the start of the next cycle, ok?
Re: 2023.1 alpha [message #59873 is a reply to message #59866] Mon, 15 May 2023 08:38 Go to previous messageGo to next message
Tom1
Messages: 1279
Registered: March 2007
Senior Contributor
mirek wrote on Sat, 13 May 2023 18:47
Tom1 wrote on Fri, 12 May 2023 10:23
Hi Mirek,

There is an issue with FileSel with the current version. I can select a file, e.g. "datafile.csv", but the returned result is "datafile.csv.csv". Sometimes FileSel compalains it cannot find the file that was picked up from the list:

	FileSel fs;
	fs.Multi();
	fs.Type(t_("All supported formats"),"*.csv; *.CSV; *.txt; *.TXT");
	fs.Type(t_("Comma separated values file"),"*.csv; *.CSV");
	fs.Type(t_("Text file"),"*.txt; *.TXT");
	
	if(fs.ExecuteOpen(t_("Import data file"))){

Best regards,

Tom


Remove ';'.

		fs.Type(t_("All supported formats"),"*.csv *.CSV *.txt *.TXT");
		fs.Type(t_("Comma separated values file"),"*.csv *.CSV");
		fs.Type(t_("Text file"),"*.txt; *.TXT");

Thanks Mirek!

For some unknown reason I never knew there was no need for this semicolon.

Best regards,

Tom
Re: 2023.1 alpha [message #59874 is a reply to message #59867] Mon, 15 May 2023 08:43 Go to previous message
Tom1
Messages: 1279
Registered: March 2007
Senior Contributor
mirek wrote on Sat, 13 May 2023 18:48
Tom1 wrote on Fri, 12 May 2023 15:09
Hi,

Would it be possible to add Null support for float?

I think below you can find pretty much what is needed in Core/Defs.h:
...
constexpr double DOUBLE_NULL    =    -std::numeric_limits<double>::infinity();
constexpr float FLOAT_NULL    =    -std::numeric_limits<float>::infinity();

class Nuller {
public:
	operator int() const                { return INT_NULL; }
	operator int64() const              { return INT64_NULL; }
	operator double() const             { return DOUBLE_NULL; }
	operator float() const              { return FLOAT_NULL; }
	operator bool() const               { return false; }

	Nuller() {}
};

extern const Nuller Null;

template <class T> void SetNull(T& x) { x = Null; }

template <class T> bool IsNull(const T& x)       { return x.IsNullInstance(); }

template<> inline bool  IsNull(const int& i)     { return i == INT_NULL; }
template<> inline bool  IsNull(const int64& i)   { return i == INT64_NULL; }
template<> inline bool  IsNull(const double& r)  { return !(std::abs(r) < std::numeric_limits<double>::infinity()); }
template<> inline bool  IsNull(const float& r)   { return !(std::abs(r) < std::numeric_limits<float>::infinity()); }
template<> inline bool  IsNull(const bool& r  )  { return false; }
...


Best regards,

Tom


Too big change in time of release, even if I thought this is a good idea (I am yet undecided). Let us discuss float at the start of the next cycle, ok?


Yes, absolutely. After this release is just fine. The need for float Null just pops up every once in a while and does not seem so ground breaking from my point of view.

Thanks and best regards,

Tom
Previous Topic: MacOS is POSIX...
Next Topic: 2023.1rc1
Goto Forum:
  


Current Time: Wed Dec 04 13:38:40 CET 2024

Total time taken to generate the page: 0.01622 seconds