Andre Poenitz wrote:
On Fri, Oct 19, 2007 at 10:26:57AM +0200, Helge Hafting wrote:
Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Andre Poenitz wrote:
On Fri, Oct 19, 2007 at 10:26:57AM +0200, Helge Hafting wrote:
Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Andre Poenitz [EMAIL PROTECTED] writes:
On Thu, Oct 18, 2007 at 08:47:18AM -0500, Bo Peng wrote:
Scons?
There's a Resources.cpp to be build and compiled in frontends/qt4.
There is no such file. Did you add it to svn?
This is a generated file built by
Resources.qrc:
echo
Abdelrazak Younes wrote:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
(this is for sure on Windows). Note that most of the icons are loaded on
startup now that we
On Fri, Oct 19, 2007 at 11:07:19AM +0200, Alfredo Braunstein wrote:
Abdelrazak Younes wrote:
Good question.
Because in the
second case the change could actually mean *slower* startup times...
I don't think the difference would be noticeable... the lib/images/math
Didn't this
On Fri, Oct 19, 2007 at 11:04:18AM +0200, Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
Abdelrazak Younes wrote:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
On Fri, Oct 19, 2007 at 10:37:46AM +0200, Alfredo Braunstein wrote:
Abdelrazak Younes wrote:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
(this is for sure
On Fri, Oct 19, 2007 at 09:43:00AM +0200, Alfredo Braunstein wrote:
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
find
Bo Peng wrote:
Please #ifdef WIN32, or apply a proper solution. (Or should I use rcc
-name option?)
Please apply even a temporary fix. I can not compile under linux with this.
Just go ahead and apply your suggested fix with #ifdef.
Abdel.
Abdelrazak Younes wrote:
Hum not so good as we are both wrong!
We should not count the .svn/ directory... images/math/ is actually 2.9M.
Haha you're right.
Another thing that makes me wonder, the 1.5.x lib/images dir with .xpm
images was only 2.9M. Did the xpm - png change had some impact
Alfredo Braunstein wrote:
Abdelrazak Younes wrote:
Good question.
Because in the
second case the change could actually mean *slower* startup times...
I don't think the difference would be noticeable... the lib/images/math
Didn't this start as a presumable startup time improvement?
I
Abdelrazak Younes wrote:
Good question.
Because in the
second case the change could actually mean *slower* startup times...
I don't think the difference would be noticeable... the lib/images/math
Didn't this start as a presumable startup time improvement?
directory is only 6 megs in
Alfredo Braunstein wrote:
Abdelrazak Younes wrote:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
(this is for sure on Windows). Note that most of the icons are loaded
Jean-Marc Lasgouttes wrote:
Abdelrazak Younes [EMAIL PROTECTED] writes:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
(this is for sure on Windows). Note that most of
Abdelrazak Younes [EMAIL PROTECTED] writes:
This should be fixed yes. We probably need an API for icon loading;
but wait, we already have that in GuiToolbar.cpp:
static QIcon getIcon(FuncRequest const f, bool unknown)
So, what do we want to support? I guess adding one or two cases for
Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
find $(top_srcdir)/lib/images -name '*.png' \
Alfredo Braunstein wrote:
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
find $(top_srcdir)/lib/images -name '*.png' \
| sed -e
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
find $(top_srcdir)/lib/images -name '*.png' \
| sed -e
On Fri, Oct 19, 2007 at 10:45:30AM +0200, Jean-Marc Lasgouttes wrote:
Abdelrazak Younes [EMAIL PROTECTED] writes:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
On Fri, Oct 19, 2007 at 10:26:57AM +0200, Helge Hafting wrote:
Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC
On Fri, Oct 19, 2007 at 10:06:21AM -0500, Bo Peng wrote:
Please #ifdef WIN32, or apply a proper solution. (Or should I use rcc
-name option?)
Please apply even a temporary fix. I can not compile under linux with this.
I am going to fix it. The problem is that cmake adds the -name
parameter
Please #ifdef WIN32, or apply a proper solution. (Or should I use rcc
-name option?)
Please apply even a temporary fix. I can not compile under linux with this.
Bo
Abdelrazak Younes [EMAIL PROTECTED] writes:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
(this is for sure on Windows). Note that most of the icons are loaded
on
Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
directory is only 6 megs in size. I don't know how the resource file is
Note that lib/images (*including* lib/images/math) is just 7.9M.
Right, we make a good team!
Hum not so good as we are both wrong!
We should not count the .svn/
Andre Poenitz <[EMAIL PROTECTED]> writes:
> On Thu, Oct 18, 2007 at 08:47:18AM -0500, Bo Peng wrote:
>> > Scons?
>> >
>> > There's a Resources.cpp to be build and compiled in frontends/qt4.
>>
>> There is no such file. Did you add it to svn?
>
> This is a generated file built by
>
>
Abdelrazak Younes wrote:
>> And this is an advantage because?
>
> Presumably faster loading. I haven't tested yet but I can imagine that
> reading one big file on disk is faster than reading 600 small files
> (this is for sure on Windows). Note that most of the icons are loaded on
> startup now
On Fri, Oct 19, 2007 at 11:07:19AM +0200, Alfredo Braunstein wrote:
> Abdelrazak Younes wrote:
>
> > Good question.
> >
> >> Because in the
> >> second case the change could actually mean *slower* startup times...
> >
> > I don't think the difference would be noticeable... the lib/images/math
>
On Fri, Oct 19, 2007 at 11:04:18AM +0200, Abdelrazak Younes wrote:
> Alfredo Braunstein wrote:
> >Abdelrazak Younes wrote:
> >
> >>>And this is an advantage because?
> >>Presumably faster loading. I haven't tested yet but I can imagine that
> >>reading one big file on disk is faster than reading
On Fri, Oct 19, 2007 at 10:37:46AM +0200, Alfredo Braunstein wrote:
> Abdelrazak Younes wrote:
>
> >> And this is an advantage because?
> >
> > Presumably faster loading. I haven't tested yet but I can imagine that
> > reading one big file on disk is faster than reading 600 small files
> > (this
On Fri, Oct 19, 2007 at 09:43:00AM +0200, Alfredo Braunstein wrote:
> Andre Poenitz wrote:
>
> > On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
> >> > This is a generated file built by
> >> >
> >> > Resources.qrc:
> >> > echo "" > $@
> >> > find $(top_srcdir)/lib/images
Bo Peng wrote:
Please #ifdef WIN32, or apply a proper solution. (Or should I use rcc
-name option?)
Please apply even a temporary fix. I can not compile under linux with this.
Just go ahead and apply your suggested fix with #ifdef.
Abdel.
Abdelrazak Younes wrote:
> Hum not so good as we are both wrong!
> We should not count the .svn/ directory... images/math/ is actually 2.9M.
Haha you're right.
>>> Another thing that makes me wonder, the 1.5.x lib/images dir with .xpm
>>> images was only 2.9M. Did the xpm -> png change had some
Alfredo Braunstein wrote:
Abdelrazak Younes wrote:
Good question.
Because in the
second case the change could actually mean *slower* startup times...
I don't think the difference would be noticeable... the lib/images/math
Didn't this start as a presumable startup time improvement?
I
Abdelrazak Younes wrote:
> Good question.
>
>> Because in the
>> second case the change could actually mean *slower* startup times...
>
> I don't think the difference would be noticeable... the lib/images/math
Didn't this start as a presumable startup time improvement?
> directory is only 6
Alfredo Braunstein wrote:
Abdelrazak Younes wrote:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
(this is for sure on Windows). Note that most of the icons are loaded
Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
And this is an advantage because?
Presumably faster loading. I haven't tested yet but I can imagine that
reading one big file on disk is faster than reading 600 small files
(this is for sure on Windows). Note that most
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> This should be fixed yes. We probably need an API for icon loading;
> but wait, we already have that in GuiToolbar.cpp:
>
> static QIcon getIcon(FuncRequest const & f, bool unknown)
>
> So, what do we want to support? I guess adding one or two cases
Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Resources.qrc:
echo "" > $@
find $(top_srcdir)/lib/images -name '*.png' \
| sed -e
Alfredo Braunstein wrote:
Andre Poenitz wrote:
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Resources.qrc:
echo "" > $@
find $(top_srcdir)/lib/images -name '*.png' \
| sed -e 's:$(top_srcdir)/lib/\(.*\):&:' \
Andre Poenitz wrote:
> On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
>> > This is a generated file built by
>> >
>> > Resources.qrc:
>> > echo "" > $@
>> > find $(top_srcdir)/lib/images -name '*.png' \
>> > | sed -e 's:$(top_srcdir)/lib/\(.*\):> >
On Fri, Oct 19, 2007 at 10:45:30AM +0200, Jean-Marc Lasgouttes wrote:
> Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>
> >> And this is an advantage because?
> >
> > Presumably faster loading. I haven't tested yet but I can imagine that
> > reading one big file on disk is faster than reading 600
On Fri, Oct 19, 2007 at 10:26:57AM +0200, Helge Hafting wrote:
> Abdelrazak Younes wrote:
> >Alfredo Braunstein wrote:
> >>Andre Poenitz wrote:
> >>
> >>>On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
> >This is a generated file built by
> >
> >Resources.qrc:
> >
On Fri, Oct 19, 2007 at 10:06:21AM -0500, Bo Peng wrote:
> > Please #ifdef WIN32, or apply a proper solution. (Or should I use rcc
> > -name option?)
>
> Please apply even a temporary fix. I can not compile under linux with this.
I am going to fix it. The problem is that cmake adds the -name
> Please #ifdef WIN32, or apply a proper solution. (Or should I use rcc
> -name option?)
Please apply even a temporary fix. I can not compile under linux with this.
Bo
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>> And this is an advantage because?
>
> Presumably faster loading. I haven't tested yet but I can imagine that
> reading one big file on disk is faster than reading 600 small files
> (this is for sure on Windows). Note that most of the icons are
Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
directory is only 6 megs in size. I don't know how the resource file is
Note that lib/images (*including* lib/images/math) is just 7.9M.
Right, we make a good team!
Hum not so good as we are both wrong!
We should not count the .svn/
On Wed, Oct 17, 2007 at 09:55:53PM -0500, Bo Peng wrote:
On 10/16/07, Andre Poenitz [EMAIL PROTECTED] wrote:
On Tue, Oct 16, 2007 at 11:11:23PM +0200, Andre Poenitz wrote:
Could somebody on Windows please try this one?
[It should work]
Also anu observations on startup speed
Scons?
There's a Resources.cpp to be build and compiled in frontends/qt4.
There is no such file. Did you add it to svn?
Bo
On Thu, Oct 18, 2007 at 08:47:18AM -0500, Bo Peng wrote:
Scons?
There's a Resources.cpp to be build and compiled in frontends/qt4.
There is no such file. Did you add it to svn?
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
find $(top_srcdir)/lib/images -name '*.png' \
| sed -e 's:$(top_srcdir)/lib/\(.*\):file
alias=\1/file:' \
$@
echo /qresource/RCC $@
On Thu, Oct 18, 2007 at 01:32:44PM -0500, Bo Peng wrote:
On 10/18/07, Bo Peng [EMAIL PROTECTED] wrote:
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
find $(top_srcdir)/lib/images -name '*.png' \
|
What is the advantage of doing all these?
Compiled-in resources vs 600 seperately installed files?
Makes sense. Thanks.
BTW, you use find to get all the images under lib/images, but some of
them are unused. Scons only compiles the used ones that are listed in
scons_manifest.
Bo
OK. Scons is fixed for this. Abdel seems to have the same problem with
cmake.
I did ask people to test he patch, didn't I?
You did ask, but I had no idea what your patch was about, and did not test.
Bo
On 10/18/07, Bo Peng [EMAIL PROTECTED] wrote:
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
find $(top_srcdir)/lib/images -name '*.png' \
| sed -e 's:$(top_srcdir)/lib/\(.*\):file
alias=\1/file:' \
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
This is a generated file built by
Resources.qrc:
echo !DOCTYPE RCCRCC version='1.0'qresource $@
find $(top_srcdir)/lib/images -name '*.png' \
| sed -e 's:$(top_srcdir)/lib/\(.*\):file
Andre Poenitz wrote:
On Tue, Oct 16, 2007 at 11:11:23PM +0200, Andre Poenitz wrote:
Could somebody on Windows please try this one?
[It should work]
Also anu observations on startup speed are welcome.
Slightly more complete patch attached.
Andre'
+
+static void initializeResources()
+{
+
On Thu, Oct 18, 2007 at 01:51:35PM -0500, Bo Peng wrote:
What is the advantage of doing all these?
Compiled-in resources vs 600 seperately installed files?
Makes sense. Thanks.
BTW, you use find to get all the images under lib/images, but some of
them are unused. Scons only compiles
BTW, you use find to get all the images under lib/images, but some of
them are unused. Scons only compiles the used ones that are listed in
scons_manifest.
Would anybody object to remove the unused ones?
I am not quite sure. For example, I can add font-bold to
ui/stdtoolbar.inc, and
On Thu, Oct 18, 2007 at 04:07:56PM -0500, Bo Peng wrote:
BTW, you use find to get all the images under lib/images, but some of
them are unused. Scons only compiles the used ones that are listed in
scons_manifest.
Would anybody object to remove the unused ones?
I am not quite sure.
I've replaced your qInitResources() with the 'official' Qt
Q_INIT_RESOURCE(Resources) because on windows the
rcc generates qInitResources_Resources().
I do not know what is going on here, but Linux/qt does not have
qInitResources_Resources()... and now I am getting
On Wed, Oct 17, 2007 at 09:55:53PM -0500, Bo Peng wrote:
> On 10/16/07, Andre Poenitz <[EMAIL PROTECTED]> wrote:
> > On Tue, Oct 16, 2007 at 11:11:23PM +0200, Andre Poenitz wrote:
> > >
> > > Could somebody on Windows please try this one?
> > >
> > > [It should work]
> > >
> > > Also anu
> Scons?
>
> There's a Resources.cpp to be build and compiled in frontends/qt4.
There is no such file. Did you add it to svn?
Bo
On Thu, Oct 18, 2007 at 08:47:18AM -0500, Bo Peng wrote:
> > Scons?
> >
> > There's a Resources.cpp to be build and compiled in frontends/qt4.
>
> There is no such file. Did you add it to svn?
This is a generated file built by
Resources.qrc:
echo "" > $@
find
> This is a generated file built by
>
> Resources.qrc:
> echo "" > $@
> find $(top_srcdir)/lib/images -name '*.png' \
> | sed -e 's:$(top_srcdir)/lib/\(.*\): alias="\1">&:' \
> >> $@
> echo "" >> $@
What is the advantage of doing all these?
On Thu, Oct 18, 2007 at 01:32:44PM -0500, Bo Peng wrote:
> On 10/18/07, Bo Peng <[EMAIL PROTECTED]> wrote:
> > > This is a generated file built by
> > >
> > > Resources.qrc:
> > > echo "" > $@
> > > find $(top_srcdir)/lib/images -name '*.png' \
> > > | sed -e
> > What is the advantage of doing all these?
>
> Compiled-in resources vs 600 seperately installed files?
Makes sense. Thanks.
BTW, you use find to get all the images under lib/images, but some of
them are unused. Scons only compiles the used ones that are listed in
scons_manifest.
Bo
> > OK. Scons is fixed for this. Abdel seems to have the same problem with
> > cmake.
>
> I did ask people to test he patch, didn't I?
You did ask, but I had no idea what your patch was about, and did not test.
Bo
On 10/18/07, Bo Peng <[EMAIL PROTECTED]> wrote:
> > This is a generated file built by
> >
> > Resources.qrc:
> > echo "" > $@
> > find $(top_srcdir)/lib/images -name '*.png' \
> > | sed -e 's:$(top_srcdir)/lib/\(.*\): > alias="\1">&:' \
> > >> $@
> >
On Thu, Oct 18, 2007 at 12:20:23PM -0500, Bo Peng wrote:
> > This is a generated file built by
> >
> > Resources.qrc:
> > echo "" > $@
> > find $(top_srcdir)/lib/images -name '*.png' \
> > | sed -e 's:$(top_srcdir)/lib/\(.*\): > alias="\1">&:' \
> >
Andre Poenitz wrote:
On Tue, Oct 16, 2007 at 11:11:23PM +0200, Andre Poenitz wrote:
Could somebody on Windows please try this one?
[It should work]
Also anu observations on startup speed are welcome.
Slightly more complete patch attached.
Andre'
+
+static void initializeResources()
+{
+
On Thu, Oct 18, 2007 at 01:51:35PM -0500, Bo Peng wrote:
> > > What is the advantage of doing all these?
> >
> > Compiled-in resources vs 600 seperately installed files?
>
> Makes sense. Thanks.
>
> BTW, you use find to get all the images under lib/images, but some of
> them are unused. Scons
> > BTW, you use find to get all the images under lib/images, but some of
> > them are unused. Scons only compiles the used ones that are listed in
> > scons_manifest.
>
> Would anybody object to remove the unused ones?
I am not quite sure. For example, I can add font-bold to
ui/stdtoolbar.inc,
On Thu, Oct 18, 2007 at 04:07:56PM -0500, Bo Peng wrote:
> > > BTW, you use find to get all the images under lib/images, but some of
> > > them are unused. Scons only compiles the used ones that are listed in
> > > scons_manifest.
> >
> > Would anybody object to remove the unused ones?
>
> I am
> I've replaced your qInitResources() with the 'official' Qt
> Q_INIT_RESOURCE(Resources) because on windows the
> rcc generates qInitResources_Resources().
>
I do not know what is going on here, but Linux/qt does not have
qInitResources_Resources()... and now I am getting
On 10/16/07, Andre Poenitz [EMAIL PROTECTED] wrote:
On Tue, Oct 16, 2007 at 11:11:23PM +0200, Andre Poenitz wrote:
Could somebody on Windows please try this one?
[It should work]
Also anu observations on startup speed are welcome.
Slightly more complete patch attached.
I get
On 10/16/07, Andre Poenitz <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 16, 2007 at 11:11:23PM +0200, Andre Poenitz wrote:
> >
> > Could somebody on Windows please try this one?
> >
> > [It should work]
> >
> > Also anu observations on startup speed are welcome.
>
> Slightly more complete patch
Could somebody on Windows please try this one?
[It should work]
Also anu observations on startup speed are welcome.
Andre'
Index: GuiToolbar.cpp
===
--- GuiToolbar.cpp (revision 20995)
+++ GuiToolbar.cpp (working copy)
On Tue, Oct 16, 2007 at 11:11:23PM +0200, Andre Poenitz wrote:
Could somebody on Windows please try this one?
[It should work]
Also anu observations on startup speed are welcome.
Slightly more complete patch attached.
Andre'
Index: GuiToolbar.cpp
Could somebody on Windows please try this one?
[It should work]
Also anu observations on startup speed are welcome.
Andre'
Index: GuiToolbar.cpp
===
--- GuiToolbar.cpp (revision 20995)
+++ GuiToolbar.cpp (working copy)
On Tue, Oct 16, 2007 at 11:11:23PM +0200, Andre Poenitz wrote:
>
> Could somebody on Windows please try this one?
>
> [It should work]
>
> Also anu observations on startup speed are welcome.
Slightly more complete patch attached.
Andre'
Index: GuiToolbar.cpp
80 matches
Mail list logo