]> arthur.barton.de Git - netatalk.git/log
netatalk.git
14 years agoNew util netacnv for testing libunicode
franklahm [Sun, 15 Nov 2009 16:39:03 +0000 (16:39 +0000)]
New util netacnv for testing libunicode

14 years agodefine afpd uam functions as UAM_MODULE_EXPORT
didg [Sat, 14 Nov 2009 05:23:00 +0000 (05:23 +0000)]
define afpd uam functions as UAM_MODULE_EXPORT

14 years agoAfpNum2name is only used by LOG debug, call it each time
didg [Sat, 14 Nov 2009 05:18:50 +0000 (05:18 +0000)]
AfpNum2name is only used by LOG debug, call it each time

14 years agoafp_listextattr, use ad_rlen rather than ad_eid[ADEID_RFORK].ade_len, ade_len is...
didg [Fri, 13 Nov 2009 13:52:02 +0000 (13:52 +0000)]
afp_listextattr, use ad_rlen rather than ad_eid[ADEID_RFORK].ade_len, ade_len is 32bits only and is not updated in ad_write

14 years agoafp_listextattr, don't return an error if there's no metadata
didg [Fri, 13 Nov 2009 13:47:54 +0000 (13:47 +0000)]
afp_listextattr, don't return an error if there's no metadata

14 years agoadd missing include
didg [Fri, 13 Nov 2009 13:31:13 +0000 (13:31 +0000)]
add missing include

14 years agoxattr, in AFP xattr request don't use log_error but log_debug if parameters are wrong.
didg [Fri, 13 Nov 2009 13:27:12 +0000 (13:27 +0000)]
xattr, in AFP xattr request don't use log_error but log_debug if parameters are wrong.

14 years agoxattr, use them
didg [Fri, 13 Nov 2009 13:03:29 +0000 (13:03 +0000)]
xattr, use them

14 years agoxattr, remove unused functions fgetxattr and so on
didg [Fri, 13 Nov 2009 09:18:07 +0000 (09:18 +0000)]
xattr, remove unused functions fgetxattr and so on

14 years agonative xattr, use strcpy
didg [Fri, 13 Nov 2009 06:46:58 +0000 (06:46 +0000)]
native xattr, use strcpy

14 years agoadd native xattr ad_ea.c
didg [Fri, 13 Nov 2009 06:36:05 +0000 (06:36 +0000)]
add native xattr ad_ea.c

14 years agoadd native xattr, from Samba code, not used
didg [Fri, 13 Nov 2009 02:52:07 +0000 (02:52 +0000)]
add native xattr, from Samba code, not used

14 years agokeep in each volume structure the last struct dir used, they are often reused
didg [Fri, 13 Nov 2009 00:27:35 +0000 (00:27 +0000)]
keep in each volume structure the last struct dir used, they are often reused

14 years agowe always have to sleep a little after an init_tsock error
didg [Thu, 12 Nov 2009 10:08:22 +0000 (10:08 +0000)]
we always have to sleep a little after an init_tsock error

14 years agoSFM use the right mode for resource fork creation
didg [Thu, 12 Nov 2009 09:44:59 +0000 (09:44 +0000)]
SFM use the right mode for resource fork creation

14 years agoin ad_init don't zero the whole adouble structure, help finding error with valgrind
didg [Thu, 12 Nov 2009 09:39:46 +0000 (09:39 +0000)]
in ad_init don't zero the whole adouble structure, help finding error with valgrind

14 years agovalgrind doesn't like when we still use the old address of realloced memory, the...
didg [Thu, 12 Nov 2009 06:28:40 +0000 (06:28 +0000)]
valgrind doesn't like when we still use the old address of realloced memory, the new size is always smaller and is unlikely to change but who knows

14 years agopath.id could be used uninitialized, actual clients never request this in getforkpara...
didg [Thu, 12 Nov 2009 02:33:13 +0000 (02:33 +0000)]
path.id could be used uninitialized, actual clients never request this in getforkparam only the test suite

14 years agoInstall initscript into DESTDIR, no sysconfdir
franklahm [Tue, 10 Nov 2009 13:09:32 +0000 (13:09 +0000)]
Install initscript into DESTDIR, no sysconfdir

14 years agobitmap was used uninitialized the second time
didg [Mon, 9 Nov 2009 05:45:06 +0000 (05:45 +0000)]
bitmap was used uninitialized the second time

14 years agouse of_ad
didg [Mon, 9 Nov 2009 05:33:18 +0000 (05:33 +0000)]
use of_ad

14 years agoclean up, precompose/decompose logic
didg [Mon, 9 Nov 2009 04:21:26 +0000 (04:21 +0000)]
clean up, precompose/decompose logic

14 years agokeep mtoupath and utompath flags in volume structure, they never changed
didg [Mon, 9 Nov 2009 01:36:18 +0000 (01:36 +0000)]
keep mtoupath and utompath flags in volume structure, they never changed

14 years agodon't store in struct volume pointers to charset function table, we only need texten...
didg [Sun, 8 Nov 2009 23:17:39 +0000 (23:17 +0000)]
don't store in struct volume pointers  to charset function table, we only need textencoding

14 years agoOOPS, undo some commits in 'better layout for struct vol' only keep volume.h
didg [Sun, 8 Nov 2009 22:12:40 +0000 (22:12 +0000)]
OOPS, undo some commits in 'better layout for struct vol' only keep volume.h

14 years agobetter layout for struct vol
didg [Sun, 8 Nov 2009 22:08:04 +0000 (22:08 +0000)]
better layout for struct vol

14 years agocatsearch, store the path length in the stack
didg [Sun, 8 Nov 2009 21:03:08 +0000 (21:03 +0000)]
catsearch, store the path length in the stack

14 years agoFill out dsi->server by hand when grabbing from the interface
franklahm [Sun, 8 Nov 2009 09:44:22 +0000 (09:44 +0000)]
Fill out dsi->server by hand when grabbing from the interface

14 years agodefine append as UAM_MODULE_EXPORT
didg [Sun, 8 Nov 2009 01:15:31 +0000 (01:15 +0000)]
define append as UAM_MODULE_EXPORT

14 years agodefine append as UAM_MODULE_EXPORT
didg [Sun, 8 Nov 2009 01:07:17 +0000 (01:07 +0000)]
define append as UAM_MODULE_EXPORT

14 years agoremove ifdef NO_LOAD_UAM code, was a leftover from atacc
didg [Sun, 8 Nov 2009 01:01:43 +0000 (01:01 +0000)]
remove ifdef NO_LOAD_UAM code, was a leftover from atacc

14 years agouse the right definition for pad append function placeholder in afpd
didg [Sun, 8 Nov 2009 00:41:45 +0000 (00:41 +0000)]
use the right definition for pad append function placeholder in afpd

14 years agoremove a gcc warning, signed/unsigned test
didg [Sun, 8 Nov 2009 00:32:03 +0000 (00:32 +0000)]
remove a gcc warning, signed/unsigned test

14 years agoremove redundant lazy_initialize_conv calls
didg [Sat, 7 Nov 2009 17:25:33 +0000 (17:25 +0000)]
remove redundant lazy_initialize_conv calls

14 years agospeed up validupath_adouble for the common case: it's not a file with a leading ...
didg [Sat, 7 Nov 2009 01:19:55 +0000 (01:19 +0000)]
speed up validupath_adouble for the common case: it's not a file with a leading '.' or it's .AppleDouble

14 years agospeed up a little ad_dir
didg [Sat, 7 Nov 2009 01:18:50 +0000 (01:18 +0000)]
speed up a little ad_dir

14 years agospeed up a little ad_path
didg [Sat, 7 Nov 2009 01:02:58 +0000 (01:02 +0000)]
speed up a little ad_path

14 years agoset errno after calling LOG
didg [Sat, 7 Nov 2009 00:58:16 +0000 (00:58 +0000)]
set errno after calling LOG

14 years agodsi init, move interface guessing in its own function
didg [Fri, 6 Nov 2009 23:25:35 +0000 (23:25 +0000)]
dsi init, move interface guessing in its own function

14 years agoclean up a little log msgs
didg [Fri, 6 Nov 2009 23:05:09 +0000 (23:05 +0000)]
clean up a little log msgs

14 years agoPrevios patch was commited a little to quick
franklahm [Fri, 6 Nov 2009 14:37:26 +0000 (14:37 +0000)]
Previos patch was commited a little to quick

14 years agoWe're listening of :::548 ie IPv6 socket by default, so ioctl for address needs its...
franklahm [Fri, 6 Nov 2009 14:33:52 +0000 (14:33 +0000)]
We're listening of :::548 ie IPv6 socket by default, so ioctl for address needs its own AF_INET socket

14 years agoUse address from interface if hostname doesn't resolve
franklahm [Fri, 6 Nov 2009 13:53:16 +0000 (13:53 +0000)]
Use address from interface if hostname doesn't resolve

14 years agoipaddr option wasn't ported to IPv6 code
franklahm [Fri, 6 Nov 2009 09:16:15 +0000 (09:16 +0000)]
ipaddr option wasn't ported to IPv6 code

14 years agoUpdate NEWS
franklahm [Fri, 6 Nov 2009 08:42:33 +0000 (08:42 +0000)]
Update NEWS

14 years agotest that the extension map is not empty(now the common case) before searching for '.'
didg [Fri, 6 Nov 2009 04:28:25 +0000 (04:28 +0000)]
test that the extension map is not empty(now the common case) before searching for '.'

14 years agoIP6 ipok was undefined if no dsi
didg [Fri, 6 Nov 2009 03:52:42 +0000 (03:52 +0000)]
IP6 ipok was undefined if no dsi

14 years agosmall optimization, in of_stat '../' is never modified
didg [Fri, 6 Nov 2009 03:51:54 +0000 (03:51 +0000)]
small optimization, in of_stat '../' is never modified

14 years agoIP6 compilation error if SLP defined
didg [Fri, 6 Nov 2009 03:50:32 +0000 (03:50 +0000)]
IP6 compilation error if SLP defined

14 years agoIP6 remove a 'unsigned expression < 0 is always false' test and a const warning with...
didg [Thu, 5 Nov 2009 21:31:53 +0000 (21:31 +0000)]
IP6 remove a 'unsigned expression < 0 is always false' test and a const warning with free()

14 years agoIP6 add missing include for free and remove unused one (logger)
didg [Thu, 5 Nov 2009 21:28:13 +0000 (21:28 +0000)]
IP6 add missing include for free and remove unused one (logger)

14 years agoIPv6 support for afpd and cnid_metad after-ipv6
franklahm [Thu, 5 Nov 2009 14:38:07 +0000 (14:38 +0000)]
IPv6 support for afpd and cnid_metad

14 years agosmall clean up, use of_ad when we can before-ipv6
didg [Mon, 2 Nov 2009 14:35:27 +0000 (14:35 +0000)]
small clean up, use of_ad when we can

14 years agoUntabify and reindent
franklahm [Mon, 2 Nov 2009 10:27:13 +0000 (10:27 +0000)]
Untabify and reindent

14 years agoFix some webmin installation stuff
franklahm [Sun, 1 Nov 2009 10:58:50 +0000 (10:58 +0000)]
Fix some webmin installation stuff

14 years agoMerge NEWS from 2.0.5
franklahm [Fri, 30 Oct 2009 15:28:54 +0000 (15:28 +0000)]
Merge NEWS from 2.0.5

14 years agoUntabify and reindent
franklahm [Fri, 30 Oct 2009 07:00:03 +0000 (07:00 +0000)]
Untabify and reindent

14 years agoForce conversion of EA names
franklahm [Thu, 29 Oct 2009 19:20:28 +0000 (19:20 +0000)]
Force conversion of EA names

14 years agobuild.sh is obsolete
franklahm [Thu, 29 Oct 2009 18:38:48 +0000 (18:38 +0000)]
build.sh is obsolete

14 years agomove most of a LOG macros in the logger function
didg [Thu, 29 Oct 2009 16:19:49 +0000 (16:19 +0000)]
move most of a LOG macros in the logger function

14 years agothe use of the new LOG code introduce a 50% code size penalty, text size with LOG...
didg [Thu, 29 Oct 2009 15:04:41 +0000 (15:04 +0000)]
the use of the new LOG code introduce a 50% code size penalty, text size with LOG: 514748 Bytes, without it : 365325 Bytes, no way that this stuff can stay. Add a new NO_DEBUG which remove log_debug when compile with O2, need a configure option

14 years agouse log_debug9 rather than log_debug for LOG inside ifdef DEBUG
didg [Thu, 29 Oct 2009 13:38:15 +0000 (13:38 +0000)]
use log_debug9 rather than log_debug for LOG inside ifdef DEBUG

14 years agovfs->ad_path wasn't set
franklahm [Thu, 29 Oct 2009 13:28:57 +0000 (13:28 +0000)]
vfs->ad_path wasn't set

14 years agouse log_debug rather than log_info for LOG inside ifdef DEBUG
didg [Thu, 29 Oct 2009 13:17:28 +0000 (13:17 +0000)]
use log_debug rather than log_info for LOG inside ifdef DEBUG

14 years agoMove VFS stack from _one_ global stack to per volume stack
franklahm [Thu, 29 Oct 2009 13:06:19 +0000 (13:06 +0000)]
Move VFS stack from _one_ global stack to per volume stack

14 years agoremove redundant debug output, it's already print in afp_dsi
didg [Thu, 29 Oct 2009 12:58:11 +0000 (12:58 +0000)]
remove redundant debug output, it's already print in afp_dsi

14 years agoconvert_string can deal with not 0 terminated strings thus move the copy outside...
didg [Thu, 29 Oct 2009 12:48:34 +0000 (12:48 +0000)]
convert_string can deal with not 0 terminated strings thus move the copy outside the fast path in the LOG macros

14 years agocompute the right size if len == -1 in convert_string and use -1 than strlen(in)...
didg [Thu, 29 Oct 2009 11:35:57 +0000 (11:35 +0000)]
compute the right size if len == -1 in convert_string and use -1 than strlen(in) in most calls

14 years agouse _USE_GNU_SOURCE rather than the internal __USE_GNU
didg [Thu, 29 Oct 2009 11:19:23 +0000 (11:19 +0000)]
use _USE_GNU_SOURCE rather than the internal __USE_GNU

14 years agoRemove etc/afpd/afp_vfs.h. Obsolete and moved to include/atalk/vfs.h
franklahm [Thu, 29 Oct 2009 10:55:45 +0000 (10:55 +0000)]
Remove etc/afpd/afp_vfs.h. Obsolete and moved to include/atalk/vfs.h

14 years agoconvert_string always 0-terminate or return an error
didg [Thu, 29 Oct 2009 10:53:52 +0000 (10:53 +0000)]
convert_string always 0-terminate or return an error

14 years agoremove unused parameter warning
didg [Thu, 29 Oct 2009 10:34:15 +0000 (10:34 +0000)]
remove unused parameter warning

14 years agoonly call stat(path) if it's not done in cname
didg [Thu, 29 Oct 2009 10:27:45 +0000 (10:27 +0000)]
only call stat(path) if it's not done in cname

14 years agoremove include already in adouble.h
didg [Thu, 29 Oct 2009 10:04:35 +0000 (10:04 +0000)]
remove include already in adouble.h

14 years agouse the parent directory id in the hash
didg [Thu, 29 Oct 2009 09:47:11 +0000 (09:47 +0000)]
use the parent directory id in the hash

14 years agoattribute name length is 16bits not 32bits, on big endian was returning junk
didg [Wed, 28 Oct 2009 01:52:49 +0000 (01:52 +0000)]
attribute name length is 16bits not 32bits, on big endian was returning junk

14 years agouse sizeof(foo) rather than 2 or 4 when copying from/to cmd buffers so variables...
didg [Wed, 28 Oct 2009 01:44:58 +0000 (01:44 +0000)]
use sizeof(foo) rather than 2 or 4 when copying from/to cmd buffers so variables with a wrong type bug quickly

14 years agoapple attributes' name are constant
didg [Wed, 28 Oct 2009 01:31:57 +0000 (01:31 +0000)]
apple attributes' name are constant

14 years agofcntl.h is already included in adouble.h
didg [Wed, 28 Oct 2009 01:30:25 +0000 (01:30 +0000)]
fcntl.h is already included in adouble.h

14 years agodirent.h is included in directory.h
didg [Tue, 27 Oct 2009 23:35:17 +0000 (23:35 +0000)]
dirent.h is included in directory.h

14 years agoadd missing include files in 'make dist'
didg [Tue, 27 Oct 2009 13:49:34 +0000 (13:49 +0000)]
add missing include files in 'make dist'

14 years agoSome declarations were missing static keyword
franklahm [Tue, 27 Oct 2009 12:35:23 +0000 (12:35 +0000)]
Some declarations were missing static keyword

14 years agomv unix_rename from etc/afpd/unix.c to libatalk/vfs/unix.c.
franklahm [Tue, 27 Oct 2009 10:24:02 +0000 (10:24 +0000)]
mv unix_rename from etc/afpd/unix.c to libatalk/vfs/unix.c.
Untabify and reindent libatalk/vfs/unix.c.

14 years agoAdjust args names to match new VFS args names
franklahm [Mon, 26 Oct 2009 13:12:00 +0000 (13:12 +0000)]
Adjust args names to match new VFS args names

14 years agoUse fcntl O_NONBLOCK instead of ioctl FIONBIO
franklahm [Mon, 26 Oct 2009 12:35:56 +0000 (12:35 +0000)]
Use fcntl O_NONBLOCK instead of ioctl FIONBIO

14 years agoC99 forbids _XOPEN_SOURCE < 600
franklahm [Mon, 26 Oct 2009 12:34:18 +0000 (12:34 +0000)]
C99 forbids _XOPEN_SOURCE < 600

14 years agosendfile commit didn't compile if sendfile disable
didg [Sun, 25 Oct 2009 12:09:00 +0000 (12:09 +0000)]
sendfile commit didn't compile if sendfile disable

14 years agouse off_t rather than size_t for read/write_count, doesn't overflow at 4GB, yes movin...
didg [Sun, 25 Oct 2009 12:06:28 +0000 (12:06 +0000)]
use off_t rather than size_t for read/write_count, doesn't overflow at 4GB, yes moving more than 4GB of data over asp is a bad idea

14 years agoon linux put sendfile back
didg [Sun, 25 Oct 2009 09:47:03 +0000 (09:47 +0000)]
on linux put sendfile back

14 years agoseteuid back to our login user in logout in case there're volumes' prexec_close scripts.
didg [Sun, 25 Oct 2009 07:18:11 +0000 (07:18 +0000)]
seteuid back to our login user in logout in case there're volumes' prexec_close scripts.

14 years ago1) try a better workaround for deadlocks when both the server and the client are...
didg [Sun, 25 Oct 2009 06:12:51 +0000 (06:12 +0000)]
1) try a better workaround for deadlocks when both the server and the client are sleeping in write by using a timeout. 2) Don't block signals when the server write to the socket, SIGTERM is not fully protect yet, the server can still disconnect in a middle of a write

14 years agoEA, don't use st.st_mode if stat() failed. and goto exit was filling the log with...
didg [Sun, 25 Oct 2009 05:45:59 +0000 (05:45 +0000)]
EA, don't use st.st_mode if stat() failed. and goto exit was filling the log with ea_close('.'): non initialized ea

14 years agoafp_delete don't call deletefile if we already know that there's no file from cname()
didg [Fri, 23 Oct 2009 17:35:06 +0000 (17:35 +0000)]
afp_delete don't call deletefile if we already know that there's no file from cname()

14 years agoWe didn't always seteuid back. Thanks to Didier for spotting this.
franklahm [Fri, 23 Oct 2009 14:49:30 +0000 (14:49 +0000)]
We didn't always seteuid back. Thanks to Didier for spotting this.

14 years agoBegin Solaris EA VFS cleanup
franklahm [Fri, 23 Oct 2009 14:09:50 +0000 (14:09 +0000)]
Begin Solaris EA VFS cleanup

14 years agoad_open mask out O_EXCL with O_CREAT
didg [Fri, 23 Oct 2009 08:24:33 +0000 (08:24 +0000)]
ad_open mask out O_EXCL with O_CREAT

14 years agoFix all remaining warnings from gcc -Wall that can be fixed
franklahm [Thu, 22 Oct 2009 13:40:11 +0000 (13:40 +0000)]
Fix all remaining warnings from gcc -Wall that can be fixed

14 years agoFix incompatible func args warnings
franklahm [Thu, 22 Oct 2009 12:35:38 +0000 (12:35 +0000)]
Fix incompatible func args warnings

14 years agoPrivate Webmin installation with our netatalk.wbm module
franklahm [Thu, 22 Oct 2009 08:36:30 +0000 (08:36 +0000)]
Private Webmin installation with our netatalk.wbm module

14 years agooops, a previous commit wrongly removed this
didg [Thu, 22 Oct 2009 07:40:50 +0000 (07:40 +0000)]
oops, a previous commit wrongly removed this