Re: New Version of my ref dialog

2005-03-12 Thread Andreas Klostermann
The bufferstore_ thingy is ref counted. It get's deleted automagically. Smart pointers... I know that the Ok button does not become sensitive... I don't really know why! I think the underlying code should activate it? The double insert probably comes from calling dispatchParams.

Re: New Version of my ref dialog

2005-03-12 Thread Andreas Klostermann
The bufferstore_ thingy is ref counted. It get's deleted automagically. Smart pointers... I know that the Ok button does not become sensitive... I don't really know why! I think the underlying code should activate it? The double insert probably comes from calling dispatchParams.

Re: [PATCH] new Ref dialog for GTK frontend

2005-03-11 Thread Andreas Klostermann
I'm not discouraged or anything by your feedback. It's ok. The Gnome HIG has its point when recommending instant apply. I myself aggree to it. However, if the lyx design requires it another way, I have to abide by the rules. I'll change that, and the glade problems too. Also, the glade file isn't

blanket-permission

2005-03-11 Thread Andreas Klostermann
Sorry, I wanted to do this earlier. Please add my name to www.lyx.org/blanket-permission.txt. All my contributions are meant to be under Gnu General Public Licence, version 2 or later. Bye, Andreas

New Version of my ref dialog

2005-03-11 Thread Andreas Klostermann
. * * \author John Spray * \author Andreas Klostermann * Full author contact details are available in file CREDITS. */ #include config.h // Too hard to make concept checks work with this file #ifdef _GLIBCXX_CONCEPT_CHECKS #undef _GLIBCXX_CONCEPT_CHECKS #endif #ifdef _GLIBCPP_CONCEPT_CHECKS #undef

Re: [PATCH] new Ref dialog for GTK frontend

2005-03-11 Thread Andreas Klostermann
I'm not discouraged or anything by your feedback. It's ok. The Gnome HIG has its point when recommending instant apply. I myself aggree to it. However, if the lyx design requires it another way, I have to abide by the rules. I'll change that, and the glade problems too. Also, the glade file isn't

blanket-permission

2005-03-11 Thread Andreas Klostermann
Sorry, I wanted to do this earlier. Please add my name to www.lyx.org/blanket-permission.txt. All my contributions are meant to be under Gnu General Public Licence, version 2 or later. Bye, Andreas

New Version of my ref dialog

2005-03-11 Thread Andreas Klostermann
. * * \author John Spray * \author Andreas Klostermann * Full author contact details are available in file CREDITS. */ #include // Too hard to make concept checks work with this file #ifdef _GLIBCXX_CONCEPT_CHECKS #undef _GLIBCXX_CONCEPT_CHECKS #endif #ifdef _GLIBCPP_CONCEPT_CHECKS #undef

[PATCH] new Ref dialog for GTK frontend

2005-03-10 Thread Andreas Klostermann
\ GScreen.h \ GSearch.C \ ref.glade Description: application/glade /** * \file GNote.C * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author John Spray * \author Andreas Klostermann * Full author contact details are available

[PATCH] new Ref dialog for GTK frontend

2005-03-10 Thread Andreas Klostermann
c/frontends/gtk/Makefile.am 2004/12/07 00:29:15 1.38 +++ lyx-devel/src/frontends/gtk/Makefile.am 2005/03/10 16:52:01 @@ -65,6 +65,8 @@ libgtk_la_SOURCES = \ GParagraph.h \ GPrint.C \ GPrint.h \ + GRef.C \ + GRef.h \ GScreen.C \ GScreen.h \ GSearch.C \ ref.glade Description: application/glad

How can I get the current buffer?

2005-03-09 Thread Andreas Klostermann
Hi! I'm writing the reference dialog for the gtk frontend currently. For the documents dialog I need a way to get the current buffer. Does somebody know how to do this? Thanks, Andreas

How can I get the current buffer?

2005-03-09 Thread Andreas Klostermann
Hi! I'm writing the reference dialog for the gtk frontend currently. For the documents dialog I need a way to get the current buffer. Does somebody know how to do this? Thanks, Andreas

Fix: Bugs in scrolling related gtk code was: Re: Details on scrolling workflow?

2005-03-06 Thread Andreas Klostermann
Yes, libsigc++ discards all events. It would be interesting to understand just why the underlying code generates these events. There is a second signal related to scrolling, connected to the workarea_ member variable. I tried turning it off, but that isn't any better. Also I tried to set the

Is anybody working on the GTK preferences dialog?

2005-03-06 Thread Andreas Klostermann
Hi! Is anybody working on the GTK preferences dialog? Otherwise I'd simply proceed to implementing it. Bye, Andreas

Fix: Bugs in scrolling related gtk code was: Re: Details on scrolling "workflow"?

2005-03-06 Thread Andreas Klostermann
Yes, libsigc++ discards all events. It would be interesting to understand just why the underlying code generates these events. There is a second signal related to scrolling, connected to the workarea_ member variable. I tried turning it off, but that isn't any better. Also I tried to set the

Is anybody working on the GTK preferences dialog?

2005-03-06 Thread Andreas Klostermann
Hi! Is anybody working on the GTK preferences dialog? Otherwise I'd simply proceed to implementing it. Bye, Andreas

Fix: Bugs in scrolling related gtk code was: Re: Details on scrolling workflow?

2005-03-05 Thread Andreas Klostermann
On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: I try to fix a bug in the gtk frontend. When moving the cursor out of sight, normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible. I

Fix: Bugs in scrolling related gtk code was: Re: Details on scrolling "workflow"?

2005-03-05 Thread Andreas Klostermann
> On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: > > I try to fix a bug in the gtk frontend. When moving the cursor "out of > > sight", normally the view should follow it by centering. Now, with the > > gtk frontend, it will scroll crazily

GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
Hi! I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected in the work area. Upon preview, all text is in standard

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
Andreas Klostermann wrote: Hi! I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected in the work area

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
John Spray Fri, 04 Mar 2005 10:22:52 -0800 On Fri, 2005-03-04 at 19:08 +0100, Andreas Klostermann wrote: Well, at the moment I only intend to get more of a feeling for the code, investigate this nasty crash in the document dialog and maybe do a few cosmetic (=small) improvements

Details on scrolling workflow?

2005-03-04 Thread Andreas Klostermann
Hi! I try to fix a bug in the gtk frontend. When moving the cursor out of sight, normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible. I'm trying to fix it, but I don't quite understand the flow of

Re: Details on scrolling workflow?

2005-03-04 Thread Andreas Klostermann
On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: I try to fix a bug in the gtk frontend. When moving the cursor out of sight, normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible

GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
Hi! I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected in the work area. Upon preview, all text is in standard

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
> Andreas Klostermann wrote: > > > Hi! > > > > I tried out the gtk frontend from cvs again. Strangely enough, if I > > change the style of a line/paragraph from Standard to something else, > > nothing happens. The style list indicates that a change has h

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
> John Spray > Fri, 04 Mar 2005 10:22:52 -0800 > > > On Fri, 2005-03-04 at 19:08 +0100, Andreas Klostermann wrote: > > Well, at the moment I only intend to get more of a feeling for the code, > > investigate > > this nasty crash in the document dialog an

Details on scrolling "workflow"?

2005-03-04 Thread Andreas Klostermann
Hi! I try to fix a bug in the gtk frontend. When moving the cursor "out of sight", normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible. I'm trying to fix it, but I don't quite understand the flow of

Re: Details on scrolling "workflow"?

2005-03-04 Thread Andreas Klostermann
> On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: > > I try to fix a bug in the gtk frontend. When moving the cursor "out of > > sight", normally the view should follow it by centering. Now, with the > > gtk frontend, it will scroll crazily

Source Code inset?

2004-05-15 Thread Andreas Klostermann
Hi! I'd like to be able to inline styled source code (python, C++, whatever) into a Lyx document. I tried to use SciTE (a Programmer's text editor) to export code to Tex, but I can't include the resulting file nor can I ERT it or anything else. Even if so, I'd have to export it manually every

Source Code inset?

2004-05-15 Thread Andreas Klostermann
Hi! I'd like to be able to inline styled source code (python, C++, whatever) into a Lyx document. I tried to use SciTE (a Programmer's text editor) to export code to Tex, but I can't include the resulting file nor can I ERT it or anything else. Even if so, I'd have to export it manually every

Python plugins - a newbie's take on it

2004-04-30 Thread Andreas Klostermann
Hi all, From the postings here I saw it's not only me who has a high interest in incorporating non-lyx or not-yet-lyx-compatible applications, in a form that has been made popular by M$'s office products. The most prominent thing I remember was Word Art in Word (I didn't use Word for a very very

Python plugins - a newbie's take on it

2004-04-30 Thread Andreas Klostermann
Hi all, >From the postings here I saw it's not only me who has a high interest in incorporating non-lyx or not-yet-lyx-compatible applications, in a form that has been made popular by M$'s office products. The most prominent thing I remember was Word Art in Word (I didn't use Word for a very very

Re: (just in case) How to reach me for chatting about the conference

2004-04-28 Thread Andreas Klostermann
Lars Gullik Bjnnes larsbj at gullik.net writes: | http://kadu.net/index.php?page=downloadlang=en Kadu what the F*** is kadu? Kadu Kadu is some instant messaging network, special in Poland. My last girlfriend used it sometimes to keep in touch with some cousins there. I think you can

Re: (just in case) How to reach me for chatting about the conference

2004-04-28 Thread Andreas Klostermann
Lars Gullik BjÃnnes gullik.net> writes: > | http://kadu.net/index.php?page=download=en > > Kadu what the F*** is kadu? > Kadu Kadu is some instant messaging network, special in Poland. My last girlfriend used it sometimes to keep in touch with some cousins there. I think you can connect to

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
Georg Baum Georg.Baum at post.rwth-aachen.de writes: Andreas Klostermann wrote: So it looks as if the invocation of XftTextExtents32() fails for some reason. In GTK that's also not the way you should do font metrics... Actually you should use Pango, since this is the GTK font magician

Re: GTK Port still alive?

2004-04-27 Thread Andreas Klostermann
Juergen Spitzmueller juergen.sp at t-online.de writes: Redraw screen BadDrawable (invalid Pixmap or Window parameter) id: 0 [snip] #9 0x40c6ed31 in _XF86BigfontQueryFont () from /usr/X11R6/lib/libX11.so.6 #10 0x40c6e45a in XLoadQueryFont () from /usr/X11R6/lib/libX11.so.6 #11 0x40a6ed03

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
Angus Leeming leeming at lyx.org writes: But does Pango require the use of Unicode? LyX isn't there yet. I did some stuff using gtk and pango, and never worried about that. Neither in the editor, nor in a glade file or wherever. The only thing is that I needed to make my xml files utf8

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
John Levon levon at movementarian.org writes: It's not quite a simple a job as you suggest. Yet it's probably not /too/ difficult either. Well, it was just a question. It's not neccessary to do anything about it. A simple locale to UTF8 conversion for sake of calling pango is all it needs, if

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
Georg Baum post.rwth-aachen.de> writes: > > Andreas Klostermann wrote: > > > So it looks as if the invocation of XftTextExtents32() fails for some > > reason. In GTK that's also not the way you should do font metrics... > > Actually you should use Pango, since

Re: GTK Port still alive?

2004-04-27 Thread Andreas Klostermann
Juergen Spitzmueller t-online.de> writes: > Redraw screen > BadDrawable (invalid Pixmap or Window parameter) id: 0 [snip] > #9 0x40c6ed31 in _XF86BigfontQueryFont () >from /usr/X11R6/lib/libX11.so.6 > #10 0x40c6e45a in XLoadQueryFont () from /usr/X11R6/lib/libX11.so.6 > #11 0x40a6ed03 in

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
Angus Leeming lyx.org> writes: > > But does Pango require the use of Unicode? LyX isn't there yet. > I did some stuff using gtk and pango, and never worried about that. Neither in the editor, nor in a glade file or wherever. The only thing is that I needed to make my xml files utf8 encoded

Re: The Umlaut Crash (XFT Gurus out there?)

2004-04-27 Thread Andreas Klostermann
John Levon movementarian.org> writes: > It's not quite a simple a job as you suggest. Yet it's probably not > /too/ difficult either. Well, it was just a question. It's not neccessary to do anything about it. A simple locale to UTF8 conversion for sake of calling pango is all it needs, if at

Re: GTK Port still alive?

2004-04-26 Thread Andreas Klostermann
Angus Leeming leeming at lyx.org writes: Andreas Klostermann wrote: I tried the gtk port from CVS... crashes every now and then rather now than then though... for example when trying to invoke the document preferences dialog (or layout I think it's called in the qt port

The Umlaut Crash (XFT Gurus out there?)

2004-04-26 Thread Andreas Klostermann
hi! What I've been doing yesterday was trying to fix Lyx when pressing German special characters... Kind of annoys me as a native German writer ;) To make it short, I think the problem stems from the Xft font metrics... Whenever I press for example, I get a segfault. My Backtrace as posted in

Re: GTK Port still alive?

2004-04-26 Thread Andreas Klostermann
Angus Leeming lyx.org> writes: > > Andreas Klostermann wrote: > > I tried the gtk port from CVS... crashes every now and then > > rather now than > > then though... for example when trying to invoke the document > > preferences dialog (or layout I

The Umlaut Crash (XFT Gurus out there?)

2004-04-26 Thread Andreas Klostermann
hi! What I've been doing yesterday was trying to fix Lyx when pressing German special characters... Kind of annoys me as a native German writer ;) To make it short, I think the problem stems from the Xft font metrics... Whenever I press "Ã" for example, I get a segfault. My Backtrace as posted

GTK Port still alive?

2004-04-25 Thread Andreas Klostermann
Hi! I tried the gtk port from CVS... crashes every now and then rather now than then though... for example when trying to invoke the document preferences dialog (or layout I think it's called in the qt port), or when entering German Umlauts, and and and Is there somebody still working

GTK Port still alive?

2004-04-25 Thread Andreas Klostermann
Hi! I tried the gtk port from CVS... crashes every now and then rather now than then though... for example when trying to invoke the document preferences dialog (or layout I think it's called in the qt port), or when entering German Umlauts, and and and Is there somebody still working