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 710-dev1 released
Re: Upp 710-dev1 released [message #12147 is a reply to message #12127] Sat, 13 October 2007 08:46 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
I couldn't compile CtrlLib with MSVC 8, but I had no problems at work with MSVC 7.

PrinterJob.cpp
Win32.cpp
e:\develop\upp\uppsrc\CtrlLib\Win32.cpp : fatal error C1033: cannot open program database 'e:\develop\upp\out
	\ctrllib\msc8.debug_full.gui\ctrllib-2.pdb'
TrayIconWin32.cpp
e:\develop\upp\uppsrc\CtrlLib\TrayIconWin32.cpp : fatal error C1033: cannot open program database 'e:\develop
	\upp\out\ctrllib\msc8.debug_full.gui\ctrllib-2.pdb'
TrayIconX11.cpp
e:\develop\upp\uppsrc\CtrlLib\TrayIconX11.cpp : fatal error C1033: cannot open program database 'e:\develop\u
	pp\out\ctrllib\msc8.debug_full.gui\ctrllib-2.pdb'
CtrlUtil.cpp
e:\develop\upp\uppsrc\CtrlLib\CtrlUtil.cpp : fatal error C1033: cannot open program database 'e:\develop\upp\
	out\ctrllib\msc8.debug_full.gui\ctrllib-2.pdb'
LNGCtrl.cpp
Update.cpp
ChWin32.cpp
TmSchema.h is obsolete. Please include vssym32.h instead.
Re: Upp 710-dev1 released [message #12148 is a reply to message #12147] Sat, 13 October 2007 08:58 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
And I have this code that no longer compiles (in MINGW):

Drawing SVGImage::Draw(int aw, int ah)
{
	if (aw < 1 || ah < 1)
		return Null;
	DrawingDraw ddraw(aw, ah);
	Draw(&ddraw, svgRoot);
	return ddraw.GetResult();
}


e:\Develop\MyApps\CBPMain\SVGImage.cpp: In member function 'Upp::Drawing SVGImage::Draw(int, int)':
e:\Develop\MyApps\CBPMain\SVGImage.cpp:69: error: conversion from 'const Upp::Nuller' to non-scalar type 'Upp
	::Drawing' requested

I needed to return Null in previous versions because I would get an error if width or height were 0.
Re: Upp 710-dev1 released [message #12149 is a reply to message #12147] Sat, 13 October 2007 11:08 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Sat, 13 October 2007 02:46

I couldn't compile CtrlLib with MSVC 8, but I had no problems at work with MSVC 7.

PrinterJob.cpp
Win32.cpp
e:\develop\upp\uppsrc\CtrlLib\Win32.cpp : fatal error C1033: cannot open program database 'e:\develop\upp\out
	\ctrllib\msc8.debug_full.gui\ctrllib-2.pdb'
TrayIconWin32.cpp
e:\develop\upp\uppsrc\CtrlLib\TrayIconWin32.cpp : fatal error C1033: cannot open program database 'e:\develop
	\upp\out\ctrllib\msc8.debug_full.gui\ctrllib-2.pdb'
TrayIconX11.cpp
e:\develop\upp\uppsrc\CtrlLib\TrayIconX11.cpp : fatal error C1033: cannot open program database 'e:\develop\u
	pp\out\ctrllib\msc8.debug_full.gui\ctrllib-2.pdb'
CtrlUtil.cpp
e:\develop\upp\uppsrc\CtrlLib\CtrlUtil.cpp : fatal error C1033: cannot open program database 'e:\develop\upp\
	out\ctrllib\msc8.debug_full.gui\ctrllib-2.pdb'




This looks like not enough space on disk or stalled/broken previous build. Check the first, if does not apply, use "Rebuild All" or even "Clean UPPOUT" and then "Rebuild All".

That said, it works for me...

Quote:


TmSchema.h is obsolete. Please include vssym32.h instead.



Ignore this one, it is only MS trying to play games on us... Smile

Mirek
Re: Upp 710-dev1 released [message #12150 is a reply to message #12148] Sat, 13 October 2007 11:12 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, Drawing does not really support Null. IMO, use

return Drawing();

and then operator bool().

That said, I am going to add Null support for Drawing now Wink

Mirek
Re: Upp 710-dev1 released [message #12158 is a reply to message #12150] Sat, 13 October 2007 18:11 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
This looks like not enough space on disk or stalled/broken previous build. Check the first, if does not apply, use "Rebuild All" or even "Clean UPPOUT" and then "Rebuild All".

That worked. I get a lot of warnings, but I'll just ignore them Smile.

Well, Drawing does not really support Null.

Strange, in 2007.1 it did. Well, at least I don't get an error in this versions so I can just skip the test.

Any idea why TheIDE opens Callback.h after a run with MSVC? I had this issue with dev9 too.

[Updated on: Sat, 13 October 2007 18:14]

Report message to a moderator

Re: Upp 710-dev1 released [message #12159 is a reply to message #12158] Sat, 13 October 2007 18:41 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Sat, 13 October 2007 12:11



Well, Drawing does not really support Null.

Strange, in 2007.1 it did. Well, at least I don't get an error in this versions so I can just skip the test.



Well, we have changed the mingw version. I think it can be related... Maybe some illegal coversion routes were disabled in new GCC.

Quote:


Any idea why TheIDE opens Callback.h after a run with MSVC? I had this issue with dev9 too.


What it does? Can you describe in more detail, please?
Re: Upp 710-dev1 released [message #12160 is a reply to message #12159] Sat, 13 October 2007 20:23 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
I press run (F5), application runs, I close application and I have a brand new tab with the content of Callback.h.
Re: Upp 710-dev1 released [message #12161 is a reply to message #12160] Sun, 14 October 2007 10:45 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Sat, 13 October 2007 14:23

I press run (F5), application runs, I close application and I have a brand new tab with the content of Callback.h.


Unable to reproduce. Can you provide more details please?

Is it observed with some of examples? Debug mode? Using debugger?

Mirek
Re: Upp 710-dev1 released [message #12163 is a reply to message #12161] Sun, 14 October 2007 23:53 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
I can only reproduce it with my app and the tab appears even before the application launces only in debug run.
Re: Upp 710-dev1 released [message #12188 is a reply to message #12163] Tue, 16 October 2007 12:58 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Since noone else has mentioned it yet, the following code changes are required to make 710-dev1 compile TheIde on Linux (Slackware):

In ImageWin32.cpp:
#include <shellapi.h> - should be after #ifdef PLATFORM_WIN32?

In path.cpp:
f.is_archive = ff.IsArchive();
f.is_compressed = ff.IsCompressed();
f.is_hidden = ff.IsHidden();
f.is_read_only = ff.IsReadOnly();
f.is_system = ff.IsSystem();
f.is_temporary = ff.IsTemporary();
Should be:
#ifdef PLATFORM_WIN32
f.is_archive = ff.IsArchive();
f.is_compressed = ff.IsCompressed();
f.is_hidden = ff.IsHidden();
f.is_system = ff.IsSystem();
f.is_temporary = ff.IsTemporary();
#endif
f.is_read_only = ff.IsReadOnly();


in X11Wnd.cpp:
bool Ctrl::ProcessEvents(bool *) - should be *quit?

in ide/Goto.cpp
mf.access = m.pos[l].impl ? WITHBODY : PUBLIC;

GCC complains about comparing two anonymous enums. Not sure what the 'correct' solution is, but casting them both to int seems to work.

James
Re: Upp 710-dev1 released [message #12189 is a reply to message #12188] Tue, 16 October 2007 22:51 Go to previous messageGo to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
mrjt wrote on Tue, 16 October 2007 12:58

Since noone else has mentioned it yet, the following code changes are required to make 710-dev1 compile TheIde on Linux (Slackware):
.................


hemmmm...
http://www.ultimatepp.org/forum/index.php?t=msg&th=2777& amp;start=0&

I think is time to a bug reporting tool somewhere... I thnk some report get lost between posts.

Ciao

Max
Re: Upp 710-dev1 released [message #12233 is a reply to message #12034] Fri, 19 October 2007 22:15 Go to previous messageGo to next message
mapo is currently offline  mapo
Messages: 5
Registered: September 2007
Promising Member
Hi,

I have program with NOAPPSQL flag set. When I try to compile it, I get compilation error:
C:\upp\uppsrc\Sql\Sql.cpp(497) : error C2065: 'SQL' : undeclared identifier

if I change SqlSession::~SqlSession() to:

SqlSession::~SqlSession()
{
#ifndef NOAPPSQL
if(SQL.IsOpen() && &SQL.GetSession() == this) {
SQL.Detach();
}
#endif
}

everything compiles without errors.


7edcd8e6f33ea538d7d44a5487ef4566
Re: Upp 710-dev1 released [message #12236 is a reply to message #12233] Sat, 20 October 2007 09:38 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mapo wrote on Fri, 19 October 2007 16:15

Hi,

I have program with NOAPPSQL flag set. When I try to compile it, I get compilation error:
C:\upp\uppsrc\Sql\Sql.cpp(497) : error C2065: 'SQL' : undeclared identifier

if I change SqlSession::~SqlSession() to:

SqlSession::~SqlSession()
{
#ifndef NOAPPSQL
if(SQL.IsOpen() && &SQL.GetSession() == this) {
SQL.Detach();
}
#endif
}

everything compiles without errors.


Thanks, in fact, this part is still being worked on, right now the destructor is empty again... Smile

Mirek
Re: Upp 710-dev1 released [message #12421 is a reply to message #12121] Mon, 29 October 2007 17:11 Go to previous messageGo to next message
piotr5 is currently offline  piotr5
Messages: 107
Registered: November 2005
Experienced Member
just my 2 cents to the linux-discussion:

as I said in a previous release-thread, for linux the debug-version
does only work with the memory-checks turned off, since there
freed memory get mysteriously filled with zeroes after being
filled with a fixed number by upp. uvs-regression-tests seem to
work only for the last time it got updated, all previous versions
of the source-files seem to be unavailable afterwards. so the
right development-cycle would be: uvs-update (or batch-process) &
compile without closing uvs, so that any errors could be tested
against previous versions of the files. unfortunately uvs doesn't
seem to provide a function for putting all files to a certain
date, one has to go through each individual file for that. just
my own experience, not really a howto for uvs...

now I have no access to uvs, so I cannot say anything useful...
Re: Upp 710-dev1 released [message #12422 is a reply to message #12421] Mon, 29 October 2007 21:56 Go to previous messageGo to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
piotr5 wrote on Mon, 29 October 2007 17:11

just my 2 cents to the linux-discussion:

as I said in a previous release-thread, for linux the debug-version
does only work with the memory-checks turned off.....



That's fixed in current devel
Quote:



........ unfortunately uvs doesn't seem to provide a function for putting all files to a certain date, one has to go through each individual file for that. just my own experience, not really a howto for uvs...



That's the big defect I find too on Uvs... no way (AFAIK) to make a snapshot at a certain date (besides of a per-file mode), so it's quite useless for regression tests.

@mirek : what about more frequent svn updates ? You could do it with a 4-5 lines script on your uvs server plus a cron job that does it nightly... That woult be a plus for users that want to test daily releases without loading too much your server.

Ciao

Max
Re: Upp 710-dev1 released [message #12444 is a reply to message #12161] Wed, 31 October 2007 22:01 Go to previous messageGo to next message
Alex is currently offline  Alex
Messages: 18
Registered: October 2007
Location: Germany
Promising Member
luzr wrote on Sun, 14 October 2007 10:45

cbpporter wrote on Sat, 13 October 2007 14:23

I press run (F5), application runs, I close application and I have a brand new tab with the content of Callback.h.


Unable to reproduce. Can you provide more details please?

Is it observed with some of examples? Debug mode? Using debugger?

Mirek


Hi,
I have same effect.
In various versions of my program, various file-tabs are opened.
Have tested some other apps from upp, most of then nothing happens. But in ImageEncoders (reference) with MSC8 opens allways ctrl.cpp and with MSC71 opens allways CtrlDraw.cpp.
Certainly nothing dangerous but strangely,

Alex
Re: Upp 710-dev1 released [message #12489 is a reply to message #12422] Mon, 05 November 2007 18:23 Go to previous message
piotr5 is currently offline  piotr5
Messages: 107
Registered: November 2005
Experienced Member
just for the record, the last svn-version I tried did show
the "writing to freed memory" message, even on windows, and
naturally again changing the magical number in freefill() and
freecheck() to zero did get rid of this critical error-message.

as for uvs, I guess it's less work to implement a new
context-menu option for downgrading all files to a particular
version than to write good svn-updating cron-job which does
actually work together with uvs automatically. also, in the
context of this particular project, a weekly update isn't
as big as to corrupt the built whenever downgrading some
particular file, in my experience. but my experience is very
limited though. I just don't like going online whenever I
have some regression-testing to do...
Previous Topic: Upp 709-dev1 released
Next Topic: uvs2 IP address changed
Goto Forum:
  


Current Time: Thu Mar 28 19:18:11 CET 2024

Total time taken to generate the page: 0.00976 seconds