commit 844a967b9793a100d221f357d1110fa68176da49
Author: Dan Dennedy <dan@dennedy.org>
Date:   Sat Dec 26 17:09:52 2009 -0800

    Update ChangeLog for release.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit ab02c6ae531bc31f3f5d8033790beadbe32b8d75
Author: Dan Dennedy <dan@dennedy.org>
Date:   Sat Dec 26 17:09:07 2009 -0800

    Set to version 2.0.5.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 7fd7f4b5a4ba676ac75a5ec3608d44b4c7ecd2e4
Author: Dan Dennedy <dan@dennedy.org>
Date:   Sat Dec 26 08:28:31 2009 -0800

    Update ChangeLog for release.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 284f2d9e7340d0ea80107e7b1673258557b35e4a
Author: Dan Dennedy <dan@dennedy.org>
Date:   Sat Dec 26 08:25:43 2009 -0800

    Update release notes.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 4c4d62f248d1c58a0cbd35d19f8ffda9bb4551f7
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Mon Nov 23 21:37:48 2009 +0100

    Addendum to 'Calculate iso receive cycles on firewire-core'
    
    The number of packets is a 4th of the number of header bytes (in case of
    ABI version 1).  Also, wrap after an increment over 8000.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

commit 72e5368aedd7eb964c1dcc14f11fa3188e9368c6
Author: Jay Fenlason <fenlason@redhat.com>
Date:   Thu Nov 19 15:00:02 2009 -0500

    Initialize unused fields in ioctl arguments
    
    This change is essentially cosmetic:  Set fields of structs passed to
    the kernel via ioctl so that valgrind will not complain about them.
    
    Signed-off-by: Jay Fenlason <fenlason@redhat.com>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (changelog, comments)

commit 4e2fd98144d37bf73197e7058f8f6685acd748d9
Author: Jay Fenlason <fenlason@redhat.com>
Date:   Thu Nov 19 15:00:02 2009 -0500

    Calculate iso receive cycles on firewire-core at ABI version 1
    
    More accurately report the cycle on which isochronous packets were
    received.  Only affects libraw1394 when used with kernel 2.6.29 or
    older.
    
    Signed-off-by: Jay Fenlason <fenlason@redhat.com>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (changelog, whitespace)

commit ce82d255efa4d748e4ade922f71796a502a19c27
Author: Jay Fenlason <fenlason@redhat.com>
Date:   Thu Nov 19 15:00:02 2009 -0500

    Fix reporting of isochronous transmit cycles on firewire-core
    
    While firewire-core's iso reception ABI was fixed in its version 2 to
    report the cycle of each received packet to userspace like rawiso does,
    this same enhancement was forgotten to add to the iso transmission ABI,
    causing FFADO to fail to set up and maintain streaming.
    
    Since kernel commit 31769cef2e973544164aa7d0db2e2024660d5e21, we also
    get iso xmit cycles in fw_cdev_event_iso_interrupt.header.  Pass these
    to the iso receive handler.  In case of older kernels, calculate cycles
    based on the cycle of the iso interrupt event.  These are inaccurate but
    better than nothing.
    
    Signed-off-by: Jay Fenlason <fenlason@redhat.com>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (changelog, whitespace)

commit 1fb09ead370c8a35d82ae53b20afdb20ea0f0243
Author: Jay Fenlason <fenlason@redhat.com>
Date:   Wed Nov 4 16:53:24 2009 -0500

    Fix default isochronous IRQ interval on firewire-core
    
    libraw1394 takes a negative IRQ interval to mean "every 256 packets"
    with the juju backend, which doesn't work well if you don't queue that
    many.  Use buf_packets / 4 like the ieee1394 version.
    
    Signed-off-by: Jay Fenlason <fenlason@redhat.com>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (order, comment)

commit e98abe588afa43af73c4f4fac1914e879215dead
Author: Dan Dennedy <dan@dennedy.org>
Date:   Sun Aug 30 23:57:54 2009 -0700

    Update reference docs using kernel-doc.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 269967eda92848e0053c5b14799b26c743af1c44
Author: Dan Dennedy <dan@dennedy.org>
Date:   Tue Jun 30 11:12:55 2009 -0700

    Fix build due to incomplete tarball.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 569d25b975c9829824431a5db3aa8ebf3da09b05
Author: Dan Dennedy <dan@dennedy.org>
Date:   Mon Jun 29 19:26:22 2009 -0700

    Update ChangeLog from git log.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit e4e88fee6a8227bf0025665236888563b78fc3b0
Author: Dan Dennedy <dan@dennedy.org>
Date:   Mon Jun 29 19:24:47 2009 -0700

    Bump to v2.0.3 and update release notes.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit cc16f4ddbe4e706041845d40270a6011a62e4c56
Author: Dan Dennedy <dan@dennedy.org>
Date:   Thu Jun 18 23:15:19 2009 -0700

    Fix build always expecting FW_DIR.
    
    Date: Sun, 14 Jun 2009 11:51:33 +0100
    From: Mike Auty <mike.auty@gmail.com>
    Subject: [patch libraw1394-2] src/makefile.am expects FW_DIR to be set,
    but configure only sets it if given --with-fw-dir
    
    Here's a very small patch for the configure system of
    libraw1394-2.0.{0,1,2}.  At the moment, if configure is called without
    --with-fw-dir, then FW_DIR doesn't get specified.  The Makefile includes
    the line INCLUDES=-I$(FW_DIR) and so in the compilation we get a -I not
    followed by anything sensible.  That can cause compilation issues in
    certain circumstances (see Gentoo bug 272540), so this patch ensures
    that INCLUDES is only set if --with-fw-dir was specified.
    
    Please let me know if there's any problems with the patch or if I've
    submitted it to the wrong place or in the wrong way.  Thanks...
    
    Mike  5:)
    
    [1] http://bugs.gentoo.org/272540
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 5824e34d08491dd80d6ec6f500c29c6b52a48a1a
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sun May 31 00:25:52 2009 +0200

    Match only /dev/fw[0-9]* as firewire-core device files
    
    Previously, /dev/fw* and hence files like /dev/fwmonitor were probed
    which may have bad effects if the client runs with access privileges.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

commit 489981d4ae905127a0f7c300e7d12161666fc0c8
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat May 30 14:16:12 2009 +0200

    Remove an unused struct member
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

commit caf94aaeab5215a3f54444fc52c57f2936facdaf
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat May 30 14:11:27 2009 +0200

    Fix memory leaks with async requests on firewire-core
    
    Each request allocated a struct request_closure which was never freed.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

commit efb814334e7c70cef7c8077f7edbc6b9980a88c7
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat May 30 13:18:59 2009 +0200

    Use new async stream ioctl
    
    This implements asynchronous streams on juju, i.e. enables
    raw1394_async_stream() and raw1394_start_async_stream() to work
    with the new firewire kernel stack.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

commit 49dda1ef90ab1c8b57634a06a35bbbacbe17604e
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sun Jan 11 22:46:48 2009 +0100

    Iso reception: Use packet timestamps in juju ABI v2
    
    In the firewire-cdev ABI v1, the kernel exported only the timestamp
    of interrupt packets.  libraw1394 estimated the cycle of all packets
    between interrupt packets by continuously incrementing the cycle.
    
    In v2 of the ABI, we can obtain an accurate timestamp of each packet
    as provided by the OHCI controller.  AFAIU, this is also what you got
    from raw1394/ ohci1394.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

commit c58e16442b16f85d76808209c4aa7c37adc62de4
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sun Jan 11 22:45:02 2009 +0100

    Use new iso resource allocation ioctls
    
    This allows raw1394_bandwidth_modify() and raw1394_channel_modify()
    to work on juju without write access to the IRM's character device file.
    
    If either the build-time requirement of firewire-cdev header ABI >= v.2
    or the runtime requirement of firewire-core ABI >= v.2 is not satisfied,
    the code falls back to transactions to the IRM as before.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

commit da5156af5a5b779b6713ab7dff569a10927ed188
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sun Jan 11 22:44:11 2009 +0100

    Use new broadcast request ioctl
    
    This implements broadcast transactions on juju.
    (Broadcast transactions are write transactions to PHY ID 63,
    not to be confused with isochronous or asynchronous streams.)
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

commit babed1e589012862a7a42ab74a586928ff9184fe
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat May 16 11:00:47 2009 +0200

    testlibraw: fix printing of local config ROM
    
    Since "testlibraw: test all cards instead of only the first", the
    actual ROM content wasn't printed anymore due to a mistake in a
    printf format string.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit cd1fb7cc84e72ab5b5f07b00111a78dca4b934a6
Author: Dan Dennedy <dan@dennedy.org>
Date:   Tue Feb 3 19:49:11 2009 -0800

    bump version to 2.0.2 and add release notes
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 775c2d6275fed21acdf3f2527ff37a05c3e8b56f
Author: Dan Dennedy <dan@dennedy.org>
Date:   Tue Feb 3 09:56:26 2009 -0800

    Change the license of the "juju" fw*.[hc] files to LGPL v2.1 as approved
    by Kristian Hogsberg in an e-mail to the linux1394-devel mailing list
    on Feb 3, 2009.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit d0e4313cb7893dc5f3f34cbe02dc376093889b9b
Author: Dan Dennedy <dan@dennedy.org>
Date:   Wed Jan 14 21:34:04 2009 -0800

    bump version and add release notes
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 8b17c2a49f8421f7d931eef7fbf2ea1bb2b04950
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sun Jan 11 22:39:17 2009 +0100

    Set errno = ENOSYS in unimplemented functions
    
    Most of them do this already, only a few missed it.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit a59532c835c2a0c403059e4dbb8a6eb6e6bce516
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat Jan 10 21:03:25 2009 +0100

    Work without permission to access local node's /dev/fw*
    
    On 10 Jan, David Moore wrote:
    > On Sat, 2009-01-10 at 19:28 +0100, Stefan Richter wrote:
    >> @@ -161,14 +160,16 @@ scan_devices(fw_handle_t handle)
    ...
    >> +		for (j = 0; j < i; j++)
    >> +			if (ports[j].card == get_info.card)
    >> +				continue;
    >> +
    >
    > That continue statement doesn't do what you intended I think.
    
    From: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Subject: [PATCH] Work without permission to access local node's /dev/fw*
    
    Fix for juju backend:
    
    libraw1394 required write permission to the character device file of
    the local node(s) in order to enumerate cards and for a number of
    other operations.  This forced users to either run applications like
    dvgrab and kino with elevated privileges, or to configure write
    permission for all /dev/fw* or at least for local nodes' /dev/fw*.
    
    We now use the first accessible file which was found for each card
    for as many tasks as possible, instead of the local node's file.
    
    This allows distributors or admins to implement stricter access
    rights (default off, e.g. only on for AV/C and IIDC devices)
    without sacrificing functionality of said class of applications.
    Access to the local node is now only required by low-level tools
    like gscanbus.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit cb8b7bf86af003ac6eeb167305c70192c4959c7b
Author: David Moore <dcm@acm.org>
Date:   Sat Dec 20 19:28:01 2008 -0800

    Fix stack corruption during juju lock transactions
    
    When performing a lock transaction (such as with fw_lock) under Juju, 4
    bytes of the stack gets corrupted.  This is because the lock transaction
    has 8 bytes of data sent and 4 bytes received.  Since the transaction
    "length" is specified as 8, handle_device_event() copies 8 bytes into
    the destination variable instead of the desired 4, and overflows into
    the stack by 4 bytes.
    
    This patch fixes the corruption by adding an extra "out_length" argument
    to the send_request() function so that both in_length and out_length can
    be specified separately.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit d69397ae8f3519cf291ba2efc173ad257376cf0d
Author: Jarod Wilson <jarod@redhat.com>
Date:   Tue Dec 9 00:08:35 2008 -0500

    Fix iso_shutdown with juju firewire stack
    
    Make iso start/stop/start sequences on the same handle, such as those used
    by apps such as MythTV behave as expected. I can finally watch video off my
    cable box over FireWire using MythTV w/the juju stack now. :)
    
    Initially, seemed a one-liner might be the ticket (setting handle->iso.fd = -1
    at the end of fw_iso_shutdown()), but that led to memory corruption and a
    locked up system. What ultimately worked was essentially mimicking what the
    old stack did to track iso state, and call fw_iso_stop() from
    fw_iso_shutdown() as needed.
    
    Nb: Only lightly tested with iso receive via MythTV, but its all fairly
    straight-forward, I think.
    
    Signed-off-by: Jarod Wilson <jarod@redhat.com>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 0c1ddb9be2884a0f5dba37f1c20f3bdb9dab2e42
Author: Dan Dennedy <dan@dennedy.org>
Date:   Sun Dec 7 23:43:49 2008 -0800

    Checking /dev/raw1394 and recommendation for creating it for the install make target is no longer relevant because opf firewire and udev.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 38a43c2736aba4a56d4d85e3980c57d8bef55e58
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sun Dec 7 14:42:02 2008 +0100

    testlibraw: test raw1394_read_cycle_timer()
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit b63022aeeb7430186d4659fcfe73070a3806df8e
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sun Dec 7 14:24:56 2008 +0100

    testlibraw: test all cards instead of only the first
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 4904ff698d4187b49b960ff54bd714ee81893ba8
Author: Dan Dennedy <dan@dennedy.org>
Date:   Sun Dec 7 23:02:27 2008 -0800

    Let fw_read_cycle_timer() use the local fd instead of requiring iso to be initialized
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit fbe1fa46c66d45af8fb93cf82d4d4344cc6d431b
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Tue Dec 2 12:48:23 2008 +0100

    [libraw1394 patch] Unify {ieee1394,fw}_bandwidth_modify()
    
    because they do the same.
    
    We only may want a separate fw_bandwidth_modify() in the future when
    firewire-core gains a special ioctl() for that.
    
    (Not runtime-tested, but it looks good to me.)
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 788442d4031ecf06f00415e865cdd776d3c579f2
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Tue Dec 2 12:39:34 2008 +0100

    [libraw1394 patch] Fix raw1394_channel_modify() on firewire-core
    (juju)
    
    Reported by Adrian Knoth:  fw_channel_modify() was unable to allocate
    some channels which were actually free.
    http://marc.info/?l=linux1394-devel&t=122818128900002
    
    This can be easily fixed by replacing fw_channel_modify() by
    ieee1394_channel_modify() because this is highlevel enough to work with
    Juju as well.  We only may want a separate fw_channel_modify() in the
    future when firewire-core gains a special ioctl() for that.
    
    Also fix a documentation typo:  raw1394_channel_modify() did not show up
    in extracted API documentation due to a cut'n'paste typo in raw1394.h.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 7b8d2703525b40c743456c4bb2e129ae515c55bb
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat Oct 18 01:25:30 2008 +0200

    Fix segfault in juju's handle_arm_request
    
    The buffer pointers were uninitialized, leading to segfault in memcpy.
    Bug report and initial version of the fix by Adrian Knoth.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 0bf8132319fe11e5d63d3757b7dcf6a8f5745400
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat Oct 18 01:25:01 2008 +0200

    Reduce nesting depth in new_handle dispatchers
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit d080bb3d83236eeb58b06dab987f4e7ed18030e0
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat Oct 18 01:24:31 2008 +0200

    Address some compiler warnings
    
    7x unused variable, 1x assignment used as truth value, 1x pointer signedness
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 531b0787f1ff297f3a932f2bbe768416a8cf8cab
Author: Erik Hovland <erik@hovland.org>
Date:   Tue Sep 30 14:05:32 2008 -0700

    Makes extra sure strings are not overrun.
    
    When using strncpy with the exact size of the destination string the
    string may end up lacking null termination because the source string is
    bigger then the destination.
    
    Signed-off-by: Erik Hovland <erik@hovland.org>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 1e532a7f9f51fc08c5048852b31046e449002345
Author: Erik Hovland <erik@hovland.org>
Date:   Tue Sep 30 14:05:32 2008 -0700

    Makes sure to check any return values
    
    The return value of any function should be checked if that function
    uses the return value to provide some sort of status information.
    
    Signed-off-by: Erik Hovland <erik@hovland.org>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 63b9d388208deef37cd80f5263e7316e8cbf1cb2
Author: Erik Hovland <erik@hovland.org>
Date:   Tue Sep 30 14:05:32 2008 -0700

    Makes sure a value is returned by the function.
    
    A function can compile without returning something always.
    
    Signed-off-by: Erik Hovland <erik@hovland.org>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 038f5f5c98612f637735e4f4752d8ca8108b0ef6
Author: Erik Hovland <erik@hovland.org>
Date:   Tue Sep 30 14:05:32 2008 -0700

    Make sure that we have the right types.
    
    When an unsigned type is assigned a signed value, the
    negatived value is never seen.
    
    Signed-off-by: Erik Hovland <erik@hovland.org>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 8ad324c971a14753c35f6135fa44dfe3c1a4bf82
Author: Erik Hovland <erik@hovland.org>
Date:   Tue Sep 30 14:05:32 2008 -0700

    Compare unsigned values instead of subtracting them.
    
    Unsigned values do not return signed values when subtracted
    and the right operand is larger then the left operand.
    
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 709d8791ceadae2c2a0cd3ef9ebdf56e4d7dd27e
Author: Erik Hovland <erik@hovland.org>
Date:   Tue Sep 30 14:05:32 2008 -0700

    Protect against resource leaks.
    
    Signed-off-by: Erik Hovland <erik@hovland.org>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 378b935fa35d9b00a36c20f8d27b489c99e1e2ef
Author: Erik Hovland <erik@hovland.org>
Date:   Tue Sep 30 14:05:32 2008 -0700

    Make sure variables are initialized before used.
    
    Signed-off-by: Erik Hovland <erik@hovland.org>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>

commit 6747abb0572e15e4192ce30b410536d4e6761837
Author: Dan Dennedy <dan@dennedy.org>
Date:   Mon Jul 21 22:01:03 2008 -0700

    dispatch.c: fix a memory leak on not deleting the raw1394 wrapper handle.

commit 99e9f575bfd7e0bbf24898377ffc0444604fbc2c
Author: Dan Dennedy <dan@dennedy.org>
Date:   Fri Jul 18 02:13:41 2008 -0700

    configure.ac, Makefile.am: drop debian from build and restore doc and tools
    to dist make target.

commit e90c205d1b4c9c00d69722377ce09e2e89830883
Author: Dan Dennedy <dan@dennedy.org>
Date:   Fri Jul 18 01:54:38 2008 -0700

    NEWS: added release notes
    Makefile.am: use git-log to generate ChangeLog on make dist.

commit 28f20b3e15537ed03a99b567b7b2ee5ab305afd1
Author: Dan Dennedy <dan@dennedy.org>
Date:   Fri Jul 18 01:08:30 2008 -0700

    Reset the libtool age.

commit 8f942654d9c2b9cd957e8e1f7eb1f29a05bbf64a
Author: Dan Dennedy <dan@dennedy.org>
Date:   Sun Jul 6 12:06:40 2008 -0700

    Change handle validation to prevent segfault and be more informative.

commit 4ce429a797a7790d5c42cb4398b54b549a01d625
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date:   Sat Jun 21 15:38:52 2008 +0200

    Fix raw1394_read_cycle_timer after juju integration
    
    The ieee1394 version of raw1394_read_cycle_timer() fell over the cliff
    in "First cut at integrating juju".  This brings it back and adds a juju
    version of it.
    
    Also correct a typo in the inline documentation: s/get/read/

commit 477b6eee6d7d2881945eb5acfc23d3930bb506b1
Author: Philippe Troin <phil@fifi.org>
Date:   Mon Jun 16 11:12:00 2008 -0400

    Plug dir leak and initialize data structs
    
    While trying to track down some crashes in kino, I found the following problems
    with libraw1394:
    
     * There is a DIR* leak in raw1394_set_port().
     * Lots of data structures are not fully initialized when calling IEEE1394
       ioctl()s.  These cause valgrind errors (benign, as valgrind does not know
       how to interpret all ioctls.  However these also cause kino to crash in
       libraw1394.  I've added a bunch of memset()s to prevent this problem from
       happening.
    
    Forward-ported to libraw1394 git tree by Jarod Wilson.

commit f9681ff59da0acca543ad5d15213c6253114f0ce
Author: Dan Dennedy <ddennedy@ddennedy.localdomain>
Date:   Wed Apr 30 14:37:28 2008 -0700

    Move the source code files in the juju directory into the src directory and
    give them 'fw' names instead of 'juju.'

commit 3b4d2eed60f88f780393568b122164f8985088b9
Author: Dan Dennedy <ddennedy@kino.dennedy.org>
Date:   Tue Apr 29 23:09:22 2008 -0700

    libraw1394.sgml, raw1394.h: remove information about deprecated isochronous
    API that has been removed.

commit 832c9c3d896562c369771c4b9df0abd1e2cbe116
Author: Dan Dennedy <ddennedy@ddennedy.localdomain>
Date:   Tue Apr 29 17:27:00 2008 -0700

    juju/raw1394-iso.c: bugfix size of mmap'ed isochronous buffer to prevent
    segfault in applications.

commit 0ea462ae9895ca903c8d3134910c06e1869560c4
Author: Dan Dennedy <ddennedy@ddennedy.localdomain>
Date:   Wed Apr 23 17:44:36 2008 -0700

    First cut at integrating juju
    This is currently working with legacy ieee1394 and tools/testlibraw.

commit 919e3999366a8a69f0ad706247004b1568d86841
Author: Dan Dennedy <ddennedy@ddennedy.localdomain>
Date:   Tue Apr 22 10:54:00 2008 -0700

    Fix configure.ac missing fi after initial merge.

commit 7c4d4970543f1829e783cc2bea2421913cc23a04
Merge: 7c3faea 8085c63
Author: Dan Dennedy <ddennedy@ddennedy.localdomain>
Date:   Tue Apr 22 10:51:50 2008 -0700

    Merge commit 'krh/juju'
    
    Conflicts:
    
    	configure.ac

commit 7c3faea62aa9d101c1d9b7d8f570752053a0ea38
Merge: bf7527e 342b660
Author: Dan Dennedy <ddennedy@ddennedy.localdomain>
Date:   Thu Mar 27 15:13:42 2008 -0700

    Merge branch 'master' of dennedy.org:git/dennedy.org/libraw1394

commit 342b660afa618b5b4d4e7194854fdd7895fcd1e4
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Thu Mar 27 21:32:51 2008 +0000

    src/eventloop.c: redo the undo (git-svn virgin at the controls)
    
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@179 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit bf7527e19ac289b47c709e56eda0f0ed917d4b2f
Merge: a118281 4ce7f7d
Author: Dan Dennedy <ddennedy@ddennedy.localdomain>
Date:   Thu Mar 27 14:06:07 2008 -0700

    Merge branch 'master' of dennedy.org:git/dennedy.org/libraw1394

commit 4ce7f7d8f0e0189eff7f1b585724ef132c36c820
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Thu Mar 27 20:25:26 2008 +0000

    eventloop.c: apply patch from Jonas Bonn to retrty read when failed with EINTR.
    This can occur when libraw1394 callera receives a signal while in the read and
    the caller is not using a signal handler set with signal().
    
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@178 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 8bb915dd16bfc27fa206a850e9f56439e5e424ee
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Thu Mar 27 20:25:23 2008 +0000

    eventloop.c: apply patch from Jonas Bonn to retry read when failed with EINTR.
    This can occur when libraw1394 caller receives a signal while in this read and
    the caller is not using a signal handler set with signal().
    
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@177 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit a118281f859d9a4e47d682da04e88c1d2f3c4ddd
Author: Dan Dennedy <ddennedy@ddennedy.localdomain>
Date:   Thu Mar 27 09:48:02 2008 -0700

    eventloop.c: apply patch from Jonas Bonn to retry read when failed with EINTR.
    This can occur when libraw1394 caller receives a signal while in this read and
    the caller is not using a signal handler set with signal().

commit 8085c633bce9fed1a74dd2037d7f3a95f839a4e2
Author: Jarod Wilson <jwilson@redhat.com>
Date:   Wed Oct 24 16:50:24 2007 -0400

    Set handle->iso.packets to NULL after freeing to avoid double-frees.

commit 77b6ef1f9e9f963a5e39cb844169379848a1118c
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sun Oct 14 01:46:08 2007 +0000

    fix documentation on raw1394_update_config_rom
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@175 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 5efd221f5793ee352b28243a18a9f448b269efe7
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sun Oct 14 01:41:30 2007 +0000

    add Pieter Palmers to AUTHORS as contributor
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@174 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit ec911fc60def13d0e3d4428ac055123e43355aab
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sun Oct 14 01:35:16 2007 +0000

    update release notes
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@173 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 78a77758c766142bb02dcc02a8aab7c331202b45
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Jun 13 18:31:59 2007 -0400

    Update the juju implementation to follow the recent bitfield changes.

commit c65a1c3ad8225b68165d0c751466dea1b9eccc4f
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Wed May 30 05:11:30 2007 +0000

    Apply patch from Jon Schewe <jon.schewe@honeywell.com> to make valgrind happy. Adds --with-valgrind configure option.
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@172 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit fcba731c21fc7aadd952a9e5fb4f7635e64af4e8
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Apr 17 20:06:14 2007 -0400

    Follow ioctl changes and header file move.

commit c896d53c9932b612407c4b197d3ba1b03bfef055
Author: Jay Fenlason <fenlason@redhat.com>
Date:   Thu Apr 12 14:39:24 2007 -0400

    Use correct payload size for two-operand lock transactions.

commit 7096501f0d4d40ad4df67e250e66e3db16de2832
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Thu Apr 12 14:11:48 2007 -0400

    Use power-of-two max packet sizes.

commit fb1570efbf4cb8ff4ef45937408cee43874c863a
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Thu Apr 12 14:11:20 2007 -0400

    Wrap receive tail pointer correctly.

commit 194edcc9cd3ba9d451b644ed45011d9d48e9e72e
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Apr 11 18:22:36 2007 -0400

    Refactor packet queueing and use for both xmit and recv.

commit d9fd708f825d1781ff10f4fa8097b2794c2d0683
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Apr 3 22:10:39 2007 -0400

    Fix warnings.

commit 760378898f27aeeca553cf7bdfd177a24233e30e
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Apr 3 22:07:40 2007 -0400

    Implement raw1394_iso_xmit_sync(), remove debug code.

commit 18c6919398b63c714040f0971e98fc940bb3b32d
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Apr 3 21:23:08 2007 -0400

    Handle rawiso dispositions.

commit 7e50d28e8af898c2fd8eeb8c585ee5f84c0a42de
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Apr 3 21:00:06 2007 -0400

    Fix xmit payload packing, use pointers for circular buffer indices.

commit aa70f855b3c17b340c22417b5c7e691c77cf5d9f
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Apr 3 13:31:36 2007 -0400

    Make raw1394_iso_xmit_write work.

commit d9b43daf480496babdacdf9e1562397fbdac1330
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Apr 2 17:33:07 2007 -0400

    More work on iso receive; handle payload wrapping.

commit 89281b576730c5f440bbd539e3efb5d5ab1036bc
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Sat Mar 31 19:45:39 2007 -0400

    Decode iso headers properly.

commit 429167e36a4ebb994c838eaf44b7cfb7571cdf4b
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Wed Mar 28 22:55:21 2007 -0400

    Get rawiso receive a little closer to working.

commit 5659d28c2de4a3b7ca1b9a77d847478303475996
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Mon Mar 26 16:49:12 2007 -0400

    Add the juju support work so far.

commit 1f1549c6adabcf7cf3685d7aca8f3f216e2f3f00
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sat Feb 17 02:30:13 2007 +0000

    add documentation about existence of RAW1394DEV
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@171 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 4a129dd960eab819d7f87fc83c0afc2b938fb1cf
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sat Feb 17 02:24:16 2007 +0000

    add support for RAW1394DEV environment variable to override default /dev/raw1394, but also attempt to failover to default.
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@170 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit fa981a8b96ec3d09385a0b14b4342e574b7bbe29
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Wed Feb 14 05:29:18 2007 +0000

    added raw1394_read_cycle_timer, contributed by Pieter Palmers
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@169 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 3a35307a853a627c9faab68071623f94f6c90dbf
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Tue Oct 17 03:39:37 2006 +0000

    bugfix segfault in raw1394_iso_shutdown on no iso activity due to not initializing raw1394_handle.iso_packet_infos to NULL in raw1394_new_handle
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@168 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit e4e2330837d677d5400b4669142d127ced36c4c3
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Tue May 9 04:27:38 2006 +0000

    apply optimization patch from Pieter Palmers that removes modulo operator from high frequency isochronous code
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@167 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 45503d30d39110d54b4a95d7bc18d793042dd3bb
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sun Apr 9 02:25:22 2006 +0000

    cleanup some compiler warnings
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@165 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit e5d5603758ae9f4d04e3ac3ed0f2b966be329475
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sun Apr 9 02:18:47 2006 +0000

    add release notes
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@164 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 0b0ad6b10e1667571f97bd8f2e73b35359f4b5ef
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sun Apr 9 02:13:44 2006 +0000

    lock allocated isochronous packet tracking memory
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@163 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 9c74e4a2956e38045b825e43e1a4b7ba1620dfc2
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sun Apr 9 01:26:41 2006 +0000

    remove memory allocations for isochronous operations from the libraw1394 event loop to make them more respectful of realtime applications
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@162 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 96aaa4ca65d7ff51089ebb87dbb3303737735e9d
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Sat Mar 4 01:17:46 2006 +0000

    Added a new callback response for iso_xmit handlers: RAW1394_ISO_AGAIN.
    This would be returned when the callback doesn't have enough data to
    create a complete packet. This can occur when the xmit buffers are
    bigger than the buffers supplying the data. It is not nescessarily an
    error, because there are enough packets in the xmit buffer. This
    response could give the data supplyer more time to fill the intermediate
    buffer without losing any packets.
    
    Signed-off-by: Pieter Palmers <pieterp@joow.be>
    Signed-off-by: Dan Dennedy <dan@dennedy.org>
    
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@161 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit a51052f41b164c285f91f4b48724e1fc2d125637
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Mon Jul 4 04:04:22 2005 +0000

    Fix raw1394_iso_xmit_write() to work with recent kernel change to raw1394
    to fix bug with stalling on buffer underrun.
    
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@160 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 19065515152718407db849b0be71a8eeee80deaa
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Mon Jul 4 03:00:50 2005 +0000

    add sanity check to queuing of packets in rawiso xmit
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@159 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 87941d01c4188cc63f0e99c229b568164ad922bf
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Fri Jul 1 04:12:47 2005 +0000

    Add a comment that libraw does not allocate channels and bandwidth. This
    is already mentioned in doc/libraw1394.sgml but an existing comment about
    raw1394_iso_xmit_init may be misleading.
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@158 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 202b68ef5b03f6dd68cd21dc15eb7a000d3f1160
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Thu Jun 23 17:09:33 2005 +0000

    bugfix stalling on iso transmission underflow
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@156 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 1c06177cd72803ad2b0cf6825b6bd043511fdb8b
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Thu Jun 2 18:30:57 2005 +0000

    documentation and header comment corrections from Stefan Richter
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@155 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 246f623e3565912a8b407108524e02dfae547855
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Wed Feb 16 16:54:58 2005 +0000

    add functions for allocating and releasing bandwidth and channels
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@154 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 9d07aaadda67c3a435afd18ef40a8ebac9c078d8
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Fri Nov 26 16:30:44 2004 +0000

    add comment about assumptions made in raw1394_get_port_info
    
    git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@152 53a565d1-3bb7-0310-b661-cf11e63c67ab

commit 3de7e65109612eadb60dcb227b1a9fd2e18f6285
Author: ddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>
Date:   Thu Nov 25 18:46:29 2004 +0000

    apply patch from Matthias Hanel to fix uninitialized buffer and remove unncessary (and logically impossible) copy in get_port_info
[--snip--]
