ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/lib/libmport/plist.c
Revision 4057 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 24 15:59:08 2011 UTC (12 years, 9 months ago) by laffer1
File length: 5673 byte(s)
Diff to previous 3885
Add new mport_setting_get and mport_setting_set functions to allow users to customize settings.  The sqlite3 master database now contains a settings table with name and val fields.

There are two obvious uses for this:

1. defining the country the user is in to pick the nearest mirror list.
2. storing the last time we fetched an index so it doesn't  try to do it all the time when it's out of date and we haven't generated one on stargazer yet.

Revision 3885 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 13 18:18:55 2011 UTC (13 years, 1 month ago) by laffer1
File length: 5710 byte(s)
Diff to previous 3876
Change the xsystem command string to use up to the kern.argmax memory for @exec plist commands.

Revision 3876 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 12 01:29:38 2011 UTC (13 years, 2 months ago) by laffer1
File length: 5710 byte(s)
Diff to previous 3580
Get rid of an extra param we don't need.  (one less warning)

don't set NULL when we're not using the assignment anyway.

Use \0 when it's the end of a string for clarity.

Revision 3580 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 11 07:01:11 2010 UTC (13 years, 5 months ago) by laffer1
File length: 5718 byte(s)
Diff to previous 3408
Fix a bug in update_primitive where a free'd var was strdup'd.

Assign NULL to several pointers.  While it shouldn't matter, if something weird happens it will make it easier to track down.

Revision 3408 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 03:02:12 2010 UTC (13 years, 11 months ago) by laffer1
File length: 5717 byte(s)
Diff to previous 3199
While this is mostly unnecessary, let's allocate memory in many cases with calloc for now. It will make finding bugs that much easier since we're guaranteed to have the memory zerod.

Revision 3199 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 28 22:44:36 2009 UTC (14 years, 5 months ago) by laffer1
File length: 5698 byte(s)
Diff to previous 2991
Import OpenBSD's sysctl sensors framework.  This is based on work by Constantine A. Murenin for the 2007 Google summer of code for FreeBSD.

Includes:
sample config file for sensord
rc scripts
documentation fixes and updates
sys/kern/kern_sensors.c
sys/sensors.h

This is compatible with OpenBSD 4.1 and 4.2 in terms of the userland bits.

Revision 2991 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 5 00:02:22 2009 UTC (14 years, 11 months ago) by laffer1
File length: 5615 byte(s)
Diff to previous 2784
Upgrade to latest snap from github.

Revision 2784 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 14 20:42:54 2009 UTC (15 years ago) by ctriv
File length: 5533 byte(s)
Diff to previous 1366
Sync with the current devel version of libmport.

Revision 1366 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 5 22:18:20 2008 UTC (16 years, 4 months ago) by ctriv
File length: 5378 byte(s)
Diff to previous 1260
Latest developement version of libmport.

Changes:

It is now possible to create, install, and delete packages from a system
with the library.

The install primative now uses the progress callback system to give the user
feedback during the install.

Support for installing into a chroot envirement is included at the library
level.  This is useful if you have a GUI app and you don't want your entire
process stuck in the chroot.

Many function names have been changed in an effort to improve the library's
orginization.

Many bug fixes and subtle changes.

Todo:

Docs:
	library overview.
	function reference.
	mport bundle specification.

The merge primative.

The fetch primative.

The update primative.

Top level functions to do things like "fetch this bundle, its depends, and
then install them all."

Some of the sematics are still up in the air.  For example, gtk12 and
gtk2 both have a pkgname of gtk.  libmport doesn't allow two package with
the same name to be installed.

Hard links are not implemented in a mport bundle.

Much more testing and bug fixing is needed.

Revision 1260 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 28 03:01:31 2007 UTC (16 years, 7 months ago) by ctriv
File length: 5329 byte(s)
Diff to previous 1257
Improvements to the sub.package schema.
Cleanup now always runs.
Fixed error handing in db_create.c

Revision 1257 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 27 03:26:38 2007 UTC (16 years, 7 months ago) by ctriv
File length: 5334 byte(s)
Diff to previous 1241
Updated the error handling in mport_parse_plist_file().

Revision 1241 - (view) (download) (annotate) - [select for diffs]
Added Sun Sep 23 22:30:52 2007 UTC (16 years, 7 months ago) by ctriv
File length: 5334 byte(s)
Start of libmport.  At the moment all it can do is a make a tmpdir with the
package-meta database.  Soon we'll pull in libarchive and start to make some
packages.

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a