[PATCH] Use new T not new T()

2012-10-25 Thread Lars Gullik Bjønnes
--- src/Buffer.cpp| 4 ++-- src/LyX.cpp | 8 src/WordList.cpp | 2 +- src/frontends/qt4/GuiApplication.cpp | 4 ++-- src/frontends/qt4/GuiClipboard.cpp| 2 +- src/frontends/qt4/GuiProgressView.cpp | 2 +- src/fron

[PATCH 3/3] Use empty() to check empty and non-empty'ness not size()

2012-10-25 Thread Lars Gullik Bjønnes
Also add FormatList::empty(). --- src/BiblioInfo.cpp | 8 +++--- src/Cursor.cpp | 4 +-- src/Format.h | 2 ++ src/KeySequence.cpp | 3 +- src/Paragraph.cpp| 4 +-- src/client/client.cpp| 10 +++ s

[PATCH 2/3] WS cleanup, remove extraeneous spaces

2012-10-25 Thread Lars Gullik Bjønnes
--- src/BufferParams.h | 2 +- src/CutAndPaste.cpp | 2 +- src/LyX.h | 3 +-- src/graphics/GraphicsLoader.cpp | 5 ++--- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/BufferParams.h b/src/BufferParams.h index 306e5bc..98f79a5 1006

[PATCH 1/3] Buffer.cpp: drop unused

2012-10-25 Thread Lars Gullik Bjønnes
--- src/Buffer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 8b052ad..ebc5d3a 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -113,7 +113,6 @@ #include #include #include -#include #include using namespace std; -- 1.8.0

Re: Commercial support for LyX?

2012-10-25 Thread Alessandro Di Federico
On Sun, 2012-10-21 at 20:43 -0600, Rob Oakes wrote: > Very interesting idea. Out of curiosity, do we have any idea how big > LyX's user base really is? The other day I saw someone using it to > take > notes in a class, and I was elated. It's the first time I've seen > someone using it "in the wild"

Re: LyX functions for bibliography managers

2012-10-25 Thread Richard Heck
On 10/25/2012 02:43 PM, Benjamin Piwowarski wrote: Hi, could I have at least some feedback on the patch - I know it is not finished yet (at least for part 5), so it would be good to validate (and maybe commit) parts 1-4. I'll try to have a look this weekend. Just very busy. rh Many thanks

Re: LyX functions for bibliography managers

2012-10-25 Thread Benjamin Piwowarski
Hi, could I have at least some feedback on the patch - I know it is not finished yet (at least for part 5), so it would be good to validate (and maybe commit) parts 1-4. Many thanks Benjamin On 11 Oct 2012, at 16:51, Benjamin Piwowarski wrote: > Hi, > > I decomposed the patch in 5 steps: >

Re: [PATCH] Fix importation of noweb files with tex2lyx

2012-10-25 Thread Kayvan Sylvan
I think Scrap comes from nuweb (which I used to use for some time as well): http://www.cs.tufts.edu/~nr/noweb/nuweb.html On Thu, Oct 25, 2012 at 1:24 AM, Gregor Gorjanc wrote: > Hi, > > On 25 October 2012 06:33, Yihui Xie wrote: > >> Gregor may know the history of "Scrap"; that term has been th

Re: [PATCH 10/13] More idiomatic way of checking if a shared_ptr has an associated managed object

2012-10-25 Thread Jean-Marc Lasgouttes
Le 25/10/2012 12:14, Lars Gullik Bjønnes a écrit : lar...@gullik.org (Lars Gullik Bjønnes) writes: Ok for me to commit this? Yes. JMarc

Re: [PATCH 10/13] More idiomatic way of checking if a shared_ptr has an associated managed object

2012-10-25 Thread Lars Gullik Bjønnes
lar...@gullik.org (Lars Gullik Bjønnes) writes: Ok for me to commit this? | --- | src/KeyMap.cpp | 17 - | src/frontends/qt4/LayoutBox.cpp| 4 ++-- | src/graphics/GraphicsCacheItem.cpp | 2 +- | src/graphics/GraphicsLoader.cpp| 22 +++

Re: [PATCH] Fix importation of noweb files with tex2lyx

2012-10-25 Thread Gregor Gorjanc
Hi, On 25 October 2012 06:33, Yihui Xie wrote: > Gregor may know the history of "Scrap"; that term has been there ever > since I started using LyX/Sweave, and I never know how it came in. > > Noweb is only one of the implementations of literate programming (to > beat Knuth's WEB), so I guess "li

Re: google app for lyx?

2012-10-25 Thread Liviu Andronic
On Thu, Oct 25, 2012 at 7:57 AM, xPol wrote: > I am thinking about the possibilty to retrive lyx file from google > repository (so called 'drive'), pass it to lyx on my station, edit and > save the modified file then upload to google drive as a new version. > (google drive manages doc versions). >

Re: [PATCH] Fix importation of noweb files with tex2lyx

2012-10-25 Thread Jean-Marc Lasgouttes
Le 25/10/12 06:33, Yihui Xie a écrit : Gregor may know the history of "Scrap"; that term has been there ever since I started using LyX/Sweave, and I never know how it came in. It is the name used for noweb support, but I cannot see any reference to this term in the noweb docs. This is why I am