Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 18, 2009
  1. Document some of the more stable classes

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Jan 10, 2009
  1. Fix synchronization transactions

    authored
    An upgrade transaction was being initialized instead of a sync, meaning
    that libalpm was looking for a local package file, rather than within
    the databases.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Jan 9, 2009
  1. Add extra attributes to PMPackage

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  2. Add NSArray translation methods for alpm_list_t objects with strings

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  3. Remove unecessary _setFlag: and _unsetFlag: methods in PMTransaction

    authored
    These were one-liners and thus were merged into the "higher" level
    _setOrUnsetFlag:dependingOnBool: method.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  4. Ensure local database is registered prior to transactions

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Dec 28, 2008
  1. Add alpm_list_t to NSArray translation categories

    authored
    NSArray and NSMutableArray have methods to translate from alpm_list_t
    objects containing pmpkg_t and pmdb_t objects.
  2. Add private PMPackage init method accepting a pmpkg_t and PMDatabase

    authored
    This allows framework classes to directly initialise a PMPackage
    providing the pmpkg_t, as opposed to sending initWithName:fromDatabase:,
    which has to find the pmpkg_t with the specified name.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  3. Add private -[PMDatabase _database] method

    authored
    This method is meant to be in the package scope. It allows other
    classes in the same package to access the pmdb_t in the database
    object. This allows us to remove a lot of unecessary code when
    initializing a PMPackage, and simply use the reference to the pmdb_t
    directly.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  4. Add private init methods that use native alpm structures

    authored
    Private initialisation methods were added to PMDatabase and PMPackage,
    allowing to initialise an object using an alpm structure directly,
    instead of using hacks, such as searching for a package.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Dec 27, 2008
  1. Add notifications for refreshing a repository

    authored
    PMRepositoryWillRefreshNotification will be posted just before a
    repository is updated, PMRepositoryDidRefreshNotification will be
    posted just after a repository is updated.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Dec 26, 2008
  1. Add -[PMTransaction interrupt] method

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  2. Add -[PMPackage isInstalled] method

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  3. Change servers property to method to be compatible with GNUstep

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  4. Add some documentation for the new initialization methods

    authored
    The interface of -[PMPackage initWithcontentsOfURL:] and
    -[PMPackage initWithcontentsOfFile:] is not likely to change, so it
    might as well be documented now.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Dec 23, 2008
  1. Fix adding servers to a repository

    authored
    The path of the URL was being added, instead of the whole url (include
    scheme and host)
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  2. Add logging in Debug target

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Dec 22, 2008
  1. Add support for initialising a PMPackage from a file or URL

    authored
    Packages can be initialised from a url (http, ftp or file) using
    -[PMPackage initWithContentsOfURL], and from a file using -[PMPackage
    initWithContentsOfFile]. If URL is a file these two methods function the
    same.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  2. Fix initialisation of PMPackage

    authored
    First of all the node was being set to the next node before its data was
    used, thus causing problems for the last node. Second of all the name of
    db was being retrieved, while db was not initialised, instead of using
    tmpdb.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  3. Add methods for registering repositories with PMPackageManager

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Dec 19, 2008
  1. Fix INSTALL_NAME to "@rpath" (Only supported in Mac OS 10.5)

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  2. Add -Wall to flags and suppress uknown pragma warnings

    authored
    Xcode uses "#pragma mark" to separate sections, we don't want to stop
    the compilation process because of that.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  3. Add GNUmakefile for GNUstep

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  4. Flatten directory structure in preperation for the GNUmakefile

    authored
    GNUstep Makefiles seem to prefer flat directory structures.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  5. Make compatible with standard GCC (for GNUstep)

    authored
    Standard GCC does not support Objective-C 2.0 features such as
    properties, the package scope and fast enumeration.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Dec 16, 2008
  1. Add PMPackageManager class

    authored
    This class is equivalent to a wrapper around alpm's pmhandle_t
    structure. Its main role is to initialize, configure and release
    libalpm.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  2. Add PMTransaction class

    authored
  3. Add PMLocalDatabase class

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  4. Add a method for retrieving a package from a database, given a name

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  5. Add debugging information for adding a server to a database

    authored
    alpm_db_setserver() only returns -1 when the database was not found in
    the list of registered databases. Since this is guaranteed not to be the
    case we can assert that the function call will return 0 for debugging
    purposes.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  6. Add Xcode project files

    authored
    The framework currently only links against libalpm in /usr/local/lib.
    This means that users must install libalpm on their systems in order for
    this framework to function. This should be fixed later so that the
    framework is relocatable.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  7. Add PMRepository class

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
    
    The sync transaction does not appear to be necessary or even relevant to
    refreshing a database. Pacman code confirms this.
    
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
  8. Add PMPackage and PMDatabase classes

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Commits on Dec 14, 2008
  1. Add README.md and LICENSE

    authored
    Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Something went wrong with that request. Please try again.