Re: [AD] CVS woes

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I got all the messages from alleg-commits properly these days, as if
> everything was ok.

Then the commits really happened.

> I used the online CVS browser to compare your log with current CVS
> status... It seems all commits starting from June, the 16th (inclusive)
> were registered by alleg-commits but didn't actually get into CVS. The
> online browser doesn't report these changes infact. Can you confirm this?

Did you see the note on the frontpage of the CVS browser?

"NOTE: ViewCVS is currently running against the backup CVS server; data shown 
may be up to 24 hours old. 0"

I've attached the ChangeLog with the revision numbers, as well as a Perl 
script of mine. Put them both in the Allegro CVS directory and run the 
script on the ChangeLog file, it will retrieve the patches one by one so 
that you'll be able to check what is really in.

-- 
Eric Botcazou
2003-06-18 20:47  lillo

	* docs/build/macosx.txt (1.8): documented the install-man target

2003-06-18 10:08  ebotcazou

	* src/midi.c (1.19): Made the MIDI player handle the 'All Sound
	Off' controller message.

2003-06-16 23:20  lillo

	* include/allegro/platform/aintosx.h (1.16): Fix for missing
	NSAppKitVersionNumber10_1 definition on 10.1.x

2003-06-16 22:54  lillo

	* docs/build/macosx.txt (1.7), include/allegro/platform/alosx.h
	(1.9), src/macosx/qzmouse.m (1.6): Mouse detection doesn't seem to
	work under OSX.1.x... This patch works around this by skipping
	detection if necessary, assuming an 1-button mouse is always there.

2003-06-16 18:15  ebotcazou

	* src/fsel.c (1.38): Fixed the dimensions of the message box.

2003-06-16 18:07  elias

	* docs/src/allegro._tx (1.165): updated documentation of
	d_ctext_proc with respect to a change on 02/08

2003-06-16 14:49  ebotcazou

	* src/gui.c (1.64): Made the menus not block on exit when mouse
	buttons are still being held down.

2003-06-16 13:00  ebotcazou

	* docs/src/allegro._tx (1.164): Vincent fixed a typo.

2003-06-15 15:16  gradha

	* docs/src/allegro._tx (1.163): Improving description of
	set_gfx_mode about virtual screen sizes and hardware scrolling by
	suggestion of Lothar May.

2003-06-15 13:26  ebotcazou

	* src/midi.c (1.18): Chris Jones let the MIDI player pass
	controller events to the raw player by default.

2003-06-14 21:55  gradha

	* makefile.in (1.49): Correcting the path

2003-06-14 21:13  lillo

	* src/macosx/hidjoy.m (1.2): Fixed previously inverted hat up/down
	asis increments

2003-06-14 13:52  lillo

	* makefile.osx (1.20): Updated makefile

2003-06-14 13:52  lillo

	* src/unix/: uptimer.c (1.7), uthreads.c (1.13): pthread_sigmask()
	doesn't work under MacOS X

2003-06-14 12:55  gradha

	* makefile.in (1.48): Expanding the uninstall-man target to remove
	man pages for examples, structures and typedefs.

2003-06-14 12:36  lillo

	* todo.txt (1.163): Updated MacOSX todo list

2003-06-14 11:48  lillo

	* demo/demo.c (1.20), docs/src/allegro._tx (1.162),
	examples/ex12bit.c (1.9), examples/ex3buf.c (1.9), examples/ex3d.c
	(1.11), examples/exaccel.c (1.6), examples/excolmap.c (1.11),
	examples/exflame.c (1.7), examples/exquat.c (1.11),
	examples/exscale.c (1.6), examples/exscroll.c (1.6),
	examples/exstars.c (1.11), examples/exunicod.c (1.9),
	examples/exzbuf.c (1.10), include/allegro/internal/alconfig.h
	(1.14), include/allegro/platform/alosxcfg.h (1.2), tests/test.c
	(1.27), tools/plugins/datworms.c (1.3): Commited the AL_RAND()
	patch

2003-06-13 00:21  lillo

	* makefile.all (1.37), makefile.osx (1.19): Made OSX clean target
	not to use -v (not working on 10.1.x) and added an install-man
	target

2003-06-12 18:27  lillo

	* todo.txt (1.162): updated todo

2003-06-12 17:37  lillo

	* src/macosx/: drivers.m (1.4), hidman.m (1.4): forgot to commit
	drivers.m and to remove debug stuff from hidman.m

2003-06-12 17:30  lillo

	* makefile.lst (1.88), include/allegro/platform/aintosx.h (1.15),
	src/macosx/hidjoy.m (1.1), src/macosx/hidman.m (1.3): Got an USB
	joystick so here is the implemented HID joystick driver :)

2003-06-11 20:13  ebotcazou

	* src/win/: wddaccel.c (1.12), wddovl.c (1.44), wddraw.h (1.36):
	Henrik fixed the compilation for Borland C++.

2003-06-11 19:38  ebotcazou

	* src/: fsel.c (1.37), win/wddbmp.c (1.30), win/wdsinput.c (1.10),
	win/wdsndmix.c (1.18), win/wgdi.c (1.33), win/wmouse.c (1.31),
	win/wsndwo.c (1.17): Henrik spotted unused variables.

2003-06-11 15:38  lillo

	* makefile.osx (1.18): Another round of little fixes to compile on
	10.1.x

2003-06-10 21:28  lillo

	* makefile.osx (1.17), include/allegro/platform/aintosx.h (1.14),
	src/macosx/system.m (1.16): More fixes to make the lib to compile
	with OSX.1.x

2003-06-09 12:58  ebotcazou

	* docs/src/: allegro._tx (1.161), makedoc/makechm.c (1.9): Jim
	Grainger spotted a broken link and updated it.

2003-06-08 21:26  gradha

	* misc/genexamp.py (1.3): Now stentences starting with 'Modified
	by' are also ignored.

2003-06-08 16:51  lillo

	* makefile.osx (1.16), include/allegro/platform/aintosx.h (1.13),
	src/macosx/main.m (1.13), src/macosx/keybd.m (1.5): Patch to make
	the lib to compile with April 2002 Developer Tools

2003-06-08 15:15  ebotcazou

	* docs/src/allegro._tx (1.160): Updated the section of examples
	after Elias and Andrei patches.

2003-06-08 14:40  ebotcazou

	* src/win/wdsound.c (1.38): Javier fixed some problems in the
	DirectSound streaming.

2003-06-07 15:01  lillo

	* makefile.osx (1.15), include/allegro/platform/alosx.h (1.8),
	src/macosx/qzfull.m (1.12): Hopefully fixed compiling under OSX
	10.1.x

2003-06-07 11:27  ebotcazou

	* examples/exrgbhsv.c (1.9): Andrei Ellman improved the example.

2003-06-07 10:34  ebotcazou

	* src/color.c (1.19): Andrei Ellman corrected a rounding issue in
	hsv_to_rgb().

2003-06-07 01:17  lillo

	* makefile.osx (1.14): Static linking requires Carbon

2003-06-07 00:36  lillo

	* src/macosx/qzwindow.m (1.13): small bugfix

2003-06-07 00:32  lillo

	* src/macosx/qzwindow.m (1.12): reduced CPU usage by skipping view
	locking and flushing if no dirty lines are found in the window
	updater routine

2003-06-06 23:51  lillo

	* todo.txt (1.161), src/macosx/qzwindow.m (1.11): Found and fixed a
	bug that was causing random crashes at windowed mode startup

2003-06-06 23:17  lillo

	* src/macosx/hidman.m (1.2): Fixed a small memory leak

2003-06-06 17:21  lillo

	* include/allegro/platform/aintosx.h (1.12), src/macosx/main.m
	(1.12), src/macosx/qzfull.m (1.11): Moved palette updating to the
	main thread to speed it up

2003-06-05 21:08  lillo

	* makefile.osx (1.13), src/macosx/system.m (1.15): little makefiles
	tweaks, added a local autorelease pool to the events handler to
	remove memory leaks

2003-06-04 10:52  ebotcazou

	* include/allegro/internal/aintern.h (1.14), src/libc.c (1.12):
	Minor fixes.

2003-06-04 10:33  ebotcazou

	* include/allegro/internal/aintern.h (1.13): Merged former rand.h
	in aintern.h

2003-06-04 10:28  ebotcazou

	* include/allegro/rand.h (1.2): [no log message]

2003-06-03 21:34  lillo

	* include/allegro/rand.h (1.1), src/colblend.c (1.6), src/libc.c
	(1.11): Added _al_rand() and replaced rand() with it all over the
	library

2003-06-03 16:40  elias

	* docs/src/allegro._tx (1.159): added note about length of buffer
	used by d_edit_proc

2003-06-03 14:25  lillo

	* docs/build/macosx.txt (1.6): made docs aware of fixbundle

2003-06-03 14:01  elias

	* examples/excustom.c (1.11): moved big font example to excustom,
	and fixed d_edit_box string length

2003-06-03 13:38  elias

	* tools/grabber.c (1.66): made d_edit_proc strings in grabber big
	enough

2003-06-03 11:13  lillo

	* tools/macosx/fixbundle.c (1.2): Removed END_OF_MAIN trailing
	semi-colon

2003-06-03 02:08  lillo

	* src/macosx/hidman.m (1.1): Forgot to commit this

2003-06-03 02:06  lillo

	* makefile.lst (1.87), makefile.osx (1.12), todo.txt (1.160),
	include/allegro/platform/aintosx.h (1.11),
	include/allegro/platform/alosx.h (1.7), src/macosx/quartz.m (1.6),
	src/macosx/qzfull.m (1.10), src/macosx/qzmouse.m (1.5),
	src/macosx/qzwindow.m (1.10), src/macosx/system.m (1.14): Small
	bugfixes, code cleanups, removed Carbon dependency, implemented
	unified HID Manager interface for both mouse and future joystick
	driver and consequently fixed mouse buttons detection

2003-06-03 02:02  lillo

	* tools/macosx/fixbundle.c (1.1): Added fixbundle utility

2003-06-03 00:32  ebotcazou

	* tools/grabber.c (1.65): Added the possibility to fold/unfold
	nested datafiles in the grabber.

#! /usr/bin/perl -w
#
#  Perl script for retrieving the actual diffs described
#  by a ChangeLog file generated by the cvs2cl script.
#
#  Usage: cl2diff ChangeLog [prefix]


# CVS command for retrieving a regular diff
my $cvsdiff = "cvs diff -u";

# CVS command for retrieving a plain file
my $cvsget = "cvs -q update -p";


# main routine: process_entry (filename, entry)
sub process_entry ($$) {
   my $filename = $_[0];
   my $entry = $_[1];

   # directory entry
   ($dir) = $entry =~ /(\w[\w\/]*\/):/;

   # file entries
   %revisions = $entry =~ /(\w[\w\.\/\-]*) \(([\d]+\.[\d]+)\)/g;

   # open diff file
   open DIFF, "> $filename" or die "Can't open diff $filename\n";

   # retrieving loop
   foreach $file (keys %revisions) {
      $r = $revisions{$file};

      # append directory to filename
      $file = $dir.$file;

      # split revision number
      ($int, $frac) = split /\./, $r;

      if (--$frac) {
	 # regular diffing operation
	 $cmd = $cvsdiff." -r$int.$frac -r$r ".$file;
      }
      else {
	 # retrieve first revision
	 $cmd = $cvsget." -r$r ".$file;
	 print DIFF "Index: $file ADDED\n";
	 print DIFF "===================================================================\n";
      }

      # copy CVS data in diff file
      # print DIFF "$cmd\n";
      open CVS, "$cmd |" or die "$cmd aborted";
      print DIFF while <CVS>;
      close CVS;
   }

   # close diff file
   close DIFF;
}


# process arguments
if (not ($f1 = shift)) {
   printf "Usage: cl2diff ChangeLog [prefix]\n";
   exit
}

if (not ($prefix = shift)) {
   $prefix = "patch";
}


# open the ChangeLog file
open CHANGELOG, $f1 or die "Can't open input file $f1\n";

printf "Retrieving diffs described by $f1...\n\n";


# our variables
my $ndiff = 0;
my $entry = "";
my $filename = "";


# processing loop
while ($l1 = <CHANGELOG>) {
   if ($l1 =~ /^\d+-\d+-\d+.*/) {
      # header line
      $filename = sprintf "$prefix%03d.diff", ++$ndiff;

      # record diff filename
      chomp $l1;
      print "$l1\t$filename\n";
   }
   elsif ($l1 eq "\n") {
      # empty line
      if ($entry) {
	 # process this entry
	 process_entry ($filename, $entry);

	 # we are done with this entry
	 $entry = "";
      }
      print "\n";
   }
   else {
      # regular entry
      print $l1;

      # remove EOLs
      $l1 =~ s/\n//g;

      # turn TABs into SPACEs
      $l1 =~ s/\t/ /g;

      # record it
      $entry .= $l1;
   }
}


# the ChangeLog may lack a trailing empty line
if ($entry) {
   process_entry ($filename, $entry);
}


print "\n$ndiff diffs retrieved.\n";

close CHANGELOG;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/