The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / src / node_file.cc @ 0544a586

History | View | Annotate | Download (27.6 KB)

# Date Author Comment
f0ce9844 06/20/2012 09:05 PM Ben Noordhuis

fs: make fs.watchFile() work on windows

09150b06 06/20/2012 08:42 PM Ben Noordhuis

node: replace NODE_STAT_STRUCT with uv_statbuf_t

b4ed3c19 05/24/2012 02:49 PM Igor Zinkovsky

remove NODE_USE_64BIT_UV_FS_API

39e25528 05/24/2012 04:15 AM Igor Zinkovsky

windows: enable creating directory junctions with fs.symlink

6f82b9f4 05/03/2012 01:39 AM Igor Zinkovsky

64bit offsets for fs calls

ecca7525 04/18/2012 02:57 PM isaacs

Merge remote-tracking branch 'ry/v0.6' into master

Conflicts:
AUTHORS
ChangeLog
LICENSE
Makefile
deps/http_parser/test.c
deps/npm/AUTHORS
deps/npm/html/api/bin.html
deps/npm/html/api/bugs.html
deps/npm/html/api/commands.html
deps/npm/html/api/config.html...

a26bee8f 04/17/2012 04:14 PM isaacs

MakeCallback: Consistent symbol usage

91701c2d 04/17/2012 03:00 PM isaacs

MakeCallback: Use in node_file.cc

052aaa4c 04/05/2012 07:03 PM Igor Zinkovsky

windows: use 64bit offsets for uv_fs apis

17524432 03/30/2012 10:07 AM Ben Noordhuis

Fix Engrish in error messages.

249c3c16 03/22/2012 08:02 PM ssuda

Avoiding unnecessary ToString() calls

String::Utf8Value and String::AsciiValue constructors take Handle<Value>
So no need to convert to Handle<String>

31ad1d29 03/07/2012 09:14 PM Bert Belder

Merge branch 'v0.6'

3733a85d 03/07/2012 08:57 PM Bert Belder

Windows: include syscall in fs errors

4053c01b 03/03/2012 05:40 PM isaacs

First arg to fs.fchown is an int, not a string

Bug introduced by 26bfb6bea45348d6aaa213b4ee38ac002c429394

Fix isaacs/npm#2225

74a8215a 02/06/2012 09:44 AM Ben Noordhuis

Revert support for isolates.

It was decided that the performance benefits that isolates offer (faster spin-up
times for worker processes, faster inter-worker communication, possibly a lower
memory footprint) are not actual bottlenecks for most people and do not outweigh...

26bfb6be 01/31/2012 01:11 AM Tj Holowaychuk

more specific fs error messages

4e524777 01/20/2012 09:57 AM Ben Noordhuis

fs, handle_wrap: use Loop(), not uv_default_loop()

Using the default loop will fail in unexpected and interesting ways when
isolates are used.

2156e5ec 01/20/2012 08:46 AM Shigeki Ohtsu

fs: don't assert on uv_fs_*() errors

Pass errors to the JS callbacks, don't assert in C++ land.

Fixes among other things the case where Node aborts because uv_fs_futimes()
returns ENOSYS.

20ba454e 12/28/2011 07:56 PM Ryan Dahl

Add node::Loop() and don't inc node_isolate.h in *.cc

node::Loop() replaces the NODE_LOOP macro. This avoids hitting
v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0

f168f7d7 12/28/2011 07:56 PM Ryan Dahl

Remove node_isolate.h from node.h

a0f3eb01 12/28/2011 07:56 PM Ryan Dahl

node_file.cc should use NODE_LOOP()

1865b11d 12/16/2011 04:57 PM Ryan Dahl

Merge remote branch 'origin/v0.6'

Conflicts:
wscript

500c8f45 12/15/2011 09:01 PM Igor Zinkovsky

Remove platform files, and use uv platform api

e90db173 12/13/2011 10:02 AM Ben Noordhuis

fs: fix typo in error message

e53e9c72 12/07/2011 06:44 PM Ryan Dahl

move global vars for node_file.cc, node_zlib.cc, and node_crypto.cc

823a4433 12/01/2011 08:21 PM Bert Belder

Rename FSError to UVException and move to node.cc

9b4e8e0a 12/01/2011 04:29 PM Ben Noordhuis

fs: fix typo in function names

The build was not affected: the typos were in macros that only come into effect
when _LARGEFILE_SOURCE is not defined - which is never.

5b014e07 11/25/2011 03:35 AM Bert Belder

Fs: use strncmp instead of memcmp for comparing strings

1f16a7b6 11/25/2011 03:35 AM Author: Igor Zinkovsky

Enable long paths on windows

cdcb1118 11/09/2011 10:34 AM Ben Noordhuis

Remove stray NODE_MODULE() semi-colons.

6cb15403 09/14/2011 04:47 PM Igor Zinkovsky

remove SetCloseOnExec

a6ef3eb2 09/14/2011 04:46 PM Ryan Dahl

Upgrade libuv to 4197fc7

and use return value from sync uv_fs functions

65e6ba9c 09/08/2011 03:52 PM Igor Zinkovsky

Enable link, symlink, and readlink on windows

56efe9cb 09/06/2011 10:34 AM Ben Noordhuis

file: translate libuv error codes to errno names

Fixes incorrect error names (ex. ENOEXEC instead of EBADF,
EMLINK instead of ENOENT).

Fixes #1656.

2d9ab492 09/05/2011 08:15 PM Ben Noordhuis

file: fix errno propagation in sync fs calls

Include libuv fs error code in the JS exception.

Fixes #1657.

ef523e57 09/05/2011 01:14 AM isaacs

fix test-fs-realpath

fcfec075 09/04/2011 10:48 PM Ryan Dahl

internal fs functions called with this == ReqWrap

39ea2747 09/04/2011 10:44 PM Ryan Dahl

Return ReqWrap from internal fs functions

f5e486eb 09/04/2011 09:48 PM Ryan Dahl

Fix test-fs-error-messages.js

17021ea6 09/04/2011 07:17 PM Ryan Dahl

Upgrade libuv to 142a702

29e929de 09/03/2011 10:11 PM Igor Zinkovsky

fix windows build break

a3d7782c 09/03/2011 08:45 PM Igor Zinkovsky

enable missing fs functions on windows

ee048aa3 09/03/2011 08:44 PM Igor Zinkovsky

fix async readdir

21cc4c49 08/31/2011 04:53 AM Ryan Dahl

Upgrade libuv to ea4271f

Required adding uv_default_loop() in many places.

bce41fac 08/30/2011 04:36 AM Igor Zinkovsky

Use new uv_fs_ apis

This will cause master to be unstable for a while as we replace existing eio
calls with uv_fs calls.

10886387 08/30/2011 04:35 AM Ryan Dahl

upgrade libuv to a6ed175

7003d6ef 08/24/2011 04:27 PM Ben Noordhuis

Move ARRAY_SIZE macro to node.h

764dfbb1 08/09/2011 10:23 PM Bert Belder

Open files in binary mode, on msvc too

6ac8c559 08/07/2011 01:39 AM Peter Bright

Make MSVS build.

MSVS settings don't actually need to be guarded by conditions. gyp will do
the right thing.

13d6a1f6 08/06/2011 06:31 AM Peter Bright

Basic VC++ compatibility work.

a3e3ad40 07/13/2011 01:52 PM koichik

Fix fs can't handle large file on 64bit platform

fs.read() and fs.write() can't handle more than 2GB files on 64bit platform.
Also fs.truncate() can't handle more than 4GB files.

Fixes #1199.
Fixes #1094.

0c3a7c07 07/04/2011 08:05 PM avz

Fix wrong error handling at Open() after open(2) in sync mode

23b8931b 06/29/2011 08:50 AM Ryan Dahl

Merge branch 'v0.4'

Conflicts:
src/node.js
src/node_version.h

feb26d6c 06/20/2011 06:48 AM Ryan Dahl

Fixes #1203. Add missing scope.Close to fs.sendfileSync

406f44a8 06/07/2011 11:06 PM Bert Belder

Build on windows again

9cec08e4 05/23/2011 08:31 PM Bert Belder

Batch of ev -> uv changes

5cfac218 04/20/2011 07:04 PM isaacs

GH-853 fs.fchmod and fs.fchown

bfa9db9d 04/04/2011 02:42 AM Ryan Dahl

Merge branch 'v0.4'

Conflicts:
src/node_version.h
test/simple/test-buffer.js

e7604b1e 03/28/2011 06:28 PM Jorge Chamorro Bieling

Retain buffers in fs.read/write()

Closes GH-814.
Closes GH-827.

4cc0a087 03/22/2011 04:19 PM Ryan Dahl

Better ifdef for futimes

f63120be 03/22/2011 04:07 PM Ryan Dahl

Fix solaris build

247d8801 03/14/2011 08:45 PM Ryan Dahl

Merge branch 'v0.4'

Conflicts:
src/node_version.h

55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

1d5ff15a 03/02/2011 11:35 PM Ben Noordhuis

fs.utimes() and fs.futimes() support.

36846f9b 02/09/2011 12:21 AM Bert Belder

Windows: child process fixes

6329633a 02/04/2011 05:43 PM Bert Belder

Windows: open files in binary mode

f9fea125 01/24/2011 11:37 PM Bert Belder

Fix windows build

cc5e9130 01/24/2011 02:57 PM Ryan Dahl

fs.open should set FD_CLOEXEC

c99962e4 01/17/2011 10:58 PM Bert Belder

Misc. cleanups

casts, unused vars, function ordering, /* within comment, etc.

e0f47be9 01/17/2011 10:58 PM Bert Belder

Clean up the way windows headers are included

Plus make inclusion order a little more consistent in general

bea5e6ef 12/20/2010 05:51 PM Bert Belder

Re-enable stat watchers on windows

This reverts commit b8a99f94167a25f63ae096d9d5e2cc9cf70cecef.

f48c36f7 12/20/2010 05:51 PM Bert Belder

Use unicode and bigfile aware stat/fstat

03a74efb 12/20/2010 05:51 PM Bert Belder

Don't break the linux build

1937c5e3 12/20/2010 05:50 PM Bert Belder

On windows, there's no support (yet) for chown and symlink functions

51c68672 12/20/2010 05:50 PM Bert Belder

On windows, stat() doesn't give you block (size) info

f9a74a23 12/20/2010 05:50 PM Bert Belder

On windows, mkdir() doesn't take a mode parameter

8fc3bac8 12/20/2010 05:50 PM Bert Belder

Fix fsync/fdatasync for windows

fae7b815 12/20/2010 05:50 PM Bert Belder

On windows use eio__pread and eio__pwrite (hack)

c7f0341d 12/20/2010 05:50 PM Bert Belder

Include windows.h in node_file.cc

81b26dc5 12/20/2010 05:50 PM Bert Belder

Stat watchers don't work on windows yet

cea3a95f 11/16/2010 07:26 PM Ryan Dahl

Add ref to buffer during fs.write and fs.read

There was the possibility the buffer could be GCed while the eio_req was
pending. Still needs test coverage for the fs.read() problem.

See:
http://groups.google.com/group/nodejs/browse_thread/thread/c11f8b683f37cef

016fdab4 10/30/2010 03:04 PM Ryan Dahl

Fix argv6 comment in node_file

98e7d350 10/30/2010 02:45 PM Micheil Smith

Rewrite libeio After callback to use req->result instead of req->errorno for error checking

fe74283e 10/09/2010 07:04 PM Ryan Dahl

Fix a few compiler warnings...

1cf538a6 09/09/2010 02:03 PM Ryan Dahl

Work to get C++ fast buffers. incomplete

ace2be8a 07/14/2010 01:42 PM Paul Querna

Move the Stat structure functions to node_file.cc

from node.cc, so we can convert fs to a module.

760fb17b 07/12/2010 04:20 PM Peter Griess

Coverity fixes: src/node_file

8c853404 06/30/2010 02:59 AM Blake Mizerany

fix whitespace errors

242161be 06/28/2010 06:16 PM Ruben Rodriguez

Added new API to Script, and implemented it in the REPL

d89de077 05/26/2010 04:37 PM Micheil Smith

Adding experimental support for fs.chown and fs.chownSync.

Notes:
- Currently only accepts numeric user and group ids.
- No tests, as tests depend on getpwuid and getgrgid.
- No documentation, as there is no tests and this is experimental.

c93e0aaf 05/20/2010 07:31 PM Felix Geisendörfer

Deprecate string interface for fs.read()

This patch makes buffers the preferred output for fs.read() and
fs.readSync(). The old string interface is still supported by
converting buffers to strings dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.

e84395ff 05/20/2010 07:11 PM Ryan Dahl

Revert "Deprecate string interface for fs.read()"

This reverts commit cbbf9e43d1770047e98fe65d5f710815f432a5b4.

cbbf9e43 05/20/2010 06:25 PM Felix Geisendörfer

Deprecate string interface for fs.read()

This patch makes buffers the preferred output for fs.read() and
fs.readSync(). The old string interface is still supported by
converting buffers to strings dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.

d8af9d8e 05/19/2010 05:59 PM Ryan Dahl

Minor style changes for fs.write code

c46cbe0d 05/19/2010 03:53 PM Felix Geisendörfer

Deprecate string interface for fs.write()

This patch makes buffers the preferred input for fs.write() and
fs.writeSync(). The old string interface is still supported by
converting strings to buffers dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.

45948e05 05/14/2010 10:46 PM visionmedia

Added better error messages for async and sync fs calls with paths

95996070 05/14/2010 09:42 PM Andrew Johnston

Added posix fsync and fdatasync to fs module

c6c77d53 05/12/2010 05:20 PM Ben Noordhuis

Support for fstat(2) through fs.fstat() and fs.fstatSync(). Added test cases, updated documentation.

8e5b91c7 05/10/2010 07:38 PM Ryan Dahl

Revert "Check for strings.h"

This reverts commit 032f651824869c429cc24fbd9f7a23e84ed34b1f.

032f6518 05/10/2010 07:30 PM Ryan Dahl

Check for strings.h