Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 09:56, Kornel Benko wrote: >> This server seems to work. > > Correction: It does not work. Probably my xmpp implementation in pidgin is > not actual. > I get the welcome message, but later I see the error > 'bad namespace prefix' > Googling did not enlighten me. I did not found

Re: Linking without qxmpp fails for branch features/chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 18:56, Kornel Benko wrote: > /usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4177: undefined reference to > `lyx::frontend::createGuiBuddies(lyx::frontend::GuiView&)' > /usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4183: undefined reference to > `lyx::frontend::createGuiChat(lyx::fron

Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 13:43, Kornel Benko wrote: >> However, at least a minimum box for adding buddies seems useful in LyX as >> well, I'll try to fix these couple of things. > > That would really be nice :) try to pull, now you can handle buddies add/remove from LyX (very basic). T.

Re: Linking without qxmpp fails for branch features/chat

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 13:09, Jean-Marc Lasgouttes wrote: > Or mark the lfun "unknown" when not supported. how do I do this marking ? For now, the chat is activated via A-x dialog-show chat it's not a real LFUN, just a request to show a specific dialog. Is OptItem going to work in such case ? Is the on

Re: Char encodings in lyx->latex->lyx cycles

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 11:18, Georg Baum wrote: > Use the attached patch, and call importString with the "latexclipboard" > format. seems to be working :-)! and it's pushed in tommaso features/chat. Thanks! T.

Re: Linking without qxmpp fails for branch features/chat

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 15:02, Jean-Marc Lasgouttes wrote: > The best to make it work is to have a look at getStatus in > frontends/qt4/GuiView.cpp. There you can expand the current handling > of LFUN_DIALOG_SHOW to mark the function as disabled as needed. > > Then, the patch you sent should just work. I jus

Re: branch features/chat: Some strings not translated

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 20:49, Kornel Benko wrote: > Am Sonntag, 10. November 2013 um 20:07:38, schrieb Kornel Benko > >> Hi Tomasso, >> some strings, like "Connected" used in BuddiesUi.ui are not translated. >> >> You use in src/frontends/qt4/GuiBuddies.cpp:255 tr("Connected"), but >> since tr() is not sear

Re: LyX Chat @ private git repo

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 14:37, Vincent van Ravesteijn wrote: >> Hope it's now all ok and u can see the repo. The feature is in the >> features/chat branch. >> >> T. >> > Yes, it works now. other question/help: now I'm co-editing with Kornel on this repo and branch, so there's an inter-spacing of commits

Re: LyX Chat @ private git repo

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 23:51, Tommaso Cucinotta wrote: > Any hint as to how to restore a sane environment (branch) :-) ? looking at http://git.lyx.org/?p=developers/tommaso/lyx.git;a=shortlog;h=refs/heads/features/chat it seems to me that 1) master on the development/tommaso repo is NOT advancin

Re: LyX Chat @ private git repo

2013-11-11 Thread Tommaso Cucinotta
On 11/11/13 08:03, Vincent van Ravesteijn wrote: > First of all, it wouldn't be necessary to merge with master over and > over again. Chances are not that big that master is now interfering > with your feature, so don't bother. I just realized that the features/chat branch in .git/config has "reba

Re: LyX Chat @ private git repo

2013-11-11 Thread Tommaso Cucinotta
Thanks for all explanations, some fog is clearing out slowly... Out of curiosity, I just created a seemingly polished branch http://git.lyx.org/?p=developers/tommaso/lyx.git;a=shortlog;h=refs/heads/features/chat2 which is a rebase of the current features/chat on top of master. Does this look

Re: Join LyX community

2013-11-11 Thread Tommaso Cucinotta
On 11/11/13 19:58, Ankit Shah wrote: > Hello friends, I'm Ankit Shah, Hi Ankit, nice to see your interest in LyX. > I'm really passionate about open source, algorithm design, graphics > and machine learning. that's really great to hear :-)! we all share this enthusiasm of course! > One of them

Re: Join LyX community

2013-11-12 Thread Tommaso Cucinotta
On 12/11/13 10:37, Ankit Shah wrote: > I've started using LyX for writing my final Term Paper. oh great! you're already a user then! > I would love > to work on Advance find and replace as you suggested. I found some > bug tickets interesting regarding the same. I'm participating in such > collab

Re: [LyX-Mentors-GSoC-2013] GSoC 2014 ?

2013-11-12 Thread Tommaso Cucinotta
On 12/11/13 14:04, Jürgen Spitzmüller wrote: > One thing that crossed my mind was the old "3 box drawing" idea for insets > (originating fro Asger IIRC). Alas, I have no idea if this is feasible in the > context of a GSOC project, and since I am not familiar enough with the > painter stuff, I c

Moving LyX XMPP Chat to features/chat2

2013-11-12 Thread Tommaso Cucinotta
Kornel, I'm just thinking of dropping entirely features/chat, and continuing on features/chat2. Not sure about what happened with features/chat, but from the web view I can only say it seems a critical and unrecoverable spaghetti situation :D -- I have no clue of how I could do it! On the other

Re: [LyX-Mentors-GSoC-2013] GSoC 2014 ?

2013-11-12 Thread Tommaso Cucinotta
On 12/11/13 22:12, Scott Kostyshak wrote: >> Smooth scrolling means that, while you move with the cursor or page keys, >> instead of jumping >> suddenly to the point, there's a smooth transition from the current to the >> destination view, >> draining much more battery from your laptop, but looki

Re: [LyX-Mentors-GSoC-2013] GSoC 2014 ?

2013-11-12 Thread Tommaso Cucinotta
On 12/11/13 22:22, Jean-Marc Lasgouttes wrote: > Le 12/11/13 19:46, Tommaso Cucinotta a écrit : >> if it's a matter of throwing ideas, I have a long-standing feature request: >> smooth scrolling. > > Hmm, one of the few things that I disable in firefox :) guess it&#x

Re: [LyX/master] Now the regexp insets entered in Advanced F&R search/replace boxes do not preview anymore independently, unless embedded/nested within other math elements. Fixing crash as described i

2013-11-12 Thread Tommaso Cucinotta
On 12/11/13 22:26, Scott Kostyshak wrote: > On Sun, Oct 27, 2013 at 5:59 AM, Tommaso Cucinotta wrote: >> On 27/10/13 08:17, Scott Kostyshak wrote: >>> >>> Tommaso, >>> >>> I also have findadv-re-05 failing. Does it fail for you? >> >> &g

Re: [LyX/master] Now the regexp insets entered in Advanced F&R search/replace boxes do not preview anymore independently, unless embedded/nested within other math elements. Fixing crash as described i

2013-11-12 Thread Tommaso Cucinotta
On 13/11/13 02:10, Tommaso Cucinotta wrote: > On 12/11/13 22:26, Scott Kostyshak wrote: >> On Sun, Oct 27, 2013 at 5:59 AM, Tommaso Cucinotta wrote: >>> On 27/10/13 08:17, Scott Kostyshak wrote: >>>> >>>> Tommaso, >>>> >>>> I also

Re: [LyX/master] Now run-tests.sh captures PROGRAM_SUFFIX from config.h, in order to use the correct .lyx folder name.

2013-11-13 Thread Tommaso Cucinotta
On 13/11/13 09:56, Vincent van Ravesteijn wrote: > +<<< Updated upstream > if [ "$(which pcregrep)" == "" ]; then > echo "You need to install pcregrep first, try:" > echo " sudo apt-get install pcregrep" > exit -1; > fi > +=== > +PROGRAM_SUF

Re: Join LyX community

2013-11-13 Thread Tommaso Cucinotta
On 13/11/13 19:03, Ankit Shah wrote: >> Mayby old '~/lyxrc.defaults' file. Try to rename it first. > Thanks Kornel that solved the issue. renamed the old ~/.lyx to ~/.lyx.old and > on rerunning it automatically created new ~/.lyx folder. Forgot to mention: if you don't want to run into compatibil

Re: Moving LyX XMPP Chat to features/chat2

2013-11-14 Thread Tommaso Cucinotta
On 13/11/13 09:31, Vincent van Ravesteijn wrote: > If you would have done a 'git fetch', you will retrieve the new > commits. Then, you want to reset the features/chat2 branch to the new > one tommasso pushed: > > $ git checkout features/chat2 > $ git reset --hard /features/chat2 On a machine of

Re: Join LyX community

2013-11-14 Thread Tommaso Cucinotta
On 14/11/13 12:19, Ankit Shah wrote: >> ./configure --with-version-suffix=-trunk > That helped to run both version simultaneously. > > I'm currently checking how the program flow switches from > FindAndReplaceWidget::showEvent() function to > FindAndReplaceWidget::findAndReplace() and forward us

Re: Join LyX community

2013-11-14 Thread Tommaso Cucinotta
On 14/11/13 20:51, Tommaso Cucinotta wrote: > the FindAndReplace, inheriting DockView, inheriting Dialog, calls the > Dialog::dispatch(), You may also have a look at: http://wiki.lyx.org/sourcedoc/svn/classlyx_1_1frontend_1_1FindAndReplace.html It refers to a somewhat old code base, b

Re: Join LyX community

2013-11-15 Thread Tommaso Cucinotta
On 15/11/13 11:10, Ankit Shah wrote: > From the LyX.cpp i got the dispatch function like this: void > dispatch(FuncRequest const & action) { LAPPERR(theApp()); return > theApp()->dispatch(action); } I understood that it calls dispatch() > something from the theApp() class(/function ?) But looking a

Re: Moving LyX XMPP Chat to features/chat2

2013-11-15 Thread Tommaso Cucinotta
On 15/11/13 16:58, Kornel Benko wrote: > What the mockery ... Nothing I try helps here. I for sure did not commit or > change anything. do u mind sending the part of your .lyx/config defining your "origin" repo, as well as your "features/chat2" branch ? Thx, T.

Re: Moving LyX XMPP Chat to features/chat2

2013-11-15 Thread Tommaso Cucinotta
On 15/11/13 20:24, Kornel Benko wrote: > I probably misunderstood, what to send. it was ok. I just wanted to check whether your origin was actually the main lyx repo or mine, so you actually must have cloned the whole repo developers/tommaso as an independent folder (calling it as origin), that'

Re: File locking while lyx configures

2013-11-19 Thread Tommaso Cucinotta
On 19/11/13 20:55, Kornel Benko wrote: > I know. Scott and I are testing with lockf() now. What about boost::interprocess::file_lock ? Note from http://www.boost.org/doc/libs/1_55_0/doc/html/boost/interprocess/file_lock.html "A file lock can't guarantee synchronization between threads of the

Re: Moving LyX XMPP Chat to features/chat2

2013-11-19 Thread Tommaso Cucinotta
On 18/11/13 08:44, Vincent van Ravesteijn wrote: > Yes, if Kornel is not very actively involved in refactoring stuff > etc., it should be well possible for him to reset once in a while, or > to rebase his local work onto your branch. So I kept rebasing it a few further times... > Well, I hope my

Re: File locking while lyx configures

2013-11-20 Thread Tommaso Cucinotta
On 20/11/13 13:46, Kornel Benko wrote: > I thought about something I programmed in the past. > Using semaphores on shared memory (over mmap() of file from userdir). But it > looked like overkill. You don't need semaphores over shared memory. The same thing can be achieved by the far easier pthre

Re: git

2013-11-21 Thread Tommaso Cucinotta
AFAIU, the working recipe should be: git branch (just to check you're on the right branch, you know...) git commit po/sk.po ... git pull --rebase tommaso features/chat2 git push tommaso features/chat2 If you have this unmerged stuff in the way, try a git merge --abort and then go on with the abo

Re: git

2013-11-21 Thread Tommaso Cucinotta
but I've just seen that in the end you got it right $ git log commit 775926ad Author: Kornel Benko Date: Thu Nov 21 12:55:35 2013 +0100 * sk.po commit 8cf12101 Author: Tommaso Cucinotta Date: Wed Nov 20 00:23:13 2013 + Multi-view XMPP chat. Thx. T. On 21/11/

Re: [LyX/master] Now the regexp insets entered in Advanced F&R search/replace boxes do not preview anymore independently, unless embedded/nested within other math elements. Fixing crash as described i

2013-12-01 Thread Tommaso Cucinotta
On 27/11/13 19:25, Scott Kostyshak wrote: >>> findadv-re-05-in.txt: FAILED >>> findadv-re-06-in.txt: Ok >>> > Tommaso, is this test failure a regression or a bug in the test? Is it > on your radar to fix? Should the test be removed? AFAICR, it a case working

Re: Moving LyX XMPP Chat to features/chat2

2013-12-22 Thread Tommaso Cucinotta
On 20/11/13 14:01, Kornel Benko wrote: > I like it. Feels good, especially on the fresh new window. > > To get it into master should be the first think after releasing 2.1 IMHO. So, what's the current trunk situation ? I've just had some extra bits of time to update/rebase the features/chat2 bran

Re: GSOC 2014: Preliminary Call for mentors

2014-02-08 Thread Tommaso Cucinotta
On 03/02/14 23:32, Cyrille Artho wrote: > http://wiki.lyx.org/Devel/SummerOfCode2013Ideas > > I think most of these ideas are still valid projects, so we have no shortage > of them. Concerning the LyX Chat project, as you may know, I couldn't resist the temptation and I think I pretty much comp

Re: On GSOC 2014 application--again

2014-02-08 Thread Tommaso Cucinotta
On 06/02/14 21:25, stefano franchi wrote: > - Tommaso (advanced find and replace, Chat client, interactive lyx) Chat client is done, so ignore it. I'm available as mentor for Advanced F&R and Interactive LyX. Anyone would feel like being the 2nd one on these ? T.

ButtonController, ReadOnly, curr vs main BufferView...

2014-02-12 Thread Tommaso Cucinotta
Hi, in ticket #8963 (http://www.lyx.org/trac/ticket/8963) there's an issue related to the Ok/Apply buttons of the GuiCharacter dialog (for setting boldface et al.), which, when popped out on the Find or Replace WorkAreas of the FindAdvanced dialog, insist in checking the readonly property of th

Re: Advanced find and replace

2014-02-13 Thread Tommaso Cucinotta
On 13/02/14 13:02, voilavoil...@yahoo.in wrote: > Hey Tommaso, > > I am good in C, C++. Can you suggest me first bug to solve related to > Advanced find and replace functionality Hi, thanks for your interest in LyX. You can have a look at the issues categorized as "search": http://www.lyx

Re: using all cores when compiling lyx?

2014-02-14 Thread Tommaso Cucinotta
On 14/02/14 09:42, Jean-Marc Lasgouttes wrote: >> To compile with two cores, use >> make -j2 > > Actually, I find -j3 to be a bit better, maybe because there is less idle > time. yes, while one gcc process suspends for disk access (reading sources or writing compiled objects), there's another on

Re: Fwd: Asking about project "Interactive LyX"

2014-02-15 Thread Tommaso Cucinotta
On 15/02/14 10:17, Jayesh Hathila wrote: > I will be applying in GSOC 2014 , while going through previous years > projects I liked Lyx most suitable to my area of interest .So if > possible I wants to work on the "Interactive LyX" , so I just wanted > to know is this to be implemented from scratch

Re: Advance find and replace GSOC project

2014-02-26 Thread Tommaso Cucinotta
On 22/02/14 08:39, Ankit Shah wrote: > I've watched > the three videos provided for advance find and replace. How much is > it actually completed, I mean is there any previous work done for the > same or I the idea is to be started from scratch. Hi, the advanced find and replace is a feature that

Re: Google Summer of Code Project

2014-03-02 Thread Tommaso Cucinotta
On 28/02/14 19:58, Wang Kunzhen wrote: > I am interested in the project /Advanced Find and Replace /proposed > by Lyx for Google Summer of Code and would like to join the Lyx Dev’s > group to discuss the possible ideas I might have. Hi Wang, nice to see you're interested in our project, and in th

Re: MouseEventDispatch in bufferview.cpp

2014-03-04 Thread Tommaso Cucinotta
On 04/03/14 03:15, Scott Kostyshak wrote: >> Can anyone tell me exactly where this event is handled? >> > I did not look at the bug you mentioned, but in case it helps, note > that double click in LyX is handled as an LFUN. Search for > LFUN_MOUSE_DOUBLE. For example, I would guess that in normal t

Re: problem building lyx

2014-03-04 Thread Tommaso Cucinotta
On 04/03/14 08:20, Chirag Chauhan wrote: > Here's what i did: > 1.made some changes to the GuiPrefs.cpp file > 2.make > 3.run > > what am i doing wrong ? 1) Please, detail how exactly you launch lyx. If you have also the standard LyX installed as coming from the Linux distribution, then perhaps

Re: problem building lyx

2014-03-04 Thread Tommaso Cucinotta
On 04/03/14 09:39, Chirag Chauhan wrote: > i did 'sudo make install' after make. > currently i'm able to run lyx from anywhere. > i launched lyx from /lyx-2.0.7/src directory. ok, but just to be double-sure: if you launch lyx as: $ lyx then you get the first that is found scanning your PATH envi

Re: GSoC Advance find and replace

2014-03-04 Thread Tommaso Cucinotta
On 04/03/14 17:35, Mihai Varga wrote: > My name is Mihai Varga, I am in my 2nd year of study at the > Polytechnic University of Bucharest and I am interested in the > "Advanced find and replace" project for GSoC. > > I do not know if some of you still remember me but I also applied > last year (bu

Fwd: confirm subscribe to lyx-devel@lists.lyx.org

2014-03-06 Thread Tommaso Cucinotta
-ID: <531832f6.80...@lyx.org> Date: Thu, 06 Mar 2014 08:33:58 + From: Tommaso Cucinotta User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Chirag Chauhan , lyx-devel-subscr...@lists.lyx.org Subject: Re: problem building ly

About using git as file format for lyx ...

2014-03-06 Thread Tommaso Cucinotta
... instead of XML, as discussed so often ... https://plus.google.com/+LinusTorvalds/posts/X2XVf9Q7MfV T.

Re: Advance find and replace GSOC project

2014-03-07 Thread Tommaso Cucinotta
On 07/03/14 05:11, aparsloe wrote: > This is belated but I find myself intrigued by your description of > the underlying process involving latex export and searching the > strings resulting from that. Did you consider exporting to LyX's own > native format? That would remove one level of processing

Re: GSoC Project: Advance find and replace

2014-03-07 Thread Tommaso Cucinotta
On 07/03/14 05:12, Sushant Raikar wrote: > Hi, Hi, > I am Sushant Raikar ,a B.Tech. ( Computer Science ) student from > India and I would love to contribute to LyX Nice to meet you Sushant, and great to see some interest in our project :-)! > As for regular expressions , I know the basics of it

Re: confirm subscribe to lyx-devel@lists.lyx.org

2014-03-07 Thread Tommaso Cucinotta
On 07/03/14 08:42, Jean-Marc Lasgouttes wrote: >> may be while replying to that thread you sent a message to >> lyx-devel-subscr...@lists.lyx.org too. >> sorry for the inconvenience. >> > > Exactly, > > Tommaso, look at the original message at the bottom of what you forwarded. Ok, mystery solved

Re: About using git as file format for lyx ...

2014-03-08 Thread Tommaso Cucinotta
On 08/03/14 19:44, Abdelrazak Younes wrote: > That being said, I *personally* find XML much too verbose and error > prone compared to Json if you write it with a plain text editor. luckily, we're filling up these weird .lyx files contents using that convenient editor, what's its name?, was it

Re: About using git as file format for lyx ...

2014-03-09 Thread Tommaso Cucinotta
On 09/03/14 02:55, Pavel Sanda wrote: > Tommaso Cucinotta wrote: >> luckily, we're filling up these weird .lyx files contents using that > > Believe it or not there are people who are using scripts for batch creation of > lyx files for automatized reports and using sed for

Re: GSoC Project: Interactive LyX

2014-03-09 Thread Tommaso Cucinotta
Hi, yes, you got right what the initial focus would be for interactive lyx, and if you like/love the idea of seeing that feature up and running, then it's definitely the one you should focus on. A few further notes: -) the simple use-case you can see in that old video of mine is really a bad

Re: Patch for Ticket #8939

2014-03-09 Thread Tommaso Cucinotta
On 09/03/14 01:35, Roy Xia wrote: > Hey everyone, Hi Roy, > The diff file for > this fix should be attached to this e-mail. Thanks. I just tried it out, and the behaviour seems ok -- great :-)! As a further refinement, when you select "No", because you prefer to keep the original binding, and y

Re: Patch for Ticket #8939

2014-03-09 Thread Tommaso Cucinotta
On 09/03/14 01:35, Roy Xia wrote: > I'm a student interested in working with LyX for Google Summer of > Code 2014 Btw, unless you did so already, please go through the proposals for projects available at http://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014 and see which one(s) might intrigue you t

Re: #9028: Bug report of replace feature

2014-03-09 Thread Tommaso Cucinotta
On 10/03/14 02:27, LyX Ticket Tracker wrote: > About update, I have a question: would it reset my preference setting? > Cause I spent a lot of time to set LyX, like fonts, output form, etc. The most annoying side effect, if you update, is that the new version of LyX saves files with an updated L

Re: Math in LibreOffice/Word exported files: input needed

2014-03-14 Thread Tommaso Cucinotta
On 13/03/14 20:17, stefano franchi wrote: > 1. Leave the exporter as it is and be left with imperfect and > sometimes incomplete but editable math expressions when LaTeX is used > at its fullest this one seems to me what we should aim for -- the most ambitious goal of interoperability among the tw

Re: Bug Ticket 9008

2014-03-15 Thread Tommaso Cucinotta
On 15/03/14 17:09, Richard Heck wrote: > So I think making this widget a standalone > dialog is probably not what most people are going to want to do. Correct, we definitely don't want to make Advanced Find & Replace a simple dialog. Rather, I heard several times people would like to turn the Simp

Re: Bug Ticket 9008

2014-03-15 Thread Tommaso Cucinotta
On 15/03/14 19:56, Tommaso Cucinotta wrote: > In Qt, it should be fairly easy to intercept key presses from the > main application events loop, then if the focus is on a specific > dialog, one might try to route the event straight there? or perhaps just install an event filter? T.

Re: Patch Confirmation [Re: Patch for Ticket #8939]

2014-03-15 Thread Tommaso Cucinotta
On 15/03/14 19:38, Richard Heck wrote: > > Can someone give an OK for this patch from Roy Xia? It seems to work just fine. I'm not sure "Overwrite shortcut" is the best way to ask this to the user. What about: - "Override shortcut" - "Redefine shortcut" - "Reassociate shortcut" - "Change shortcut

Re: Patch Confirmation [Re: Patch for Ticket #8939]

2014-03-15 Thread Tommaso Cucinotta
On 15/03/14 23:52, Roy Xia wrote: > Roy, did you try a couple of changes and double-checked they're > correctly saved in prefs, both in the case of new shortcut, and in > the one of reassignment? > > Yeah, changing shortcuts through the overriding dialog and then > saving them persists across LyX

Re: Multiple cursors in BufferView

2014-03-16 Thread Tommaso Cucinotta
On 16/03/14 07:23, Sushant Raikar wrote: > This is related to gsoc project: Interactive LyX. I wanted to know > whether it is possible to have multiple cursors in a single > BufferView in the current Lyx BufferView implementation. > > If so ,is it possible to make such a cursor immune to local > s

Re: Find and replace

2014-03-16 Thread Tommaso Cucinotta
On 16/03/14 13:11, Kamal Garg wrote: > Sir, I want to participate in Advanced find nd replace I have good > experience with qt and c++. last year,I submitted my proposal but i > am not selected.I have code of lyx. Can you tell me what is code of > find and replace. Hi Kamal, thanks for your inter

Re: Multiple cursors in BufferView

2014-03-16 Thread Tommaso Cucinotta
On 16/03/14 15:57, Sushant Raikar wrote: > thats brilliant! :) , now I understood why you had multiple remote > views! you were essentially keeping separate hidden buffer for each > of the client. (Almost) exactly, but it's NOT multiple hidden buffers, but rather multiple hidden BufferView! See be

Re: GSoC 2014 Advanced Find and Replace proposal

2014-03-16 Thread Tommaso Cucinotta
Hi, I had a glance at it, thanks! My preliminary comment is that it is still a bit too vague. Your proposal needs to show a clear implementation path, demonstrating essentially: -) that you understand what has to be realized -- this is basically there, but you need to add also something more

Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Tommaso Cucinotta
Anyone remembers what major difference among these two sets of methods, from Paragraph and Inset? Paragraph::stringify() and asString() look like almost identical, with the difference that the former goes for Inset::plaintext(), and it doesn't detect deleted text, the latter uses Inset::toStrin

Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Tommaso Cucinotta
On 27/03/14 10:53, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: >> On Thu, Mar 27, 2014 at 11:41 AM, Pavel Sanda wrote: >> >>> Vincent van Ravesteijn wrote: Tommasso, I don't want to spoil the fun, but I think you introduced >>> >>> :)) >>> >> >> ... and Pavel committed it, so you migh

Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Tommaso Cucinotta
On 27/03/14 12:36, Tommaso Cucinotta wrote: > Ok, fantastic, I must have forgotten :-)! Indeed, it seems lyxfind.cpp is > the major caller. I'll try to > merge the functionality of the two methods, preserving the interface for > other callers. As a by product effect, I should be

Re: [LyX/master] Fixing #7987: deleted text in change-tracking mode is not found in Advanced F&R any more.

2014-03-31 Thread Tommaso Cucinotta
On 29/03/14 11:28, Vincent van Ravesteijn wrote: > Hmm, I don't see it. I was sure to have pushed, but I didn't ? Check now pls. > On a closer look at the patch, I don't think that AS_STR_PLAINTEXT should be > an option to asString(). Plain text is an output format. What I did, was just having

Re: [LyX/master] Fixing #7987: deleted text in change-tracking mode is not found in Advanced F&R any more.

2014-03-31 Thread Tommaso Cucinotta
On 29/03/14 17:50, Vincent van Ravesteijn wrote: > Tomasso's patch was not improving the situation, but was somehow hiding the > underlying mess by building some messy function on top of it. well, I have to some-what disagree here: - removing from the program the possibility of an infinite loop l

Re: lyx - advanced search - exclude notes?

2014-04-04 Thread Tommaso Cucinotta
Hi, normally if you write to the list you get far higher chance to get a prompt answer. What you mention is a desirable feature, but not implemented as of yet. Thanks, T. On 04/04/14 02:19, Daniel Ferreira wrote: > Hello, > I would like to ask a question about Lyx search. > I reached

Re: lyx - advanced search - exclude notes?

2014-04-07 Thread Tommaso Cucinotta
On 05/04/14 21:49, Daniel Ferreira wrote: > I hope this is implemented in Lyx someday. Indeed, we have a long-standing feature enhancement on our bug tracking system: http://www.lyx.org/trac/ticket/4987 you can subscribe to that, in order to be notified of updates in this regard, if you wish.

Re: [LyX/master] Fixing #7987: deleted text in change-tracking mode is not found in Advanced F&R any more.

2014-04-07 Thread Tommaso Cucinotta
Hi, back from a trip, here a few extra thoughts: On 01/04/14 08:20, Vincent van Ravesteijn wrote: > Except that Text::asString(AS_STR_INSETS | AS_STR_PLAINTEXT) now asserts, and > Paragraph::asString(AS_STR_INSETS|AS_STR_PLAINTEXT) now asserts. for Paragraphs, there's the comment: + ///

Re: Trac: fixedinmaster, fixedinstable

2014-04-15 Thread Tommaso Cucinotta
On 15/04/14 05:14, Richard Heck wrote: > Can you remind me why we need "fixedinmasterandstable" anyway? and > not just "fixedinmaster fixedinstable", as we had before? I know we > discussed this And can anyone please remind everyone else what master and stable exactly are? Just asking, as due

GSOC Interactive - Starting engine...

2014-04-27 Thread Tommaso Cucinotta
Hi Sushant, congrats again for your nicely written proposal. Now it's time to start the engine, with the "community bonding". You might have received already an e-mail from Stefano, however a few very brief things, just before rushing to catch my flight: 1) it may be helpful for you to just dro

Copying and pasting to other apps (was: Re: Feature request)

2014-04-27 Thread Tommaso Cucinotta
On 27/04/14 10:18, Abdelrazak Younes wrote: > So my feature request would be able: > 1) write in LyX > 2) select and copy > 3) paste as html in Thunderbird. > > Maybe this is already possible. It is indeed, but with a few hiccups: 1) boldface and emphasized font variations do not get copied at al

Re: Copying and pasting to other apps

2014-04-27 Thread Tommaso Cucinotta
, but if you paste it into LyX, hmmm... So, AFAICS, LyX seems to be behind other tools in this regard (copy'n'paste interoperability). T. On 27/04/14 15:08, Tommaso Cucinotta wrote: > On 27/04/14 10:18, Abdelrazak Younes wrote: >> So my feature request would be able:

Re: Feature request

2014-04-27 Thread Tommaso Cucinotta
On 24/04/14 14:18, Kornel Benko wrote: > Not really. Still it looks for me as a valid feature request. Even if I was > > not planing to use it. > Probably the user is free to create a "Send by e-mail..." menu entry that simply spawns the preferred e-mail client on the machine, adding the LyX file

Re: Saying Hi !

2014-04-27 Thread Tommaso Cucinotta
On 27/04/14 19:09, Sushant Raikar wrote: > P.S.- feels great to be a part of this community. Welcome Suhant! Looking forward to work with you on this exciting project! Tommaso

Re: Saying Hi !

2014-04-27 Thread Tommaso Cucinotta
On 27/04/14 19:33, Scott Kostyshak wrote: > I don't know much about this topic just in case you missed it, this video shows quickly what it's all about: http://retis.sssup.it/~tommaso/lyx-collaborate.ogv in a kind of mock-up that crashes in a few seconds :-)! T.

Re: Copying and pasting to other apps

2014-04-27 Thread Tommaso Cucinotta
On 27/04/14 16:58, Georg Baum wrote: > If you copy something, it is put onto the clipboard in three formats: plain > text, HTML (using the HTML export) and LyX since version 2.1. The pasting > application is then supposed to select the most appropriate format. In your > case something goes wrong

Re: GSOC Interactive - Starting engine...

2014-04-27 Thread Tommaso Cucinotta
On 27/04/14 10:21, Tommaso Cucinotta wrote: > 6) set-up a LyX wiki page where we can track-down the project status, main > issues, etc. this one is tentatively here: http://wiki.lyx.org/GSoC/InteractiveLyX it might be filled starting with copying some info from your project descriptio

Re: GSOC Interactive - Starting engine...

2014-04-27 Thread Tommaso Cucinotta
On 27/04/14 10:21, Tommaso Cucinotta wrote: > 5) set-up a GSOC repo where you'll be able to commit and push frequently > (ideally, daily) Here we go: git clone g...@git.lyx.org:gsoc.git git checkout interactive Vincent, in .git/config, we get [branch "interactive"

Re: Moving LyX XMPP Chat to features/chat2

2014-04-27 Thread Tommaso Cucinotta
On 20/11/13 14:01, Kornel Benko wrote: > I like it. Feels good, especially on the fresh new window. To get it into > master should be the first think after releasing 2.1 IMHO. Kornel That seems the right time then! Currently, this is a patchset of 21 commits http://git.lyx.org/?p=developers/

Re: Saying Hi !

2014-04-28 Thread Tommaso Cucinotta
On 28/04/14 07:15, Peter Kümmel wrote: > When designing the transfer protocol you should > evaluate Google's Protocol Buffers: > > https://developers.google.com/protocol-buffers/docs/overview > > Would guarantee a clean interface to the outer world. And you > don't have to think about parsing incom

Re: Moving LyX XMPP Chat to features/chat2

2014-04-28 Thread Tommaso Cucinotta
On 28/04/14 08:48, Vincent van Ravesteijn wrote: > Below are my opinions. Please read from bottom to top. Hi, thanks for these. I see I definitely need a lyxchat3 rework before the merge. I'll try to do that, but it will take one or a couple of weeks. A few remarks: -) Vincent suggests to crea

Re: [GSoC 2014] Introduction

2014-04-28 Thread Tommaso Cucinotta
On 28/04/14 09:33, Prannoy Pilligundla wrote: > Hi Everyone, > > I am Prannoy Pilligundla, a second year undergrad from India. Hi Prannoy, welcome to the LyX devels community! I hope you'll enjoy spending time with us. Looking forward for this fantastic enhancement to LyX<->LibreOffice roundtrip

Re: Feature request

2014-04-28 Thread Tommaso Cucinotta
On 28/04/14 19:37, Patrick O'Keeffe wrote: > I don't personally see any advantage to composing emails in Lyx. OP suggested > it because of the beautiful formatting provided by LaTeX but HTML isn't > capable of such beauty. If you need the aesthetics, you're stuck emailing it > as an attachment a

Re: Feature request

2014-04-29 Thread Tommaso Cucinotta
On 29/04/14 17:59, Abdelrazak Younes wrote: > > FWIW, it is perfect here in Thunderbird. > > Indeed, perfect on both Windows and Linux. This is a killer feature for > scientist collaboration :-) So, this capability of copying and pasting into HTML e-mails should be advertised loudly IMHO, in cas

Re: Procedure for porting patch to latest trunk

2014-04-29 Thread Tommaso Cucinotta
On 29/04/14 08:07, Sushant Raikar wrote: > I am not so comfortable with git, I see you already got explanations from others -- that's the advantage of the list, as you can see -- and, btw, Vincent's is THE git man here :-)! > http://www.lyx.org/trac/ticket/7964 to latest code base. let me also

Re: Developping an add-on for LyX

2014-04-29 Thread Tommaso Cucinotta
On 29/04/14 08:58, alexan...@dubosc.fr wrote: > Dear LyX community, Hi, > My project tutor wants my team to make it possible to host LaTeX documents, > using a LaTeX to html converter. is that software a simple document management system ? Can it host documents in .tex, .html, .lyx, whatever el

Re: How's it going?

2014-05-03 Thread Tommaso Cucinotta
On 02/05/14 11:48, Sushant Raikar wrote: > Yes, I did compile LyX successfully, Great! Be aware of its embedded debugging feature: lyx -dbg this,that,whatever will enable debugging on the terminal of those comma-separated list of components. This is one or more of [1] (need to enter the symbo

Re: How's it going?

2014-05-03 Thread Tommaso Cucinotta
On 02/05/14 11:48, Sushant Raikar wrote: > I am working on separate branch locally, How do I make this branch remote? you can push to gsoc/interactive: git push gsoc interactive If you prefer to work in a playground branch, and you also want to share that, it should be possible to create a ne

hooks/post-receive error on git push

2014-05-04 Thread Tommaso Cucinotta
Hi, whenever I push (working in tommaso repo), I get this remote: Traceback (most recent call last): remote: File "hooks/post-receive", line 139, in remote: main() remote: File "hooks/post-receive", line 129, in main remote: with open(log_file_path, 'a') as log_file: remote: IOError:

Re: Moving LyX XMPP Chat to features/chat2

2014-05-04 Thread Tommaso Cucinotta
Hi, I just created a tommaso/features/chat3 new branch with a rework of the LyX chat feature, taking most of Vincent's comments. Most of the patches are now squashed into the initial commit. For now the GuiChatMessenger stays in qt4/, as it relies on Qt libraries, and it also depends on GuiCha

Re: Moving LyX XMPP Chat to features/chat2

2014-05-04 Thread Tommaso Cucinotta
On 28/04/14 10:36, Vincent van Ravesteijn wrote: > It would be easier to review if you would push the branch to the features.git > repository (which is accessible to everyone). Hi, I also pushed the branch to features.git as branch "chat3". Now I've got into this issue: $ git checkout featur

Re: Moving LyX XMPP Chat to features/chat2

2014-05-04 Thread Tommaso Cucinotta
On 28/04/14 08:10, Vincent van Ravesteijn wrote: > > + /// > > + Dialog * findOrBuild(std::string const & name, bool hide_it); > > private: > > - Dialog * findOrBuild(std::string const & name, bool hide_it); > - /// > Dialog * build(std::string const & name); > > Why ?

Re: lyx-collaborate-v5 made it work!

2014-05-06 Thread Tommaso Cucinotta
On 06/05/14 06:14, Sushant Raikar wrote: > Hi Tommaso, Hi, > I made the patch work, I have uploaded the patch through git, please do check > it out if you get time > > https://gist.github.com/HotSushi/75ed590070e293f1b563 > > Its only specific to Interactive Lyx and does not include chat feature.

Re: Fwd: clarification of structure of cursor

2014-05-10 Thread Tommaso Cucinotta
Forwarded message -- > From: *Sushant Raikar* <mailto:sushant.s.rai...@gmail.com>> > Date: Thu, May 8, 2014 at 11:56 PM > Subject: clarification of structure of cursor > To: Tommaso Cucinotta mailto:tomm...@lyx.org>> > > Did you check if my patch works?

<    6   7   8   9   10   11   12   13   14   >