Commit Graph

536 Commits

Author SHA1 Message Date
5d93e04b28 Trying to catch signals from within the writer thread 2007-09-29 18:50:19 +00:00
ec763a5ec9 Corrected announcement with dev=help about stdio: "Open via UNIX device" 2007-09-27 09:32:13 +00:00
06ec817caa Disallowed emulated drives for superuser, allowed stdio:/dev/null for all 2007-09-27 08:34:26 +00:00
ff9715aa78 Made -O2 default if not -g is given 2007-09-26 17:39:35 +00:00
24d6db4b64 Disabled --allow_emulated_drives in setuid runs 2007-09-26 15:53:43 +00:00
78c16e7590 Made stdio-drives work on readonly CD block devices 2007-09-24 18:14:07 +00:00
c78403d8cf Took into respect new drive role 3 2007-09-24 13:58:47 +00:00
5e995c9cd0 Implemented drive role 3, sequential write-only stdio drives (e.g. stdout) 2007-09-24 13:54:52 +00:00
83fe9f3621 Added forgotten handling of "sdtio:" with burn_drive_equals_adr() 2007-09-24 06:24:02 +00:00
9e4996a3b5 Updated a comment about Immed and a debug message with tray loading 2007-09-23 16:35:44 +00:00
0721cf89d1 Made use of burn_drive_equals_adr() 2007-09-23 16:34:34 +00:00
78dd75b1ff New API function burn_drive_equals_adr() 2007-09-23 16:33:21 +00:00
282e228a6b New API function burn_msgs_submit() 2007-09-22 15:17:41 +00:00
d8990e820e Updated list of unsupported cdrecord and wodim options 2007-09-22 14:06:43 +00:00
af3c8aaa5d Had to revoke Immed bit on load command. LG GSA-4082B : premature "no media" 2007-09-21 12:04:27 +00:00
1e78652ac9 Triggered fallback by unsuitable media, made -version report fallback program 2007-09-20 13:00:02 +00:00
a6f41f8beb New option fallback_program= 2007-09-19 21:28:18 +00:00
e71c12caf3 Made cdrskin/compile_cdrskin.sh -do_diet work again 2007-09-19 14:18:14 +00:00
85f24401a8 Implemented emulation for cdrecord option -waiti 2007-09-19 09:40:16 +00:00
190ad329fd Implemented emulation for cdrecord option -immed 2007-09-18 20:40:14 +00:00
c8e9249e9d Changed some comments, reacted on harmless compiler warning 2007-09-18 20:15:25 +00:00
e43ec2b295 Corrected an outdated HINT text 2007-09-18 20:04:22 +00:00
a80f8359fe Made use of Immed bit with 1Bh START STOP UNIT and 35h SYNCHRONIZE CACHE 2007-09-18 20:03:20 +00:00
129db7ee49 Made use of Immed bit with 5Bh CLOSE TRACK/SESSION 2007-09-18 13:03:24 +00:00
2748f396ae Implemented emulation for cdrecord option -lock 2007-09-18 09:06:26 +00:00
698866015e New API function burn_drive_leave_locked() 2007-09-18 09:05:05 +00:00
2b0ce8ec9a Learned helptexts for -inq, -format, -load from cdrecord (they are wrong, btw) 2007-09-18 07:20:23 +00:00
8fd2539a5c Implemented emulation for cdrecord options -inq , -format , -load 2007-09-17 16:35:33 +00:00
361a110274 Equipped libdax_msgs with reference counter. Completed its mutex protection. 2007-09-15 20:41:25 +00:00
f379a2c91a New API function burn_set_messenger() 2007-09-15 17:19:45 +00:00
15b9f786c8 Prepared for neat sed translation. Explained concept of libdax_msgs variants. 2007-09-15 17:16:49 +00:00
635530b05e Imported Range "vreixo" into libburn/libdax_msgs.h 2007-09-15 11:21:27 +00:00
ab15717ce0 Documented burn_write_opts_set_multi @param opts 2007-09-14 12:24:19 +00:00
eb88f800d7 Took into respect time granularity with stdio speed control 2007-09-14 12:23:15 +00:00
488e970665 Fixed bug with direct_write_amount=0 2007-09-12 19:59:56 +00:00
02ede28b9e Implemented cache syncing for stdio-drives in burn_random_access_write() 2007-09-12 19:50:57 +00:00
e137f8fd20 Implemented realistic speed simulation with stdio-drives 2007-09-12 11:58:43 +00:00
854a806292 Reacted on compiler -O2 warnings 2007-09-12 11:57:49 +00:00
090861567d Brought burn_stdio_write_track() onto sector_data() for outmost realism 2007-09-12 10:45:34 +00:00
4b4f141fcc Added forgotten return 0 to an error case 2007-09-10 11:00:16 +00:00
c70a78c477 Ended falsely alleged erasability of DVD-RAM and DVD+RW 2007-09-09 18:28:05 +00:00
542afd7b3b Made use of os dependend stdio size estimation 2007-09-09 13:39:00 +00:00
75dd141055 Enable os dependend stdio size estimation 2007-09-09 13:31:29 +00:00
ffed552183 Fixed bug with dev=stdio: where path contains a digit 2007-09-09 09:36:36 +00:00
ea09a516bd Called statvfs() for size estimation of regular stdio-files. 2007-09-09 09:35:23 +00:00
bdf862b429 Made Libburn_precheck_write_ruleS unconditional code 2007-09-08 17:47:59 +00:00
bdff3ac16c New option --allow_emulated_drives 2007-09-08 16:49:19 +00:00
8bf8287c58 Changed speed measurement of stdio-drives to DVD 1x units 2007-09-08 13:22:10 +00:00
40cb77d953 Allowed -dummy burns with stdio-drives (because /dev/null is no block device) 2007-09-08 13:20:59 +00:00
df382b3f06 Made cdrskin work with null-drive (which it mistook for something like ATA:) 2007-09-08 10:26:15 +00:00
c8c349469d Fixed memory leak and possible SIGSEGV with pseudo-drives 2007-09-08 10:22:05 +00:00
1f7a6575bc Bug fix about stdio:<charcter device> 2007-09-07 23:47:07 +00:00
386149d5bf Report media profile in cdrskin blank, format, burn runs 2007-09-07 23:41:38 +00:00
c62e63a8d9 Made burn_drive_scan_and_grab() extend the drive list rather than replacing it 2007-09-07 19:09:25 +00:00
b812af96f7 Avoided locked tray after failed burn_finish() because of busy drive 2007-09-07 18:46:36 +00:00
5a8910cdd8 Forgotten file for revision 1006 2007-09-07 16:45:37 +00:00
0bbc34d861 Corrected memory leak introduced by revision 1005 2007-09-07 16:40:38 +00:00
8e171c89a6 Made burn_drive_scan() refuse work on non-empty drive list. 2007-09-07 15:50:31 +00:00
0b13c31b07 Reacted on changed media profile of stdio-drives 2007-09-07 12:38:20 +00:00
e72b2fd732 Corrected write counter in burn_stdio_write_track() 2007-09-07 10:27:38 +00:00
edc50c89ee Promoted burn_drive_raw_get_adr() to API function burn_drive_d_get_adr() 2007-09-06 12:09:10 +00:00
ec5bb6eba5 Removed obstacles for use of stdio-drives 2007-09-06 10:01:28 +00:00
6f2b1c214e Added forgotten read/write counters in burn_stdio_write_track() 2007-09-06 10:00:20 +00:00
43a415a081 Added forgotten handling of pseudo-drives in burn_drive_grab() 2007-09-06 09:44:34 +00:00
277e3cfe29 Fixed a bug with failed opening of pseudo-drive 2007-09-05 19:53:50 +00:00
0c14e6ee4c burn_drive_grab_dummy() becomes invisible part of burn_drive_scan_and_grab() 2007-09-05 19:42:03 +00:00
6841cb68e5 Reacted on compiler warnings 2007-09-04 22:56:50 +00:00
31650eb988 New API calls burn_drive_grab_dummy(), burn_drive_get_drive_role() 2007-09-04 22:50:04 +00:00
797f403b0d New API function burn_write_opts_get_drive() 2007-09-01 18:23:06 +00:00
070afd1a9b Made program behavior with --grow_overwriteable_iso more consistent 2007-08-28 14:31:42 +00:00
53634f23de New cdrskin option --grow_overwriteable_iso 2007-08-26 20:09:47 +00:00
dcf35bd556 More memory management changes proposed by Joris Dobbelsteen 2007-08-25 16:02:58 +00:00
16a5bbacb4 Corrected memory management flaws found by Joris Dobbelsteen 2007-08-25 08:58:41 +00:00
c6bc4a5e97 Taking synchronous read/write into respect with abort handling 2007-08-22 17:33:53 +00:00
f567874c98 Corrected dangerous typo with error message production of mmc_read_10() 2007-08-22 13:46:21 +00:00
d2c9236c25 Corrected harmless type declaration flaws 2007-08-17 08:19:30 +00:00
d21697b289 New API function burn_read_data() 2007-08-12 15:25:56 +00:00
12b6a07e9f Debug message explaining why burn_drive_convert_fs_adr() acts on track source 2007-08-12 09:52:40 +00:00
ed06b376f2 Checked in burn_random_access_write() wether drive is grabbed 2007-08-12 09:51:04 +00:00
58e6577134 New option direct_write_amount= using new API call burn_random_access_write() 2007-08-11 20:22:52 +00:00
cf0dd395f0 New API function burn_random_access_write() 2007-08-11 20:16:57 +00:00
6950ac8c42 Reflected recent URL changes to libburnia-project.org 2007-08-11 07:51:04 +00:00
1bd8012f10 Changed "libburn-1.pc" to "libburn-5.pc" to re-enable ./bootstrap ; ./configure 2007-08-10 20:29:59 +00:00
621a1c24e4 Updated comments about supported profiles and media types 2007-08-10 20:11:33 +00:00
731d17581b Corrected a typo 2007-08-09 13:31:43 +00:00
0b575e044e Changed "unsigned" to "unsigned int" 2007-08-09 13:30:52 +00:00
5363693b07 Allowed speed=any 2007-08-09 13:28:40 +00:00
00df1c9b85 Made number transition to 0.3.9 2007-07-20 18:53:32 +00:00
e274c90f9d Avoided new track-drive test with option --no_convert_fs_adr 2007-07-19 17:18:12 +00:00
bf25c6edc8 Trying to prevent usage of burn drive as track source 2007-07-19 14:29:59 +00:00
2c467c8378 Removed ban against speed 0 with burn_drive_set_buffer_waiting() 2007-07-19 07:23:01 +00:00
bdadae6ba5 Implemented minimum speed in burn_drive_set_speed() 2007-07-17 08:57:24 +00:00
dc97c0d0df Experimental option --adjust_speed_to_drive. Caution: May vanish soon. 2007-07-14 11:23:16 +00:00
8b8afdd59b Only set realistic maximum DVD speeds (for my LG GSA which fails otherwise) 2007-07-14 11:22:01 +00:00
4dd8f098ac New API function burn_drive_get_best_speed() 2007-07-14 11:15:57 +00:00
16b6e1905a New options modesty_on_drive= and minbuf= 2007-07-12 17:31:57 +00:00
22d1d56ebd New API-Function burn_drive_set_buffer_waiting() 2007-07-12 17:17:41 +00:00
0217702b8c Preparations to avoid writing which will not fit in drive buffer 2007-07-12 16:29:29 +00:00
d7ca1dd333 Fixed low transaction size introduced by cooperation of revisions 855 and 860 2007-05-28 19:25:09 +00:00
ddc2745495 Added check for .might_simulate to burn_write_opts_auto_write_type() 2007-05-28 17:03:12 +00:00
3326fcdb2d Extended struct burn_multi_caps by .might_simulate 2007-05-28 16:56:58 +00:00
fba8eaef80 Moved general 32 kiB buffer restriction from write.c to os-linux.h 2007-05-28 13:24:33 +00:00
15a70555b2 Added SCSI opcode to output of revision 857 2007-05-22 16:51:15 +00:00
83e196d69f Disabled macro Cdrskin_debug_libdax_msgS. Thus getting unqueued error messages. 2007-05-22 15:46:57 +00:00
c86f5d7cde Report eventual sg_io_hdr_t host_status,driver_status as debug messages 2007-05-22 15:45:57 +00:00
cd7b4e6de4 For Linux 2.4, USB audio : Reduced CD output buffer size to 32 kiB 2007-05-21 19:03:06 +00:00
79adcb520b For Linux 2.4, USB : Carefully avoided to inquire more data than available 2007-05-21 18:57:09 +00:00
41f2a40a58 Prepared fflushing and stderr output of SCSI command log 2007-05-21 18:45:44 +00:00
9b663f15d9 Next cdrskin-0.3.7 cycle 2007-04-23 17:15:29 +00:00
ba7cd6d66e Made number transition and activated development documentation 2007-04-23 15:43:51 +00:00
fd5b681bc6 Updated comments about DVD+R 2007-04-18 10:36:35 +00:00
aa03717f24 Made use of fcntl(F_SETLK) switchable (and thus became more free with default) 2007-04-13 17:28:25 +00:00
ab5f39b8bb Switched from O_NONBLOCK to O_NDELAY (see http://lkml.org/lkml/2007/4/11/141) 2007-04-13 17:12:06 +00:00
a78e6f9b29 Avoided SIGSEGV with an old SCSI CD-ROM drive and its wild replies 2007-04-10 14:46:46 +00:00
047f9c75f5 Fixed bug in sg_open_scsi_siblings() introduced with revision 802 2007-04-10 08:31:04 +00:00
159715ebaa Used O_EXCL|O_RDWR and fcntl() even within sg_obtain_scsi_adr() 2007-04-10 08:20:45 +00:00
f617567e03 Fixed bug with drive_scsi_dev_family= introduced by revision 796 (fcntl lock) 2007-04-10 08:17:07 +00:00
76ed9570c9 Reacted on compiler warning about last_rdev, fixed fresh typo bug 2007-04-09 11:10:41 +00:00
4bc8e4caea Cleaned up scsi sibling management, sketched grafting of DDLP 2007-04-09 10:54:17 +00:00
76a9fa4fa2 New cdrskin options --drive_not_f_setlk and --drive_not_o_excl 2007-04-04 18:43:23 +00:00
4c85686aad Added fcntl() locking to O_EXCL locking 2007-04-03 14:58:17 +00:00
a686340407 Make --old_pseudo_scsi_adr -scanbus work with any drive_scsi_dev_family= 2007-04-03 14:56:36 +00:00
16c7cf1889 Added fcntl() locking to O_EXCL locking 2007-04-03 14:04:04 +00:00
15b33422d0 Avoided unconditional finalizing of DVD+R 2007-03-30 21:47:56 +00:00
649f67697a Allowed finalizing of DVD+R 2007-03-30 20:11:36 +00:00
eb860ee4b7 Silenced error message if tsize= is smaller than source is willing to deliver 2007-03-28 20:25:22 +00:00
a8c69206fe Made fifo based -isosize read 64k first and the rest only at normal stage 2007-03-28 18:21:46 +00:00
26745b4064 Enabled -isosize with S_IFREG or S_IFBLK files and without fifo 2007-03-28 16:02:26 +00:00
962f68b1d6 Silenced error condition about -sao with stdin and -isosize 2007-03-28 11:15:04 +00:00
cc5560fc86 Enabled -isosize for first track by help of fifo and without seeking 2007-03-28 10:07:09 +00:00
5d65697697 Preparations for option -isosize via fifo (only a debug message yet) 2007-03-27 21:33:22 +00:00
749d12591e Warning of very small tsize= settings. (Proposal by Eduard Bloch) 2007-03-24 09:34:56 +00:00
98f0dab87e Fixed bug with burn_disc_available_space(...,NULL) 2007-03-24 09:31:11 +00:00
dba40c756b Trying to recognize kernel >= 2.6 and use /dev/sr by default 2007-03-15 19:59:54 +00:00
fd9e5dc935 Kept mmc_get_configuration() from believing the announcement of 1 GB reply 2007-03-15 19:55:17 +00:00
2816d8b569 Moved manual device family decision to a sufficiently early stage 2007-03-15 19:54:01 +00:00
64233b0ccc After loading tray wait for unit to become ready or to report some clear error 2007-03-15 19:50:57 +00:00
9e1b3719d6 React properly on drive stating that it cannot write any media 2007-03-15 19:46:26 +00:00
6086b59301 New option drive_scsi_dev_family=sr|scd|sg 2007-03-14 13:37:32 +00:00
820f0924f9 Made number transition to 0.3.5 2007-03-12 15:58:19 +00:00
bd529442ed New option assert_write_lba= 2007-03-09 13:43:57 +00:00
71c490d0ae Some adjustments for DVD+R recording 2007-03-07 15:13:25 +00:00
4458bb130a Enabled DVD+R as tested media (-multi is still always on) 2007-03-06 20:51:32 +00:00
99172bdeb4 Enabled DVD+R, DVD+R DL via --allow_untested_media_types, always -multi for now 2007-03-06 19:50:32 +00:00
6a5e1b6bd5 Fifo got stuck if sum of processed track sizes was exactly aligned to fifo size 2007-03-04 18:45:52 +00:00
49e0a6cb1a Fixed bug introduced with rev 736ff which prevented audio CD burning 2007-03-03 15:16:19 +00:00
b6c7fd7478 Re-enabled -force with write modes which seem unavailable 2007-03-03 14:11:52 +00:00
e955d50198 Determine physical interface SCSI,ATA,SATA,USB,... (for future use) 2007-03-03 14:09:46 +00:00
3b5c80e867 Preparations for supporting DVD+R[/DL] 2007-03-01 12:07:29 +00:00
0c4cfdd359 Took into respect deliberate lack of DVD-R/DL multi session capability 2007-02-25 11:26:20 +00:00