summaryrefslogtreecommitdiffstats
path: root/debian/libraw1394-dev.docs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-12-07testlibraw: test raw1394_read_cycle_timer()Gravatar Stefan Richter 1-0/+23
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-12-07testlibraw: test all cards instead of only the firstGravatar Stefan Richter 1-120/+143
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-12-07Let fw_read_cycle_timer() use the local fd instead of requiring iso to be ↵Gravatar Dan Dennedy 1-1/+1
initialized Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-12-03[libraw1394 patch] Unify {ieee1394,fw}_bandwidth_modify()Gravatar Stefan Richter 3-56/+1
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>
2008-12-03[libraw1394 patch] Fix raw1394_channel_modify() on firewire-coreGravatar Stefan Richter 4-57/+2
(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>
2008-10-28Fix segfault in juju's handle_arm_requestGravatar Stefan Richter 1-0/+2
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>
2008-10-28Reduce nesting depth in new_handle dispatchersGravatar Stefan Richter 1-47/+49
Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-10-28Address some compiler warningsGravatar Stefan Richter 5-10/+5
7x unused variable, 1x assignment used as truth value, 1x pointer signedness Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-10-28Makes extra sure strings are not overrun.Gravatar Erik Hovland 1-13/+19
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>
2008-10-28Makes sure to check any return valuesGravatar Erik Hovland 1-1/+2
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>
2008-10-28Makes sure a value is returned by the function.Gravatar Erik Hovland 1-0/+1
A function can compile without returning something always. Signed-off-by: Erik Hovland <erik@hovland.org> Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-10-28Make sure that we have the right types.Gravatar Erik Hovland 2-7/+8
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>
2008-10-28Compare unsigned values instead of subtracting them.Gravatar Erik Hovland 1-2/+3
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>
2008-10-28Protect against resource leaks.Gravatar Erik Hovland 2-4/+11
Signed-off-by: Erik Hovland <erik@hovland.org> Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-10-28Make sure variables are initialized before used.Gravatar Erik Hovland 1-1/+2
Signed-off-by: Erik Hovland <erik@hovland.org> Signed-off-by: Dan Dennedy <dan@dennedy.org>
2008-07-21dispatch.c: fix a memory leak on not deleting the raw1394 wrapper handle.Gravatar Dan Dennedy 1-1/+2
2008-07-18configure.ac, Makefile.am: drop debian from build and restore doc and toolsv2.0.0Gravatar Dan Dennedy 2-3/+1
to dist make target.
2008-07-18NEWS: added release notesGravatar Dan Dennedy 2-1/+5
Makefile.am: use git-log to generate ChangeLog on make dist.
2008-07-18Reset the libtool age.Gravatar Dan Dennedy 2-2/+5
2008-07-06Change handle validation to prevent segfault and be more informative.Gravatar Dan Dennedy 5-69/+314
2008-07-05Fix raw1394_read_cycle_timer after juju integrationGravatar Stefan Richter 4-1/+33
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/
2008-07-05Plug dir leak and initialize data structsGravatar Philippe Troin 3-1/+17
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.
2008-04-30Move the source code files in the juju directory into the src directory andGravatar Dan Dennedy 9-25/+18
give them 'fw' names instead of 'juju.'
2008-04-29libraw1394.sgml, raw1394.h: remove information about deprecated isochronousGravatar Dan Dennedy 3-443/+29
API that has been removed.
2008-04-29juju/raw1394-iso.c: bugfix size of mmap'ed isochronous buffer to preventGravatar Dan Dennedy 1-2/+2
segfault in applications.
2008-04-23First cut at integrating jujuGravatar Dan Dennedy 18-672/+1208
This is currently working with legacy ieee1394 and tools/testlibraw.
2008-04-22Fix configure.ac missing fi after initial merge.Gravatar Dan Dennedy 1-0/+1
2008-03-27src/eventloop.c: redo the undo (git-svn virgin at the controls)Gravatar ddennedy 1-2/+3
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@179 53a565d1-3bb7-0310-b661-cf11e63c67ab
2008-03-27eventloop.c: apply patch from Jonas Bonn to retrty read when failed with EINTR.Gravatar ddennedy 1-3/+2
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
2008-03-27eventloop.c: apply patch from Jonas Bonn to retry read when failed with EINTR.Gravatar ddennedy 1-2/+3
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
2008-03-27eventloop.c: apply patch from Jonas Bonn to retry read when failed with EINTR.Gravatar Dan Dennedy 1-2/+3
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().
2007-10-24Set handle->iso.packets to NULL after freeing to avoid double-frees.Gravatar Jarod Wilson 1-0/+5
2007-10-14fix documentation on raw1394_update_config_romGravatar ddennedy 1-1/+1
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@175 53a565d1-3bb7-0310-b661-cf11e63c67ab
2007-10-14add Pieter Palmers to AUTHORS as contributorGravatar ddennedy 1-0/+1
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@174 53a565d1-3bb7-0310-b661-cf11e63c67ab
2007-10-14update release notesGravatar ddennedy 1-0/+9
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@173 53a565d1-3bb7-0310-b661-cf11e63c67ab
2007-06-13Update the juju implementation to follow the recent bitfield changes.Gravatar Kristian Høgsberg 2-16/+9
2007-05-30Apply patch from Jon Schewe <jon.schewe@honeywell.com> to make valgrind ↵Gravatar ddennedy 2-4/+31
happy. Adds --with-valgrind configure option. git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@172 53a565d1-3bb7-0310-b661-cf11e63c67ab
2007-04-17Follow ioctl changes and header file move.Gravatar Kristian Høgsberg 2-3/+12
2007-04-12Use correct payload size for two-operand lock transactions.Gravatar Jay Fenlason 1-2/+2
2007-04-12Use power-of-two max packet sizes.Gravatar Kristian Høgsberg 1-1/+13
2007-04-12Wrap receive tail pointer correctly.Gravatar Kristian Høgsberg 1-1/+2
2007-04-11Refactor packet queueing and use for both xmit and recv.Gravatar Kristian Høgsberg 2-129/+54
2007-04-03Fix warnings.Gravatar Kristian Høgsberg 2-11/+17
2007-04-03Implement raw1394_iso_xmit_sync(), remove debug code.Gravatar Kristian Høgsberg 1-10/+33
2007-04-03Handle rawiso dispositions.Gravatar Kristian Høgsberg 1-7/+37
2007-04-03Fix xmit payload packing, use pointers for circular buffer indices.Gravatar Kristian Høgsberg 2-63/+58
2007-04-03Make raw1394_iso_xmit_write work.Gravatar Kristian Høgsberg 2-38/+98
2007-04-02More work on iso receive; handle payload wrapping.Gravatar Kristian Høgsberg 2-16/+28
2007-03-31Decode iso headers properly.Gravatar Kristian Høgsberg 1-8/+11
2007-03-28Get rawiso receive a little closer to working.Gravatar Kristian Høgsberg 3-58/+127