Git Product home page Git Product logo

kolombet / redtamarin Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 62.27 MB

Automatically exported from code.google.com/p/redtamarin

License: Other

ActionScript 44.82% JavaScript 0.69% C++ 41.33% Makefile 0.19% Python 3.23% HTML 1.04% CSS 0.01% ColdFusion 0.01% Shell 1.64% Batchfile 0.01% Assembly 1.15% Java 2.44% C 2.36% Erlang 0.54% CMake 0.03% LLVM 0.01% Scheme 0.01% Hack 0.03% Groff 0.48% Perl 0.01%

redtamarin's Introduction

Anurag's GitHub stats

redtamarin's People

Stargazers

 avatar

redtamarin's Issues

crash

Hello,
when i test  this code .

FileSystem.writeByteArray("test.abc", Domain.currentDomain.domainMemory);

I hav the following error

bad 0014Error #1065 null
avmplus crash: exception 0xC0000005 occurred
Writing minidump crash log to avmplusCrash.dmp

Original issue reported on code.google.com by [email protected] on 29 Apr 2011 at 4:06

Attachments:

Implement non-blocking I/O from stdin or console

Currently there is no way to non-blocking reads from the keyboard, such as 
reading single characters as might be required by a game.

System.readLine() is blocking, and requires enter key to be 
System.isStdinEmpty() never goes false if keys are waiting in buffer
System.stdinLength always reports 0 bytes even if keys are in buffer.

Original issue reported on code.google.com by [email protected] on 17 Jul 2011 at 4:53

next redux update notes 1

some notes for when we sync with tamarin-redux again

Original issue reported on code.google.com by zwetan on 2 Jul 2011 at 7:38

add support for purePDF

see

http://www.sephiroth.it/weblog/archives/2010/02/purepdf_a_complete_actionscript_
pdf_l.php

http://code.google.com/p/purepdf/


two reasons:

1) being able to generate PDF server-side is cool
2) because the lib is GPL, you can then release the server-side source code
that act as a service so you don;t have to GPL your client-side code

Original issue reported on code.google.com by zwetan on 25 Apr 2011 at 11:58

some memory leak in Socket class

double check not deleted data

example: in receive()

char *data = new char[foobar]

is not followed by a 

delete [] data;


Original issue reported on code.google.com by zwetan on 6 Mar 2011 at 10:27

create tools

we need tooling to manipulate abc, swf, swc etc.

Original issue reported on code.google.com by zwetan on 26 Apr 2009 at 8:32

implement LocalConnection

allow to connect to a SWF or AIR or anyother
with LocalConnection from a redtamarin exe

Original issue reported on code.google.com by zwetan on 13 Jan 2009 at 1:03

add sysinfo to the samples


add sysinfo.as (from the readme.txt) in the /samples

eg.
sysinfo.as
----
import avmplus.OperatingSystem;

trace( "             OperatingSystem.name = " + OperatingSystem.name );
trace( "         OperatingSystem.username = " + OperatingSystem.username );
trace( "         OperatingSystem.nodename = " + OperatingSystem.nodename );
trace( "         OperatingSystem.hostname = " + OperatingSystem.hostname );
trace( "          OperatingSystem.release = " + OperatingSystem.release );
trace( "          OperatingSystem.version = " + OperatingSystem.version );
trace( "          OperatingSystem.machine = " + OperatingSystem.machine );
trace( "           OperatingSystem.vendor = " + OperatingSystem.vendor );
trace( "       OperatingSystem.vendorName = " + OperatingSystem.vendorName );
trace( "    OperatingSystem.vendorVersion = " + OperatingSystem.vendorVersion );
trace( "OperatingSystem.vendorDescription = " + 
OperatingSystem.vendorDescription );
trace( "         OperatingSystem.codename = " + OperatingSystem.codename );
----

also, spice up the script to detect more stuff

Original issue reported on code.google.com by zwetan on 24 Jul 2011 at 3:24

add support for timeout on Socket

because we use blocking calls we can find ourselves victim of DoS attacks with
- recv/send started but receiving/sending nothing
- recv/send started and receiving/sending too big data

the timeout will apply to all the following blocking methods:

send(), sendBinary(), sendTo(), sendBinaryTo()
and
receive(), receiveAll(), receiveBinary(), receiveBinaryAll(), receiveFrom(), 
receiveBinaryFrom()


Original issue reported on code.google.com by zwetan on 7 Aug 2011 at 12:42

add support for potrace

see

http://wahlers.com.br/claus/blog/as3-bitmap-tracer-vectorizer-as3potrace/

https://github.com/PowerflasherBR/as3potrace

two reasons:

1) being able to generate vector from bitmap server-side is cool
2) because the lib is GPL, you can then release the server-side source code
that act as a service so you don;t have to GPL your client-side code

Original issue reported on code.google.com by zwetan on 25 Apr 2011 at 11:58

add support for Unicode

right now, Unicode or UTF-8 will fail (mainly on WIN32)
or is not guaranteed to work

Original issue reported on code.google.com by zwetan on 23 Jan 2011 at 3:24

Update wiki documentation on how to use flash.utils.byteArray

This code:

import flash.utils.byteArray;

function getChar() {
   if (System.isStdinEmpty())
      return "";
   var stdinData: ByteArray = System.stdinRead(1);

   return String(stdinData[0]);
}


gives this error when compiled in this way:

C:\Projects\tamarin\redtamarin>java -jar l/asc.jar -AS3 -import l/builtin.abc 
-import l/toplevel.abc actionscriptexamples.as

[Compiler] Error #1046: Type was not found or was not a compile-time constant: 
ByteArray.
   actionscriptexamples.as, Ln 232, Col 19:
      var stdinData: ByteArray = System.stdinRead(1);
   ..................^

1 error found


Original issue reported on code.google.com by [email protected] on 17 Jul 2011 at 4:57

OperatingSystem API

add an API for gathering Operating System informations

kind of uname() on steroids

Original issue reported on code.google.com by zwetan on 13 Sep 2010 at 6:13

ReferenceError evaluating redtamarin.version

What steps will reproduce the problem?
1. Download red_0.2.5.0.234.zip
2. Create test.as:

import avmplus.System;
import redtamarin.version;

trace( "hello world" );

trace( "avmplus v" + System.getAvmplusVersion() );
trace( "redtamarin v" +  redtamarin.version );

3. Run buildAndRun.bat test.as

What is the expected output? What do you see instead?

I expect to see:

test.abc, 243 bytes written
hello world
avmplus v1.0 cyclone
redtamarin vXXXXX

but I see:

test.abc, 243 bytes written
hello world
avmplus v1.0 cyclone
ReferenceError: Error #1065

What version of the product are you using? On what operating system?

0.2.5.0.234 on Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 28 Jun 2009 at 12:55

unrecognized version '675' in API metadata

What steps will reproduce the problem?
1.Checkout latest source with gclient
2. try to run builtin.py to build the builtin.abc

What is the expected output? What do you see instead?
The builtin.py should build just fine

What version of the product are you using? On what operating system?
MacOS 10.6.3

Please provide any additional information below.
I am able to get this to compile by removing -apiversioning in builtin.py, but 
I get other errors that at runtime

Original issue reported on code.google.com by [email protected] on 31 Dec 2010 at 2:13

sample code

add different sample code

Original issue reported on code.google.com by zwetan on 13 Sep 2010 at 6:29

Remove the trace in System.eval()

Could you remove the trace when calling System.eval() and rather make the 
function return that object?
Just to clean up the stdout when using System.eval().

Original issue reported on code.google.com by [email protected] on 7 Jun 2011 at 11:19

implement basic reflection utils

Tamarin is cruely lacking any reflection access

we need at least the 3 function from flash.utils.*

public function getDefinitionByName(name:String):Object
can be implemented using the Domain class

public function getQualifiedClassName(value:*):String
and
public function getQualifiedSuperclassName(value:*):String

have to be implemented


ideally we would want also to provide
public function describeType(value:*):XML

Original issue reported on code.google.com by zwetan on 25 Nov 2008 at 9:29

generate SWC automatically

now that we start to have numerous libraries
builtin, clib, redtamarin, avmglue, etc.

we need to generate *.swc in sync with the *.abc

Original issue reported on code.google.com by zwetan on 18 Apr 2011 at 2:14

implement SocketServer

on the same model as flash.net.Socket
provide a SocketServer and be able to listen
for connections


Original issue reported on code.google.com by zwetan on 13 Jan 2009 at 1:07

implement flash.net.SharedObject

allow to read/write to SharedObject files (*.sol)
in the same logic as the flash player / AIR


but without the security limitation

ex:
test.swf hosted on www.domain.com
write into test.sol

allow a redtamarin exe to read and write to the
same *.sol file

Original issue reported on code.google.com by zwetan on 13 Jan 2009 at 1:05

fix flash_proxy namespace


the current namespace is declared like that

public namespace flash_proxy;

and should be declared like this:

public namespace flash_proxy = new Namespace( 
"http://www.adobe.com/2006/actionscript/flash/proxy" );


Original issue reported on code.google.com by zwetan on 21 Jan 2009 at 9:40

FileSystem.exists() fails when testing a directory in 64 bit Windows 7

What steps will reproduce the problem?
1. Check out tools from svn and build with Windows zip
2. Run EclipseExternalTools.exe against a valid workspace directory.
3. EclipseExternalTools.exe fails saying the workspace directory does not exist.

What is the expected output? What do you see instead?
The program should run to completion correctly. Instead it exits saying 
"workspace directory" does not exists.

What version of the product are you using? On what operating system?
Version 0.4 against 64 bit Windows 7.

Please provide any additional information below.
I deleted all parts of EclipseExternalTools.as that used FileSystem.exists(), 
re-ran ant and ran the executable again and it created the files just fine.

Looking at the C++ source, the test consists of a fp->open() call. I haven't 
delved deep down into what the Platform class does, but typically one can test 
for the existence of a directory in Unix via fopen, but the same cannot be done 
in Windows. One must open it as a directory instead. This may therefore be a 
pointer to the problem.

Original issue reported on code.google.com by [email protected] on 24 Feb 2011 at 9:39

re-add getClassByName to anonymous package

because we wanted to move most of the toplevel stuff to flash.* package
we moved getClassByName to flash.utils.*

but we need to keep it at the toplevel for when we load *.as file
or when we use the -repl mode of the redshell

eg.
{{{
$ ./redshell -repl
avmplus interactive shell
Type '?' for help

> var sys:Class = getClassByName( "avmplus.System" );
[class System]
> trace( sys.apiVersion );
673
> trace( sys.apiAlias );
AIR_2_7
> .quit

}}}


Original issue reported on code.google.com by zwetan on 20 Apr 2011 at 1:12

sync with last Tamarin-central

very important as it allows to use also *.swf from the shell

Original issue reported on code.google.com by zwetan on 26 Apr 2009 at 8:27

Compile fails on Ubuntu 10.10

What steps will reproduce the problem?
1. compile redtamarin with ant -Dsetup=debug

What is the expected output? What do you see instead?
I expect the compile to complete without errors, but the compile fails.

What version of the product are you using? On what operating system?
Latest trunk, Ubuntu 10.10

Please provide any additional information below.
I fixed these issues by adding some extra includes, copied some lines from 
mac-platform2.h to unix-platform2.h . The patch is included below.

The new lines for VMPI_getpid, VMPI_popen and VMPI_pclose are certainly in the 
right place. I'm not sure if the three includes (locale, sys/utsname.h and 
sys/statvfs.h are included in the right place).




Original issue reported on code.google.com by [email protected] on 24 Jan 2011 at 10:39

Attachments:

compiled version for windows mobile

Hello !
It will be very fun if you can compile redtamarin for windows mobile, with this 
i could gain the hability to code on my phone witch can be very cool !

Original issue reported on code.google.com by [email protected] on 30 Apr 2011 at 2:04

add InvalidABCError

flash player define InvalidSWFError
and we should probably define a InvalidABCError

Original issue reported on code.google.com by zwetan on 2 Dec 2008 at 1:54

implement events

implement the full event stacks based on W3C

goal:
have the same event system than Flash/AIR

but also allow to add a little more

Original issue reported on code.google.com by zwetan on 25 Nov 2008 at 9:35

implement flash.net.Socket

mimic the APi of flash.net.Socket
without the security limitation

eg> being able to connect anywhere, any ports, etc.

Original issue reported on code.google.com by zwetan on 13 Jan 2009 at 1:06

Filesystem API

copy the one from AIR

but keep things low-level

Original issue reported on code.google.com by zwetan on 26 Apr 2009 at 8:28

implement Proxy

implement the logic of the Proxy class

in AS3 and native code

Original issue reported on code.google.com by zwetan on 23 Jan 2011 at 1:01

add support for MongoDB


see

http://www.mongodb.org/display/DOCS/Overview+-+Writing+Drivers+and+Tools

http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol

http://www.mongodb.org/display/DOCS/Mongo+Driver+Requirements

http://www.mongodb.org/display/DOCS/BSON


also see

https://github.com/argoncloud

Original issue reported on code.google.com by zwetan on 21 Jan 2011 at 4:12

Socket API

Add support for sockets

stream, datagram, datagram broadcast
client, server

Original issue reported on code.google.com by zwetan on 13 Sep 2010 at 6:15

stdin under WIN32

binaries does not work well with stdin under win32

try something like

$ type file.bin | redshell.exe test_io.abc

or

$ cat file.bin | ./redshell test_io.abc

and the stdin break before the EOF

Original issue reported on code.google.com by zwetan on 23 Jan 2011 at 12:56

test avmglue.abc


one of the goal of redtamarin is to be able to run
AS3 code wrote for Flash/Flex but on the command line

you would not be able to use a Sprite class

but it would be nice to be able to compile
against playerglobal.abc and airglobal.abc

and have the compilation pass

right now the problem is an error message
on ByteArray etc. about circular dependency

Original issue reported on code.google.com by zwetan on 25 Nov 2008 at 9:40

System.exec not found

because exec is not declared static we can not call `System.exec()`

Original issue reported on code.google.com by zwetan on 18 Apr 2011 at 2:10

locales

the OperatingSystem language, country, locale, etc.
is not exactly the same on different OS

ex:

Mac OS X
 - en
 - GB
 - en_GB

Windows XP
 - English
 - United States
 - English_United States

Original issue reported on code.google.com by zwetan on 23 Jan 2011 at 1:09

fix Domain class

the Domain class use a reference to avmplus.FIle which not used anymore

update it to use avmplus.FileSystem

http://code.google.com/p/redtamarin/source/browse/trunk/shell/Domain.as

eg.

Original issue reported on code.google.com by zwetan on 7 Jun 2011 at 2:17

exe projector odes not execute from $PATH

What steps will reproduce the problem?
1. compile a script to a projector
    for ex:
    $ java -jar asc.jar -AS3 -strict -import biltin.abc -import toplevel.abc -exe redshell sysinfo.as
2. move the projector to something accessible from $PATH
    eg.
    export PATH=/Users/zwetan/scripts:$PATH
3. go to the root directory and call the exe
   $ cd /
   $ sysinfo


What is the expected output?

run the sysinfo exe


What do you see instead?

the redshell usage/help output



Original issue reported on code.google.com by zwetan on 28 Oct 2011 at 1:31

implement additional errors

try to implement all from falsh.errors.*

Original issue reported on code.google.com by zwetan on 25 Nov 2008 at 9:32

organize classes

we have 2 types of AS3 classes

- dependant on C/C++ native function
- full AS3 implementation

the later shoudl be defined in the /AS3 directory

Original issue reported on code.google.com by zwetan on 25 Nov 2008 at 9:37

Running Windows .EXE is incorrectly requiring .EXE to be specified on commandline

If an .EXE for Windows 7 is compiled with redtamarin, it can not be run by 
specifying the executable name without the .exe extension.  If .EXE is 
ommitted, then an avmplus splash screen is displayed, instead of running the 
actionscript.

Most programs can be run under windows dos prompt without specifying the .EXE 
extension.


Example:
> C:\Projects\tamarin\redtamarin>java -jar l/asc.jar -AS3 -import
> l/builtin.abc -import l/toplevel.abc -exe l/redshell.exe sysinfo.as
>
> sysinfo.abc, 914 bytes written
> sysinfo.exe, 957338 bytes written
>
> C:\Projects\tamarin\redtamarin>sysinfo
> You must provide input files, -repl, or -Dselftest, or the executable must
> be a projector file.
> avmplus shell 1.4 release build cyclone
> usage: avmplus
(etc.)

Running with .exe runs the actionscript:

C:\Projects\tamarin\redtamarin>sysinfo.exe
             OperatingSystem.name = Win32
         OperatingSystem.username = Garnet
         OperatingSystem.nodename = ENVY17SPIDER
         OperatingSystem.hostname = Envy17Spider
          OperatingSystem.release = 6.1 build 7601
          OperatingSystem.version = Windows 7 Home Premium Edition Service Pack 1
          OperatingSystem.machine = i686
           OperatingSystem.vendor = Microsoft
       OperatingSystem.vendorName = Windows 7
    OperatingSystem.vendorVersion = 6.1.1
OperatingSystem.vendorDescription = Microsoft Windows 7 Home Premium Edition 
Service Pack 1 (Vienna 6.1 build 7601)


Original issue reported on code.google.com by [email protected] on 17 Jul 2011 at 5:02

Cannot build redtamarin by downloading latest source code

Hi 

I am trying to get latest redshell,toplevel.abc,buildin.abc but found old 
release. 

So I have downloaded source and followed instruction given at following link

http://code.google.com/p/redtamarin/wiki/Organization

But I am getting many build errors.

thx
glade

Original issue reported on code.google.com by [email protected] on 28 Sep 2011 at 12:16

we need a load() function to load external ABC files

it could look something like that

    /* note:
       load an external library into memory

       A valid library has the extension ".abc"
       if you provide "test" (a name without extension), we will search automatically for "test.abc"
       if you provide any other extension a warning message will display and the loading stop

       When looking for a library a certain order is followed
       if you provide an absolute path like "/var/lib/mystuff/test.abc"
       we test for the existence fo the file and if it exists we load it
       if it does not exists, we display a warning and the loading stop

       if you provide a relative path like "test.abc"
       - first we search "test.abc" in the current directory
       - then we search "test.abc" in the startup directory
       - then we search "test.abc" in the REDTAMARINHOME/lib directory
       - if REDTAMARINPATH exists we search in each directories contained in REDTAMARINPATH

    */
    public function loadLibrary( name:String, domain:Domain = null  ):void
    {
        var ext:String = FileSystem.getExtension( name );

        if( ext != "abc" )
        {
            trace( "\""+name+"\" is not a valid library, extension should be 'abc' not '"+ext+"'" );
            return;
        }

        if( ext == "" )
        {
            name += ".abc"; //we automatically add the extension if not found
        }

        if( !FileSystem.isAbsolutePath( name ) )
        {
            if( !FileSystem.exists( name ) )
            {
                trace( "\""+name+"\" could not be found on the file system." );
                return;
            }
        }
        else
        {
            var i:uint;
            var paths:Array = [];
                paths.push( name );
                paths.push( FileSystem.absolutePath(name) );
                paths.push( FileSystem.ensureEndsWithSeparator(System.workingDirectory) + name );
                paths.push( FileSystem.ensureEndsWithSeparator(System.startupDirectory) + name );

            var home:String = getenv( "REDTAMARINHOME" );
            if( home != "" )
            {
                home = FileSystem.ensureEndsWithSeparator(home) + "lib";
                paths.push( FileSystem.ensureEndsWithSeparator(home) + name );
            }

            var path:String = getenv( "REDTAMARINPATH" );
            if( path != "" )
            {
                var pathsep:String = FileSystem.pathSeparator;
                var morepaths:Array = path.split( pathsep );
                for( i=0; i<morepaths.length; i++ )
                {
                    paths.push( FileSystem.ensureEndsWithSeparator( morepaths[i] ) + name );
                }
            }

            trace( "DEBUG - all search path for library" );
            trace( paths.join( "\n" ) );
            for( i=0; i<paths.length; i++ )
            {
                name = paths[i];
                trace( "DEBUG - test path: " + name );
                if( FileSystem.exists( name ) )
                {
                    break; //found a valid path
                }
            }
        }

        if( !domain )
        {
            domain = Domain.currentDomain;
        }

        trace( "DEBUG - loading library from \"" + name + "\"" )
        domain.load( name );
    }


why ?

when you use redtamarin server side (as CGI or HTTP server or other)
if you execute script files it would be a nicea feature to be able to load
libraries "on the fly"

but the problem is more complicated then that, we need to get some inspiration
on how to deal with environment variables like what Python does

http://docs.python.org/using/cmdline.html

ideally a loadLibrary() should work like an import statement
but be smart enough to be able to search in different directories to find this 
library

for ex:
loadLibrary( "cgilib.abc" )

if your script is run from
/cgi-bin/test.as3

the script should look first in
/cgi-bin/lib/cgilib.abc

if not found, then in
/usr/local/redtamarin/lib/cgilib.abc
or
/usr/share/redtamarin-0.3.2/lib/cgilib.abc

if not found, then in
/home/vhosts/redtamarin/lib/cgilib.abc

etc. etc.

for this to work we need to define env var like
REDTAMARINHOME and REDTAMARINPATH (maybe others ?)

and need to decide who is responsible to define those variables,
the user ? an install program ? other ?


Original issue reported on code.google.com by zwetan on 25 Sep 2011 at 1:31

Redshell NIX version doesn't work on CENTOS

What steps will reproduce the problem?
1. Download latest NIX version from downloads
2. Compile abc code using jar
3. Try to run the abc code using redshell 
4.  VerifyError: Error #1079: Native methods are not allowed in loaded code.
5.

What is the expected output? What do you see instead?
Hello username: vcutten

What version of the product are you using? On what operating system?
redtamarin_0.3.1.1049_NIX.zip   
CentOS release 5.2 (Final)
x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 3:01

system info

implement more properties in flash.system::Capabilities

Original issue reported on code.google.com by zwetan on 25 Nov 2008 at 9:33

OperatingSystem _parseLinuxReleaseFile() faill on CentOS

if the _parseLinuxReleaseFile() fail
the whole script returns

{{{
TypeError: Error #1010: A term is undefined and has no properties.
        at avmplus::OperatingSystem$/_parseLinuxReleaseFile()
        at avmplus::OperatingSystem$/getVendorDescriptionLinux()
        at avmplus::OperatingSystem$/getVendorDescriptionAll()
        at avmplus::OperatingSystem$/get vendorDescription()
        at avmplus.profiles::RedTamarinProfile/_ctor()
        at avmplus.profiles::RedTamarinProfile()
        at global$init()
        at global$init()
}}}


here what happen:

by default toplevel will run
{{{
System.profile = new RedTamarinProfile();
}}}

RedTamarinProfile call
{{{
_manufacturer         = OperatingSystem.vendor;
}}}

here when _parseLinuxReleaseFile() execute
if it fails, nothing will be able to run

we need to do different thing

1) we need to lazy init System.profile

toplevel shoudl NOT initialize it
but instead avmplus::System should do that

http://code.google.com/p/maashaack/source/browse/platform/shell/trunk/src/avmplu
s/System.as
{{{
        public static function get profile():Profile
        {
            if( _profile ) return _profile;

            var defaultProfile:Class = getClassByName( "avmplus.profiles.RedTamarinProfile" );

            if( defaultProfile )
            {
                _profile = new defaultProfile();
            }
        }
}}}

2) we should catch errors in _parseLinuxReleaseFile()

http://code.google.com/p/maashaack/source/browse/platform/shell/trunk/src/avmplu
s/OperatingSystem.as
{{{
        private static function _parseLinuxReleaseFile():void
        {
            var filename:String;
            var file:String;
            var i:uint;

            for( i=0; i<_linuxReleaseFiles.length; i++ )
            {
                filename = _linuxReleaseFiles[i];
                if( FileSystem.exists( filename ) )
                {
                    file = FileSystem.read( filename );
                    break;
                }
            }

            if( file )
            {
                /* note:
                   OK, here we assume a little too much
                   - line separator always "\n"
                   - lines always in the same order

                   tested and working on Ubuntu
                   but come back here later and improve the parsing
                */
                try
                {
                    var lines:Array          = file.split( "\n" );
                    _linuxDistribID          = lines[0].split( "=" )[1];
                    _linuxDistribRelease     = lines[1].split( "=" )[1];
                    _linuxDistribCodename    = lines[2].split( "=" )[1];
                    _linuxDistribDescription = lines[3].split( "=" )[1];

                    if( _linuxDistribDescription.indexOf( "\"" ) > -1 )
                    {
                        _linuxDistribDescription = _linuxDistribDescription.split( "\"" ).join( "" );
                    }
                }
                catch( e:Error )
                {
                    //do something here
                }
            }
            else
            {
                //set defaults if filename not found
                _linuxDistribID          = name;
                _linuxDistribRelease     = release;
                _linuxDistribCodename    = UNKNOWN;
                _linuxDistribDescription = "";
            }

        }
}}}




Original issue reported on code.google.com by zwetan on 24 Jul 2011 at 8:38

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.