Qual: Move dev documentation into dev directory
This commit is contained in:
parent
06e51a492d
commit
6f7fb4ce5a
@ -1,44 +1,44 @@
|
|||||||
Signification des chiffres.
|
Signification des chiffres.
|
||||||
|
|
||||||
- 2 chiffres pour le code pays ou code système
|
- 2 chiffres pour le code pays ou code systeme
|
||||||
- 5 chiffres pour l'identificateur de société
|
- 5 chiffres pour l'identificateur de societe
|
||||||
- 5 chiffres pour l'identificateur d'article
|
- 5 chiffres pour l'identificateur d'article
|
||||||
- 1 chiffre pour la somme de contrôle
|
- 1 chiffre pour la somme de controle
|
||||||
|
|
||||||
Cette règle subit de nombreuses entorses pour améliorer l'usage des chiffres disponibles.
|
Cette regle subit de nombreuses entorses pour ameliorer l'usage des chiffres disponibles.
|
||||||
Voici la liste des codes pays ou système :
|
Voici la liste des codes pays ou systeme :
|
||||||
|
|
||||||
|
|
||||||
00 à 13 UCC (Etats-Unis et Canada)
|
00 <EFBFBD> 13 UCC (Etats-Unis et Canada)
|
||||||
20 à 29 Codification interne en magasin
|
20 <EFBFBD> 29 Codification interne en magasin
|
||||||
30 à 37 GENCOD-EAN France
|
30 <EFBFBD> 37 GENCOD-EAN France
|
||||||
380 BCCI (Bulgarie)
|
380 BCCI (Bulgarie)
|
||||||
383 SANA (Slovénie)
|
383 SANA (Slovenie)
|
||||||
385 CRO-EAN (Croatie)
|
385 CRO-EAN (Croatie)
|
||||||
387 EAN-BIH (Bosnie-Herzégovine)
|
387 EAN-BIH (Bosnie-Herzegovine)
|
||||||
400 à 440 CCG (Allemagne)
|
400 <EFBFBD> 440 CCG (Allemagne)
|
||||||
45 + 49 Distribution Code Center – DCC (Japon)
|
45 + 49 Distribution Code Center <EFBFBD> DCC (Japon)
|
||||||
460 à 469 UNISCAN - EAN Russie (Fédération de Russie)
|
460 <EFBFBD> 469 UNISCAN - EAN Russie (Federation de Russie)
|
||||||
471 CAN (Taiwan)
|
471 CAN (Taiwan)
|
||||||
474 EAN Estonie
|
474 EAN Estonie
|
||||||
475 EAN Lettonie
|
475 EAN Lettonie
|
||||||
476 EAN Azerbaï djan
|
476 EAN Azerba<EFBFBD> djan
|
||||||
477 EAN Lituanie
|
477 EAN Lituanie
|
||||||
478 EAN Ouzbékistan
|
478 EAN Ouzbekistan
|
||||||
479 EAN Sri Lanka
|
479 EAN Sri Lanka
|
||||||
480 PANC (Philippines)
|
480 PANC (Philippines)
|
||||||
481 EAN Biélorussie
|
481 EAN Bielorussie
|
||||||
482 EAN Ukraine
|
482 EAN Ukraine
|
||||||
484 EAN Moldavie
|
484 EAN Moldavie
|
||||||
485 EAN Arménie
|
485 EAN Armenie
|
||||||
486 EAN Georgie
|
486 EAN Georgie
|
||||||
487 EAN Kazakhstan
|
487 EAN Kazakhstan
|
||||||
489 HKANA (Hong Kong)
|
489 HKANA (Hong Kong)
|
||||||
50 E Centre UK
|
50 E Centre UK
|
||||||
520 HELLCAN-EAN HELLAS (Grèce)
|
520 HELLCAN-EAN HELLAS (Grece)
|
||||||
528 EAN Liban
|
528 EAN Liban
|
||||||
529 EAN Chypre
|
529 EAN Chypre
|
||||||
531 EAN-MAC (FYR Macédonie)
|
531 EAN-MAC (FYR Mac<EFBFBD>donie)
|
||||||
535 EAN Malte
|
535 EAN Malte
|
||||||
539 EAN Irlande
|
539 EAN Irlande
|
||||||
54 ICODIF/EAN Belgique. Luxembourg
|
54 ICODIF/EAN Belgique. Luxembourg
|
||||||
@ -51,7 +51,7 @@ Voici la liste des codes pays ou syst
|
|||||||
600 - 601 EAN Afrique du Sud
|
600 - 601 EAN Afrique du Sud
|
||||||
609 EAN Ile Maurice
|
609 EAN Ile Maurice
|
||||||
611 EAN Maroc
|
611 EAN Maroc
|
||||||
613 EAN Algérie
|
613 EAN Algerie
|
||||||
619 Tunicode (Tunisie)
|
619 Tunicode (Tunisie)
|
||||||
621 EAN Syrie
|
621 EAN Syrie
|
||||||
622 EAN Egypte
|
622 EAN Egypte
|
||||||
@ -60,48 +60,48 @@ Voici la liste des codes pays ou syst
|
|||||||
628 EAN Arabie Saoudite
|
628 EAN Arabie Saoudite
|
||||||
64 EAN Finlande
|
64 EAN Finlande
|
||||||
690 - 693 Article Numbering Centre of China - ANCC (Chine)
|
690 - 693 Article Numbering Centre of China - ANCC (Chine)
|
||||||
70 EAN Norge (Norvège)
|
70 EAN Norge (Norvege)
|
||||||
729 Israeli Bar Code Association – EAN Israël
|
729 Israeli Bar Code Association <EFBFBD> EAN Israel
|
||||||
73 EAN Suède
|
73 EAN Suede
|
||||||
740 EAN Guatemala
|
740 EAN Guatemala
|
||||||
741 EAN El Salvador
|
741 EAN El Salvador
|
||||||
742 ICCC (Honduras)
|
742 ICCC (Honduras)
|
||||||
743 EAN Nicaragua
|
743 EAN Nicaragua
|
||||||
744 EAN Costa Rica Panama
|
744 EAN Costa Rica Panama
|
||||||
746 746 EAN République Dominicaine
|
746 746 EAN Republique Dominicaine
|
||||||
750 AMECE (Mexique)
|
750 AMECE (Mexique)
|
||||||
759 EAN Venezuela
|
759 EAN Venezuela
|
||||||
76 EAN (Schweiz, Suisse, Svizzera)
|
76 EAN (Schweiz, Suisse, Svizzera)
|
||||||
770 IAC (Colombie)
|
770 IAC (Colombie)
|
||||||
773 EAN Uruguay
|
773 EAN Uruguay
|
||||||
775 APC - EAN Peru (Pérou)
|
775 APC - EAN Peru (Perou)
|
||||||
777 EAN Bolivie
|
777 EAN Bolivie
|
||||||
779 CODIGO - EAN Argentine
|
779 CODIGO - EAN Argentine
|
||||||
780 EAN Chili
|
780 EAN Chili
|
||||||
784 EAN Paraguay
|
784 EAN Paraguay
|
||||||
786 ECOP (Equateur)
|
786 ECOP (Equateur)
|
||||||
789 EAN Brésil
|
789 EAN Bresil
|
||||||
80 à 83 INDICOD (Italie)
|
80 <EFBFBD> 83 INDICOD (Italie)
|
||||||
84 AECOC (Espagne)
|
84 AECOC (Espagne)
|
||||||
850 Camera de Comercio de la Republica de Cuba (Cuba)
|
850 Camera de Comercio de la Republica de Cuba (Cuba)
|
||||||
858 EAN Slovaquie
|
858 EAN Slovaquie
|
||||||
859 EAN République Tchèque
|
859 EAN Republique Tcheque
|
||||||
860 EAN YU (Yougoslavie)
|
860 EAN YU (Yougoslavie)
|
||||||
867 EAN DPR Korea (Corée du Nord)
|
867 EAN DPR Korea (Coree du Nord)
|
||||||
869 Union of Chambers of Commerce of Turkey (Turquie)
|
869 Union of Chambers of Commerce of Turkey (Turquie)
|
||||||
87 EAN Nederland (Hollande)
|
87 EAN Nederland (Hollande)
|
||||||
880 EAN Korea (Corée du Sud)
|
880 EAN Korea (Coree du Sud)
|
||||||
885 EAN Thaï lande
|
885 EAN Thailande
|
||||||
888 SANC (Singapour)
|
888 SANC (Singapour)
|
||||||
890 EAN Inde
|
890 EAN Inde
|
||||||
893 EAN Vietnam
|
893 EAN Vietnam
|
||||||
899 EAN Indonésie
|
899 EAN Indonesie
|
||||||
90 - 91 EAN Autriche
|
90 - 91 EAN Autriche
|
||||||
93 EAN Australie
|
93 EAN Australie
|
||||||
94 EAN Nouvelle Zélande
|
94 EAN Nouvelle Zelande
|
||||||
955 Malaysian Article Numbering Council (MANC) - Malaisie
|
955 Malaysian Article Numbering Council (MANC) - Malaisie
|
||||||
977 Publications sérielles (ISSN)
|
977 Publications sirielles (ISSN)
|
||||||
978 - 979 Livres (ISBN)
|
978 - 979 Livres (ISBN)
|
||||||
980 Reçus de remboursement
|
980 Refus de remboursement
|
||||||
981 - 982 Coupons (monnaie courante)
|
981 - 982 Coupons (monnaie courante)
|
||||||
99 Coupons
|
99 Coupons
|
||||||
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
@ -1,5 +0,0 @@
|
|||||||
comptahtml
|
|
||||||
compta
|
|
||||||
dolibarr-doxygen2.conf
|
|
||||||
html
|
|
||||||
spec
|
|
||||||
@ -1,44 +0,0 @@
|
|||||||
README (english)
|
|
||||||
--------------------------------
|
|
||||||
Developper guide
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
***** Doxygen documentation
|
|
||||||
|
|
||||||
Doxygen documentation for Dolibarr source code can be generated by running
|
|
||||||
the script:
|
|
||||||
> perl dolybarr-doxygen-build.pl
|
|
||||||
|
|
||||||
Prerequite is only having Doxygen installed (Linux or Windows).
|
|
||||||
|
|
||||||
|
|
||||||
***** Build a patch
|
|
||||||
|
|
||||||
To build a patch between two directories, you can use the following diff command:
|
|
||||||
diff -Naur --exclude=CVS --exclude=.# --exclude=~ --exclude=documents --exclude=phplot5 --exclude=phplot --exclude=scriptaculous --exclude=treemenu --exclude *.htm --exclude samples dolibarr_old dolibarr_new > mydiff.patch
|
|
||||||
|
|
||||||
|
|
||||||
***** Build a release
|
|
||||||
|
|
||||||
This is all steps required to build a release od Dolibarr x.x:
|
|
||||||
* Check there is no more major bug reports, nor running developments.
|
|
||||||
* Run a CVS update.
|
|
||||||
* Update the ChangeLog file.
|
|
||||||
* Check that file build/tgz/tar.exclude excludes all non expected files.
|
|
||||||
* Run script build/dolibarr_mysql2pgsql.pl and commit/add new files.
|
|
||||||
* Update and commit file htdocs/master.inc.php to include new version constant.
|
|
||||||
* Update and commit file doc/dev/dolibarr-doxygen.conf to include new version constants.
|
|
||||||
* Update and commit file build/makepack-dolibarr.pl to include new version constants.
|
|
||||||
* Check all CVS commits are done.
|
|
||||||
* Run script makepack-dolibarr.pl
|
|
||||||
* Tagg CVS with tag DOLIBARR_x_x_BETA or DOLIBARR_x_x for a release with option "overwrite tags if exists"
|
|
||||||
* Upload script to Dolibarr web site
|
|
||||||
* Add a news on Dolibarr Web site
|
|
||||||
* Create a branch for version x.x
|
|
||||||
|
|
||||||
|
|
||||||
***** Other developper documentation
|
|
||||||
|
|
||||||
More information is available on Dolibarr web site:
|
|
||||||
> http://www.dolibarr.org/
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
README (French)
|
|
||||||
--------------------------------
|
|
||||||
Documentation developpeur
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
***** Documentation doxygen
|
|
||||||
|
|
||||||
La documentation doxygen des sources de Dolibarr peut etre généré en lançant
|
|
||||||
la commande:
|
|
||||||
> perl dolybarr-doxygen-build.pl
|
|
||||||
|
|
||||||
Le prerequis est d'avoir Doxygen installé (Linux ou Windows).
|
|
||||||
|
|
||||||
|
|
||||||
***** Build a patch
|
|
||||||
|
|
||||||
Pour construire un patch entre deux répertoires, il faut utiliser la commande diff suivante:
|
|
||||||
diff -Naur --exclude=CVS --exclude=.# --exclude=~ --exclude=documents --exclude=phplot5 --exclude=phplot --exclude=scriptaculous --exclude=treemenu --exclude *.htm --exclude samples dolibarr_old dolibarr_new > mydiff.patch
|
|
||||||
|
|
||||||
|
|
||||||
***** Autre documentation développeur
|
|
||||||
|
|
||||||
D'autres informations sont disponibles sur le site Web Dolibarr:
|
|
||||||
> http://www.dolibarr.fr/
|
|
||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1,40 +0,0 @@
|
|||||||
#!/usr/bin/perl
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
# Lance la generation de la doc dev doxygen
|
|
||||||
#
|
|
||||||
# \version $Id$
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Detecte repertoire du script
|
|
||||||
($DIR=$0) =~ s/([^\/\\]+)$//;
|
|
||||||
$DIR||='.';
|
|
||||||
$DIR =~ s/([^\/\\])[\\\/]+$/$1/;
|
|
||||||
|
|
||||||
$OPTIONS="";
|
|
||||||
#$OPTIONS="-d Preprocessor";
|
|
||||||
|
|
||||||
$CONFFILE="dolibarr-doxygen.doxyfile";
|
|
||||||
|
|
||||||
use Cwd;
|
|
||||||
my $dir = getcwd;
|
|
||||||
|
|
||||||
print "Current dir is: $dir\n";
|
|
||||||
print "Running dir for doxygen must be: $DIR\n";
|
|
||||||
|
|
||||||
if (! -s $CONFFILE)
|
|
||||||
{
|
|
||||||
print "Error: current directory for building Dolibarr doxygen documentation is not correct.\n";
|
|
||||||
print "\n";
|
|
||||||
print "Change your current directory then, to launch the script, run:\n";
|
|
||||||
print '> perl dolibarr-doxygen-build.pl (on Windows)'."\n";
|
|
||||||
print '> perl dolibarr-doxygen-build.pl (on Linux or BSD)'."\n";
|
|
||||||
sleep 4;
|
|
||||||
exit 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
print "Running doxygen, please wait...\n";
|
|
||||||
$result=`doxygen $OPTIONS $CONFFILE 2>&1`;
|
|
||||||
|
|
||||||
print $result;
|
|
||||||
|
|
||||||
0;
|
|
||||||
@ -1,89 +0,0 @@
|
|||||||
#!/usr/bin/perl
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
# \brief This script is a preprocessor for PHP files to be used
|
|
||||||
# on PHP source files before running Doxygen.
|
|
||||||
# \version $Id$
|
|
||||||
# \author Laurent Destailleur
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Usage: dolibarr-doxygen-filter.pl pathtofilefromdolibarrroot
|
|
||||||
|
|
||||||
$file=$ARGV[0];
|
|
||||||
if (! $file)
|
|
||||||
{
|
|
||||||
print "Usage: dolibarr-doxygen-filter.pl pathtofilefromdolibarrroot\n";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
open(FILE,$file) || die "Failed to open file $file";
|
|
||||||
while (<FILE>)
|
|
||||||
{
|
|
||||||
if ($_ =~ /\\version\s/i)
|
|
||||||
{
|
|
||||||
$_ =~ s/\$Id://i;
|
|
||||||
$_ =~ s/(Exp|)\s\$$//i;
|
|
||||||
$_ =~ s/(\\version\s+)[^\s]+\s/$1/i;
|
|
||||||
$_ =~ s/(\w)\s(\w)/$1_$2/g;
|
|
||||||
}
|
|
||||||
$_ =~ s/exit\s*;/exit(0);/i;
|
|
||||||
$i=0;
|
|
||||||
$len=length($_);
|
|
||||||
$s="";
|
|
||||||
$insidequote=0;
|
|
||||||
$insidedquote=0;
|
|
||||||
$ignore="";
|
|
||||||
while ($i < $len)
|
|
||||||
{
|
|
||||||
$c=substr($_,$i,1);
|
|
||||||
if ($c eq "\\")
|
|
||||||
{
|
|
||||||
if ($insidequote) { $ignore="'"; };
|
|
||||||
if ($insidedquote) { $ignore="\""; };
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if ($c eq "'")
|
|
||||||
{
|
|
||||||
if (! $insidedquote)
|
|
||||||
{
|
|
||||||
$c="\"";
|
|
||||||
#print "X".$ignore;
|
|
||||||
if ($ignore ne "'")
|
|
||||||
{
|
|
||||||
#print "Z".$ignore;
|
|
||||||
$insidequote++;
|
|
||||||
if ($insidequote == 2)
|
|
||||||
{
|
|
||||||
$insidequote=0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#print "X".$insidequote;
|
|
||||||
}
|
|
||||||
elsif ($c eq "\"")
|
|
||||||
{
|
|
||||||
#print "Y".$insidequote;
|
|
||||||
if ($insidequote)
|
|
||||||
{
|
|
||||||
$c="'";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if ($ignore ne "\"")
|
|
||||||
{
|
|
||||||
$insidedquote++;
|
|
||||||
if ($insidedquote == 2)
|
|
||||||
{
|
|
||||||
$insidedquote=0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$ignore="";
|
|
||||||
}
|
|
||||||
$s.=$c;
|
|
||||||
$i++;
|
|
||||||
}
|
|
||||||
print $s;
|
|
||||||
}
|
|
||||||
close(FILE);
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
#!/usr/bin/perl
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
# Script to get version of a source file
|
|
||||||
# Does not work with cygwin cvs command on Windows.
|
|
||||||
#
|
|
||||||
# \version $Id$
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Usage: dolibarr-doxygen-getversion.pl pathtofilefromdolibarrroot
|
|
||||||
|
|
||||||
$file=$ARGV[0];
|
|
||||||
if (! $file)
|
|
||||||
{
|
|
||||||
print "Usage: dolibarr-doxygen-getversion.pl pathtofilefromdolibarrroot\n";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
$commande='cvs status "'.$file.'" | sed -n \'s/^[ \]*Working revision:[ \t]*\([0-9][0-9\.]*\).*/\1/p\'';
|
|
||||||
#print $commande;
|
|
||||||
$result=`$commande 2>&1`;
|
|
||||||
|
|
||||||
print $result;
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user