summaryrefslogtreecommitdiff
path: root/apt-pkg/cdrom.h
AgeCommit message (Collapse)AuthorFilesLines
2014-04-26properly undo CD-ROM mount in all error casesJohn Ogness1-0/+1
In bug #740673 various issues in the CD-ROM handling code were identified, while most the issues ended up being fixed in another way, the unmounting of the CD-ROM in error cases was not tackled so far. (The patch was modified by the commiter to apply)
2014-03-21mark optional (private) symbols as hiddenDavid Kalnischkies1-1/+3
This methods should not be used by anyone expect the library itself as they are helpers for the specific class and therefore perfect candidates for hidding. Git-Dch: Ignore
2014-03-13apt-cdrom ident shouldn't be interactiveDavid Kalnischkies1-1/+1
Commit 62dcbf84 changed the code of ident to look more like the code for add on my suggestion. This made ident interactive as it starts with a unmount, press enter, mount cycle. The first two are skipped now. This fixes d-i/apt-setup which is using it to get ID as well as label. Closes: 740673
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-0/+2
Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
2014-02-22Fix typos in documentation (codespell)Michael Vogt1-1/+1
2014-02-12remove duplication in pkgCdrom::Add and ::IdentDavid Kalnischkies1-0/+4
Git-Dch: Ignore
2013-08-05fix some unitialized data membersMichael Vogt1-1/+1
2012-09-03* apt-pkg/cdrom.cc:David Kalnischkies1-0/+1
- copy only configured translation files from a CD-ROM and not all available translation files preventing new installs with d-i from being initialized with all translations (Closes: #678227) - handle Components in the reduction for the source.list as multi-arch CDs otherwise create duplicated source entries (e.g. "wheezy main main")
2011-12-13revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies1-0/+1
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-12-13revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies1-0/+4
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies1-1/+2
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies1-20/+18
2011-07-28* apt-pkg/cdrom.{cc,h}:Michael Vogt1-5/+3
- cleanup old ABI break avoidance hacks
2011-03-10apt-pkg/cdrom.{cc,h}: add (ugly) workaround to ensure the ABI is not broken ↵Michael Vogt1-0/+2
(also in this case its probably not needed because pkgUDevCDrom is not used outside libapt itself, still its better to be on the save side)
2011-03-09apt-pkg/cdrom.{cc,h}: add ScanForRemovable helperMichael Vogt1-1/+6
2011-03-09apt-pkg/cdrom.h: move new member to the end to minimize ABI riskMichael Vogt1-1/+1
2011-03-04apt-pkg/cdrom.{cc,h}: add udev_enumerate_add_match_sysattr to the libudev classMichael Vogt1-0/+1
2009-07-23[ABI] merged the libudev-dlopen branch, this allows to passMichael Vogt1-0/+37
"apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will dynamically find/mount the cdrom device (if libhal is available)
2009-07-23methods/cdrom.cc: add AutoDetectAndMount methodMichael Vogt1-2/+0
2009-07-22methods/cdrom.cc: move the scan into the loop that waits for a CDMichael Vogt1-0/+2
2009-07-09move libudev based code into libapt cdrom.cc classMichael Vogt1-0/+36
2009-06-30add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies1-5/+4
2006-12-14* merged the no-pragma branchMichael Vogt1-3/+0
2006-10-02* removed the pragma messMichael Vogt1-3/+0
2005-07-28* added a BUGS file with known problem, added apt-cdrom support for ↵Michael Vogt1-2/+5
translated package descriptions
2005-02-04Move CD-ROM handling backend into libapt-pkgMatt Zimmerman1-0/+71
- apt-cdrom.cc seperated into frontend (cmdline/apt-cdrom.cc and library apt-pkg/cdrom.{cc,h}) (Ubuntu #5668) Patches applied: * michael.vogt@ubuntu.com--2005/apt--auth-cdrom--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-51 * michael.vogt@ubuntu.com--2005/apt--auth-cdrom--0--patch-1 * added support for signed cdroms * michael.vogt@ubuntu.com--2005/apt--auth-cdrom--0--patch-2 * merged with apt--main, seperated cmdline/apt-cdrom.cc into a library (apt-pkg/cdrom.{cc,h}) * michael.vogt@ubuntu.com--2005/apt--auth-cdrom--0--patch-3 * cleaned up the cmdline/apt-cdrom.cc code