Commit Graph

1103 Commits

Author SHA1 Message Date
Thomas Schmitt 4670984dec Added debugging messages for drive recognition on Solaris 2014-12-06 17:53:00 +00:00
Thomas Schmitt 0b110821f6 Equipped all non-system-dependent open(2) calls with O_BINARY 2014-11-26 16:42:56 +00:00
Thomas Schmitt 3877fc6bea Fixed a bug introduced with previous revision 2014-09-01 18:40:31 +00:00
Thomas Schmitt 77aeeba934 New flag bit5 with burn_read_data() and burn_read_audio() 2014-09-01 16:13:19 +00:00
Thomas Schmitt cfa6ee1498 Removed obsolete conditional code 2014-08-31 12:15:22 +00:00
Thomas Schmitt a9affdc82a Reduced number of GET CONFIGURATION transactions 2014-08-31 11:56:46 +00:00
Thomas Schmitt 1286079d3d Small correction of rev5369 2014-08-14 08:59:47 +00:00
Thomas Schmitt 3b5906b30c Improved error message for erase failures 2014-08-14 08:57:01 +00:00
Thomas Schmitt 0c9293f9c6 Keeping GET CONFIGURATION from requesting more than 4 KB of data 2014-07-31 12:32:06 +00:00
Thomas Schmitt 3c4dccc966 Debugging macro Libburn_debug_dxferP to check sg_io_hdr_t.dxferp 2014-07-31 12:28:44 +00:00
Thomas Schmitt f3fd5fbc99 New internal function for SCSI-logging arbitrary texts 2014-07-31 11:59:23 +00:00
Thomas Schmitt f4a49078c8 Fixed a wrong read access to memory. Reported by valgrind of lian jianfei, 2014-07-14 18:02:14 +00:00
Thomas Schmitt da874ca4f8 Made number transition to 1.3.9 2014-06-28 06:33:13 +00:00
Thomas Schmitt 69b282a5ba Reacted on compiler warning of gcc on NetBSD-current 2014-06-20 14:53:11 +00:00
Thomas Schmitt 193c260285 Fixed a SIGSEGV introduced by previous revision 2014-06-10 13:08:12 +00:00
Thomas Schmitt ca532f7623 Improved drive capacity estimation for sparse regular files 2014-06-10 07:37:40 +00:00
Thomas Schmitt 61e2176d03 Bug fix: A failed MMC BLANK command did not cause error indication by libburn 2014-05-03 10:37:07 +00:00
Thomas Schmitt 91eca50221 Bug fix: Wrong stack usage caused SIGBUS on sparc when compiled by gcc -O2 2014-04-29 06:18:41 +00:00
Thomas Schmitt e54f6ebd68 Improved read retrying with DVD and BD media 2014-04-19 11:48:46 +00:00
Thomas Schmitt 856081559c Retrying write(2) if it returns a short non-negative write count 2014-04-14 10:33:58 +00:00
Thomas Schmitt 511d23f574 Restoring capability of burn_random_access_write() to fsync() (lost in rev 5302) 2014-04-13 12:09:34 +00:00
Thomas Schmitt f17d5ee7d1 Bug fix: A final fsync(2) was performed with stdio drives, even if not desired 2014-04-09 15:22:20 +00:00
Thomas Schmitt a8a2d54c25 Bug fix: Compilation warning for unsupported systems mutated into an error 2014-03-17 22:18:39 +00:00
Thomas Schmitt 33e20f9e49 Bug fix: CD TAO with multiple tracks could cause a buffer overrun 2014-03-14 09:55:11 +00:00
Thomas Schmitt 2aba5b4dd7 Made number transition to 1.3.7 2014-03-04 16:22:27 +00:00
Thomas Schmitt 6e5c50bde4 Improved emulation of mode page 2A 2014-03-01 10:16:03 +00:00
Thomas Schmitt 174c22aeb7 Removed Linux compilability mock-up from sg-netbsd.c 2014-02-19 11:11:50 +00:00
Thomas Schmitt 31abdedade Inquiring GET PERFORMANCE independently of existence of mode page 2A 2014-02-16 20:41:57 +00:00
Thomas Schmitt b6afe92e47 Improved workaround for missing mode page 2A 2014-02-14 20:03:01 +00:00
Thomas Schmitt 1d616b5944 Corrected size determination of NetBSD block devices 2014-02-13 20:55:27 +00:00
Thomas Schmitt cf5c7aa84f Inmplemented a system adapter for NetBSD 2014-02-10 21:36:34 +00:00
Thomas Schmitt d40ab32360 Being more rugged towards missing MODE SENSE info 2014-02-10 21:33:50 +00:00
Thomas Schmitt 43e1daab23 Avoiding to have two file descriptors open to the same stdio drive 2014-02-07 18:08:28 +00:00
Thomas Schmitt 6e4d1cc53e Prepared for possible demise of mode page 2A 2014-02-05 19:20:08 +00:00
Thomas Schmitt cdbbcbb923 Fixed bugs introduced with previous commit 2014-02-05 19:00:01 +00:00
Thomas Schmitt 7f31c9e985 Trying to better handle MMC violating replies of MODE SENSE (Block Descriptors) 2014-02-05 12:49:41 +00:00
Thomas Schmitt dd0ceb6720 Implemented a generic verification whether a SPC device is a MMC device 2014-02-04 11:31:12 +00:00
Thomas Schmitt 5676a1953d Improved handling of stdio pseudo-drives after aborted burn runs 2014-01-15 17:50:33 +00:00
Thomas Schmitt 78627934f3 Updated copyright claim in sg-linux.c 2014-01-15 17:49:04 +00:00
Thomas Schmitt 217289f71a Adapted Linux SG_IO adapter to scsi/sg.h of git.kernel.org 2014-01-09 21:50:17 +00:00
Thomas Schmitt 1c6f6c084f Interpreting feature 0x107 when deciding from where to get speed info 2014-01-09 13:23:23 +00:00
Thomas Schmitt 658851a497 Registering all drive-media feature descriptors in burn_drive 2014-01-07 12:01:18 +00:00
Thomas Schmitt ef17544eb9 Made number transition to 1.3.5 2013-12-12 14:52:30 +00:00
Thomas Schmitt 7f99a8e70e Better reaction on drive errors during burn_drive_scan_and_grab() 2013-11-21 09:21:29 +00:00
Thomas Schmitt 5f6281261d Corrected bugs introduced with rev 5180 2013-11-17 15:27:08 +00:00
Thomas Schmitt 04afd1c958 Resetting the drive failure status before starting random-access writing 2013-11-17 10:25:01 +00:00
Thomas Schmitt 83eac67cf5 Prevented a memory leak that in most cases was closed by a race condition 2013-11-16 17:05:40 +00:00
Thomas Schmitt d09ecac4a8 Enforcing reasonable minimum read speeds even if the drive is lying 2013-11-15 10:24:31 +00:00
Thomas Schmitt 404f239207 Improved reaction on Linux SG_IO transport problems 2013-11-14 10:17:48 +00:00
Thomas Schmitt 119c0cf76d Bug fix: Drive LG BH16NS40 stalled on inspection of unformatted DVD+RW 2013-11-11 16:10:36 +00:00
Thomas Schmitt edc90b880c New API call burn_disc_pretend_full_uncond() 2013-11-10 16:35:17 +00:00
Thomas Schmitt 4880ca3b93 Closed potential memory leak introduced by rev 5168 2013-11-08 09:53:13 +00:00
Thomas Schmitt 429fed00c1 Closed potential memory leak introduced by rev 5168 2013-11-08 09:51:33 +00:00
Thomas Schmitt 87ab352d6f New API calls burn_drive_was_feat21_failure(), burn_write_opts_set_fail21h_sev() 2013-10-28 10:51:05 +00:00
Thomas Schmitt 6e372c9a6d Bug fix: Drive error reports were ignored during blanking and formatting 2013-10-10 16:20:39 +00:00
Thomas Schmitt 1f7dfb84fc Forgot to disable a debugging message 2013-10-09 13:46:47 +00:00
Thomas Schmitt 844dc958be Separately determining the maximum speeds for writing and reading 2013-10-09 09:24:09 +00:00
Thomas Schmitt 642406b92e Reacted on warning of Debian buildd with clang 2013-09-16 17:28:55 +00:00
Thomas Schmitt cc8ac3aefb Reacted on warnings of PLD Linux build log 2013-09-05 08:49:31 +00:00
Thomas Schmitt 669ccb9b43 Catching and defaulting mad responses to READ BUFFER CAPACITY 2013-09-04 11:00:30 +00:00
Thomas Schmitt 6b93e66cfd Made number transition to 1.3.3 2013-08-07 13:51:09 +00:00
Thomas Schmitt b08075479e Reacted on advise from Helmut Grohne to avoid confusion of doxygen 2013-08-04 12:45:31 +00:00
Thomas Schmitt 2b74f6fa63 Changed default write chunk size for BD to 64 KiB 2013-08-04 10:03:21 +00:00
Thomas Schmitt 8f60105c8d Reacted on warnings of Debian build service about doxygen flaws 2013-07-29 09:14:51 +00:00
Thomas Schmitt f8be7e46ab Bug fix: The signal handler aborted on SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU 2013-07-21 17:07:53 +00:00
Thomas Schmitt 870b71377d Corrected typo in a comment 2013-07-08 14:56:30 +00:00
Thomas Schmitt 8eed2e9558 New mode bit8 with burn_set_signal_handling() to particularly ignore SIGPIPE 2013-07-01 16:00:28 +00:00
Thomas Schmitt bd381583de Some polishing of SCSI log time measurement 2013-06-09 16:31:28 +00:00
Thomas Schmitt e2188fb9f7 Prepared for optional use of clock_gettime() 2013-06-09 15:43:02 +00:00
Thomas Schmitt fd8f4d48b8 Improved granularity of SCSI log time measurement and added absolute timestamp 2013-06-09 15:26:32 +00:00
Thomas Schmitt 167d73e268 New API calls burn_drive_extract_audio(), burn_drive_extract_audio_track() 2013-05-23 15:43:19 +00:00
Thomas Schmitt 8f500d90df Bug fixes with new API call burn_make_input_sheet_v07t() 2013-05-20 12:45:12 +00:00
Thomas Schmitt eb03488f52 API call burn_session_input_sheet_v07t(): read multiple blocks from same file 2013-05-20 10:48:40 +00:00
Thomas Schmitt 7f8d8a04d0 New API call burn_make_input_sheet_v07t() 2013-05-19 11:47:10 +00:00
Thomas Schmitt cf363b27fa Made number transition to 1.3.1 2013-05-17 18:08:48 +00:00
Thomas Schmitt c566ea03cf Added new item to list of error codes 2013-05-10 07:26:11 +00:00
Thomas Schmitt 1f92419cb4 Bug fix: Formatting of BD-RE used certification regardless of drive capabilities 2013-04-01 12:19:14 +00:00
Thomas Schmitt 9bc362f59b Made number transition to 1.2.9 2013-03-18 21:09:13 +00:00
Thomas Schmitt 0f43a39a45 Made number transition to 1.2.8 2013-03-18 08:29:37 +00:00
Thomas Schmitt 0a1a085471 Avoiding SYNCHRONIZE CACHE if DVD track preparation has failed 2013-03-12 11:48:07 +00:00
Thomas Schmitt bbb6315af0 Always considering mode page 2A when looking for min and max speed 2013-03-05 18:54:19 +00:00
Thomas Schmitt c7784b79b7 Still correcting the bug fix of rev 4975 2013-03-05 12:42:41 +00:00
Thomas Schmitt f1b3184531 Corrected previous bug fix which caused speed descriptors to appear twice 2013-03-04 23:25:27 +00:00
Thomas Schmitt a18c862e84 Bug fix: On some drives the request for minimum speed yielded maximum speed 2013-03-04 21:13:32 +00:00
Thomas Schmitt c2903ab717 Corrected wrong use of sizeof 2013-02-26 08:01:51 +00:00
Thomas Schmitt 3a17a8a014 Bug fix: All CD tracks were reported with the sizes of the tracks in the first session. Regression introduced with version 1.2.0 (rev 4552). 2013-01-15 10:42:21 +00:00
Thomas Schmitt 676231c362 New API call burn_disc_get_incomplete_sessions(), new burn_toc_entry.track_status_bits 2013-01-12 19:51:21 +00:00
Thomas Schmitt f4cfe9b267 Made number transition to 1.2.7 2013-01-08 14:52:30 +00:00
Thomas Schmitt 057f24d5b9 New API call burn_list_sev_texts() 2012-12-14 14:51:46 +00:00
Thomas Schmitt bb409500ed New API call burn_read_audio 2012-11-30 19:34:33 +00:00
Thomas Schmitt 1a74a05965 Let mmc_format_unit issue failure message on SCSI error 2012-11-29 11:26:53 +00:00
Thomas Schmitt 2df7f3d5d5 Forgot mcc.c with the previous commit 2012-11-29 11:25:54 +00:00
Thomas Schmitt 0728d855d5 Beginning to create new API call burn_read_audio 2012-11-29 11:14:33 +00:00
Thomas Schmitt 100be5078c Better reaction on non-plausible ATIP info from CD-ROM 2012-11-24 18:14:36 +00:00
Thomas Schmitt a2b4361d69 Preserving an immature sketch of media quality scanning 2012-11-18 18:46:05 +00:00
Thomas Schmitt d216764867 Corrected error handling which was spoiled by rev 4852 2012-10-25 17:35:10 +00:00
Thomas Schmitt 4c74cbf7b3 New flag bit4 of burn_read_data() for better handling of TAO end blocks 2012-10-25 12:39:50 +00:00
Thomas Schmitt 7ed8619a9e Reporting (still cryptic) details about refusal to blank 2012-10-24 09:58:25 +00:00
Thomas Schmitt fa95326bac Bug fix: Speed setting had no effect on BD media. Thanks to Dennis Vshivkov. 2012-09-13 08:57:31 +00:00
Thomas Schmitt eb86e5298a Removed buggy burn_strdup() and burn_strndup(). Thanks to Rich Felker. 2012-08-28 16:20:45 +00:00
Thomas Schmitt 5397f85d38 Made number transition to 1.2.5 2012-07-20 16:49:40 +00:00
Thomas Schmitt 5ab84314c0 Bug fix: CD tracks were perceived 2 sectors too short. Nice with TAO, bad with SAO. 2012-07-08 10:29:20 +00:00
Thomas Schmitt 577d34e931 Improved reported number of missing bytes in case of track source shortage 2012-06-17 17:33:26 +00:00
Thomas Schmitt 8ce54bcb28 Bug fix: CD SAO sessions with data tracks started by an audio pause 2012-05-30 20:22:07 +00:00
Thomas Schmitt 6956a3b3d3 Corrections of CRC-32 algorithm for 32 bit systems. Mentioning of start value. 2012-05-08 08:04:13 +00:00
Thomas Schmitt f81990c703 Compile time option for obs_pad 2012-04-13 20:26:35 +00:00
Thomas Schmitt 529c4a2d2e New API call burn_write_opts_set_obs_pad() 2012-04-08 11:26:35 +00:00
Thomas Schmitt 31a4d2c1e1 Reacted on warning of Debian buildd 2012-04-04 18:38:39 +00:00
Thomas Schmitt 0000bbc13a Made number transition to 1.2.3 2012-04-02 17:26:28 +00:00
Thomas Schmitt 72c0e6236d Added to DVD manufacturer list: "UmeDisc Limited" 2012-02-22 10:30:40 +00:00
Thomas Schmitt 2e4cf980c3 Re-implemented the CRC functions under own copyright 2012-02-19 10:10:11 +00:00
Thomas Schmitt 40db9f1d81 Added LG drive sense code 2 06 00 to error list (officially listed is 3 06 00) 2012-02-13 10:28:26 +00:00
Thomas Schmitt 1b15b71905 Mathematical description of crc_ccitt() versus crc_11021() 2012-02-11 17:12:16 +00:00
Thomas Schmitt 7c158963c1 Reacted on warnings of Debian buildd 2012-02-02 19:07:15 +00:00
Thomas Schmitt 38fcbec963 One of the flaws was phony. Corrected back. 2012-01-27 19:09:30 +00:00
Thomas Schmitt fcad54ae01 Corrected small flaws of libburn release tarball 2012-01-27 19:00:54 +00:00
Thomas Schmitt 9664d1a315 Made number transition to 1.2.1 2012-01-27 15:12:50 +00:00
Thomas Schmitt 3ea4892040 Corrected some minor differences between SVN and local development tree 2012-01-23 10:27:13 +00:00
Thomas Schmitt daf744276e Disabled dangerous abort handler actions while BURN_DRIVE_GRABBING 2012-01-23 10:15:01 +00:00
Thomas Schmitt 8963905bbc Improved reaction time on interrupt during writing of lead-in 2012-01-23 10:13:08 +00:00
Thomas Schmitt 88da4e9ead Prevented SIGSEGV with testing drive for being prepared for writing 2012-01-23 10:10:19 +00:00
Thomas Schmitt cc9ec8666c Revoked an aspect of rev 4465 which aborted operation before drive is ready 2012-01-23 10:09:04 +00:00
Thomas Schmitt 7ce13c6dd3 Allowing SCSI read operations > 32 kB 2012-01-23 10:06:52 +00:00
Thomas Schmitt 6549072dcd Introduced burn_offst_source_new() flag bit0 which bans size changes 2012-01-23 09:56:53 +00:00
Thomas Schmitt a88039e222 Counting post-gap as part of track with burn_track_get_sectors() 2012-01-23 09:54:20 +00:00
Thomas Schmitt a75a838af9 Introduced burn_offst_source_new() flag bit0 which bans size changes 2012-01-23 09:36:47 +00:00
Thomas Schmitt 024701c220 Counting post-gap as part of track with burn_track_get_sectors() 2012-01-23 09:30:48 +00:00
Thomas Schmitt 72c31e89b2 Made conversion of ASC ASCQ to text independent of key and its text 2012-01-18 14:20:25 +00:00
Thomas Schmitt 2f548e046d Detecting address sequence errors with .cue command INDEX 2012-01-18 12:04:30 +00:00
Thomas Schmitt 9f8e4fb36b Preventing CD-TEXT with sessions that are not pure audio 2012-01-16 11:23:04 +00:00
Thomas Schmitt 645d41fdd2 Corrected a comment 2012-01-16 11:20:49 +00:00
Thomas Schmitt 38bbbf2496 Implemented index reporting for struct burn_progress 2012-01-13 17:10:06 +00:00
Thomas Schmitt ce0f35831b Removed development macro which sneaked in with previous revision 2012-01-13 15:09:47 +00:00
Thomas Schmitt 0e9a79e352 Corrected write count for tracks with post-gap 2012-01-13 14:27:21 +00:00
Thomas Schmitt 66639c6e11 Flushing buffer to MMC before a new track begins 2012-01-13 12:22:07 +00:00
Thomas Schmitt 9623a04ce9 Interpreting .cue file command POSTGAP 2012-01-12 12:03:47 +00:00
Thomas Schmitt ef7999342b New API call burn_track_set_postgap_size() 2012-01-12 08:44:34 +00:00
Thomas Schmitt cb8c85579d Clarified meaning of parameter trackno with call burn_disc_track_lba_nwa() 2012-01-11 13:29:46 +00:00
Thomas Schmitt 66eba145d3 Obtaining more accurate track sizes for CD with pre-gap 2012-01-11 12:25:06 +00:00
Thomas Schmitt 5cd7b09d5c Interpreting .cue file command PREGAP 2012-01-11 12:22:52 +00:00
Thomas Schmitt ac7f4e90a4 Reacted on compiler warning 2012-01-11 12:20:35 +00:00
Thomas Schmitt 2c10b444a1 Enabled pre-gap size for tracks other than the first one 2012-01-11 11:16:18 +00:00
Thomas Schmitt ea1160f077 Removed a development test contraption introduced by previous revision 2012-01-10 12:49:34 +00:00
Thomas Schmitt d4c4430a40 New API call burn_track_set_pregap_size() 2012-01-10 12:20:23 +00:00
Thomas Schmitt a9b400833c New API call burn_session_get_start_tno() 2012-01-08 14:10:24 +00:00
Thomas Schmitt 0446226aa6 Implemented track number starts > 1 with .cue and v07t.txt files 2012-01-08 13:23:16 +00:00
Thomas Schmitt 18efcd6299 New API call burn_session_set_start_tno() 2012-01-07 19:09:15 +00:00
Thomas Schmitt 775eb175b6 Implemented data extraction from cue sheet FILE type WAVE 2012-01-06 12:59:20 +00:00
Thomas Schmitt b8b6734cd1 Reacted on compiler warning about rev 4519 2012-01-05 14:09:35 +00:00
Thomas Schmitt c1bd3ced61 Bug fix: Progress report with blanking and formatting could be bogus 2012-01-05 11:55:22 +00:00