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 » Upp 705-dev2 released
Upp 705-dev2 released [message #9557] Wed, 16 May 2007 21:49 Go to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Changelog
  • TheIDE now accepts file drops
  • ColumnList supports drag & drop
  • fixed rotated text problem (DrawText with angle) in X11
  • fixed problem with Ctrl+1 - Ctrl+0 keys in X11
  • ArrayCtrl and TreeCtrl support showing small popup if cell's width is not enough to display the text. It can by switched off by NoPopUpEx()
  • U++ is now able to produce Win64 code (ise MSC8_64 builder) (Artur Bác)
  • Code editor highlights Sql functions, boolean expression, U++ macros and text in upper case. Default color is black. Change it see the effect
  • Code editor marks edited lines as well as lines with warnings and errors (Ralf - Zardos)
  • inital support for drag & drop in X11. Small stability fixes to win32 drag & drop.

Test and enjoy!
Re: Upp 705-dev2 released [message #9570 is a reply to message #9557] Thu, 17 May 2007 17:27 Go to previous messageGo to next message
atmks is currently offline  atmks
Messages: 33
Registered: July 2006
Member
hi unodgs

can you update a svn repository?
Re: Upp 705-dev2 released [message #9577 is a reply to message #9570] Thu, 17 May 2007 19:27 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Done. Sorry for delay..
Re: Upp 705-dev2 released [message #9578 is a reply to message #9557] Thu, 17 May 2007 20:41 Go to previous messageGo to next message
atmks is currently offline  atmks
Messages: 33
Registered: July 2006
Member
no problem Smile

thx
Re: Upp 705-dev2 released [message #9595 is a reply to message #9557] Fri, 18 May 2007 16:50 Go to previous messageGo to next message
atmks is currently offline  atmks
Messages: 33
Registered: July 2006
Member
hi

i tested new release on FreeBSD

PostgreSql:
not defined -lpq link options
Index: PostgreSQL/PostgreSQL.upp
===================================================================
--- PostgreSQL/PostgreSQL.upp   (revision 58)
+++ PostgreSQL/PostgreSQL.upp   (working copy)
@@ -7,6 +7,8 @@
 
 library(LINUX !NOPOSTGRESQL) pq;
 
+library(FREEBSD !NOPOSTGRESQL) pq;
+
 file
        PostgreSQL.h,
        PostgreSQLSchema.h,



libpq-fe.h is located in /usr/local/include
Index: PostgreSQL/PostgreSQL.h
===================================================================
--- PostgreSQL/PostgreSQL.h     (revision 58)
+++ PostgreSQL/PostgreSQL.h     (working copy)
@@ -4,12 +4,13 @@
 #ifndef flagNOPOSTGRESQL
 
 #include <Sql/Sql.h>
-#ifdef PLATFORM_WIN32
+#ifdef PLATFORM_LINUX
+#include <postgresql/libpq-fe.h>
+#else
 #include <libpq-fe.h>
-#elif defined(PLATFORM_POSIX)
-#include <postgresql/libpq-fe.h>
 #endif
 
+
 NAMESPACE_UPP
 
 const char *PostgreSQLReadString(const char *s, String& stmt);



ide:
doesn't show keywords defined in array upp_macros (Higlight.cpp line 293), because not set HlStyle(i think...)

Index: CodeEditor/CodeEditor.cpp
===================================================================
--- CodeEditor/CodeEditor.cpp      (revision 58)
+++ CodeEditor/CodeEditor.cpp      (working copy)
@@ -826,6 +826,7 @@
        SetHlStyle(INK_OPERATOR, LtBlue);
        SetHlStyle(INK_KEYWORD, LtBlue, true);
        SetHlStyle(INK_UPP, Cyan);
+       SetHlStyle(INK_UPPMACROS, Black);
        SetHlStyle(PAPER_LNG, Color(255, 255, 224));
        SetHlStyle(INK_ERROR, LtRed);
        SetHlStyle(INK_PAR0, Black);



typo in CtrlCore.upp file
Index: CtrlCore/CtrlCore.upp
===================================================================
--- CtrlCore/CtrlCore.upp       (revision 58)
+++ CtrlCore/CtrlCore.upp       (working copy)
@@ -42,7 +42,7 @@
        X11Proc.cpp,
        TopWinX11.cpp,
        X11Clip.cpp,
-       X11DnD.cpp,
+       X11Dnd.cpp,
        X11ImgClip.cpp,
        X11App.cpp,
        X11Event.i,



Re: Upp 705-dev2 released [message #9621 is a reply to message #9595] Tue, 22 May 2007 09:08 Go to previous messageGo to next message
mobilehunter is currently offline  mobilehunter
Messages: 87
Registered: November 2006
Member
Just downloaded latest dev.
And try to compile TreeCtrlDnd, it complaint about 'RemoveSelection' function not found.
Re: Upp 705-dev2 released [message #9623 is a reply to message #9621] Tue, 22 May 2007 12:07 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mobilehunter wrote on Tue, 22 May 2007 03:08

Just downloaded latest dev.
And try to compile TreeCtrlDnd, it complaint about 'RemoveSelection' function not found.


Fixed.

Quickfix: Add this inline to TreeCtrl:

	void         RemoveSelection()              { Remove(GetSel()); }

Re: Upp 705-dev2 released [message #9624 is a reply to message #9623] Tue, 22 May 2007 13:36 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
There is a bug in ColumnList::GetDragSample. The correct code is:
Image ColumnList::GetDragSample()
{
	Size sz = StdSampleSize();
	ImageDraw iw(sz);
	int y = 0;
	for(int i = 0; i < GetCount() && y < sz.cy; i++)
		if(IsSel(i)) {
			PaintItem(iw, i, RectC(0, y, sz.cx, cy));
			y += cy;
		}
	return Crop(iw, 0, 0, sz.cx, y);
}

The original was missing the y increment and the Crop call.

James
Re: Upp 705-dev2 released [message #9626 is a reply to message #9624] Tue, 22 May 2007 13:56 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks again.
Previous Topic: Adjusting roadmap...
Next Topic: Devs releases delayed..
Goto Forum:
  


Current Time: Sun Apr 28 22:50:36 CEST 2024

Total time taken to generate the page: 0.05310 seconds