rocky
82c7c09a97
Fixes for Mingw+MSYS and DLL support from Carlo Bramini
...
* configure.ac: Added AC_LIBTOOL_WIN32_DLL for enabling the creation of shared libraries.
* configure.ac: Added -I$(top_srcdir)/include to LIBCDIO_CFLAGS, it allows to build outside the source tree.
* configure.ac: Added LT_NO_UNDEFINED for adding '-no-undefined' switch to libtool when building win32 shared libraries.
* configure.ac: Check for Windows.h presence if under Mingw (included for using Sleep() function).
* configure.ac: Check for more missing functions: setenv(), unsetenv(), sleep(), gmtime_r(), localtime_r().
* example/cdchange.c: If sleep() function does not exist, it tries to emulate it with a similar code (require inclusion of Windows.h)
* src/cddb.c:
* lib/cdda_interface/scsi_interface.c: Compilation fails because u_int32_t is undefined. It has been changed to uint32_t to be compliant to all other parts of the libraries.
* lib/cdda_interface/Makefile.am:
* lib/iso9660/Makefile.am:
* lib/cdio++/Makefile.am:
* lib/paranoia/Makefile.am:
* lib/udf/Makefile.am:
* lib/driver/Makefile.am: added LT_NO_UNDEFINED to libtool flags.
* lib/iso9660/iso9660.c: Added replacements for setenv(), unsetenv(), gmtime_r\
(), localtime_r().
2008-06-25 08:01:53 +00:00
flameeyes
3685c0d78e
Mark variables and constant as static in source tools, examples and tests. Also replace some char pointers with char arrays.
2008-06-19 15:44:10 +00:00
karl
0a527dedaf
gplv3
2008-03-24 15:30:55 +00:00
karl
3b90a7dda4
update Makefiles to GPLv3+
2008-03-20 19:02:37 +00:00
rocky
691d64e45b
More libiconv escallation. Sigh.
2008-03-15 17:26:13 +00:00
rocky
50108ffa33
Was accessing out of array bounds. Caught by Stanislav Brabec.
2008-01-09 04:27:16 +00:00
flameeyes
209f1d3358
Add a configure option to disable examples building (useful for distributions, as adding them to noinst will still build them during make all wasting build time.
2008-01-01 03:14:17 +00:00
rocky
962b6ca3c5
Yet another program, yet another ignore
2007-08-12 12:42:16 +00:00
rocky
2a01d008fc
iso9660_fs.c: remove some bugs in freeing here.
...
isolsn.c: Add a sample program for showing the path for given LSN.
2007-08-12 00:56:09 +00:00
flameeyes
8e05594039
Ignore udffile too.
2007-08-09 02:29:29 +00:00
flameeyes
e9c92f9c11
Include config.h, or the build will fail on at least Mac OS X.
2007-08-09 01:49:09 +00:00
rocky
3567d2d7da
cdchange doesn't use off_t, ssize or any fancy types so it shouldn't #include SYS_TYPES. Furthermore if cdio needs it, it should #include it on its own.
2007-04-15 16:42:23 +00:00
rocky
911b3d27fc
Take gcc's suggestion regarding adding parenthesis
2007-04-15 16:39:18 +00:00
rocky
63f0137d4b
read.h: include sys/types.h since some OS's need it.
...
cdio-eject.c: no real changes. Add copyright.
2007-04-15 16:23:58 +00:00
rocky
e52da6ef99
lib/driver/gnu_linux.c: bug #19221 (possibly): memory Leak opening an inaccessible device.
...
cdchange.c: a stray character got added to the file
2007-03-07 04:35:47 +00:00
rocky
07b1944cb6
Better strtol fix based on SMS's remark.
2007-03-05 11:49:24 +00:00
rocky
0dc4e4d5ae
Set errno=0 before calling strtol(). bug #18131
2007-03-05 11:18:49 +00:00
rocky
4b243c3ff2
Add cdio-eject
2006-10-27 10:50:57 +00:00
rocky
52ed17c992
gnu_linux.c: Fix bug reported by Burkhard in eject_media_linux() where
...
we were closing an open tray.
NEWS/README: note current changes
2006-10-21 11:38:16 +00:00
gmerlin
63d8add85e
* Umount before ejecting
...
* Ultra simple eject command
2006-10-21 10:55:18 +00:00
rocky
c1f11393ac
Add routine to get tray status (open/closed) and sample program.
...
Seems broken at least on SuSE 10.1 if not other GNU/Linux's though.
2006-10-11 12:38:17 +00:00
rocky
6a7e4c5d8f
gnu_linux: get_disc_last_lsn: cdte_format seems to want to be CDROM_MSF
...
example/tracks.c: add a call to cdio_get_disc_last_lsn()
NEWS - note UDF limitation. correct spelling typo.
2006-07-30 13:19:49 +00:00
rocky
4d2b5161f6
Add UDF 1.02 image and use that in the default file-extraction test.
2006-04-17 11:45:22 +00:00
rocky
dfe7ad5410
udf2.c becomes the more general udffile.c
2006-04-17 03:37:58 +00:00
rocky
8a9128cf61
Remove some bugs in udf_file.c Others remain.
2006-04-16 02:34:08 +00:00
rocky
f4438d5de5
.
2006-04-15 16:18:33 +00:00
rocky
3ccf07b429
iso3.cpp->isofile.cpp
2006-04-15 16:16:05 +00:00
rocky
3446755f9c
iso1.cpp->isolist.cpp
2006-04-15 16:13:51 +00:00
rocky
eaab952ae5
iso1->isolist iso2->isofile2 iso3->isofile
2006-04-15 16:12:51 +00:00
rocky
b11191eb3a
iso1->isolist iso2->isofile2 iso3->isofile
2006-04-15 15:47:05 +00:00
rocky
c3e6beb4c1
iso1.c->isolist.c iso2.c -> isofile2.c iso3.c -> isofile.c
2006-04-15 15:45:25 +00:00
rocky
c6a4097efe
Note newer example programs like udf1.c udf2.c
...
libcdio.texi also has some other small typo corrections.
2006-04-12 10:17:49 +00:00
rocky
12ac7c8a23
configure.ac: in 0.78cvs now
...
mmc2a.c: small changes from and synch with mmc-tool.
2006-04-12 09:38:45 +00:00
rocky
0c2b1bfa9e
mmc: add mmc_close_tray().
...
mmc-tool: add option for close tray and to get mode-sense 2A data.
2006-04-12 09:30:14 +00:00
rocky
f66b71db63
udf_fs.c: was freeing freed memory when searching for a file that
...
doesn't exist.
udf2.c: print error when looking for a non-existent file.
2006-04-11 06:46:29 +00:00
rocky
e11190d0b2
Print out entire file. (File must fit in memory though.)
2006-04-11 01:02:18 +00:00
rocky
f34726b9e6
typos
2006-04-03 19:54:06 +00:00
rocky
7112802d38
.cvsignore
2006-04-03 19:32:17 +00:00
rocky
2087a6a769
Add example program to show MODE_SENSE page 2A: CD/DVD Capabilities
...
and Mechanical Status Page.
2006-04-03 18:50:46 +00:00
rocky
dbc63b695a
Yet another attempt to get "get_drives_with_cap" working in a rational
...
fashion.
2006-03-28 03:26:16 +00:00
rocky
10942d5ba3
One more time, go over logic of get_drives_with_cap.
2006-03-27 02:48:41 +00:00
rocky
bcd670d1c6
More strcat, sprintf, and strcpy replacements.
2006-03-18 01:28:13 +00:00
rocky
926254ff8c
.
2006-03-07 21:03:28 +00:00
rocky
29d414594d
Change list of files from a list to a vector. read_pvd() for
...
ISO9660::FS works. iso4.cpp: show ISO 9660 info for CD-images (like
iso1 for ISO images).
2006-03-07 19:55:11 +00:00
rocky
67d4aa6fe9
Move code from devices.hpp and iso9660.hpp headers into external files -
...
cdio.cpp, device.cpp, iso9660.cpp
configure.ac, C++/OO/Makefile.am: Found some bugs libraries acces in doing the
above move.
2006-03-07 10:46:36 +00:00
rocky
789f24066b
Cosmetic changes.
2006-03-06 22:15:35 +00:00
rocky
7a3ded9bd7
Add ISO9660::FS - the cdio portion of ISO9660 reading.
...
iso9600.h: another function rename to be more consistent.
2006-03-06 21:54:56 +00:00
rocky
42b0b841d0
iso9660.hpp, iso1.cpp get list iterators working.
...
rest: add _ to isachar and isadchar
2006-03-06 19:39:35 +00:00
rocky
b6da64e564
Start OO iso1.cpp.
...
iso3.cpp: valgrind lint.
iso1.cpp: tidy more.
2006-03-06 04:48:37 +00:00
rocky
5e2d4f6bdf
Get first libiso9660++ OO program (iso3) working.
2006-03-06 01:34:22 +00:00