Commit Graph

144 Commits

Author SHA1 Message Date
Ehsan Akhgari
6309f84e6d Bug 635546 - Calculate the string length correctly for REG_EXPAND_SZ values expanded through nsWindowsRegKey::ReadStringValue; r=bsmedberg,jimm a=blocking-betaN+
The buffer length returned from ExpandEnvironmentStringsW includes the terminatng
null character, so we need to decrement it before setting the string length, as
XPCOM strings need to be stored with correct length information.
2011-02-22 11:05:26 -05:00
Ehsan Akhgari
c389b80a3c Bug 634819 - Use the nsIWindowsRegKey APIs instead of direct Win32 API calls; r=josh,jimm a=shaver 2011-02-17 16:18:53 -05:00
Benoit Jacob
7987aa8357 Bug 601535 - fix CheckedInt warnings - r=khuey, a2.0=joe 2010-10-12 17:01:59 -04:00
Benoit Jacob
dde5763eeb Bug 555798 - CheckedInt improvements, init by 0 - r=neil 2010-10-12 17:01:59 -04:00
Benoit Jacob
39b2609bc8 Bug 583325; CheckedInt: beware of signed right shift; r=lw 2010-08-05 09:59:37 -04:00
Benoit Jacob
af55a384ea Bug 580034; Some CheckedInt tweaks; r=jmuizelaar 2010-08-05 09:57:06 -04:00
Neil Rashbrook
c1ba581be6 Bug 581652 Some versions of GCC don't like nsCRT::IsAsciiSpace r=jst a=bsmedberg 2010-07-27 12:45:59 +01:00
Boris Zbarsky
8a5a8c7f9e Bug 558306 part 1.5. Make TimeDuration::FromMilliseconds take a double. r=cjones, sr=roc 2010-07-21 15:57:33 -04:00
Mounir Lamouri
530eba15e8 Bug 555559: Make nsCharSeparatedTokenizer a template that can accept varying definitions of whitespace. r=smaug,sicking sr=jst 2010-07-21 09:07:10 -07:00
Robert O'Callahan
9d2392dcc8 Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats 2010-07-16 09:08:05 +12:00
Chris Jones
593697156c Bug 576467: Check the return value of clock_getres(). r=roc 2010-07-15 14:27:43 -05:00
Boris Zbarsky
92a03af2bc Bug 558306 part 1. Add a TimeDuration::ToMilliseconds. r=cjones 2010-07-15 09:59:23 -04:00
Benoit Jacob
54efe381b9 b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir 2010-07-03 18:33:05 -04:00
Benoit Jacob
75dbbc1f1f b=576067; Let WebGL use CheckedInt; r=vladimir 2010-07-03 18:32:19 -04:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benoit Jacob
e43682cb4c b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir 2010-06-30 11:53:41 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
6e8d912e32 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
5cab25b52b Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Jacek Caban
7393907967 Bug 569586 - XPCOM compilation failure on mingw-w64 due to pointer to int cast loosing precision. r=benjamin
--HG--
extra : rebase_source : e4d0b0b110992af5f397aea52c36a5f5ed9f56c5
2010-06-25 14:02:24 +02:00
Robert Sayre
13c247559e Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Jason Orendorff
ee50fdd206 Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
5aa27b84c9 Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Daniel Holbert
d4bf1daecc Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes) 2010-05-04 07:43:48 -07:00
Daniel Holbert
4d7b4ac88a Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
06a036b3ef Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
54c4f9b04b Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
a904d63111 Bug 562310 Part 2: Convert nsCommaSeparatedTokenizer class into a custom-SeparatorChar version, nsCharSeparatedTokenizer. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
timeless@mozdev.org
9a289a56f1 Bug 562525 - nsPropertiesParser::FinishValueState potentially uses a variable uninitialized dependent on a member of a class in a file with threadsafe classes, r=bsmedberg
--HG--
extra : rebase_source : 56cb882be1612a7975f1d845e7a8b96e2ab0d060
2010-04-28 17:55:00 -07:00
timeless@mozdev.org
c8a6358870 Bug 561709 Change the dash to an underscore in the status of nsIRecyclingAllocator, r=bsmedberg 2010-04-26 01:18:00 -07:00
Ginn Chen
3afa89d964 revert 43e12453336f, it was fixed by another changeset 2010-04-28 17:44:24 +08:00
Ginn Chen
314bd364fe Bug 560717 Linux FPE running make check r=bsmedberg 2010-04-28 17:40:03 +08:00
Vladimir Vukicevic
838f1fb2ff b=560717; fix TimeStamp initialization in TimeStamp_posix; r=bsmedberg 2010-04-26 14:26:40 -07:00
Vladimir Vukicevic
e3731a1e45 b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop 2010-04-26 11:13:03 -07:00
Vladimir Vukicevic
3ce92fdab6 b=480735; add infrastructure for simple timeline logging; r=bsmedberg 2010-04-20 00:04:42 -07:00
Jonas Sicking
e6aa8d8aab Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch. 2010-03-08 08:03:55 -08:00
Jonas Sicking
0baab851d8 Bug 534136 Part 6: Properly handle invalid UTF8 string being passed to NS_NewAtom/do_GetAtom. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
3cfc98309e Bug 534136 Part 5: Clean up atomtable hash entries. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Uli Link
d5626e719c Bug 537967 - Moving FILE_ILLEGAL_CHARACTERS from nsCRT.h to nsCRTGlue.h for frozen linkages, r=bsmedberg,sr=shaver 2010-03-07 15:15:31 +01:00
Chris Jones
5e03f750df Bug 541185: Fall back on clock_getres() when resolution detection fails, and remove bogus upper-bound sanity check. r=roc 2010-03-01 15:44:05 -06:00
Justin Dolske
d8daefadb7 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00