Commit Graph

72 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
0314b34a32 Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo 2014-03-14 10:13:26 -04:00
Peiyong Lin
595d2e53b1 Bug 967507 - [OS.File] Add |path| for error-reporting. r=Yoric 2014-02-24 10:16:01 -05:00
Alessio Placitelli
800569a380 Bug 924874 - Add OS.File.getAvailableFreeSpace for Windows and Linux. r=Yoric 2014-01-15 02:04:00 -05:00
David Rajchenbach-Teller
e189bf007a Bug 952335 - Provide the full path for OS.Constants.Path.libxul on OSX. r=mossop 2014-02-05 13:29:51 -05:00
Masatoshi Kimura
22b25af0fd Bug 951028 - Fix NTFS permissions when a file is moved to a different directory. r=yoric,bbondy 2014-01-23 02:33:48 +09:00
David Rajchenbach-Teller
cf0357fd3d Bug 951838 - Add OS.Constants.Path.libSqlite3. r=khuey 2014-01-21 11:29:29 -05:00
Sumit Agrawal
a5d417a7c6 Bug 958354 - OS.Constants.Path should expose UAppData. r=Yoric 2014-01-13 08:45:20 -05:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
David Rajchenbach-Teller
3c76010f13 Bug 941565 - Fix OS.Constants.Path.libxul on Android. r=glandium 2013-11-25 09:32:29 -05:00
Peiyong Lin
a8bef97fb1 Bug 936297 - Expose posix_spawn_file_actions_t via Constants.libc. r=Yoric 2013-11-18 13:04:33 -05:00
Felix H. Dahlke
805db75c86 Bug 921229 - Remove files with the read-only flag set. r=yoric 2013-10-29 09:27:01 +01:00
Nils Maier
13c7ebbe2a Bug 924916: Part 1 - Implement OS.File.setDates() for Unix. r=yoric 2013-10-28 05:40:00 +00:00
Birunthan Mohanathas
be3b270819 Bug 784739 - Switch from NULL to nullptr in dom/ (2/2); r=ehsan 2013-10-28 10:04:47 -04:00
Sankha Narayan Guria
1bca203f87 Bug 865387 - Handle the read-ahead flag operation on Linux. r=Yoric 2013-10-11 23:13:48 +05:30
Marco Castelluccio
e343936d06 Bug 920686 - [OS.File] Add some constants to OS.Constants.Path for WebappsInstaller.jsm. r=yoric 2013-09-30 10:59:41 -04:00
Ehsan Akhgari
70bb3246bd Bug 913851 - Minimize the #includes in js/xpconnect; r=bholley
X-Git-Commit-ID: 78e6843063b303780a7dd2695dd2824a0a9c9a3c

--HG--
extra : rebase_source : 1dfcc228f43c68efbbc74f639570c227c26ef025
2013-09-09 23:14:10 +02:00
Nathan Froyd
71abcfec30 Bug 903427 - make ConstantSpecs in OSFileConstants.cpp const and constexpr-foldable; r=khuey 2013-08-09 09:46:07 -04:00
Jon Coppeard
fd4d274d46 Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ac22f0d0ad Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Jon Coppeard
4258a261db Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz 2013-07-26 10:00:38 +01:00
Jon Coppeard
bd28d643f7 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Boris Zbarsky
14e7edc59d Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug 2013-05-29 16:16:04 -04:00
David Zbarsky
3a5f2fa41d Bug 868312 - Some more rooting fixes for dom r=bz 2013-05-10 22:39:45 -04:00
David Zbarsky
ef70ce04b7 Bug 868312: Various dom rooting fixes r=bz 2013-05-04 03:52:57 -04:00
Kushagra Sinha
796795f77c Bug 858482 - Expose macro DEBUG to OS.Constants. r=khuey, r=dteller 2013-04-24 08:36:10 -04:00
Tom Schuster
88d7dfb0b5 Bug 862834 - Root mozJSComponentLoader. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Jose Cortes
23d45dfaab Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/system/ and dom/file/ directories. r=jwalden
--HG--
extra : rebase_source : 02747f384514c16bdfba7319e569b6554d7b28bd
2013-04-02 16:14:00 -07:00
David Rajchenbach-Teller
3ab4721bb3 Bug 840887 - New OS.Constants constants. r=khuey 2013-02-26 12:06:53 -05:00
Nagarjuna Varma
7ff36c65bc Bug 785060 - Check for allocation failure in JS_NewUCStringCopyZ calls; r=Ms2ger 2012-12-22 18:35:07 -05:00
David Rajchenbach-Teller
6a14396e1c Bug 820681 - OS.Constants.Path.{profileDir, localProfileDir} - Initialize strings to void. r=khuey 2012-12-16 19:36:27 -05:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
David Rajchenbach-Teller
e8cee2b905 Bug 810543 - OS.Constants now adapts if profileDir is not available;r=khuey 2012-12-11 15:12:59 -08:00
Jan Beich
f84aae5315 Bug 817267 - dirfd() is a macro on some BSDs, fix build there. r=yoric 2012-12-01 21:25:24 -05:00
Amod Narvekar
ffe33cdd51 Bug 781346 - Expose local profie directory to OS.Constants.Path. r=yoric 2012-12-01 21:20:44 -05:00
Kyle Huey
6e2ebb2e8d Bug 813762: Teach OS.File about compartment sharing. r=mrbkap 2012-11-26 08:55:12 -08:00
David Rajchenbach-Teller
6cb3629cc0 Bug 807875 - Implement creationDate correctly for Mac OS X. r=froydnj 2012-11-15 11:22:27 -08:00
David Rajchenbach-Teller
6a13f29586 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Ed Morley
83cd16dcd5 Backout fdb7c9649a07 (bug 805967), 72003517a631 (bug 806538), 354250ed1e72 (bug 770538), ea6edd3749ce (bug 770538) for bustage on a CLOSED TREE 2012-10-30 17:56:20 +00:00
David Rajchenbach-Teller
6229605002 Bug 770538 - dirfd, MacOS X version. r=froydnj 2012-10-30 11:34:49 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
David Rajchenbach-Teller
e03c0a038d Bug 761138 - Create/remove directories (constants). r=froydnj 2012-08-24 16:18:15 -04:00
David Rajchenbach-Teller
537d283f95 Bug 775588 - Do not define a special directory if it doesn't exist. r=khuey
--HG--
extra : rebase_source : 19432a51e503201248a1e402fcdceefe2dfcf7d4
2012-08-22 16:58:09 -04:00
David Rajchenbach-Teller
56cc07bc9e Bug 775588 - Expose path to tmpdir, profiledir in OS.Constants and make sure that weird loaders that violate loading order do not segfault. r=khuey
--HG--
extra : rebase_source : 26df2463b84dd60ca50cc9c280f226ee692d2f4e
2012-08-22 16:58:08 -04:00
Ryan VanderMeulen
361311d7f6 Backout 1844cc5b131a (bug 775588) for suspected Linux Cipc orange on a CLOSED TREE. 2012-08-08 19:14:08 -04:00
David Rajchenbach-Teller
ea8b9eba28 Bug 775588 - Expose tmpdir, profiledir paths in OS.Constants and make sure that weird loaders that violate loading order do not segfault. r=khuey 2012-08-08 15:11:40 -04:00
David Rajchenbach-Teller
9dc5b3731c Bug 780498 - Add OS.Constants.libc.COPYFILE_MOVE. r=yoric 2012-08-05 20:12:58 -04:00
Ryan VanderMeulen
c8a8317e5a Backout 75e0a5a581bb (bug 775588) due to bustage. 2012-07-26 21:34:36 -04:00
David Rajchenbach-Teller
81d5d86224 Bug 775588 - Expose tmpdir and profiledir. r=khuey 2012-07-26 21:17:23 -04:00
Tim Taubert
34296cb130 Bug 766194 - OSFileConstants for Windows stat;r=taras 2012-07-21 19:47:59 +02:00