]> git.mxchange.org Git - simgear.git/log
simgear.git
10 years agocppbind: some new methods and safer type check.
Thomas Geymayer [Thu, 29 May 2014 14:29:02 +0000 (16:29 +0200)]
cppbind: some new methods and safer type check.

10 years agonasal::Hash: add iterators.
Thomas Geymayer [Thu, 29 May 2014 12:14:52 +0000 (14:14 +0200)]
nasal::Hash: add iterators.

10 years agoPropertyBasedElement: extend HTML5 (Canvas) data props interface
Thomas Geymayer [Wed, 28 May 2014 22:29:12 +0000 (00:29 +0200)]
PropertyBasedElement: extend HTML5 (Canvas) data props interface

Allow check if property exists and removing properties.

10 years agoUpdate doxgen config and some comments.
Thomas Geymayer [Wed, 28 May 2014 22:27:50 +0000 (00:27 +0200)]
Update doxgen config and some comments.

10 years agocanvas::Element: setter/getter for HTML5 style data-* properties.
Thomas Geymayer [Wed, 28 May 2014 16:09:34 +0000 (18:09 +0200)]
canvas::Element: setter/getter for HTML5 style data-* properties.

10 years agocanvas: exclude data-* properties from triggering an update.
Thomas Geymayer [Tue, 27 May 2014 15:54:37 +0000 (17:54 +0200)]
canvas: exclude data-* properties from triggering an update.

Allows using data-* properties on canvas and elements,
similar to HTML5, without triggering a new rendering of
the canvas.

10 years agoShivaVG: get rid of glu dependency.
Thomas Geymayer [Tue, 27 May 2014 15:50:49 +0000 (17:50 +0200)]
ShivaVG: get rid of glu dependency.

We do not use the image rendering part anyhow, so
just disable it for now. If we want to use it we
will need a modified implementation anyhow to
integrate with OpenSceneGraph threaded OpenGL
resource management.

10 years agoFix bad Nasal parse of ‘foo[]’.
James Turner [Tue, 27 May 2014 09:05:17 +0000 (10:05 +0100)]
Fix bad Nasal parse of ‘foo[]’.

When a vector subscript is empty, don’t parse it as ‘[foo]’, instead
print a parse error.

Fix by Nicholas Scheel & Thomas Geymayer.

10 years agoCanvas: support for custom events and event dispatching.
Thomas Geymayer [Sun, 18 May 2014 11:29:48 +0000 (13:29 +0200)]
Canvas: support for custom events and event dispatching.

10 years agocppbind.Ghost: more member overloads.
Thomas Geymayer [Sun, 18 May 2014 21:54:59 +0000 (23:54 +0200)]
cppbind.Ghost: more member overloads.

10 years agoEnable dynamic linking on Mac for Boost.Test
Thomas Geymayer [Sun, 18 May 2014 15:46:50 +0000 (17:46 +0200)]
Enable dynamic linking on Mac for Boost.Test

10 years agocppbind.Ghost: clean up a bit
Thomas Geymayer [Sun, 18 May 2014 14:24:24 +0000 (16:24 +0200)]
cppbind.Ghost: clean up a bit

10 years agocppbind: convert maps from nasal.
Thomas Geymayer [Sun, 18 May 2014 11:33:10 +0000 (13:33 +0200)]
cppbind: convert maps from nasal.

10 years agocppbind.Ghost: register _get called on retrieving unset member.
Thomas Geymayer [Sun, 18 May 2014 11:31:31 +0000 (13:31 +0200)]
cppbind.Ghost: register _get called on retrieving unset member.

Allow registering a callback on ghosts called upon retrieving
an unset member.

10 years agocppbind: from_nasal/to_nasal for SGWeakReferenced based objects
Thomas Geymayer [Sat, 10 May 2014 08:36:13 +0000 (10:36 +0200)]
cppbind: from_nasal/to_nasal for SGWeakReferenced based objects

10 years agoCanvas: move window from flightgear.
Thomas Geymayer [Fri, 9 May 2014 14:01:25 +0000 (16:01 +0200)]
Canvas: move window from flightgear.

10 years agoSGWeakReferenced: fix for clang.
Thomas Geymayer [Fri, 9 May 2014 09:52:42 +0000 (11:52 +0200)]
SGWeakReferenced: fix for clang.

10 years agoFix for CMake 2.6
Thomas Geymayer [Thu, 8 May 2014 09:17:06 +0000 (11:17 +0200)]
Fix for CMake 2.6

No named arguments for add_test in CMake 2.6.

10 years agoAdd smart pointer tests (finally using Boost.Test)
Thomas Geymayer [Thu, 8 May 2014 00:02:36 +0000 (02:02 +0200)]
Add smart pointer tests (finally using Boost.Test)

10 years agoFix use count for deleted, reference counted objects.
Thomas Geymayer [Wed, 7 May 2014 23:42:25 +0000 (01:42 +0200)]
Fix use count for deleted, reference counted objects.

Remove inconsitency of returning 0 or ~0. If the object
has been deleted there are no more references, so always
return 0.

10 years agoAdd support for using SGWeakPtr with virtual base classes.
Thomas Geymayer [Wed, 7 May 2014 22:19:36 +0000 (00:19 +0200)]
Add support for using SGWeakPtr with virtual base classes.

 - Add SGVirtualWeakReferenced to be used as base class
   for reference counted objects supporting weak references
   and virtual base classes.
 - Modify SGWeakPtr to copy with SGVirtualWeakReferenced
   objects.

10 years agoCanvas: base Elements/Canvas on SGWeakReferenced.
Thomas Geymayer [Tue, 6 May 2014 16:07:23 +0000 (18:07 +0200)]
Canvas: base Elements/Canvas on SGWeakReferenced.

10 years agocppbind: add naContext/naRef overload to Ghost::_set
Thomas Geymayer [Tue, 6 May 2014 14:11:13 +0000 (16:11 +0200)]
cppbind: add naContext/naRef overload to Ghost::_set

10 years agoSGSharedPtr/SGWeakPtr: add some methods/operators
Thomas Geymayer [Tue, 6 May 2014 14:06:33 +0000 (16:06 +0200)]
SGSharedPtr/SGWeakPtr: add some methods/operators

 - allow placing SGWeakPtr in sorted STL containers (eg. requiring
   operator<)
 - add reset() like for boost::shared_ptr/boost::weak_ptr
 - add helper to extract pointer from SGWeakPtr

10 years agocppbind: small logging/warning updates.
Thomas Geymayer [Mon, 5 May 2014 12:51:33 +0000 (14:51 +0200)]
cppbind: small logging/warning updates.

10 years agocppbind.Ghost: register _set called on setting new properties.
Thomas Geymayer [Mon, 5 May 2014 12:49:50 +0000 (14:49 +0200)]
cppbind.Ghost: register _set called on setting new properties.

10 years agocppbind: disable special handling of 'parents' for ghost.
Thomas Geymayer [Mon, 5 May 2014 12:48:29 +0000 (14:48 +0200)]
cppbind: disable special handling of 'parents' for ghost.

10 years agoNasal: allow ghost as 'me' for 'call'
Thomas Geymayer [Mon, 5 May 2014 12:47:10 +0000 (14:47 +0200)]
Nasal: allow ghost as 'me' for 'call'

10 years agofix for sgGetBuckets. Northern most buckets in the bounding box were left out
Peter Sadrozinski [Wed, 16 Apr 2014 14:18:13 +0000 (10:18 -0400)]
fix for sgGetBuckets.  Northern most buckets in the bounding box were left out

10 years agomath/nasal: Add more SGRect members and nasal helper.
Thomas Geymayer [Tue, 15 Apr 2014 08:04:37 +0000 (10:04 +0200)]
math/nasal: Add more SGRect members and nasal helper.

10 years agofix windows build
Peter Sadrozinski [Sun, 6 Apr 2014 16:14:44 +0000 (12:14 -0400)]
fix windows build

10 years ago- secondary tc and vertex attribs in .btg file
Peter Sadrozinski [Sat, 11 Jan 2014 03:42:16 +0000 (22:42 -0500)]
- secondary tc and vertex attribs in .btg file
- decrease debug when writing btg files
- deprecate some set_xxx apis

10 years agoFixed for FreeBSD
James Turner [Thu, 3 Apr 2014 12:42:11 +0000 (13:42 +0100)]
Fixed for FreeBSD

(From Gerald Laplanche)

10 years agoCanvas::Path: also restore glBlendFunc.
Thomas Geymayer [Tue, 1 Apr 2014 10:35:43 +0000 (12:35 +0200)]
Canvas::Path: also restore glBlendFunc.

10 years agoCanvas::Path: reduce number of OpenGL state changes.
Thomas Geymayer [Tue, 1 Apr 2014 10:03:53 +0000 (12:03 +0200)]
Canvas::Path: reduce number of OpenGL state changes.

 - Do not enable any multisampling as for FBOs it is not
   supported anyhow.
 - Just restore GL_BLEND and GL_STENCIL_TEST manually
   => Getting rid of the huge load of glPushAttrib/glPopAttrib
      gets us a huge performance boost, especially for drivers
      with slow state stack implementations.

10 years agocppbind: fix testing for naRef identity.
Thomas Geymayer [Mon, 31 Mar 2014 12:21:21 +0000 (14:21 +0200)]
cppbind: fix testing for naRef identity.

10 years agoCanvas: do not write bounding box to property tree.
Thomas Geymayer [Mon, 31 Mar 2014 11:24:33 +0000 (13:24 +0200)]
Canvas: do not write bounding box to property tree.

 - Prevent writing to property tree in wrong thread.
 - Add Element::getBoundingBox and
   Element::getTightBoundingBox as uniform way to
   retrieve bounding boxes of all canvas elements.
 - Update path bounding boxe in update traversal.

10 years agonasal::Ghost: remove bogus warning.
Thomas Geymayer [Thu, 27 Mar 2014 11:09:05 +0000 (12:09 +0100)]
nasal::Ghost: remove bogus warning.

10 years agoShivaVG: disable paint textures (Fixes #1414)
Thomas Geymayer [Thu, 27 Mar 2014 10:20:38 +0000 (11:20 +0100)]
ShivaVG: disable paint textures (Fixes #1414)

Currently there is no need for paint textures so just
disable them to prevent releasing OpenGL resources
from the wrong context/thread.

10 years agoRevert "CanvasGroup: return empty bounding box without children."
Thomas Geymayer [Sun, 23 Mar 2014 16:01:02 +0000 (17:01 +0100)]
Revert "CanvasGroup: return empty bounding box without children."

Returning somehow valid data in case it is used unchecked was
probably not a good idea. Better fix the code using it^^

This fixes #1421.

This reverts commit 3525fff8d079538cb36c506b01fdb10128f7c187.

10 years agocppbind: fix problem with function call without arguments.
Thomas Geymayer [Sat, 22 Mar 2014 12:23:21 +0000 (13:23 +0100)]
cppbind: fix problem with function call without arguments.

10 years agocppbind: allow calling methods with 'me' object from C++.
Thomas Geymayer [Sat, 22 Mar 2014 11:31:03 +0000 (12:31 +0100)]
cppbind: allow calling methods with 'me' object from C++.

10 years agoCanvasImage: rename 'file' to 'src'.
Thomas Geymayer [Thu, 20 Mar 2014 10:42:02 +0000 (11:42 +0100)]
CanvasImage: rename 'file' to 'src'.

10 years agoCanvasImage: improve fetching from http and add mime detection.
Thomas Geymayer [Thu, 20 Mar 2014 00:44:31 +0000 (01:44 +0100)]
CanvasImage: improve fetching from http and add mime detection.

10 years agoCanvas: Respect clipping while event handling.
Thomas Geymayer [Wed, 19 Mar 2014 17:21:25 +0000 (18:21 +0100)]
Canvas: Respect clipping while event handling.

10 years agoCanvasGroup: return empty bounding box without children.
Thomas Geymayer [Wed, 19 Mar 2014 15:31:17 +0000 (16:31 +0100)]
CanvasGroup: return empty bounding box without children.

Return an invalid bounding box can lead to problems
if used unchecked. Just returning an empty bounding
box (size 0x0 and position at the origin of the
element) is much safer.

10 years agoCanvasImage: support for http protocol.
Thomas Geymayer [Tue, 18 Mar 2014 17:33:44 +0000 (18:33 +0100)]
CanvasImage: support for http protocol.

 - Download and display images.

10 years agoFix detection of airports in the stg loader.
Mathias Froehlich [Mon, 25 Feb 2013 18:36:54 +0000 (19:36 +0100)]
Fix detection of airports in the stg loader.

10 years agoCanvas: fix position for drag events and multiclick handling.
Thomas Geymayer [Sat, 15 Mar 2014 13:39:23 +0000 (14:39 +0100)]
Canvas: fix position for drag events and multiclick handling.

 - Calculate local/client position for every drag event
   instead of just reporting the position of the initial
   mousedown event.
 - Only pressing the same button multiple times increases
   the mouse clickcount.

10 years agoCanvas: set button for drag events.
Thomas Geymayer [Fri, 14 Mar 2014 23:40:48 +0000 (00:40 +0100)]
Canvas: set button for drag events.

10 years agoDon't leak cube-map textures
James Turner [Thu, 13 Mar 2014 22:16:58 +0000 (22:16 +0000)]
Don't leak cube-map textures

- use observer_ptr so cube-map textures are released without the
builder holing a ref.

10 years agoFix leak of object-mask textures
James Turner [Thu, 13 Mar 2014 22:16:00 +0000 (22:16 +0000)]
Fix leak of object-mask textures

10 years agoPartial fix of #1408, add missing throw
Torsten Dreyer [Wed, 12 Mar 2014 20:10:14 +0000 (21:10 +0100)]
Partial fix of #1408, add missing throw

10 years agocppbind: Do not derive from SGReferenced if there is no need
Thomas Geymayer [Wed, 12 Mar 2014 16:39:05 +0000 (17:39 +0100)]
cppbind: Do not derive from SGReferenced if there is no need

10 years agocppbind: fix possible usage of expired object from Nasal
Thomas Geymayer [Tue, 11 Mar 2014 14:36:57 +0000 (15:36 +0100)]
cppbind: fix possible usage of expired object from Nasal

10 years agoSimplify copyProperties
James Turner [Tue, 11 Mar 2014 08:32:33 +0000 (08:32 +0000)]
Simplify copyProperties

- with initial-state save/restore gone, all uses of
copyProperties are now simple. For selective copying, use
copyPropertiesWithAttribute.

10 years agoSGPropertyNode: do not keep list of deleted children.
Thomas Geymayer [Wed, 5 Mar 2014 23:29:55 +0000 (00:29 +0100)]
SGPropertyNode: do not keep list of deleted children.

Get rid of the possibilty to keep delted children. This was not
used actively, required unnecessary memory for each property node
and lead to subtile bugs, as creating a node after a node with
the same path has been deleted resulted in getting the old node
back instead of a cleanly initialized one.

10 years agoRemove unused cube-map from 2D clouds.
James Turner [Wed, 5 Mar 2014 14:42:29 +0000 (14:42 +0000)]
Remove unused cube-map from 2D clouds.

10 years agoVBO switch also controls random-buildings.
James Turner [Wed, 5 Mar 2014 10:20:48 +0000 (10:20 +0000)]
VBO switch also controls random-buildings.

10 years agoMouseEvent: comply with DOM Level 3 and add some getter.
Thomas Geymayer [Tue, 4 Mar 2014 16:56:41 +0000 (17:56 +0100)]
MouseEvent: comply with DOM Level 3 and add some getter.

10 years agoCode cleanups.
James Turner [Tue, 4 Mar 2014 16:05:36 +0000 (16:05 +0000)]
Code cleanups.

(no functionality change)

10 years agoAllow clouds to be toggled on/off
James Turner [Fri, 28 Feb 2014 11:06:47 +0000 (11:06 +0000)]
Allow clouds to be toggled on/off

- Change the cloud-root Group to a Switch

10 years agoFix longstanding rent in skydome under ALS.
Stuart Buchanan [Thu, 27 Feb 2014 21:57:27 +0000 (21:57 +0000)]
Fix longstanding rent in skydome under ALS.

10 years agoanimation: fix for 'textrapezoid' animation outside 'texmultiple'.
Thomas Geymayer [Wed, 26 Feb 2014 16:48:11 +0000 (17:48 +0100)]
animation: fix for 'textrapezoid' animation outside 'texmultiple'.

10 years agoTerraSync: expose method as public
James Turner [Tue, 25 Feb 2014 09:13:16 +0000 (09:13 +0000)]
TerraSync: expose method as public

- needed for command-line terrasync util.

10 years agoHTTP: improve handling of connection errors
James Turner [Mon, 24 Feb 2014 19:41:14 +0000 (19:41 +0000)]
HTTP: improve handling of connection errors

- handle 'whole connection' errors consistently, e.g. EUNREACH
which can occur with intermittent connections.

10 years agoRemove obsolete TerraSync methods.
James Turner [Mon, 24 Feb 2014 06:07:51 +0000 (22:07 -0800)]
Remove obsolete TerraSync methods.

- all scheduling is now done via paths/buckets, not lat+lon.

10 years agoSky: expose OSG branches as Groups.
James Turner [Mon, 24 Feb 2014 06:07:12 +0000 (22:07 -0800)]
Sky: expose OSG branches as Groups.

- avoids creating additional groups in Renderer

10 years agoFix failing BucketBox test
James Turner [Mon, 24 Feb 2014 18:03:17 +0000 (18:03 +0000)]
Fix failing BucketBox test

- improve behaviour of floorWithEpsilon helper in bucket code, and
use in more places so that near-integral values are rounded correctly.

10 years agoAdd osgUtil::Simplifier to allow terrain simplification.
Stuart Buchanan [Sun, 23 Feb 2014 21:09:09 +0000 (21:09 +0000)]
Add osgUtil::Simplifier to allow terrain simplification.

10 years agoMake return type from loadPagedModel explicit.
James Turner [Sun, 23 Feb 2014 00:24:47 +0000 (16:24 -0800)]
Make return type from loadPagedModel explicit.

- explicitly return osg::PagedLOD instead of Node, so callers
don't need to rely on documentation + cast to get the LOD
settings on the result.

10 years agoCanvas: Fix crash on hide/show after detaching element from scenegraph.
Thomas Geymayer [Sat, 22 Feb 2014 00:44:29 +0000 (01:44 +0100)]
Canvas: Fix crash on hide/show after detaching element from scenegraph.

10 years agoUse the new SGBucket api
Christian Schmitt [Fri, 21 Feb 2014 16:38:26 +0000 (17:38 +0100)]
Use the new SGBucket api

10 years agoFix new SGBucket API
Christian Schmitt [Fri, 21 Feb 2014 10:13:32 +0000 (11:13 +0100)]
Fix new SGBucket API

10 years agoOnly disable display lists if using VBOs.
James Turner [Wed, 19 Feb 2014 23:10:48 +0000 (15:10 -0800)]
Only disable display lists if using VBOs.

(Otherwise we fall back to very slow submission)

10 years agoOptionally deprecate parts of SGBucket
James Turner [Wed, 19 Feb 2014 22:06:48 +0000 (14:06 -0800)]
Optionally deprecate parts of SGBucket

When NO_DEPRECATED_API is set, remove portions of the
SGBucket API.

10 years agoFix GCC 4.6 / Ubuntu compile failure.
James Turner [Wed, 19 Feb 2014 22:05:26 +0000 (14:05 -0800)]
Fix GCC 4.6 / Ubuntu compile failure.

10 years agoRaise required OSG version to 3.2.0
James Turner [Wed, 19 Feb 2014 18:58:39 +0000 (10:58 -0800)]
Raise required OSG version to 3.2.0

10 years agoRuntime VBO option in BTG loading.
James Turner [Wed, 19 Feb 2014 03:58:19 +0000 (19:58 -0800)]
Runtime VBO option in BTG loading.

10 years agoTechnique selection: fix shader-language
James Turner [Thu, 16 Jan 2014 20:09:21 +0000 (20:09 +0000)]
Technique selection: fix shader-language

(Also add a glsl-supported test to simplify Effect logic)

10 years agoOSG 3.2.0 compatibility and surface light effects.
Stuart Buchanan [Tue, 18 Feb 2014 21:30:15 +0000 (21:30 +0000)]
OSG 3.2.0 compatibility and surface light effects.

10 years agoRevise SGBucket::get_width_m
James Turner [Thu, 13 Feb 2014 18:49:16 +0000 (18:49 +0000)]
Revise SGBucket::get_width_m

- remove the 0.5 degree offset away from the equator, which was
  causing wrap-around at the poles
- add a new helper to get the highest latitude of a tile (which may
  be +/- 90 for the polar cap tiles), and use this to compute radius
- special case the polar-caps and return a fixed, small width so
  the tile-manager loads all tiles.

10 years agoWrite back additional attributes to PropertyList
Thomas Geymayer [Thu, 13 Feb 2014 17:21:42 +0000 (18:21 +0100)]
Write back additional attributes to PropertyList

10 years agoSome Linux platforms need <cstdio> for snprintf.
James Turner [Thu, 13 Feb 2014 15:31:58 +0000 (15:31 +0000)]
Some Linux platforms need <cstdio> for snprintf.

10 years agoFix MSVC build.
James Turner [Thu, 13 Feb 2014 13:23:43 +0000 (13:23 +0000)]
Fix MSVC build.

10 years agoRevised set_bucket implementation.
James Turner [Thu, 13 Feb 2014 12:36:06 +0000 (12:36 +0000)]
Revised set_bucket implementation.

- sink some inline methods into the .cxx file
- add isValid test to SGBucket
- sgGetBuckets won't return invalid buckets near the poles
- additional unit tests

10 years agoSGBucket unit-testing
James Turner [Wed, 12 Feb 2014 16:21:16 +0000 (16:21 +0000)]
SGBucket unit-testing

- test polar wrapping near the 180-meridian
- test corner points for polar tiles
- expand test-macro helpers slightly

10 years agoAdd new sibling() helper to SGBucket
James Turner [Wed, 12 Feb 2014 15:31:40 +0000 (15:31 +0000)]
Add new sibling() helper to SGBucket

- will replace sgBucketOffset eventually
- expand test coverage for both sibling() and offset function

(one test case is disabled since it fails)

10 years agoAdd unit-testing for SGBucket
James Turner [Tue, 11 Feb 2014 21:49:45 +0000 (21:49 +0000)]
Add unit-testing for SGBucket

- as part of looking at polar behaviour, start testing the
bucket code since the code has subtleties which it would be unwise
to change.

- remove a legacy setter on SGBucket (taking two doubles as a C-array)

10 years agoRace-condition fix in get_effect.
James Turner [Mon, 10 Feb 2014 17:59:02 +0000 (17:59 +0000)]
Race-condition fix in get_effect.

Adapted from a fix by Jeff Biggs. (Shows up easier when using osgEarth,
and multiple osgDB pager threads)

10 years agoMinor formatting...
Thomas Geymayer [Sat, 8 Feb 2014 18:15:46 +0000 (19:15 +0100)]
Minor formatting...

10 years agoSubsystemMgr: helper to remove all subsystems.
Thomas Geymayer [Sat, 8 Feb 2014 18:15:14 +0000 (19:15 +0100)]
SubsystemMgr: helper to remove all subsystems.

10 years agoPut unused attributes in the property tree while parsing.
Thomas Geymayer [Sat, 8 Feb 2014 18:10:26 +0000 (19:10 +0100)]
Put unused attributes in the property tree while parsing.

Store unhandled xml attributes in a subnode named _attr_ for each
node on parsing propertylist files. This allows retrieving them at
a later stage where there is no access to the source xml file any
more.

10 years agoNew textrapezoid TexTransformAnimation.
Thomas Geymayer [Sat, 8 Feb 2014 11:39:43 +0000 (12:39 +0100)]
New textrapezoid TexTransformAnimation.

Allows trapezoid texture transformations, as needed for example to
correct for the tilt angle of HUD combiners.

10 years agoCanvas: Fix bounding box calculation for paths with subpaths.
Thomas Geymayer [Fri, 7 Feb 2014 23:22:36 +0000 (00:22 +0100)]
Canvas: Fix bounding box calculation for paths with subpaths.

10 years agoCanvas::Element: expose combined transformation matrix
Thomas Geymayer [Thu, 6 Feb 2014 16:55:51 +0000 (17:55 +0100)]
Canvas::Element: expose combined transformation matrix

10 years agoMSVC lacks stdint.h / inttypes.h
James Turner [Thu, 6 Feb 2014 12:10:34 +0000 (12:10 +0000)]
MSVC lacks stdint.h / inttypes.h

- we can't use simgear/misc/stdint.hxx here, since it's a C++
header and md5.c is compiled as plain C (no bool type available).

10 years agoReplace md5 from RSA with OpenBSD version
James Turner [Thu, 6 Feb 2014 10:42:41 +0000 (10:42 +0000)]
Replace md5 from RSA with OpenBSD version

- no more BSD-with-advertising-license
- files from http://sources.debian.net/src/dpkg/1.17.6/lib/compat
(with SG_ prefixes to avoid collision issues)

10 years agoMac: fix static linkage
James Turner [Tue, 28 Jan 2014 12:39:28 +0000 (12:39 +0000)]
Mac: fix static linkage

- Link against Cocoa, not CoreServices (for NSFileManager)

10 years agoApple directory helpers
James Turner [Tue, 28 Jan 2014 11:16:19 +0000 (11:16 +0000)]
Apple directory helpers

- drop use of deprecated FSFindFolder (use NSFileManager)
- support Downloads and Pictures directories