summaryrefslogtreecommitdiff
path: root/apt-pkg/cdrom.h
Commit message (Collapse)AuthorAgeFilesLines
* make all d-pointer * const pointersDavid Kalnischkies2015-08-101-3/+3
| | | | | | | | | | | | | | Doing this disables the implicit copy assignment operator (among others) which would cause hovac if used on the classes as it would just copy the pointer, not the data the d-pointer points to. For most of the classes we don't need a copy assignment operator anyway and in many classes it was broken before as many contain a pointer of some sort. Only for our Cacheset Container interfaces we define an explicit copy assignment operator which could later be implemented to copy the data from one d-pointer to the other if we need it. Git-Dch: Ignore
* add d-pointer, virtual destructors and de-inline de/constructorsDavid Kalnischkies2015-06-161-2/+9
| | | | | | | | To have a chance to keep the ABI for a while we need all three to team up. One of them missing and we might loose, so ensuring that they are available is a very tedious but needed task once in a while. Git-Dch: Ignore
* properly undo CD-ROM mount in all error casesJohn Ogness2014-04-261-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)
* mark optional (private) symbols as hiddenDavid Kalnischkies2014-03-211-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
* apt-cdrom ident shouldn't be interactiveDavid Kalnischkies2014-03-131-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
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-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)
* Fix typos in documentation (codespell)Michael Vogt2014-02-221-1/+1
|
* remove duplication in pkgCdrom::Add and ::IdentDavid Kalnischkies2014-02-121-0/+4
| | | | Git-Dch: Ignore
* fix some unitialized data membersMichael Vogt2013-08-051-1/+1
|
* * apt-pkg/cdrom.cc:David Kalnischkies2012-09-031-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")
* revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies2011-12-131-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
* revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies2011-12-131-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
* use forward declaration in headers if possible instead of includesDavid Kalnischkies2011-09-191-1/+2
|
* do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-20/+18
|
* * apt-pkg/cdrom.{cc,h}:Michael Vogt2011-07-281-5/+3
| | | - cleanup old ABI break avoidance hacks
* apt-pkg/cdrom.{cc,h}: add (ugly) workaround to ensure the ABI is not broken ↵Michael Vogt2011-03-101-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)
* apt-pkg/cdrom.{cc,h}: add ScanForRemovable helperMichael Vogt2011-03-091-1/+6
|
* apt-pkg/cdrom.h: move new member to the end to minimize ABI riskMichael Vogt2011-03-091-1/+1
|
* apt-pkg/cdrom.{cc,h}: add udev_enumerate_add_match_sysattr to the libudev classMichael Vogt2011-03-041-0/+1
|
* [ABI] merged the libudev-dlopen branch, this allows to passMichael Vogt2009-07-231-0/+37
|\ | | | | | | "apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will dynamically find/mount the cdrom device (if libhal is available)
| * methods/cdrom.cc: add AutoDetectAndMount methodMichael Vogt2009-07-231-2/+0
| |
| * methods/cdrom.cc: move the scan into the loop that waits for a CDMichael Vogt2009-07-221-0/+2
| |
| * move libudev based code into libapt cdrom.cc classMichael Vogt2009-07-091-0/+36
| |
* | add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies2009-06-301-5/+4
|/
* * merged the no-pragma branchMichael Vogt2006-12-141-3/+0
|\
| * * removed the pragma messMichael Vogt2006-10-021-3/+0
| |
* | * added a BUGS file with known problem, added apt-cdrom support for ↵Michael Vogt2005-07-281-2/+5
|/ | | | translated package descriptions
* Move CD-ROM handling backend into libapt-pkgMatt Zimmerman2005-02-041-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