/[CvsGraph]/cvsgraph/utils.h
ViewVC logotype

Annotate of /cvsgraph/utils.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations)
Sun Mar 4 01:38:23 2001 UTC (16 years, 9 months ago) by bertho
Branch: MAIN
CVS Tags: merge_automake_dev1_20080521, source_automake_dev1_20080521, merge_head_20080521, REL_1_2_0, REL_1_6_1, REL_1_4_0, REL_1_4_1, REL_1_3_0, REL_1_5_1, REL_1_5_0, REL_1_5_2, REL_1_6_2, REL_1_6_0, REL_1_1_2, REL_1_7_0, REL_1_1_1, REL_1_1_0, REL_1_1_3, source_head_20080521, HEAD
Branch point for: svn-integration, automake-dev1
Changes since 1.2: +4 -0 lines
File MIME type: text/plain
Major update of the code.
- Complete new method of getting the revision structure by directly
  reading the rcs/cvs file. This should also speed things a bit
  because no external program needs to be called anymore.
  This also means that "remote-graphs" are no longer a possible
  extension of the program. But, who cares.
- Implemented branch-kerning to save place. The images are now
  much smaller in width, dependent on the settings of the exterior
  margins.
- Fixed disjoint braches by reading the structure direct from the
  rcs/cvs file. The revision/branch structure is no longer determined
  from the revision numbers, but solely from the rcs/cvs file structure.
- Fixed display of branches with no revisions attached to them. These
  only have a tag describing the new branch.
1 bertho 1.1 /*
2     * CvsGraph graphical representation generator of brances and revisions
3     * of a file in cvs/rcs.
4     *
5     * Copyright (C) 2001 B. Stultiens
6     *
7     * This program is free software; you can redistribute it and/or modify
8     * it under the terms of the GNU General Public License as published by
9     * the Free Software Foundation; either version 2 of the License, or
10     * (at your option) any later version.
11     *
12     * This program is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the GNU General Public License
18     * along with this program; if not, write to the Free Software
19     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20     */
21    
22     #ifndef __UTILS_H
23     #define __UTILS_H
24    
25     void *xmalloc(size_t s);
26     void *xrealloc(void *a, size_t s);
27     char *xstrdup(const char *s);
28     void xfree(void *p);
29    
30 bertho 1.3 int rcserror(const char *fmt, ...);
31 bertho 1.1 int yyerror(const char *fmt, ...);
32 bertho 1.2 int yywarning(const char *fmt, ...);
33 bertho 1.3
34     extern const char *input_file;
35     extern int quiet;
36 bertho 1.1
37     #endif
38    

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0