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 » 2020.2 'upcoming'
2020.2 'upcoming' [message #54649] Tue, 25 August 2020 10:46 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I believe it is time to release again! Please help me extend this list (so far I have only added parts that I have commited...)

Release highlights
* This release is mostly about optimizations, using SIMD and multithreading.

Core
* memset*, memcpy*, memeq*, memhash SIMD optimised inlined routines (* = 8, 16, 32, 64, 128)
* String comparison is yet again optimised
* Using 64 bit hashes on 64 bit CPUS

Draw, Painter
* SIMD optimizations (Intel SSE2 and ARM NEON) of graphics related routines

Ide
* C++ Assist parser in TheIDE is now multithreaded and some parts run in background
* Navigator now can search for files too
* The errors now can be directly googled

SQL
* plugin/Sqlite3: Updated to 3.33

uppsrc
* Improved support for OpenSolaris derived systems, FreeBSD and OpenBSD
Re: 2020.2 'upcoming' [message #54650 is a reply to message #54649] Tue, 25 August 2020 12:35 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 1091
Registered: August 2007
Senior Contributor
Great news, and thank you for your efforts!

My commits:

Core/SSH:
* Fized a truncation issue with SshExec. It can now handle large outputs up to 2 GiB.


As for the Turtle:

The port to VirtualGui is done. Currently I am testing it for regressions.
Unless the release is imminent (within two weeks) I am confident that I can commit the changes via SVN and get it ready before 2020.2

Best regards,
Oblivion


Re: 2020.2 'upcoming' [message #54651 is a reply to message #54650] Tue, 25 August 2020 12:46 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Oblivion wrote on Tue, 25 August 2020 12:35
Great news, and thank you for your efforts!

My commits:

Core/SSH:
* Fized a truncation issue with SshExec. It can now handle large outputs up to 2 GiB.


As for the Turtle:

The port to VirtualGui is done. Currently I am testing it for regressions.
Unless the release is imminent (within two weeks) I am confident that I can commit the changes via SVN and get it ready before 2020.2

Best regards,
Oblivion


Well, based on past experiences, I would say end of septembner/early october is the most likely.

I have one bug to fix (some dekstop issue with RPI) and one another maybe (weird socket behaviour in OpenIndiana/Solaris - but not sure it is really worth fixing given the number of potential users there Smile.

Updating CLANG and perhaps some libraries that ship with Win32 would be nice as well.

Mirek
Re: 2020.2 'upcoming' [message #54656 is a reply to message #54649] Thu, 27 August 2020 23:49 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
I believe you forgot to mention that Ide can cross-compile now.

Regards,
Novo
Re: 2020.2 'upcoming' [message #54686 is a reply to message #54656] Tue, 01 September 2020 10:04 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
ScatterDraw
* Added SetDataSourceInternal() to internally host data

ScatterCtrl
* Added ScatterWindowPool


Best regards
Iñaki
Re: 2020.2 'upcoming' [message #54701 is a reply to message #54686] Wed, 02 September 2020 07:47 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
plugin/Eigen
* Updated to master branch commit C1D944DD (9/May/2020)


Best regards
Iñaki
Re: 2020.2 'upcoming' [message #54732 is a reply to message #54649] Fri, 04 September 2020 10:55 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

I observed some issues with Assist++ in bazzar/GoogleMockExample. If I modify it like this the problem is fully reproducible:
TEST(CarRepairShopTest, ServiceChecksAllMainCarElements) {
	MockCar car;
	CarRepairShop repairShop;
	repairShop.// Asist++ from here - nothing happens!!!
	
	EXPECT_CALL(car, ReadRegistrationNumbers()).WillOnce(::testing::Return(String(CAR_REGISTRATION_NUMBER)));
	EXPECT_CALL(car, OpenHood()).Times(::testing::AtLeast(1));
	
	EXPECT_TRUE(repairShop.Service(car));
}


It seems that Assist++ doesn't understand TEST and TEST_F macros very well.

Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 04 September 2020 10:56]

Report message to a moderator

Re: 2020.2 'upcoming' [message #54893 is a reply to message #54732] Fri, 25 September 2020 09:09 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I think I am ready to release first rc1. Is there any reason not to?

Mirek
Re: 2020.2 'upcoming' [message #54930 is a reply to message #54893] Tue, 29 September 2020 11:52 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mirek wrote on Fri, 25 September 2020 09:09
I think I am ready to release first rc1. Is there any reason not to?

Mirek


OK, obviously we can't, as Klugier decided that this the best time to improve everything. Like moving menu items around, adding icons and other important stuff... Smile
Re: 2020.2 'upcoming' [message #54931 is a reply to message #54930] Tue, 29 September 2020 12:50 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

I will do not touch anything to the release date Smile I will target this "minor" improvements in the 2020.2 release and now let's focus only on major issues (like compilation warnings, crashes etc.).

Klugier


U++ - one framework to rule them all.

[Updated on: Tue, 29 September 2020 12:50]

Report message to a moderator

Re: 2020.2 'upcoming' [message #54981 is a reply to message #54931] Sat, 03 October 2020 17:15 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
BTW, Upp is currently broken.
reference/SqlArray
/home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/plugin/sqlite3/Sqlite3upp.cpp:440:23: error: use of undeclared identifier 'retval'
                ASSERT(SQLITE_OK == retval);
                                    ^


Regards,
Novo
Re: 2020.2 'upcoming' [message #54997 is a reply to message #54981] Sun, 04 October 2020 09:56 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Novo wrote on Sat, 03 October 2020 17:15
BTW, Upp is currently broken.
reference/SqlArray
/home/ssg/.local/soft/bb-worker/worker/l-upp/build/uppsrc/plugin/sqlite3/Sqlite3upp.cpp:440:23: error: use of undeclared identifier 'retval'
                ASSERT(SQLITE_OK == retval);
                                    ^


Thanks. That happens if you start fixing warnings in release mode... Smile

Mirek
Re: 2020.2 'upcoming' [message #55000 is a reply to message #54997] Sun, 04 October 2020 11:40 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

It seems that now the release mode is broken (Clang - Linux):
/home/klugier/upp/uppsrc/plugin/sqlite3/Sqlite3upp.cpp (436): error: expected ';' after expression
 (): DEBUGCODE(int retval =)
 (): ;
 (): 1 error generated.

Why do not completely remove this line...

Klugier


U++ - one framework to rule them all.
Re: 2020.2 'upcoming' [message #55001 is a reply to message #55000] Sun, 04 October 2020 12:43 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Klugier wrote on Sun, 04 October 2020 11:40
Hello Mirek,

It seems that now the release mode is broken (Clang - Linux):
/home/klugier/upp/uppsrc/plugin/sqlite3/Sqlite3upp.cpp (436): error: expected ';' after expression
 (): DEBUGCODE(int retval =)
 (): ;
 (): 1 error generated.

Why do not completely remove this line...

Klugier


Ops. Well, because there is one additional check in the ASSERT which is worth it. I will reformulate the whole thing...
Re: 2020.2 'upcoming' [message #55052 is a reply to message #55001] Wed, 07 October 2020 14:23 Go to previous messageGo to next message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

I have not been printing in a while and now I just found myself in trouble with it. Here's a testcase:

#include <CtrlLib/CtrlLib.h>
#include <Painter/Painter.h>

using namespace Upp;

GUI_APP_MAIN
{
	PrinterJob job;
	if(job.Execute()){
		Draw &draw=job.GetDraw();

		draw.StartPage();
		draw.BeginNative();

		Size size=draw.GetPagePixels();
		Size DPI=draw.GetPixelsPerInch();
		
		Rect drawrect=size;
		PaintingPainter dp(size);
		
		dp.Clear(White());
		dp.Move(0,0);
		dp.Line(size.cx,size.cy);
		dp.Stroke(3,Black());
		dp.Move(0,size.cy);
		dp.Line(size.cx,0);
		dp.Stroke(3,Black());
		dp.Move(0,0).Line(size.cx,0).Line(size.cx,size.cy).Line(0,size.cy).Line(0,0);
		dp.Stroke(3,Black());

		dp.Circle(size.cx/2,size.cy/2,min(size.cx,size.cy)/2).Stroke(2,Black());

/*		// It nearly works via ImageBuffer
		ImageBuffer ib(size);
		BufferPainter w(ib);
		w.Paint(dp.GetResult());
		draw.DrawImage(0,0,Image(ib));
*/		
		// But clearly fails via direct DrawPainting
		draw.DrawPainting(drawrect,dp.GetResult());
		
		draw.EndNative();
		draw.EndPage();
	}
}


Using DrawPainting results in a catastrophic mess. DrawImage is just a little bit 'edgy' on PDF prints, but just fine on laser printer.

I guess this issue has been around at least since 2020.1.

Best regards,

Tom
Re: 2020.2 'upcoming' [message #55054 is a reply to message #55052] Wed, 07 October 2020 15:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Printing is now fixed.

Can you ellaborate on pdf issue? Is that pdf printed through Windows print, or are you using U++ pdf output?

Mirek
Re: 2020.2 'upcoming' [message #55055 is a reply to message #55054] Wed, 07 October 2020 15:24 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
With PDF I have checked both (through windows and pdf alone); there is actually a bug in Acrobat Reader that makes some raster images "rough", I know about that for a long time - you can prove that by zooming in and artifacts tend to dissapear.

However, the process was also hindered on our part by not using antialiasing for printer output. That is now fixed. I think PDF output could be better, but is definitely acceptable.

Mirek
Re: 2020.2 'upcoming' [message #55056 is a reply to message #55054] Wed, 07 October 2020 15:33 Go to previous messageGo to next message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi Mirek,

Thanks for the prompt reaction! The non-ImageBuffer version is now at least as good as the ImageBuffer version.

The PDF printing was done through Windows print to PDF. Please find attached the result. When viewing and zooming in severely on Edge or Firefox, you can see some continuity issues especially on the nearly horizontal parts of the circle. I think this could be somehow related to compression of blocks and anti-aliasing on the block edges.

Best regards,

Tom
Re: 2020.2 'upcoming' [message #55057 is a reply to message #55056] Wed, 07 October 2020 15:45 Go to previous messageGo to next message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Yes, I agree. It is much better now! Smile

Anyway, here's a zoom-in of the 'edgy' fine detail when displayed in InkScape.

Best regards,

Tom
Re: 2020.2 'upcoming' [message #55058 is a reply to message #55057] Wed, 07 October 2020 17:39 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Tom1 wrote on Wed, 07 October 2020 15:45
Yes, I agree. It is much better now! Smile

Anyway, here's a zoom-in of the 'edgy' fine detail when displayed in InkScape.

Best regards,

Tom


I am afraid at this point this cannot be fixed easily, definitely not when using printer output to pdf.

Mirek
Previous Topic: Turtle package is ported to VirtualGui
Next Topic: clang windows -FPIC not supported
Goto Forum:
  


Current Time: Fri Mar 29 05:39:42 CET 2024

Total time taken to generate the page: 0.01018 seconds