2003-12-01 13:53:25 +00:00
|
|
|
|
|
|
|
|
|
2003-12-01 Andr<64> P<>nitz <poenitz@gmx.net>
|
|
|
|
|
|
|
|
|
|
* Code_rules/Recommendations:
|
|
|
|
|
* Code_rules/Rules:
|
|
|
|
|
+ try to implement your class in a way that the automatically generated
|
|
|
|
|
+ copy constructor and copy assignment work out-of-the box.
|
|
|
|
|
|
|
|
|
|
Index: Rules
|
|
|
|
|
===================================================================
|
|
|
|
|
RCS file: /usr/local/lyx/cvsroot/lyx-devel/development/Code_rules/Rules,v
|
|
|
|
|
retrieving revision 1.14
|
|
|
|
|
diff -u -p -r1.14 Rules
|
|
|
|
|
--- Rules 25 Sep 2002 14:26:09 -0000 1.14
|
|
|
|
|
+++ Rules 1 Dec 2003 13:48:53 -0000
|
|
|
|
|
@@ -247,20 +247,6 @@ Formatting
|
|
|
|
|
-NOT-
|
|
|
|
|
void mangle () // wrong
|
|
|
|
|
|
|
|
|
|
-* Use of braces
|
|
|
|
|
-
|
|
|
|
|
- We use braces a lot, even if this lowers the density of the code in
|
|
|
|
|
- some cases. In particular we use braces for one-liners in relation
|
|
|
|
|
- to if, while, etc.
|
|
|
|
|
-
|
|
|
|
|
- if (true) {
|
|
|
|
|
- do_that();
|
|
|
|
|
- }
|
|
|
|
|
- -NOT-
|
|
|
|
|
- if (true)
|
|
|
|
|
- do_that();
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
* Enumerators
|
|
|
|
|
enum {
|
|
|
|
|
one = 1,
|
|
|
|
|
@@ -293,12 +279,9 @@ Formatting
|
|
|
|
|
|
|
|
|
|
* Formatting
|
|
|
|
|
|
|
|
|
|
- - Please adapt the formatting of your code to the setting in LyX in that
|
|
|
|
|
- particular file. Lars and Asger are slowly, but surely moving the source
|
|
|
|
|
- towards Linux kernel style formatting, aka K&R style. We suggest that you
|
|
|
|
|
- also do this, but this is NOT something that has been decided generally.
|
|
|
|
|
- (a pity - jbl)
|
|
|
|
|
-
|
|
|
|
|
+ - Adapt the formatting of your code to the one used in the
|
|
|
|
|
+ other parts of LyX. In case there is different formatting for
|
|
|
|
|
+ the same construct, use the one used more often.
|
|
|
|
|
|
|
|
|
|
* Use existing structures
|
|
|
|
|
|
|
|
|
|
|
2003-11-06 00:11:50 +00:00
|
|
|
|
2003-11-05 Jo<4A>o Luis M. Assirati <assirati@fma.if.usp.br>
|
|
|
|
|
|
|
|
|
|
* lyxsocket/lyxclient.man: a man page for lyxclient.
|
2003-11-05 09:10:18 +00:00
|
|
|
|
|
|
|
|
|
2003-11-05 Jo<4A>o Luis M. Assirati <assirati@fma.if.usp.br>
|
|
|
|
|
|
|
|
|
|
* lyxsocket/lyxclient.C: makes lyxclient work with LYXSOCKET
|
|
|
|
|
environment variable.
|
|
|
|
|
|
2003-09-11 14:36:22 +00:00
|
|
|
|
2003-09-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
|
|
|
|
|
|
|
|
|
* MacOSX/lyx.xpm: remove. Not needed after all...
|
|
|
|
|
|
2003-09-09 15:12:56 +00:00
|
|
|
|
2003-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
|
|
|
|
|
|
|
|
|
* MacOSX/qt.patch:
|
|
|
|
|
* MacOSX/lyx.xpm: files needed when building Qt/Mac
|
|
|
|
|
|
2003-07-28 15:31:55 +00:00
|
|
|
|
2003-07-28 Jos<6F> Matos <jamatos@lyx.org>
|
|
|
|
|
|
|
|
|
|
* FORMAT: \layout -> \begin_layout.
|
|
|
|
|
|
2003-07-27 21:39:54 +00:00
|
|
|
|
2003-07-28 Jos<6F> Matos <jamatos@fep.up.pt>
|
|
|
|
|
|
|
|
|
|
* FORMAT: document 225
|
|
|
|
|
|
2003-06-05 22:42:36 +00:00
|
|
|
|
2003-02-10 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
|
|
* FORMAT: document 224.
|
|
|
|
|
|
2003-02-10 11:48:54 +00:00
|
|
|
|
2003-02-10 John Levon <levon@movementarian.org>
|
|
|
|
|
|
|
|
|
|
* FORMAT: document 2.22
|
|
|
|
|
|
2003-01-12 22:24:47 +00:00
|
|
|
|
2003-01-12 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (EXTRA_DIST): dist generated spec file as well.
|
|
|
|
|
|
2002-10-25 10:42:20 +00:00
|
|
|
|
2002-10-25 Kayvan A. Sylvan <kayvan@sylvan.com>
|
|
|
|
|
|
|
|
|
|
* lyx.spec.in (CFLAGS, CXXFLAGS): Fixed to use configure
|
|
|
|
|
defaults instead of overriding them.
|
|
|
|
|
|
2002-10-24 11:53:46 +00:00
|
|
|
|
2002-10-24 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
|
|
* FORMAT: document further change to InsetGraphicsParams.
|
|
|
|
|
|
2002-10-23 13:41:25 +00:00
|
|
|
|
2002-10-23 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
|
|
* tools/mkdoclinks.sh: new file. Run in <source>/lib/doc to
|
|
|
|
|
generate symbolic links from that dir to whereever the LyX
|
|
|
|
|
documentation is to be found. This enables a non-installed LyX
|
|
|
|
|
to find these docs.
|
|
|
|
|
|
2002-08-25 00:15:06 +00:00
|
|
|
|
2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
|
|
|
|
|
* FORMAT: explain changes with new graphics dialog
|
|
|
|
|
|
2002-08-12 16:41:15 +00:00
|
|
|
|
2002-08-02 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
|
|
* FORMAT: document the InsetGraphicsParams "size_type" -> "size_kind"
|
|
|
|
|
change.
|
|
|
|
|
|
2002-08-02 18:25:25 +00:00
|
|
|
|
2002-08-02 Angus Leeming <leeming@lyx.org>
|
|
|
|
|
|
|
|
|
|
* FORMAT: a new file to document changes in the LyX file format.
|
|
|
|
|
Start it off with a change to Include insets.
|
|
|
|
|
|
2002-06-26 11:51:59 +00:00
|
|
|
|
2002-06-26 Andr<64> P<>nitz <poenitz@gmx.de>
|
|
|
|
|
|
2002-07-01 21:50:54 +00:00
|
|
|
|
* development/Win32/lyxwin32.c: Win32 specific patch from Claus
|
|
|
|
|
Hentschel
|
2002-06-26 11:51:59 +00:00
|
|
|
|
|
2002-06-05 15:23:19 +00:00
|
|
|
|
2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
|
|
|
|
|
|
|
|
|
* tools/lxtl.sh: remove unused file
|
|
|
|
|
|
2002-05-25 14:50:52 +00:00
|
|
|
|
2002-05-25 John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
|
|
|
|
|
|
* Code_rules/Rules: mention enums should be lower-case
|
2002-10-25 10:42:20 +00:00
|
|
|
|
|
2002-05-24 07:42:03 +00:00
|
|
|
|
2002-05-23 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
|
|
|
|
|
|
|
|
|
|
* lyx.spec.in: Remove --with-included-string for 1.3.0cvs and
|
|
|
|
|
beyond.
|
|
|
|
|
|
2001-12-03 17:41:26 +00:00
|
|
|
|
2001-12-03 Andr<64> P<>nitz <poenitz@gmx.de>
|
|
|
|
|
|
|
|
|
|
* Code_rules/Recommendations: add note about long conditions
|
|
|
|
|
|
2001-10-08 14:36:39 +00:00
|
|
|
|
2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
|
|
|
|
|
|
|
|
|
* gettext.patch: update to gettext 0.10.40
|
|
|
|
|
|
2001-10-04 09:57:02 +00:00
|
|
|
|
2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
|
|
|
|
|
|
|
|
|
|
* Win32/lyxwin32.c: renamed from lyxwin32.C
|
|
|
|
|
|
|
|
|
|
* Win32/lyxprofile: update
|
|
|
|
|
|
2001-09-21 12:11:24 +00:00
|
|
|
|
2001-09-21 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
|
|
|
|
|
|
|
|
|
|
* lyx.spec.in: last cleanup
|
|
|
|
|
|
2001-09-20 09:27:22 +00:00
|
|
|
|
2001-09-20 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
|
|
|
|
|
|
|
|
|
|
* lyx.spec.in: another big rework, with input from many people.
|
|
|
|
|
|
2001-08-08 08:26:09 +00:00
|
|
|
|
2001-08-05 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
|
|
|
|
|
|
|
|
|
|
* lyx.spec.in: More cleanups and wording changes.
|
|
|
|
|
|
2001-08-05 22:15:41 +00:00
|
|
|
|
2001-08-03 Kayvan Sylvan <kayvan@sylvan.com>
|
|
|
|
|
|
|
|
|
|
* lyx.spec.in: Integrate tetex-lyx into main RPM.
|
|
|
|
|
|
2001-08-05 22:10:27 +00:00
|
|
|
|
2001-08-05 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
|
|
|
|
|
|
|
|
|
|
* Code_rules/Rules: add some braces statements, fix some typos.
|
|
|
|
|
|
2001-05-17 15:11:01 +00:00
|
|
|
|
2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
|
|
|
|
|
|
|
|
|
|
* Win32/lyxwin32.C added.
|
|
|
|
|
|
2001-04-20 01:43:28 +00:00
|
|
|
|
2001-04-17 Allan Rae <rae@lyx.org>
|
|
|
|
|
|
|
|
|
|
* tools/makeLyXsigc.sh: put the important local changes into sed
|
|
|
|
|
scripts. Outlining of inline code is lost -- feel free to add the
|
|
|
|
|
necessary script or patch to get them back again if they annoy you.
|
|
|
|
|
Or send a patch to Karl and get the changes into libsigc++.
|
|
|
|
|
|
2001-04-05 12:40:41 +00:00
|
|
|
|
2001-04-03 Kayvan Sylvan <kayvan@sylvan.com>
|
|
|
|
|
|
2002-10-25 10:42:20 +00:00
|
|
|
|
* lyx.spec.in: fix handling of reLyX with RPM relocation.
|
2001-04-05 12:40:41 +00:00
|
|
|
|
|
2001-04-02 12:43:30 +00:00
|
|
|
|
2001-03-30 John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
|
|
|
|
|
|
* Code_rules/Rules: update for namespaces allowed
|
|
|
|
|
|
2001-02-09 12:29:51 +00:00
|
|
|
|
2001-02-09 John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
|
|
|
|
|
|
* Code_rules/Recommendations:
|
|
|
|
|
* Code_rules/Rules: update, add some comments,
|
|
|
|
|
spelling and grammar
|