-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98011bd
commit ac94d4f
Showing
347 changed files
with
99,527 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,237 @@ | ||
--[[ ZeroBrane Studio License ]]------------------------------------------- | ||
|
||
ZeroBrane Studio sources are released under the MIT License | ||
|
||
Copyright (c) 2011-2015 Paul Kulchenko (paul@kulchenko.com) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
--[[ Estrela Editor License ]]--------------------------------------------- | ||
|
||
Estrela Editor sources are released under the MIT License | ||
|
||
Copyright (c) 2008-2012 | ||
Luxinia DevTeam: | ||
Christoph Kubisch & Eike Decker | ||
info at luxinia.de | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
--[[ wxLua License ]]------------------------------------------------------ | ||
|
||
http://wxlua.sourceforge.net/ | ||
|
||
Pre-Built binaries for wxLua/WxWindows | ||
|
||
Original wxLua Lua sample IDE: | ||
Lomtick Software | ||
J. Winwood & John Labenski | ||
luascript at thersgb.net | ||
|
||
wxLua is based on | ||
wxWindows Library License, Version 3 | ||
|
||
Copyright (c) 1998 Julian Smart, Robert Roebling et al | ||
|
||
Everyone is permitted to copy and distribute verbatim copies | ||
of this licence document, but changing it is not allowed. | ||
|
||
WXWINDOWS LIBRARY LICENCE | ||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
|
||
This library is free software; you can redistribute it and/or modify it | ||
under the terms of the GNU Library General Public Licence as published by | ||
the Free Software Foundation; either version 2 of the Licence, or (at | ||
your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library | ||
General Public Licence for more details. | ||
|
||
You should have received a copy of the GNU Library General Public Licence | ||
along with this software, usually in a file named COPYING.LIB. If not, | ||
write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, | ||
Boston, MA 02111-1307 USA. | ||
|
||
EXCEPTION NOTICE | ||
|
||
1. As a special exception, the copyright holders of this library give | ||
permission for additional uses of the text contained in this release of | ||
the library as licenced under the wxWindows Library Licence, applying | ||
either version 3 of the Licence, or (at your option) any later version of | ||
the Licence as published by the copyright holders of version 3 of the | ||
Licence document. | ||
|
||
2. The exception is that you may use, copy, link, modify and distribute | ||
under the user's own terms, binary object code versions of works based | ||
on the Library. | ||
|
||
3. If you copy code from files distributed under the terms of the GNU | ||
General Public Licence or the GNU Library General Public Licence into a | ||
copy of this library, as this licence permits, the exception does not | ||
apply to the code that you add in this way. To avoid misleading anyone as | ||
to the status of such modified files, you must delete this exception | ||
notice from such code and/or adjust the licensing conditions notice | ||
accordingly. | ||
|
||
4. If you write modifications of your own for this library, it is your | ||
choice whether to permit this exception to apply to your modifications. | ||
If you do not wish that, you must delete the exception notice from such | ||
code and/or adjust the licensing conditions notice accordingly. | ||
|
||
--[[ Lua License ]]-------------------------------------------------------- | ||
|
||
Copyright: © 1994-2006 Lua.org, PUC-Rio. | ||
Homepage: http://www.lua.org | ||
License: http://www.lua.org/copyright.html | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||
of the Software, and to permit persons to whom the Software is furnished to do | ||
so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
--[[ LuaSockets License ]]------------------------------------------------- | ||
|
||
Copyright: © 2004-2006 Diego Nehab. All rights reserved. | ||
Homepage: http://www.cs.princeton.edu/~diego/professional/luasocket/ | ||
License: http://www.lua.org/copyright.html (same as LUA) | ||
|
||
--[[ Serpent License ]]---------------------------------------------------- | ||
|
||
Copyright (c) 2011-2013 Paul Kulchenko (paul@kulchenko.com) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
--[[ LuaJIT License ]]----------------------------------------------------- | ||
|
||
Copyright © 2005-2013 Mike Pall, released under the MIT open source license. | ||
|
||
--[[ WinAPI License ]]----------------------------------------------------- | ||
|
||
Copyright (C) 2011 Steve Donovan. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
--[[ MobDebug License ]]--------------------------------------------------- | ||
|
||
MobDebug sources are released under the MIT License | ||
|
||
Copyright (c) 2011-2012 Paul Kulchenko (paul@kulchenko.com) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
--[[ RemDebug License ]]--------------------------------------------------- | ||
|
||
Copyright (c) 2006 The Kepler Project. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# Project Description | ||
|
||
[ZeroBrane Studio](http://studio.zerobrane.com/) is a lightweight cross-platform Lua IDE with code completion, | ||
syntax highlighting, remote debugger, code analyzer, live coding, | ||
and debugging support for several Lua engines | ||
([Lua 5.1](http://studio.zerobrane.com/doc-lua-debugging), | ||
[Lua 5.2](http://studio.zerobrane.com/doc-lua52-debugging), | ||
[Lua 5.3](http://studio.zerobrane.com/doc-lua53-debugging), | ||
[LuaJIT](http://studio.zerobrane.com/doc-luajit-debugging), | ||
[Löve 2D](http://notebook.kulchenko.com/zerobrane/love2d-debugging), | ||
[Moai](http://notebook.kulchenko.com/zerobrane/moai-debugging-with-zerobrane-studio), | ||
[Gideros](http://notebook.kulchenko.com/zerobrane/gideros-debugging-with-zerobrane-studio-ide), | ||
[Corona](http://notebook.kulchenko.com/zerobrane/debugging-and-live-coding-with-corona-sdk-applications-and-zerobrane-studio), | ||
[Marmalade Quick](http://notebook.kulchenko.com/zerobrane/marmalade-quick-debugging-with-zerobrane-studio), | ||
[Cocos2d-x](http://notebook.kulchenko.com/zerobrane/cocos2d-x-simulator-and-on-device-debugging-with-zerobrane-studio), | ||
[GSL-shell](http://notebook.kulchenko.com/zerobrane/gsl-shell-debugging-with-zerobrane-studio), | ||
[Adobe Lightroom](http://notebook.kulchenko.com/zerobrane/debugging-lightroom-plugins-zerobrane-studio-ide), | ||
[OpenResty/Nginx](http://notebook.kulchenko.com/zerobrane/debugging-openresty-nginx-lua-scripts-with-zerobrane-studio), | ||
[Lapis](http://notebook.kulchenko.com/zerobrane/lapis-debugging-with-zerobrane-studio), | ||
[Moonscript](http://notebook.kulchenko.com/zerobrane/moonscript-debugging-with-zerobrane-studio), | ||
and others). It originated from the [Estrela Editor](http://www.luxinia.de/index.php/Estrela/). | ||
|
||
![ZeroBrane Studio debugger screenshot](http://studio.zerobrane.com/images/debugging.png) | ||
|
||
## Features | ||
|
||
* Written in Lua, so easily customizable. | ||
* Small, portable, and cross-platform (Windows, Mac OSX, and Linux). | ||
* Auto-completion for functions, keywords, and custom APIs. | ||
* Interactive console to directly test code snippets with local and remote execution. | ||
* Integrated debugger with local and [remote debugging](http://studio.zerobrane.com/doc-remote-debugging) | ||
for [Lua 5.1](http://studio.zerobrane.com/doc-lua-debugging), | ||
[Lua 5.2](http://studio.zerobrane.com/doc-lua52-debugging), | ||
[Lua 5.3](http://studio.zerobrane.com/doc-lua53-debugging), | ||
[LuaJIT](http://studio.zerobrane.com/doc-luajit-debugging), | ||
and [other Lua engines](http://studio.zerobrane.com/documentation#debugging). | ||
* [Live coding](http://studio.zerobrane.com/documentation#live_coding) | ||
with [Lua](http://notebook.kulchenko.com/zerobrane/live-coding-in-lua-bret-victor-style), | ||
[Löve 2D](http://notebook.kulchenko.com/zerobrane/live-coding-with-love), | ||
[Gideros](http://notebook.kulchenko.com/zerobrane/gideros-live-coding-with-zerobrane-studio-ide), | ||
[Moai](http://notebook.kulchenko.com/zerobrane/live-coding-with-moai-and-zerobrane-studio), | ||
[Corona SDK](http://notebook.kulchenko.com/zerobrane/debugging-and-live-coding-with-corona-sdk-applications-and-zerobrane-studio), | ||
GSL-shell, and other engines. | ||
* Function outline. | ||
* Fuzzy search with `Go To File`, `Go To Symbol`, and `Insert Library Function`. | ||
* Several ways to extend the current functionality: | ||
- specs (`spec/`): specifications for file syntax, lexer, and keywords; | ||
- apis (`api/`): descriptions for [code completion and tooltips](http://studio.zerobrane.com/doc-api-auto-complete); | ||
- interpreters (`interpreters/`): components for setting debugging and run-time project environment; | ||
- packages (`packages/`): [plugins](http://studio.zerobrane.com/doc-plugin) that provide additional functionality; | ||
- config (`cfg/`): settings for styles, color themes, and other preferences; | ||
- translations (`cfg/i18n/`): [translations](http://studio.zerobrane.com/doc-translation) of the menus and messages to other languages; | ||
- tools (`tools/`): additional tools. | ||
|
||
## Documentation | ||
|
||
* A [short and simple overview](http://studio.zerobrane.com/doc-getting-started) for those who are new to this development environment. | ||
* A list of [frequently asked questions](http://studio.zerobrane.com/doc-faq) about the IDE. | ||
* [Tutorials and demos](http://studio.zerobrane.com/tutorials) that cover debugging and live coding for different environments. | ||
* [Tips and tricks](http://studio.zerobrane.com/doc-tips-and-tricks). | ||
|
||
## Installation | ||
|
||
ZeroBrane Studio can be installed into and run from any folder. | ||
No compilation is needed, although the scripts to compile required libraries for Windows, OSX, and Linux platforms are available in the `build/` folder. | ||
|
||
## Usage | ||
|
||
``` | ||
Open file(s): | ||
zbstudio [option] [<project directory>] <filename> [<filename>...] | ||
non-options are treated as a project directory to set or a file to open | ||
Set project directory: | ||
zbstudio <project directory> [<filename>...] | ||
(0.39+) a directory passed as a parameter will be set as the project directory | ||
Override default configuration: | ||
zbstudio -cfg "<luacode overriding config>" [<filename>] | ||
e.g.: zbstudio -cfg "editor.fontsize=12" somefile.lua | ||
Load custom configuration: | ||
zbstudio -cfg path/file.lua [<filename>] | ||
e.g.: zbstudio -cfg cfg/estrela.lua | ||
``` | ||
|
||
If you are loading a file, you can also request the cursor to be set on a particular line or at a particular position by using `filename:<line>` and `filename:p<pos>` syntax (0.71+). | ||
|
||
## Contributing | ||
|
||
See [CONTRIBUTING](CONTRIBUTING.md). | ||
|
||
## Author | ||
|
||
### ZeroBrane Studio and MobDebug | ||
|
||
**ZeroBrane LLC:** Paul Kulchenko (paul@kulchenko.com) | ||
|
||
### Estrela Editor | ||
|
||
**Luxinia Dev:** Christoph Kubisch (crazybutcher@luxinia.de) | ||
|
||
## Where is Estrela? | ||
|
||
The projects have been merged and ZeroBrane Studio will lead the future. | ||
Please reassociate files with ZeroBrane Studio. To keep your history of files | ||
and projects copy the contents of the `EstrelaEditor.ini` in your HOME | ||
directory to `ZeroBraneStudio.ini`. If you have used Estrela for graphics | ||
shader authoring or luxinia, create/modify the `cfg/user.lua` to include the | ||
content of `cfg/estrela.lua` to load all tools and specifications by default | ||
again. | ||
|
||
## License | ||
|
||
See [LICENSE](LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This directory contains API definitions. | ||
|
||
An API definition is a set of functions that are used | ||
for displaying tooltip information on function calls or | ||
autocomplete information. | ||
|
Oops, something went wrong.