Changeset 521


Ignore:
Timestamp:
Jan 14, 2011, 12:28:08 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Client 2.1: another bunch of updates

Location:
trunk/client/src
Files:
11 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/client/src/Config.km_

    r401 r521  
    88# edit this file to change version numbering
    99# in bldlevel informations
     10# adjust also the date please
    1011#
    1112VERSION = 1.6.0
    12 BUILD   = beta
     13BUILD   = beta-date
    1314SAMBA   = ../../samba-33
    1415TOOLKIT = u:/os2tk45
  • trunk/client/src/Makefile.kmk

    r505 r521  
    9393
    9494# add new dependancy on build level info
    95 rc/rc.rc : rc/description.rc nversion.h
     95rc/rc.rc : rc/description.rc nversion.h rc/rc.rc_
     96        $(QUIET)$(SED) "s;_VERSION_;$(VERSION);g" rc/rc.rc_ \
     97                | $(SED) "s;_WPIVERSION_;$(subst .,\\\,$(VERSION));g" \
     98                | $(SED) "s;_BUILD_;$(BUILD);g" \
     99                > rc/rc.rc
     100
    96101
    97102# update bldlevel info
  • trunk/client/src/help/ndpsmb.ipf

    r519 r521  
    246246:li.codepage fix for Ticket #68
    247247:eul.   
    248 :li.GA
     248:li.1.5.0 GA
    249249:ul.
    250250:li.Fix memory leak in EA code
     
    272272:ul.
    273273:li.added dir caching
     274:eul.
     275:li.beta2
     276:ul.
     277:li.read problem of small files fixed
     278:li.delete cache of changed files
     279:li.SIGPIPE crash fixed
     280:eul.
     281:li.beta3
     282:ul.
     283:li.changed instpl.cmd to work correct with nls
     284:li.added the possibility to adjust cache timeout and depth via GUI
     285:li.adjustments to helpfile and readme
     286:eul.
     287:li.beta4
     288:ul.
     289:li.possible SIGPIPE crashes redone (thanks to Vitali)
     290:li.touch did not delete the cache
    274291:eul.
    275292:eul.
  • trunk/client/src/help/ndpsmb_de.ipf

    r519 r521  
    250250:li.Codepage Update f&ue.r Ticket # 68
    251251:eul.   
    252 :li.GA
     252:li.1.5.0 GA
    253253:ul.
    254254:li.Behebung eines Speicherloches im EA-Code
     
    275275:h2 res=013.Version 2.0   
    276276:ul.
    277 :li.2.0.0
     277:li.beta1
    278278:ul.
    279279:li.Caching von Verzeichnissen
    280280:eul.
     281:li.beta2
     282:ul.
     283:li.Leseproblem mit kleinen Dateien
     284:li.Cache von ge&ae.nderten Dateien sofort l&oe.schen
     285:li.SIGPIPE Absturz behoben
     286:eul.
     287:li.beta3
     288:ul.
     289:li.instpl.cmd ge&ae.ndert, damit Sprachen richtig installiert werden
     290:li.M&oe.glichkeit zum ver„ndern des Cache timeout und Tiefe via GUI
     291:li.Anassungen an Hilfedateine und readme
     292:eul.
     293:li.beta4
     294:ul.
     295:li.m&oe.gliche SIGPIPE Abst&ue.rze komplett neu gel&oe.st (Dank geht an Vitali)
     296:li.Touch l&oe.schte den Cache nicht
     297:eul.
    281298:eul.
    282299:h2 res=014.Version 2.1   
    283300:ul.
    284 :li.2.1.0 alpha1
     301:li.alpha1
    285302:li.Update auf Samba 3.3 Client-Code
    286303:li.neuer Merge von 1.6 code und 2.0 code
  • trunk/client/src/help/ndpsmb_fr.ipf

    r519 r521  
    224224:ul.
    225225:li.:link reftype=hd res=011.Version 1.0:elink.
    226 :li.:link reftype=hd res=012.Version 1.5.0:elink.
    227 :li.:link reftype=hd res=013.Version 2.0.0:elink.
    228 :li.:link reftype=hd res=014.Version 2.1.0:elink.
     226:li.:link reftype=hd res=012.Version 1.5:elink.
     227:li.:link reftype=hd res=013.Version 2.0:elink.
     228:li.:link reftype=hd res=014.Version 2.1:elink.
    229229:eul.
    230230:h2 res=011.Version 1.0
     
    319319:eul.
    320320:eul.
    321 :h2 res=012.Version 1.5.0
     321:h2 res=012.Version 1.5
    322322:ul.
    323323:li.alpha1
     
    348348:li.Correctif sur les pages de codes (ticket nø68).
    349349:eul.
    350 :li.GA
     350:li.1.5.0 GA
    351351:ul.
    352352:li.Correction d'une fuite de m‚moire dans le code A.
     
    375375:eul.
    376376:eul.
    377 :h2 res=013.Version 2.0.0
     377:h2 res=013.Version 2.0
    378378:ul.
    379379:li.beta1
     
    395395:li.Correction des fichiers d'aide.
    396396:eul.
     397:li.beta4
     398:ul.
     399:li.Revue des possibles plantages SIGPIPE (merci
     400 Vitali).
     401:li."touch" ne supprimait pas le cache.
     402:eul.
    397403:eul.
    398404:h2 res=014.Version 2.1   
    399405:ul.
    400 :li.2.1.0 alpha1
     406:li.alpha1
    401407:ul.
    402408:li.moved to samba 3.3 source base
  • trunk/client/src/help/readme.txt

    r519 r521  
    254254   - added logging feature for samba messages
    255255   
    256 v1.5.1:
     256 v1.5.1:
    257257   - Fix crashes on quadcore machines
    258258   
    259 v1.5.2:
     259 v1.5.2:
    260260   - Fix help files
    261261
    262 v1.5.3:
     262 v1.5.3:
    263263   - Fix timestamp problem
    264264
    265 v2.0.0 :
     265 v2.0.0 beta1:
    266266   - added dir caching
    267267
    268 v2.1.0 alpha1 :
     268 v2.0.0 beta2:
     269   - read problem of small files fixed
     270   - delete cache of changed files
     271   - SIGPIPE crash fixed
     272
     273 v2.0.0 beta3:
     274   - changed instpl.cmd to work correct with nls
     275   - added the possibility to adjust cache timeout and depth via GUI
     276   - adjustments to helpfile and readme
     277
     278 v2.0.0 beta4:
     279   - possible SIGPIPE crashes redone (thanks to Vitali)
     280   - touch did not delete the cache
     281
     282 v2.1.0 alpha1:
    269283   - moved to samba 3.3 source base
    270284   - new merge of 2.0 code and 1.6 code
  • trunk/client/src/help/readme_de.txt

    r519 r521  
    256256   - Codepage Update fr Ticket # 68
    257257   
    258  v1.5.0:
     258 v1.5.0 GA:
    259259   - Behebung eines Speicherloches im EA-Code
    260260   - Ticket # 111
     
    266266   - Logging-Funktion fr Samba Meldungen hinzugefgt
    267267
    268 v1.5.1
     268 v1.5.1:
    269269   - Behebung der Abstrze auf Quadcore Maschinen
    270270   
    271 v1.5.2
     271 v1.5.2:
    272272   - Korrekturen an den Hilfedateien
    273273
    274 v1.5.3
     274 v1.5.3:
    275275   - Zeitzonenproblem behoben
    276276
    277 v2.0.0
     277 v2.0.0 beta1:
    278278   - Caching von Verzeichnissen
    279279
    280 v2.1.0 alpha1:
     280 v2.0.0 beta2:
     281   - Leseproblem mit kleinen Dateien
     282   - Cache von ge„nderten Dateien sofort l”schen
     283   - SIGPIPE absturz behoben
     284
     285 v2.0.0 beta3:
     286   - instpl.cmd ge„ndert, damit Sprachen richtig installiert werden
     287   - M”glichkeit zum ver„ndern des Cache timeout und Tiefe via GUI
     288   - Anassungen an Hilfedateine und readme
     289
     290 v2.0.0 beta4:
     291   - m”gliche SIGPIPE Abstrze komplett neu gel”st (Dank geht an Vitali)
     292   - Touch l”schte den Cache nicht
     293
     294 v2.1.0 alpha1:
    281295   - Update auf Samba 3.3 Client-Code
    282296   - neuer Merge von 1.6 code und 2.0 code
  • trunk/client/src/help/readme_fr.txt

    r519 r521  
    344344     Samba.
    345345   
    346  v1.5.1
     346 v1.5.1 :
    347347   - Correction du plantage sur les machines Quadcore.
    348348   
    349  v1.5.2
     349 v1.5.2 :
    350350   - Correction des fichiers d'aide.
    351351
    352  v1.5.3
     352 v1.5.3 :
    353353   - Correction du problŠme de tampon dateur des fichiers.
    354354
    355  v2.0.0 beta1
     355 v2.0.0 beta1 :
    356356   - Ajout de la mise en cache des r‚pertoires.
    357357
    358  v2.0.0 beta2
     358 v2.0.0 beta2 :
    359359   - Correction du problŠme de lecture des petits fichiers.
    360360   - Suppression du cache sur les fichiers modifi‚s.
    361361   - Correction du plantage SIGPIPE.
    362362
    363  v2.0.0 beta3
     363 v2.0.0 beta3 :
    364364   - Ajout de la possibilit‚ de r‚gler la temporisation et la
    365365     profondeur du cache via l'interface utilisateur.
    366366   - Correction du script insp.pl.
    367    - Correction des fichiers d'aide.
     367   - Correction des fichiers d'aide.
     368
     369 v2.0.0 beta4 :
     370   - Revue des possibles plantages SIGPIPE (merci
     371 Vitali).
     372   - "touch" ne supprimait pas le cache.
    368373
    369374 v2.1.0 alpha1 :
  • trunk/client/src/ndpsmb.c

    r519 r521  
    115115        {ND_PROP_STRING, 0, "SPASSWORD",  ""},
    116116        {ND_PROP_STRING, 0, "MASTER", "WORKGROUP"},
    117         { ND_PROP_ULONG, 0, "MASTERTYPE", "1"},
    118         { ND_PROP_ULONG, 0, "EASUPPORT", "1"},
     117        {ND_PROP_ULONG, 0, "MASTERTYPE", "1"},
    119118        {ND_PROP_ULONG, 0, "CTO", "10"},
    120119        {ND_PROP_ULONG, 0, "CLD", "32"},
     120        {ND_PROP_ULONG, 0, "EASUPPORT", "1"},
    121121        {ND_PROP_STRING, 0, NULL, NULL}
    122122};
     
    16751675}
    16761676
     1677// Called when a new thread will call the plugin. Allows to do per thread init, like disable signals.
     1678#define ND_PL_INIT_THREAD 0xFFFF0000
     1679
    16771680int APIENTRY NdpIOCTL (int type, HRESOURCE resource, char *path, int function, void *in, ULONG insize, PULONG poutlen)
    16781681{
     1682    if (function == ND_PL_INIT_THREAD)
     1683       {
     1684          smbwrp_initthread();
     1685          debuglocal(9, "NdpIOCTL init thread\n");
     1686          return NO_ERROR;
     1687       }
     1688
    16791689    debuglocal(9,"NdpIOCTL <%s> %d\n", path, function);
    16801690
     
    18861896
    18871897        debug_printf("NdpFileSetInfo in [%p]\n", pConn);
     1898
     1899        // delete the dir cache
     1900        dircache_invalidate(pConn->file.fullname, pRes->pdc, 1);
     1901
    18881902        do {
    18891903                if (pConn->file.fd < 0 || !*pConn->file.fname)
  • trunk/client/src/rc/rc.rc_

    r519 r521  
    1414RCDATA NDRC_PLUGIN_DESC
    1515{
    16     "Access to SAMBA resources."
     16"Access to SAMBA resources.\n
     17Plugin Version _VERSION_ Build _BUILD_\n
     18See help for more Information.\n   
     19"
    1720}
    1821
  • trunk/client/src/smbwrp.c

    r516 r521  
    195195        }
    196196*/
     197        return 0;
     198
     199}
     200
     201void smbwrp_initthread(void)
     202{
    197203        /*
    198204         * Block SIGPIPE (from lib/util_sock.c: write())
     
    200206         */
    201207        BlockSignals(True, SIGPIPE);
    202 
    203         return 0;
    204 
    205208}
    206209
     
    821824        }
    822825
    823 debuglocal(4,"Setting on <%s> attr %04x, time %lu/%lu\n", finfo->fname, finfo->attr, finfo->mtime, finfo->mtime + get_time_zone(finfo->mtime));
    824         if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime + (finfo->mtime == 0 ? 0 : get_time_zone(finfo->mtime)))
     826debuglocal(4,"Setting on <%s> attr %04x, time %lu (timezone /%lu\n", finfo->fname, finfo->attr, finfo->mtime, finfo->mtime + get_time_zone(finfo->mtime));
     827        // we already have gmt time, so no need to add timezone
     828        // if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime + (finfo->mtime == 0 ? 0 : get_time_zone(finfo->mtime)))
     829        if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime)
    825830                && !cli_setatr(cli, finfo->fname, finfo->attr, 0))
    826831        {
  • trunk/client/src/smbwrp.h

    r519 r521  
    223223void debuglocal(int level, const char * fmt, ...);
    224224
     225void smbwrp_initthread(void);
     226
    225227#endif /* _SMBWRP_H */
Note: See TracChangeset for help on using the changeset viewer.