Граф коммитов

144 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Patrick McManus b12bc44d80 bug 767158 - remove blocking dns call in sspi r=honzab
--HG--
extra : rebase_source : a313576f1262f25b6d299f815cedb0d8acc0b03f
2012-07-26 11:09:05 -04:00
Cameron McCormack f1129dbe54 Bug 563191 - Fix clang warnings about string constants in nsAuthSambaNTLM::SpawnNTLMAuthHelper. r=ehsan 2012-07-12 11:05:02 +10:00
Ehsan Akhgari ba10340a7c Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (extensions/auth/ parts); r=bsmedberg
--HG--
extra : rebase_source : bf2a9c8de523d78eac780da7d7d755be47b97114
2012-06-12 23:13:31 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masatoshi Kimura 651eabedd7 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Richard van den Berg 6dd85517c5 Bug 452781 - Allow specifying wildcard that matches all simple netbiosnames in network.automatic-ntlm-auth.trusted-uris, r=honzab 2012-02-17 16:24:31 +01:00
Ed Morley 91422f00de Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura b40c031d6c Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Landry Breuil bc49349049 Bug 667325: On OpenBSD, try to open libgssapi.so. r=khuey 2012-01-30 13:06:35 -08:00
Honza Bambas c283062dab Bug 573043 - Enable Extended Protection (channel and service bindng) for NTLM authentication, r=jmathies 2011-11-09 18:18:59 +01:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ed Morley 8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Brian Smith a5edaf27e8 Bug 637361: Backout bug 573043 2011-03-01 19:11:22 -08:00
Honza Bambas 48a2c64df8 Fix bug 573043. r=jmathies@mozilla.com, a=blocker.
--HG--
rename : security/manager/ssl/public/nsISSLStatus.idl => netwerk/base/public/nsISSLStatus.idl
rename : security/manager/boot/public/nsISSLStatusProvider.idl => netwerk/base/public/nsISSLStatusProvider.idl
rename : security/manager/ssl/public/nsIX509Cert.idl => netwerk/base/public/nsIX509Cert.idl
2011-02-08 16:12:29 -08:00
David Bienvenu 87d73ab860 Bug 604653 - 64bit Mac build crashes with negotiate auth and Kerberos [@ Kerberos@0x6a163 ]; r=sxw a=blocker 2010-12-10 09:09:11 +00:00
Benjamin Smedberg 0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
wfernandom2004@gmail.com 78db44644f Bug 472529, websockets (netwerk patch), r=smaug+biesi
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
extra : rebase_source : 4f75d33eb4fc7cdaa1f011f176ef4434bbfe2c25
2010-06-17 21:33:42 +03:00
Honza Bambas 9aaab9c522 Bug 542318 - Firefox 3.6 needs constant re-auths when connecting through NTLM proxy with credentials different from currently logged in Windows user, r=bz 2010-02-06 16:06:48 +01:00
Jim Mathies fe2efa3ce8 Bug 535193 - DNS resolution in MakeSN of nsAuthSSPI causing issues for proxy servers that support NTLM auth. r=wtc, sr=bz. 2009-12-17 19:34:32 -06:00
Jim Mathies e0aa8ddafd Bug 533529 - Use credentials instead of context for sspi init check. r-bz. 2009-12-16 14:11:51 -06:00
Jim Mathies 608472e9b0 Bug 533529. Detect it if someone calls GetNextToken when we're not initialized and bail out. r=bzbarsky 2009-12-14 22:05:19 -08:00
Jim Mathies 9c04789333 Bug 531425 - Firefox 3.6b4 Crash in nsAuthSSPI::GetNextToken. r=bz. 2009-12-02 13:26:24 -06:00
Jim Mathies aa6998dee6 Bug 520607 - Remove use of "ntlm" auth module and replace with use of "sys-ntlm". r=wtc, cbiesinger. sr=bz. 2009-11-19 16:12:43 -06:00
Jim Mathies 4667f2ddba Bug 487872 - nsAuthSSPI patch. r=wtc, sr=bz. 2009-11-04 16:12:24 -06:00
Kai Engert 7e335d7e89 Bug 494969, GSSAPI negotiate authentication may fail if /etc/resolv.conf changes
r=cbiesinger
Second checkin attempt, adding the obviously missing #ifdef needed for cross platform portability.
2009-10-30 10:13:34 +01:00
Kai Engert c752664b0e back out http://hg.mozilla.org/mozilla-central/rev/f825915212d4 2009-10-26 20:29:13 +01:00
Kai Engert cb614aa443 Bug 494969 - GSSAPI negotiate authentication may fail if /etc/resolv.conf changes
r=cbiesinger
2009-10-26 20:08:32 +01:00
David Bienvenu ec25eeae77 Bug 511806 r=simon@sxw.org.uk,sr=Neil 2009-09-07 15:30:58 +01:00
Benjamin Smedberg ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Navin Lal 1cad5f2db8 Bug 74803 - Should make global data const where possible; const changes for nsmodulecomponentinfo; r=dbaron 2009-07-25 03:27:08 +02:00
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Brian Crowder 95e2dd6a4a Bug 453156 - NTML broken by embedding patch in bug 422772, r/sr=bsmedberg 2008-09-05 12:09:06 -07:00
Brian Crowder e647dbc547 Bug 422772 - reduce narrow Windows API calls in embedding, original patch by Brad Lassey <blassey@mozilla.com>, r=bsmedberg 2008-08-27 14:44:54 -07:00
Bo Yang a87ddafa35 Bug 450222 - Missing declaration of UNICODE_STRING in mingw build, r=bsmedberg 2008-08-14 11:48:06 -04:00
bugzilla@standard8.plus.com b4a3cccf8a Bug 428482 Add support for Kerberised LDAP to extensions/auth. r=bienvenu,sr=dmose,a1.9=beltzner 2008-04-13 11:31:34 -07:00
blassey@mozilla.com 6cc9d5a4ed backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com ff89c4a3fb switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
blassey@mozilla.com 81d841c1fc backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com dfd26f92ec switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
dbaron@dbaron.org 9b013dc30a Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
roc+%cs.cmu.edu 69c5017be2 Bug 362435. Fixing PR_GetError bustage 2007-03-08 01:49:16 +00:00
roc+%cs.cmu.edu 96bcb5c271 Bug 362435. Try using Samba's ntlm_auth to perform NTLM authentication on our behalf, when available. If the user has logged in by authenticating to Active Directory, then this may avoid having the user enter their password again. (single sign on) r+sr=biesi 2007-03-08 01:48:25 +00:00
cbiesinger%web.de 68efed5537 bug 346151 Add nsIProxiedChannel to allow querying the proxy info a channel
was created with
r=darin sr=bz
2006-08-01 21:28:31 +00:00
gavin%gavinsharp.com 6dd81ae590 Bug 326528: fix out-of-bound error in pref reading code, r+sr=darin 2006-06-26 00:05:15 +00:00
bienvenu%nventure.com f0382acbd8 fix crash doing sspi auth, patch by schlichting@tu-harburg.de, r=cneberg@gmail.com, sr=bienvenu 2006-03-07 02:38:31 +00:00
bienvenu%nventure.com f8314f0567 fix 321514, fail to load gssapi library on some platforms, patch by simon@sxw.org.uk, r=cneberg, sr=bienvenu 2006-02-21 16:15:16 +00:00
bienvenu%nventure.com b52686c374 fix crash sending e-mail with kerberos auth via sspi, 319210 patch by simon@sxw.org.uk, r=cneberg@gmail.com, sr=bienvenu 2006-01-25 20:26:08 +00:00
gavin%gavinsharp.com 79886d0447 Bug 320349: Crash on authentification to the proxy server (possibly MS ISA server), patch by John Found <johnfound@abv.bg>, r+sr=darin 2006-01-04 16:23:10 +00:00
bsmedberg%covad.net 905fcd4b2f Bug 320972 - Integrate extensions/auth into libxul, r=darin 2005-12-21 18:37:02 +00:00
bienvenu%nventure.com 4e75a5df01 mac-only, patch by dauterman@spamino.com, r=cneberg@gmail.com, sr=bienvenu, prompt for kerberos tickets if they don't exist 2005-10-24 20:02:00 +00:00
bienvenu%nventure.com 241a2d4e7c fix build bustage when disable logging is turned on, r=cneberg, backing out part of patch for 280792 2005-08-21 16:01:52 +00:00
bienvenu%nventure.com 754ce9752c fix building gssapi on mac os 10.4, patch by mark@moxienet.com, r=cneberg@gmail.com, sr=bienvenu 2005-08-20 22:34:32 +00:00
bienvenu%nventure.com 353bb06953 fix static build bustage, thx to mento 2005-08-19 15:38:15 +00:00
bienvenu%nventure.com 287e94061c implement sasl auth and ability to use gssapi on windows, patches by cneberg@gmail.com, simon@sxw.org.uk, r=darin, sr=bienvenu 280792, 303160, NPOB 2005-08-18 15:22:33 +00:00
mark%moxienet.com 1686e1a5a4 Bustage fix following bug 301030, better assignment. r+sr=bz. Sorry for the burning. 2005-08-18 09:38:47 +00:00
mark%moxienet.com 92eb3fe27b Bug 301030, WWW-Authenticate: Negotiate crashes on Mac. Fix Mac-only function pointer. r=cneberg sr=darin a=bsmedberg 2005-08-18 09:38:46 +00:00
mark%moxienet.com 327b0906e3 Mac bustage fix. Bug 299305, Mac GSSAPI fixes following bug 295109. a=#developers 2005-08-18 09:38:45 +00:00
darin%meer.net 6e6ca5341b fixes bug 295109 "support pr-loading gssapi libraries for negotiateauth" patch by cneberg@gmail.com, r=darin, a=bsmedberg 2005-08-18 09:38:44 +00:00
darin%meer.net b8d85ac06f landing patch for bug 237586 "Implement negotiateauth using SSPI for Windows" r=cneberg sr=bryner a=shaver 2005-08-18 09:38:43 +00:00
pedemont%us.ibm.com d7802bbca9 Bug 240643 - Autthentication Failover not fully supported between connection based Authentication Types - patch by cneberg@sandia.gov r+sr=darin 2005-08-18 09:38:42 +00:00
darin%meer.net 9f45adfb49 backing out last change 2005-08-18 09:38:41 +00:00
darin%meer.net 3471b56106 fixes bug 240643 "Autthentication Failover not fully supported between connection based Authentication Types" patch by cneberg@sandia.gov r+sr=darin 2005-08-18 09:38:40 +00:00
darin%meer.net 80aefe96b5 landing patch for bug 241124 "move GSSAPI code behind nsIAuthModule so it can be used by mail protocols" r=cneberg sr=bryner 2005-08-18 09:38:39 +00:00
bienvenu%nventure.com 5078c789ba add auth gssapi, not part of build, files by simon@sxw.org.uk and cneberg@gmail.com, r=darin, sr=bienvenu 2005-08-17 21:00:28 +00:00
darin%meer.net a941f5eca5 fixes bug 286803 "Automatic NTLM auth fails if SSPI 'negotiate' package not found" r=biesi 2005-08-09 23:06:58 +00:00
darin%meer.net 8491ae3ac5 landing non-nspr portion of patch for bug 239358 "DNS: Reverse lookups are
degrading performance" r=lorenzo sr=bryner
2005-08-09 23:06:57 +00:00
darin%meer.net d02cfd73b2 fixes bug 231529 "Optionally enable unprompted NTLM authentication" r=cneberg sr=bryner 2005-08-09 23:06:56 +00:00
mark%moxienet.com 3c6ad0547d Bustage fix following bug 301030, better assignment. r+sr=bz. Sorry for the burning. 2005-08-09 23:06:55 +00:00
mark%moxienet.com 5888027beb Bug 301030, WWW-Authenticate: Negotiate crashes on Mac. Fix Mac-only function pointer. r=cneberg sr=darin a=bsmedberg 2005-08-09 23:06:54 +00:00
mark%moxienet.com 2384681563 Mac bustage fix. Bug 299305, Mac GSSAPI fixes following bug 295109. a=#developers 2005-08-09 23:06:53 +00:00
darin%meer.net ca158ad0d8 fixes bug 295109 "support pr-loading gssapi libraries for negotiateauth" patch by cneberg@gmail.com, r=darin, a=bsmedberg 2005-08-09 23:06:52 +00:00
darin%meer.net dc2da62231 fixing bustage 2005-08-09 23:06:51 +00:00
cbiesinger%web.de ea4d4c8645 Bug 286990 nsHttpNegotiateAuth.cpp behaves different in debug/non-debug
r+sr=darin
2005-08-09 23:06:50 +00:00
darin%meer.net d513302677 fixes bug 266485 "Enable SPNEGO proxy authentication" r=cneberg sr=bryner 2005-08-09 23:06:49 +00:00
bsmedberg%covad.net 44ea21148b Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-08-09 23:06:48 +00:00
darin%meer.net f5abc42f03 landing patch for bug 237586 "Implement negotiateauth using SSPI for Windows" r=cneberg sr=bryner a=shaver 2005-08-09 23:06:47 +00:00
pedemont%us.ibm.com 73552221fd Bug 240643 - Autthentication Failover not fully supported between connection based Authentication Types - patch by cneberg@sandia.gov r+sr=darin 2005-08-09 23:06:45 +00:00
darin%meer.net 23555f6757 backing out last change 2005-08-09 23:06:44 +00:00
darin%meer.net 6f4bbd07cb fixes bug 240643 "Autthentication Failover not fully supported between connection based Authentication Types" patch by cneberg@sandia.gov r+sr=darin 2005-08-09 23:06:43 +00:00
darin%meer.net c6cb29d879 fixes bug 230351 "NTLM base64 decoder should tolerate extra '=' padding" r=cneberg 2005-08-09 23:06:42 +00:00
darin%meer.net 24286983eb fixes bug 242446 "nsHttpNegotiateAuth::MatchesBaseURI fixes" patch by cneberg@sandia.gov r+sr=darin 2005-08-09 23:06:41 +00:00
darin%meer.net 5b31ba8306 attempting to fix mac build bustage 2005-08-09 23:06:40 +00:00
darin%meer.net 3386aefe45 landing patch for bug 241124 "move GSSAPI code behind nsIAuthModule so it can be used by mail protocols" r=cneberg sr=bryner 2005-08-09 23:06:39 +00:00
cls%seawood.org 2d641e766f Fixing static build bustage caused by checkin for bug 17578. 2005-08-09 23:04:58 +00:00
darin%meer.net d8b70c2c9d Landing patch for bug 17578 "I want Kerberos authentication and TGT forwarding"
This patch enables preliminary support for the SPNEGO protocol (Microsoft's
Negotiate protocol) via the GSSAPI library.  This means that only UNIX-like
operating systems (including Linux and OSX) are supported.  A SSPI-based
solution is needed for WIN32.

Only HTTP authentication is currently supported.  Mail protocols will follow.

Patch by:
  Daniel Kouril <kouril@ics.muni.cz> (original author)
  Wyllys Ingersoll <wyllys.ingersoll@sun.com>
  Christopher Nebergall <cneberg@sandia.gov>
  Darin Fisher <darin@meer.net>

r=dougt sr=bryner a=chofmann
2005-08-09 23:04:57 +00:00