]> arthur.barton.de Git - netatalk.git/log
netatalk.git
11 years agostp1
Frank Lahm [Tue, 30 Oct 2012 17:50:40 +0000 (18:50 +0100)]
stp1

11 years agoFix typo
Frank Lahm [Wed, 24 Oct 2012 18:08:32 +0000 (20:08 +0200)]
Fix typo

11 years agoSet Tracker index directories on startup as all our volumes
Frank Lahm [Wed, 24 Oct 2012 10:14:19 +0000 (12:14 +0200)]
Set Tracker index directories on startup as all our volumes

11 years agoFix searching from OS X cmdline
Frank Lahm [Wed, 24 Oct 2012 07:38:31 +0000 (09:38 +0200)]
Fix searching from OS X cmdline

Searching from OS X cmdline with `mdfind` will generate queries with
an empty query attribute array. In that case we must add a nil element
for every query match to the filemeta array.

Also fixed:
* marshalling of empty CNID arrays and filemeta
* return 0x23 instead of 0 when returning a non empty result list, this
  is was traces of an OS X AFP server show

11 years agoInitialize Spotlight from session child
Frank Lahm [Tue, 23 Oct 2012 19:59:10 +0000 (21:59 +0200)]
Initialize Spotlight from session child

Spotlight initialisation must be perfomed in the session childs.
Wrap all Tracker calls between become_root()/unbecome_root().
Force bus SPARQL backend, as direct connections cause problems
with some SPARQL queries.

11 years agoChange dbus path option name to 'dbus daemon path' and add TRACKER_PREFIX define
Frank Lahm [Tue, 23 Oct 2012 19:02:47 +0000 (21:02 +0200)]
Change dbus path option name to 'dbus daemon path' and add TRACKER_PREFIX define

11 years agoGlobal boolean option "spotlight"
Frank Lahm [Wed, 17 Oct 2012 21:38:07 +0000 (23:38 +0200)]
Global boolean option "spotlight"

Add a global know to make Spotlight support a configurable option.
Defaults to disabled.

11 years agoSupport for FTS and filename search
Frank Lahm [Wed, 17 Oct 2012 21:06:21 +0000 (23:06 +0200)]
Support for FTS and filename search

Map * and kMDItemTextContent to SPARQL FTS, map kMDItemDisplayName to SPARQL
nfo:fileName. The SPARQL query for the latter doesn't work from afpd, but
it does work with tracker-sparql.

11 years agoBound checking when marshalling SL query results
Frank Lahm [Wed, 17 Oct 2012 12:18:59 +0000 (14:18 +0200)]
Bound checking when marshalling SL query results

11 years agoIncrease DSI reply buffer size to 65k
Frank Lahm [Wed, 17 Oct 2012 12:18:26 +0000 (14:18 +0200)]
Increase DSI reply buffer size to 65k

11 years agoAdd tracker_miner_manager and try to manually index new files
Frank Lahm [Tue, 16 Oct 2012 23:08:25 +0000 (01:08 +0200)]
Add tracker_miner_manager and try to manually index new files

Doesn't work, hangs in tracker_miner_manager_new_full() for an unknown
reason.

11 years agoFall back to CatSearch if Spotlight module can't be loaded
Frank Lahm [Tue, 16 Oct 2012 20:04:55 +0000 (22:04 +0200)]
Fall back to CatSearch if Spotlight module can't be loaded

11 years agoAdd state checks
Frank Lahm [Tue, 16 Oct 2012 18:01:10 +0000 (20:01 +0200)]
Add state checks

11 years agoUse g_object_unref
Frank Lahm [Mon, 15 Oct 2012 17:05:11 +0000 (19:05 +0200)]
Use g_object_unref

11 years agoUse glib funcs for getting the path for an uri
Frank Lahm [Tue, 16 Oct 2012 14:31:19 +0000 (16:31 +0200)]
Use glib funcs for getting the path for an uri

11 years agoAppend /
Frank Lahm [Mon, 15 Oct 2012 18:11:57 +0000 (20:11 +0200)]
Append /

11 years agoRemove unused line
Frank Lahm [Mon, 15 Oct 2012 17:06:23 +0000 (19:06 +0200)]
Remove unused line

11 years agoModify SPARQL query
Frank Lahm [Mon, 15 Oct 2012 17:05:11 +0000 (19:05 +0200)]
Modify SPARQL query

11 years agoFix CNID marshalling
Frank Lahm [Mon, 15 Oct 2012 13:20:48 +0000 (15:20 +0200)]
Fix CNID marshalling

11 years agoUse a linked list for the SL queries
Frank Lahm [Fri, 28 Sep 2012 21:29:49 +0000 (23:29 +0200)]
Use a linked list for the SL queries

11 years agoFix error handling and freeing of allocated ressources
Frank Lahm [Fri, 28 Sep 2012 14:58:58 +0000 (16:58 +0200)]
Fix error handling and freeing of allocated ressources

11 years agoFix EC macro
Frank Lahm [Fri, 28 Sep 2012 14:56:27 +0000 (16:56 +0200)]
Fix EC macro

11 years agoAdd close RPC call
Frank Lahm [Wed, 26 Sep 2012 02:00:04 +0000 (04:00 +0200)]
Add close RPC call

11 years agoSet cursor handle to NULL after releasing it
Frank Lahm [Tue, 25 Sep 2012 23:31:01 +0000 (01:31 +0200)]
Set cursor handle to NULL after releasing it

11 years agoRemove accesive logging
Frank Lahm [Tue, 25 Sep 2012 23:30:11 +0000 (01:30 +0200)]
Remove accesive logging

11 years agoFixes
Frank Lahm [Tue, 25 Sep 2012 21:43:17 +0000 (23:43 +0200)]
Fixes

11 years agoAdd missing call to sl_pack_filemeta
Frank Lahm [Tue, 25 Sep 2012 20:48:39 +0000 (22:48 +0200)]
Add missing call to sl_pack_filemeta

11 years agoFix dalloc_add() calls, change string handling in dalloc
Frank Lahm [Tue, 25 Sep 2012 20:41:39 +0000 (22:41 +0200)]
Fix dalloc_add() calls, change string handling in dalloc

11 years agoRename dalloc_add to dalloc_add_copy
Frank Lahm [Tue, 25 Sep 2012 18:48:55 +0000 (20:48 +0200)]
Rename dalloc_add to dalloc_add_copy

11 years agoWork on fixing filemeta handling
Frank Lahm [Tue, 25 Sep 2012 09:34:44 +0000 (11:34 +0200)]
Work on fixing filemeta handling

11 years agoAdd another spotlight packet
Frank Lahm [Tue, 25 Sep 2012 09:34:19 +0000 (11:34 +0200)]
Add another spotlight packet

11 years agoFix CNID marshalling
Frank Lahm [Thu, 20 Sep 2012 15:01:52 +0000 (17:01 +0200)]
Fix CNID marshalling

11 years agoReturn query results, CNIDs is working, FileMeta marshalling is missing
Frank Lahm [Thu, 20 Sep 2012 14:52:15 +0000 (16:52 +0200)]
Return query results, CNIDs is working, FileMeta marshalling is missing

11 years agoAdd function dalloc_size
Frank Lahm [Thu, 20 Sep 2012 14:51:20 +0000 (16:51 +0200)]
Add function dalloc_size

11 years agoMove function cnid_for_path to CNID utility libatalk file
Frank Lahm [Thu, 20 Sep 2012 12:13:31 +0000 (14:13 +0200)]
Move function cnid_for_path to CNID utility libatalk file

11 years agoDispatch queries to Tracker and get results
Frank Lahm [Thu, 20 Sep 2012 09:06:00 +0000 (11:06 +0200)]
Dispatch queries to Tracker and get results

11 years agoAdd non const LVALS macro
Frank Lahm [Thu, 20 Sep 2012 09:04:51 +0000 (11:04 +0200)]
Add non const LVALS macro

11 years agoFix macro
Frank Lahm [Wed, 15 Aug 2012 18:41:47 +0000 (20:41 +0200)]
Fix macro

11 years agoStart working on replying queries, add struct for storing query and a queue
Frank Lahm [Wed, 15 Aug 2012 18:01:38 +0000 (20:01 +0200)]
Start working on replying queries, add struct for storing query and a queue

11 years agoFix conditional Spotlight module compilation
Frank Lahm [Tue, 17 Jul 2012 17:32:23 +0000 (19:32 +0200)]
Fix conditional Spotlight module compilation

11 years agoStart DBUS after the signal mask has been reset as dbus-daemon doesn't seem to be...
Frank Lahm [Mon, 16 Jul 2012 19:57:52 +0000 (21:57 +0200)]
Start DBUS after the signal mask has been reset as dbus-daemon doesn't seem to be doing it properly itself

11 years agoStart a DBUS session daemon from netatalk master process
Frank Lahm [Mon, 16 Jul 2012 17:51:23 +0000 (19:51 +0200)]
Start a DBUS session daemon from netatalk master process

11 years agoAdd configure option for Tracker
Frank Lahm [Thu, 5 Apr 2012 10:17:01 +0000 (12:17 +0200)]
Add configure option for Tracker

11 years agolibtracker-sparql
Frank Lahm [Thu, 5 Apr 2012 08:17:54 +0000 (10:17 +0200)]
libtracker-sparql

11 years agoSpotlight module
Frank Lahm [Mon, 16 Jul 2012 08:51:50 +0000 (10:51 +0200)]
Spotlight module

11 years agoSpotlight module
Frank Lahm [Wed, 4 Jul 2012 13:36:08 +0000 (15:36 +0200)]
Spotlight module

11 years agoFix string length calculation for empty strings
Frank Lahm [Tue, 3 Jul 2012 10:15:19 +0000 (12:15 +0200)]
Fix string length calculation for empty strings

11 years agoSome refactoring
Frank Lahm [Mon, 2 Jul 2012 15:13:33 +0000 (17:13 +0200)]
Some refactoring

11 years agoMove marshalling functions in own file
Frank Lahm [Fri, 29 Jun 2012 09:19:11 +0000 (11:19 +0200)]
Move marshalling functions in own file

11 years agoSpotlight RPC init is working
Frank Lahm [Thu, 28 Jun 2012 15:18:40 +0000 (17:18 +0200)]
Spotlight RPC init is working

11 years agoMarshalling basically works
Frank Lahm [Fri, 22 Jun 2012 14:01:01 +0000 (16:01 +0200)]
Marshalling basically works

11 years agoFirst working packing
Frank Lahm [Fri, 22 Jun 2012 09:44:56 +0000 (11:44 +0200)]
First working packing

11 years agoUntabify
Frank Lahm [Wed, 20 Jun 2012 08:30:58 +0000 (10:30 +0200)]
Untabify

11 years agoAdd most pack functions
Frank Lahm [Wed, 20 Jun 2012 08:25:43 +0000 (10:25 +0200)]
Add most pack functions

11 years agodebug logging
Frank Lahm [Tue, 19 Jun 2012 08:45:21 +0000 (10:45 +0200)]
debug logging

11 years agoRename unmarshalling functions
Frank Lahm [Tue, 19 Jun 2012 08:37:44 +0000 (10:37 +0200)]
Rename unmarshalling functions

11 years agoAdd Spotlight logtype and remove Appletalk logtypes
Frank Lahm [Tue, 19 Jun 2012 07:55:50 +0000 (09:55 +0200)]
Add Spotlight logtype and remove Appletalk logtypes

11 years agoAdd missing macros for storing 64 byte types
Frank Lahm [Mon, 18 Jun 2012 14:57:48 +0000 (16:57 +0200)]
Add missing macros for storing 64 byte types

11 years agoBasic functional Spotlight dissection
Frank Lahm [Sun, 17 Jun 2012 20:40:05 +0000 (22:40 +0200)]
Basic functional Spotlight dissection

11 years agoBetter dumping and example
Frank Lahm [Thu, 14 Jun 2012 14:18:07 +0000 (16:18 +0200)]
Better dumping and example

11 years agoBasic rewrite
Frank Lahm [Thu, 14 Jun 2012 13:00:09 +0000 (15:00 +0200)]
Basic rewrite

11 years agoSPOTLIGHT_CMD_FLAGS
Frank Lahm [Sat, 9 Jun 2012 10:54:27 +0000 (12:54 +0200)]
SPOTLIGHT_CMD_FLAGS

11 years agoImport Spotlight dissector code from Wireshark
Frank Lahm [Sat, 9 Jun 2012 07:15:41 +0000 (09:15 +0200)]
Import Spotlight dissector code from Wireshark

11 years agoMove byteorder.h to include/atalk
Frank Lahm [Fri, 8 Jun 2012 09:23:28 +0000 (11:23 +0200)]
Move byteorder.h to include/atalk

11 years agoGive the baby the name dalloc, haha
Frank Lahm [Thu, 7 Jun 2012 14:18:27 +0000 (16:18 +0200)]
Give the baby the name dalloc, haha

11 years agoAdd destructor
Frank Lahm [Wed, 6 Jun 2012 14:58:11 +0000 (16:58 +0200)]
Add destructor

11 years agoUse talloc typing instead of own types
Frank Lahm [Wed, 6 Jun 2012 13:14:13 +0000 (15:14 +0200)]
Use talloc typing instead of own types

11 years agoFirst checking of Dynamic Datastore
Frank Lahm [Tue, 5 Jun 2012 15:07:43 +0000 (17:07 +0200)]
First checking of Dynamic Datastore

11 years agoMoved talloc.h
Frank Lahm [Mon, 4 Jun 2012 17:23:01 +0000 (19:23 +0200)]
Moved talloc.h

11 years agoMove talloc.h to include/atalk dir
Frank Lahm [Mon, 4 Jun 2012 10:03:08 +0000 (12:03 +0200)]
Move talloc.h to include/atalk dir

11 years agotalloc build fixes
Frank Lahm [Fri, 25 May 2012 10:26:18 +0000 (12:26 +0200)]
talloc build fixes

11 years agoImport talloc 2.0.7
Frank Lahm [Fri, 25 May 2012 10:05:07 +0000 (12:05 +0200)]
Import talloc 2.0.7

11 years agoFix data corruption bug
Frank Lahm [Thu, 23 Aug 2012 10:20:00 +0000 (12:20 +0200)]
Fix data corruption bug

Received data from the client was written to the read-ahead buffer
from dsi_peek() which caused data corrution.
Fix is: change the DSI command buffer from static 8192 bytes to
an allocated buffer of size DSI quantum and use this buffer in
dsi_write/write_fork. That just requires dsi_writeinit to use
memmove instead of memcpy, because now we use the same buffer.

11 years agoUpdate NEWS
Frank Lahm [Thu, 23 Aug 2012 08:18:55 +0000 (10:18 +0200)]
Update NEWS

11 years agoRestructure fork opening, fix adouble refcounting
Frank Lahm [Thu, 23 Aug 2012 08:06:04 +0000 (10:06 +0200)]
Restructure fork opening, fix adouble refcounting

Fixes Bug ID 3559783

The bug is caused by passing ADFLAGS_NOHF to ad_open() when opening a
files data fork. For files without metadata then ad_open() doesn't
return an error for the ADFLAGS_HF request to open the metadata. As a
result of the successfull ad_open return AFPFORK_META is set in the
fork struct, which implies the meta is open. Later afp_close looked at
that flag and added ADFLAGS_HF to ad_close flags, resulting in a
refcount decement of 2 although the ad_open only incremented by 1. Eg
opening such a file twice, then closing once, close the fork. Later
operations on the other still open fork fail.

afp_openfork opens the fork and metadata in one call to ad_open which
lead to an insane if/else and error checking code path.  I've
seperated this in two distincs calls to ad_open(): the first opens the
fork (data or ressource), the second opens the metadata. This gives a
cleaner code path but it required a subtle modifications to the way we
refcount and flag forks as open inside ad_open: currently we use the
fd and it's recount but these do not differente between open data and
metadata in the case of adouble:ea as both use the data fork handle,
fd and it's refcount.  Now we add real refcounting for the forks
different from the recount on the file fd by adding three refcounting
variables to struct.adouble and change the AD_XXX_OPEN macros to use
these.

Added test-suite testcases 3, 4 and 7.

11 years agoFix merge errors
Frank Lahm [Sat, 18 Aug 2012 10:59:03 +0000 (12:59 +0200)]
Fix merge errors

11 years agoFix merge error
Frank Lahm [Sat, 18 Aug 2012 06:05:02 +0000 (08:05 +0200)]
Fix merge error

11 years agoMerge remote branch 'sf/product-2-2' into develop
Frank Lahm [Fri, 17 Aug 2012 12:21:52 +0000 (14:21 +0200)]
Merge remote branch 'sf/product-2-2' into develop

Conflicts:
etc/afpd/afp_dsi.c
libatalk/dsi/dsi_stream.c

11 years agoUpdate NEWS
Frank Lahm [Fri, 17 Aug 2012 11:45:18 +0000 (13:45 +0200)]
Update NEWS

11 years agodiscarded macro HAVE_DB4_DB_H
HAT [Mon, 13 Aug 2012 13:38:41 +0000 (22:38 +0900)]
discarded macro HAVE_DB4_DB_H

11 years agosendfile on Solaris may return EINTR with bytes written https://issues.apache.org...
Frank Lahm [Fri, 3 Aug 2012 06:01:07 +0000 (08:01 +0200)]
sendfile on Solaris may return EINTR with bytes written https://issues.apache.org/bugzilla/show_bug.cgi?id=44550 http://wesunsolve.net/bugid/id/6408517

11 years agohandling of '/' and ':' in volume name
HAT [Wed, 8 Aug 2012 14:44:10 +0000 (23:44 +0900)]
handling of '/' and ':' in volume name

11 years agoBDB is not optional
HAT [Thu, 2 Aug 2012 16:24:35 +0000 (01:24 +0900)]
BDB is not optional

11 years agovolume name must not contain ":"
HAT [Thu, 2 Aug 2012 16:04:31 +0000 (01:04 +0900)]
volume name must not contain ":"

11 years agoTwisted loglevel and logtype
HAT [Thu, 2 Aug 2012 16:00:14 +0000 (01:00 +0900)]
Twisted loglevel and logtype
and Untabfy

11 years agoFix regression introduced by 88436a544d0c87299a3417432b15e897f1ea15ec
Frank Lahm [Thu, 2 Aug 2012 15:43:02 +0000 (17:43 +0200)]
Fix regression introduced by 88436a544d0c87299a3417432b15e897f1ea15ec

11 years agoFix subdirectory ordering
Frank Lahm [Wed, 1 Aug 2012 14:01:38 +0000 (16:01 +0200)]
Fix subdirectory ordering

11 years agoRemove libevent from hardcoded SUBDIRS, it's added by configure as necessary
Frank Lahm [Sat, 28 Jul 2012 12:44:26 +0000 (14:44 +0200)]
Remove libevent from hardcoded SUBDIRS, it's added by configure as necessary

11 years agoReset signal handlers and alarm timer after successfull PAM authentication
Frank Lahm [Fri, 27 Jul 2012 10:01:35 +0000 (12:01 +0200)]
Reset signal handlers and alarm timer after successfull PAM authentication
Fixes a problem with AFP disconnects caused by pam_smbpass.so messing with
our handlers and timer.

11 years agoUpdate libatalk ABI file
Frank Lahm [Wed, 25 Jul 2012 12:09:16 +0000 (14:09 +0200)]
Update libatalk ABI file

11 years agoNew LDAP option ldap uuid encoding, from Thomas Johnson <NTmatter@gmail.com>
Frank Lahm [Wed, 25 Jul 2012 12:03:20 +0000 (14:03 +0200)]
New LDAP option ldap uuid encoding, from Thomas Johnson <NTmatter@gmail.com>

11 years agoLDAP: Support for Active Directory objectGUID
Thomas Johnson [Sun, 15 Jul 2012 15:55:20 +0000 (17:55 +0200)]
LDAP: Support for Active Directory objectGUID

Adds optional "ldap uuid encoding = string | ms-guid" parameter to afp.conf,
allowing for usage of the binary objectGUID fields from Active Directory.

If left unspecified, "string" is the default, which passes through the ASCII
UUID returned by most other LDAP stores. If set to ms-guid, the internal UUID
representation is converted to and from the binary format used in the
objectGUID attribute found on objects in Active Directory when interacting
with the server.

11 years agoMerge remote branch 'sf/develop' into develop
Frank Lahm [Wed, 25 Jul 2012 09:21:06 +0000 (11:21 +0200)]
Merge remote branch 'sf/develop' into develop

11 years agoConvert to more readable error checking
Frank Lahm [Wed, 25 Jul 2012 09:20:44 +0000 (11:20 +0200)]
Convert to more readable error checking

11 years agoasip-status.pl: improvement of visibility.
HAT [Tue, 24 Jul 2012 13:31:16 +0000 (22:31 +0900)]
asip-status.pl: improvement of visibility.
forgotten ExtSleep.
show unknouwn flags.

11 years agoChange loglevel and add a few debug log statements
Frank Lahm [Wed, 18 Jul 2012 09:25:01 +0000 (11:25 +0200)]
Change loglevel and add a few debug log statements

11 years agoMerge remote branch 'sf/develop' into develop
Frank Lahm [Wed, 18 Jul 2012 08:30:39 +0000 (10:30 +0200)]
Merge remote branch 'sf/develop' into develop

11 years agoapple_dump: Extended Attributes AppleDouble support for *BSD
HAT [Mon, 16 Jul 2012 13:32:54 +0000 (22:32 +0900)]
apple_dump: Extended Attributes AppleDouble support for *BSD

11 years agoUpdate news
Frank Lahm [Sat, 14 Jul 2012 14:45:31 +0000 (16:45 +0200)]
Update news

11 years agoRemove AC_NETATALK_SMB_SHAREMODES from configure, it's still an empty stub
Frank Lahm [Fri, 13 Jul 2012 13:28:12 +0000 (15:28 +0200)]
Remove AC_NETATALK_SMB_SHAREMODES from configure, it's still an empty stub