diff --git a/Makefile b/Makefile index 30bee9396e2b419689058f9a2572fe4cd9e30baa..f412af5c3bd0ea80d6cd4a1d3bfdd36e24bf8603 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.268 2003-03-01 22:36:36 geuzaine Exp $ +# $Id: Makefile,v 1.269 2003-03-01 22:50:48 geuzaine Exp $ include variables @@ -42,7 +42,7 @@ source-common: rm -rf gmsh-${GMSH_RELEASE} tar zcvf gmsh.tgz `ls README* */README* configure *.in Makefile */Makefile\ */*.[chyl] */*.[ch]pp */*.rc */*.res */*.r */*.ico */*.icns\ - */*.pl */*.pm */*.opt */*.spec`\ + */*.pl */*.pm */*.sh */*.opt */*.spec`\ doc demos tutorial mkdir gmsh-${GMSH_RELEASE} cd gmsh-${GMSH_RELEASE} && tar zxvf ../gmsh.tgz @@ -148,7 +148,7 @@ package-windows: strip bin/gmsh.exe cp /usr/bin/cygwin1.dll gmsh-${GMSH_RELEASE} cp bin/gmsh.exe gmsh-${GMSH_RELEASE} - cp doc/README.txt gmsh-${GMSH_RELEASE} + cp doc/README.win32 gmsh-${GMSH_RELEASE}/README.txt cp doc/FORMATS gmsh-${GMSH_RELEASE}/FORMATS.txt cp doc/VERSIONS gmsh-${GMSH_RELEASE}/VERSIONS.txt cp doc/FAQ gmsh-${GMSH_RELEASE}/FAQ.txt diff --git a/doc/README.devel b/doc/README.devel index 8932dbd3226f34e70cf4dacd6db2aa2f694214c3..16859f5b47a77deb32fa656f6887ee02cb1a74c6 100644 --- a/doc/README.devel +++ b/doc/README.devel @@ -3,9 +3,10 @@ Some easy rules to make the code easy to read/debug/maintain: - please enable full warnings for your compiler (e.g. gcc -Wall) - always use Msg() to print information/errors/etc. -- indent your files using ../utils/gmshindent +- indent your files using ../utils/indent.sh - if working on Windows, don't leave tabs in your files (../utils/untabify) +=========================================================================== How to add an option in the graphical user interface? @@ -28,4 +29,17 @@ Optional: handling routine opt_XXX to the OK callback for the corresponding option panel (in Fltk/Callbacks.cpp). +=========================================================================== +Tools to check memory leaks + +* LIBNJAMD + + export LD_PRELOAD=libnjamd.so + kill -USR1 + +* valgrind + +* purify + +* memprof diff --git a/doc/README.indent b/doc/README.indent deleted file mode 100644 index 5383d8aee329e0a7c769b419bd1a598e5fd6d8a0..0000000000000000000000000000000000000000 --- a/doc/README.indent +++ /dev/null @@ -1,9 +0,0 @@ - -All code should be preferably formatted using ../utils/gmshindent - -indent --braces-on-if-line --cuddle-do-while --honour-newlines --no-space-after-casts --no-space-after-function-call-names --no-space-after-for --no-space-after-if --no-space-after-while --no-tabs --dont-format-comments --comment-indentation1 --dont-break-procedure-type */*.cpp - - -If we don't want the return type on the same line as the function name, just remove - ---dont-break-procedure-type diff --git a/doc/README.leaks b/doc/README.leaks deleted file mode 100644 index 1e197d2a04080d003b97e8a049d9fe42579c1413..0000000000000000000000000000000000000000 --- a/doc/README.leaks +++ /dev/null @@ -1,10 +0,0 @@ -* LIBNJAMD - - export LD_PRELOAD=libnjamd.so - kill -USR1 - -* valgrind - -* purify - -* memprof diff --git a/doc/README.txt b/doc/README.win32 similarity index 91% rename from doc/README.txt rename to doc/README.win32 index fac90cc911aefdcce8256f7eef11566572c678df..811a44c1b3d9d01149b0fa9ee870546c497c0353 100644 --- a/doc/README.txt +++ b/doc/README.win32 @@ -1,4 +1,4 @@ -$Id: README.txt,v 1.6 2003-02-21 06:56:57 geuzaine Exp $ +$Id: README.win32,v 1.1 2003-03-01 22:50:48 geuzaine Exp $ For Windows versions of Gmsh only: ================================== diff --git a/doc/VERSIONS.tmp b/doc/VERSIONS.tmp deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000