Home » Community » U++ community news and announcements » Upp 705-dev2 released
Upp 705-dev2 released [message #9557] |
Wed, 16 May 2007 21:49 |
|
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 #9595 is a reply to message #9557] |
Fri, 18 May 2007 16:50 |
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 #9624 is a reply to message #9623] |
Tue, 22 May 2007 13:36 |
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
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 15:35:36 CEST 2024
Total time taken to generate the page: 0.03177 seconds
|