Pavel Sanda | 1 Feb 01:59 2009

Re: [patch] SVN locking

Pavel Sanda wrote:
> this is really cool feature and i will cry for having this in branch too, Juergen :)

attached tested patch for branch.
pavel
Index: src/VCBackend.h
===================================================================
--- src/VCBackend.h	(revision 28305)
+++ src/VCBackend.h	(working copy)
 <at>  <at>  -27,7 +27,8  <at>  <at> 
 	/// the status of the managed file
 	enum VCStatus {
 		UNLOCKED,
-		LOCKED
+		LOCKED,
+		NOLOCKING
 	};

 	virtual ~VCS() {}
 <at>  <at>  -225,9 +226,17  <at>  <at> 
 	virtual void scanMaster();
 	/// Check for messages in svn output. Returns error.
 	std::string scanLogFile(support::FileName const & f, std::string & status);
+	/// checks locking policy and setup locked_mode_
+	bool checkLockMode();
+	/// is the loaded file locked?
+	bool isLocked();
+	/// acquire/release write lock for the current file
(Continue reading)

Vincent van Ravesteijn | 1 Feb 12:18 2009
Picon
Picon

Re: [patch] SVN locking

Pavel Sanda schreef:
> Pavel Sanda wrote:
>   
>> this is really cool feature and i will cry for having this in branch too, Juergen :)
>>     
>
> attached tested patch for branch.
> pavel
>   
Can you explain why this is such a 'very cool feature' and you would 
'cry' for having this in branch ?

Do people actually use it ?

Vincent

Andre Poenitz | 1 Feb 13:23 2009
Picon

Re: [patch] SVN locking

On Sun, Feb 01, 2009 at 01:59:49AM +0100, Pavel Sanda wrote:
> +	/// checks locking policy and setup locked_mode_
> +	bool checkLockMode();
> +	/// is the loaded file locked?
> +	bool isLocked();

const?

Andre'

Alex | 1 Feb 21:45 2009
Picon

Call for reviewers of LyX's web site translation to Hungarian - A LyX weboldalanak magyar forditasanak ellenorzese

Dear List - Kedves Listatagok,

I have started to translate the main LyX website into Hungarian.
It is not yet complete, but most of the text is ready.
I need some people to check the text against errors and typos.
In case you know Hungarian and English well enough and you are going to
help me, please write me a message.

Thank you for your cooperation.

Elkezdtem lefordítani a LyX fő weboldalát magyarra.
Még nincs teljesen kész, de a szöveg legnagyobb része már elkészült.
Szükségem lenne valakikre, akik ellenőrzik a szöveget, hibák és elírások
végett. Amennyiben tud, mind magyarul és angolul annyira, hogy segíteni
tudjon és meg is teszi. Kérem írjon nekem egy e-mailt.

Köszönöm a segítségét.

Alex

Uwe Stöhr | 1 Feb 22:41 2009
Picon

help needed - stdinsets.inc definitions are ignored

For the new phantom inset, the paragraph dialog must not be called by the user, because paragraph 
settings would lead to LaTeX errors. This is the same as with the ERT and the Index inset.

I have now this code in stdinsets.inc:

InsetLayout Phantom:Phantom
	LatexType		command
	LatexName		phantom
	Decoration		minimalistic
	Font
	  Color			phantomtext
	EndFont
	MultiPar		false
	CustomPars		false
End

But I can write what I want, everything is ignored. The color is always black, MultiPar is always 
false, CustomPars is always true.

This problem also appears for other inset definitions. When I e.g. change the definition of the ERT 
inset, MultiPar	and CustomPars are also ignored.

Can anybody please help me here?

thanks and regards
Uwe

Uwe Stöhr | 1 Feb 22:43 2009
Picon

Re: [RFC] support for the \*phantom commands

Uwe Stöhr schrieb:

> There are now only two minor issues:
> 
> 1. In stdinsets.inc I specified a color for the inset text but the text 
> is always drawn black.

I just started another thread for this - seems to ba a general problem with inset definitions.

> 2. The inset shouldn't have a red but an invisible border.

I fixed this now.

regards Uwe

Christian Ridderström | 1 Feb 23:47 2009
Picon

LyX's web: In Hungarian - A LyX weboldalanak magyar forditasanak ellenorzese

On Sun, 1 Feb 2009, Alex wrote:

> In case you know Hungarian and English well enough and you are going to 
> help me, please write me a message.

Hi,

I'd just like to comment that it might be enough if you know Hungarian... 
if you read a translated web page and don't understand, that's enough 
reason to say something in my humble opinion!

Many thanks to Alex for his work! He is the initial reason why we today 
have both a Japanese and a Hungarian translation of the web site.

Best regards,
/Christian

 	http://www.lyx.org

PS. Please let me know if you find it difficult to see how to switch 
language, or if you worry that someone not expecting a translated version 
will miss that functionality.

--

-- 
Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr
Pavel Sanda | 2 Feb 00:00 2009

Re: [patch] SVN locking

Vincent van Ravesteijn wrote:
> Can you explain why this is such a 'very cool feature' and you would 
>'cry' for having this in branch ?

you don't like jokes, right? :)
anyway, it brings new level for collaboration work based on svn,
since it prohibits merge conflicts to happen. i will be happy to
have it in branch since i would like to use it now and its bit
tedious to conceive patched lyx binary on the remote boxes of your
co-workers...

> Do people actually use it ?

well, people spent some time to implement it in rcs, they spent time
to implement it in svn, i spent time to implement support under lyx.
one would expect that those people are doing it for some reason.

pavel

rafpio | 2 Feb 00:02 2009
Picon

Bug report: Lyx 1.6.1

Todays sequence of bugs:

D:\LyX\lyx-1.6.1\src\support\filetools.cpp(328): LyX could not create temporary directory in
C:/Documents and Settings/Administrator.NIGDZIE-NIGDZIE/Ustawienia lokalne/Temp'
Warning: Disk Error: 
----------------------------------------
LyX could not create the temporary directory 'C:/Documents and
Settings/Administrator.NIGDZIE-NIGDZIE/Ustawienia lokalne/Temp/lyx_tmpbuf0' (Disk is full maybe?)

----- free place 120 MB

D:\LyX\lyx-1.6.1\src\frontends\qt4\ButtonPolicy.cpp(214): NoRepeatedApplyReadOnlyPolicy: No
transition for input SMI_RESTORE from state INITIAL
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
Error in latexParagraphs: You should not mix title layouts with normal ones.
(Continue reading)

Pavel Sanda | 2 Feb 00:21 2009

Re: [patch] SVN locking

Andre Poenitz wrote:
> On Sun, Feb 01, 2009 at 01:59:49AM +0100, Pavel Sanda wrote:
> > +	/// checks locking policy and setup locked_mode_
> > +	bool checkLockMode();
> > +	/// is the loaded file locked?
> > +	bool isLocked();
> 
> const?

right
pavel


Gmane