Commit Graph

373 Commits

Author SHA1 Message Date
b035050202 Implemented burn_source.cancel() in a binary backwards compatible way 2007-12-24 14:21:23 +00:00
4dc47fe664 Made postponed change in thread management 2007-12-07 18:53:22 +00:00
762ac54aa7 Enabled reading of TOC from ROM drives (direly needed for xorriso) 2007-11-29 18:55:06 +00:00
56e7b19487 Reacted on build warnings on another system 2007-11-26 15:49:39 +00:00
2cdb1a1638 Marked loss of binary backward compatibility back in rev 655, libburn-0.3.1 2007-11-18 09:34:33 +00:00
71d33c7932 Reacted on cdwrite@ message about INT_MAX in cdrom.h of kernel 2.6.23 2007-10-27 07:52:54 +00:00
fd5e112c03 Removed useless alternative after zombies turned out to be caused by gdb 2007-10-19 13:32:49 +00:00
868ebb921a Small change with debug verbosity of abort handler 2007-10-19 13:27:59 +00:00
b12a1bc1fa Starting threads detached, providing two alternatives. But zombies still there. 2007-10-19 11:53:19 +00:00
2faecdca1c Prevented SIGSEGV with burn_msgs_obtain() on non-initialized library 2007-10-18 20:03:50 +00:00
c9db94896d New API function burn_text_to_sev() 2007-10-16 21:22:29 +00:00
3bb68810d7 Activated re-usal of disposed global drive_array slots 2007-10-15 14:41:29 +00:00
9322c1832a Corrected SIGSEGV with changing from one drive to the other 2007-10-15 11:59:34 +00:00
a36dd06d92 Made possible to silence error message about missing pseudo drive 2007-10-15 11:58:08 +00:00
b4c9692efc Corrected status reply for unstarted fifo (2nd try) 2007-10-07 11:05:00 +00:00
a2980736ed Corrected status reply for unstarted fifo 2007-10-07 11:03:07 +00:00
3e7c3985b5 Fixed data spoiling bug with ring buffer introduced with rev 1155 2007-10-05 23:15:25 +00:00
e54562c05d Revoked urge to have a magic[4] in burn_source (free_data is magic enough) 2007-10-05 08:57:52 +00:00
fb4994f331 Corrected abort preventing bug introduced with revision 1131 2007-10-04 21:29:49 +00:00
0395a130f0 Minor adjustments with comment text 2007-10-04 21:02:06 +00:00
063e04ca4b Inserted the necessary error messages and magic numbers 2007-10-04 20:00:58 +00:00
3e27a5f196 More documentation for burn_source, new API call burn_fifo_inquire_status() 2007-10-03 22:37:39 +00:00
54006e424c Implemented the ring buffer of burn_fifo_source_new() object 2007-10-03 22:35:37 +00:00
fff15eb73c More documentation for burn_source 2007-10-03 11:54:42 +00:00
055e0caeab Ensured synchronize cache before release 2007-10-03 11:24:41 +00:00
a5b0be3885 More documentation for burn_source 2007-10-03 08:41:01 +00:00
f9572c1e89 Corrected error with revision 1145 2007-10-02 17:59:12 +00:00
ba9e1127dd Clarified role of burn_source 2007-10-02 13:54:54 +00:00
f7a2646e97 Moved minimum tracksize padding out of TAO track closing. Now done before sync. 2007-10-02 12:06:11 +00:00
f94133cf45 Implemented a simple fifo to decouple from burn_source signals 2007-09-30 21:24:55 +00:00
243531a5b0 Added forgotten handling of non-writer-non-control threads 2007-09-29 19:15:49 +00:00
9d6e80a6e2 Trying to catch signals from within the writer thread 2007-09-29 18:50:19 +00:00
5df00bc231 Made stdio-drives work on readonly CD block devices 2007-09-24 18:14:07 +00:00
897ab8fbc6 Implemented drive role 3, sequential write-only stdio drives (e.g. stdout) 2007-09-24 13:54:52 +00:00
785af9fedc Added forgotten handling of "sdtio:" with burn_drive_equals_adr() 2007-09-24 06:24:02 +00:00
20cf4bf020 Updated a comment about Immed and a debug message with tray loading 2007-09-23 16:35:44 +00:00
344d3baaf5 New API function burn_drive_equals_adr() 2007-09-23 16:33:21 +00:00
967f7a9812 Reacted on compiler warning 2007-09-22 19:30:45 +00:00
86b845a4e2 New API function burn_msgs_submit() 2007-09-22 15:17:41 +00:00
8a77bb8259 Had to revoke Immed bit on load command. LG GSA-4082B : premature "no media" 2007-09-21 12:04:27 +00:00
e9d5c3b760 Changed some comments, reacted on harmless compiler warning 2007-09-18 20:15:25 +00:00
1ec9176f9c Made use of Immed bit with 1Bh START STOP UNIT and 35h SYNCHRONIZE CACHE 2007-09-18 20:03:20 +00:00
bbdc3fe840 Made use of Immed bit with 5Bh CLOSE TRACK/SESSION 2007-09-18 13:03:24 +00:00
61b112f45a New API function burn_drive_leave_locked() 2007-09-18 09:05:05 +00:00
c7bebfea3b Equipped libdax_msgs with reference counter. Completed its mutex protection. 2007-09-15 20:41:25 +00:00
9face00707 New API function burn_set_messenger() 2007-09-15 17:19:45 +00:00
6367e324ec A sed converter which creates libiso_msgs.[ch] from libdax_msgs.[ch] 2007-09-15 17:18:05 +00:00
ae30adf6e8 Prepared for neat sed translation. Explained concept of libdax_msgs variants. 2007-09-15 17:16:49 +00:00
5890ddf498 Imported Range "vreixo" into libburn/libdax_msgs.h 2007-09-15 11:21:27 +00:00
0fd485f0ee Documented burn_write_opts_set_multi @param opts 2007-09-14 12:24:19 +00:00
f1dfde0f32 Took into respect time granularity with stdio speed control 2007-09-14 12:23:15 +00:00
ccda1ff6fe Implemented cache syncing for stdio-drives in burn_random_access_write() 2007-09-12 19:50:57 +00:00
1dd0c0623c Implemented realistic speed simulation with stdio-drives 2007-09-12 11:58:43 +00:00
bd24c8a60a Reacted on compiler -O2 warnings 2007-09-12 11:57:49 +00:00
7b205b4b4d Brought burn_stdio_write_track() onto sector_data() for outmost realism 2007-09-12 10:45:34 +00:00
4e2cb0897e Added forgotten return 0 to an error case 2007-09-10 11:00:16 +00:00
d9ef40e39c Ended falsely alleged erasability of DVD-RAM and DVD+RW 2007-09-09 18:28:05 +00:00
6a99e0d412 Made use of os dependend stdio size estimation 2007-09-09 13:39:00 +00:00
a81641aea0 Enable os dependend stdio size estimation 2007-09-09 13:31:29 +00:00
aa908add32 Called statvfs() for size estimation of regular stdio-files. 2007-09-09 09:35:23 +00:00
491929686b Made Libburn_precheck_write_ruleS unconditional code 2007-09-08 17:47:59 +00:00
3a84e030be Documentation of stdio-drives 2007-09-08 16:09:52 +00:00
18192de9df Allowed -dummy burns with stdio-drives (because /dev/null is no block device) 2007-09-08 13:20:59 +00:00
8e6ba563b9 Fixed memory leak and possible SIGSEGV with pseudo-drives 2007-09-08 10:22:05 +00:00
75b24186df Bug fix about stdio:<charcter device> 2007-09-07 23:47:07 +00:00
c6c54e3d14 Report media profile in cdrskin blank, format, burn runs 2007-09-07 23:41:38 +00:00
21c39ce85f Made burn_drive_scan_and_grab() extend the drive list rather than replacing it 2007-09-07 19:09:25 +00:00
e1572dd9da Avoided locked tray after failed burn_finish() because of busy drive 2007-09-07 18:46:36 +00:00
bbcd635830 Forgotten file for revision 1006 2007-09-07 16:45:37 +00:00
74eff6f013 Corrected memory leak introduced by revision 1005 2007-09-07 16:40:38 +00:00
624e05055c Made burn_drive_scan() refuse work on non-empty drive list. 2007-09-07 15:50:31 +00:00
0baf72ddeb Reacted on changed media profile of stdio-drives 2007-09-07 12:38:20 +00:00
7d563ef83d Corrected write counter in burn_stdio_write_track() 2007-09-07 10:27:38 +00:00
d9c3767ac1 Promoted burn_drive_raw_get_adr() to API function burn_drive_d_get_adr() 2007-09-06 12:09:10 +00:00
3f40d4fceb Added forgotten read/write counters in burn_stdio_write_track() 2007-09-06 10:00:20 +00:00
9bad2c9362 Added forgotten handling of pseudo-drives in burn_drive_grab() 2007-09-06 09:44:34 +00:00
ab5f294c57 Fixed a bug with failed opening of pseudo-drive 2007-09-05 19:53:50 +00:00
d2579c0671 burn_drive_grab_dummy() becomes invisible part of burn_drive_scan_and_grab() 2007-09-05 19:42:03 +00:00
5f728bd634 Reacted on compiler warnings 2007-09-04 22:56:50 +00:00
1c3a79629c New API calls burn_drive_grab_dummy(), burn_drive_get_drive_role() 2007-09-04 22:50:04 +00:00
b40de2f9ed New API function burn_write_opts_get_drive() 2007-09-01 18:23:06 +00:00
2139aa5ac3 More memory management changes proposed by Joris Dobbelsteen 2007-08-25 16:02:58 +00:00
3e432c0341 Corrected memory management flaws found by Joris Dobbelsteen 2007-08-25 08:58:41 +00:00
d8399cc8c9 Allowed to suppress error message from failed burn_read_data() 2007-08-23 15:02:55 +00:00
64352b61ea Taking synchronous read/write into respect with abort handling 2007-08-22 17:33:53 +00:00
6929dc443e Avoiding libburn read-ahead-bug 2007-08-22 16:13:44 +00:00
ab47b3bb1b Corrected dangerous typo with error message production of mmc_read_10() 2007-08-22 13:46:21 +00:00
b12a3c9e8f Corrected harmless type declaration flaws 2007-08-17 08:19:30 +00:00
9a1e8a34a5 New API function burn_read_data() 2007-08-12 15:25:56 +00:00
6c6256bacf Checked in burn_random_access_write() wether drive is grabbed 2007-08-12 09:51:04 +00:00
190268a3ea Clarifications about burn_random_access_write() 2007-08-12 09:48:31 +00:00
9078e65ae6 New API function burn_random_access_write() 2007-08-11 20:16:57 +00:00
beb51c50f9 Updated comments about supported profiles and media types 2007-08-10 20:11:33 +00:00
e926103150 Corrected a typo 2007-08-09 13:31:43 +00:00
87eb838f52 Changed "unsigned" to "unsigned int" 2007-08-09 13:30:52 +00:00
f78da1be6c Removed ban against speed 0 with burn_drive_set_buffer_waiting() 2007-07-19 07:23:01 +00:00
3ffd17556b Implemented minimum speed in burn_drive_set_speed() 2007-07-17 08:57:24 +00:00
37868dec9b Only set realistic maximum DVD speeds (for my LG GSA which fails otherwise) 2007-07-14 11:22:01 +00:00
374b08090c New API function burn_drive_get_best_speed() 2007-07-14 11:15:57 +00:00
7be3b520f6 New API-Function burn_drive_set_buffer_waiting() 2007-07-12 17:17:41 +00:00
ba1956ebeb Preparations to avoid writing which will not fit in drive buffer 2007-07-12 16:29:29 +00:00
45ab57b588 Fixed low transaction size introduced by cooperation of revisions 855 and 860 2007-05-28 19:25:09 +00:00
79b1f0d5b9 Added check for .might_simulate to burn_write_opts_auto_write_type() 2007-05-28 17:03:12 +00:00
c719abbaf2 Forgotten update of error list with revison 857 2007-05-28 16:59:49 +00:00
1b90038fd5 Extended struct burn_multi_caps by .might_simulate 2007-05-28 16:56:58 +00:00
bbc91a6363 Moved general 32 kiB buffer restriction from write.c to os-linux.h 2007-05-28 13:24:33 +00:00
e82e1a6f19 Added SCSI opcode to output of revision 857 2007-05-22 16:51:15 +00:00
24bc011305 Report eventual sg_io_hdr_t host_status,driver_status as debug messages 2007-05-22 15:45:57 +00:00
4b84739574 For Linux 2.4, USB audio : Reduced CD output buffer size to 32 kiB 2007-05-21 19:03:06 +00:00
40b4674190 For Linux 2.4, USB : Carefully avoided to inquire more data than available 2007-05-21 18:57:09 +00:00
a80f930290 Prepared fflushing and stderr output of SCSI command log 2007-05-21 18:45:44 +00:00
65f82d82ab Polished messages, comments and description of DDLP-A 2007-04-18 13:01:21 +00:00
9cfe22531d Updated comments about DVD+R 2007-04-18 10:36:35 +00:00
52a66bff95 Progress due to tests with test/open-cd-excl 2007-04-18 10:35:38 +00:00
b634e90b2c Corrected description of return values 2007-04-16 21:31:23 +00:00
dd88dbe1d1 Polished txt and finally threw out getter functions 2007-04-16 21:20:39 +00:00
359c87956e Implemented ddlpa_lock_btl() 2007-04-15 20:34:27 +00:00
218b525c55 Began test implementation of DDLP-A 2007-04-15 16:46:47 +00:00
c007d17a37 Switched from O_NONBLOCK to O_NDELAY (see http://lkml.org/lkml/2007/4/11/141) 2007-04-13 17:12:06 +00:00
eeba8beb36 Avoided SIGSEGV with an old SCSI CD-ROM drive and its wild replies 2007-04-10 14:46:46 +00:00
1400550c71 Fixed bug in sg_open_scsi_siblings() introduced with revision 802 2007-04-10 08:31:04 +00:00
bf0f065be0 Used O_EXCL|O_RDWR and fcntl() even within sg_obtain_scsi_adr() 2007-04-10 08:20:45 +00:00
1588a02e44 Fixed bug with drive_scsi_dev_family= introduced by revision 796 (fcntl lock) 2007-04-10 08:17:07 +00:00
bd11c06c06 Reacted on compiler warning about last_rdev, fixed fresh typo bug 2007-04-09 11:10:41 +00:00
64618b7d96 Cleaned up scsi sibling management, sketched grafting of DDLP 2007-04-09 10:54:17 +00:00
24757f8826 New cdrskin options --drive_not_f_setlk and --drive_not_o_excl 2007-04-04 18:43:23 +00:00
1711997cac Added fcntl() locking to O_EXCL locking 2007-04-03 14:58:17 +00:00
44af2b807d Added fcntl() locking to O_EXCL locking 2007-04-03 14:04:04 +00:00
2fd0c5ed7e Avoided unconditional finalizing of DVD+R 2007-03-30 21:47:56 +00:00
9658d1fba3 Allowed finalizing of DVD+R 2007-03-30 20:11:36 +00:00
1d611b4ca4 Enabled -isosize for first track by help of fifo and without seeking 2007-03-28 10:07:09 +00:00
1eebdd3da6 Fixed bug with burn_disc_available_space(...,NULL) 2007-03-24 09:31:11 +00:00
ffad471211 Trying to recognize kernel >= 2.6 and use /dev/sr by default 2007-03-15 19:59:54 +00:00
2a32b31ed7 Kept mmc_get_configuration() from believing the announcement of 1 GB reply 2007-03-15 19:55:17 +00:00
6b825d7360 After loading tray wait for unit to become ready or to report some clear error 2007-03-15 19:50:57 +00:00
413c3455b3 React properly on drive stating that it cannot write any media 2007-03-15 19:46:26 +00:00
c03d02ff39 New option drive_scsi_dev_family=sr|scd|sg 2007-03-14 13:37:32 +00:00
913192f601 Some adjustments for DVD+R recording 2007-03-07 15:13:25 +00:00
ada31dd3f2 Enabled DVD+R as tested media (-multi is still always on) 2007-03-06 20:51:32 +00:00
d178e2abdb Enabled DVD+R, DVD+R DL via --allow_untested_media_types, always -multi for now 2007-03-06 19:50:32 +00:00
ae543245f6 Fixed bug introduced with rev 736ff which prevented audio CD burning 2007-03-03 15:16:19 +00:00
796dab221d Re-enabled -force with write modes which seem unavailable 2007-03-03 14:11:52 +00:00
0a4f2e2f10 Determine physical interface SCSI,ATA,SATA,USB,... (for future use) 2007-03-03 14:09:46 +00:00
a25ab4d433 Preparations for supporting DVD+R[/DL] 2007-03-01 12:07:29 +00:00
e38875f0fd Took into respect deliberate lack of DVD-R/DL multi session capability 2007-02-25 11:26:20 +00:00
4d7e638af6 Forgotten source file for revision 743 2007-02-23 19:33:56 +00:00
7e8aaa102a Enabled DVD-R/DL Sequential via burn_allow_untested_profiles() 2007-02-23 19:08:58 +00:00
8f7b95717c Made burn_disc_available_space() take into respect burn_write_opts_set_start_byte() 2007-02-22 11:30:12 +00:00
dd805b734d Macro for length of rejection reasons string (old size is still safe) 2007-02-22 09:49:18 +00:00
b9c71c4d63 Disabled debugging messages about format descriptors 2007-02-22 07:31:32 +00:00