Re: [LyX master] Now LyX closes the current document WA only by default (other WAs remain open).

2012-09-30 Thread Tommaso Cucinotta
On 30/09/12 03:33, Richard Heck wrote: On 9/29/12 5:51 PM, Tommaso Cucinotta wrote: On 29/09/12 15:10, Richard Heck wrote: Since preferences have been changed, the preference format needs to be updated in LyXRC.cpp, and, in this case, a trivial conversion needs to be added to prefs2prefs

Re: About LyX menus usability.

2012-10-01 Thread Tommaso Cucinotta
On 01/10/12 10:04, Pavel Sanda wrote: Tommaso Cucinotta wrote: -) kill the Document menu Most of the movements look like being enforced by the idea of killing Document menu. What is the rationale for it? The distinction looks clear to me - Edit deals with the actual content of the document

Re: About LyX menus usability.

2012-10-10 Thread Tommaso Cucinotta
On 02/10/12 02:57, Pavel Sanda wrote: The problem is that there are usually many diverging opinions. so it seems. It might be better to make more brief Insert than dissolve Document into Edit/Insert. ok, for what it matters, a few less disruptive proposals: -) aggregate insertion of

Re: About LyX menus usability.

2012-10-12 Thread Tommaso Cucinotta
On 30/09/12 00:17, Tommaso Cucinotta wrote: Let me propose to rework the menus arrangement: -) move Outline from Document to View menu e.g.: bug #7603 T.

Re: About LyX menus usability.

2012-10-13 Thread Tommaso Cucinotta
. Absolutely +1. Right thing to do. So, one first step might be the attached one ? T. commit dd83503 Author: Tommaso Cucinotta tomm...@lyx.org Date: Sat Oct 13 19:34:16 2012 +0100 Moved Outline to View menu, and rendering options (dvi,pdf,...) to Document menu. diff --git a/lib/ui/stdmenus.inc

Re: About LyX menus usability.

2012-10-13 Thread Tommaso Cucinotta
On 13/10/12 19:38, Tommaso Cucinotta wrote: On 13/10/12 10:42, Jean-Marc Lasgouttes wrote: I also agree that moving document view/update to Document makes sense: they do not fit the definition above. I think we should proceed in a quasi-reversible fashion: do small uncontroversial changes

Re: About LyX menus usability.

2012-10-16 Thread Tommaso Cucinotta
On 15/10/12 21:41, Andrew Parsloe wrote: The New Oxf. Dict. gives the familiar computer usage against pane and no such use against panel (but my copy of the dictionary dates from the 1990s). This suggests (but not strongly) that pane should be used. Pushed a couple of commits, let's see how

Re: About LyX menus usability.

2012-10-16 Thread Tommaso Cucinotta
On 13/10/12 10:42, Jean-Marc Lasgouttes wrote: Messages should be renamed message pane (panel?) so it is now (pane) LaTeX source = LaTeX Source Pane it doesn't show merely latex (even though it might be considered the main functionality), but also various other formats, which, ehm,

Re: About LyX menus usability.

2012-10-16 Thread Tommaso Cucinotta
On 11/10/12 17:48, Jürgen Spitzmüller wrote: 2012/10/11 Pavel Sanda sa...@lyx.org: Tommaso Cucinotta wrote: -) move Marginal note (and Footnote ?) to Insert-Note sub-menu Footnote to submenu? No please (this is a too important feature). So, the footnote seems critical and everyone wants

Re: About LyX menus usability.

2012-10-17 Thread Tommaso Cucinotta
On 17/10/12 11:26, Jürgen Spitzmüller wrote: Marginal notes and footnotes are conceptually different to the LyX notes, despite the similar name. LyX notes are rather editiorial tools (adressed at the author/editor; except for greyed out maybe, which is a problematic case in itself). Footnotes,

Re: About LyX menus usability.

2012-10-17 Thread Tommaso Cucinotta
On 09/10/12 14:44, Charles de Miramon wrote: Like Pavel, I find the Insert menu too long. Maybe, everything that relates to the life cycle of the document (annotations, branches) could go into 'Document' Do you mean: moving Insert-Branch to document ? AFAIU, it's really a local edit, so it

Re: About LyX menus usability.

2012-10-17 Thread Tommaso Cucinotta
On 17/10/12 23:19, Tommaso Cucinotta wrote: On 17/10/12 11:26, Jürgen Spitzmüller wrote: For my lectures, I use marginal notes quite a lot, and I would be quite annoyed if they wouldn't be easily reachable anymore (via Alt+E+R in my German l7n currently). Further alternative/proposal: what

LYX_USE_TR1_REGEX ?

2012-11-04 Thread Tommaso Cucinotta
Hi, what is the intended purpose of the LYX_USE_TR1_REGEX macro, in LyX sources ? Is it safe to assume that lyx::regex relies on boost regular expressions ? If not, then is there any objection if I refer directly to boost::regex within lyxfind.cpp ? Thanks, T.

Re: Branch Re-Opened

2012-11-10 Thread Tommaso Cucinotta
On 10/11/12 20:44, Richard Heck wrote: Branch is open again for 2.0.6 development. I'll do the actual 2.0.5 release tomorrow, hopefully. I'm having difficulty reaching our ftp server at the moment I just get this when launching on master: $ ./src/lyx Got bus address:

Re: Branch Re-Opened

2012-11-11 Thread Tommaso Cucinotta
On 11/11/12 01:46, Scott Kostyshak wrote: I just get this when launching on master: $ ./src/lyx Got bus address: unix:abstract=/tmp/dbus-9x05h7gPFB,guid=2e8db5cb46a300a416e1362f509ee4ba Connected to accessibility bus at: unix:abstract=/tmp/dbus-9x05h7gPFB,guid=2e8db5cb46a300a416e1362f509ee4ba

Re: an idea to improve lyx

2012-12-07 Thread Tommaso Cucinotta
On 06/12/12 22:20, bruno rigal wrote: There is the same problem with the backslash in conventional latex and there is a command for that: \textbackslash. Then there are some stuff that I couldn't do with alt P. For exemple inserting numbered equations (which I do a lot as a physicist). And

branch segfaults on start

2012-12-09 Thread Tommaso Cucinotta
Hi, I just configured branch as follows (Ubuntu 12.10): ./configure '--prefix=/usr/local/lyx-branch' '--with-version-suffix=-branch' '--enable-debug' '--enable-stdlib-debug' '--enable-threads' '--without-included-boost' '--enable-dynamic' and the outcome was this: $ ./src/lyx terminate

Re: Export-to fails for xhtml

2012-12-10 Thread Tommaso Cucinotta
On 10/12/12 15:16, Kornel Benko wrote: triggers a crash. Confirmed. Let me have a look. T.

Re: Export-to fails for xhtml

2012-12-10 Thread Tommaso Cucinotta
On 10/12/12 21:11, Tommaso Cucinotta wrote: On 10/12/12 15:16, Kornel Benko wrote: triggers a crash. Confirmed. Let me have a look. The problem is that it crashes here: ColorCode const bg = buffer_.isExporting() ? Color_white : PreviewLoader::backgroundColor

Re: Export-to fails for xhtml

2012-12-10 Thread Tommaso Cucinotta
On 10/12/12 21:46, Tommaso Cucinotta wrote: when exporting from the command-line, theApp() doesn't exist. Any possible/meaningful replacement for these hexName() call ? Just came across the attached solution that seems better. Any comment ? Objections to commit ? Don't know why I had to add

Re: Export-to fails for xhtml

2012-12-10 Thread Tommaso Cucinotta
On 10/12/12 22:25, Richard Heck wrote: On 12/10/2012 05:16 PM, Tommaso Cucinotta wrote: On 10/12/12 21:46, Tommaso Cucinotta wrote: when exporting from the command-line, theApp() doesn't exist. Any possible/meaningful replacement for these hexName() call ? Just came across the attached

Re: Export-to fails for xhtml

2012-12-11 Thread Tommaso Cucinotta
On 11/12/12 00:47, Pavel Sanda wrote: Tommaso Cucinotta wrote: Don't know why I had to add QtGui/ in a couple of includes in ColorCache.h. Different CPPFLAGS are provided for the objects in graphics/ and What Qt version do you use, what build system (autotools/cmake, merged build?) I use

Re: Where to use qt4 (Re: Export-to fails for xhtml)

2012-12-11 Thread Tommaso Cucinotta
On 11/12/12 14:57, Abdelrazak Younes wrote: Ah... a flameware just in time before Christmas! :-P [...] And of course we should get rid of frontend/* (not qt4) and use signal/slot connection for communication with the core (src/). I see, it seems we opened a Pandora box here. Well, if any Xmas

Re: Export-to fails for xhtml

2012-12-11 Thread Tommaso Cucinotta
On 11/12/12 14:08, Jean-Marc Lasgouttes wrote: Le 11/12/2012 10:12, Tommaso Cucinotta a écrit : Yes, everything compiles fine. Also ColorCache.h was not giving any trouble, till I included it in graphics/PreviewLoader.cpp, because then gcc complained it cannot find QColor nor QPalette (and I

Re: autotests with cmake

2012-12-11 Thread Tommaso Cucinotta
On 11/12/12 11:36, Kornel Benko wrote: Hi, I am trying to make autotests run under cmake. So far I made some progress. Hi, good to hear. As a start, do you know whether invoking these tests by the normal: ./run-tests.sh findadv-06-in.txt works ? Also, please, check the README file in

Re: Where to use qt4 (Re: Export-to fails for xhtml)

2012-12-12 Thread Tommaso Cucinotta
On 12/12/12 10:20, Jean-Marc Lasgouttes wrote: Le 12/12/2012 01:13, Tommaso Cucinotta a écrit : I see, it seems we opened a Pandora box here. Well, if any Xmas presents come out of it, then it's not too bad :-). However, so far, it seems only a lot of work with likely disruption

Re: Where to use qt4 (Re: Export-to fails for xhtml)

2012-12-12 Thread Tommaso Cucinotta
On 12/12/12 19:40, Tommaso Cucinotta wrote: On 12/12/12 10:20, Jean-Marc Lasgouttes wrote: Le 12/12/2012 01:13, Tommaso Cucinotta a écrit : I see, it seems we opened a Pandora box here. Well, if any Xmas presents come out of it, then it's not too bad :-). However, so far, it seems only a lot

Re: [LyX 2.0.x] While exporting from the command-line, theApp() doesn't exist. It was only needed for getting hex names of colors. So, get them directly from a ColorCache object with default mapping.

2012-12-13 Thread Tommaso Cucinotta
On 13/12/12 01:51, Richard Heck wrote: Need status.20x for this. [64f57912/lyxgit] T.

Re: Branch does not compile (autotools)

2012-12-14 Thread Tommaso Cucinotta
On 14/12/12 08:29, Jürgen Spitzmüller wrote: In file included from graphics/PreviewLoader.cpp:11:0: ../config.h:628:0: note: this is the location of the previous definition In file included from graphics/PreviewLoader.cpp:30:0: ./frontends/qt4/ColorCache.h:17:18: fatal error: QColor: File or

Re: autotests

2012-12-14 Thread Tommaso Cucinotta
On 13/12/12 12:33, Kornel Benko wrote: Checking findadv-08-in.txt (Shouldn't we better create 3 logs here?) That's possible/useful, sure. Feel free to apply modifications. This is one of a few test cases where I had to increase the typing delay (KD: 200). I just verified that commenting out

Re: Tests

2012-12-14 Thread Tommaso Cucinotta
On 14/12/12 23:27, Kornel Benko wrote: Hi, in case someone is interested, there are now 65 tests in lyx. Hmmm, interesting number. It could be useful to be able to launch them in parallel on a multi-core, to speed up testing :-). (especially the export tests are particularly tedious to wait

Re: testing in LyX development

2013-01-24 Thread Tommaso Cucinotta
On 09/01/13 09:12, Scott Kostyshak wrote: There are however two other areas that could be tested quite easily: a) Export of .lyx documents (to .tex, .html, whatever) b) lyx2lyx In both cases you would have a set of input files, and compare the generated output with a reference. I bet that

Re: Why are export tests autotests?

2013-01-24 Thread Tommaso Cucinotta
On 22/01/13 08:02, Scott Kostyshak wrote: On Mon, Jan 21, 2013 at 2:59 AM, Kornel Benko kor...@lyx.org wrote: I guess we should wait to hear from Tommaso. There is probably a good reason why things are how they are. u trust me too much guys :-)! that was just to hide that ugly stuff that

Re: [PATCH] Add an autotest for a trunk regression (#8482)

2013-01-24 Thread Tommaso Cucinotta
On 04/01/13 23:16, Scott Kostyshak wrote: The attached patch adds an autotest for a current regression in trunk (#8482). Any comments? it passed on my system. T.

Re: autotests

2013-01-24 Thread Tommaso Cucinotta
On 11/01/13 09:48, Scott Kostyshak wrote: I guess we should wait for Tommaso. FYI [1]. Perhaps, if you're playing with these tests, you may have needed to stop them via the GUI button. Now, that doesn't really work too well, and often we have stale lyx processes / .sh/python scripts running

Re: [PATCH] Add an autotest for #8523 (but how can I get a path for a helper lyx file?)

2013-01-24 Thread Tommaso Cucinotta
On 24/01/13 04:42, Scott Kostyshak wrote: I am trying to add an autotest for #8523, but how can I open a .lyx file that I need to reproduce the crash? Two solutions come to mind: 1. Allow for a macro [autotest-dir] that key-test.py will replace with the autotest directory. As of now,

Re: Pause in an autotest?

2013-01-24 Thread Tommaso Cucinotta
On 24/01/13 15:46, Scott Kostyshak wrote: That works perfectly. Thanks. From hello-world-in.txt :-): # Sleep f # Single delay of f seconds. T.

Re: testing in LyX development

2013-01-24 Thread Tommaso Cucinotta
On 07/01/13 21:48, Scott Kostyshak wrote: I'm curious about is why there are so few tests for LyX. In particular, I'm interested in the following two questions: let's try the funny ride... :-) 1) Why don't you write tests? I can tell u why I wrote a few: after a tiny change in the logic

Re: Why are export tests autotests?

2013-01-24 Thread Tommaso Cucinotta
On 25/01/13 02:01, Scott Kostyshak wrote: And I still can't get the tests to run under autotools. what problems were u experiencing ? T.

Re: Why are export tests autotests?

2013-01-24 Thread Tommaso Cucinotta
On 25/01/13 02:01, Scott Kostyshak wrote: Ah, I had not noticed that. This is good to know. (I just re-read the README and this information is in there so I should have known this. Great job on the README by the way). Probably it lacks to say that some IT locale pkg is needed for some of the

Re: autotests

2013-01-25 Thread Tommaso Cucinotta
On 25/01/13 08:32, Kornel Benko wrote: On CMake, there is no button. The good thing is that it's very easy to stop the test with ctrl+C. Perhaps the bad thing is that this is why some tests are failing? I'm not sure. When running run-tests.sh, the focus stays all time on the LyX window

Re: Exporting with '-E latex' command line switch

2013-04-01 Thread Tommaso Cucinotta
On 06/03/13 11:08, Kornel Benko wrote: Lyx branch master, trunk: There still is the error in exporting doc/de/UserGuide.lyx to e.g. luatex This file includes (with \includegraphics) '../../images/something', the created UserGuide.tex references '../../images/something', but the created

Re: advanced search (slowness and memory usage)

2013-04-03 Thread Tommaso Cucinotta
On 11/03/13 11:22, Kornel Benko wrote: Hi, advanced search in my document (for a non-existent string on all opened documents): takes 227 seconds. Moreover, at the end of search (dialog asking to start over) eats so much memory ( 4GB), that my computer starts to using swap disk. Hi, I

Re: Regular expression for non-ascii chars, advanced search

2013-04-03 Thread Tommaso Cucinotta
On 02/04/13 10:28, Jean-Marc Lasgouttes wrote: I am not sure if it has anything to do with utf8. The expanded string looks like it is expanded for LaTeX. This looks quite wrong to me in context of searching. Why is this done? This is how advanced search works. Confirm. This is how the

Re: Advanced search slowness

2013-04-03 Thread Tommaso Cucinotta
On 31/03/13 12:38, Kornel Benko wrote: Tommaso is ATM not very responsive. I am pretty confident, That I have a patch, which does not affect any other parts of advanced search. Hi, I can run all of the findadv tests to check whether the patch broke anything. That's even easier than entering

GIT::findFile() fix

2013-04-03 Thread Tommaso Cucinotta
Hi, I just noticed that GIT::findFile() doesn't seem to work, namely if I open with git any file within the lyx sources tree, it always asks me whether I want to retrieve the file from the VCS (which in turn causes all test cases in autotests to fail, but it's unimportant now). I noticed the

Re: Regular expression for non-ascii chars, advanced search

2013-04-03 Thread Tommaso Cucinotta
I cannot enter those chars on my keyboard. Can u provide a sample lyx file where I can search and see the problem ? T. On 03/04/13 22:40, Kornel Benko wrote: Am Mittwoch, 3. April 2013 um 20:28:59, schrieb Tommaso Cucinotta tomm...@lyx.org On 02/04/13 10:28, Jean-Marc Lasgouttes

Re: Advanced search slowness

2013-04-03 Thread Tommaso Cucinotta
On 03/04/13 22:29, Kornel Benko wrote: Am Mittwoch, 3. April 2013 um 20:32:22, schrieb Tommaso Cucinotta tomm...@lyx.org I can run all of the findadv tests to check whether the patch broke anything. That's even easier than entering with my head back into that spaghetti code :-). I run

Re: GIT::findFile() fix

2013-04-03 Thread Tommaso Cucinotta
On 04/04/13 00:31, Pavel Sanda wrote: tommaso@mobiletom:~/lyx-trunk-ws/lyx/development/autotests$ git status hello-world-in.txt # On branch master nothing to commit (working directory clean) tommaso@mobiletom:~/lyx-trunk-ws/lyx/development/autotests$ git status non-existent.txt # On

Re: GIT::findFile() fix

2013-04-04 Thread Tommaso Cucinotta
On 04/04/13 00:57, Pavel Sanda wrote: File !exists we are in repo (more exactly within dir structure where .git can be found in ancestors) - we offer to check it out from archive (your bug) File !exists we are not in repo - just create new file I work a lot creating new files locally in a

Re: GIT::findFile() fix

2013-04-05 Thread Tommaso Cucinotta
On 04/04/13 20:09, Georg Baum wrote: This is a feature that did only work for RCS for a long time, and which I extended to the other VCS as well recently: If you try to open a file, and the file does not exist locally, and you are in a tree which is under version control, and the file

Re: GIT::findFile() fix

2013-04-05 Thread Tommaso Cucinotta
On 04/04/13 21:35, Pavel Sanda wrote: Georg Baum wrote: case a file does not exist in git, but this is not an error here. Do you know whether this behaviour (output something on stdout only if the file is know) is as stable as the --porcelain optin for other commands? From stability point

Re: GIT::findFile() fix

2013-04-06 Thread Tommaso Cucinotta
On 06/04/13 05:29, Pavel Sanda wrote: Tommaso Cucinotta wrote: Does it seem ok ? Haven't tested but looks fine now. Pavel . It's in: [26dd4d0c/lyxgit]. T.

Re: Regular expression for non-ascii chars, advanced search

2013-04-06 Thread Tommaso Cucinotta
On 03/04/13 22:40, Kornel Benko wrote: I want to find (as regular expression) the string použiť. In tex, it looks použi\v{t}. But the searched string (as it is diplayed while filling the search form) it is \regexp{pou\check{z} it\mkern-5mu\mathchar19\endregexp{}}. Ok, I could reproduce

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-06 Thread Tommaso Cucinotta
On 06/04/13 21:33, Pavel Sanda wrote: Tommaso Cucinotta wrote: commit 26dd4d0c15b438543eaa9bab14cab748b3299bc9 Author: Tommaso Cucinotta tomm...@lyx.org Date: Sat Apr 6 16:12:06 2013 +0100 Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-06 Thread Tommaso Cucinotta
On 07/04/13 00:35, Tommaso Cucinotta wrote: when creating new file. How did u get such message ? Pls, detail. Actually, I've seen it happening, but not when creating a new file. Rather, when opening an existing file NOT on git repo, but from a CWD WITHIN a GIT repo. Shortly, I think it's

Re: Regular expression for non-ascii chars, advanced search

2013-04-06 Thread Tommaso Cucinotta
On 06/04/13 20:04, Kornel Benko wrote: However, when the regexp contains non-ASCII chars, then it's misinterpreted in the text conversion. I suspect it's due to the fact that the regexp inset has been essentially derived from a math inset, so it's not expecting any non-ASCII stuff therein, and

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-07 Thread Tommaso Cucinotta
On 07/04/13 03:55, Pavel Sanda wrote: and major glitch that docs under .git are no more recognized, eg. try to load any manual in trunk. You entered minefield Tommaso :) I don't know, it seems all OK here, when loading manuals. For example: -) Try non-existent file on FS, existing on repo,

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-07 Thread Tommaso Cucinotta
On 07/04/13 17:30, Kornel Benko wrote: Am Sonntag, 7. April 2013 um 09:00:47, schrieb Pavel Sanda sa...@lyx.org Kornel Benko wrote: What's the scenario causing the further problem ? Forget about obtaining from repo for a moment. Just try src/lyx lib/doc/UserGuide.lyx. Do you see LyX

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-07 Thread Tommaso Cucinotta
On 07/04/13 12:27, Kornel Benko wrote: For svn, I get error message on the console, but no dialog window. (... svn info ... finished with exit code 1) Apart from the message, no problems. I'm seeing this annoyance as well. So, I just tried to add a + 2 /dev/null, or + 2 + os::nulldev(), as

Suppressing stdout/stderr in Systemcall (was: Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.)

2013-04-07 Thread Tommaso Cucinotta
On 07/04/13 20:41, Tommaso Cucinotta wrote: they are fed to SystemcallPrivate() which elegantly ignores the stderr file: if (err_file_ != os::nulldev()) { printf(Calling QProcess::setStandardErrorFile(\%s\)\n, err_file_.c_str

Re: Suppressing stdout/stderr in Systemcall

2013-04-07 Thread Tommaso Cucinotta
On 07/04/13 21:24, Scott Kostyshak wrote: Is this related to my confusion here: http://comments.gmane.org/gmane.editors.lyx.devel/144491 ? At a glance, I think so: LaTeX::startscript() calls Systemcall::startscript(), and now there are 2 implementations. I'm referring to the one being used

Re: Regular expression for non-ascii chars, advanced search

2013-04-07 Thread Tommaso Cucinotta
On 07/04/13 09:34, Kornel Benko wrote: Am Sonntag, 7. April 2013 um 01:36:52, schrieb Tommaso Cucinotta tomm...@lyx.org I came up with this trivial patch for the kind of scenario you proposed. Simply, export an regexp inset using the text, rather than math, encoding rules. AFAICS, one

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-07 Thread Tommaso Cucinotta
patch is attached (2 patches, actually, one to fix checkparentdirs() for SVN GIT, the other to fix GIT). Can u pls try these and see whether you can spot any problem now ? Thx, T. commit 5f62e189 Author: Tommaso Cucinotta tomm...@lyx.org Date: Sun Apr 7 23:52:39 2013 +0100 Replacing

Re: [LyX – The Document Processor] Your organization application has been accepted.

2013-04-08 Thread Tommaso Cucinotta
I suggest to re-send to both LyX lists with a title that doesn't look like spam (I was really about to delete w/out opening) :-), possibly highlighting GSoC! Congrats to all those who invested effort in yet another try with big G! T. On 08/04/13 20:17, Liviu Andronic wrote: Dear all,

Re: GIT::findFile() fix

2013-04-08 Thread Tommaso Cucinotta
On 04/04/13 03:03, Nico Williams wrote: On Apr 3, 2013 6:58 PM, Pavel Sanda sa...@lyx.org mailto:sa...@lyx.org wrote: Perhaps we can drop this check-out behaviour if it makes troubles, wait for Georg's opinion. There is also still the problem that we run GIT::find_file 2x IIRC. I'm

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-09 Thread Tommaso Cucinotta
On 09/04/13 00:24, Pavel Sanda wrote: Tommaso Cucinotta wrote: Yes, but the problem is that the ::findFile() machinery is called twice Which is a mistake, we used to call it only once. Unfortuntaly both me and Georg is short of time so it will perhaps take some time to address all the mess

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-10 Thread Tommaso Cucinotta
On 10/04/13 00:26, Nico Williams wrote: I guess I can't get you to give up on this :( Simply, the behaviour on trunk (or is it master ?), was getting in the way, I had no choice but to add 2 more bits of git to my pr knowledge of it :-). So, to find out if a path is in a workspace:

Re: Interested in contributing in some project.

2013-04-10 Thread Tommaso Cucinotta
On 10/04/13 07:38, stefano franchi wrote: (You are always free to submit your own project, of course, but the project listed have mentors already. A new project would have to find mentors first). Is it still possible that perhaps somebody may work on (Advanced) FR, as part of the GSoC'13 ? I

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-10 Thread Tommaso Cucinotta
On 10/04/13 16:16, Nico Williams wrote: On Wed, Apr 10, 2013 at 2:52 AM, Tommaso Cucinotta tomm...@lyx.org wrote: This means we're not in a workspace. It doesn't seem like that, from my exps: // both README and README.xx exist on FS tommaso@mobiletom:~/lyx-trunk-ws/lyx$ git status

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-10 Thread Tommaso Cucinotta
On 11/04/13 00:22, Pavel Sanda wrote: Tommaso Cucinotta wrote: Ok, really really wanting to use git status --porcelain, we can go for the following (but I hate it). No, we don't have to stay with git status if it's PITA. If you have time to fix stderr issue and detection via ls-files go

Re: [LyX master] Now LyX correctly asks to retrieve non-existing file from GIT repo only if the file is actually registered in repo.

2013-04-10 Thread Tommaso Cucinotta
On 10/04/13 00:26, Nico Williams wrote: But again, git ls-files seems WAY EASIER. This will tell you if a file is tracked, not whether it has unstaged or uncommitted changes. Ok, let me be sure of one thing: the usage scenario I got into, is one in which one opens a file-name with LyX:

Re: [LyX master] Avoid check mistakenly current folder for .git/.svn/.CVS, when going up the path checking for parents.

2013-04-11 Thread Tommaso Cucinotta
On 11/04/13 06:21, Stephan Witt wrote: Avoid check mistakenly current folder for .git/.svn/.CVS, when going up the path checking for parents. Why do you think it's a mistake to check the current folder for .git or .svn? It was checking the current folder from where LyX is launched, not

GSoC (further) ideas proposals (was: Re: Interested in contributing in some project.)

2013-04-11 Thread Tommaso Cucinotta
On 11/04/13 04:27, stefano franchi wrote: Bottom line: let your creative juices flow and submit ideas to the list. Sure: some of these may have been discussed on the ML in various occasions: 0) horizontal scrollbar for large pictures (something is being discussed on the list now, which is

Re: GSoC (further) ideas proposals

2013-04-11 Thread Tommaso Cucinotta
On 11/04/13 20:00, Liviu Andronic wrote: This was actually asked so many times on the list... Would you be willing to mentor? Those interested please let me know (in private, if you prefer). Regards, I'd be happy to mentor, then, one of the ideas I dropped on the list! However, do you know

Re: GSoC (further) ideas proposals

2013-04-11 Thread Tommaso Cucinotta
On 11/04/13 23:34, stefano franchi wrote: My understanding is that the formal contract will be between Lyx---represented by the admins (Liviu and myself)---and the student(s). There is no formal contract involving the mentors. Good, then there should be no problems for me to mentor.

Re: GSoC (further) ideas proposals

2013-04-12 Thread Tommaso Cucinotta
On 11/04/13 21:04, Liviu Andronic wrote: Sounds great. Would you mind registering on Google Melange? Done. I dropped a few of the proposed ideas on http://wiki.lyx.org/Devel/SummerOfCode2013Ideas#sDevel.SummerOfCode2013Ideas but of course I don't mean to mentor more than 1 project. Also,

Re: GSoC 2013: Interactive LyX

2013-04-14 Thread Tommaso Cucinotta
On 14/04/13 05:45, Marcelo Galvão Póvoa wrote: Greetings! My name is Marcelo Galvão Póvoa, a Computer Science graduate student from UNICAMP, Brazil. Hi Marcelo, welcome to LyX! As outlined by others, consider that to apply to GSoC 2013 for a project related to LyX you should follow the

Re: GSoC 2013: Interactive LyX

2013-04-15 Thread Tommaso Cucinotta
On 14/04/13 21:02, Pavel Sanda wrote: Liviu Andronic wrote: to have a LyX plugin in Pidgin, You mean for equations? P Of course, a plugin in Pidgin would seem the natural thing to do, as all the infrastructure for letting users register and find each other would already be there. However,

Re: GSOC 2013

2013-04-15 Thread Tommaso Cucinotta
On 15/04/13 15:02, parag gupta wrote: I am interested in *Project:* Advanced Find and Replace. Hi Parag, 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 where you can find how to apply to GSoC 2013

Re: hi

2013-04-19 Thread Tommaso Cucinotta
On 16/04/13 18:10, Akshay Nautiyal wrote: hello guys.I am new to this mailing list.I saw the gsoc ideas page of this organization and i am interested in the project that goes like 'LyX-enhanced Chat Client'.I have a decent experience of Qt framework and have implement a few networking

Re: GSoC 2013: Interactive LyX

2013-04-19 Thread Tommaso Cucinotta
On 17/04/13 03:36, Pavel Sanda wrote: Marcelo Galv?o Póvoa wrote: The user-finding issue is a major one. We surely would not want to connect to the other party by typing an IP/Port number. This would Well, it's the most straightforward way so we should at least allow it. I share the view

Re: GSOC 2013

2013-04-19 Thread Tommaso Cucinotta
On 18/04/13 01:46, Cyrille Artho wrote: The criteria are (in a nutshell): * Enrolled in an accredited academic institution. * Eligible to work. * Not citizen or resident of a country that is restricted from commerce with the U.S. See

Re: GSoC 2013: Interactive LyX and Google Docs

2013-04-19 Thread Tommaso Cucinotta
On 18/04/13 02:52, Vinícius dos Santos Oliveira wrote: 2013/4/17 Pavel Sanda sa...@lyx.org mailto:sa...@lyx.org so you are without server side :) the best thing would be to re-use existing server-side frameworks and protocols to vehicle LyX messages. If this is not possible, then we

Re: GSoC (further) ideas proposals

2013-04-19 Thread Tommaso Cucinotta
On 18/04/13 05:35, Liviu Andronic wrote: Tommaso should know more about this, but this specific feature is already been discussed in a different thread on lyx-devel. Feel free to join there. Yes, and please have a look at this http://www.lyx.org/trac/ticket/7964 plus scan recent messages

Re: GSoC Project : Advanced Find and Replace

2013-04-19 Thread Tommaso Cucinotta
On 18/04/13 06:10, Rajat Gupta wrote: Hello Community , I am interested in the Advanced Find and Replace project . I have done a few projects in Qt , thus quite familiar with it . I am sure i can bring upon the required changes . Please let me know, how to go about it and would be great if

Re: GSoC 2013: Interactive LyX

2013-04-19 Thread Tommaso Cucinotta
On 19/04/13 21:09, Akshay Nautiyal wrote: hello everyone, I have read the previous post but did not understand the need to use an external library when we it is actually not tough to make a mechanism to receive and parse data(document text) from scratch. it's not about using a library for

Re: GSoC 2013: Interactive LyX

2013-04-19 Thread Tommaso Cucinotta
On 17/04/13 02:09, Marcelo Galvão Póvoa wrote: Is it possible to write a Pidgin plugin that would serve as a communication channel for LyX? or perhaps checking whether it would be possible to leverage libpurple for the purpose ? A look at the Pidgin source code to see how it manages all of

Re: GSoC 2013: Interactive LyX

2013-04-20 Thread Tommaso Cucinotta
On 20/04/13 00:54, Marcelo Galvão Póvoa wrote: I checked and and it seems libpurple can handle multiple IM protocols at once, but using it directly would require creating new interfaces inside LyX for authentication, contacts list, etc. I just found a few pointers of attempts to build a Qt

Re: GSoC 2013: Interactive LyX

2013-04-20 Thread Tommaso Cucinotta
On 20/04/13 10:19, Tommaso Cucinotta wrote: As for the more challenging interactive lyx project, I'm not sure any of these pre-existing IM infrastructures are appropriate, the key issue being how long a message takes to be delivered to the destination. For IM chats, I wouldn't expect a server

Re: GSoC 2013: Interactive LyX

2013-04-21 Thread Tommaso Cucinotta
On 20/04/13 21:25, Pavel Sanda wrote: As proposed by someone else it might have even more sense to think about chat project as pidgin/... add-on than lyx feature. Yes, we might think of packing the LyX editor feature so that you can reuse it plugging it into another software, and actually I

Re: GSOC 2013

2013-04-21 Thread Tommaso Cucinotta
On 21/04/13 21:12, stefano franchi wrote: In order to participate in the program, you must be a student. Google defines a student as an individual enrolled in or accepted into an accredited institution including (but not necessarily limited to) colleges, universities, masters programs, PhD

GSoC - Smooth Scrolling

2013-04-22 Thread Tommaso Cucinotta
Hi, just as a further idea for a GSoC project, let me re-forward to the list what I had written some time ago, where I couldn't see any comment. Perhaps this has slipped out of attention, or simply it's not of interest for anyone :-). Note that I would NOT volunteer as a mentor here, but someone

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

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: 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 way

Re: #8637: crashes on quit

2013-04-29 Thread Tommaso Cucinotta
On 29/04/13 14:37, Jacob Hammer wrote: I can't reproduce this (on Windows 7, LyX2.0.5, LyX2.1git). I am using a mac, not windows. It's OS 10.8.3. Thanks Jacob for the detailed report. Unfortunately, I cannot reproduce the crash but I'm on Linux. So, my Ubuntu has a distribution LyX 2.0.3,

Re: #8637: crashes on quit

2013-04-29 Thread Tommaso Cucinotta
On 29/04/13 22:09, Stephan Witt wrote: With 2.1 git (master) and 2.0.5.1 (download) I can reproduce this on Mac. Also git ? Hmm... Does it happen when: -) searching and replacing with regular (Quick) FR ? -) searching only with Advanced FR, without replacing ? -) doing anything else with LyX,

Re: GSoC 2013: Interactive LyX

2013-04-29 Thread Tommaso Cucinotta
On 21/04/13 20:56, Pavel Sanda wrote: lyx internals, as you say, multiple Cursors, or as said in some other thread, if we should switch from index-based to ptr-based CursorSlice, etc... I'm pessimist that newcomer in the project should start substantial cursorslice refactoring. There are

Re: GSoC Project : Advanced Find and Replace

2013-04-29 Thread Tommaso Cucinotta
On 19/04/13 21:35, Tommaso Cucinotta wrote: Improving the situation may go along the lines of: A) either creating within LyX a kind of visitor interface able to recursively match insets against other insets, so that we make a sort of graph matching between the LyX text (I mean, the internal

<    4   5   6   7   8   9   10   11   12   13   >