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 2007.1rc2 released
Upp 2007.1rc2 released [message #8234] Fri, 23 February 2007 00:09 Go to next message
unodgs is currently offline  unodgs
Messages: 1354
Registered: November 2005
Location: Poland
Senior Contributor

Changes since rc1*

+ httpcli in examples
+ Grid01 in tutorial
+ DocEdit / LineEdit encoding cleanup
+ QTF in tooltips, text mast be prepended with '\1'
- fixed all major rc1 issues
- some GridCtrl fixes

*I made a mistake and instead of 2007.1rc1 there was 2007.2rc1.
Re: Upp 2007.1rc2 released [message #8236 is a reply to message #8234] Fri, 23 February 2007 07:59 Go to previous messageGo to next message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

All builds except for DrawX11.cpp due to missing gtk include files. I still have flagNOGTK set but sources appear not to use that anymore so I am guessing it is no longer optional.

Re: Upp 2007.1rc2 released [message #8237 is a reply to message #8236] Fri, 23 February 2007 08:08 Go to previous messageGo to next message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

Pretty sure I got:

-rw-r--r-- 1 lundman lundman 7187863 Feb 23 15:36 upp-src-2007.1rc2.zip

but it contains:

	DirectoryCreate(out);
	pi.Ad
	if(!CopyFolder(pi, Common


wasn't that the first thing found wrong in rc1?

I must be confused somewhere, not had much sleep recently Smile

Re: Upp 2007.1rc2 released [message #8238 is a reply to message #8237] Fri, 23 February 2007 10:15 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

Install.cpp:
	DirectoryCreate(out);
	pi.Ad
	if(!CopyFolder(pi, Common, AppendFileName(supp, "Common")))


Me too. Wink (and I deleted the source directory before unpacking)
Re: Upp 2007.1rc2 released [message #8239 is a reply to message #8234] Fri, 23 February 2007 10:29 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

Also I noticed two warnings with enums, proposed fixes (casting the enum to target type):

Goto.cpp:138
	mf.access = m.pos[l].impl ? (byte)WITHBODY : (byte)PUBLIC;


Uppwspc.cpp:413
	.Key(organizer ? (dword)K_DELETE : (dword)K_ALT_DELETE)

Re: Upp 2007.1rc2 released [message #8241 is a reply to message #8239] Fri, 23 February 2007 12:28 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12096
Registered: November 2005
Ultimate Member
Well, about enum -> integral type warnings... I am aware of them, but in this case I play passive resistance to GCC... (I believe it should not warn there and at least provide a switch to avoid that warning).
Re: Upp 2007.1rc2 released [message #8242 is a reply to message #8234] Fri, 23 February 2007 12:29 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

Mirek: should I post bug topics all over the forum (in appropriate categories), or just here to make it simpler for you to fix rc3?

(I already reported bad KDE scrollbars in TheIDE part of forums)

Further problems:

Ctrl+F5 does not work for me, I must execute application trough menu.
This may be related to my setup of KDE (more likely to default KDE setup because I don't remember assigning anything on Ctrl+F5), or it may be bug in theIDE. Anyone else here with Gnome or KDE to try it out whether Ctrl+F5 works for him?

Examples Bombs: bad line in main.cpp:52
	cy = level.cy;
	field.
	for(int i = cx * cy - 1; i >= 0; i--)


I will try to compile/run all examples till today/tomorrow so I will report others later, if I find something.
Re: Upp 2007.1rc2 released [message #8243 is a reply to message #8241] Fri, 23 February 2007 12:31 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

luzr wrote on Fri, 23 February 2007 12:28

Well, about enum -> integral type warnings... I am aware of them, but in this case I play passive resistance to GCC... (I believe it should not warn there and at least provide a switch to avoid that warning).



Yeah, I didn't get the idea what's wrong with it from the gcc warning, I can understand this. Still I prefer no warnings and the typecasting makes sense there because the target variable is byte or dword, so the enum will be "casted" anyway.
Re: Upp 2007.1rc2 released [message #8246 is a reply to message #8242] Fri, 23 February 2007 12:53 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12096
Registered: November 2005
Ultimate Member
mr_ped wrote on Fri, 23 February 2007 06:29

Mirek: should I post bug topics all over the forum (in appropriate categories), or just here to make it simpler for you to fix rc3?

(I already reported bad KDE scrollbars in TheIDE part of forums)

Further problems:

Ctrl+F5 does not work for me, I must execute application trough menu.
This may be related to my setup of KDE (more likely to default KDE setup because I don't remember assigning anything on Ctrl+F5), or it may be bug in theIDE. Anyone else here with Gnome or KDE to try it out whether Ctrl+F5 works for him?



Yes, this is KDE trouble. It preassigns all Ctrl+F* (and many others).

Perhaps KDE version of U++ should come with other set of predefined keys...

Quote:


Examples Bombs: bad line in main.cpp:52
	cy = level.cy;
	field.
	for(int i = cx * cy - 1; i >= 0; i--)


I will try to compile/run all examples till today/tomorrow so I will report others later, if I find something.


Well, still learning the QA process... In fact, it should be part of release process - there is BuildAll package that builds all examples.

Mirek
Re: Upp 2007.1rc2 released [message #8247 is a reply to message #8246] Fri, 23 February 2007 13:14 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

luzr wrote on Fri, 23 February 2007 12:53

mr_ped wrote on Fri, 23 February 2007 06:29

Mirek: should I post bug topics all over the forum (in appropriate categories), or just here to make it simpler for you to fix rc3?

(I already reported bad KDE scrollbars in TheIDE part of forums)

Further problems:

Ctrl+F5 does not work for me, I must execute application trough menu.
This may be related to my setup of KDE (more likely to default KDE setup because I don't remember assigning anything on Ctrl+F5), or it may be bug in theIDE. Anyone else here with Gnome or KDE to try it out whether Ctrl+F5 works for him?



Yes, this is KDE trouble. It preassigns all Ctrl+F* (and many others).

Perhaps KDE version of U++ should come with other set of predefined keys...

Quote:


Examples Bombs: bad line in main.cpp:52
	cy = level.cy;
	field.
	for(int i = cx * cy - 1; i >= 0; i--)


I will try to compile/run all examples till today/tomorrow so I will report others later, if I find something.


Well, still learning the QA process... In fact, it should be part of release process - there is BuildAll package that builds all examples.

Mirek


predefined keys:
In Kdevelop the F9 is used, but that is Toggle breakpoint in TheIDE, so no easy solution. :/ (And I'm used to Ctrl+F5)

ad QA process: well, missing examples is one thing, but missing the Install.cpp problem two times in a row... Very Happy

----------------------
another bug:

I run TheIDE, clik on some menu, the submenu will appear, now when I switch to other application or to other desktop (press Ctrl+F1..4 .. AH, now I know where's the Ctrl+F5 hanging in KDE. Smile But as I use only 4 desktops, I would be fine with it.. I will probably try to reconfigure the KDE to pass it down to TheIDE), the menu stays on the screen and is above any other window.
It's possible to choose some submenu in it and execute it.
(looks quite weird with switching desktops Smile)
Re: Upp 2007.1rc2 released [message #8248 is a reply to message #8242] Fri, 23 February 2007 13:34 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1354
Registered: November 2005
Location: Poland
Senior Contributor

mr_ped wrote on Fri, 23 February 2007 06:29


Examples Bombs: bad line in main.cpp:52
	cy = level.cy;
	field.
	for(int i = cx * cy - 1; i >= 0; i--)





Strange. My build system tested all the examples and report no problems. Maybe my build system did sth wrong or I overlooked something. I'll check that out.
Re: Upp 2007.1rc2 released [message #8249 is a reply to message #8234] Fri, 23 February 2007 13:49 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

Stop Debug not working as expected (at least by me that is):

Set the "EyeCare" example as main package
Run in debug mode with F5
... application is running ...
Click on Stop Debugging Shift-F5

TheIDE will freeze now till I manually exit the EyeCare application, than IDE will recover.
(i.e. it looks like it can't enforce exit of application)

Is it supposed to terminate the application like in MSVC/etc or is this desired behavior?
Re: Upp 2007.1rc2 released [message #8250 is a reply to message #8234] Fri, 23 February 2007 15:00 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

SDL Example:

Does not compile, missing SDL library.
It looks like it is intentionally left out from upp sources, and it should be added from the SDL zip?

----------

Example SQLApp not compilable:

SQLApp.h:5
#include <plugin/sqlite3/sqlite3.h>

but the file on disk is named "Sqlite3.h" (capitalized S)

/home/ped/upp/uppsrc/Sql/sch_header.h:35:23: error: plugin/Sqlite3/Sqlite3Schema.h: No such file or directory

(big "S" in directory name this time)

SQLApp.h:12
#define SCHEMADIALECT <plugin/Sqlite3/Sqlite3Schema.h>
main.cpp:3 (second definition, this time correct one)
#define SCHEMADIALECT <plugin/sqlite3/Sqlite3Schema.h>

Then several warnings about INT64 redefinition.

after compilation:
Linking...
c++: /home/ped/upp/out/plugin/Sqlite3/GCC.Gui.Shared/Sqlite3.a: No such file or directory


In package organizer there is "uses plugin/Sqlite3" package with capitalized S.
I'm still compiling it again so I'm not sure if changing the package to sqlite3 is the last fix needed, but I hope so.
Re: Upp 2007.1rc2 released [message #8251 is a reply to message #8250] Fri, 23 February 2007 17:19 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 801
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor

mr_ped wrote on Fri, 23 February 2007 15:00

SDL Example:

Does not compile, missing SDL library.
It looks like it is intentionally left out from upp sources, and it should be added from the SDL zip?



Installing standard dev SDL package solved this one, works like charm. Smile

Ok, enough of testing 2007.1 RC2 for today, I will try some more things during weekend, but I'm already looking forward to RC3 :/ or 2007.2+.
Looks like the upp needs much more polishing to "just work". But it certainly looks very promising.
Re: Upp 2007.1rc2 released [message #8252 is a reply to message #8236] Fri, 23 February 2007 19:06 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
I had a similar, if not the same, problem on Linux. I got a lot further with it... I'll post a solution ASAP.

Sorry I dissapeared for awhile -- minor case of what looks like heavy-metal poisoning on a job site... I'll take a quick look at RC2 tonight and will post fixes if they are quick, otherwise I will followup on the Gentoo ebuilds and the Linux makefile updates when I get back home late next week.

Thaks for all the great work guys!

EBo --
Re: Upp 2007.1rc2 released [message #8254 is a reply to message #8234] Fri, 23 February 2007 20:47 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
(Debian) Linux Bugs:
- UWord can now load files with whitespace in filename
- saving fails silently. No files created at all.
- Pdf export totally broken. This was true for the previous
rc as well
whole page gets printed on top of a single line at page-bottom
Saving to pdf fails either. I attached the pdf from prior rc
(looks the same)
Unfortunately I can't say when it broke, because prior Debian
packages didn't work on my system. I know it all worked, when the
feature was first introduced.

LSB related notes:
- must include <limits.h> prior gtk header inclusion
- the gdk/private header isn't allowed, and upp actually doesn't
need it currently, so just remove that line
- gtk_widget_set() isn't part of the LSB API either. Don't know why.
I tried the GTK_SET_FLAGS macro - not supported either Rolling Eyes
- I could compile TheIDE successfully with the LSB sandbox, but linking failed.
For some mysterious reason, libXrender.a complained about
missing libX11 symbols (_XFlush...).
How can I see the link line?
Guess: -lX11 misplaced in link line.

General X11 build notes:
Upp needs to support pkg-config one way or other,
now that we link to gtk.
Currently X11 builds aren't fun to set up.
I finally resorted to pasting the output of
pkg-config --cflags gtk+-2.0 --libs gtk+-2.0

into the compiler field in build methods.
But the X11 upp packages really should have that preconfigured.
In a clean way.


Sorry to bother you like that Confused

Guido
  • Attachment: Waffeln.pdf
    (Size: 26.53KB, Downloaded 296 times)
Re: Upp 2007.1rc2 released [message #8257 is a reply to message #8234] Fri, 23 February 2007 21:10 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
More bugs:

- HomeBudget builds fine, but craps out with corrupted
database error dialog. Removing old ~/.HomeBudget
directory doesn't help

Another LSB related note:
- libpng isn't part of it yet
- but zlib is

Guido
Re: Upp 2007.1rc2 released [message #8258 is a reply to message #8254] Fri, 23 February 2007 21:18 Go to previous messageGo to next message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
guido,

The updates to the makefile include pkg-config for GTK, but I got stopped with not all the X11 libraries being included. That is where I left it. WIth any luck I will have this issue addressed tonight or sometime at the end of next week.

EBo --
Re: Upp 2007.1rc2 released [message #8261 is a reply to message #8257] Fri, 23 February 2007 22:58 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12096
Registered: November 2005
Ultimate Member
guido wrote on Fri, 23 February 2007 15:10


Another LSB related note:
- libpng isn't part of it yet
- but zlib is



Uh oh... That is really strange as gtk uses libpng. In fact, I cannot link with gtk when I have png as statically linked package.

Real showstopper.
Re: Upp 2007.1rc2 released [message #8262 is a reply to message #8261] Sat, 24 February 2007 01:42 Go to previous messageGo to previous message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Fri, 23 February 2007 22:58



Uh oh... That is really strange as gtk uses libpng. In fact, I cannot link with gtk when I have png as statically linked package.

Real showstopper.



Actually, gtk didn't link directly to libpng in the past.
The dependency was hidden by dlopen()ing the pixbuf loader.
It comes from cairo! But cairo can and should be hidden
from the linker, as it is an optional backend.
So you use --as-needed linker flag when compiling gtk and
thus cairo and with it libpng disappear as link time dependencies.
That's the case for the LSB sandbox, apparently:
guido@Sid:~$ export PKG_CONFIG_PATH=/opt/lsb/lib/pkgconfig/
guido@Sid:~$ pkg-config --libs gtk+-2.0
-Wl,--export-dynamic -L/opt/lsb/lib -lgtk-x11-2.0 
-lgdk-x11-2.0-lX11 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
guido@Sid:~$ pkg-config --cflags gtk+-2.0
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-I/opt/lsb/include/gtk-2.0 -I/opt/lsb/lib/gtk-2.0/include 
-I/usr/X11R6/include -I/opt/lsb/include/atk-1.0 
-I/opt/lsb/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/opt/lsb/include/glib-2.0 
-I/opt/lsb/lib/glib-2.0/include


--as-needed doesn't only get rid of fake dependencies,
but also in the course cuts off from startup time.
Why regular Debian gtk isn't compiled like that, only
the pundits know.

Guido
Previous Topic: Upp 2007.1beta3 released
Next Topic: upp-portage experimental release
Goto Forum:
  


Current Time: Tue Nov 12 14:30:02 CET 2019

Total time taken to generate the page: 0.02049 seconds