Commit Graph

886 Commits

Author SHA1 Message Date
0352486f97 Improved reaction on Damage Bit and missing NWA_V of READ TRACK INFORMATION 2011-05-26 14:58:10 +00:00
edd131b1b9 Replaced some large local variables by other means in libburn/sg-freebsd-port.c 2011-05-23 18:26:02 +00:00
30f3f70dfd Replaced some large local variables by other means in libburn/sg-freebsd.c 2011-05-23 17:39:48 +00:00
806b9602e6 Replaced some large local variables by other means in libburn/sg-dummy.c 2011-05-23 16:34:53 +00:00
f116eeec64 Replaced some large local variables by other means in libburn/read.c 2011-05-23 15:51:49 +00:00
7e50165d5c Replaced some large local variables by other means in libburn/mmc.c 2011-05-23 15:39:51 +00:00
8fffc74a5b Added forgotten return value to BURN_ALLOC_MEM 2011-05-15 20:31:15 +00:00
8fd81d4ec4 Replaced some large local variables by other means in libburn/drive.c 2011-05-15 19:13:57 +00:00
0c76daf2a9 Polished macro BURN_ALLOC_MEM 2011-05-15 18:16:58 +00:00
86656a9d52 Replaced some large local variables by other means in libburn/async.c 2011-05-15 10:48:59 +00:00
95e511b984 Macros BURN_ALLOC_MEM, BURN_FREE_MEM for replaceing local variables 2011-05-15 10:47:01 +00:00
ac665916a6 Reacted on -Wsign-compare warnings of gcc 2011-05-12 13:46:59 +00:00
e9637067f8 Including header pthread.h on request of Mats Andersson for OpenBSD 2011-05-12 12:04:43 +00:00
a058e24375 Closed tiny memory leak found by valgrind 2011-05-01 14:45:22 +00:00
e32bd99801 Made number transition to 1.0.7 2011-04-09 09:26:29 +00:00
e86a7f9880 Better handling of read attempt on pseudo-drive without read-permission 2011-03-24 18:21:31 +00:00
9c9b82ae61 Avoiding appendable role 5 if not explicitely enabled 2011-03-22 08:59:43 +00:00
d5cc482015 Enabled blanking of drive with role 5 2011-03-21 09:22:04 +00:00
1f14074d59 Adjustments for drive role 5, random access write-only 2011-03-21 09:04:14 +00:00
d0c6889603 Corrected nwa computation for drive role 5 2011-03-21 09:02:58 +00:00
a088a85374 Silenced an error message with input that is not aligned to 2 kB 2011-03-19 22:21:35 +00:00
a3ac6c63aa Enabled BD formatting iby index on Pioneer BDR-205 which offers no Cert or QCert 2011-03-18 15:33:15 +00:00
af41742516 Provisory introduction of drive role 5, random access write-only 2011-03-18 09:33:54 +00:00
ed811f45e6 Changed severity of "Read attempt on write-only drive" from FATAL to FAILURE 2011-03-13 19:26:30 +00:00
402f4c0b04 New API call burn_allow_drive_role_4() 2011-03-13 13:07:46 +00:00
1b166f484d Burning DVD-R DAO with 2 kB size granularity rather than 32 kB 2011-03-12 09:35:04 +00:00
238fde4ef1 Made number transition to 1.0.5 2011-03-10 13:30:54 +00:00
69e95016fb Bug fix: Read-only file descriptors were classified as write-only pseudo drives 2011-03-01 14:46:17 +00:00
a8e54b86d7 Corrected a flaw found by George Danchev with cpp 2011-02-24 19:17:06 +00:00
9f5e967bdf Registered new error code 2011-02-23 19:57:10 +00:00
1f72fe107d Made number transition to 1.0.3 2011-02-23 19:38:44 +00:00
043d9a82d8 DEBUG message with burn_drive_cancel, FAILURE with premature end-of-input 2011-02-18 16:55:42 +00:00
952c9b0432 Reacted on compiler warnings about uninitialized variables 2011-02-14 08:59:42 +00:00
4f5075d7a9 Forced role 3 on drives which stem from open file descriptors without O_RDWR 2011-02-09 11:43:10 +00:00
2b07bd0632 Using usleep() instead of nanosleep() which is not available on Solaris 9 2011-01-18 16:28:57 +00:00
43f7e7d063 Made number transition to 1.0.1 2011-01-16 15:11:34 +00:00
0b25a4d258 Allowed stdio tracks of known size to end in TAO mode on premature EOF 2011-01-03 19:51:30 +00:00
3b5aeb0f81 Allowed umask to create stdio-drive files with rw-permissions for all 2010-12-28 07:19:29 +00:00
523b59984b Made number transition to 0.9.1 2010-12-08 13:55:24 +00:00
dcf79a188a Removed outdated development macros 2010-11-16 13:12:35 +00:00
84d6cac5c1 Regression fix: SCSI reply data logging was disabled in rev 3368, 0.8.6 2010-10-29 17:45:13 +00:00
261f05eb45 Issueing error messages if cache syncing or closing fails 2010-10-29 16:41:16 +00:00
20c0ae24a8 Made number transition to 0.8.9 2010-10-20 13:36:14 +00:00
0f622def33 Issueing messages with all cases of burn canceling 2010-10-19 16:59:34 +00:00
707d6153f7 Issue warning after writing a BD-R with more than 300 sessions 2010-10-15 19:17:37 +00:00
28ae78b4f1 Avoiding to inquire spare area of unsuitable media 2010-09-28 10:11:06 +00:00
e18bfe50c1 Making new API call available in dynamic library 2010-09-24 09:26:06 +00:00
f14b66a09b New API call burn_disc_get_bd_spare_info() 2010-09-24 09:07:05 +00:00
c49995b11a New API call burn_offst_source_new() 2010-09-22 17:51:26 +00:00
b7034abcbb Made number transition to 0.8.7 2010-09-17 07:54:34 +00:00
c1f4063193 Centralized interpretation of SCSI command outcome 2010-09-14 12:50:06 +00:00
fb159b8dbd Lifted test reservation on DVD-R DL media. Thanks to Kevin Kieffer for testing. 2010-08-21 09:56:16 +00:00
c693798571 Corrected typo in macro names (which shall never be defined anyway) 2010-08-13 11:42:49 +00:00
34847fff80 Hopefully silenced a warning of doxygen on Debian buildd 2010-08-08 09:13:53 +00:00
54651df146 New SCSI comand response "GO_ON" 2010-08-08 09:13:04 +00:00
d4e4607a84 Obeying burn_set_scsi_logging() with errors of class RETRY 2010-08-03 09:11:58 +00:00
98b2e06c21 Committed Solaris system adapter which was forgotten with rev 3345 2010-08-02 14:13:08 +00:00
d5ecb382aa Added error simulation code to Linux system adapter. 2010-08-02 13:20:33 +00:00
cdcda19384 Reporting sense data with burn_set_scsi_logging() 2010-08-02 10:07:09 +00:00
9f61db5378 Recognizing sense data format 0x72 if given instead of 0x70 2010-07-29 08:35:36 +00:00
2a48b34bcd Changed all malloc() to calloc() 2010-07-12 19:37:31 +00:00
e2bdd521d8 Mentioned that public API calls must be in libisofs/libisofs.ver 2010-07-06 11:34:38 +00:00
85eb091025 Hiding all non-API symbols from the linker by use of --version-script 2010-07-04 17:01:21 +00:00
c866b6bc35 Moved public part of libdax_audioxtr.h to libburn.h 2010-07-04 13:13:09 +00:00
bb88ba5861 Made number transition to 0.8.5 2010-06-30 11:31:22 +00:00
b30a2af7c7 Allowed 64 kB max output buffer size on all OSes 2010-06-16 08:25:57 +00:00
a2df41713d Let general POSIX system adapters ignore SIGWINCH and SIGURG if defined 2010-06-15 15:57:11 +00:00
86ce32d170 Avoided compiler warning about unused variable on non-Solaris systems 2010-06-15 15:55:11 +00:00
7ba30596ce New less obtrusive implementation of sg_is_enumerable_adr for Solaris 2010-06-13 19:07:52 +00:00
81768cd4b0 Made number transition to 0.8.3 2010-06-11 10:53:56 +00:00
7f0358892a Removed obsolete development remark 2010-06-10 17:09:50 +00:00
bc40ce2876 Implemented block device capacity determination fo Solaris 2010-06-08 20:04:01 +00:00
6674667b7f Handled SCSI status "BUSY" on Solaris 2010-06-08 17:50:33 +00:00
cc4d72bf8b Corrected comment 2010-06-08 17:32:44 +00:00
1eee6ab8a0 New system adapter for Solaris uscsi (tested on snv134, kernel 5.11) 2010-06-07 17:30:54 +00:00
736d8b9019 Reacted on harmless compiler warnings on Solaris 2010-06-07 17:17:53 +00:00
8345eb8a71 Avoiding to resolve /dev/rdsk/cXtYdZs2 drive addresses on Solaris libcdio 2010-06-07 17:16:40 +00:00
cc7548f1c7 Bug fix: SIGSEGV of libcdio system adapter if drive list is empty 2010-05-29 07:44:41 +00:00
edca339338 Eventually including ../config.h generated by autotools 2010-05-16 09:07:42 +00:00
9323cceff1 Bug fix: CD-ROM media got attributed random lead-in and lead-out adresses 2010-05-01 08:29:28 +00:00
8b1b3f08c6 Avoided to create track without toc_entry from "hidden first track" on CD 2010-04-30 18:04:47 +00:00
92c5f6f998 Made number transition to 0.8.1 2010-04-09 10:57:38 +00:00
2069ffa863 Reporting eventual SCSI sense in sg-linux repeat loop 2010-04-09 09:07:59 +00:00
fafc190fd4 Adjusted libcdio system adapter to FreeBSD peculiarities 2010-03-29 10:33:05 +00:00
e6029ae238 Trying to detect FreeBSD ahci devices and to handle others the old way 2010-03-27 17:27:50 +00:00
6e17c59f6b Avoiding to inquire NWA of unwritable media or states 2010-03-27 15:58:05 +00:00
0e777ec688 Had to make ahci change conditional for now: -DLibburn_for_freebsd_ahcI 2010-03-26 08:33:22 +00:00
8dcdb5a87f Changed sg-freebsd.c to work with ahci, advise by Alexander Motin 2010-03-25 11:36:55 +00:00
3289ffd1e6 Made number transition to 0.7.9 2010-03-10 13:56:58 +00:00
196ef37108 Clarifications in API description of burn_set_signal_handling() 2010-03-09 14:01:57 +00:00
cdad7fcd80 Prevented potential memory fault with burn_set_signal_handling() 2010-03-08 09:24:21 +00:00
ed6e2df81b Changed examples burn_set_signal_handling(...,48) to (...,0x30) 2010-03-07 08:15:21 +00:00
873e3f5d78 Protected blanker and formatter thread from signals 2010-03-05 18:59:21 +00:00
72f9ff8b8c Removed some debugging printing 2010-03-05 11:15:28 +00:00
3519b42c14 Introduced alternative signal handling actions 2010-03-05 09:08:16 +00:00
7446ed7daa Showing more patience with temporarily busy drives on Linux 2010-03-04 12:13:04 +00:00
937bc87bfc Enabled patience 0 within burn_abort() 2010-03-03 14:05:07 +00:00
bd3016e085 Corrected optional speed curb for stdio: drives. Was damaged by revision 2903. 2010-02-25 07:04:52 +00:00
dd74364ebb Made burn_set_signal_handling() more suitable for cdrskin 2010-02-22 13:47:17 +00:00
255e5362f9 Avoided random percentage display at start of blanking 2010-02-17 14:12:23 +00:00
471a0d0058 Bug fix on FreeBSD: Piped input was falsely attributed a small fixed size 2010-02-16 19:40:07 +00:00
f5b556db47 Changed a comment in libburn/crc.h 2010-02-15 12:57:38 +00:00
c12bbff7d1 Created opportunity to omit source module libburn/crc.c 2010-02-14 17:17:04 +00:00
6db992e646 Added or adjusted copyright and license statements in single files 2010-02-14 08:45:14 +00:00
bd017a108e Changed docs and comments to "GNU/Linux" where appropriate 2010-02-12 21:26:46 +00:00
3a76f9245f Changed system adapter id and some remarks from "Linux" to "GNU/Linux" 2010-02-12 17:30:59 +00:00
54005cb60e Lifted ban to derive GPLv3, extended copyright range to 2010 2010-01-23 10:42:52 +00:00
15fbe0a7ea Made number transition to 0.7.7 2010-01-23 10:40:11 +00:00
da1d260753 Learned how to inquire size of disk-like FreeBSD devices 2010-01-21 10:46:04 +00:00
eb8b8faa3b Changed a comment in sg-linux.c 2010-01-18 10:32:36 +00:00
39fd8b922d New OS adapter burn_os_is_2k_seekrw() replaces S_ISBLK() with pseudo-drives 2010-01-16 12:51:24 +00:00
7ead54c8b9 Implemented adivisory FreeBSD drive locking via flock(2) 2010-01-15 18:25:14 +00:00
2a85fc7d91 Provisory rejection of FreeBSD ATAPI drives in sg-libcdio 2010-01-14 16:06:17 +00:00
1e42a76415 Giving up drive probing by mode page sending 2010-01-14 16:04:57 +00:00
cdfc357064 Carified that apps must use 64 bit off_t or the lib must be tweaked. 2010-01-13 17:14:14 +00:00
df612390d3 Adaptions after encounter with FreeBSD 8.0 2010-01-13 07:45:07 +00:00
77971f3680 Experimentally regard FreeBSD /dev/da[0-9] and /dev/cd[0-9] as block device 2010-01-13 07:38:56 +00:00
2ff03841d7 Corrected free capacity measurement of stdio: drives in regular files 2010-01-12 16:50:44 +00:00
a88745c82e Revoked asynchronous eject, as we cannot distinguish out from unready 2010-01-09 14:32:51 +00:00
96167b3d8e Better error message with unknown SCSI error codes 2010-01-09 14:25:19 +00:00
1ca38962d4 Forgot to forward sense reply to higher levels 2010-01-09 14:18:55 +00:00
80bcabfd57 Enlarged buffer size of libcdio adapter on Linux to 64k 2010-01-04 13:52:57 +00:00
d9239aeafc Avoiding stream recording on BD if not 64 kB buffer 2010-01-04 13:49:05 +00:00
758a197d06 Enabled block device size recognition with sg-libcdio on Linux 2010-01-01 12:43:15 +00:00
ed972271ec Bug fix: with non-Linux adapters there were 0 readable bytes on block devices 2010-01-01 12:39:20 +00:00
0544ac8cd3 Silenced libcdio warnings 2009-12-30 20:08:51 +00:00
12a2be8d86 Making use of new libcdio capability to obtain SCSI address tuple on Linux 2009-12-30 15:40:10 +00:00
00ed59f34e Experimentally enabled FreeBSD system adapter for Debian kfreebsd 2009-12-29 13:31:56 +00:00
2b8e8c2521 Corrected a mode page size computation error which for now had no bad effect 2009-12-29 11:57:21 +00:00
d53c5db98e Extended sg-API by sg_shutdown(), sg_dispose_drive(), sg_id_string() 2009-12-27 14:45:05 +00:00
cee271f9cb Showing libburn users drive name link targets, using in libcdio its own names 2009-12-27 09:20:10 +00:00
c2a3e3677d Reacted on some doxygen warnings of Debian hurd build 2009-12-26 22:25:45 +00:00
08169d63bc New API function burn_scsi_transport_id() 2009-12-26 08:01:35 +00:00
e13b6369ba New internal sg-API function sg_initialize() 2009-12-25 22:37:57 +00:00
d3988dd74b Adapted to libcdio-0.83 and its runtime version telling 2009-12-25 20:55:37 +00:00
240afa7c3a Resolving symbolic links in libcdio drive list 2009-12-25 14:31:55 +00:00
5b72e5d06e Commited file forgotten with rev 2960 2009-12-25 10:13:06 +00:00
eb34561262 Making use of libcdio function mmc_get_cmd_scsi_sense() 2009-12-24 17:04:40 +00:00
dd85e37ac8 Experimental SCSI transport adapter via GNU libcdio 2009-12-19 14:34:48 +00:00
e566340261 Moved sg_log_cmd() to spc.c scsi_log_cmd() 2009-12-19 14:23:30 +00:00
7e86db207c Corrected CDB length of command 55h MODE SELECT from 12 to 10 2009-12-19 13:59:09 +00:00
b8a98e0728 Made number transition to 0.7.5 2009-12-07 07:54:24 +00:00
28f4454a9d Some clarifications about the Linux throughput problem 2009-12-06 07:45:00 +00:00
cb8c23ed5a Some clarifications about the GH22LS30 problem 2009-12-06 07:32:38 +00:00
54bb1ab395 Converted stderr experiment messages to DEBUG messages 2009-12-05 14:35:41 +00:00
872068ba7c Made effect of macro Libburn_pioneer_dvr_216d_read_buf_caP unconditional 2009-12-05 14:22:28 +00:00
2bd800ed14 Bug fix: SIGSEGV with LG GH22LS30 when inquiring media product id 2009-12-05 11:17:13 +00:00
da0b3b3939 Gave up CLOSE TRACK with CD TAO burn runs 2009-12-02 10:29:45 +00:00
93aa6ccc6f Documented meaning of START/STOP UNIT bits 2009-11-30 10:00:34 +00:00
d6edfc9961 Using mmap() by default for allocating read buffers 2009-11-28 12:23:20 +00:00
d35f7d0de1 New API calls burn_fifo_get_statistics(), burn_fifo_next_interval() 2009-11-26 14:43:38 +00:00
e335aa26b4 New API call burn_fifo_fill() 2009-11-25 16:00:33 +00:00
496d794bcd Gave up call burn_os_close_track_src() introduced by rev 2920 2009-11-25 12:21:12 +00:00
dc8ecdd77e New API calls burn_os_open_track_src() , burn_os_alloc_buffer() 2009-11-23 18:56:18 +00:00
259d1cd2b7 Bug fix: DVD DAO track size was rounded up much too generously 2009-11-22 20:52:40 +00:00
6109a7bc08 Longer READ BUFFER CAPACITY interval with DVD/BD writing 2009-11-21 19:14:05 +00:00
f39ff2c2f6 Experiment about SG_FLAG_DIRECT_IO 2009-11-20 13:48:44 +00:00
c8e0472637 Reserving enough track space for 64 kB write chunks 2009-11-18 18:56:14 +00:00
acb2f3b173 Split automatic drive start function from mmc_function_spy() 2009-11-18 12:25:57 +00:00
b28165f10b Configure options --enable-cdrskin-fifo-odirect, --enable-dvd-obs-64k 2009-11-16 16:53:07 +00:00
79a33ca2ac New API calls burn_write_opts_set_dvd_obs(), burn_write_opts_set_stdio_fsync() 2009-11-15 15:30:26 +00:00
677b007100 Corrected an outdated remark 2009-11-15 15:21:04 +00:00
055876d6b7 Macro Libburn_pioneer_dvr_216d_dummy_probe_wM for omitting write mode probe 2009-11-12 18:00:01 +00:00
9160b1dcbb Workaround for Pioneer DVR-216D refusal to eject 2009-11-12 17:56:18 +00:00
0f37170759 Made SCSI logger permanent and controllable via API call 2009-11-12 17:54:06 +00:00
76a4c0ac44 Increased stdio flush interval from 1 MB to 16 MB 2009-11-11 10:05:56 +00:00
83f80364c5 Hopefully solved the endless burn problem with Pioneer DVR-216D 2009-11-10 20:32:59 +00:00
9064b56c56 Avoiding START UNIT before the drive gets released 2009-11-10 12:21:43 +00:00
405e6b020e Made SCSI command log more complete and more readable 2009-11-08 11:12:23 +00:00
ffe80264c7 Corrected allocation length with GET CONFIGURATION 2009-11-08 11:08:19 +00:00
d158e7f456 Test macros for double START UNIT and SET CD SPEED 2009-11-05 17:03:01 +00:00
4384b0c006 Test macro for SEND OPC INFORMATION before DVD-R track 2009-11-04 08:46:17 +00:00
e78353b7dd Test macro for SL_V in mode page 05 2009-11-03 18:45:08 +00:00
3c2ad1be42 Test macros for finding reason of stall problem with Pioneer DVD-216D on DVD-R 2009-10-30 13:45:26 +00:00
937a226543 Bug fix: Closed memory leak with failure to open device file under FreeBSD. Thanks to George Danchev. 2009-10-27 10:09:31 +00:00
cca24711b8 Bug fix: burn_drive->disc_id or burn_drive->disc_app_code altered by stray 0. Thanks to George Danchev. 2009-10-27 10:06:43 +00:00
e646686145 More optimizations with parity computation 2009-10-20 16:14:14 +00:00
f3070d2e71 Optimizations with parity computation, clarification about nature of logarithms 2009-10-19 11:56:25 +00:00
39a7d18266 Re-implemented ECMA-130 P-parity, Q-parity and scrambling for BURN_WRITE_RAW 2009-10-17 13:17:06 +00:00
e65ccb2b5e Made number transition to 0.7.3 2009-10-12 10:52:37 +00:00
ca97df9798 Made read_capacity error message of burn_read_data() depending on flag bit1 2009-10-09 20:03:06 +00:00
a318da9463 Determining read capacity for DVD-RAM 2009-10-09 12:35:42 +00:00
3c69b684a8 Fixed CD TAO multi-track -dummy bug reported by Philippe Rouquier 2009-10-04 15:11:35 +00:00
4457061656 Restricted retry to the timeout for single SCSI commands (200 seconds) 2009-09-22 19:26:57 +00:00
758f5a5c1e Revoked instruction to retry STOP UNIT 2009-09-22 19:24:41 +00:00
c8c4da8e8e Mentioned need for 2056 byte fifo chunks with burn_track_set_cdxa_conv() 2009-09-20 11:19:11 +00:00
4fdebcae9f Refusing to read beyond media_read_capacity 2009-09-18 16:18:37 +00:00
82ee4c8788 Fixing SIGSEGV with CD SAO introduced with revision 2808 2009-09-18 16:16:56 +00:00
ad4a286736 Evaluating read capacity with role 2 drives (regular files and block devices) 2009-09-13 09:49:50 +00:00
2e6f83b3b3 New API call burn_track_set_cdxa_conv() 2009-09-11 11:53:36 +00:00
b724ab2130 New struct burn_toc_entry extension for Last Recorded Address 2009-09-09 15:38:47 +00:00
567beb1d9f Correction with erasable bit of burn_disc_get_cd_info() 2009-09-09 13:39:27 +00:00
eb62395e41 New API call burn_disc_get_cd_info() 2009-09-09 12:52:07 +00:00
1d6c97c79f Avoided to read third sixpack of manufacturer bytes with DVD-R media 2009-09-06 11:20:18 +00:00
719096b0a7 Changed new API call burn_get_media_product_id() to burn_disc_get_media_id() 2009-09-06 09:25:52 +00:00
75dca6c6e9 Made recognition of CD media codes work in burn_guess_manufacturer() 2009-09-06 09:22:26 +00:00
970ae46cfa Silenced a valgrind warning caused by not recognizing side effects of a ioctl 2009-09-05 11:42:25 +00:00
693784cbf5 Made product ID surely a single printable word 2009-09-05 11:29:44 +00:00
557299d350 New API calls burn_get_media_product_id() and burn_guess_manufacturer() 2009-09-04 20:21:55 +00:00
6642342274 New API call burn_guess_cd_manufacturer() 2009-09-02 13:32:17 +00:00