Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Sep 30, 2012
  1. Add DEPS file to checkout v8 with gclient.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Commits on Apr 16, 2012
  1. Full implement the ReadFile() function.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Commits on Sep 11, 2011
  1. Don't forget to close the file.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  2. Back to the beginning of the file after getting its size.

    authored
    Rewind resets the file-position indicator in a stream.
    
    And it's equivalent to:
    fseek(file, 0L, SEEK_SET);
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  3. Get the size of file by calling ftell.

    authored
    ftell returns a file offset in a stream. So it obtains the current value of
    the file-position indicator for the stream measured in bytes from the
    beginning of the file. Sice we are at the end of the file (SEEK_END) we get
    the size of the whole file.
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  4. Go to the end of file.

    authored
    fseek set the file-position indicator for the stream pointed to by |file|.
    Thus the specified point is the end-of-file for SEEK_END.
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  5. Initial and basic implementation of ReadFile() function.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Commits on Sep 10, 2011
  1. Limit the time shell's input strings stay alive.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Commits on Sep 7, 2011
  1. Do not initialize handles through assignment ctor.

    authored
    I prefer to use the explicit constructor for stack allocated objects.
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Commits on Sep 5, 2011
  1. Bind the 'print' function to the C++ Print function.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Commits on Sep 4, 2011
  1. Bind the 'quit' function to the C++ Quit function.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  2. Add a couple of assertions.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  3. Report errors that happened during execution.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  4. Report errors that happened during compilation.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  5. Copy ReportException() function from v8 source code.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  6. If the result of the script wasn't empty and not undefined then print…

    authored
    … the returned value.
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  7. Run the script if it isn't empty.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Commits on Sep 3, 2011
  1. Compile the script in ExecuteString().

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  2. Add a stub ExecuteString() function.

    authored
    And call it in the while loop. Currently it does nothing.
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  3. Call CreateShellContext() in main() function.

    authored
    The next step is implementing ExecuteString(), so v8 can compile and run
    strings typed in the prompt.
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  4. Fit the comment in one line.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  5. Add CreateShellContext() and Version() functions.

    authored
    They will be used later.
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Commits on Sep 2, 2011
  1. Print the version of V8 when the shell console starts.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  2. Add a very basic shell.

    authored
    It does nothing yet, just presents you a prompt.
    
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  3. Pass -k and -j4 to scons.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
  4. Initial commit.

    authored
    Signed-off-by: Thiago Farina <tfarina@chromium.org>
Something went wrong with that request. Please try again.