layer selector upate problem solve d
by MenTaLguY
Okay, finally nailed it down.
It seems that sigc++ doesn't deal with reference parameters totally
graciously; it was creating a copy of an SPObject & argument somewhere
internally, causing equivalency tests further in to fail.
Actually this would have been caught a long time ago if SPObject had
been given a private copy constructor (or at least not left with an
implicit public one).
Rule of thumb with C++: if it's not a value class [a class in which
binary copies of objects are interchangable], give it a private copy
constructor like so:
class Foo {
public:
Foo();
...
private:
Foo(Foo const &); // no copy
};
You needn't actually define the copy constructor once you've declared
it, as in this case it shouldn't be used.
If you don't do this, C++ will add a copy constructor for you that just
does a binary copy, and all kinds of happy bugs like the one I just
fixed can sneap up on youl.
In rare cases where you do need to give such classes real copy
constructorsm, make sure that they're either explicit, or not public.
-mental
19 years
fullscreen mode
by Alexandre Prokoudine
Hi,
I might be missing something, but there is no "fullscreen" menu item
in Linux version of Inkscape for several weeks, though Windows version
has it. Where has it gone and why?
I have CVS from 22nd, November in both Linux/Win environment at the moment.
Alexandre
19 years
layer naming dialog progress
by MenTaLguY
Well, I think I've done about all I can do on the layer naming dialog
for this release. At least now it doesn't get confused about which
desktop's layers it should be renaming (I removed the use of
SP_ACTIVE_DESKTOP), it's modal, and it won't sit on desktop or layer
refs after it's closed either.
The remaining thing to do is to fix the updating of the layer selector
widget. It is apparently my bug rather than Gtk's, thankfully, though
I've not figured out 100% yet what is going wrong except that the tree
model row corresponding to the layer isn't being found (so the row
update stuff is never called).
-mental
19 years
static library linking
by Kees Cook
Okay, I talked with Bob and I now understand what's going on. We're not
doing a static binary (where ldd returns nothing), we're linking various
libraries statically. The goal is to make certain weird ones static,
and leave the more common stuff.
Basic steps: compile libraries statically, link inkscape against those.
I wrote up a quick Wiki how-to:
http://www.inkscape.org/cgi-bin/wiki.pl?CompilingStatic
and then modified the inkscape.spec file to allow static library
linking. Unfortunately, I've got Debian, so my built RPMs are a little
weird. :)
I didn't want to "publish" my goofy RPM on Sourceforge, but Bulia wanted
to see it, so here it is:
http://outflux.net/inkscape-0.40cvs-CVS.i386.rpm
(don't ask why it's named all weird... must be RPM magic.)
Using "alien" anyone can easily convert this to a tarball, too.
--
Kees Cook @outflux.net
19 years
snap to page border
by David Christian Berg
The first and often only guides, I create, are guides on the page border
and guides that are within a 5 mm frame from the border.
Now this makes me think if it wouldn't make sense to have a "snap to
page border" in the documents prefs (page tab) as well as a "snap to
margin" and then be able to define a top, left, right, bottom margin of
the page.
Should I file an RFE?
David
19 years
Preferences Window wide open-bug
by kaver
build 041124 win32 2000
The Inkscape Preferences window opens up full size and I cannot resize it.
It is full size or nothing. The Document Preferences window works fine.
vellum
19 years
flow text
by David Christian Berg
Hi guys,
I just worked with flow text for the first time and I really, really
love it! You can't tell how much I'm looking forward to proper flow text
editing... I mean it was kinda of a pain copying all those spans and
stuff but wow, what a result! (see attached screenshot)
This is a major step towards professional layouting, I must say.
David
19 years
Typographic vocabulary
by Gazal, Geraud (GE Healthcare)
Hi Inkscapers, and especially translators,
I've found a very usefull link for typographic translation (especially
for those very specific words like kerning...):
http://www.irisa.fr/faqtypo/lexique.html
Will also post this link on the Wiki
Hope it helps some of you,
Matiphas
19 years
CVS status
by Gazal, Geraud (GE Healthcare)
The problems seems to be resolved now.
For info, seen this morning on :
http://sourceforge.net/docman/display_doc.php?group_id=1&docid=2352
->
( 2004-11-23 08:07:38 - Project CVS Service ) On 2004-11-23 a disk
failure on the anonymous CVS server for projects starting with the
letters: e, h, i, j, o and v is causing anonymous CVS, ViewCVS and
tarballs for these projects to be unavailable. We are currently working
on this issue and do not have an ETA for resolution.
Regards,
Matiphas
19 years