Re: Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Kornel Benko
Am Sonntag, 28. April 2013 um 21:51:29, schrieb Vincent van Ravesteijn > > > It's about the fontlist not being initialized for InsetInfo insets ? > > > > Vincent > > Fixed at 36199545 ? > > Vincent Looks good, no crashes. Kornel signature.asc Description: This is a digitally signed

Re: GSoC Project: Horizontal scrollbar in table and math

2013-04-28 Thread Scott Kostyshak
On Sun, Apr 28, 2013 at 9:28 PM, Mandeep Simak wrote: > Hello, > > I am Mandeep Kaur, student of GNDEC, Ldh pusuing B.Tech. in > Information Technology. > > I know C++ and CGI with C++. I am currently working on project > BaKaPlan i.e. in C++ using CGI > https://github.com/GreatDevelopers/bakaplan

Re: [LyX master] Also put HTML on the clipboard when copying

2013-04-28 Thread Scott Kostyshak
On Sun, Apr 28, 2013 at 4:26 PM, Vincent van Ravesteijn wrote: > Op 28-4-2013 0:32, Scott Kostyshak schreef: > >> On Sun, Apr 21, 2013 at 3:22 PM, Georg Baum >> wrote: >>> >>> Richard Heck wrote: >>> There are a couple issues here. One is the problem of branches. Previously, we'd have "

Re: GSoC: Advanced Find and Replace Questions

2013-04-28 Thread Tommaso Cucinotta
On 29/04/13 00:15, Tommaso Cucinotta wrote: >> I read the corresponding sections in the user guide, and tried to find >> some math using regular expressions. I noticed that, I must insert a >> regex box first. But since there can be regex box inside math box or >> vice versa, which is the correct w

Re: [LyX master] support for \mbox and \fbox

2013-04-28 Thread Uwe Stöhr
Am 17.04.2013 13:03, schrieb Jean-Marc Lasgouttes: Please find enclosed a patch that should fix the remaining problems (apply on top of the previous one). I refrained from rewriting large parts of the code due to your comment below on doing too complicated things. There is code duplication in

Re: GSoC: Advanced Find and Replace Questions

2013-04-28 Thread Tommaso Cucinotta
On 28/04/13 13:55, Albus X wrote: > Hello everyone, I am interested in GSoC 2013 and particularly the > "Advanced find and replace" project. Hi there, welcome to LyX! First of all, let me redirect you to the information available at http://www.google-melange.com/gsoc/org/google/gsoc2013/lyx

Re: Signals/Slots in Core (branch from UI improvements and non-linear enhancements)

2013-04-28 Thread Tommaso Cucinotta
On 25/04/13 15:08, Richard Heck wrote: > Boost signals are used in the core already. I barely remember of them being used more in the past. At some point, it was shown that they were pulling in 7K LoC in the compilation, slowing down compilation and linking, can't remember if also run-time speed

Re: Can't compile lyx-outline

2013-04-28 Thread Stephan Witt
Am 28.04.2013 um 22:50 schrieb Ashley Shan : > Thank you for your help. > > Yes I think I might be mixing Qt4 with Qt5. Should I just uninstall > everything regarding Qt but preserving cmake and reinstall Qt4? Yes, that sounds like a good plan. BTW, on a Mac a framework should contain the he

Re: Can't compile lyx-outline

2013-04-28 Thread Ashley Shan
Thank you for your help. Yes I think I might be mixing Qt4 with Qt5. Should I just uninstall everything regarding Qt but preserving cmake and reinstall Qt4? *Xueqing Shan* Vanderbilt University, '16 On Sun, Apr 28, 2013 at 3:43 PM, Stephan Witt wrote: > Am

Re: Can't compile lyx-outline

2013-04-28 Thread Stephan Witt
Am 28.04.2013 um 22:05 schrieb Vincent van Ravesteijn : > Op 28-4-2013 22:02, Ashley Shan schreef: >> Hi Stephen, thank you for replying. Here's what I did. Kornel said maybe I >> didn't install the development tool, so I checked: >> >> I checked the installation log of my Qt 5.0.2, I searched f

Re: [LyX master] Also put HTML on the clipboard when copying

2013-04-28 Thread Vincent van Ravesteijn
Op 28-4-2013 0:32, Scott Kostyshak schreef: On Sun, Apr 21, 2013 at 3:22 PM, Georg Baum wrote: Richard Heck wrote: There are a couple issues here. One is the problem of branches. Previously, we'd have "pasted" the copied paragraphs into the temporary Buffer, and with it whatever branch insets

Re: Can't compile lyx-outline

2013-04-28 Thread Vincent van Ravesteijn
Op 28-4-2013 22:02, Ashley Shan schreef: Hi Stephen, thank you for replying. Here's what I did. Kornel said maybe I didn't install the development tool, so I checked: I checked the installation log of my Qt 5.0.2, I searched for "moc", "uic", and "rcc", and it seems I did have installed them:

Re: Can't compile lyx-outline

2013-04-28 Thread Ashley Shan
Hi Stephen, thank you for replying. Here's what I did. Kornel said maybe I didn't install the development tool, so I checked: I checked the installation log of my Qt 5.0.2, I searched for "moc", "uic", and "rcc", and it seems I did have installed them: Relocator calling otool -l for "/Users/Ashle

Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Vincent van Ravesteijn
It's about the fontlist not being initialized for InsetInfo insets ? Vincent Fixed at 36199545 ? Vincent

Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Vincent van Ravesteijn
Op 28-4-2013 20:48, Jean-Marc Lasgouttes schreef: Le 28/04/2013 20:28, Kornel Benko a écrit : Unfortunately it looks the same in both cases. And it is independent of if I use the mouse-wheel or the scroll-bar to navigate. I get the same with page-down. JMarc It's about the fontlist not being

Directory layout for unit tests

2013-04-28 Thread Elmar Hinz
Hello, Scott Kostyshak was interested in unit tests. For me working with unit tests is the most simple way to fix a bug, as I only need to focus on the iussue, without running the rest of the system. As a proof of concept I testet the googletest framework today. It is controlled by cmake. I thin

Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Jean-Marc Lasgouttes
Le 28/04/2013 20:28, Kornel Benko a écrit : Unfortunately it looks the same in both cases. And it is independent of if I use the mouse-wheel or the scroll-bar to navigate. I get the same with page-down. JMarc

Re: Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Kornel Benko
Am Sonntag, 28. April 2013 um 13:49:33, schrieb Richard Heck > > > Empty iterators. Does not look good. > > > > > > > > > > Do you have cursor follows scrollbar set? > > > > > > > > > > Richard > > > > Yes, I have. > > > > I will guess that this is part of the problem. Can you check that? > > Th

Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Richard Heck
On 04/28/2013 01:19 PM, Kornel Benko wrote: Am Sonntag, 28. April 2013 um 13:12:20, schrieb Richard Heck > > Both "cit", "end" and "start" also show > > > > (gdb) p cit > > > > $2 = { > > > > _M_current = 0x0 > > > > } > > > > (gdb) p end > > > > $3 = { > > > > _M_current = 0x0

Re: Re: UserGuide can no longer be opened by LyX 2.1git

2013-04-28 Thread Kornel Benko
Am Sonntag, 28. April 2013 um 18:22:37, schrieb Uwe Stöhr > Am 27.04.2013 21:56, schrieb Kornel Benko: > > Am Samstag, 27. April 2013 um 21:41:12, schrieb Uwe Stöhr > >> I just noticed that during the last 7 days a serious bug was introduced: > >> http://www.lyx.org/trac/ticket/8644 > > This see

Re: Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Kornel Benko
Am Sonntag, 28. April 2013 um 13:12:20, schrieb Richard Heck > > Both "cit", "end" and "start" also show > > > > (gdb) p cit > > > > $2 = { > > > > _M_current = 0x0 > > > > } > > > > (gdb) p end > > > > $3 = { > > > > _M_current = 0x0 > > > > } > > > > (gdb) p start > > > > $4 = 0 > > > > Empty i

Re: Crash on cutting on Windows

2013-04-28 Thread Richard Heck
On 04/28/2013 01:10 PM, Vincent van Ravesteijn wrote: Op 28-4-2013 19:00, Richard Heck schreef: As things are, we actually do need to mark it as exporting, because otherwise we do not collect the right information during updateMacros. Some of the logic here could be changed, but there are o

Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Richard Heck
On 04/28/2013 07:11 AM, Kornel Benko wrote: Am Sonntag, 28. April 2013 um 13:01:26, schrieb Jean-Marc Lasgouttes > Le 28/04/13 09:49, Kornel Benko a écrit : > > Scrolling UserGuide.lyx with the mouse-wheel leads to: > > > > ... > > > > Paragraph.cpp (1858): Paragraph::fontSpan: position

Re: Crash on cutting on Windows

2013-04-28 Thread Vincent van Ravesteijn
Op 28-4-2013 19:00, Richard Heck schreef: As things are, we actually do need to mark it as exporting, because otherwise we do not collect the right information during updateMacros. Some of the logic here could be changed, but there are other places we want to know if we are doing an export,

Re: [LyX master] Strings as parameters to LASSERT should not be translatable. But empty strings are even worse.

2013-04-28 Thread Richard Heck
On 04/28/2013 12:58 PM, Kornel Benko wrote: Am Sonntag, 28. April 2013 um 12:08:21, schrieb Richard Heck > > src/support/lassert.cpp (No need for N_, if there is from_ascii already) > > > > ...from_ascii(N_("Assertion %1$s violated in\nfile: %2$s, line: %3$s")); > > > > ...from_asci

Re: Crash on cutting on Windows

2013-04-28 Thread Richard Heck
On 04/28/2013 12:29 PM, Vincent van Ravesteijn wrote: Op 28-4-2013 18:13, Richard Heck schreef: On 04/28/2013 10:25 AM, Vincent van Ravesteijn wrote: Commit db358a (Richard Heck; Fix bug found by Scott concerning copying XHTML to clipboard) introduces a bug that crashes LyX when something is c

Re: Re: [LyX master] Strings as parameters to LASSERT should not be translatable. But empty strings are even worse.

2013-04-28 Thread Kornel Benko
Am Sonntag, 28. April 2013 um 12:08:21, schrieb Richard Heck > > ... B_("Unknown") > > > > That one is correct, as it is actually part of the code to be executed > in release mode: It sets the label to "Unknown". The same should be true > of other cases. The LWARNIF, LBUFERR, and LAPPERR macros

Re: Crash on cutting on Windows

2013-04-28 Thread Vincent van Ravesteijn
Op 28-4-2013 18:13, Richard Heck schreef: On 04/28/2013 10:25 AM, Vincent van Ravesteijn wrote: Commit db358a (Richard Heck; Fix bug found by Scott concerning copying XHTML to clipboard) introduces a bug that crashes LyX when something is cut the second time. Since commit 928dc0332 (Georg Bau

Re: UserGuide can no longer be opened by LyX 2.1git

2013-04-28 Thread Uwe Stöhr
Am 27.04.2013 21:56, schrieb Kornel Benko: Am Samstag, 27. April 2013 um 21:41:12, schrieb Uwe Stöhr I just noticed that during the last 7 days a serious bug was introduced: http://www.lyx.org/trac/ticket/8644 This seems to be fixed by Richard's yesterday's changes. I get crash there if scr

Re: Crash on cutting on Windows

2013-04-28 Thread Richard Heck
On 04/28/2013 10:25 AM, Vincent van Ravesteijn wrote: Commit db358a (Richard Heck; Fix bug found by Scott concerning copying XHTML to clipboard) introduces a bug that crashes LyX when something is cut the second time. Since commit 928dc0332 (Georg Baum; Fic crash for repeated pasting from com

Re: Can't compile lyx-outline

2013-04-28 Thread Stephan Witt
Am 28.04.2013 um 17:53 schrieb Stephan Witt : > Am 26.04.2013 um 19:21 schrieb Kornel Benko : > >> Am Freitag, 26. April 2013 um 12:00:17, schrieb Ashley Shan >> >>> >>> I ran CMake again and it said uic, moc, and rcc not found. So I installed >>> Macports, installed qt4-mac (I tried to instal

Re: [LyX master] Strings as parameters to LASSERT should not be translatable. But empty strings are even worse.

2013-04-28 Thread Richard Heck
On 04/28/2013 02:55 AM, Kornel Benko wrote: Am Samstag, 27. April 2013 um 17:24:02, schrieb Richard Heck > On 04/27/2013 03:15 PM, Kornel Benko wrote: > > The branch, master, has been updated. > > > > - Log - > > > > comm

Re: Recommended robust configuration for Chinese support

2013-04-28 Thread Hörmetjan Yiltiz
The recommendatios in this official wiki http://wiki.lyx.org/LyX/Chinese worked like magic (as it should have been) and a method described by yihui at yihui.name/cn also worked. But they both cannot build if using with apa style, saying unknown \uXXX uft8 char issues. What environment issues do I

Re: Can't compile lyx-outline

2013-04-28 Thread Stephan Witt
Am 26.04.2013 um 19:21 schrieb Kornel Benko : > Am Freitag, 26. April 2013 um 12:00:17, schrieb Ashley Shan > > > > > I ran CMake again and it said uic, moc, and rcc not found. So I installed > > Macports, installed qt4-mac (I tried to install qt4-mac-devel, but it said > > "this port has been

Crash on cutting on Windows

2013-04-28 Thread Vincent van Ravesteijn
Commit db358a (Richard Heck; Fix bug found by Scott concerning copying XHTML to clipboard) introduces a bug that crashes LyX when something is cut the second time. Since commit 928dc0332 (Georg Baum; Fic crash for repeated pasting from complex docs) LyX crashes immediately on every cut. Vinc

Re: Recommended robust configuration for Chinese support

2013-04-28 Thread Vincent van Ravesteijn
Op 3-4-2013 14:21, Hörmetjan Yiltiz schreef: Hi there! I am wring from Beijing, China. I found LyX very pleasing software, and used it myself for quite a long time, but still its support for writing Chinese is too frustrating, encountering some unknown bugs or failing to compile the pdf while

GSoC: Advanced Find and Replace Questions

2013-04-28 Thread Albus X
Hello everyone, I am interested in GSoC 2013 and particularly the "Advanced find and replace" project. Before I start, I had a try with the current version, and want to ask some questions. I read the corresponding sections in the user guide, and tried to find some math using regular expressions.

Re: Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Kornel Benko
Am Sonntag, 28. April 2013 um 13:01:26, schrieb Jean-Marc Lasgouttes > Le 28/04/13 09:49, Kornel Benko a écrit : > > Scrolling UserGuide.lyx with the mouse-wheel leads to: > > > > ... > > > > Paragraph.cpp (1858): Paragraph::fontSpan: position not found in > > fontinfo table! > > It looks like t

Re: patch for scrolling issue - LyXscrollpatch20130302.diff (1/1) - LyXscrollpatch20130421.diff (1/1) - LyXscrollpatch20130427.diff (1/1)

2013-04-28 Thread pdv
In article <5178e9fc.6040...@lyx.org>, Jean-Marc Lasgouttes wrote: > 24/04/2013 21:41, pdv: > >> Why do you add 0x61 to the values? > > > > That's just for easy reading when looking at what exactly gets written > > to the map; In this way the codes are a, b, c ... > > That makes sense. > > >>

Re: crash on scrolling UserGuide.lyx

2013-04-28 Thread Jean-Marc Lasgouttes
Le 28/04/13 09:49, Kornel Benko a écrit : Scrolling UserGuide.lyx with the mouse-wheel leads to: ... Paragraph.cpp (1858): Paragraph::fontSpan: position not found in fontinfo table! It looks like the assertion found something this time. I will not have the time to look at it today. If it is

crash on scrolling UserGuide.lyx

2013-04-28 Thread Kornel Benko
Scrolling UserGuide.lyx with the mouse-wheel leads to: ... Paragraph.cpp (1858): Paragraph::fontSpan: position not found in fontinfo table! support/lassert.cpp (43): ASSERTION false VIOLATED IN /usr/src/lyx/lyx-git/src/Paragraph.cpp:1859 Assertion triggered in void lyx::doAssert(const char*, const