Compare commits

...

1691 Commits
0.40 ... 1.40

Author SHA1 Message Date
Paul Kulchenko
7356d631c5 Updated documentation for 1.40. 2016-08-26 09:28:51 -07:00
Paul Kulchenko
245170ae46 Added licenses for lpeg, lfs, luasec, and openSSL. 2016-08-26 09:28:51 -07:00
Paul Kulchenko
8b1846e316 Updated CHANGELOG with recent changes. 2016-08-25 14:16:04 -07:00
Paul Kulchenko
035464aa6c Merge branch 'wxwidgets31x-upgrade' 2016-08-25 00:11:08 -07:00
Paul Kulchenko
fefe7974eb Fixed setting 'enabled' status for items in popup menus on Linux. 2016-08-24 16:40:02 -07:00
Paul Kulchenko
50f80cc74a Added collapsing expanded nodes on LEFT key in tree controls on Linux (#686). 2016-08-24 16:40:01 -07:00
Paul Kulchenko
54ce4ac7d8 Added reference to a related wxwidgets ticket to MacOpenFiles workaround (#248, #260). 2016-08-24 16:40:00 -07:00
Paul Kulchenko
754adf0616 Added tests for included modules with various Lua interpreters (#260). 2016-08-24 16:40:00 -07:00
Paul Kulchenko
e96760eac9 Upgraded binaries to wxwidgets 3.1.1 (#260).
wxwidgets (https://github.com/pkulchenko/wxwidgets) at 7d9d5934
wxlua (https://github.com/pkulchenko/wxlua/tree/wxwidgets311) at 430e8e3e
2016-08-24 16:39:48 -07:00
Paul Kulchenko
45628adc42 Updated build scripts to build all components when all parameter is specified (#260). 2016-08-23 15:46:28 -07:00
Paul Kulchenko
75c40ddfb9 Added luasec 0.6 with openssl 1.0.2h binaries (#260).
OpenSSL binaries are included on windows only and are shared between
different Lua versions.

`ssl` module is patched to enforce included OpenSSL libraries to be loaded,
as loading other OpenSSL libraries that can be present may lead to crashes
in the application when those libraries are unloaded.
2016-08-23 15:46:27 -07:00
Paul Kulchenko
625c57703d Added lpeg 1.0 build files and binaries (#260). 2016-08-23 15:46:26 -07:00
Paul Kulchenko
56d8589d43 Added lfs 1.6.3 build files and binaries (#260, #566). 2016-08-23 15:46:25 -07:00
Paul Kulchenko
cb376c4938 Updated tracking file system changes to only refresh expanded directories in the file tree (#260). 2016-08-23 15:46:25 -07:00
Paul Kulchenko
0d3244c120 Added onFiletreeExpand and onFiletreeCollapse events and their Pre* counterparts (#166). 2016-08-23 15:46:24 -07:00
Paul Kulchenko
5d04a6a2f9 Updated opening on drag-n-drop on OSX to work around unnecessary call (#248, #260). 2016-08-23 15:46:23 -07:00
Paul Kulchenko
45a36c4b8c Updated function name in the windows launcher with formatting fixes (no binary update needed). 2016-08-23 15:46:23 -07:00
Paul Kulchenko
a394098c3b Added tracking file system changes in the project tree to auto-refresh it (#260). 2016-08-23 15:46:22 -07:00
Paul Kulchenko
d0943e77e7 Added opening files on drag-n-drop on Linux (closes #177). 2016-08-23 15:46:21 -07:00
Paul Kulchenko
f0ff325cf7 Updated luajit binaries and build scripts to use v2.0.4 (#260).
luajit (https://github.com/pkulchenko/luajit/) at v2.0.4
2016-08-23 15:46:21 -07:00
Paul Kulchenko
c3be162430 Added opening files on drag-n-drop on dock icon on OSX (closes #248, #260). 2016-08-23 15:46:19 -07:00
Paul Kulchenko
eb4ccae662 Added NO_CXX11_REGEX to Windows build script for compilers that don't fully implement C++11.
CXX11_REGEX is enabled by default in Scintilla 3.6.6+, so need to disable it.
2016-08-23 15:46:19 -07:00
Paul Kulchenko
7652b00403 Updated Windows build script to support wxlua builds for Lua 5.2 and 5.3. 2016-08-23 15:46:18 -07:00
Paul Kulchenko
fe17c8b156 Updated Windows launcher to add description and fix loading of Unicode parameters (#663, #260). 2016-08-23 15:46:18 -07:00
Paul Kulchenko
14cf06a67d Updated lua52 and lua53 executable to add hidpi support manifest (#260). 2016-08-23 15:46:17 -07:00
Paul Kulchenko
f5f8a5a522 Added test for new indicator in wxwidgets upgrade to 3.1.x (#260). 2016-08-23 15:46:16 -07:00
Paul Kulchenko
4e8ed47617 Updated lua executable to a generic one to simplify lua dll changes (#260). 2016-08-23 15:46:16 -07:00
Paul Kulchenko
c4f512d500 Updated OSX manifest to include NSHighResolutionCapable (#260). 2016-08-23 15:46:15 -07:00
Paul Kulchenko
e1f256d03d Removed setting hidpi on OSX as it's now included by default (#260). 2016-08-23 15:46:15 -07:00
Paul Kulchenko
c63230f6a7 Updated path handling to allow loading of wxlua from launched apps (#260). 2016-08-23 15:46:14 -07:00
Paul Kulchenko
cbcf266562 Moved wxlua binaries to clibs/ folder (#260). 2016-08-23 15:46:13 -07:00
Paul Kulchenko
0d0ff72eee Updated initial path handling to allow loading wxlua from clibs/ (#260). 2016-08-23 15:46:06 -07:00
Paul Kulchenko
37ae527b2c Updated package event messages to be marked as errors. 2016-08-23 13:52:37 -07:00
Paul Kulchenko
7d4dbc8b85 Updated output messages to add markers to the first instead of the last line. 2016-08-23 13:52:37 -07:00
Paul Kulchenko
4665aef666 Updated error reporting on failure to stop process to check for process id. 2016-08-23 13:52:36 -07:00
Paul Kulchenko
a50fefab86 Disabled error popup on failure to stop process (as it's reported in the Output window). 2016-08-23 13:52:35 -07:00
Paul Kulchenko
fb7da1a9bf Improved activation in debugger when the starting file is specified. 2016-08-23 13:52:29 -07:00
Paul Kulchenko
a3319ad02b Fixed setting options to the correct debugger instance. 2016-08-22 22:25:43 -07:00
olueiro
55afbde408 Update pt-br.lua 2016-08-22 16:45:53 -03:00
Paul Kulchenko
c944cbaba1 Allowed packages registered from config files (using package {}) to load/save settings. 2016-08-16 19:28:32 -07:00
Paul Kulchenko
17eaa07c01 Removed unused variables based on static analysis. 2016-08-13 09:37:48 -07:00
Paul Kulchenko
cf23a35f1d Updated CHANGELOG with recent changes. 2016-08-11 21:12:16 -07:00
Paul Kulchenko
ffb9aacee7 Updated tests to stop when files with tests failed to load/execute. 2016-08-08 20:28:25 -07:00
Paul Kulchenko
d44a475371 Upgraded Mobdebug (0.64) to improve error checking after OUTPUT command. 2016-08-08 17:20:42 -07:00
Paul Kulchenko
55764f0ab6 Added slight improvement for Ctrl-Tab workaround on OSX.
This helps in the case when the focus jumps from one of the tabs to a
different component.

The workaround still fails in some cases when the focus on the current tab
doesn't change.
2016-08-05 08:38:59 -07:00
Paul Kulchenko
16e2c97182 Improved the fix to avoid duplicate lines in the editor on OSX (follow-up to 9344280d). 2016-08-04 15:52:57 -07:00
Paul Kulchenko
bcfa2081cd Fixed syntax error in de translation (#682, #70). 2016-08-03 20:37:43 -07:00
Paul Kulchenko
2a6f0c9c8f Simplified initial configuration settings. 2016-08-01 21:40:43 -07:00
riidom
7de6e825bd Update de.lua 2016-08-01 20:56:33 +02:00
Paul Kulchenko
a198a68319 Added default setting for debugger.allowediting config option. 2016-08-01 08:38:21 -07:00
Leo Bartoloni
91ad59d7db Updated Italian Translation
Updated Italian Translation of messages/labels
2016-08-01 13:08:44 +02:00
fnaith
00d27e91ab Updated zh-tw translation (#70, closes #679). 2016-07-30 19:18:55 -07:00
Roland Yonaba
34e20486d0 Updated french translation (#70) 2016-07-30 20:45:09 +00:00
Iñigo Sola
110369ffed Adding new Spanish translations (#70, closes #677). 2016-07-30 10:46:22 -07:00
Paul Kulchenko
0cc3647501 Updated Russian translation (#70). 2016-07-30 09:34:20 -07:00
Paul Kulchenko
a9b29a950b Updated translation files with new messages (#70). 2016-07-29 15:28:45 -07:00
Paul Kulchenko
5870416dcf Updated translation call to not appear on the warnings list (#70). 2016-07-29 15:28:06 -07:00
Paul Kulchenko
364e8d204a Updated CHANGELOG with recent changes. 2016-07-29 11:40:43 -07:00
Paul Kulchenko
be9c5c1d7f Added workaround for hanging during editing on ArchLinux when tab name is modified (#673). 2016-07-27 21:07:58 -07:00
Paul Kulchenko
158e5f8f10 Added checks to ensure that only valid tree items are passed to onFiletree*Down callbacks. 2016-07-26 11:23:20 -07:00
Paul Kulchenko
d06c6496a1 Updated debugger error messages to use error markers in the Output window. 2016-07-25 21:49:00 -07:00
Paul Kulchenko
d00f15bce1 Added disallowing mapping of the project directory. 2016-07-24 14:05:18 -07:00
Paul Kulchenko
7d153c5752 Updated Corona API for v2016.2906. 2016-07-23 15:53:06 -07:00
Paul Kulchenko
107796b2d9 Updated Corona API processing script to work from api/lua folder. 2016-07-23 15:52:40 -07:00
Paul Kulchenko
382898ab2c Added workaround for GetFirst method missing on wxMenuItemList in some Linux packages (#671). 2016-07-22 13:24:31 -07:00
Paul Kulchenko
a76942305b Removed adding BOM when opening non-existing files in the editor. 2016-07-21 11:50:10 -07:00
Paul Kulchenko
a49e10b256 Updated tooltip shortcuts to match modifiers in the main menu (Cmd instead of Ctrl). 2016-07-21 11:49:01 -07:00
Paul Kulchenko
c8c03d4ae0 Updated warning message to only update Ctrl shortcut (and not RawCtrl). 2016-07-21 11:46:54 -07:00
Paul Kulchenko
c0920e7d2c Updated project tree to clear settings from projects with all mappings removed. 2016-07-20 21:33:05 -07:00
Paul Kulchenko
36354ab9e7 Improved showing the history of command line parameters to only skip what's needed (#665). 2016-07-19 21:58:42 -07:00
Paul Kulchenko
a2526c1f18 Added Error method for the Output object (#166). 2016-07-18 22:06:52 -07:00
Paul Kulchenko
ca291eff71 Fixed Gideros interpreter to reference method from the Output object (fixes #667). 2016-07-16 08:35:40 -07:00
Paul Kulchenko
6ca8474efc Added history of command line parameters to the menu in the status bar (closes #665). 2016-07-15 20:44:24 -07:00
Paul Kulchenko
5a93c84a16 Added SetCommandLineParameters method (#665, #166). 2016-07-14 21:59:05 -07:00
Paul Kulchenko
17cd2cbfb4 Added showing menu when clicked on command line parameters in the status bar (#665). 2016-07-14 21:58:55 -07:00
Paul Kulchenko
d627c3fa31 Added command line parameters to the status bar after the interpreter (#665). 2016-07-14 21:58:32 -07:00
Paul Kulchenko
f2832123fc Added UpdateStatus interpreter method (#166). 2016-07-12 13:53:02 -07:00
Paul Kulchenko
0d3993a4ec Added unfolding of the target line after navigation from the Stack window. 2016-07-12 13:53:01 -07:00
Paul Kulchenko
355a54987c Removed deprecated DebuggerAttachDefault call from interpreters. 2016-07-12 13:53:00 -07:00
Paul Kulchenko
f342e53c24 Added debugger SetOptions method and deprecated DebuggerAttachDefault (#166). 2016-07-12 13:52:59 -07:00
Paul Kulchenko
6f69483ef9 Improved path merge for the main editor path (#663). 2016-07-12 13:52:52 -07:00
Paul Kulchenko
2cb231ea08 Refactored fattachdebug from the interpreter code. 2016-07-08 20:48:40 -07:00
Paul Kulchenko
aa69beba4e Updated interpreters to remove obsolete functions. 2016-07-08 20:41:59 -07:00
Paul Kulchenko
631eeea77a Added refresh of search results from the right-click-on-tab menu. 2016-07-06 13:49:20 -07:00
Paul Kulchenko
5b39da617d Updated Gideros API for version 2016.06. 2016-07-05 10:34:54 -07:00
Paul Kulchenko
45cca08a81 Improved handling of constant values in Gideros API processing. 2016-07-04 21:36:20 -07:00
Paul Kulchenko
9ff25f3ca6 Updated Gideros script to simplify processing of its API descriptions. 2016-07-04 21:36:14 -07:00
Paul Kulchenko
241a5b4c4f Added saving of command line options per project. 2016-07-04 18:53:34 -07:00
Paul Kulchenko
fec571178b Added explicit onProjectClose event before closing the application (#166). 2016-07-04 18:53:15 -07:00
Paul Kulchenko
865bd204ed Updated config settings to support 'overrides' when settings are modified between snapshots.
The handling of project settings, which takes a snapshot of settings and
restores it on project switch, conflicts with argument handling, as the
restored snapshot removes modified command line arguments.
2016-07-02 21:38:32 -07:00
Paul Kulchenko
052ef55de9 Updated onProject* directory parameter to use the same format as GetProject. 2016-07-02 18:53:59 -07:00
Paul Kulchenko
835ef428d5 Update metalua to properly report identifier expected error in table fields. 2016-06-30 22:21:15 -07:00
Paul Kulchenko
8888062c2c Updated metalua to remove usage of missing table.tostring method. 2016-06-30 22:20:42 -07:00
Paul Kulchenko
d600ab0616 Updated global function to make it local in the file. 2016-06-29 22:40:47 -07:00
Paul Kulchenko
d43bb90aae Updated Love2d interpreter default to start debugging without stopping. 2016-06-28 14:43:35 -07:00
Paul Kulchenko
6301c2bfec Updated to use console Print and Error methods instead of global functions. 2016-06-28 14:41:21 -07:00
Paul Kulchenko
7e1d700b80 Added Error method for console (#166). 2016-06-27 22:30:29 -07:00
Paul Kulchenko
a00eff9d63 Added checks in stack panel to avoid throwing errors on improperly formatted stack message.
This may happen if the serializer in the debugger is adjusted to limit a
number of levels for performance reasons.
2016-06-26 14:37:43 -07:00
Paul Kulchenko
4f9edd5f0b Simplified logic for launching ext-associated apps from Project popup menu.
Replaced one workaround for mis-quoting on Windows with a more robust one
as discussed in http://trac.wxwidgets.org/ticket/4607.
2016-06-25 09:45:59 -07:00
Paul Kulchenko
4d986c90a7 Updated Windows build script to use openssl 1.0.2h (#260). 2016-06-24 16:39:47 -07:00
Paul Kulchenko
75b6c1246f Switched recovery record to use plain/fast serialization. 2016-06-23 23:13:51 -07:00
Paul Kulchenko
f523d5804a Relaxed markup formatting to allow markup symbols to be marked as well.
This allows `**something * more**` and `**some**thing**` to be marked
bold (where previously none would be marked). `some_variable` is still
not marked as a separator is required before and after the markup.
2016-06-22 21:36:36 -07:00
fnaith
d5ee686be5 add quantifier and fix typo 2016-06-22 22:54:49 +08:00
Paul Kulchenko
9e96d08f23 Updated debugger tests to handle activation executed before command is completed.
When the activatio is executed before the command is completed, the
command index is not (yet) updated and the test checks the wrong values,
which causes occasional failure (depending on subtle execution timing).
2016-06-21 12:44:50 -07:00
Paul Kulchenko
9de4faf0be Fixed run-time error when auto-complete configured with strategy=1 or =0 (fixes #660).
Updated tests to run all auto-complete tests with all strategies.
2016-06-21 12:42:23 -07:00
Paul Kulchenko
2e64af4cd9 Updated Love2d API for 0.10.1 (closes #537, #247). 2016-06-19 21:05:35 -07:00
fnaith
db29afcb88 Add translation of menus and messages to traditional chinese (closes #659). 2016-06-19 14:04:04 -07:00
Paul Kulchenko
4a8523966b Updated file activation test as filename case may be different on OSX. 2016-06-18 21:11:54 -07:00
Paul Kulchenko
d82e1e4dcf Updated marker handling to use MarkerToggle method as it's more generic. 2016-06-18 18:26:42 -07:00
Paul Kulchenko
2ab86e3758 Refactored BreakpointToggle method to make it work consistently with other marker handling. 2016-06-18 18:26:27 -07:00
Paul Kulchenko
4edd305ff7 Allowed MarkerToggle method to accept marker name in addition to marker number. 2016-06-17 22:20:48 -07:00
Paul Kulchenko
c776a6072a Updated ActivateFile method to also accept directories. 2016-06-16 22:53:40 -07:00
Paul Kulchenko
df30287c3c Added ActivateFile method instead of a global function (#166). 2016-06-16 16:43:10 -07:00
Paul Kulchenko
ed3c54d99e Moved DROP_FILES handler to associate with editor tabs on Windows. 2016-06-16 16:34:30 -07:00
Paul Kulchenko
cfe792dcbd Fixed debugger error on Linux when live coding is activated.
The error was caused by the debugger object updated when the debugger
session is established (which was only happening on Linux as it was called
from `Update` triggered from `IDLE` event).
2016-06-15 17:37:46 -07:00
Paul Kulchenko
6a4f5e61b4 Updated formatting. 2016-06-15 17:36:57 -07:00
Paul Kulchenko
b2282cafef Removed setting background on whitespaces as it causes gaps in selection (closes #657). 2016-06-14 17:06:33 -07:00
Paul Kulchenko
f8b3ab32bd Added global menu items for clearing breakpoints and bookmarks. 2016-06-14 09:46:01 -07:00
Paul Kulchenko
4e04b52a09 Added markers menu to clear bookmarks in a project. 2016-06-13 16:24:06 -07:00
Paul Kulchenko
5dfe72bb7e Added markers menu to clear breakpoints in a project. 2016-06-13 10:10:31 -07:00
Paul Kulchenko
b6665fe731 Added workaround for Ctrl-(Shift-)Tab processing on Linux.
The Ctrl-Tab is not handled correctly on Linux (similar to the issue on OSX)
and since the workaround for the editor notebook was removed in 5364139f,
this adds a more complete workaround that works for all notebooks.
2016-06-11 16:02:42 -07:00
Paul Kulchenko
d708986ec5 Added enforcing scrolling in the output panel to make sure added text is visible. 2016-06-09 22:56:01 -07:00
Paul Kulchenko
1b479f4cc3 Added IsProjectSubDirectory method (#166). 2016-06-08 22:48:15 -07:00
Paul Kulchenko
2b52464dc8 Updated debugger BreakpointToggle/RunTo methods to take 1-base line nums for consistency. 2016-06-07 10:57:28 -07:00
Paul Kulchenko
4a3eea8142 Updated editor menu processing to allow Run-to-Cursor when clicked anywhere on the line. 2016-06-06 22:26:25 -07:00
Paul Kulchenko
1318d5a8ab Added storing start time to measure uptime for error reporting. 2016-06-05 21:28:07 -07:00
Paul Kulchenko
1ac3074309 Updated search to use ShowRange instead of ScrollRange.
ScrollRange works with long and wrapped lines, but doesn't unfold text
when selected fragment is hidden. ShowRange does both.
2016-06-04 14:27:44 -07:00
Paul Kulchenko
e466b95b1d Added ShowRange editor method to move desiged range into view. 2016-06-04 14:26:48 -07:00
Paul Kulchenko
ce2faf1e82 Added onMenuOutputTab event and closing search results in the Output notebook. 2016-06-04 10:05:58 -07:00
Paul Kulchenko
f0b864094a Added tab menu to close all search result pages in the editor notebook. 2016-06-03 21:59:27 -07:00
Paul Kulchenko
0b88f1e0d7 Added wxwidgets ticket number for a Ubuntu issue with stock menu items. 2016-06-03 21:43:14 -07:00
Paul Kulchenko
cbdd1c5f02 Refactored preview check when closing tabs. 2016-06-03 21:23:11 -07:00
Paul Kulchenko
0a6960d91d Updated interpreters to use GetCommandLineArg method. 2016-06-02 21:19:35 -07:00
Paul Kulchenko
d2f49f456a Added GetCommandLineArg interpreter method (#166). 2016-06-01 22:18:50 -07:00
Paul Kulchenko
5ffa5e264f Refactored empty line check to use Editor method. 2016-05-31 20:39:37 -07:00
Paul Kulchenko
7e9647e112 Updated comment check in toggling breakpoint to use comment indicator from the editor spec. 2016-05-30 19:32:58 -07:00
Paul Kulchenko
04e59afcad Fixed check for custom Lua interpreters to avoid conflict with system libs (ref 4ba15eb6). 2016-05-26 11:20:30 -07:00
Paul Kulchenko
7361878c40 Added requesting attention before showing an error message in case the app is in the background. 2016-05-25 16:32:15 -07:00
Paul Kulchenko
80faaeba6c Updated keymap documentation to add RawCtrl example. 2016-05-25 15:41:51 -07:00
Paul Kulchenko
4e7ec3ba9c Added shortcuts for navigation to prev/next tab (closes #648, #298). 2016-05-25 15:06:46 -07:00
Paul Kulchenko
a937147e72 Updated GetInterpreter method to accept interpreter name and return its value (#166). 2016-05-24 17:44:20 -07:00
Paul Kulchenko
485dac967e Updated to use GetColour ArtProvider method instead of an obsolete one (#260). 2016-05-24 17:40:34 -07:00
Paul Kulchenko
6eb758f25c Reorganized component load order to allow ide methods to be used from config files. 2016-05-23 22:47:23 -07:00
Paul Kulchenko
24eca6e9c6 Removed interpreters filter as it's not longer needed or used. 2016-05-23 22:46:04 -07:00
Paul Kulchenko
956f7d6829 Added Scintilla license. 2016-05-23 22:44:35 -07:00
Paul Kulchenko
5364139fa7 Removed Ctrl-Tab processing as it should be handled by wxwidgets itself. 2016-05-22 22:16:29 -07:00
Paul Kulchenko
80be064d80 Added checks to windows to be present and indexes to be valid after tab movements. 2016-05-21 21:16:42 -07:00
Paul Kulchenko
bb89b2342b Replaced hardcoded constants with wxNOT_FOUND values. 2016-05-20 14:01:38 -07:00
Paul Kulchenko
afbbe01633 Upgraded MobDebug (0.6371) to add path normalization to file names that don't start with @. 2016-05-19 21:46:55 -07:00
Paul Kulchenko
bfa03879b6 Fixed remote file mapping in the debugger for dynamic chunks when no name is provided. 2016-05-17 22:11:57 -07:00
Paul Kulchenko
96d3194669 Added search in Output and Console panels when no editor tab is opened. 2016-05-16 21:04:30 -07:00
Paul Kulchenko
e9ee066110 Fixed default value shown in the file search scope panel when no editor tab is opened. 2016-05-16 20:52:34 -07:00
Paul Kulchenko
eb4ed17b1d Upgraded MobDebug (0.636) to populate vararg values in the main chunk during debugging. 2016-05-15 09:37:07 -07:00
Paul Kulchenko
b7a7e46b37 Fixed indentation of fragments with partial long strings/comments (fixes #639, ref #324). 2016-05-15 09:33:37 -07:00
Paul Kulchenko
50c2ab239a Updated full screen view processing to reduce flicker with auxiliary panels. 2016-05-14 15:26:43 -07:00
Paul Kulchenko
a52e13ac01 Added enabling full screen view when supported, for example on OSX (#260). 2016-05-14 15:26:43 -07:00
Paul Kulchenko
9bd06d18dc Added ScrollRange to improve showing of search results on long wrapped lines (#260). 2016-05-14 15:26:30 -07:00
Paul Kulchenko
995f373ff0 Fixed selection of other tabs after tab move in Output and Project noteboooks.
This is a workaround for wxwidgets issue http://trac.wxwidgets.org/ticket/15071
2016-05-13 14:49:44 -07:00
Paul Kulchenko
d7e1fa14a8 Added setting focus on tab content after selection in Output and Project notebooks. 2016-05-13 14:23:25 -07:00
Paul Kulchenko
baad5b56fb Added setting focus on tab content after drag-and-drop in Output and Project notebooks. 2016-05-13 14:20:25 -07:00
Paul Kulchenko
5fd933d13c Fixed selecting proper tabs after dragging tabs in the split part of the editor notebook. 2016-05-13 14:17:29 -07:00
Paul Kulchenko
d4ac595c22 Updated last line calculation for markup styling to cover all shown lines (affected by 513a3f67). 2016-05-12 07:36:51 -07:00
Paul Kulchenko
513a3f6799 Fixed line calculations for markup styling to properly style comments after folded fragments. 2016-05-11 17:12:52 -07:00
Paul Kulchenko
a79837e1b2 Removed forced styling from folding requests as it left markup in comments non-styled. 2016-05-11 17:11:51 -07:00
Paul Kulchenko
979977d341 Added initialization for startat config option in auto-complete. 2016-05-10 15:02:48 -07:00
Paul Kulchenko
74d31824c4 Added skipping auto-complete suggestions after markup in comments. 2016-05-10 15:01:27 -07:00
Paul Kulchenko
fd033634dd Updated interpreter definition to add missing fields. 2016-05-10 13:12:15 -07:00
Paul Kulchenko
9a891abaf1 Removed debugger definitions as they are obsolete. 2016-05-10 13:11:36 -07:00
Paul Kulchenko
51e7b6027d Updated ActivateDocument to add an option to clear line markers. 2016-05-10 13:06:00 -07:00
Paul Kulchenko
92d2c81d8a Fixed keeping current line marker when commands are executed in the debugger. 2016-05-09 20:04:35 -07:00
Paul Kulchenko
5990705f32 Added onDebuggerPreActivate debugger method (#166). 2016-05-09 16:37:35 -07:00
Paul Kulchenko
d1ee2dc392 Renamed RefreshPanels debugger method for consistency (#166). 2016-05-09 16:37:34 -07:00
Paul Kulchenko
f52d52027e Added UpdateStatus debugger method (#166). 2016-05-09 16:37:22 -07:00
Paul Kulchenko
1551f006a7 Added Break debugger method (#166). 2016-05-09 16:37:06 -07:00
Paul Kulchenko
a9dc044e06 Upgraded to Mobdebug 0.635 to add path normalization in debugger. 2016-05-08 21:29:14 -07:00
Paul Kulchenko
efffac4b07 Updated remote mapping in the debugger to avoid mapping matching paths. 2016-05-05 23:00:56 -07:00
Paul Kulchenko
f9a1690143 Updated valid property check to work with nil properties after wxlua upgrade (#260). 2016-05-04 15:22:04 -07:00
Paul Kulchenko
6166edd5fb Updated SetDebugger to re-assign remote console to the new debugger. 2016-05-04 13:40:43 -07:00
Paul Kulchenko
00fed29411 Added SetRemote and GetRemote Console methods. Removed ShellSupportRemote. 2016-05-04 13:39:56 -07:00
Paul Kulchenko
677c857c23 Updated package processing to also check main packages directory (closes #640, #555). 2016-05-03 20:57:02 -07:00
Paul Kulchenko
bbfd70477b Updated package processing to use better path splitting method. 2016-05-03 20:55:35 -07:00
Paul Kulchenko
fd50042387 Fixed anchoring in up-dir template check (follow-up to cb8b9a63). 2016-05-03 20:53:39 -07:00
Paul Kulchenko
7830503550 Increased default bordersize value to improve dragging with a track pad (closes #637). 2016-05-01 16:18:29 -07:00
Paul Kulchenko
aaf36c72ae Added Erase method for the Output object (#166). 2016-04-30 22:27:52 -07:00
Paul Kulchenko
6cda42dc5c Allowed space(s) in function calls before opening parenthesis when showing tooltip (closes #635). 2016-04-28 20:21:54 -07:00
Paul Kulchenko
b3c92fd8f3 Allowed shortcuts for editor menu items (closes #597, closes #405). 2016-04-26 20:49:01 -07:00
Paul Kulchenko
21d8f9f030 Updated Rename All Instances menu item to remove unnecessary whitespace. 2016-04-26 20:21:03 -07:00
Paul Kulchenko
ae3712f527 Added GetAccelerator and GetAccelerators methods (#166). 2016-04-26 17:30:17 -07:00
Paul Kulchenko
962ccf373e Added SetAccelerator method (#166). 2016-04-26 17:28:53 -07:00
Paul Kulchenko
c508924706 Clarified a comment. 2016-04-25 11:53:18 -07:00
Paul Kulchenko
566cdf714a Added metalua license. 2016-04-23 14:14:24 -07:00
Paul Kulchenko
5f2744cc1e Added luainspect license. 2016-04-22 07:52:58 -07:00
Paul Kulchenko
91b192a74a Added copas license. 2016-04-21 20:52:18 -07:00
Paul Kulchenko
681faca816 Added SetInterpreter method (#166). 2016-04-20 17:16:23 -07:00
Paul Kulchenko
7fa314740d Updated icon handling in the menu to work with SetBitmap taking two parameters (#603, #260). 2016-04-20 17:15:02 -07:00
Paul Kulchenko
d2ed63468c Updated menu item icon processing to avoid assert on Linux. 2016-04-19 21:07:16 -07:00
Paul Kulchenko
9512a088f1 Added ignoring tooltips_class32 window on Windows (closes #631).
This window is shown when `Microsoft.Windows.Common-Controls` compatibility
is enabled in the manifest, but it needs to be ignored.
2016-04-19 11:03:13 -07:00
Paul Kulchenko
3846db1f3a Added SetModTime method for the document (#166). 2016-04-18 17:56:38 -07:00
Paul Kulchenko
bf4c6dde6c Added SetFilePath method for the document (#166). 2016-04-18 17:55:50 -07:00
Paul Kulchenko
5fcd7f6142 Updated README to use better wording. 2016-04-16 09:58:37 -07:00
Paul Kulchenko
f9d908e942 Updated handling of clicks on errors to jump to a proper error line (closes #620).
In some cases (for example, errors from coroutines), Lua may return
multiple error locations on the same line, in which case the last one
should be used. The click handling has been modified to process those
locations right-to-left to jump to a better one.
2016-04-15 21:21:54 -07:00
Paul Kulchenko
e246022e97 Updated copyright year in the About screen. 2016-04-13 23:10:07 -07:00
Paul Kulchenko
e4ec9eb70d Removed hardcoded values for any-marker mask. 2016-04-12 21:53:21 -07:00
Paul Kulchenko
4a37b43b44 Updated local variables to use more informative names. 2016-04-12 21:41:05 -07:00
Paul Kulchenko
b477d654e9 Updated menu generation to use a three-parameter wxMenu constructor to avoid crash on Win7.
The crash has only been seen on Windows7 and is usually caused by a set of
`Set/Unset As Start File` changes from the project tree menu. Related to #603.

Usually a sequence of `Set`, `Unset`, start debugging, `Set`, `Unset` leads to a crash.
This update uses a three-parameter `wxMenu` constructor that hasn't been seen to crash.
2016-04-11 17:06:16 -07:00
Paul Kulchenko
e24cdbdfcc Updated core components to use Print method instead of removed print function.
This is a follow-up to 3e8b2ca3, which updates messages not updated earlier.
2016-04-11 16:32:42 -07:00
Paul Kulchenko
cb8b9a6349 Updated path normalization to keep leading up-directory references in relative paths. 2016-04-10 14:00:21 -07:00
Paul Kulchenko
e9e3c547ae Added Print and Write method to the Output object (#166). 2016-04-07 21:47:55 -07:00
Paul Kulchenko
0e4998a92b Updated Lua base interpreter to use GetRootPath. 2016-04-06 20:26:56 -07:00
Paul Kulchenko
58b4b37a1b Allowed optional version parameter to execution path in Lua interpreter. 2016-04-05 22:58:15 -07:00
Paul Kulchenko
08d50cacac Updated build scripts to use wxwidgets311 branch in wxlua (#260). 2016-04-01 16:51:39 -07:00
Paul Kulchenko
5f907bb41e Updated Linux build scripts to add GL dependencies (#260). 2016-04-01 16:50:39 -07:00
Paul Kulchenko
b87fef583c Modified adding icons to menu items to avoid duplice items on Win10 (#603). 2016-03-31 19:17:23 -07:00
Paul Kulchenko
ee18a4e371 Updated debugger to better handle incoming session while the current one is being set up. 2016-03-31 11:47:56 -07:00
Paul Kulchenko
392ad0d704 Added menu item to un/fold the current line with Shift-F12 default shortcut (closes #616). 2016-03-27 16:25:34 -07:00
Paul Kulchenko
2c13b2c521 Added Shift+click-on-fold-margin to un/fold the line the click was on (#616). 2016-03-27 16:24:57 -07:00
Paul Kulchenko
cb45bcd503 Fixed restoring split tab configuration that was broken by 97c7bb96. 2016-03-27 16:16:09 -07:00
Paul Kulchenko
c960ea9b34 Updated build scripts to build luasec on OSX and Linux (#260). 2016-03-26 15:54:16 -07:00
Paul Kulchenko
be3fea8641 Updated Remote Console to pick a better error message for failed commands.
If the expression (for example, `x[1]` when `x` is `nil`) fails as both a
statement and an expression, the error was reported as a statement error
(in this case "'=' expected near '<eof>'"), rather than an expected expression
error ("attempt to index global 'x' (a nil value)").
2016-03-25 16:29:53 -07:00
Paul Kulchenko
1053e6c803 Updated editor calltip to use line number instead of position in getting text height. 2016-03-24 19:44:59 -07:00
Paul Kulchenko
06f95eddc0 Ignore statements on the line with function definition that ends with an end (closes #611). 2016-03-23 21:23:36 -07:00
Paul Kulchenko
761c0b63c5 Updated Windows build script to copy luasec Lua modules (#260). 2016-03-22 21:41:39 -07:00
Paul Kulchenko
8953c3e393 Updated build scripts to check for required parameters first. 2016-03-21 22:23:54 -07:00
Paul Kulchenko
a0d4d25a9e Fixed added empty line after Console commands with no results (added by 60fe447f). 2016-03-20 21:30:22 -07:00
Paul Kulchenko
4a553ab7e7 Added Find Next toolbar/menu icon to distinguish from Find (#603). 2016-03-19 21:41:51 -07:00
Paul Kulchenko
515d3fd6c3 Added keeping command line parameters after canceling the dialog (closes #610). 2016-03-18 11:17:14 -07:00
Paul Kulchenko
f7f6cf243c Added GetTextFromUser method to better report canceled dialog (#166). 2016-03-18 11:13:05 -07:00
Paul Kulchenko
c1ac57dd7b Added saving command line parameters between restarts (closes #583). 2016-03-17 11:19:18 -07:00
Paul Kulchenko
7657c748e7 Added GetPackage method (#166). 2016-03-17 10:50:56 -07:00
Paul Kulchenko
c2fa125e43 Added workaround to fix Ctrl-(Shift-)Tab navigation on OSX (#298). 2016-03-16 21:09:28 -07:00
Paul Kulchenko
50d392437d Updated timers to use AddTimer method. 2016-03-16 14:08:32 -07:00
Paul Kulchenko
ee942866e7 Added AddTimer method (#166). 2016-03-16 11:52:40 -07:00
Paul Kulchenko
38a01b2d3b Fixed using proper debugger object from Stack and Watch functions (fixes #608). 2016-03-15 19:09:06 -07:00
Paul Kulchenko
82fcc27b91 Added io.write support to the local console (#606). 2016-03-14 17:09:07 -07:00
Paul Kulchenko
86396789e4 Added Print and Write method to the console object (#166). 2016-03-14 17:08:25 -07:00
Paul Kulchenko
60fe447ff7 Reorganized console printing to work with partial output. 2016-03-14 17:07:42 -07:00
Paul Kulchenko
8e2e7c7d00 Removed svn from dependencies for Linux build scripts (as it's not longer used). 2016-03-14 10:06:47 -07:00
Paul Kulchenko
8eaf09f690 Updated tests to use temporary folder for debugger tests. 2016-03-13 17:58:21 -07:00
Paul Kulchenko
ebbf560288 Added checks for indicator value types to not fail on invalid configuration (closes #607). 2016-03-13 17:52:55 -07:00
Paul Kulchenko
3e843f8a29 Updated test module to better report skipped tests. 2016-03-12 22:27:16 -08:00
Paul Kulchenko
3977b54ca6 Added Breakpoint and Stop commands to debugger tests. 2016-03-10 21:39:42 -08:00
Paul Kulchenko
792cecacec Merge branch 'debugger-redesign' 2016-03-10 18:55:57 -08:00
Paul Kulchenko
d77a7cbcc4 Updated debugger to use verbose option instead of the global print. 2016-03-10 18:41:08 -08:00
Paul Kulchenko
4367eaecd7 Upgraded MobDebug (0.634) to add verbose option to the handle method. 2016-03-10 18:40:30 -08:00
Paul Kulchenko
b75301cf4c Minor update to use editor BreakpointToggle method. 2016-03-10 14:36:36 -08:00
Paul Kulchenko
d81736ab4c Fixed line number reported in onEditorMarkerUpdate event callback. 2016-03-10 14:36:35 -08:00
Paul Kulchenko
adde8f4440 Fixed reporting debugger stopping when using Done command while running. 2016-03-10 14:36:34 -08:00
Paul Kulchenko
b006b19276 Renamed debugger method quickeval to EvalAsync for consistency. 2016-03-10 14:36:34 -08:00
Paul Kulchenko
6473c157a3 Updated Wait and Update debugger methods to uppercase. 2016-03-10 14:36:33 -08:00
Paul Kulchenko
7a3fa4d6f8 Updated Run and RunTo debugger methods to uppercase. 2016-03-10 14:36:25 -08:00
Paul Kulchenko
adf2452d82 Added debugger tests. 2016-03-07 17:35:54 -08:00
Paul Kulchenko
25bcecf62a Updated Step, Over, and Out debugger methods to uppercase. 2016-03-07 17:34:33 -08:00
Paul Kulchenko
9cfab74832 Added showing names of test files in the test results. 2016-03-07 15:43:31 -08:00
Paul Kulchenko
c496bf6b27 Fixed selection of the test file to avoid skipping some. 2016-03-07 15:42:46 -08:00
Paul Kulchenko
2182a8474d Added explicit conversion to a number for line numbers in document activation. 2016-03-07 15:38:20 -08:00
Paul Kulchenko
b17875ea69 Reorganized tests to provide package reference to the test functions to set callbacks. 2016-03-07 14:08:47 -08:00
Paul Kulchenko
2bb6371ce4 Added return value to the package command in config files. 2016-03-07 13:47:25 -08:00
Paul Kulchenko
80d68772cd Updated build script to strip luasec libraries on Windows. 2016-03-05 23:43:12 -08:00
Paul Kulchenko
339e78b7d7 Fixed incorrect ranlib path in luasec build script on Windows. 2016-03-05 23:42:22 -08:00
Paul Kulchenko
1264d4cd2a Updated Windows build script to use the latest luasec and openssl libraries. 2016-03-05 10:03:48 -08:00
Paul Kulchenko
fbe3f345bb Added support for icons in the menu controlled by menuicon (closes #603); thanks to @tdev. 2016-03-04 15:46:13 -08:00
Paul Kulchenko
be2a5f5c21 Added reverse search on Shift-Enter (closes #604). 2016-03-04 15:44:43 -08:00
Paul Kulchenko
835feed91b Moved folder toggling inside activation logic to allow skipping (#602). 2016-03-03 21:39:27 -08:00
Paul Kulchenko
d66ca65a25 Added marker tinting controlled by markertint. 2016-03-03 21:38:41 -08:00
Paul Kulchenko
86ee6e5386 Added GetTintedColor method (#166). 2016-03-03 21:38:40 -08:00
Paul Kulchenko
2c9c6e53ba Added setting initial imagetint value. 2016-03-03 21:38:39 -08:00
Paul Kulchenko
89e7c5c4ba Removed ID_TOGGLEBREAKPOINT identifier as it was deprecated in the previous version (1.30). 2016-03-03 21:38:39 -08:00
Paul Kulchenko
c9c7536bf2 Updated Listen debugger method to uppercase (as it's public). 2016-03-01 16:39:02 -08:00
Paul Kulchenko
29ba294660 Added IsListening debugger method (#166). 2016-02-28 19:13:24 -08:00
Paul Kulchenko
637feabcec Upgraded Mobdebug (0.6331) to not fail on output method when debugging is not started. 2016-02-28 14:51:32 -08:00
Thomas Fischer
60cba6fe55 Opens the item in the file tree on double clicking the item 2016-02-28 23:21:39 +01:00
Paul Kulchenko
849e51f20e Updated debugger to avoid double reporting of stopping when scratchpad is turned off. 2016-02-27 22:10:24 -08:00
Paul Kulchenko
8d06b06d64 Fixed remote console not working after using Break when running scratchpad. 2016-02-27 10:35:25 -08:00
Paul Kulchenko
611608c08e Added debugger GetConsole method (#166). 2016-02-27 10:34:20 -08:00
Paul Kulchenko
6512209caa Replaced use of debugger fields with debugger methods. 2016-02-25 11:58:05 -08:00
Paul Kulchenko
58600d9d18 Updated debugger kill logic to report success to better handle process termination. 2016-02-25 11:40:23 -08:00
Paul Kulchenko
b6ab3ba16c Added SetDebugger method and updated debugger initialization to set fields (#166). 2016-02-25 11:40:22 -08:00
Paul Kulchenko
a737a133d8 Updated debugger to use proper debugger objects. 2016-02-25 11:40:22 -08:00
Paul Kulchenko
6b75a493fd Updated debugger termination to stop suspended process without socket leftovers. 2016-02-25 11:40:21 -08:00
Paul Kulchenko
36389f4a1b Added address/port information to debugger verbose output. 2016-02-25 11:40:20 -08:00
Paul Kulchenko
1589038cf8 Added SetLaunchedProcess method (#166). 2016-02-25 11:40:20 -08:00
Paul Kulchenko
3850c5d493 Fixed termination of the debugging when stopped while suspended. 2016-02-25 11:40:19 -08:00
Paul Kulchenko
fd216bfe7d Added BreakpointToggle method to the debugger (#166). 2016-02-25 11:40:19 -08:00
Paul Kulchenko
89fc6391a3 Added RefreshPanels debugger method (#166). 2016-02-25 11:40:18 -08:00
Paul Kulchenko
950f997284 Updated ActivateDocument method to use immediate rather than delayed activation (#166). 2016-02-25 11:40:17 -08:00
Paul Kulchenko
8c11f3dd2e Updated debug interface to replace global functions with debugger methods (#166). 2016-02-25 11:40:17 -08:00
Paul Kulchenko
c1504d4dbd Reorganized process killing to avoid multiple attempts at terminating debugger sessions. 2016-02-25 11:40:16 -08:00
Paul Kulchenko
d0ae7441e3 Added AddPanelFlex method to pick how to better add panel (#166). 2016-02-25 11:40:15 -08:00
Paul Kulchenko
5afc57247a Upgraded MobDebug (0.633) to add handling of empty output stream. 2016-02-25 11:40:15 -08:00
Paul Kulchenko
63b619b7ca Added debugger method to refresh debugger panels. 2016-02-25 11:40:14 -08:00
Paul Kulchenko
6711b79c85 Added debugger.refuseonconflict to control when debugger connections can be refused. 2016-02-25 11:40:14 -08:00
Paul Kulchenko
fe31b60165 Upgraded MobDebug (0.632) to add LuaJIT fix and output method. 2016-02-25 11:40:13 -08:00
Paul Kulchenko
4b6f7f5eb8 Added ActivateDocument debugger method (#166). 2016-02-25 11:40:12 -08:00
Paul Kulchenko
92c44dd396 Added onDebuggerCommand method (#166). 2016-02-25 11:40:12 -08:00
Paul Kulchenko
ea7e7f2424 Added onDebuggerStatusUpdate method (#166). 2016-02-25 11:40:11 -08:00
Paul Kulchenko
2a5449c89a Added onDebuggerActivate method (#166). 2016-02-25 11:40:10 -08:00
Paul Kulchenko
c66822bbce Added onDebuggerPerClose and onDebuggerClose methods (#166). 2016-02-25 11:40:10 -08:00
Paul Kulchenko
407032f643 Added onDebuggerPerLoad and onDebuggerLoad methods (#166). 2016-02-25 11:40:09 -08:00
Paul Kulchenko
48c85d3b8a Removed Estrela shell interpreter no longer used. 2016-02-25 11:39:50 -08:00
Paul Kulchenko
fcc24674c5 Updated build scripts to remove WebView as it triggers a dependency on Linux (#260). 2016-02-23 19:33:21 -08:00
Paul Kulchenko
ef1425bde0 Renamed onAppDone event to onAppShutdown for consistency (#166). 2016-02-21 20:48:02 -08:00
Paul Kulchenko
fe3472f0be Updated package example to use current API. 2016-02-20 10:08:03 -08:00
Paul Kulchenko
667207b391 Fixed merging some debugger options with false values. 2016-02-19 10:20:17 -08:00
Paul Kulchenko
cef22f67af Removed limit on stdout content sent from the application being debugged. 2016-02-18 20:34:00 -08:00
Paul Kulchenko
9e55937b83 Updated build script to remove checks for svn as these are no longer needed. 2016-02-16 18:35:08 -08:00
Paul Kulchenko
a636efef88 Fixed stripping path in build scripts on OSX and Linux. 2016-02-16 17:54:36 -08:00
Paul Kulchenko
4881a8b611 Added editor.linenumber to configure showing of line numbers in the editor. 2016-02-15 22:12:35 -08:00
Paul Kulchenko
55533a9dfd Updated Chinese translation; thanks to Allan Cylakes (#70). 2016-02-14 09:14:50 -08:00
Christoph Kubisch
f5f77bf8c2 removing old luxinia related files, now found at https://github.com/pixeljetstream/luxinia1/zbstudio-integration 2016-02-14 13:25:15 +01:00
Paul Kulchenko
127f98f7ee Updated message to better describe the situation when interpreter not loaded.
The interpreter may be not loaded not only when it's not present, but also when
it's present, but missing dependencies, so "load" is better than "find".
2016-02-12 19:17:56 -08:00
Paul Kulchenko
4f5747a2c1 Updated build scripts to add WebView support (#260). 2016-02-11 08:58:45 -08:00
Paul Kulchenko
fbd12d1955 Updated build scripts to add GL canvas support (#260). 2016-02-10 11:47:16 -08:00
Paul Kulchenko
925274dfdb Updated build scripts to use own wxlua repository (#260). 2016-02-10 11:44:37 -08:00
Paul Kulchenko
682ca939d5 Updated build scripts to strip wxlua library directly. 2016-02-09 15:38:29 -08:00
Paul Kulchenko
775c1370dc Updated build script to change tab closing icon on OSX (#260). 2016-02-07 13:51:11 -08:00
Paul Kulchenko
7241a10b86 Updated build script to remove wxlua error check (#260).
This fixes an earlier update (927a7535), which doesn't work with OSX `sed`.
2016-02-06 17:04:34 -08:00
Paul Kulchenko
8a5af69c35 Improved whitespace handling in commandbar pattern matching (#31). 2016-02-04 12:18:58 -08:00
Paul Kulchenko
7e5c8fd12d Fixed mouse selection in commandbar on OSX (#31). 2016-02-03 17:27:34 -08:00
Paul Kulchenko
2b45e32b71 Refactored focus processing after switching to the IDE (#577). 2016-02-03 09:55:45 -08:00
Paul Kulchenko
085cfebb69 Fixed restoring editor focus on OSX when switching to the IDE (#577). 2016-02-02 22:38:04 -08:00
Paul Kulchenko
63fd2102a5 Added workaround to enable closing all tabs on OSX.
Closing all tabs was disabled on OSX due to a wxwidgets issue that led to
a crash; this workaround avoids the issue, which allows to enable closing.
2016-01-31 20:08:31 -08:00
Paul Kulchenko
c0c814d63e Updated idle processing to handle items in the same order as they are submitted. 2016-01-31 20:03:59 -08:00
Paul Kulchenko
c7809d1a92 Added workaround to fix rendering artifacts on OSX (fixes #590).
This appears to be a wxwidgets issue caused by redraw of wxTreeCtrl from
STC_PAINTED event in the editor (wxStyledTextCtrl).
2016-01-31 19:50:28 -08:00
Paul Kulchenko
f57ff19f95 Added check for editor being valid in delayed outline redrawing. 2016-01-31 09:55:45 -08:00
Paul Kulchenko
721c8fa673 Added reporting of error messages after process completion for Gideros interpreter. 2016-01-31 09:12:45 -08:00
Paul Kulchenko
e5fa9cc841 Updated build script to use OpenSSL 1.0.2f, which fixes a security issue. 2016-01-30 15:12:26 -08:00
Paul Kulchenko
c83292fc0c Allow copying of selection in Local console when floating (fixes #596). 2016-01-29 09:37:53 -08:00
Paul Kulchenko
f02e36e42b Fixed toolbar disappearing after using FullScreen mode and stopping debugging (fixes #594). 2016-01-29 09:01:26 -08:00
Paul Kulchenko
786d1c9333 Added expanding folded line after marker navigation (closes #595). 2016-01-29 09:00:26 -08:00
Paul Kulchenko
a0d630f9f3 Updated MobDebug to v0.63. 2016-01-28 19:13:19 -08:00
Paul Kulchenko
a30af22289 Added resetting app position when the saved position is outside of the screen (closes #593).
This is only triggered in one-display configuration.
2016-01-27 21:16:07 -08:00
Paul Kulchenko
cb33dd5fd0 Updated to reuse existing variables. 2016-01-27 12:44:02 -08:00
Paul Kulchenko
2aae4129f8 Updated luasec build script (Win) to use Lua 5.3 compatible version and build shared dlls. 2016-01-27 12:42:36 -08:00
Paul Kulchenko
5b915c5037 Added editor.commentlinetoggle to configure toggling comments by line (closes #591). 2016-01-27 12:37:48 -08:00
Paul Kulchenko
d8da1221b3 Updated OpenSSL link for the more recent version to include in luasec. 2016-01-27 12:37:16 -08:00
Paul Kulchenko
3b7bfc8415 Fixed setting editor focus when switching from commandbar on OSX (fixes #577). 2016-01-24 17:51:43 -08:00
Paul Kulchenko
5d44d19c4f Updated copyright message in the OSX manifest file. 2016-01-23 21:20:42 -08:00
Paul Kulchenko
13767a0e0c Updated AddMarker method to fail when no valid colors provided (#587). 2016-01-22 13:31:43 -08:00
Paul Kulchenko
a455ed64f7 Updated marker text to strip EOL to show markers as one line on Linux (#419). 2016-01-21 13:34:56 -08:00
Paul Kulchenko
aff0355d7d Updated CHANGELOG for 1.30. 2016-01-21 13:03:30 -08:00
Paul Kulchenko
af16a8a0ee Updated comment with clarification on editor UPDATEUI event handling. 2016-01-20 17:06:01 -08:00
Paul Kulchenko
0b5e5066fd Updated interpreter menu to use a clone to avoid Linux assertion.
Opening the popup menu throws the following assertion (as the shown menu is a submenu):
./src/common/menucmn.cpp(750): assert "!GetParent()" failed in SetInvokingWindow():
should only be called for top level popup menus
2016-01-19 15:30:42 -08:00
Paul Kulchenko
3a52021c82 Fixed error on marker navigation after removing all markers in a file (#419). 2016-01-19 15:29:46 -08:00
Paul Kulchenko
d0f522b283 Added CloneMenu package method (#166). 2016-01-18 21:49:05 -08:00
Leo Bartoloni
4012455795 Updated Italian Translation (closes #586). 2016-01-16 09:47:23 -08:00
Iñigo Sola Núñez
9b426ac548 Spanish translation updated 2016-01-16 12:21:30 +01:00
Paul Kulchenko
371bc771e4 Added Torch and Redis debugging links. 2016-01-15 08:30:58 -08:00
Yonaba
75d9eaae52 Updated french translation as of df381b5 (see #70) 2016-01-15 01:04:09 +00:00
Paul Kulchenko
df381b57b8 Updated Russian translation (#70). 2016-01-14 11:08:33 -08:00
Paul Kulchenko
1d2077007a Updated translation files with new messages (#70). 2016-01-14 10:16:48 -08:00
Paul Kulchenko
06e2b14fd1 Updated LuaForWindows interpreter to accept command line parameters (#582). 2016-01-13 10:37:35 -08:00
Paul Kulchenko
6079ea5038 Updated LuaForWindows interpreter to properly pass arg to the script (closes #582). 2016-01-13 10:36:54 -08:00
Paul Kulchenko
16fc6a75d0 Replaced EditorIsModified with document method calls. 2016-01-12 14:05:17 -08:00
Paul Kulchenko
7e67e38b8e Added IsNew method for documents (#166). 2016-01-12 13:45:00 -08:00
Paul Kulchenko
ba3791bb44 Updated GetDocument to not fail when no editor is passed. 2016-01-12 13:44:24 -08:00
Paul Kulchenko
134a6b8dbb Updated tests to use public API. 2016-01-12 09:50:14 -08:00
Paul Kulchenko
05d2cc8f31 Added breakpoint/bookmark toggling tests. 2016-01-12 09:49:29 -08:00
Paul Kulchenko
481bbfbc26 Fixed showing cursor in search panel fields after file search.
This puts a workaround in place to compensate the cursor not being shown
as the result of earlier commit that destroys the temporary editor object
(45a49246), which should have no impact. Noticed on Windows.
2016-01-11 19:45:56 -08:00
Paul Kulchenko
3e8b2ca3b0 Added Print method and updated core components to use it during launch. 2016-01-10 21:46:37 -08:00
Paul Kulchenko
f1a9d53813 Updated live coding to group number updates together for Undo/Redo purposes.
These are the updates that are done with mouse scroller over numbers and all
these changes between mouse click and release are now grouped together.
2016-01-09 09:44:07 -08:00
Paul Kulchenko
88078076ef Updated CHANGELOG with markers panel and other recent changes. 2016-01-06 17:33:03 -08:00
Paul Kulchenko
f60f545fa5 Merge branch 'markers' 2016-01-06 15:54:39 -08:00
Paul Kulchenko
49d514f321 Added skipping UPDATE_CONTENT events on cursor blinks in UPDATEUI (#419). 2016-01-06 15:49:24 -08:00
Paul Kulchenko
3fafa96849 Switched to per-editor tracking in UPDATEUI event. 2016-01-06 10:01:35 -08:00
Paul Kulchenko
c274424147 Updated breakpoint shortcut message to reference a proper shortcut on OSX (#419). 2016-01-06 08:45:37 -08:00
Paul Kulchenko
e7b81bd36c Fixed accepting explicit value in MarkerToggle (#166). 2016-01-05 20:12:03 -08:00
Paul Kulchenko
4b7471f518 Improved compatibility when running the IDE using Lua 5.2. 2016-01-05 20:02:14 -08:00
Paul Kulchenko
079b1cf22a Added preserving markers after sorting/reindentation operations. 2016-01-05 20:00:06 -08:00
Paul Kulchenko
e21c4b63af Updated string formatting for consistency. 2016-01-05 19:55:17 -08:00
Paul Kulchenko
778d41bb49 Added editor MarkerGetAll method (#166). 2016-01-05 19:46:21 -08:00
Paul Kulchenko
8dbeb2b9c6 Fixed reapplying markers after reloading modified file (#419). 2016-01-05 14:58:09 -08:00
Paul Kulchenko
439b322b14 Fixed setting interpreter after launching with non-existing project. 2016-01-04 16:56:27 -08:00
Paul Kulchenko
be084357fc Updated and cleaned up comments. 2016-01-04 16:54:54 -08:00
Paul Kulchenko
daa8fbd32a Added example on how to set breakpoint shortcuts used in v1.20 or earlier (#419). 2016-01-03 16:55:33 -08:00
Paul Kulchenko
c48c08742a Fixed showing package errors during project switches (#555). 2016-01-03 16:45:34 -08:00
Paul Kulchenko
4f8b51613d Fixed include command not checking needed packages folders to load from (#555). 2016-01-02 22:20:57 -08:00
Paul Kulchenko
aae2cc7d22 Added processing of include command without extension in config (#555). 2016-01-02 22:04:23 -08:00
Paul Kulchenko
090a69e693 Added reporting of missing packages when using package command in config (#555). 2016-01-02 17:15:37 -08:00
Paul Kulchenko
3ea59b261f Added processing of package command without extension in config (#555). 2016-01-02 17:15:30 -08:00
Paul Kulchenko
8f4a87264f Refactored File menu generation to use AttachMenu. 2016-01-01 11:54:27 -08:00
Paul Kulchenko
2239f1d3ab Added hint on using updated breakpoint shortcut (#419). 2015-12-31 20:31:43 -08:00
Paul Kulchenko
6326066d8e Updated Toggle Breakpoint and Break shortcuts for consistency (#419). 2015-12-30 21:06:01 -08:00
Paul Kulchenko
8aac298197 Updated 'Toggle Breakpoint' message for consistency (#419). 2015-12-30 21:05:46 -08:00
Paul Kulchenko
d1836daa92 Added breakpoint prev/next navigation (#419). 2015-12-30 21:05:18 -08:00
Paul Kulchenko
d966117cf3 Added AttachMenu package method (#166). 2015-12-30 19:56:52 -08:00
Paul Kulchenko
e78ef13df7 Added MarkerToggle editor method (#166). 2015-12-30 10:34:19 -08:00
Paul Kulchenko
bc93fc7c27 Added MarkerGotoNext and MarkerGotoPrev editor methods (#166). 2015-12-30 10:31:19 -08:00
Paul Kulchenko
1f5ec24faa Added skipping activating editor tab when removing markers from Markers panel (#419). 2015-12-29 21:48:01 -08:00
Paul Kulchenko
7301184475 Added local menu to the Markers panel to toggle markers (#419). 2015-12-29 10:21:41 -08:00
Paul Kulchenko
88233991ea Added sorting of files in the Markers panel (#419). 2015-12-29 10:21:01 -08:00
Paul Kulchenko
3f938a97b8 Added saving/restoring bookmarks and breakpoints (#419). 2015-12-28 19:10:07 -08:00
Paul Kulchenko
b536ef43e6 Added BookmarkToggle method to the editor (#166). 2015-12-28 18:20:10 -08:00
Paul Kulchenko
41e6739cb0 Added BreakpointToggle method to the editor (#166). 2015-12-28 18:01:32 -08:00
Paul Kulchenko
c7402cbb58 Added toggling of bookmark/breakpoint marker from the Markers panel (#419). 2015-12-27 15:49:08 -08:00
Paul Kulchenko
d39e64c570 Added markers panel to show bookmarks and breakpoints (#419). 2015-12-28 15:32:27 -08:00
Paul Kulchenko
5c10ee8d6f Removed misleading comment. 2015-12-25 15:01:39 -08:00
Paul Kulchenko
029a1bc9f6 Added onEditorMarkerUpdate event (#166). 2015-12-24 18:32:34 -08:00
Paul Kulchenko
fd9395c498 Updated love2d API for v0.10.0 (#247). 2015-12-23 10:07:42 -08:00
Paul Kulchenko
46b42b5726 Updated script to process new love2d API format (with variants). 2015-12-23 10:00:14 -08:00
Paul Kulchenko
073586cbcd Added unfolding fragments that include activated line during debugging (closes #575). 2015-12-22 09:51:29 -08:00
Paul Kulchenko
b1876c13a4 Added skipping comment when none is provided in the Stack (instead of showing nil). 2015-12-20 17:36:29 -08:00
Paul Kulchenko
f436e8748a Fixed resetting the default interpreter after selecting a non-existent one. 2015-12-19 20:39:46 -08:00
Paul Kulchenko
b6eb057091 Updated showing filename of the missing interpreter in the project list (#570). 2015-12-18 12:53:15 -08:00
Paul Kulchenko
e229c2f9b6 Fixed restoring project-specific interpreter when switching projects (#570). 2015-12-18 12:52:03 -08:00
Paul Kulchenko
c46542dbe6 Fixed restoring project-specific interpreter after relaunch (fixes #570). 2015-12-18 12:50:18 -08:00
Paul Kulchenko
97c7bb96e7 Reorganized restoring settings to make current file better visible in the project tree. 2015-12-18 10:38:29 -08:00
Paul Kulchenko
5da31d21a5 Updated CHANGELOG with recent changes. 2015-12-17 12:36:39 -08:00
Paul Kulchenko
e8d459610c Added skipping comments in the lexer to avoid splitting statements (fixes #568). 2015-12-15 12:11:29 -08:00
Paul Kulchenko
68b4b4290c Updated build script to build lfs on Windows (closes #566). 2015-12-14 19:51:22 -08:00
Paul Kulchenko
285f4d18e7 Added GetExePath method for the interpreter (#166). 2015-12-12 17:31:46 -08:00
Paul Kulchenko
78e525533f Added package GetFilePath method (#166). 2015-12-12 17:21:06 -08:00
Paul Kulchenko
46776157af Fixed expanding sub-trees in project directory when set to the disk root on Windows.
This issue was caused by a combination of factors:
(1) the project directory is shown as 'd:\abc\xyz' (without trailing slash),
but root directories are shown as 'd:\' (with trailing slash);
(2) project dir is concatenated with a subdir, which produces 'd:\\abc\xyz' folder;
(3) wxwidgets normalizes that path as 'd:\<insert-current-directory-here>\abc\xyz',
which doesn't exist, and as the result the directory doesn't expand when requested.
2015-12-11 09:06:36 -08:00
Paul Kulchenko
f11715fe0e Updated config sample with a minor fix. 2015-12-09 19:41:14 -08:00
Paul Kulchenko
c3d64c7a76 Fixed search navigation after selecting one variable instance (fixes #565). 2015-12-07 12:54:21 -08:00
Paul Kulchenko
f1bb792287 Fixed editing fragments in folded text (follow-up to d2ddc96a; #564). 2015-12-06 21:28:13 -08:00
Paul Kulchenko
52c2bf4dec Fixed editing multiple selections when selection is in folded fragments (fixes #564). 2015-12-06 21:27:53 -08:00
Paul Kulchenko
6516c6460e Optimized path generation in directory traversal (#260).
This also fixes an issue with results of the traversal with removed path
that produced incorrect results when non-native separators are used (for
example, when `a/b` is used on Windows).
2015-12-05 15:20:56 -08:00
Paul Kulchenko
c621c66177 Added showhiddenfiles option to show hidden files in the filetree (closes #561). 2015-12-04 16:09:50 -08:00
Paul Kulchenko
074eead909 Added package RemovePanel method (#166). 2015-12-02 11:10:34 -08:00
Paul Kulchenko
8a8210272b Added loading of custom package from the config file (closes #555).
Packages can be loaded as `package "file.lua"` or `package "directory/"`.
2015-12-01 21:50:36 -08:00
Paul Kulchenko
b5e6f50f53 Added Alt-Enter to "replace all" when replace field is selected in the search panel. 2015-11-30 23:12:17 -08:00
Paul Kulchenko
4261d4927e Added setting project directory to the selected directory to the project tree menu. 2015-11-29 22:26:27 -08:00
Paul Kulchenko
ca87b9a721 Updated build scripts to use own wxwidgets repository to better sync build versions (#260). 2015-11-28 21:50:07 -08:00
Paul Kulchenko
927a7535a0 Updated build scripts to remove an error from the check for missing methods in wxlua.
The check is not necessary and it leads to a memory leak in wxlua.
2015-11-26 15:56:36 -08:00
Paul Kulchenko
a62f5ff309 Removed a workaround for wxlua build issue as it's no longer needed. 2015-11-26 15:54:11 -08:00
Paul Kulchenko
d0e403c5eb Updated README to remove outdated .ini reference from Estrela section. 2015-11-25 17:33:37 -08:00
Paul Kulchenko
cedf05d94a Updated instructions in the estrela configuration file to reference include command. 2015-11-25 17:32:21 -08:00
Paul Kulchenko
8c25559745 Added ignoring Ctrl-CapsLock in the editor that was shrinking the font. 2015-11-24 19:51:24 -08:00
Paul Kulchenko
cece22a490 Updated luasec build script to use the latest openSSL version (1.0.2d). 2015-11-24 13:54:44 -08:00
Paul Kulchenko
924c7c09dc Added recursive processing of configuration files with relative names (#555). 2015-11-23 16:58:11 -08:00
Paul Kulchenko
b0d806a17b Merge branch 'wxstc-raw' 2015-11-23 15:45:02 -08:00
Paul Kulchenko
018dbd73a2 Updated UTF-8 validation to use wxwidgets libraries for better performance (#556). 2015-11-23 15:44:37 -08:00
Paul Kulchenko
1905193c5e Added moving cursor to the end of the pasted fragment (#556). 2015-11-23 15:44:36 -08:00
Paul Kulchenko
2ca6d9cd2a Fixed copy/paste on Windows when UTF-8 invalid strings end in new line (#260, #556). 2015-11-23 15:44:36 -08:00
Paul Kulchenko
d809befe80 Updated clipboard copy to make non-UTF-8 data to work on OSX (#260, #556). 2015-11-23 15:44:35 -08:00
Paul Kulchenko
02fb9c1b0c Updated Console history to work with UTF-8 invalid strings (#260, #556). 2015-11-23 15:44:35 -08:00
Paul Kulchenko
5350f4e665 Added workaround for copying UTF-8 invalid data to/from clipboard (#260, #556). 2015-11-23 15:44:34 -08:00
Paul Kulchenko
1e0e37aa5a Updated Ctrl/Shift-Ins and Shift-Del to work in all editors (#260, #556). 2015-11-23 15:44:34 -08:00
Paul Kulchenko
accce7df2f Updated Output and Console to display invalid characters as is (#260, #556). 2015-11-23 15:44:33 -08:00
Paul Kulchenko
0d6d6aecb8 Updated config sample to remove no longer needed G references. 2015-11-22 19:09:17 -08:00
Paul Kulchenko
069e78cdde Updated config processing to simplify access to global functions. 2015-11-21 19:25:28 -08:00
Paul Kulchenko
1d9902c74e Updated config processing to allow use of package field. 2015-11-21 19:24:40 -08:00
Paul Kulchenko
5bd6a52963 Added CloseAll and CloseAllExcept document methods (#166). 2015-11-21 18:18:00 -08:00
Paul Kulchenko
9c08a120f2 Improved handling of names with Unicode chars during debugging on Windows (#559). 2015-11-20 09:58:46 -08:00
Paul Kulchenko
71d2318303 Updated windows launcher code to use manifest for hidpi awareness. 2015-11-19 10:15:06 -08:00
Paul Kulchenko
c4701b590f Added warning in the interpreter when a short name not generated on Windows (closes #559). 2015-11-19 10:14:01 -08:00
Paul Kulchenko
d219aeb2b5 Moved wxlua version number to a better location in the About screen. 2015-11-19 10:10:54 -08:00
Paul Kulchenko
d605bab828 Added check for recover record to be fully present. 2015-11-19 10:10:54 -08:00
Paul Kulchenko
dfee96e1d7 Added using *Raw methods when available for handling of invalid UTF-8 chars (#260, #556). 2015-11-16 20:54:09 -08:00
Paul Kulchenko
d422fe52cb Updated AddConfig method to accept single filename in addition to a list (#166). 2015-11-16 15:40:44 -08:00
Paul Kulchenko
bab5f069d9 Limited requesting attention on debugging starts to happen when debugging is suspended.
Related tickets: #449, #454, #548
2015-11-14 14:19:22 -08:00
Paul Kulchenko
d1f755e38c Extended PATH on OSX with /usr/local/bin to provide access to tools in that folder (#356). 2015-11-13 14:36:11 -08:00
Paul Kulchenko
8fbf0650a0 Fixed debugging of Busted scripts (closes #552). 2015-11-10 12:53:48 -08:00
Paul Kulchenko
7def69b96e Switched to using KEY event in search panel to make it work with wxwidgets 3.1+ (#260). 2015-11-09 18:33:21 -08:00
Paul Kulchenko
1f573639b1 Updated event handling to better handle events that are executed once (#260).
This update allow events that are handled once to be reset from the
handler (as they are removed before the handler is called).

This update also fixes the issue with an idle event being called from a
handler for on-idle event, which happens with wxwidgets 3.1+.
2015-11-08 22:47:31 -08:00
Paul Kulchenko
0c178d12b3 Updated sample package events for more accurate output. 2015-11-08 22:38:21 -08:00
Paul Kulchenko
c92fbe1619 Updated default size/position for the first launch without saved settings. 2015-11-07 17:33:40 -08:00
Paul Kulchenko
9dd0a6962e Merge branch 'find-in-selection' (closes #547). 2015-11-07 16:53:50 -08:00
Paul Kulchenko
1ecc0755f9 Updated tests to use a separate .ini file to minimize conflicts. 2015-11-06 22:45:02 -08:00
Paul Kulchenko
a25aeac530 Added FileRemove method (#166). 2015-11-06 22:44:13 -08:00
Paul Kulchenko
f506a58b01 Added package onAppDone method (#166). 2015-11-06 22:42:56 -08:00
Paul Kulchenko
6ec1f7b723 Deleted api README as it's no longer needed. 2015-11-05 19:21:34 -08:00
Paul Kulchenko
55b89962e1 Updated Corona API for v2015.2731. 2015-11-04 15:41:44 -08:00
Paul Kulchenko
21733c0391 Updated Corona API processing script to follow Lua guidelines. 2015-11-04 15:19:34 -08:00
Paul Kulchenko
b5e078c810 Updated Corona API processing script to handle type inheritance. 2015-11-04 15:18:26 -08:00
Paul Kulchenko
0c8105d9be Added sorting the list of known extensions. 2015-11-03 20:38:19 -08:00
Paul Kulchenko
45f4847ab2 Updated Save As/Open command to use editor specific extensions instead of all. 2015-11-03 20:36:48 -08:00
Paul Kulchenko
b2d4ef59eb Added outline.showcompact setting to keep outline more compact for large files (closes #549). 2015-10-30 12:37:22 -07:00
Paul Kulchenko
ce208807f8 Updated capturing editor information during search to work with selections (#547, #416). 2015-10-29 18:49:25 -07:00
Paul Kulchenko
8f66d1a94a Added updating selection boundaries after replace-in-selection (#547). 2015-10-29 15:05:42 -07:00
Paul Kulchenko
93666b7dee Added message about reaching the end of selection during search (#547). 2015-10-29 10:52:40 -07:00
Paul Kulchenko
26e17dc6b1 Updated Replace and Replace All to take selection into account (#547, #416). 2015-10-29 10:52:20 -07:00
Paul Kulchenko
25adfbac15 Added search in selection button to the search panel toolbar (#547). 2015-10-29 10:51:50 -07:00
Paul Kulchenko
7772b85c2d Updated toolbar icons to fix black color in some images. 2015-10-27 21:03:04 -07:00
Paul Kulchenko
15b5f42dca Updated SetDllDirectory handling to avoid breaking dlopen with wxwidgets 3.1+ (#260). 2015-10-26 22:36:23 -07:00
Paul Kulchenko
9e20934f6d Fixed skipping editor tabs when clicked in some cases on OSX (closes #546). 2015-10-25 09:02:08 -07:00
Paul Kulchenko
cac7055f52 Added resizing toolbar background after resizing the application window. 2015-10-25 09:00:46 -07:00
Paul Kulchenko
36d4bfb9e5 Updated Corona interpreter to avoid caching specified path. 2015-10-24 20:40:27 -07:00
Paul Kulchenko
d3fde27a50 Replaced ConsoleClear with Erase methods for the Console object. 2015-10-24 15:59:55 -07:00
Paul Kulchenko
dcfaa7cbac Updated tests to handle platform-specific tests. 2015-10-23 18:44:53 -07:00
Paul Kulchenko
2bc5bc0c8e Updated directory traversing tests to work with smaller directories. 2015-10-23 17:21:13 -07:00
Paul Kulchenko
5c6d570368 Added timing to the tests. 2015-10-23 17:14:31 -07:00
Paul Kulchenko
1f8b2a746f Fixed texts that use Console. 2015-10-23 17:10:31 -07:00
Paul Kulchenko
3940aa6c6a Updated default file mask to match files without extension (#260). 2015-10-23 14:53:33 -07:00
Paul Kulchenko
c3134f85b1 Fixed text validation tests to avoid skipping results. 2015-10-23 14:27:23 -07:00
Paul Kulchenko
2563e5fa4a Updated tests to use a package instead of the obsolete app method. 2015-10-23 14:09:27 -07:00
Paul Kulchenko
a260cdf5c9 Removed search panel from the list of floated panels as it shouldn't be there. 2015-10-23 11:53:27 -07:00
Paul Kulchenko
6b226c1d1a Fixed toolbar size not being adjusted on the very first launch. 2015-10-23 10:51:01 -07:00
Paul Kulchenko
5c28a54a40 Switched to using client size instead of system metric to get screen width (#260).
The system metric reported incorrectly on OSX: http://trac.wxwidgets.org/ticket/17141#comment:5
2015-10-23 10:28:59 -07:00
Paul Kulchenko
33795ce0fd Updated wxwidget path in the build script to use git repository after wxwidgets migration. 2015-10-22 22:01:12 -07:00
Paul Kulchenko
25ec466ce6 Added context menu item to clear text in the Console window. 2015-10-21 21:37:38 -07:00
tmiv
56b9975804 Allow shortcuts to be added to tools menu items
The proposed change will allow keyboard shortcuts to tools menu items in the user file.

keymap[ID("tools.exec.ssm_compile")] = "Ctrl-B"
2015-10-20 14:34:26 -07:00
Paul Kulchenko
e353872dfb Added context menu to select a (clicked on) command in the Console window. 2015-10-20 09:06:22 -07:00
Paul Kulchenko
ed2f692447 Added onMenuConsole event (#166). 2015-10-19 08:52:19 -07:00
Paul Kulchenko
3e1d816d59 Disabled printing on Linux as it has errors in page layout (#540). 2015-10-17 13:24:24 -07:00
Paul Kulchenko
a84118c8f7 Added reporting printing progress (#540). 2015-10-17 13:13:48 -07:00
Paul Kulchenko
912f23acee Fixed printing error on Linux (#540). 2015-10-16 11:18:59 -07:00
Paul Kulchenko
6980167b6f Fixed printing of the Output window (#540). 2015-10-15 10:34:37 -07:00
Paul Kulchenko
526b18f924 Added package IsValidProperty method (#166). 2015-10-15 10:34:10 -07:00
Paul Kulchenko
d2407c3faa Added separator to the print-related menu items on OSX (#540). 2015-10-14 22:22:51 -07:00
Paul Kulchenko
33b07a5c96 Updated menu shortcuts to avoid conflicts in the File menu (#540). 2015-10-13 16:54:20 -07:00
Paul Kulchenko
fccdf61283 Added header/footer printing (#540). 2015-10-13 16:50:51 -07:00
Paul Kulchenko
970058c729 Added printing of the current editor tab (closes #540). 2015-10-13 16:47:45 -07:00
Paul Kulchenko
7941617dfd Add package GetIndicators method (#166). 2015-10-13 15:23:05 -07:00
Paul Kulchenko
122ebea0f7 Added editor.wrapmode to configure wrapping mode in the editor. 2015-10-13 15:21:28 -07:00
Paul Kulchenko
ad4d77f4e8 Fixed not distingushing between () and (nil) calls in GetEditorWithFocus (#166). 2015-10-13 15:19:18 -07:00
Paul Kulchenko
7fd74e0742 Added reporting of another instance running under a different user (closes #542). 2015-10-13 08:06:31 -07:00
Paul Kulchenko
6e4a0f113b Added opening multiple files from the Open dialog (closes #541). 2015-10-12 08:32:11 -07:00
Paul Kulchenko
1e3b630043 Removed allowinteractivescript setting as it doesn't need to be configurable (#538). 2015-10-11 20:05:50 -07:00
Paul Kulchenko
d33dfc4570 Allowed reading input in the Output window without printing something first (closes #538). 2015-10-11 20:05:39 -07:00
Paul Kulchenko
ce46925237 Updated README with features in 1.20. 2015-10-09 20:31:40 -07:00
Paul Kulchenko
653d9b52ca Updated documentation for 1.20. 2015-10-08 15:24:01 -07:00
Paul Kulchenko
d74711580b Upgraded Lua 5.3 interpreter to 5.3.1 on Linux (x86 and x64). 2015-10-07 20:10:59 -07:00
Paul Kulchenko
2a164bee4e Upgraded Lua 5.3 interpreter to 5.3.1 on OSX. 2015-10-07 19:42:06 -07:00
Paul Kulchenko
70f51b7ba7 Updated CHANGELOG with translation updates. 2015-10-06 22:14:06 -07:00
Paul Kulchenko
74a37fb2c1 Updated Russian translation (#70). 2015-10-05 10:02:33 -07:00
Paul Kulchenko
f6f4797483 Merge branch 'italian-translation' (#70, closes #536). 2015-10-05 08:24:51 -07:00
Leo Bartoloni
4ace576eb2 fixed translations 2015-10-05 08:23:26 -07:00
Leo Bartoloni
0b3084964c Added italian translations 2015-10-05 08:23:26 -07:00
Leo Bartoloni
d3b6ab00a3 Added Italian translations 2015-10-05 08:23:26 -07:00
Paul Kulchenko
f4527705aa Upgraded Lua 5.3 interpreter to 5.3.1 on Windows (closes #453, closes #460).
This also fixes seek/tell functions on large (>2GB) files on Windows.
2015-10-04 09:11:14 -07:00
riidom
ae4c4a1f02 Update de.lua
completed
2015-10-03 14:10:12 +02:00
riidom
b5fa3955dd Update de.lua
2 nils missing, see respective issue pls.
2015-10-03 12:49:00 +02:00
Paul Kulchenko
f7e3b71b94 Updated CHANGELOG with recent changes. 2015-10-02 19:44:56 -07:00
Yonaba
ebd5557620 Updated french translation as of commit 84c2846033 (#70) 2015-10-03 01:13:58 +00:00
Paul Kulchenko
84c2846033 Updated translation files for new messages (#70). 2015-09-30 20:44:20 -07:00
Paul Kulchenko
29e8fbfda8 Updated a message to match one of the existing ones (#70). 2015-09-30 20:32:21 -07:00
Paul Kulchenko
9dc00aa39b Updated translation logic to accept empty tables for pluralization values (#70). 2015-09-30 20:21:46 -07:00
Paul Kulchenko
cd7692cdc1 Added handling of translation messages that require pluralization (#70). 2015-09-30 20:21:04 -07:00
Paul Kulchenko
0d604bfd1d Fixed text search and fuzzy symbol search in symlinks (#458, #530). 2015-09-26 21:49:56 -07:00
Paul Kulchenko
10257c5034 Updated build scripts to use the most recent releases of LuaJIT and Lua 5.2. 2015-09-25 14:56:33 -07:00
Paul Kulchenko
1b3cd9a11b Added check for non-zero file size before reporting load progress (#530). 2015-09-24 11:57:50 -07:00
Paul Kulchenko
125850f150 Added switching interpreters by clicking on the interpreter label in the status bar. 2015-09-23 10:08:04 -07:00
Paul Kulchenko
e6ab186571 Added handling of editor commands (Copy/Paste/SelectAll/Undo/Redo) in search panel controls. 2015-09-22 18:19:26 -07:00
Paul Kulchenko
c5e6c9608c Fixed an error when scope field is updated in the search dialog (side effect of 8dc07e22). 2015-09-21 22:00:48 -07:00
Paul Kulchenko
576da864fb Added position to the end-of-file lexer token (closes #529). 2015-09-21 10:18:58 -07:00
Paul Kulchenko
7606d014e2 Updated OSX launcher to keep DYLD_LIBRARY_PATH if already set. 2015-09-20 14:19:19 -07:00
Paul Kulchenko
0f37b84027 Added reporting when a file can't be removed from a project tree. 2015-09-18 09:09:19 -07:00
Paul Kulchenko
845f5863f9 Fixed opening only one tab for external debugging of dynamic code on Linux (closes #526). 2015-09-17 13:59:58 -07:00
Paul Kulchenko
fe6b57811c Merge branch 'master' of https://github.com/marmalade/ZeroBraneStudio 2015-09-17 09:27:32 -07:00
Nick
a583431a03 Fix live picking up debug vs release binaries
Was previously picking up the switch from Marmalade Hub only at the
point where ZB is opened from the Hub. This change makes it work "live"
- picks up the last hub setting whenever you run the project in ZB.
2015-09-17 16:39:10 +01:00
Nick
c4ad99c913 Update marmalade API definition to 7.9
Updated API definition to match 7.9 APIs (Valid back to 7.8 as no new
APIs since then)
2015-09-17 16:39:10 +01:00
Nick
8e06c1de5c Integrate ZeroBrane with Marmalade's Hub GUI
Output from Marmalade simulator now goes to ZB console instead of
external window.
Marmalade interpreter now reads config info from Hub project and uses
these loader binaries: "release sim" for release configuration, and
"console" for debug.
Save project settings immediately.
NB: Requires Marmalade > 7.9.0 for interpreter to be set automatically.
Older versions will work but user has to set interpreter.
2015-09-17 16:36:40 +01:00
Paul Kulchenko
45c38ab3ec Fixed running Run/Debug commands on unnamed files; regression from 5e4e1962. 2015-09-17 08:24:14 -07:00
Paul Kulchenko
9005b25723 Added explicit initialization for editor.autoactivate default setting. 2015-09-16 22:44:39 -07:00
Paul Kulchenko
aece6108aa Added allowing editor.saveallonrun with infervalue static analyzer (closes #524). 2015-09-16 22:43:05 -07:00
Paul Kulchenko
d2e7a8908a Updated static analyzer (luainspect) to take globals in 'required' files into account (#520).
This change is in effect only when `staticanalyzer.infervalue` is set to `true`.
2015-09-15 15:52:08 -07:00
Paul Kulchenko
9287326291 Updated static analyzer to refresh cache of 'required' modules (#520). 2015-09-15 15:50:28 -07:00
Paul Kulchenko
a4ef4f64b3 Added support for include command in config files. 2015-09-14 12:09:57 -07:00
Paul Kulchenko
c6bf32b0d2 Updated 'auto-completing...' message to hide after a brief delay. 2015-09-12 22:48:48 -07:00
Paul Kulchenko
578fcb1518 Disabled unhiding one of wxwidgets windows that is only used for message passing (Windows). 2015-09-11 17:01:53 -07:00
Paul Kulchenko
8a455a0077 Added document Close method (#166). 2015-09-11 17:00:44 -07:00
Paul Kulchenko
e2331637af Added descriptions for new Lua 5.3 math.* and coroutine.* functions. 2015-09-10 13:10:50 -07:00
Paul Kulchenko
2de0f88d10 Added functions new to Lua 5.3 to the list of keywords. 2015-09-10 12:55:58 -07:00
Paul Kulchenko
a1e7d262fd Added reporting of deserialization failures for saved package data. 2015-09-09 22:18:50 -07:00
Paul Kulchenko
75056fa9c2 Simplified reporting of error messages from the main script. 2015-09-09 22:18:15 -07:00
Paul Kulchenko
e5d7341e43 Fixed highlighting for those specs that don't have information on where functions end (#515). 2015-09-08 22:16:36 -07:00
Paul Kulchenko
a8cede0052 Merge branch 'master' of http://git.code.sf.net/p/estrelaeditor/code 2015-09-08 22:12:37 -07:00
Paul Kulchenko
036cf0b745 Updated C/cpp spec to skip if(...) from the list of functions. 2015-09-08 15:15:47 -07:00
Paul Kulchenko
41964c458e Updated C/cpp spec to properly handle functions at the beginning of a file. 2015-09-08 15:15:04 -07:00
Paul Kulchenko
a7ae8713d8 Added collapsing white spaces from names shown in the Outline. 2015-09-08 14:57:22 -07:00
Paul Kulchenko
e80118de1e Updated package data serialization to use simpler dumper for faster processing. 2015-09-07 21:20:15 -07:00
Paul Kulchenko
aa32586f94 Updated saving symbol index to be called less frequently (#499). 2015-09-07 21:16:47 -07:00
Paul Kulchenko
c3dafa0af8 Updated list of fields to skip from saved symbol index (#499). 2015-09-07 21:15:59 -07:00
Paul Kulchenko
2078608012 Fixed highlighting the current function when anonymous functions are hidden (#515). 2015-09-05 10:42:52 -07:00
Paul Kulchenko
5e4e1962bd Updated Run/Debug to not force saving new tabs when Start file is set. 2015-09-04 11:56:38 -07:00
Christoph Kubisch
95ecc1876d glslc tool: add menu option for pre-process mode 2015-09-04 19:28:17 +02:00
Paul Kulchenko
8dc07e2282 Added workaround for a memory leak in wxlua after a search panel is opened.
The leak happens when a non-existing property is checked on a wxlua object
inside `pcall`. wxlua throws `wxLua: Unable to call an unknown method '...' on
a '...' type.`, which is handled correctly, but leaks about 0.5Kb per call.
2015-09-03 11:21:23 -07:00
Paul Kulchenko
b9ac6ce4c4 Updated default interpreter not set in the previous commit (#518). 2015-09-02 22:22:55 -07:00
Paul Kulchenko
7541b830ea Updated interpreter handling to allow setting of default value in the config (closes #518). 2015-09-02 20:55:06 -07:00
Paul Kulchenko
1f83927462 Updated highlighting of the current function in the Outline to select one item (#515). 2015-09-02 08:54:29 -07:00
Paul Kulchenko
14d55bdfe3 Added jumping to the current function in the outline (#515). 2015-08-31 15:20:48 -07:00
Paul Kulchenko
26f0a6bd4c Added highlighting current functions for better visibility (#515). 2015-08-30 16:01:05 -07:00
Paul Kulchenko
5a1b42330f Added skipping unneded fields from the symbol index to reduce memory usage (#515). 2015-08-30 16:00:37 -07:00
Paul Kulchenko
413a6b611f Disabled initial highlight when showing current function disabled in the outline (#515). 2015-08-30 15:32:26 -07:00
Paul Kulchenko
34276cf9ff Added showing position of the current function in the Outline (closes #515). 2015-08-29 14:51:36 -07:00
Paul Kulchenko
45a4924686 Added explicit editor destroy during find and replace to conserve memory. 2015-08-28 09:21:26 -07:00
Paul Kulchenko
cc085d4fb4 Added explicit editor destroy during symbol indexing to conserve memory. 2015-08-28 09:20:39 -07:00
Paul Kulchenko
dbf6098e84 Added turning jitting on when running under LuaJIT. 2015-08-23 15:39:06 -07:00
Paul Kulchenko
752b30166c Added Run to Cursor to the popup menu in the editor (#413). 2015-08-22 22:06:20 -07:00
Paul Kulchenko
443903b528 Fixed styling of comments that include markup inside markup (fixes #514). 2015-08-18 22:41:13 -07:00
Paul Kulchenko
fc408c794c Added showing memory usage stats in the status bar configured by showmemoryusage. 2015-08-13 22:27:41 -07:00
Paul Kulchenko
ddd5e41659 Disabled dragging out search results tab to avoid unexpected results (#416). 2015-08-12 15:45:44 -07:00
Paul Kulchenko
f63b140c14 Updated auto-complete to close when one of the options matches the current input. 2015-08-11 23:09:09 -07:00
Paul Kulchenko
f84424da44 Updated applying limit to the commandbar results to allow them to be resorted. 2015-08-10 15:50:32 -07:00
Paul Kulchenko
21a4e9862a Fixed updating symbols in new files that haven't been indexed yet (#499). 2015-08-10 15:50:00 -07:00
Paul Kulchenko
fc9bc61d9c Fixed opening empty files (fixes #510). 2015-08-09 22:32:59 -07:00
Paul Kulchenko
90fd18f8a0 Added skipping opening a file from symbol search when nothing is matched. 2015-08-09 22:27:26 -07:00
Paul Kulchenko
49335e62cf Merge branch 'project-symbol-search' 2015-08-09 20:10:29 -07:00
Paul Kulchenko
fd31261ec4 Fixed autocomplete for words that may include underscores in suggestions. 2015-08-09 19:59:58 -07:00
Paul Kulchenko
8c00238409 Added skipping directories during directory traversal (#499). 2015-08-09 19:55:28 -07:00
Paul Kulchenko
52389e9897 Updated status messages for better visibility on OSX during index refresh (#499). 2015-08-09 19:53:49 -07:00
Paul Kulchenko
23322f4e47 Added SetStatusFor package method to set temporary status (#166). 2015-08-09 19:51:06 -07:00
Paul Kulchenko
f22918b494 Added forcing immediate refresh of symbol index when requested from the menu (#499). 2015-08-08 17:49:08 -07:00
Paul Kulchenko
3ff35270fc Fixed crash on OSX during symbol indexing when filetree menu is open (#499). 2015-08-07 20:15:41 -07:00
Paul Kulchenko
45bb80e92e Updated tracking of editor updates to skip unneeded notifications on OSX (#499). 2015-08-07 16:48:03 -07:00
Paul Kulchenko
582c63b042 Fixed crash on Linux during symbol indexing when filetree menu is open (fixes #507). 2015-08-07 15:19:40 -07:00
Paul Kulchenko
53e2bfa06a Improved auto-complete suggestions for case-sensitive matches. 2015-08-06 22:14:00 -07:00
Paul Kulchenko
46e103dea3 Fixed duplicates between variables and dynamic words in auto-complete. 2015-08-06 21:58:46 -07:00
Paul Kulchenko
fb06395bf9 Fixed uncommenting of the last line in the selection to keep un/comment reversible (fixes #509). 2015-08-05 10:18:14 -07:00
Paul Kulchenko
110264beb8 Added onMenuOutput event (#166). 2015-08-03 13:52:22 -07:00
Paul Kulchenko
579005ae2e Added onMenuWatch event (#166). 2015-08-02 20:45:24 -07:00
Paul Kulchenko
bd208273bc Added disabling symbol indexing for directories/projects (#499). 2015-08-01 11:19:12 -07:00
Paul Kulchenko
a587857b2c Added refreshing of symbol index to the project menu (#499). 2015-07-31 10:22:36 -07:00
Paul Kulchenko
6b94ce24de Added reporting of the number of files queued for indexing (#499). 2015-07-30 10:29:49 -07:00
Paul Kulchenko
bbb7f6a423 Added reporting when indexing is completed (#499). 2015-07-30 10:29:22 -07:00
Paul Kulchenko
cc83b80022 Updated symbol refresh to do processing as soon as the path is known (#499). 2015-07-30 10:28:38 -07:00
Paul Kulchenko
069e9def30 Refactored file and editor symbol handling (#499). 2015-07-30 09:35:35 -07:00
Paul Kulchenko
6790cc4190 Added GetOutline package method (#166, #499). 2015-07-29 23:20:27 -07:00
Paul Kulchenko
5171a20852 Added exclusion to not report arg as global in static analysis (closes #503). 2015-07-28 14:15:25 -07:00
Paul Kulchenko
153a2d162b Added commandbar.width to set the width of command bar. 2015-07-27 22:17:26 -07:00
Paul Kulchenko
cc35ca76ff Added skipping symbol index queue when symbol inactivity is not set (#499). 2015-07-26 19:57:47 -07:00
Paul Kulchenko
7f7aa6383e Updated symbol index to skip unused elements in serialization (#499). 2015-07-25 23:41:10 -07:00
Paul Kulchenko
54ffda99c5 Upgraded Mobdebug (0.628) to include keyignore serializer option. 2015-07-25 23:39:35 -07:00
Paul Kulchenko
d0a1e792d6 Added setting different types of indentation guides. 2015-07-22 15:34:27 -07:00
Paul Kulchenko
cdc464b6cf Updated prefiltering to limit prefix to avoid penalty for long s.*s.*s... (#31). 2015-07-22 15:32:55 -07:00
Paul Kulchenko
62118654f7 Added optimization with prefiltering for short patterns (#31, #499). 2015-07-21 23:13:01 -07:00
Paul Kulchenko
a17080bde7 Updated package SetSettings method to allow passing of additional parameters (#166). 2015-07-20 14:51:52 -07:00
Paul Kulchenko
85e186bdd5 Added status message during index update (#499). 2015-07-19 09:20:47 -07:00
Paul Kulchenko
e6495beec7 Improved compactness of saved package settings (#166, #499). 2015-07-18 16:19:20 -07:00
Paul Kulchenko
69c4415452 Improved performance of saving symbol index data (#499). 2015-07-17 15:31:32 -07:00
Paul Kulchenko
076d08afc8 Optimized saving package settings (#166, #499). 2015-07-17 15:26:56 -07:00
Paul Kulchenko
785af96859 Added purging of outdated cache for symbol indexing (#499). 2015-07-16 17:07:18 -07:00
Paul Kulchenko
46b02faac7 Updated status of files indexing for symbol search (#499). 2015-07-16 16:32:17 -07:00
Paul Kulchenko
da8aed3f25 Added symbol processing of tabs that are not saved yet (#499). 2015-07-16 14:40:24 -07:00
Paul Kulchenko
fa79f3b501 Added indexing of project files (#499). 2015-07-16 13:54:44 -07:00
Paul Kulchenko
008c040171 Added commandbar.maxitems configuration setting (#499). 2015-07-16 10:37:24 -07:00
Paul Kulchenko
eb73e209b4 Updated DoWhenIdle handling to gracefully handle a long queue. 2015-07-16 10:36:25 -07:00
Paul Kulchenko
1ecb99420c Added caching of symbols for open files (#499). 2015-07-16 10:12:31 -07:00
Paul Kulchenko
ef82d423b6 Updated Go To Symbol to refresh files loaded in the preview (#499, #385). 2015-07-15 22:13:39 -07:00
Paul Kulchenko
69e9807990 Updated symbol search to only refresh outline when it's not populated (#385). 2015-07-15 16:33:32 -07:00
Paul Kulchenko
abd6560faf Added support for file.lua@symbol fuzzy search (#385). 2015-07-14 12:37:54 -07:00
Paul Kulchenko
74eecb999e Added symbol search in all open files (#385). 2015-07-14 12:37:53 -07:00
Paul Kulchenko
789078f86e Optimized UTF8 validation (thanks to Joergen von Bargen). 2015-07-14 10:13:46 -07:00
Paul Kulchenko
09f7a56fdd Added check to avoid loops in type assignment during auto-complete (#498). 2015-07-12 16:03:10 -07:00
Paul Kulchenko
3ffc6d1354 Fixed assignment parsing when the type value is re-assigned (#498). 2015-07-12 15:13:20 -07:00
Paul Kulchenko
69d2788bfd Added primitive handling of require in type assignments for known APIs (fixes #498). 2015-07-12 15:12:45 -07:00
Paul Kulchenko
b4656ca0f6 Updated search logic to avoid showing search results in recent files (#416). 2015-07-10 21:48:29 -07:00
Paul Kulchenko
813c8de968 Updated line number handling to adjust for large files (#491). 2015-07-09 12:42:48 -07:00
Paul Kulchenko
f5077b89a2 Fixed mouse selection in auto-complete on OSX (fixes #496). 2015-07-08 18:06:41 -07:00
Paul Kulchenko
aa40d7f7c3 Updated busted interpreter to check for proper extension on Windows (closes #495). 2015-07-07 10:54:02 -07:00
Paul Kulchenko
97e4d11dd2 Updated handling of binary and utf8 validness checks for large files (#491). 2015-07-07 10:52:56 -07:00
Paul Kulchenko
3816be8336 Fixed fuzzy file search to not double open already opened files (#31). 2015-07-06 16:26:38 -07:00
Paul Kulchenko
353c99a182 Upgraded Mobdebug (0.627) to improve debugging of code with overloaded string methods.
The upgrade also eliminated a need to overwrite `os.exit` in the controller.
2015-07-06 15:23:51 -07:00
Paul Kulchenko
b8ab9968f8 Improved memory usage when closing large files (#491). 2015-07-06 15:09:00 -07:00
Paul Kulchenko
1d8663942e Added support for aborting file reading callback (#491). 2015-07-05 19:20:49 -07:00
Paul Kulchenko
1b8dd87843 Added progress display when loading large files (#491). 2015-07-05 10:03:17 -07:00
Paul Kulchenko
0ce1700dfc Improved handling of large files (#491). 2015-07-04 22:42:58 -07:00
Paul Kulchenko
8167c67f35 Added status methods: GetStatus, PushStatus, and PopStatus (#166). 2015-07-04 22:18:06 -07:00
Paul Kulchenko
6e0a168230 Updated build scripts for Lua 5.3 to use 5.3.1. 2015-07-03 13:58:47 -07:00
Paul Kulchenko
91fcca962d Added onMenuOutline callback (#166, #337). 2015-07-02 15:10:53 -07:00
Paul Kulchenko
3e0d507a2a Added ability to toggle outline sorting from the local menu (#337, #494). 2015-07-02 15:09:25 -07:00
Paul Kulchenko
a864d5c889 Added activating Output panel after compilation errors. 2015-07-01 15:00:13 -07:00
Paul Kulchenko
dc0064ad70 Updated toolbar to show large icons by default on large screens. 2015-06-29 21:37:07 -07:00
Paul Kulchenko
8e893e3b9e Fixed indentation of lines that end with partial long strings with opening brackets (#324). 2015-06-28 14:14:52 -07:00
Paul Kulchenko
d7def66cf3 Fixed indentation of lines with long strings that include opening brackets (#324). 2015-06-28 14:14:14 -07:00
Paul Kulchenko
5adc17d7bb Refactored status updates to use SetStatus method. 2015-06-26 13:58:08 -07:00
Paul Kulchenko
bf82fd23e2 Replaced references to internal variables with method calls (#166). 2015-06-26 12:09:24 -07:00
Paul Kulchenko
41d29c3bc0 Updated package methods to use self reference as needed (#166). 2015-06-26 12:07:38 -07:00
Paul Kulchenko
1bd10f98c8 Added package SetStatus method (#166). 2015-06-26 11:53:40 -07:00
Paul Kulchenko
d302c35221 Updated message to reference package methods instead of obsolete ones. 2015-06-26 09:14:11 -07:00
Paul Kulchenko
d460b380c1 Added Ctrl/Cmd-Enter/Ctrl/Cmd-Shift-Enter to add line after/before the current one (#334). 2015-06-26 09:12:45 -07:00
Paul Kulchenko
9a2d98f7ca Added ignoring current selection in auto-complete with Shift-Enter (closes #494). 2015-06-26 09:11:13 -07:00
Paul Kulchenko
e5fa2afe3c Added hiding auto-complete after typing one of the offered options (#494). 2015-06-25 12:12:38 -07:00
Paul Kulchenko
5144e92e89 Added activating Output notebook to show search results if it's hidden (#416). 2015-06-23 16:14:47 -07:00
Paul Kulchenko
234f9b4aaa Added reporting of errors when unable to open file for static analysis. 2015-06-23 12:07:03 -07:00
Paul Kulchenko
6b06d0a190 Updated outline to only retrieve entry text when there are tokens to process (#337). 2015-06-22 11:50:57 -07:00
Paul Kulchenko
04d2ef8127 Added collapsing whitespaces in function parameters in the outline (#337). 2015-06-21 21:28:50 -07:00
Paul Kulchenko
3829792e68 Updated getting text length without requesting editor content. 2015-06-21 21:21:12 -07:00
Paul Kulchenko
3eeebd274b Added emphasis for the preference type in the config file template. 2015-06-21 21:01:07 -07:00
Paul Kulchenko
1f2b5d0bf2 Fixed indicators on table fields after variables that look like multiple assignments (#492). 2015-06-20 10:30:46 -07:00
Paul Kulchenko
d53463f14e Fixed indicators on table fields after variables (fixes #492). 2015-06-19 20:38:44 -07:00
Paul Kulchenko
edfab46685 Aded FileSize method as the default one returns non-zero result for non-existing files. 2015-06-17 21:33:20 -07:00
Paul Kulchenko
0050c7fedd Fixed variable usage based on static analysis. 2015-06-16 18:35:41 -07:00
Paul Kulchenko
eff9150f24 Added reporting of FileWrite failing to write the entire content. 2015-06-15 15:22:35 -07:00
Paul Kulchenko
807ad0f957 Switched to the bottom location for the search results by default (#416). 2015-06-14 20:52:20 -07:00
Paul Kulchenko
6142843f4b Fixed initial select-and-find search. 2015-06-14 20:48:49 -07:00
Paul Kulchenko
b4d1019e71 Updated showing function indicator handling to allow for easier enabling. 2015-06-14 20:38:36 -07:00
Paul Kulchenko
cc1f36af2f Updated indicator processing to use new API. 2015-06-13 16:34:32 -07:00
Paul Kulchenko
790493b6d1 Added package methods AddIndicator, GetIndicator, and RemoveIndicator (#166). 2015-06-13 16:30:56 -07:00
Paul Kulchenko
38c6cd28fa Fixed returning focus to the editor after find-in-files followed by page search (#416). 2015-06-11 20:59:03 -07:00
Paul Kulchenko
18d471be2c Updated ID references in toolbar to use the new access method. 2015-06-10 16:42:32 -07:00
Paul Kulchenko
feb7f53e2c Added missing Detach Process id to keymap (pkulchenko/MobDebug#19). 2015-06-10 09:13:24 -07:00
Paul Kulchenko
b7cd8aa30f Updated ID references in keymap to use the new access method. 2015-06-10 09:12:09 -07:00
Paul Kulchenko
1d02e3131d Updated Detach Process to allow access to it while the process is running.
Closes pkulchenko/MobDebug#19.
2015-06-10 09:08:27 -07:00
Paul Kulchenko
adcdb71894 Upgraded Mobdebug (0.624) to make DONE async and to add __tostring protection (closes #446). 2015-06-09 19:57:22 -07:00
Christoph Kubisch
2ee84a0c47 glslc, bugfix working dir must use full path 2015-06-07 22:23:50 +02:00
Paul Kulchenko
44219f008e Added a check for ini setting pointing to a path with a writeable directory (#483). 2015-06-06 09:37:20 -07:00
Paul Kulchenko
0ef9c297cb Added a check for ini setting pointing to a directory (#483). 2015-06-06 09:36:36 -07:00
Paul Kulchenko
b256912dee Added processing of ini setting relative to the IDE location (closes #483). 2015-06-05 16:31:30 -07:00
Paul Kulchenko
47c9f0a88f Fixed performance of initial fuzzy search for line numbers (closes #476). 2015-06-05 14:35:31 -07:00
Paul Kulchenko
164341bedf Added Watch view refresh after switching focus when needed. 2015-06-04 22:46:19 -07:00
Paul Kulchenko
dcf9ed7d26 Added Stack view refresh after switching focus when needed. 2015-06-04 22:33:27 -07:00
Paul Kulchenko
fa248c5be1 Updated metalua/static analyzer to accept long integer and imaginary numbers (closes #482). 2015-06-04 15:03:43 -07:00
Paul Kulchenko
fe5b1d8bf6 Updated internal parser to accept long integer, imaginary, and floating point hex numbers (#482). 2015-06-04 15:01:59 -07:00
Paul Kulchenko
e6ed7d7cc4 Updated internal parser to accept numbers that start with a period (#482). 2015-06-04 15:00:40 -07:00
Paul Kulchenko
c839beac25 Updated compilation and static analysis to keep output when running/debugging (#479). 2015-06-04 09:15:21 -07:00
Paul Kulchenko
67af8bb65f Enabled compilation during running/debugging (closes #479). 2015-06-03 22:03:06 -07:00
Paul Kulchenko
8350d3c609 Enabled static analysis during running/debugging (#479). 2015-06-03 22:02:44 -07:00
Paul Kulchenko
a8c6f3a0dc Optimized handling of multi-line changes in the editor (closes #477). 2015-06-03 21:59:39 -07:00
Paul Kulchenko
ead5a9d46a Added forced Refresh/Update to improve redrawing of commandbar on Windows 8. 2015-05-29 23:31:44 -07:00
Paul Kulchenko
0eadfdab00 Added a check for a window to be shown to avoid callback recursion on OSX (fixes #473). 2015-05-28 22:45:27 -07:00
Paul Kulchenko
b2deb54012 Added package IsWindowShown method (#166). 2015-05-28 22:40:06 -07:00
Paul Kulchenko
6bf310daae Added package onEditorPreClose event (#166, closes #461). 2015-05-28 14:18:16 -07:00
Paul Kulchenko
267fd50f24 Merge branch 'autocomplete' of https://github.com/IonoclastBrigham/ZeroBraneStudio into autocomplete-better-order 2015-05-28 09:29:47 -07:00
Brigham Toskin
d3c668f046 Revised: auto-complete results (amends #469, w/@pkulchenko patch) 2015-05-27 23:07:52 -07:00
Paul Kulchenko
5a149166f8 Updated build script on Windows to support compiling luasec for different versions. 2015-05-27 21:44:00 -07:00
Paul Kulchenko
6fe0f3a32c Updated build script on Windows to support compiling winapi for different versions. 2015-05-27 21:43:59 -07:00
Paul Kulchenko
33a129a416 Updated build script on Windows to use dot-versioned directories for dependencies. 2015-05-27 21:43:50 -07:00
Paul Kulchenko
bbaab90515 Fixed Output tab name when debugging aborted after run-time error. 2015-05-27 11:41:44 -07:00
Paul Kulchenko
c172289354 Removed forced garbage collection as it led to crashes on Linux (#425, closes #464).
The forced collection didn't have the expected effect and also caused
sporadic crashes on some Linux versions.
2015-05-27 10:41:15 -07:00
Paul Kulchenko
418631ee69 Updated Windows launcher to add dpi awareness for high dpi monitors. 2015-05-26 18:10:33 -07:00
Paul Kulchenko
7aa89ed23b Improved the order of results in auto-complete (closes #469). 2015-05-25 12:51:19 -07:00
Paul Kulchenko
87c4f5f89a Fixed issue with moving files in the tree caused by a61c9e26 (fixes #468). 2015-05-23 23:31:58 -07:00
Paul Kulchenko
48e8d33c1f Fixed recursive file traversal to skip directories when mask is specified. 2015-05-21 18:22:30 -07:00
Paul Kulchenko
fd3f86a54b Added deleting the rest of the word on auto-complete (acandtip.droprest). 2015-05-21 12:41:55 -07:00
Paul Kulchenko
7de970fd69 Added closing editor tab when renaming to an open file from the project tree. 2015-05-20 17:45:13 -07:00
Paul Kulchenko
e5d4045860 Added refresh of the target file after renaming from the project tree. 2015-05-20 17:43:46 -07:00
Paul Kulchenko
bcc81716ca Added a check for object with a focus (occasionally triggered on Linux). 2015-05-20 17:42:35 -07:00
Paul Kulchenko
a61c9e26be Added workaround to fix crash on Linux from the project tree (#425, #464).
This could happen when a new file is created in the project tree with the
same name as the existing file and then the application loses focus.

This cancels editing of the filename (END_LABEL_EDIT), which shows a dialog
to confirm overwriting of the existing file. When the dialog is shown,
another event that cancels editing is generated (but in wxwidgets 2.9.5?),
which causes two dialogs to be displayed, which leads to a crash after the
second one is closed.

The workaround moves the overwrite confirmation to the IDLE event.
2015-05-20 17:41:14 -07:00
Paul Kulchenko
346a5326a6 Added DoWhenIdle package method (#166). 2015-05-20 11:14:36 -07:00
Paul Kulchenko
b136a79bf3 Fixed crash in collectgarbage from the filetree on Linux (#425, #464).
This appears to be a wxwidgets (2.9.5) issue and can be reproduced
by doing the following:

- Start editing a new item in the file tree;
- Right click on the text control (while editing);
- This opens a context menu and triggers ACTIVATE_APP event;
- `collectgarbage` call from that event causes a crash.

Switching garbage collection to ACTIVATE_APP event when the app becomes
active eliminates the crash.
2015-05-19 22:44:40 -07:00
Paul Kulchenko
7a8027e827 Updated indentation after strings with brackets and escaped quotes (#324). 2015-05-17 19:59:45 -07:00
Paul Kulchenko
5c63257572 Updated AnalyzeString to add filename parameter (closes #463).
This can be used to provide a filename that would then load proper spec
for the file (to take known API descriptions into account).
2015-05-16 12:01:49 -07:00
Paul Kulchenko
2969ef4e5b Updated documentation for 1.10. 2015-05-13 20:55:02 -07:00
Paul Kulchenko
2d711fb2a5 Updated copyright year. 2015-05-13 20:54:41 -07:00
Paul Kulchenko
7fdeeaab0a Updated translations for several search panel messages (#416). 2015-05-13 20:32:10 -07:00
Paul Kulchenko
39df53117e Added reporting mismatch on invalid line numbers in replace preview (#416). 2015-05-13 10:39:06 -07:00
Paul Kulchenko
04c66f735d Fixed replace in preview to only replaced matched text (#416). 2015-05-13 09:29:39 -07:00
Paul Kulchenko
38068bfa54 Fixed restoring editor focus after closing search preview on OSX/Linux (#416). 2015-05-12 21:57:04 -07:00
Paul Kulchenko
66367489f0 Fixed replace-in-files from search results preview (#416). 2015-05-12 21:56:26 -07:00
Paul Kulchenko
42f7a2647b Fixed keeping editor cursor position after closing search panel (#416). 2015-05-12 20:08:46 -07:00
Paul Kulchenko
6658f7e68e Updated command bar to handle losing focus and not restore position (#31). 2015-05-12 19:04:26 -07:00
Paul Kulchenko
9def534470 Added folds in the search results even when disabled in the editor (#416). 2015-05-12 13:42:47 -07:00
Paul Kulchenko
a06f865151 Updated the order of search preview margin changes to hide line numbers (#416). 2015-05-12 13:12:11 -07:00
Paul Kulchenko
aafa56c074 Updated Linux .desktop to limit associations to Lua files. 2015-05-12 10:21:00 -07:00
Paul Kulchenko
d94f2b6c06 Added expanding folded/hidden lines when updating search results (#416).
This avoid the issue when the last line stays hidden after folding all
lines in the search result tab and refreshing the results.
2015-05-11 23:16:04 -07:00
Paul Kulchenko
5a626ed1cd Added check for valid editor when closing search panel (#416). 2015-05-11 22:53:09 -07:00
Paul Kulchenko
f277d12854 Switched to using wxFileSize instead of Length (fixes #458).
`wx.wxFile(...):Length()` reports 0 as the length for those files that
have 0 blocks allocated. Some file systems (for example, GPFS) may use
0 blocks, which causes the files not being read as `Length()` method
returns incorrect file length. `wxFileSize` reads the size from the file
system, which is what is needed in this case.
2015-05-11 12:03:48 -07:00
Paul Kulchenko
06783b77ce Added closing search results with Close Page for consistency (#416).
Search results can be closed with a shortcut when shown as an editor tab,
but not when shown in the Output notebook. Added closing them there as well
for consistency.
2015-05-10 21:51:08 -07:00
Paul Kulchenko
66233e04e7 Updated search results tab name (#416). 2015-05-10 21:50:36 -07:00
Paul Kulchenko
9391253fe7 Updated showing new search results if the searched text is different (#416). 2015-05-10 17:41:32 -07:00
Paul Kulchenko
a7938bb06c Added setting focus back to the editor after hiding search panel (#416). 2015-05-10 17:28:48 -07:00
Paul Kulchenko
d3c6a5c832 Added option to show search results in multipe tabs (#416). 2015-05-10 17:13:24 -07:00
Paul Kulchenko
4c571e5c75 Added package IsValidCtrl method (#166). 2015-05-09 15:24:31 -07:00
Paul Kulchenko
e56af247a3 Updated event documentation. 2015-05-08 21:50:23 -07:00
Paul Kulchenko
7894b9200c Allowed for larger default size of docked panels (#424). 2015-05-05 10:57:07 -07:00
Paul Kulchenko
d0e693e35b Added skipping binary files in commandbar (#31, #455). 2015-05-04 17:20:12 -07:00
Paul Kulchenko
4c7a09e531 Added handling of ** in exclusion masks (#455). 2015-05-04 17:18:14 -07:00
Paul Kulchenko
ba61f9106c Added excludelist/binarylist to exclude files and folders (closes #455). 2015-05-04 17:09:46 -07:00
Paul Kulchenko
0184accc29 Added search.autohide option to hide search panel after search (#416). 2015-05-04 13:07:32 -07:00
Paul Kulchenko
7c5a3204f9 Updated setting focus on the editor after cancelled search (#416). 2015-05-04 13:06:28 -07:00
Paul Kulchenko
a313071f90 Added setting cursor at the end of the search results preview (#416). 2015-05-04 13:02:44 -07:00
Paul Kulchenko
3d4823f595 Upgraded Mobdebug (0.62) to add vararg processing. 2015-05-03 21:51:50 -07:00
Paul Kulchenko
3363bac1e7 Removed option to request attention from breakpoint activation (#449, closes #454). 2015-05-01 17:45:07 -07:00
Paul Kulchenko
2fe197ea13 Updated build files to use release version of Lua 5.3 (#453). 2015-04-30 21:23:40 -07:00
Paul Kulchenko
57f3631687 Added debugger.requestattention to configure focus switch (closes #449). 2015-04-28 10:35:30 -07:00
Paul Kulchenko
eb2288bdd4 Added closing search panel on Escape in the editor (closes #450, #416).
This also fixes an issue with `Escape` in full-screen mode disabling full
screen instead of closing a tooltip or an auto-complete popup first.
2015-04-28 10:28:38 -07:00
Paul Kulchenko
140fdcb101 Fixed crash on Windows by disabling events in Outline refresh (fixes #442). 2015-04-27 10:34:38 -07:00
Paul Kulchenko
0a5f3f2ed8 Updated search to keep focus when preview shown at the bottom (#416). 2015-04-25 22:00:00 -07:00
Paul Kulchenko
ca47551edb Added search.zoom setting to zoom search results (#416). 2015-04-25 21:59:59 -07:00
Paul Kulchenko
119c53f3b2 Updated constant values for consistency. 2015-04-25 21:59:58 -07:00
Paul Kulchenko
646db05c55 Added folding in the preview when shown at the bottom (#416). 2015-04-25 21:59:57 -07:00
Paul Kulchenko
931006ffa3 Reorganized folding to allow more editor-like components to be foldable. 2015-04-25 21:59:55 -07:00
Paul Kulchenko
f2f99fe90d Allowed saving search preview when shown at the bottom of the screen (#416). 2015-04-25 21:59:38 -07:00
Paul Kulchenko
4621b1a295 Refactored getting editor with focus to remove hardcoded components (#416). 2015-04-25 15:23:12 -07:00
Paul Kulchenko
9cb8d2ef4d Added option to show search results at the bottom of the screen (#416). 2015-04-25 12:12:32 -07:00
Paul Kulchenko
5f7f6e3c1a Moved cancelling auto-complete popup to idle event (fixed #447).
This looks like wxwidgets/Scintilla issue as cancelling auto-complete from
MODIFIED event after pasting and deleting text caused a crash.
2015-04-25 00:13:49 -07:00
Paul Kulchenko
535b597104 Fixed file traversing not to match foo.bar! for `*.bar' mask (#416). 2015-04-24 12:58:19 -07:00
Paul Kulchenko
6228089962 Fixed Find Previous using obsolete method call (fixes #445, #416). 2015-04-24 09:31:55 -07:00
Paul Kulchenko
ee35d4bf8a Added status message when search is cancelled by closing results tab (#416). 2015-04-23 09:50:49 -07:00
Paul Kulchenko
354951203d Reorganized recent scopes menu and added Clear Items (#416). 2015-04-23 09:37:27 -07:00
Paul Kulchenko
6fe7b317bd Updated binary check to keep track of extensions in file search (#416). 2015-04-22 21:59:46 -07:00
Paul Kulchenko
63cdef5285 Refactored binary check for file search and commandbar. 2015-04-22 21:52:35 -07:00
Paul Kulchenko
bb6c8cfd67 Fixed binary check in file search for files without extension (#416). 2015-04-22 21:43:23 -07:00
Paul Kulchenko
e0807829c3 Disabled refresh when outlineinactivity=nil and showonefile=true (#337). 2015-04-21 23:01:02 -07:00
Paul Kulchenko
68b7272403 Updated Corona interpreter to allow debugging on Linux using Wine. 2015-04-20 21:36:53 -07:00
Paul Kulchenko
382da09901 Added warning when interpreter can't be loaded and the default one is used. 2015-04-20 21:36:42 -07:00
Paul Kulchenko
b9722459c1 Optimized Go To File file traversal in commandbar (#31). 2015-04-19 21:46:38 -07:00
Paul Kulchenko
fe8d54ec2d Refactored traversal in file search to return matches when found (#416). 2015-04-18 15:30:00 -07:00
Paul Kulchenko
e24ee26ed3 Updated folder traversing logic to limit number of open folders (fixes #441). 2015-04-17 13:11:31 -07:00
Paul Kulchenko
6c20164125 Fixed showing of not translated messages that require pluralization. 2015-04-16 21:29:56 -07:00
Paul Kulchenko
6596d3ad61 Updated variables based on static analysis. 2015-04-15 20:52:41 -07:00
Paul Kulchenko
06d63407e5 Fixed watch update and error reporting broken by 460fb617. 2015-04-15 19:25:14 -07:00
Paul Kulchenko
da29d5ccf8 Fixed enabling hidden extensions broken by 01ef6648. 2015-04-15 19:07:47 -07:00
Paul Kulchenko
fd0b2c1f11 Added setting read-only status on find-in-files results (#416). 2015-04-14 15:09:29 -07:00
Paul Kulchenko
a28ce0f536 Fixed ReplaceAll button on find-in-files toolbar (#416). 2015-04-14 12:06:35 -07:00
Paul Kulchenko
accd8565af Fixed switching focus when toolbar is used in find-in-files (#416). 2015-04-14 10:55:30 -07:00
Paul Kulchenko
330b02c955 Fixed pluralization for Replaced N instances. (#416). 2015-04-14 10:16:56 -07:00
Paul Kulchenko
da5a8d41bf Added error reporting after failure to open a file in find-in-files (#416). 2015-04-14 09:48:19 -07:00
Paul Kulchenko
52b6438159 Merge branch 'search-redesign' (closes #416, closes #438).
Conflicts:
	cfg/i18n/de.lua
2015-04-13 22:18:10 -07:00
Paul Kulchenko
cc1de06909 Fixed keeping position in find/replace after FindNext/Prev on Linux (#416). 2015-04-13 22:09:38 -07:00
Paul Kulchenko
e58a5ff4d9 Set focus back to search controls on Linux after find-in-files (#416). 2015-04-13 19:26:21 -07:00
Paul Kulchenko
c92f2dc477 Added support for wxImage used in imagemap (#436). 2015-04-12 20:35:06 -07:00
Paul Kulchenko
b8f5b935f2 Added icon tint processing (imagetint option). 2015-04-11 23:06:15 -07:00
Paul Kulchenko
eec36411ad Updated settings merge to allow adding new ones (#416). 2015-04-10 15:01:30 -07:00
Paul Kulchenko
460fb61766 Added copying of watch values to use when the value is too long to be shown. 2015-04-09 22:13:23 -07:00
Paul Kulchenko
a4b70dce82 Added package CopyToClipboard method (#166). 2015-04-09 21:37:03 -07:00
Paul Kulchenko
cc6db36420 Updated find/replace activation to always use selected fragment (#416). 2015-04-09 21:22:45 -07:00
Paul Kulchenko
a75bdfc3cb Fixed Save and SaveAll 'enabled' status for search results (#416). 2015-04-08 22:38:16 -07:00
Paul Kulchenko
fca8a760f5 Disabled replacing when search results are not modified (#416). 2015-04-07 22:33:02 -07:00
Paul Kulchenko
6bd7be2389 Added proper pluralization for search results messages (#416). 2015-04-07 22:25:48 -07:00
Paul Kulchenko
34d29a5a11 Added message when search is cancelled by the user (#416). 2015-04-07 22:13:36 -07:00
Paul Kulchenko
bcc454e2c2 Added skipping prompt to save search results when not modified (#416). 2015-04-07 21:40:55 -07:00
Paul Kulchenko
7911a949ad Removed warnings from loose parser to stop polluting stderr on Linux (#425). 2015-04-07 09:16:49 -07:00
David Feng
99cfb5d5d3 fix broken symbolic link 2015-04-07 23:30:27 +08:00
Robert Machmer
237b641a39 Update Readme.md to use correct name for the LOVE framework 2015-04-06 09:38:18 +02:00
Paul Kulchenko
d69504de05 Updated Linux build scripts to add debug option. 2015-04-05 15:10:27 -07:00
Paul Kulchenko
03a21b3bf4 Fixed an empty popup (that could lead to a crash) when dynamic words is on. 2015-04-04 20:18:42 -07:00
Robert Machmer
c8d923204d Updated love2d interpreter to use proper engine name/description (closes #433). 2015-04-02 21:39:50 -07:00
Paul Kulchenko
21845d5179 Updated german translation (#432, #70). 2015-04-02 21:20:40 -07:00
Paul Kulchenko
bd949f2522 Updated love2d APU for v0.9.2 (#247). 2015-04-02 11:55:20 -07:00
Robert Machmer
0aebf69193 Update german translation
Picked a better translation for "refresh" and fixed a small typo in the
translation of "remote console".
2015-04-02 15:39:48 +02:00
Paul Kulchenko
e843f1a3a0 Added auto-complete for the find-in-files fields (#416). 2015-04-01 21:13:47 -07:00
Paul Kulchenko
1731dbbbea Updated search tests to use GetFlags method (#416). 2015-04-01 20:34:06 -07:00
Paul Kulchenko
b608145590 Added selecting last used scope when switching projects (#416). 2015-04-01 20:25:27 -07:00
Paul Kulchenko
74de23cf5d Fixed file traversal for multiple masks broken by 4f3b8596 (#416). 2015-04-01 20:25:13 -07:00
Paul Kulchenko
49747a0e5c Added search.contextlinesbefore/search.contextlinesafter settings (#416). 2015-04-01 17:48:11 -07:00
Paul Kulchenko
268dbfc437 Added search.autocomplete setting do configure search autocomplete (#416). 2015-04-01 17:32:56 -07:00
Paul Kulchenko
b4e03627d9 Fixed commandbar positioning on Linux affected by 5b665477 (#31). 2015-04-01 16:23:00 -07:00
Paul Kulchenko
d12a050c7a Added auto-complete for find and replace fields (#416). 2015-04-01 14:20:58 -07:00
Paul Kulchenko
4da95789b5 Improved incremental processing to avoid marking table fields as variables. 2015-04-01 12:15:03 -07:00
Paul Kulchenko
9c53d95554 Fixed loose parser to handle multiple assignments (fixes #430).
The issue is partially caused by changes to improve incremental processing
(comit 7a33783a).
2015-04-01 12:06:39 -07:00
Paul Kulchenko
4c8a42c1c9 Added saving search settings between restarts (#416). 2015-03-31 22:10:24 -07:00
Paul Kulchenko
786fa303f9 Added deleting of protected text in Cut/Paste operations (closes #412). 2015-03-31 21:19:32 -07:00
Paul Kulchenko
8b69d2897a Removed hardcoded references to menu positions to simplify adding new items. 2015-03-31 21:11:04 -07:00
Paul Kulchenko
f030d16ded Added restoring cursor position after failed incremental search (#416). 2015-03-31 15:22:29 -07:00
Paul Kulchenko
edce5fa76c Added reporting of searched for text (#416). 2015-03-31 15:18:31 -07:00
Paul Kulchenko
48a04113b9 Updated Select and Find to capture selection for subsequent use (#416). 2015-03-31 14:54:37 -07:00
Derek.Bailey
229460983e Added refresh context menu item to update the contents of the tree 2015-03-31 11:35:18 -07:00
Paul Kulchenko
c383889d05 Fixed editor activation after dragging of inactive tab (fixes #427). 2015-03-30 10:24:46 -07:00
Paul Kulchenko
ade62dcdc0 Fixed indentation after comment with markdown markup (closes #428, #324). 2015-03-30 10:14:43 -07:00
Paul Kulchenko
e57eaf7f6b Updated Find Next/Prev to continue search using the current find text (#416). 2015-03-29 19:15:25 -07:00
Paul Kulchenko
cbcef4c720 Excluded breaks ('..*') from context in search results (#416). 2015-03-28 23:12:53 -07:00
Paul Kulchenko
e9104c16a0 Fixed Find Next/Prev without using search panel first (#416). 2015-03-28 22:34:21 -07:00
Paul Kulchenko
983942405c Improved Set to project directory logic in search scope (#416). 2015-03-28 21:47:34 -07:00
Paul Kulchenko
634a7af8cd Added ignoring assignment in comments for auto-complete. 2015-03-28 20:16:41 -07:00
Paul Kulchenko
993171cc92 Fixed auto-complete issue causing looping warning (#143). 2015-03-28 20:15:59 -07:00
Paul Kulchenko
5b665477fa Fix commandbar position with split editor tabs (#31). 2015-03-28 18:49:00 -07:00
Paul Kulchenko
7ce454ab5b Removed replace message when results preview is generated (#416). 2015-03-28 15:47:00 -07:00
Paul Kulchenko
1b331765a4 Added hint on how to dismiss search panel (#416). 2015-03-28 13:20:07 -07:00
Paul Kulchenko
929e77f9fd Disabled dclick in search results over the margin (#416). 2015-03-27 15:58:36 -07:00
Paul Kulchenko
ad1e4e98b9 Fixed selection after dclick in search results on Linux (#416). 2015-03-27 13:27:46 -07:00
Paul Kulchenko
b935ab305f Fixed activation in search results after dclick at the line end (#416). 2015-03-27 13:27:35 -07:00
Paul Kulchenko
74998e6057 Added updating search scope when switching projects (#416). 2015-03-26 14:23:10 -07:00
Paul Kulchenko
f655805bbb Added pre-filtering of files to improve search performance (#416). 2015-03-26 13:09:02 -07:00
Paul Kulchenko
5a96117b3d Removed scrolling during search/replace to improve performance (#416). 2015-03-26 12:48:12 -07:00
Paul Kulchenko
9b7b220a3d Improved logic to skip binary files during search (#416). 2015-03-26 12:15:16 -07:00
Paul Kulchenko
4f3b8596f2 Improved file traversal to speed up search by pre-filtering masks (#416). 2015-03-25 21:53:22 -07:00
Paul Kulchenko
e12e2653db Removed saving .bak files as it's replaced by replace-in-files preview (#416). 2015-03-24 22:19:51 -07:00
Paul Kulchenko
3660b2e40e Added auto-scrolling of the search results (#416). 2015-03-24 22:14:44 -07:00
Paul Kulchenko
109d71e4f3 Added preview screen to check changes in replace-in-files (#416). 2015-03-24 22:01:39 -07:00
Paul Kulchenko
17c33e51cc Moved winapi dll to clibs folder to avoid conflict with other winapi versions. 2015-03-24 17:57:05 -07:00
Paul Kulchenko
307ef3a66f Removed file marker in search results replaced by fold indicators (#416). 2015-03-23 22:53:44 -07:00
Paul Kulchenko
5f2c266cc1 Added folding in the search results (#416). 2015-03-23 22:48:51 -07:00
Paul Kulchenko
3f7539d31f Replaced bookmark on search results with a different marker (#416). 2015-03-23 18:02:28 -07:00
Paul Kulchenko
15f04c16de Updated editor tab for search results to use default functionality (#416). 2015-03-23 17:32:02 -07:00
Paul Kulchenko
163b738c73 Added search toolbar button to set/unset context in search results (#416). 2015-03-23 17:02:00 -07:00
Paul Kulchenko
33b55b29e4 Fixed re-indenting of selection with comments at the top of the file (#324). 2015-03-23 10:23:52 -07:00
Paul Kulchenko
25cc70bee5 Updated to use shorter function from Scintilla API (#416). 2015-03-23 10:21:26 -07:00
Paul Kulchenko
9fb7bd8750 Added reporting number of instances and files in search results (#416). 2015-03-22 23:13:27 -07:00
Paul Kulchenko
e5199a8618 Fixed one pixel defect on the search panel (#416). 2015-03-22 21:21:23 -07:00
Paul Kulchenko
cd4fe6a60e Fixed instance counter broken by showing results in a tab (#416). 2015-03-22 19:17:23 -07:00
Paul Kulchenko
091d2d7e59 Allowed closing Search Results tab while search is in progress (#416). 2015-03-22 19:05:03 -07:00
Paul Kulchenko
a2ab4bc18f Added indicator for matches in the search results (#416). 2015-03-22 18:16:19 -07:00
Paul Kulchenko
d41e3621a8 Fixed an issue with exiting while searching (#416). 2015-03-22 14:35:20 -07:00
Paul Kulchenko
155483f40f Added showing search results in an editor tab (#416). 2015-03-21 22:07:57 -07:00
Paul Kulchenko
a8168e41f7 Updated search tests (#416). 2015-03-20 17:52:03 -07:00
Paul Kulchenko
fad303be9a Improved escaping in find-in-files search mask (#416). 2015-03-20 15:51:11 -07:00
Paul Kulchenko
2f22d74e21 Fixed find-in-files results when regular expressions are used (#416). 2015-03-20 15:51:00 -07:00
Paul Kulchenko
d2ddc96a2b Updated unfolding of folded lines before delete or overwrite.
This helps to avoid a situation when a header of the collapsed fold is
deleted, which (confusingly) leaves some lines hidded. This change is an
improvement to the commit 717d46a3 that did partial unfolding.
2015-03-20 11:50:07 -07:00
Paul Kulchenko
755941098e Updated folding to collapse only when clicked on the header. 2015-03-20 11:15:24 -07:00
Paul Kulchenko
d28a6f66e0 Updated order of search component creation to reduce flicker (#416). 2015-03-19 21:01:31 -07:00
Paul Kulchenko
2406863437 Updated scope search background to match the toolbar color (#416). 2015-03-19 15:04:36 -07:00
Paul Kulchenko
ac067f2b5a Added hint for the replace field in search (#416). 2015-03-19 14:44:09 -07:00
Paul Kulchenko
31d123edbc Excluded all toolbars from color scheme processing (#416). 2015-03-19 14:43:37 -07:00
Paul Kulchenko
5eb7a78f1a Added a message on replacing in read-only text (#416). 2015-03-19 11:15:41 -07:00
Paul Kulchenko
bfbda999c0 Updated usage of self in the search logic (#416). 2015-03-19 11:07:27 -07:00
Paul Kulchenko
01ca5acb99 Added a message on wrapping around during search (#416). 2015-03-19 10:45:11 -07:00
Paul Kulchenko
b4cd30eb6b Updated search panel to search all files with empty scope (#416). 2015-03-19 10:05:32 -07:00
Paul Kulchenko
e1235cf14d Updated search panel to only set scope when the field is empty (#416). 2015-03-19 09:55:47 -07:00
Paul Kulchenko
0c9feecb21 Reorganized scope menu in the search panel to add setting directory (#416). 2015-03-19 09:37:04 -07:00
Paul Kulchenko
2b3dacfa76 Added number of instances replaced to the search status (#416). 2015-03-18 21:14:01 -07:00
Paul Kulchenko
419692b3dc Fixed flicker of the scope component in the search window (#416). 2015-03-18 21:10:24 -07:00
Paul Kulchenko
895b92b7b7 Updated translations to match messages in the search panel (#416). 2015-03-18 18:14:47 -07:00
Paul Kulchenko
6850220b9c Updated handling of translated messages to include toolbar labels (#416). 2015-03-18 17:46:23 -07:00
Paul Kulchenko
d75a7a3adb Added selection of text in search fields when tabbed into (#416). 2015-03-18 16:54:13 -07:00
Paul Kulchenko
5da7a6aeec Added copying current selection to the search panel when activated (#416). 2015-03-18 16:36:16 -07:00
Paul Kulchenko
4f00ec2aa8 Redesigned the search panel (closes #416; closes #398).
Updated for a single set of buttons in the search dialog (#416).
Updated search panel to stay docked under the editor (#416).
Removed 'search' tab from the panel (#416).
Added border for the search panel (#416).
Update search panel components to match the editor styles (#416).
Reorganized search panel to minimize redrawings (#416).
Updated search panel positioning to dock correctly (#416).
Disable shaking on failed search as it doesn't work on OSX/Linux (#416).
Moved scope dropdown to a better location (#416).
Moved status label with search results to the search toolbar (#416).
Added search in Output/Console panels (#416).
Added button to set directory for find-in-files (#416).
Reorganized toolbar creation to customize different search modes (#416).
Added taborder handling in search panel (#416).
Added `Shift-Esc` to close and move to the original position (#416).
Changed combobox to textctrl as wxComboBox doesn't handle `Tab`/`Esc` on OSX (#416).
Fixed refresh of the scope dropdown (#416).
Renamed controls for consistency with other names (#416).
Fixed scope processing to work with directory and masks (#416).
Updated find/replace borders (#416).
Replaced combobox with a text control and a dropdown (#416).
Allowed having only masks in the search scope (#416).
Added search from the scope field (#416).
Reorganized position of the scope field in the search (#416).
Disabled search when find-in-file is already in progress (#416).
2015-03-18 16:34:56 -07:00
Paul Kulchenko
b56d1096be Updated config samples to use ID.code instead of obsolete G.ID_code. 2015-03-16 21:05:19 -07:00
Paul Kulchenko
dc9d19f521 Fixed restoring pane size after hide/show operations (fixes #424). 2015-03-15 16:43:19 -07:00
Paul Kulchenko
41041733c4 Updated documentation for 1.00. 2015-03-13 18:09:48 -07:00
Paul Kulchenko
16257035ca Updated encoding in the image LICENSE file. 2015-03-11 17:48:13 -07:00
Paul Kulchenko
4fde42e919 Disabled field checks for local parameters in staic analyzer (closes #421). 2015-03-10 11:51:12 -07:00
Paul Kulchenko
d08ac51fee Updated Corona API for v2015.2576. 2015-03-10 09:23:00 -07:00
Paul Kulchenko
1116365a43 Removed unused variables. 2015-03-08 21:41:12 -07:00
Paul Kulchenko
9c05c8e31a Improved static analyzer to handle more cases with infervalue set (#414).
This fixes handling of `tostring(foo):rep(1)` and `(false or {}).bar()`.
2015-03-07 23:12:00 -08:00
Paul Kulchenko
3ce020c0e3 Added staticanalyzer.infervalue to enable deeper/slower analysis (#414). 2015-03-06 14:51:50 -08:00
Paul Kulchenko
27ea52e5bd Updated static analyzer output formatting. 2015-03-06 12:40:54 -08:00
Paul Kulchenko
cc598490fa Updated analyzer to also check value of pairs parameter (#414). 2015-03-06 12:08:50 -08:00
Paul Kulchenko
b361a0b6a5 Fixed analyzer to check value of ipairs parameter (fixes #414).
This takes the actual type into account instead of reporting an unknown
field.
2015-03-05 22:20:43 -08:00
Paul Kulchenko
2b4c5eafc8 Updated debugging suspended message to not trigger with runonstart.
This is to address the changes caused by 89751b43.
2015-03-04 21:53:14 -08:00
Paul Kulchenko
e910f945b5 Fixed OS detection on Linux that sets DYLD_LIBRARY_PATH (fixes #417). 2015-03-03 21:57:27 -08:00
Paul Kulchenko
7a838227c7 Fixed saving auto-recovery record with no editor tabs opened (fixes #418). 2015-03-03 21:29:16 -08:00
Paul Kulchenko
d86582ebc6 Added project path in the error reporting for love2d/corona interpreters. 2015-03-03 19:23:54 -08:00
Paul Kulchenko
d8d1fc6f67 Updated messages in interpreters to fix line endings. 2015-03-01 19:18:04 -08:00
Paul Kulchenko
0ee46ba55f Added an example with enabling Emacs bindings in the editor. 2015-02-26 09:47:27 -08:00
Paul Kulchenko
e179a63b8c Refactored use of image constants in the project tree. 2015-02-25 15:37:31 -08:00
Paul Kulchenko
0018964637 Disabled menu item for renaming/editing for mapped directories (#223). 2015-02-25 15:30:53 -08:00
Paul Kulchenko
7010d51bc7 Added Russian translations for new messages (#70). 2015-02-25 12:42:58 -08:00
Paul Kulchenko
7b09399ede Updated lettercase in menu items for consistency. 2015-02-24 22:05:12 -08:00
Paul Kulchenko
a36e746d45 Added a warning on class resolution taking too much time in auto-complete. 2015-02-23 22:23:21 -08:00
Paul Kulchenko
f7ec693b03 Fixed looping in auto-complete when processing recursive assignments. 2015-02-22 21:23:08 -08:00
Paul Kulchenko
056dd6dedf Added check for empty/comment lines when breakpoints are set. 2015-02-21 13:35:32 -08:00
Paul Kulchenko
1c8b0d1101 Removing .mailmap as it didn't help link pre-2011 commits on github. 2015-02-20 16:00:56 -08:00
Paul Kulchenko
bc5d2eed97 Updated CHANGELOG with recent changes. 2015-02-19 19:19:44 -08:00
Paul Kulchenko
35692e3f00 Added directory mapping to the project tree (closes #223). 2015-02-18 13:27:33 -08:00
Paul Kulchenko
bb06087881 Removed obsolete event handler. 2015-02-17 20:50:35 -08:00
Paul Kulchenko
9442292c0f Updated UpdateUI handling to fix multi-view refresh, as in DocumentMap (#352). 2015-02-16 20:18:12 -08:00
Paul Kulchenko
b1eba7ff3c Added Run to Cursor (closes #413). 2015-02-16 16:12:31 -08:00
Paul Kulchenko
d69a3724ac Fixed filename used in the recovery message. 2015-02-15 21:49:35 -08:00
Paul Kulchenko
353fa0dff5 Fixed typo in a comment. 2015-02-15 21:48:59 -08:00
Paul Kulchenko
af241fffe7 Refactored document modification tracking to remove SetDocumentModified. 2015-02-15 21:48:15 -08:00
Paul Kulchenko
227db9a10f Updated Outline to use editor tab text (instead of a file name).
This is to improve integration with packages that modify tab text,
like `uniquetabname` plugin.

Closes pkulchenko/ZeroBranePackage#11.
2015-02-14 21:36:15 -08:00
Paul Kulchenko
2cf79f22a8 Added document method GetTabText (#166). 2015-02-14 21:29:11 -08:00
Paul Kulchenko
798a31a64f Updated message on failure to start debugging to add the file name. 2015-02-13 21:30:55 -08:00
Paul Kulchenko
59a90c7030 Fixed Output/Console window to stay shown after failure to start debugging. 2015-02-13 21:29:48 -08:00
Paul Kulchenko
ee1a4a5752 Added showing love2d console when requested. 2015-02-11 11:13:17 -08:00
Paul Kulchenko
01ef664895 Added support to set/unset start file for a project (closes #411). 2015-02-09 12:21:22 -08:00
Paul Kulchenko
2f339302d1 Updated debugging suspended message to put location in quotes. 2015-02-09 11:53:13 -08:00
Paul Kulchenko
aaf7723014 Added requesting attention for debugger even when the file is not activated. 2015-02-09 11:48:09 -08:00
Paul Kulchenko
89751b430d Added reporting of location in more cases when debugging is suspended. 2015-02-09 11:46:19 -08:00
Paul Kulchenko
b9de69d4e9 Added starting debugging even when the file is not opened in the IDE. 2015-02-08 17:49:25 -08:00
Paul Kulchenko
b4c7d6deaa Fixed auto-complete for non-default acandtip.strategy values (fixed #409). 2015-02-08 16:05:10 -08:00
Paul Kulchenko
71667d2912 Fixed loading file with absolute name and line number (fixes #408).
This was broken by the change in 2ee9599 that was made to avoid delay when
relative filename with a line number looked like a network path (Windows).
2015-02-06 10:03:23 -08:00
Paul Kulchenko
fa704f5e2c Merge branch 'master' of http://git.code.sf.net/p/estrelaeditor/code 2015-02-05 18:27:53 -08:00
Paul Kulchenko
967a7fb8ad Added switching project directory from the command bar (#31). 2015-02-05 12:25:34 -08:00
Paul Kulchenko
3e7fb7f8b8 Added trimming of trailing spaces in the directory name when switching projects. 2015-02-05 12:24:25 -08:00
Paul Kulchenko
3e0abc6953 Added closing preview if the file failed to load in commandbar (#31). 2015-02-05 11:31:21 -08:00
Paul Kulchenko
216a1e5350 Refactored path normalization for project directory. 2015-02-05 11:11:30 -08:00
Paul Kulchenko
ea3c98c65f Added handling of Ctrl/Cmd-Enter in commandbar to force open file (#31). 2015-02-04 11:36:44 -08:00
Paul Kulchenko
fb1c754532 Added skipping loading files with empty and directory names. 2015-02-04 11:30:02 -08:00
Paul Kulchenko
3585de0f21 Updated tests to use current API. 2015-02-04 11:29:20 -08:00
Paul Kulchenko
3bd4fc0305 Updated line check in command bar to not trigger on Windows file names. 2015-02-04 11:08:13 -08:00
Paul Kulchenko
0e355074cd Added trimming of trailing spaces in the file name when loading a file. 2015-02-04 11:06:33 -08:00
Paul Kulchenko
7e6249ef3f Added file selection in the project tree after saving a new file. 2015-02-03 20:59:59 -08:00
Paul Kulchenko
af2a000af1 Added opening/creating file from the command bar (#31). 2015-02-03 20:31:52 -08:00
Paul Kulchenko
1a9efa6e5b Fixed an issue with search initiated from Output/Console panels (fixes #406). 2015-02-02 15:33:58 -08:00
Christoph Kubisch
dd97978d56 updated glewgl api (glew 1.12.0) 2015-02-01 18:33:20 +01:00
Paul Kulchenko
81aaaef538 Updated documentation for 0.95. 2015-01-30 10:29:54 -08:00
Paul Kulchenko
205c71fcf9 Added showing/hiding Output/Console panel during debugging. 2015-01-29 15:49:02 -08:00
Paul Kulchenko
3ea892018f Updated CHANGELOG with recent changes. 2015-01-28 14:34:29 -08:00
Paul Kulchenko
6c14118f32 Upgraded Mobdebug to 0.613 to improve Lua 5.3 compatibility (#401); thanks to @andrewstarks. 2015-01-26 17:31:12 -08:00
Paul Kulchenko
824cbdfec5 Added bordersize to configure sash size.
This is useful on large resolution screens where it may be difficult to
position mouse over a thin border.
2015-01-22 22:15:52 -08:00
Paul Kulchenko
67e2a71e63 Added package LoadFile method (#166). 2015-01-21 20:08:02 -08:00
Paul Kulchenko
49e1e86457 Merge branch 'master' of https://github.com/Fringale/ZeroBraneStudio into update-fr 2015-01-19 15:32:14 -08:00
Paul Kulchenko
9525511b61 Updated usage instructions in README. 2015-01-19 14:44:53 -08:00
Alexis Jarreau
51ce63c256 Update French translation with latest strings, plus some minor tweaks and consistency fixes 2015-01-19 23:29:24 +01:00
Evandro Costa
58ba572e21 Update pt-br.lua 2015-01-19 19:16:06 -02:00
Evandro Costa
bf6352936b Update pt-br.lua 2015-01-19 19:12:49 -02:00
Leo Bartoloni
3100e1022d updated italian translation
updated italian translation
2015-01-16 14:36:38 +01:00
riidom
2ea70b6d4b Update de.lua 2015-01-16 06:31:05 +01:00
Paul Kulchenko
a6501ffb44 Added Russian translation for new messages (#70). 2015-01-15 20:23:50 -08:00
Paul Kulchenko
519ed0bd3a Removed menu undeline from some updated items for consistency (#70). 2015-01-15 20:22:01 -08:00
Paul Kulchenko
974726dac9 Updated language files with new messages (#70). 2015-01-15 19:44:49 -08:00
Paul Kulchenko
efc0b277fe Fixed translation of a message in pt-br (#70, #389). 2015-01-15 19:42:37 -08:00
Paul Kulchenko
23d1e03dde Updated language files for Go to line messages (#70). 2015-01-15 19:37:00 -08:00
Paul Kulchenko
9d07d80b5b Enabled html and C/cpp specs by default (#395). 2015-01-13 12:16:23 -08:00
Paul Kulchenko
1829e78d05 Fixed find-and-replace to replace in already selected fragment if matched. 2015-01-12 22:51:42 -08:00
Paul Kulchenko
a71df9a2ac Updated case in the name of a local function. 2015-01-12 22:51:11 -08:00
Paul Kulchenko
62f72a7daa Update API descriptions with functions new in Lua 5.3. 2015-01-11 14:55:55 -08:00
Paul Kulchenko
2601c3f562 Added syntax highlighting for functions new in Lua 5.3. 2015-01-10 11:22:59 -08:00
Paul Kulchenko
1f7f96b8fd Fixed incorrect getfenv reference in Lua API. 2015-01-09 12:19:04 -08:00
Paul Kulchenko
e142566496 Updated loose parser to support Lua 5.2+ labels. 2015-01-09 11:35:38 -08:00
Paul Kulchenko
9824a1290f Updated loose parser to support goto and Lua 5.3 bitops. 2015-01-09 11:10:05 -08:00
Paul Kulchenko
a5d244f594 Updated Metalua to support Lua 5.3 bitops. 2015-01-09 10:17:47 -08:00
Paul Kulchenko
3b119a0efa Updated Metalua to support goto/labels in static analysis for Lua 5.2/5.3. 2015-01-08 10:49:33 -08:00
Paul Kulchenko
c9898f7839 Added commandbar.prefilter to commandbar to improve performance (#31). 2015-01-08 10:44:09 -08:00
Paul Kulchenko
5ed5032c94 Added custom formatting for APIs. 2015-01-07 21:05:19 -08:00
Paul Kulchenko
96c3f838d6 Added Insert Library Function to Navigate menu. 2015-01-07 15:41:49 -08:00
Paul Kulchenko
707c0d8f64 Added hiding tooltip/auto-complete popup after undo/redo/delete operations. 2015-01-06 17:50:59 -08:00
Paul Kulchenko
367a7abadb Improved handling of complex types in LDoc expressions in auto-complete. 2015-01-05 19:22:09 -08:00
Paul Kulchenko
076a48c378 Added api handling to the config to support custom APIs. 2015-01-04 22:19:18 -08:00
Paul Kulchenko
5cffb33c25 Removed wxwidgets from the list of default APIs for Lua interpreters. 2015-01-04 22:17:43 -08:00
Paul Kulchenko
9107b369f9 Improved failed search 'shake' visualization by forcing window redraw. 2015-01-03 21:34:55 -08:00
Paul Kulchenko
a721217996 Refactored handling of special symbols in commandbar (#31). 2015-01-03 17:31:49 -08:00
Paul Kulchenko
09599f8b7b Added Lapis and Moonscript debugging links to README. 2015-01-02 18:03:52 -08:00
Paul Kulchenko
c65d14f759 Added Contributing section to README. 2015-01-02 15:34:55 -08:00
Paul Kulchenko
9aa0bf200f Added LICENSE link to README. 2015-01-02 15:34:36 -08:00
Paul Kulchenko
4fb73d0eef Added Lua 5.3 links to README; updated links to remove '.html'. 2015-01-02 15:30:08 -08:00
Paul Kulchenko
9bbf4308d5 Added PgUp and PgDn navigation for commandbar (#31). 2015-01-01 18:12:48 -08:00
Paul Kulchenko
e1d6f594d5 Disabled commandbar navigation when any of the modifiers are pressed (#31). 2015-01-01 17:56:58 -08:00
Paul Kulchenko
b609038b3f Merge branch 'master' of https://github.com/evandro-costa/ZeroBraneStudio 2015-01-01 17:33:26 -08:00
Evandro Costa
79e7695af4 Update pt-br.lua 2015-01-01 23:10:14 -02:00
Evandro Costa
fef069abd9 Update pt-br.lua 2014-12-29 20:15:00 -02:00
Paul Kulchenko
e1195631f4 Added auto-complete support for LDoc '@tparam' and '@param[type=...]'. 2014-12-27 16:49:14 -08:00
Paul Kulchenko
63b018c321 Fixed localization on a function used in auto-complete. 2014-12-27 16:47:35 -08:00
Paul Kulchenko
9f2f1a1b9b Fixed fuzzy search tests. 2014-12-27 16:06:08 -08:00
Paul Kulchenko
8170111c9b Fixed search navigation to shift horizontally when usewrap is off. 2014-12-26 20:45:44 -08:00
Estudiiio
812000751e Brazilian Portuguese (pt-br) translation 2014-12-26 21:23:09 -02:00
Paul Kulchenko
8e59efb236 Upgraded Mobdebug (v0.611) to fix tooltips during Corona debugging (closes #387). 2014-12-25 10:46:21 -08:00
Paul Kulchenko
3b7b0891d9 Fixed variable localization. 2014-12-24 21:36:17 -08:00
Paul Kulchenko
e9b97650f3 Fixed indentation for lines with mixed string separators (#324, #388). 2014-12-24 21:35:43 -08:00
Paul Kulchenko
661ecf094e Fixed indentation for lines with escaped slashes (#324, closes #388). 2014-12-24 09:05:07 -08:00
Paul Kulchenko
f3d6188756 Added showing the symbol under cursor in Go To Symbol (#385). 2014-12-13 12:24:48 -08:00
Paul Kulchenko
eeb44e6ba5 Updated CommandBarShow to accept text fragment to select (#31). 2014-12-12 22:11:32 -08:00
Paul Kulchenko
c8fa7b77ac Added editor:ValueFromPosition method (#166). 2014-12-12 21:55:34 -08:00
Paul Kulchenko
3d54e08bee Fixed handling of duplicate symbols in Go To Symbol (#385). 2014-12-11 12:42:15 -08:00
Paul Kulchenko
43b90458d9 Added shortcut for Go To Symbol (#385). 2014-12-11 09:30:41 -08:00
Paul Kulchenko
be331ca054 Updated commandbar to avoid cache collisions (#31). 2014-12-10 21:41:55 -08:00
Paul Kulchenko
c57ad47a0e Added closing preview in commandbar when not needed (#31). 2014-12-10 21:27:43 -08:00
Paul Kulchenko
be298b0741 Added content of the line to Go To Symbol (#385). 2014-12-10 20:52:30 -08:00
Paul Kulchenko
0d4cd7821c Added navigation for duplicate symbols to Go To Symbol (#385). 2014-12-10 20:52:29 -08:00
Paul Kulchenko
e3d16402c1 Added menu item for Go To Symbol (#385). 2014-12-10 20:52:28 -08:00
Paul Kulchenko
ad044c9cc9 Added Go To Symbol support to the commandbar (#31, closes #385). 2014-12-10 20:52:19 -08:00
Paul Kulchenko
ce53c92e32 Updated commandbar menu items (#31). 2014-12-09 18:49:58 -08:00
Paul Kulchenko
4a58901580 Allowed renaming of files with different case in the project tree. 2014-12-07 19:40:26 -08:00
Paul Kulchenko
e0cbd25254 Renamed commandbar scoring function to be more generic (#31). 2014-12-06 23:02:43 -08:00
Paul Kulchenko
aacb686b55 Removed misleading comment. 2014-12-06 12:56:36 -08:00
Paul Kulchenko
38c466c839 Added update of file name in the Outline when editor tab is updated (#337). 2014-12-05 20:16:57 -08:00
Paul Kulchenko
64789b868d Fixed refresh of files in command bar preview when selected (#31). 2014-12-05 17:40:08 -08:00
Paul Kulchenko
9914cf9943 Updated parser to avoid splitting foo.bar in incremental processing. 2014-12-05 10:16:12 -08:00
Paul Kulchenko
9970e8194c Fixed recovery of empty (untitled) tabs. 2014-12-04 13:37:55 -08:00
Paul Kulchenko
93545f7b8e Added check for styles being reset in the config file (closes #383). 2014-12-04 09:40:48 -08:00
Paul Kulchenko
cf5c468267 Updated links in CONTRIBUTING documentation. 2014-12-03 21:32:14 -08:00
Paul Kulchenko
c7a4967bde Added loading file from project directory with "proj file" on command line. 2014-12-03 21:32:13 -08:00
Paul Kulchenko
2ee9599863 Improved command line file check for relative files on Windows.
Loading `file:10` was interpreted as network share for non-existing files.
2014-12-03 21:32:01 -08:00
Paul Kulchenko
bcc0d50562 Fixed an auto-complete issue after repeat until <var>. 2014-12-03 09:36:14 -08:00
Paul Kulchenko
d6593abda4 Split console output into shorter lines to improve memory usage and handling. 2014-12-03 09:36:03 -08:00
Paul Kulchenko
395fb2ee48 Renamed debugger.stackmax* settings to debugger.maxdata*. 2014-12-02 21:13:46 -08:00
Paul Kulchenko
0f98d10af1 Removed double check for invalid UTF-8 output in console. 2014-12-02 21:09:09 -08:00
Paul Kulchenko
7b35439f4b Fixed setting focus to the editor in commandbar with one tab (#31). 2014-12-02 14:51:16 -08:00
Paul Kulchenko
7c5a63d97e Added skipping of binary files in commandbar preview (#31). 2014-12-01 15:08:58 -08:00
Paul Kulchenko
a91ea001f2 Updated GetKnownExtensions to accept an optional extension to match against. 2014-12-01 15:07:31 -08:00
Paul Kulchenko
29b9da14a1 Updated FileRead to accept optional length. 2014-12-01 15:06:55 -08:00
Paul Kulchenko
c26e2f5f73 Added CONTRIBUTING file. 2014-11-29 00:04:46 -08:00
Paul Kulchenko
c2f2e2094a Added .mailmap to link pre-2011 commits. 2014-11-27 22:30:03 -08:00
Paul Kulchenko
6f974cc680 Added clearing Output window before showing Find-in-Files results. 2014-11-26 11:34:59 -08:00
Paul Kulchenko
223adbc385 Refactored logic to clear Output window. 2014-11-26 11:29:25 -08:00
Paul Kulchenko
931bd8173f Added default values for Outline config settings (#337). 2014-11-25 20:32:06 -08:00
Paul Kulchenko
d68de22496 Updated layout settings to use constants and new package API. 2014-11-25 20:31:08 -08:00
Paul Kulchenko
51a539ae78 Added package GetProjectNotebook method (#166). 2014-11-25 19:20:21 -08:00
Paul Kulchenko
7c1b8c70c7 Added saving Outline tab configuration in the Project notebook (#337). 2014-11-25 19:03:58 -08:00
Paul Kulchenko
3bf164c109 Upgraded MobDebug (0.61) to add basedir support. 2014-11-25 19:03:57 -08:00
Paul Kulchenko
42d9da815a Added outline.sort option to sort items in the outline (#337). 2014-11-25 19:03:56 -08:00
Paul Kulchenko
36fbb1ca96 Added outline.showflat option to show flat outline (#337). 2014-11-25 19:03:55 -08:00
Paul Kulchenko
320fa6e89f Refactored ID handling to allow using ID.COMMENT in config files. 2014-11-25 19:03:54 -08:00
Paul Kulchenko
bc78623d53 Renamed project tree component internally for consistency. 2014-11-25 19:03:53 -08:00
Paul Kulchenko
b171da7620 Added package GetOutlineTree method (#166). 2014-11-25 19:03:51 -08:00
Paul Kulchenko
fd00ee6ee1 Replaced table.insert with faster t[ind] in commandbar processing. 2014-11-25 19:03:50 -08:00
Ard van Breemen
e9f4b654e8 Add support for armhf architecture 2014-11-25 23:55:19 +01:00
Paul Kulchenko
0be23569f9 Added document Save method (#166). 2014-11-22 20:53:51 -08:00
Paul Kulchenko
5504029af6 Updated status refresh to only happen for the active editor. 2014-11-22 20:52:59 -08:00
Paul Kulchenko
fb53b619b0 Added init.lua to the search path (fixes require 'dist'). 2014-11-21 14:15:00 -08:00
Paul Kulchenko
6ccc47c5c4 Added forced garbage collection when switching from the app. 2014-11-20 23:12:56 -08:00
Paul Kulchenko
88572edfad Reduced the number of displayed matches in commandbar to limit memory (#31). 2014-11-18 20:05:36 -08:00
Paul Kulchenko
9f8d5ae06c Reduced caching in commandbar to conserve memory (#31). 2014-11-18 19:55:27 -08:00
Paul Kulchenko
9b26cec444 Updated toolbar UI checks to happen when running/debugging (#352). 2014-11-18 19:20:09 -08:00
Paul Kulchenko
db77afc787 Added penalty for missing characters in fuzzy search (#31). 2014-11-18 11:09:03 -08:00
Paul Kulchenko
71e78c3595 Fixed Lua 5.2 compatibility in commandbar code (#31). 2014-11-18 10:04:55 -08:00
Paul Kulchenko
ce6a740530 Improved uppercase matching in fuzzy search (#31). 2014-11-18 10:04:46 -08:00
Paul Kulchenko
23445bb2b9 Merge branch 'command-bar' 2014-11-17 15:29:12 -08:00
Paul Kulchenko
0dac8a221f Updated line caching logic to fix commandbar redrawing on OSX (#31). 2014-11-17 14:48:35 -08:00
Paul Kulchenko
bcc17ca3ad Fixed preview redrawing in commandbar on Linux (#31). 2014-11-17 14:02:26 -08:00
Paul Kulchenko
5b882697c4 Increased font size in commandbar (#31). 2014-11-17 13:40:04 -08:00
Paul Kulchenko
85043df0f6 Decreased penalty for case mismatch in fuzzy search (#31). 2014-11-17 13:39:42 -08:00
Paul Kulchenko
d2a12c55e7 Moved commandbar/Navigate menu to Search (#31). 2014-11-17 13:38:43 -08:00
Paul Kulchenko
c66fc390b6 Added line navigation to Navigate menu (#31). 2014-11-17 12:12:29 -08:00
Paul Kulchenko
0ea7b9f281 Updated command bar preview to work with line number navigation (#31). 2014-11-17 12:09:56 -08:00
Paul Kulchenko
02dff1e588 Added handling of line numbers in command bar (#31). 2014-11-17 12:01:32 -08:00
Paul Kulchenko
4acb113ab3 Updated based on static analysis results. 2014-11-17 09:16:34 -08:00
Paul Kulchenko
5f872039af Added caching to improve commandbar performance on large folders (#31). 2014-11-16 22:39:55 -08:00
Paul Kulchenko
66ae840e66 Updated fuzzy matching to better work with short file names (#31). 2014-11-16 20:04:59 -08:00
Paul Kulchenko
5441950fc7 Removed unused parameters in commandbar handling (#31). 2014-11-15 21:06:51 -08:00
Paul Kulchenko
5a312dee65 Fixed commandbar positioning on OSX/Linux (#31). 2014-11-15 13:25:28 -08:00
Paul Kulchenko
1bbf76d339 Updated commandbar to show relative file names (#31). 2014-11-15 13:25:28 -08:00
Paul Kulchenko
cf4e4a9edd Added setting explicit focus on preview tab in commandbar (#31).
This is to fix a strange issue with the cursor in the text control on the
commandbar being in the wrong location (on Windows).
2014-11-15 13:25:27 -08:00
Paul Kulchenko
e0ab26cb2b Disabled notebook 'freezing' in commandbar on OSX (#31). 2014-11-15 13:25:26 -08:00
Paul Kulchenko
1ead741fe2 Fixed mouse selection in commandbar on Linux (#31). 2014-11-15 13:25:25 -08:00
Paul Kulchenko
62bcc65337 Added preview on first selection in commandbar (#31). 2014-11-15 13:25:24 -08:00
Paul Kulchenko
fde1a8998f Added file preview to commandbar (#31). 2014-11-15 13:25:23 -08:00
Paul Kulchenko
7ab528edd7 Added fuzzy search for files in commandbar (closes #31). 2014-11-15 13:25:22 -08:00
Paul Kulchenko
9f59dd5542 Added displaying the list of current tabs for commandbar (#31). 2014-11-15 13:25:21 -08:00
Paul Kulchenko
ff136b025f Added commandbar prototype for file navigation (#31).
Added using editor color settings for the command bar.
Added positioning for the command bar.
Added lines between rows in the command bar.
Added a panel to serve as frame substitute on OSX/Linux.
Updated commandbar colors to match the rest of the colors.
Updated commandbar to use a different type of sizer.
Fixed separators between commandbar lines.
Updated commandbar to use different handling on OSX/Linux than on Win.
  wxTextCtrl in wxFrame doesn't get focus on OSX and Linux; seems to be a
  known wxwidgets issue: http://trac.wxwidgets.org/ticket/11948.
  The workaround is to use wxPanel instead of wxFrame, but it requires
  a bit different handling and positioning.
Added restoring focus after change in selection.
Updated commandbar fonts to use editor settings.
Updated commandbar fonts and separators.
Set commandbar selection to 'none' by default.
Removed logging messages from commandbar processing.
2014-11-15 13:22:10 -08:00
Paul Kulchenko
8e49682ea0 Added reset of tokens when editor content is reloaded (#337). 2014-11-14 17:04:39 -08:00
Paul Kulchenko
be4c0d646a Updated Corona integration to hide console on OSX (2014.2393+). 2014-11-14 09:49:17 -08:00
Paul Kulchenko
9960b046f9 Fixed auto-complete after text not separated by a whitespace or bracket. 2014-11-12 16:16:40 -08:00
Paul Kulchenko
5d86cc51bc Removed border from tree controls (#305). 2014-11-12 15:45:41 -08:00
Paul Kulchenko
03c0677789 Fixed an error when disabling outline by setting outlineinactivity=nil. 2014-11-12 15:40:20 -08:00
Paul Kulchenko
c7d43416cd Updated documentation for 0.90. 2014-11-08 23:32:13 -08:00
Paul Kulchenko
6459b4ab05 Updated permissions on dylib files and Lua 5.3 binaries. 2014-11-08 23:24:53 -08:00
Paul Kulchenko
3a3adf4d04 Updated MANIFEST files to include Lua 5.3 binaries. 2014-11-08 22:56:46 -08:00
Paul Kulchenko
9ca4cf822c Disabled closing tabs in floating panels. 2014-11-07 08:44:11 -08:00
Paul Kulchenko
a6ca8f5ffc Updated CHANGELOG with recent changes. 2014-11-05 21:41:35 -08:00
Paul Kulchenko
eb5dc5048a Added event handlers on file rename; updates file name in the outline (#337). 2014-11-05 21:35:21 -08:00
Paul Kulchenko
a9b0fcdf02 Added IsPanelDocked package method (#166). 2014-11-05 11:47:30 -08:00
Paul Kulchenko
f252317c9e Added GetOutputNotebook package method (#166). 2014-11-05 11:47:01 -08:00
Paul Kulchenko
338ba9a139 Added CreateBareEditor package method (#166). 2014-11-05 11:46:20 -08:00
Paul Kulchenko
10025ed2c0 Added creating italic font if only the main one is provided. 2014-11-05 11:44:48 -08:00
Paul Kulchenko
e52164ec98 Updated markup processing to support links in non-editor documents. 2014-11-05 11:39:00 -08:00
Paul Kulchenko
51868dd862 Updated markup processing to allow for 3+ markup sequences. 2014-11-05 10:33:16 -08:00
Paul Kulchenko
67e5628b61 Reduced rate of toolbar UI checks to improve performance (fixes #352). 2014-11-05 10:30:40 -08:00
Paul Kulchenko
7f4a06cc7c Reduced unnecessary editor processing to improve performance (#352). 2014-11-05 10:29:26 -08:00
Paul Kulchenko
04f2dbba8f Fixed column indicator on lines with tabs (fixes #379). 2014-11-04 18:08:01 -08:00
Paul Kulchenko
4bd2dc8d20 Added unindent on backspace (controlled by editor.backspaceunindent). 2014-11-03 21:22:41 -08:00
EM
e84f01f690 Corrected a few things. 2014-11-03 22:45:40 -06:00
EM
b3d85bf15a Updated eo translation. 2014-11-03 22:36:13 -06:00
Paul Kulchenko
d090daab37 Fixed not hiding directories when files without extension are hidden (#375). 2014-11-02 09:18:18 -08:00
Paul Kulchenko
03970faf71 Added marking file after showing files in the tree (#375). 2014-11-01 18:26:42 -07:00
Paul Kulchenko
19d50637ad Added hiding/showing files by type in the project/filetree (closes #375). 2014-11-01 18:09:52 -07:00
Paul Kulchenko
adbea02202 Updated handling of extensions to allow more symbols in extensions. 2014-11-01 18:09:51 -07:00
Paul Kulchenko
a7c51efea2 Updated AddPackage to assign package file name (#166). 2014-11-01 18:09:50 -07:00
Paul Kulchenko
3cac414712 Updated code based on static analysis suggestions. 2014-10-31 13:57:30 -07:00
Paul Kulchenko
f028443f28 Updated outline to use AddPackage method (#337). 2014-10-31 13:29:42 -07:00
Paul Kulchenko
4ec729a8f1 Added AddPackage and RemovePackage methods (#166). 2014-10-31 13:29:19 -07:00
Paul Kulchenko
17c2b2dbce Added Lua 5.3 (beta) support and binaries. 2014-10-31 12:43:49 -07:00
Paul Kulchenko
251c09cb81 Updated Lua 5.3 build scripts. 2014-10-31 12:43:46 -07:00
riidom
2d55a81c5e Update de.lua 2014-10-31 20:29:58 +01:00
Paul Kulchenko
60c23b1d64 Added scope-aware auto-complete for local/global variables (closes #291). 2014-10-29 14:07:45 -07:00
Paul Kulchenko
f38530041a Fixed file renaming in the filetree after using SaveAs.
This issue is only seen on case insensitive systems when the case in the
project directory is different from the case returned by `SaveAs` dialog.
2014-10-29 12:12:14 -07:00
Paul Kulchenko
e25b86fbf1 Added Russian translation for new messages (#70). 2014-10-28 20:23:47 -07:00
Paul Kulchenko
67646c850a Updated language files with new messages (#70). 2014-10-27 15:58:00 -07:00
Paul Kulchenko
4bbdc6a80e Updated translation building script to handle non-string parameters (#70). 2014-10-27 15:56:59 -07:00
Paul Kulchenko
c301f82672 Updated messages for to match translations (#70). 2014-10-27 13:48:22 -07:00
Paul Kulchenko
f8202b119e Added translation label for Toggle Bookmark toolbar icon (#70, #373). 2014-10-27 13:09:37 -07:00
Paul Kulchenko
51f42d6629 Fixed Run toolbar label not being translated (#70, #373). 2014-10-27 12:10:45 -07:00
Paul Kulchenko
9d601bb2cf Removed caption as it's not visible. 2014-10-27 12:10:43 -07:00
Paul Kulchenko
19a5f3d531 Fixed Project label shown untranslated in other languages (#70, #373). 2014-10-27 12:10:41 -07:00
Paul Kulchenko
39256961f4 Refactored timer usage for consistency. 2014-10-27 12:10:40 -07:00
Paul Kulchenko
63d3045c45 Fixed outline refresh after quick tab switches (#337). 2014-10-27 12:10:38 -07:00
cosmotect
0ec38f7ec5 Added an Esperanto (eo) translation. 2014-10-27 00:36:53 -05:00
Paul Kulchenko
9789ecb923 Fixed an error when dragging Stack/Watch/other tabs between notebooks. 2014-10-24 15:34:42 -07:00
Paul Kulchenko
2f2d4c7211 Fixed Output tab name after stopping/completing remote debugging. 2014-10-24 14:03:38 -07:00
Paul Kulchenko
08a06ecfce Fixed index check during tab name update. 2014-10-24 14:02:53 -07:00
Paul Kulchenko
cba1b34f21 Added acandtip.maxlength option for setting the length of a tooltip. 2014-10-23 22:09:06 -07:00
Paul Kulchenko
6f18722bcf Updated processing of function indicators when auto-analyzer is off. 2014-10-23 22:07:37 -07:00
Paul Kulchenko
f6694293ec Updated tooltip processing to make it more consistent and better use space. 2014-10-22 20:45:53 -07:00
Paul Kulchenko
ea2beab605 Added onEditorCallTip method (#166). 2014-10-22 18:20:10 -07:00
Paul Kulchenko
a6d87f191a Updated RemoveMenuItem to disconnect handlers attached to the main frame (#166). 2014-10-21 20:45:26 -07:00
Paul Kulchenko
fec0804996 Minor update to indentation guides handling (#371). 2014-10-20 14:05:59 -07:00
Paul Kulchenko
25af9f0752 Upgraded Mobdebug (0.607) to fix debugging after Detach Process command. 2014-10-20 14:02:18 -07:00
Wojciech Milkowski
1079efdee3 make indentation guide configurable 2014-10-19 22:47:18 +02:00
Paul Kulchenko
5a5d3f8c02 Fixed keeping toolbar status after hiding it.
This also fixes restoring toolbar height after icon size changes.
2014-10-18 09:12:39 -07:00
Paul Kulchenko
2f9778a7bb Fixed localization to avoid error in SaveAs processing. 2014-10-18 09:09:03 -07:00
Christoph Kubisch
a2db834383 bugfix on extension change save-as, related to new indication handling 2014-10-18 11:36:14 +02:00
Paul Kulchenko
af05c45752 Improved scroll positioning in the outline after tab changes (#337). 2014-10-17 14:31:20 -07:00
Paul Kulchenko
83aadb7abf Added scrolling to the top of the outline when showonefile is set (#337). 2014-10-17 13:45:59 -07:00
Paul Kulchenko
11dc1aa6ea Refactored adding editor tab to ensure callbacks have document data. 2014-10-17 13:44:40 -07:00
Paul Kulchenko
12e2c10cff Fixed handling of remapped image files; improved error reporting. 2014-10-16 23:56:01 -07:00
Paul Kulchenko
789321143a Fixed search in files/directories with % in the name (fixes #369). 2014-10-16 23:15:10 -07:00
Paul Kulchenko
cfe214469b Restored removed function in Lua spec (partial revert of 713d0935). 2014-10-16 22:18:13 -07:00
Paul Kulchenko
713d09354d Updated function call indicator to support isfncall and marksymbols. 2014-10-16 21:43:42 -07:00
Paul Kulchenko
974cd8b6e2 Updated function indicator processing to use ranges. 2014-10-16 21:22:24 -07:00
Paul Kulchenko
2bd2f896ca Updated C-based specs to handle function calls without parameters. 2014-10-16 20:13:59 -07:00
Paul Kulchenko
385582122d Updated method of collapsing outline to fix crash on OSX (#337, fixes #368). 2014-10-16 17:29:16 -07:00
Paul Kulchenko
16f026813a Removed reference to funclist, which is no longer needed. 2014-10-16 17:14:20 -07:00
Paul Kulchenko
79381bc5a3 Fixed disabling Stack/Watch icons in the toolbar. 2014-10-16 10:23:51 -07:00
Paul Kulchenko
40d4ee7582 Updated showanonymous to a label for anon functions in the outline (#337). 2014-10-16 10:04:22 -07:00
Paul Kulchenko
9b8c89bc92 Refactored GetBitmap package method (#166). 2014-10-15 22:52:47 -07:00
Paul Kulchenko
b114996f26 Added package GetAppName method and removed hardcoded name references (#166). 2014-10-15 22:52:45 -07:00
Paul Kulchenko
e71c197da1 Added package CreateImageList method (#166). 2014-10-15 22:52:44 -07:00
Paul Kulchenko
84285ffebb Fixed navigation in function outline when showonefile is set (#337). 2014-10-15 22:52:31 -07:00
Paul Kulchenko
b46b0a62e3 Added imagemap setting to support custom images. 2014-10-15 22:02:29 -07:00
Paul Kulchenko
28e93b62b7 Updated C-based specs to use marksymbols to provide outline for C functions. 2014-10-14 20:25:54 -07:00
Paul Kulchenko
6019d29a2b Renamed markvars method used in spec files to marksymbols. 2014-10-13 15:31:19 -07:00
Paul Kulchenko
208fdad134 Added showonefile option for the outline to always show one file (#337). 2014-10-12 19:08:40 -07:00
Paul Kulchenko
415c3c20a5 Added option for not/showing anonymous functions in the outline (#337). 2014-10-12 16:37:27 -07:00
Paul Kulchenko
4f81014a13 Updated images in the outline; added showmethodindicator option (#337). 2014-10-12 14:50:15 -07:00
Paul Kulchenko
03df5c8e37 Reduced the number of focus changes in the outline (#337). 2014-10-11 21:47:40 -07:00
Paul Kulchenko
5c89560fd4 Improved support for non-lua specs in the outline (#337). 2014-10-11 13:27:06 -07:00
Paul Kulchenko
6f85d8bc71 Updated label for anonymous functions in the outline (#337). 2014-10-11 13:27:04 -07:00
Paul Kulchenko
89e012b38a Fixed localization in function outline (#337). 2014-10-11 13:27:02 -07:00
Christoph Kubisch
8ec25b74b2 cg/hlsl/glsl refine isfndef capture, mostly to react on GLSL's layout mechanism 2014-10-11 13:02:55 +02:00
Christoph Kubisch
49b96a65b6 bugfix in output callback for commandline tools 2014-10-11 11:42:40 +02:00
Paul Kulchenko
d349245890 Fixed error after using Enter multiple times in Find in Files on OSX. 2014-10-09 08:44:46 -07:00
Paul Kulchenko
266c242df7 Updated package.config description to remove reference to Lua 5.2. 2014-10-09 08:40:52 -07:00
Paul Kulchenko
09ece96e39 Fixed activation in tree:FindItem when new editor tab is opened (#166).
It incorrectly activates the root element, which was introduced by be323d55.
2014-10-08 18:35:49 -07:00
Paul Kulchenko
9f31af523f Updated outline to track filename changes after Save As (#337). 2014-10-08 17:55:42 -07:00
Paul Kulchenko
732ec73b86 Fixed flicker in the outline when auto-complete is shown (#337). 2014-10-08 12:46:29 -07:00
Paul Kulchenko
0690e49ceb Fixed focus switch after selecting a function in the outline and editing (#337). 2014-10-08 11:30:50 -07:00
Paul Kulchenko
2f18ffeda0 Updated parser to report function token before parameters (#337).
This fixes local/global handling of functions with parameters in the
outline.
2014-10-08 11:08:15 -07:00
Paul Kulchenko
87259150c7 Added collapsing outlines for files in inactive tabs (#337). 2014-10-08 10:07:50 -07:00
Paul Kulchenko
5f274c5db4 Added local/global indicators to function outline (#337). 2014-10-07 22:32:18 -07:00
Paul Kulchenko
ece092bfdc Fixed off-by-one error in function outline position tracking (#337). 2014-10-07 22:09:29 -07:00
Paul Kulchenko
6da609c4d1 Added Run and Run as Scratchpad buttons to the toolbar. 2014-10-06 22:01:49 -07:00
Paul Kulchenko
e8aa936898 Merge branch 'function-outline' 2014-10-06 21:39:57 -07:00
Paul Kulchenko
710b7679f2 Disabled moving of Output/Console/Project tabs between panels. 2014-10-06 21:14:01 -07:00
Paul Kulchenko
6fdbfc3398 Added package GetConsole method (#166). 2014-10-06 21:14:00 -07:00
Paul Kulchenko
0499bd6034 Added view menu for the Outline window (#337). 2014-10-06 21:14:00 -07:00
Paul Kulchenko
c1ab2105a5 Added drag-and-drop support for the Outline tab (#337). 2014-10-06 21:13:59 -07:00
Paul Kulchenko
28f9085c63 Refactored drag-and-drop processing for Project/Output window tabs (#377). 2014-10-06 21:13:58 -07:00
Paul Kulchenko
ad39453dca Refactored panel docking; added AddPanelDocked package method (#166). 2014-10-06 21:13:57 -07:00
Paul Kulchenko
7a33783acf Updated parser to avoid 'breaking' statements during incremental processing. 2014-10-06 21:13:27 -07:00
Paul Kulchenko
9edc54a019 Updated outline to always expand functions in the current file (#337). 2014-10-05 23:50:27 -07:00
Paul Kulchenko
404537f1eb Updated indicator processing to improve performance on large files. 2014-10-05 13:53:26 -07:00
Paul Kulchenko
665e2f9af1 Updated outline to show files without functions (#337). 2014-10-05 13:53:25 -07:00
Paul Kulchenko
30533acf5c Updated outline logic to show on the very first launch (#337). 2014-10-05 13:53:25 -07:00
Paul Kulchenko
a097557176 Remove function dropdown from the toolbar (#337). 2014-10-05 13:53:24 -07:00
Paul Kulchenko
f7af2621dc Added function outline (closes #337, closes #222). 2014-10-05 13:53:08 -07:00
Paul Kulchenko
3f293e2759 Updated parser to store position for not-quite-valid function names. 2014-10-05 13:51:44 -07:00
Paul Kulchenko
9702829b57 Added document SetActive method (#166). 2014-10-05 13:51:43 -07:00
Paul Kulchenko
b2ebfa2bf4 Updated parser to handle ... in function parameters. 2014-10-05 13:51:42 -07:00
Paul Kulchenko
f1636f4921 Fixed storing position in function handling. 2014-10-05 13:51:41 -07:00
Paul Kulchenko
536241ea4a Reorganized token list processing to keep it within the editor. 2014-10-05 13:51:40 -07:00
Paul Kulchenko
792342634e Added function handling to the token processing. 2014-10-01 22:37:58 -07:00
Paul Kulchenko
6407c58704 Added package ExecuteCommand method (#166). 2014-10-01 17:42:18 -07:00
Paul Kulchenko
1b7039e858 Switched to using Is{Input|Error}Available instead of stream:CanRead.
`CanRead` was occasionally crashing on Windows when reading input from
an application with delays in producing the output.
Using `IsInputAvailable` hasn't shown any issues, so using it instead.
2014-09-30 23:09:30 -07:00
Paul Kulchenko
ce86a8945f Updated un/comment to keep the current selection and caret position (#360). 2014-09-29 15:54:38 -07:00
Paul Kulchenko
b047762803 Updated output callback processing not to run when nothing to process. 2014-09-29 09:48:26 -07:00
Paul Kulchenko
1b92ed9234 Fixed stream reading for the Output to only include actually read chars. 2014-09-28 22:32:25 -07:00
Paul Kulchenko
dcbfed6b59 Added build support for Lua 5.3-alpha and luasocket for Lua 5.3. 2014-09-27 21:05:00 -07:00
Paul Kulchenko
d1fb8837f7 Refactored default fprojdir and fworkdir from the interpreter code. 2014-09-27 13:45:39 -07:00
Paul Kulchenko
34a374e1c2 Added GetAPI method for interpreter (#166). 2014-09-26 15:19:14 -07:00
Paul Kulchenko
29860fdae8 Added rule to enable Set From Current File only when available. 2014-09-26 14:06:34 -07:00
Paul Kulchenko
93dabed113 Updated interpreter processing to run after packages are loaded. 2014-09-26 14:05:09 -07:00
Paul Kulchenko
b73a5f71a9 Updated command launch handling to allow output suppression. 2014-09-25 23:27:52 -07:00
Paul Kulchenko
11647b3508 Added package GetKnownExtensions method (#166). 2014-09-24 16:10:46 -07:00
Paul Kulchenko
524421cc22 Updated package GetRootPath to accept file/directory name (#166). 2014-09-24 16:10:08 -07:00
Paul Kulchenko
3ec95ecbb2 Added handling of ~ in launch command path. 2014-09-23 21:29:31 -07:00
Paul Kulchenko
112d679f83 Added package AddTool and RemoveTool methods (#166). 2014-09-23 21:28:54 -07:00
Paul Kulchenko
97d8b30e17 Refactored tools interface to make it easy to add/remove tools.
The tool command (`exec.fn` method) now accepts `filename` as the first
parameter instead of `wx.wxFileName`.
2014-09-23 20:36:57 -07:00
Paul Kulchenko
4ac9376b19 Improved ffitoapi tool logic when no replacement is made. 2014-09-23 20:28:49 -07:00
Paul Kulchenko
98ba823e23 Removed menu separator from the Tools menu. 2014-09-22 18:28:00 -07:00
Paul Kulchenko
4a2c8e9167 Added package FindTopMenu method (#166). 2014-09-22 18:27:26 -07:00
Paul Kulchenko
8ebb89aaaf Fixed an issue with removing first menu item in RemoveMenuItem (#166). 2014-09-22 18:26:55 -07:00
Paul Kulchenko
e892c91518 Added project dir to find dialog paths; thanks to @sclark39 (closes #358). 2014-09-21 01:03:08 -07:00
Paul Kulchenko
b048b57461 Moved 'default' search path to be searched first (#357). 2014-09-20 22:13:14 -07:00
Paul Kulchenko
4ba15eb62f Removed prepending libraries for debugging to LUA_CPATH when custom interpreter is specified.
This helps to minimize conflicts when stock lua or custom lua interpreter
is used; libraries from /clibs/ folders will only be used as the last
resort.
2014-09-19 22:09:22 -07:00
Paul Kulchenko
2b7cec04b9 Improved compatibility with Lua 5.2 interpreter (closes #357). 2014-09-18 23:09:21 -07:00
Paul Kulchenko
79d15adc13 Upgraded MobDebug (0.606) for Detach Process to correctly close debugging. 2014-09-18 16:10:06 -07:00
Paul Kulchenko
43e700d1e6 Added check for existing process id before stopping the process. 2014-09-18 15:39:03 -07:00
Paul Kulchenko
0d646677ce Added check for pending data to improve re-starting debugging session. 2014-09-18 15:32:22 -07:00
Paul Kulchenko
4e055d0d4a Fixed an issue with searching in Output and Console windows.
This was broken by an earlier commit (df6b9fe9), which enabled search in
the current editor window. This change initiates the search in the last
editor component with a focus.
2014-09-17 10:13:27 -07:00
Paul Kulchenko
68d7fd70c8 Reorganized default config settings. 2014-09-15 18:27:54 -07:00
Paul Kulchenko
1492c225d7 Removed unused image files. 2014-09-14 21:23:58 -07:00
Paul Kulchenko
2bbffce9e1 Renamed image files to have names correspond to the content. 2014-09-14 21:22:23 -07:00
Christoph Kubisch
76a0714638 show warning if directory not set 2014-09-14 14:28:41 +02:00
Christoph Kubisch
e909158de5 glsl 4.5 2014-09-14 14:28:41 +02:00
Paul Kulchenko
4c7c9593de Fixed unused variables and constants based on static analysis. 2014-09-10 22:15:38 -07:00
Paul Kulchenko
04d1fc8299 Fixed replacement when selection doesn't match the text being searched for. 2014-09-10 22:09:31 -07:00
Paul Kulchenko
6174f924e0 Updated static analizer to accept typedlua parser in addition to metalua. 2014-09-09 20:12:55 -07:00
Paul Kulchenko
5031c5f5c1 Added sending Corona SDK simulator output to the Output window on Windows. 2014-09-08 22:12:45 -07:00
Paul Kulchenko
23f617d22a Added navigation based on 'filename:line:pos' in the Output window. 2014-09-07 09:40:41 -07:00
Paul Kulchenko
f33865ccc4 Added example of enabling Opt+Shift+Left/Right shortcut on OSX. 2014-09-06 13:10:21 -07:00
Christoph Kubisch
620466ad3a updated luxinia2 related files 2014-09-06 15:35:40 +02:00
Paul Kulchenko
df6b9fe9b3 Updated search/replace to always use the current editor/output/console tab. 2014-09-05 14:24:06 -07:00
Paul Kulchenko
63bc899a97 Fixed 'slow' mode of static analysis to work with Metalua 0.7.2. 2014-09-03 21:05:09 -07:00
Paul Kulchenko
5c84079283 Fixed refresh of 'background' markers during debugging. 2014-09-02 22:43:03 -07:00
Paul Kulchenko
64b14f4005 Fixed incorrect binary not calculation with wxlua and LuaJIT 2.1.
There appears to be an issue with `bit.bnot` included with wxlua,
which only manifests itself under LuaJIT 2.1 when SSE2 processing is
enabled. This is triggered by LuaJIT commit 57768cd (x86: Remove x87
support from interpreter), but the issue is with wxlua, not LuaJIT.
2014-09-02 22:40:46 -07:00
Paul Kulchenko
b0ce69da6a Updated CHANGELOG for 0.80. 2014-08-31 21:43:23 -07:00
Paul Kulchenko
da7edc4580 Upgraded MobDebug (0.60). 2014-08-30 21:17:26 -07:00
Paul Kulchenko
31b7e4d788 Fixed watch refresh of tables without array part. 2014-08-30 20:39:35 -07:00
Paul Kulchenko
c940b56459 Updated README with filename:<line> and filename:p<pos> syntax. 2014-08-30 14:33:16 -07:00
Paul Kulchenko
dcc28d9ce2 Added default values for hotexit and saveallonrun settings. 2014-08-29 22:40:11 -07:00
Paul Kulchenko
334a071219 Added debugger GetHostName and GetPortNumber methods (#166). 2014-08-25 12:25:23 -07:00
Paul Kulchenko
48ba4e26b8 Fixed disabling auto-recovery on app switching. 2014-08-25 12:24:41 -07:00
Paul Kulchenko
8da70c6e75 Avoided system lib conflict when debugging by using bundled libs (fixes #355). 2014-08-24 22:28:34 -07:00
Paul Kulchenko
61198caae5 Updated copas library to support non-blocking requests using socket.http.
See for details: http://lua-users.org/lists/lua-l/2014-07/msg00516.html
2014-08-22 23:27:40 -07:00
Paul Kulchenko
4e8b9d41ba Merge branch 'watch-as-tree-with-edit' 2014-08-21 14:44:25 -07:00
Paul Kulchenko
86af637781 Enabled editing of values in Watch window. 2014-08-21 14:34:11 -07:00
Paul Kulchenko
08825ba79a Added a check for a local shortcut (F2/Del) being enabled before triggering. 2014-08-21 14:15:02 -07:00
Paul Kulchenko
f2b3161474 Updated Stack and Watch views to better stringify keys. 2014-08-21 14:15:01 -07:00
Paul Kulchenko
22f2f68a3a Disabled editing on non-root watch elements. 2014-08-21 14:15:00 -07:00
Paul Kulchenko
e3f666570a Added refresh of expanded Watch values. 2014-08-21 14:14:59 -07:00
Paul Kulchenko
dc757d48e5 Added support for expanding table elements in Watch window. 2014-08-21 14:14:58 -07:00
Paul Kulchenko
da6b7db0e6 Updated watch menu to handle item under mouse cursor. 2014-08-21 14:14:57 -07:00
Paul Kulchenko
ec218e1424 Removed check for multiple references in stack values.
All references will be shown; circular references can be expanded as well.
2014-08-21 14:14:55 -07:00
Paul Kulchenko
c178ec9ab4 Refactored stack processing to use methods to handle expandable table values. 2014-08-21 14:14:54 -07:00
Paul Kulchenko
9f87a780a7 Simplified logic for watch processing. 2014-08-21 14:14:53 -07:00
Paul Kulchenko
40809b6396 Switched from using TreeItemData to Lua tables for watch expressions.
Storing changes to wxLuaTreeItemData doesn't work from coroutines for some
reason, so using Lua tables instead.
2014-08-21 14:14:52 -07:00
Paul Kulchenko
6f04ef8921 Added package AddWatch method (#166). 2014-08-21 14:14:51 -07:00
Paul Kulchenko
a3235b23bb Updated constants for image lists. 2014-08-21 14:13:57 -07:00
Paul Kulchenko
b3fdde036e Fixed find-in-files error when used with editor not in focus (fixes #354). 2014-08-20 00:45:17 -07:00
Paul Kulchenko
1e86c3c2d6 Switched to using tree control for watches.
Replaced AssignImageList with SetImageList as there are multiple controls
using the same Image list (and it can't be shared if Assign is used).
2014-08-14 21:34:14 -07:00
Paul Kulchenko
57a89f0c45 Updated FindMenuItem method to search in the main and specified menus (#166). 2014-08-14 12:30:21 -07:00
Paul Kulchenko
710c49850c Added toolbar.iconsize to configure toolbar icon size. 2014-08-12 14:36:52 -07:00
Paul Kulchenko
94662bbd4c Added run-as-scratchpad toolbar icon (hidden by default). 2014-08-12 12:05:17 -07:00
Paul Kulchenko
fc1f9375ed Added run toolbar icon (hidden by default). 2014-08-12 12:05:07 -07:00
Paul Kulchenko
7db6b1ad07 Added find-in-files toolbar icon (hidden by default). 2014-08-12 12:04:54 -07:00
Paul Kulchenko
d70d6a0bd6 Added support for disabling individual icons in the toolbar. 2014-08-11 17:30:56 -07:00
Paul Kulchenko
b130e68b51 Added replacing all selected instances using a dialog (closes #342). 2014-08-10 22:24:15 -07:00
Paul Kulchenko
fdbb835199 Added highlighting all instances of selected text (closes #344).
If the currently selected fragment doesn't look like a variable,
then all instances of the fragment are selected in the text when
`Rename All Instances` is used.
2014-08-10 21:41:34 -07:00
Paul Kulchenko
3cc2d861db Improved config handling when editor configuration is removed/empty. 2014-08-09 16:16:48 -07:00
Paul Kulchenko
e5ca96879a Updated ide.config to access wx, wxstc, and os through metatable. 2014-08-09 16:13:22 -07:00
Paul Kulchenko
80248d2a77 Added filetree.mousemove option to disable drag-n-drop (closes #351). 2014-08-09 16:12:10 -07:00
Paul Kulchenko
400de47586 Added suspended to Output panel title when debugger is stopped (closes #350). 2014-08-08 11:14:30 -07:00
Paul Kulchenko
cfdbbff3c7 Added a warning when remote console can't evaluate an expression (#350). 2014-08-08 11:13:00 -07:00
Paul Kulchenko
5235cc001b Added handling of osname to package dependencies (#166). 2014-08-07 18:08:18 -07:00
Paul Kulchenko
12fd9611f7 Added onIdle event (#166). 2014-08-07 15:22:33 -07:00
Paul Kulchenko
be323d555d Added tree:FindItem method (#166). 2014-08-07 14:47:25 -07:00
Paul Kulchenko
11facf0acb Added package Yield method (#166). 2014-08-06 22:01:59 -07:00
Paul Kulchenko
4b13017620 Fixed package GetStack method to return proper control (#166). 2014-08-06 22:01:28 -07:00
Paul Kulchenko
7ddaaa20e6 Updated recent projects/files handling to allow menus to be removed. 2014-08-06 22:00:11 -07:00
Paul Kulchenko
b659dfaf79 Added package RemoveMenuItem method (#166). 2014-08-06 17:24:04 -07:00
Paul Kulchenko
20c73a9e92 Updated package FindMenuItem method (#166). 2014-08-06 17:23:38 -07:00
Paul Kulchenko
dfca13b96d Fixed Watch window background color on some Mint Linux systems. 2014-08-06 14:53:53 -07:00
Paul Kulchenko
3c25189fdb Fixed debugging error when debugger.runonstart is specified (fixes #348, #341). 2014-08-04 16:25:42 -07:00
Paul Kulchenko
a1c67447b5 Added ability to set location of ini file from config. 2014-08-04 14:32:10 -07:00
Paul Kulchenko
6710758962 Added ability to load bitmap as toolbar icon. 2014-08-03 22:24:26 -07:00
Paul Kulchenko
e761a5f7ef Renamed all image files to remove cruft from their names. 2014-08-03 14:17:04 -07:00
Paul Kulchenko
c8f84e4694 Added ability to customize toolbar. 2014-08-03 13:47:19 -07:00
Paul Kulchenko
e40215a4d1 Added saving (one-line) layout for editor tabs. 2014-08-02 16:57:31 -07:00
Paul Kulchenko
46d6ab8f9e Improved autotabs logic when the file starts with indentation. 2014-08-02 10:23:38 -07:00
Paul Kulchenko
377fbfab39 Updated autotabs to respect usetabs when no indentation is present. 2014-08-01 21:58:20 -07:00
Paul Kulchenko
4c4259f5ca Added centering of the screen after re-indenting and sorting (#337). 2014-08-01 14:55:23 -07:00
Paul Kulchenko
0e8b29936e Updated copy/cut to capture one instance when all are the same (closes #345).
This logic is also applied to `Ctrl-Ins` and `Shift-Del` combinations.
2014-07-31 15:35:21 -07:00
Paul Kulchenko
54f16def09 Fixed keybinding for Ctrl-<punctuation> working on Linux (fixes #346). 2014-07-31 13:51:40 -07:00
Paul Kulchenko
e8d7235cfb Improved auto-complete logic that tracks variable assignments (fixes #343). 2014-07-31 11:54:00 -07:00
Paul Kulchenko
bac1cbc028 Refactored file name generation for compilation and static analysis. 2014-07-30 17:54:55 -07:00
Paul Kulchenko
94ceb8d9df Fixed localization based on static analysis. 2014-07-30 17:54:26 -07:00
Paul Kulchenko
6f1a0c0316 Merge branch 'map-remote-runonstart' 2014-07-30 17:14:48 -07:00
Li Jia
a225d7e7c7 Add local to variable 'activated' in function mapRemotePath 2014-07-30 13:10:41 +08:00
Li Jia
e3f7719ca7 Fix remote path map when 'runonstart' option is set. 2014-07-30 12:53:58 +08:00
Paul Kulchenko
809e46eaf7 Increased default project history length to 20. 2014-07-29 12:59:31 -07:00
Paul Kulchenko
5450ad8311 Fixed error reporting during Analyze (fixes #340). 2014-07-29 12:58:04 -07:00
Paul Kulchenko
68866eb2cb Updated default marker colors for lighter border (#305). 2014-07-26 16:27:09 -07:00
Paul Kulchenko
9ff569e8ce Added centering of the screen after 'go to definition' and back (#337). 2014-07-25 20:19:26 -07:00
Paul Kulchenko
9375235fc6 Fixed using image lists for stack/filetree to keep them in memory. 2014-07-23 14:36:04 -07:00
Paul Kulchenko
a2cd63afa6 Added centering of the screen after selection from the function list (#337). 2014-07-23 09:39:48 -07:00
Paul Kulchenko
6052a86f0a Improved cursor positioning after re-indenting or sorting. 2014-07-22 12:06:19 -07:00
Paul Kulchenko
75357d7f41 Fixed indentation when Enter is hit at the middle of a line. 2014-07-21 21:46:13 -07:00
Paul Kulchenko
c493f62466 Added package onEditorUpdateUI event (#166). 2014-07-20 10:05:58 -07:00
Paul Kulchenko
89ef72aab3 Removed erroneous message about failure to open '-psn...' file on OSX.
This fixes a side effect of an earlier commit (8678404b).
2014-07-17 16:48:41 -07:00
Paul Kulchenko
343423898e Added package AddPanel method (#166). 2014-07-17 15:13:40 -07:00
Paul Kulchenko
cf02a3ea55 Added package GetUIManager method (#166). 2014-07-17 13:52:01 -07:00
Paul Kulchenko
811f2a7021 Added editor SetupKeywords method (#166). 2014-07-17 11:07:46 -07:00
Paul Kulchenko
fe92bf89e5 Added document GetFileExit method (#166). 2014-07-17 09:22:26 -07:00
Paul Kulchenko
c9ac9ca23f Added onEditorPainted event (#166). 2014-07-17 09:21:45 -07:00
Paul Kulchenko
300c6b61c6 Added support for name:<line> and name:p<pos> on the command line. 2014-07-16 10:17:38 -07:00
Paul Kulchenko
8678404b84 Added error reporting on failure to load file from the command line. 2014-07-15 15:45:03 -07:00
Paul Kulchenko
54b29472cc Disabled smart indentation for multi-line comments and strings (#324). 2014-07-13 23:16:55 -07:00
Paul Kulchenko
f0a3305753 Disabled re-indentation of multi-line comments/strings (#324). 2014-07-11 15:51:57 -07:00
Paul Kulchenko
d9ce3d0538 Fixed formatting of until statements (fixes #335). 2014-07-09 09:50:22 -07:00
Paul Kulchenko
b457ccbccd Fixed formatting of strings including comments '--' (#335). 2014-07-09 09:49:38 -07:00
Paul Kulchenko
1fb61028b1 Added metalua components to MANIFEST (missing in packaging on OSX). 2014-07-08 19:22:39 -07:00
Paul Kulchenko
98fc8e05bc Disabled Opt+Shift+Left/Right shortcut as it conflicts with block selection. 2014-07-05 22:55:34 -07:00
Paul Kulchenko
03989f3fd8 Added saving auto-recovery record on switching from the application. 2014-07-03 16:50:50 -07:00
Paul Kulchenko
b41eb364bb Added hotexit option to exit without forcing to save files. 2014-07-02 22:12:13 -07:00
Paul Kulchenko
27708b4dd2 Enabled editor.autoreload by default. 2014-07-01 21:25:30 -07:00
Paul Kulchenko
0d2ab45c6b Added setting of margin properties to support their reordering. 2014-06-30 22:25:38 -07:00
Paul Kulchenko
0cfede0e7a Added error reporting on failure to delete directory from project tree. 2014-06-30 14:55:32 -07:00
Paul Kulchenko
2a404541e5 Allowed double-click selection in the Output window (#313).
Double-click selection has been disabled in the Output window, because
double-click is reserved for `file:line` navigation. It's now enabled
on those lines that don't match `file:line` navigation pattern.
2014-06-28 15:43:30 -07:00
Paul Kulchenko
657526eab4 Added search in Console and Output windows (closes #313). 2014-06-28 15:28:33 -07:00
Paul Kulchenko
eb16a80515 Fixed restoring proper file names for unsaved tabs during auto-recovery. 2014-06-27 22:21:00 -07:00
Paul Kulchenko
e283bcb65d Updated auto-recovery logic to skip missing files (fixes #323). 2014-06-27 17:06:59 -07:00
Paul Kulchenko
a1459ba494 Added check for shortcut in conflict being enabled before activating (#233). 2014-06-27 15:52:15 -07:00
Paul Kulchenko
042998dd71 Added workaround for missing GetChildren call in some wxlua configurations. 2014-06-24 20:22:58 -07:00
Paul Kulchenko
717d46a332 Added unfolding modified lines to avoid leaving hidden lines in the editor. 2014-06-23 20:15:03 -07:00
Paul Kulchenko
b6fd404788 Fixed deleting 'dynamic words' when multiple lines are removed. 2014-06-23 19:59:29 -07:00
Paul Kulchenko
02a43a63a6 Fixed love.update description (#247). 2014-06-22 12:41:54 -07:00
Paul Kulchenko
719b76ea80 Fixed indentation of strings starting from endSomething (#324). 2014-06-21 23:48:47 -07:00
Paul Kulchenko
eae8540708 Fixed use of '%' in replacement for Lua5.2 compatibility (#153, #156, #143).
Removed a fragment of auto-complete processing that is no longer needed
as its logic is covered by another part of the code.
2014-06-20 10:06:24 -07:00
Paul Kulchenko
539a74aa7a Fixed warnings from static analysis. 2014-06-19 16:25:10 -07:00
Paul Kulchenko
4b0bcaa20e Improved compatibility with Lua5.2 to run the IDE. 2014-06-19 16:16:18 -07:00
Paul Kulchenko
486577524b Updated CHANGELOG for 0.70. 2014-06-18 18:55:20 -07:00
Paul Kulchenko
c4567e769c Added support for nginx debugging (Mobdebug 0.564). 2014-06-16 22:55:37 -07:00
Paul Kulchenko
7d956357c5 Updated CHANGELOG with recent changes. 2014-06-14 14:16:16 -07:00
Paul Kulchenko
600a379622 Updated contributor references. 2014-06-14 14:15:27 -07:00
crazybutcher
afbe8cb307 glslc: asm beautifier branch stats 2014-06-14 16:23:57 -04:00
Paul Kulchenko
9d1cba52ba Removed checks for specific errors in Local/Remote console.
This helps with handling error messages from unknown runtime
environments (e.g. moonscript).
2014-06-13 10:11:45 -07:00
Paul Kulchenko
3d29b5f188 Added support for custom debugger initializer (global or interpreter-based). 2014-06-12 17:41:47 -07:00
Paul Kulchenko
38948cd2b6 Added line mapping support for debugging Lua-based languages (e.g. moonscript). 2014-06-12 17:41:26 -07:00
Paul Kulchenko
d79035bf7a Updated auto-complete logic to use configured spec separators. 2014-06-12 08:37:21 -07:00
Paul Kulchenko
1fb919a6e6 Fixed setting control focus when the main frame is hidden. 2014-06-12 08:26:01 -07:00
Paul Kulchenko
227631f1df Added support to force local execution in console by prepending ! (#326). 2014-06-11 16:01:30 -07:00
Paul Kulchenko
1006f7b165 Fixed loading packages with dashes in filenames (fixes #330).
This still allows for `name-os-arch` format, but will load a package
if `os` or `arch` don't match any of the known values.
2014-06-09 12:49:54 -07:00
Paul Kulchenko
44dc63dbad Added setting proper arg[0] value during debugging (fixes #329). 2014-06-09 12:36:46 -07:00
Paul Kulchenko
adc2532802 Disabled message on failure to read symlinked folder content on Windows. 2014-06-09 12:34:32 -07:00
Paul Kulchenko
3937a134d5 Added double click navigation in the Output window for unnamed files. 2014-06-09 12:32:54 -07:00
Paul Kulchenko
f7329fb234 Added centering of line after double click in the Output window. 2014-06-08 21:09:43 -07:00
Paul Kulchenko
0775e1bcdc Upgraded metalua to v0.7.2. 2014-06-08 20:53:17 -07:00
Paul Kulchenko
b0eabd6382 Added editor.wrapindentmode and editor.wrapstartindent settings. 2014-06-07 11:05:02 -07:00
Paul Kulchenko
6955e1b3f4 Fixed toolbar to stay shown after failure to start debugging. 2014-06-06 16:23:05 -07:00
Paul Kulchenko
3c4fc71249 Added a workaround for focus switching between controls on OSX (#89, #327).
This is a more complete workaround for missing KILL_FOCUS event on OSX (an
incomplete workaround was removed by a315b1a8).
2014-06-05 22:19:39 -07:00
Paul Kulchenko
a2dc2e9934 Fixed focus on the editor after closing a dialog on OSX (fixes #328). 2014-06-05 22:17:02 -07:00
Paul Kulchenko
5b026e10a6 Fixed crash on OSX when changing focus while the app is being closed (#327). 2014-06-05 22:15:09 -07:00
Paul Kulchenko
131fc63deb Fixed some toolbar buttons being enabled with no editor tab open. 2014-06-04 20:40:57 -07:00
Paul Kulchenko
9ea833ce7d Fixed toolbar stealing focus after closing floating panels and dropdowns (#327). 2014-06-04 20:08:14 -07:00
Paul Kulchenko
070111b06e Fixed restoring control focus when the app gets focus on OSX (fixes #327). 2014-06-04 14:51:12 -07:00
Paul Kulchenko
a315b1a87b Removed focus handling workaround for editor tab changes (#89, #327).
The issue the workaround was for was already fixed in wxwidgets:
http://trac.wxwidgets.org/ticket/14142
2014-06-04 14:50:34 -07:00
Paul Kulchenko
8e2257f8ac Fixed activating editor when starting the app on OSX (#327). 2014-06-04 13:08:10 -07:00
Paul Kulchenko
0c227c0ad6 Added assertion to ensure inserted editor is not in the notebook already. 2014-06-01 18:56:27 -07:00
Paul Kulchenko
0555fed7ad Added format.apptitle option to format IDE title (thanks to @sclark39). 2014-05-31 15:30:32 -07:00
Paul Kulchenko
d3d6a7a485 Removed using internal structures. 2014-05-31 15:28:02 -07:00
Paul Kulchenko
58f86894e9 Renamed menuformatrecentprojects to format.menurecentprojects (#305). 2014-05-30 14:44:47 -07:00
Paul Kulchenko
51c0443c9a Updated logic for populating placeholders in dropdown menus. 2014-05-30 13:37:28 -07:00
Paul Kulchenko
ae6f7c5589 Disabled breakpoint toggling when editor is not in focus. 2014-05-30 13:30:51 -07:00
Paul Kulchenko
f5dc6f5018 Added restoring cursor position after sorting/re-indenting. 2014-05-29 12:26:41 -07:00
Paul Kulchenko
c3c141fedf Updated project switch to hide menu before switching. 2014-05-29 12:15:49 -07:00
Paul Kulchenko
fcb7d2a2ad Updated formatting. 2014-05-29 12:13:21 -07:00
Paul Kulchenko
83b69ad8e8 Fixed auto-complete to not offer the word the cursor is on. 2014-05-29 11:47:50 -07:00
Paul Kulchenko
a6db07d8e1 Fixed hiding auto-complete when the only option matches what's typed. 2014-05-29 10:35:13 -07:00
Paul Kulchenko
44f8d42156 Increase font size for code fragments in markup (#305). 2014-05-29 09:50:07 -07:00
Paul Kulchenko
b9a1bf27ac Fixed an error when all editor tabs are closed. 2014-05-29 09:49:19 -07:00
Christoph Kubisch
1a673ba7e5 glslc: change domain detection to be compatible with file.comp.glsl and file.tese 2014-05-29 12:15:55 +02:00
Paul Kulchenko
c21746f1a7 Added onEditorUserlistSelection event for userlist selection (#166). 2014-05-28 17:11:37 -07:00
Paul Kulchenko
41c38d0bcb Added onEditorAction event for cut/copy/paste actions (#166). 2014-05-28 17:10:58 -07:00
Paul Kulchenko
a5cd585bcc Added package GetEditorWithFocus method (#166). 2014-05-28 17:04:49 -07:00
Paul Kulchenko
c2c631c03e Merge branch 'master' of https://github.com/Yonaba/ZeroBraneStudio into french-translation-update 2014-05-28 11:51:43 -07:00
Yonaba
285a599dc9 Updated french translation 2014-05-28 12:03:12 +00:00
Paul Kulchenko
f9903f3470 Updated menu items to stay enabled only when appropriate object has focus. 2014-05-27 22:17:56 -07:00
Paul Kulchenko
843a22e6e9 Reorganized menu shortcut conflict handling (#233).
The earlier logic for shortcut conflict handling depended on the global
menu shortcut being always enabled, which prevented some shortcuts from
being disabled when needed. The new logic doesn't have that deficiency.
2014-05-27 22:09:53 -07:00
Paul Kulchenko
b90305efff Removed handling of project dropdown in menu as it's no longer needed (#305). 2014-05-27 22:03:16 -07:00
Paul Kulchenko
64a9f7c701 Fixed replace-in-files when saving backup copy is turned off. 2014-05-26 15:43:39 -07:00
Paul Kulchenko
64a68b443b Added editor.extradescent option for line spacing (#305). 2014-05-24 15:37:05 -07:00
Paul Kulchenko
8460abef86 Added centering of line on page after re-loading file with a known position. 2014-05-23 08:15:58 -07:00
Paul Kulchenko
63f76b6695 Fix re-indenting of anonymous functions in tables (#324). 2014-05-22 08:02:10 -07:00
Paul Kulchenko
7d2884ebfe Updated formatting. 2014-05-21 16:29:21 -07:00
Paul Kulchenko
4efc725211 Added re-indentation of selected fragment or entire file (closes #324). 2014-05-21 16:29:04 -07:00
Paul Kulchenko
4d44f28a06 Added sorting of the entire file if nothing is selected. 2014-05-21 16:29:03 -07:00
Paul Kulchenko
804567f6c3 Updated indentation logic for if/elseif/while/for split into 2+ lines (#324). 2014-05-21 16:28:20 -07:00
Paul Kulchenko
b811a8dd39 Updated indentation logic to ignore comments (#324). 2014-05-21 16:28:09 -07:00
Paul Kulchenko
638bc477d7 Updating sorting to keep original line endings. 2014-05-20 18:38:58 -07:00
Paul Kulchenko
aa0ecdb4f4 Added Edit | Source sub-menu. 2014-05-20 18:37:55 -07:00
Paul Kulchenko
dc1990c7b9 Updated README with supported engines and installation instructions. 2014-05-19 14:38:03 -07:00
Paul Kulchenko
2e497bf831 Added centering line on page after bookmark navigation. 2014-05-18 21:08:37 -07:00
Christoph Kubisch
e087186def treat unreal shaders as hlsl 2014-05-17 12:39:02 +02:00
Christoph Kubisch
715b7d06c4 simplified glslc usage (compile and link based on file extensions)
bugfix files with spaces
2014-05-17 11:53:28 +02:00
Paul Kulchenko
d68da68c4b Fixed F2 shortcut not working in file tree and watch panel (#233).
This is a workaround for a conflict between global shortcuts and local
shortcuts (like F2) used in the file tree or a watch panel.
Because of several issues on OSX (as described in details in this thread:
https://groups.google.com/d/msg/wx-dev/juJj_nxn-_Y/JErF1h24UFsJ),
the workaround installs a global event handler that manually re-routes
conflicting events when the current focus is on a proper object.
Non-conflicting shortcuts are handled through key-down events.
2014-05-16 15:09:49 -07:00
Paul Kulchenko
83088fe798 Added GetProjectTree, GetWatch, and GetStack package calls (#166). 2014-05-16 15:04:42 -07:00
Paul Kulchenko
1d9a043c25 Disabled changing toolbar color with auxwindow as it only works for the dropdown. 2014-05-15 14:41:54 -07:00
Paul Kulchenko
d67fcf931e Fixed debugger compatibility with Lua 5.2 (Mobdebug 0.561). 2014-05-14 09:22:02 -07:00
Paul Kulchenko
379db00a5c Added bookmark-toggle toolbar icon (#233). 2014-05-13 22:11:00 -07:00
Paul Kulchenko
d65acb2d40 Updated breakpoint-toggle toolbar icon to better match other icons (#305). 2014-05-13 22:09:56 -07:00
Paul Kulchenko
c7041940f3 Updated bookmark navigation to wrap around (#233). 2014-05-12 21:44:31 -07:00
Paul Kulchenko
f7df30614d Updated documentation for 0.60. 2014-05-11 19:37:27 -07:00
Paul Kulchenko
5db556849b Upgraded Mobdebug (0.56). 2014-05-11 17:00:15 -07:00
Leo Bartoloni
471eaa9087 Added new italian translations 2014-05-11 21:38:11 +02:00
Paul Kulchenko
e54ee64d79 Updated default fonts for Windows and Linux for better looking ones (#305). 2014-05-11 09:09:38 -07:00
Paul Kulchenko
45c83f73db Merge branch 'copyfullpath' of https://github.com/sclark39/ZeroBraneStudio into copyfullpath 2014-05-10 15:46:26 -07:00
riidom
0ffd472396 Update de.lua 2014-05-10 21:10:24 +02:00
Paul Kulchenko
adaca47bf6 Updated language files with new messages (#70). 2014-05-10 10:30:02 -07:00
Paul Kulchenko
d2d477b8f5 Added Russian translation for new messages (#70). 2014-05-10 10:26:05 -07:00
Paul Kulchenko
3cfc5f65c2 Updated copyright messages. 2014-05-10 09:53:00 -07:00
Paul Kulchenko
1ce791700c Updated Go To Line menu item and its translations. 2014-05-10 09:46:28 -07:00
sclark39
c28ef5000a Adding Copy Full Path to editor tabs, and a Clear Output Window option to the Output tab 2014-05-09 23:40:14 -07:00
Paul Kulchenko
61bb92950a Updated build scripts with a fix for a wxlua compilation issue (#260). 2014-05-09 21:43:11 -07:00
Paul Kulchenko
b14198161e Updated build prerequisites Linux install script. 2014-05-09 17:57:58 -07:00
Paul Kulchenko
ad2dd2e40e Enabled editor width auto-adjustment when wrapping is off. 2014-05-09 17:56:59 -07:00
Paul Kulchenko
d9fdbe0745 Added support for packages in config files (#166). 2014-05-08 14:50:38 -07:00
Paul Kulchenko
905d9cd75d Fixed Corona interpreter to clean debugger in plugin folder (Win). 2014-05-08 14:49:33 -07:00
Paul Kulchenko
d68b84f862 Added formatting for Recent Projects menu (#305). 2014-05-07 18:22:53 -07:00
Paul Kulchenko
1e7f5de4db Updated default indicator color to more neutral one (#305). 2014-05-07 10:15:31 -07:00
Paul Kulchenko
87d116a1c3 Fixed missing event parameter in onFiletreeActivate handler (#166). 2014-05-07 09:59:56 -07:00
Paul Kulchenko
33b4641b63 Fixed file tree activation of a deleted file. 2014-05-07 09:59:27 -07:00
Paul Kulchenko
9efb4454e4 Enable retina support (hidpi=true) by default on OSX (#305). 2014-05-07 09:58:57 -07:00
Paul Kulchenko
02f7e24d33 Updated OSX build script to use 10.7 SDK with 10.6 min-version (#260). 2014-05-07 09:58:44 -07:00
Paul Kulchenko
e001386383 Reordered markers to keep the curent line marker on top (#305). 2014-05-05 17:39:28 -07:00
Paul Kulchenko
9257c03b07 Updated Mobdebug (0.555) to add support for pause debugger call. 2014-05-05 14:31:50 -07:00
Paul Kulchenko
6216ac37a2 Updated lua interpreter to remove caching of executable path.
This allows updating `path.lua` from project config or changing
it without IDE restart.
2014-05-05 14:30:08 -07:00
Paul Kulchenko
476aa9d90a Added Detach process command to stop debugging and continue process. 2014-05-05 11:30:41 -07:00
Paul Kulchenko
c665a0cc5c Updated resetting pid only after completing non-debbugged process.
This changes the logic introduced by 78c44e60 as it interfered with
`done()` call from the debugger that prevented properly handling of
a process that stopped debugging, but continued execution.
2014-05-04 22:09:58 -07:00
Paul Kulchenko
96397e66c5 Adjusted code color in the comment markup for better visibility (#305). 2014-05-04 14:46:34 -07:00
Paul Kulchenko
758c5a8187 Added re/docking of Watch/Stack notebooks on tab background doubleclick (#305). 2014-05-02 14:45:37 -07:00
Paul Kulchenko
52e02f087c Updated formatting. 2014-05-02 14:36:34 -07:00
Paul Kulchenko
a02437dee1 Added bookmark handling (closes #233). 2014-05-02 14:24:31 -07:00
Paul Kulchenko
3cd754b6b9 Removed Clear Dynamic Words menu as it's rarely used. 2014-05-02 14:19:42 -07:00
Paul Kulchenko
9a8f870ae4 Fixed switching to full screen and restoring status bar on OSX (ref #305). 2014-05-02 10:31:08 -07:00
Paul Kulchenko
ea5b78707d Added Clear items to the Recent Files menu (ref #305). 2014-05-01 21:33:13 -07:00
Paul Kulchenko
1d8b02bb41 Added recent files dropdown to the toolbar (ref #305). 2014-05-01 17:52:36 -07:00
Paul Kulchenko
83f52d0a57 Merge branch 'filetree-simplified' 2014-05-01 17:14:03 -07:00
Paul Kulchenko
d807accec2 Added applying new UI settings after upgrade (ref #305). 2014-05-01 17:11:31 -07:00
Paul Kulchenko
430469ab3a Removed the gripper on the toolbar (ref #305). 2014-04-30 22:39:02 -07:00
Paul Kulchenko
e8978d8e89 Switched to plain background for the toolbar (ref #305). 2014-04-30 22:38:39 -07:00
Paul Kulchenko
aa0a0f8520 Updated shortcut for Recent File navigation (ref #305).
`Ctrl-<` and `Ctrl->` was a bad choice as it actually requires pressing
`Ctrl-Shift-,` and `Ctrl-Shift-.` on OSX (although it works without
`Shift` on Windows). Updated to `Ctrl-,` and `Ctrl-.` to use the same
shortcuts on all platforms.
2014-04-30 21:10:10 -07:00
Paul Kulchenko
c089037e26 Added toolbar button dropdown with recent projects (ref #305). 2014-04-30 20:22:16 -07:00
Paul Kulchenko
cf67ab3b6a Added Choose Project Directory to the toolbar (ref #305). 2014-04-30 17:10:22 -07:00
Paul Kulchenko
5beccc0498 Updated application icons (ref #305). 2014-04-30 16:30:31 -07:00
Paul Kulchenko
1e0e286682 Switched to AuiToolBar as it provides buttons with dropdowns (ref #305). 2014-04-30 14:50:13 -07:00
Paul Kulchenko
b895f51beb Updated stack/watch panel captions to be invisible (ref #305). 2014-04-30 14:48:37 -07:00
Paul Kulchenko
4e5356670b Updated interpreters to check ProgramFiles env variable on Windows.
This helps with locating executables for a localized OS.
2014-04-29 21:59:04 -07:00
Paul Kulchenko
7cbf2f99f6 Moved Project Directory menu item lower to not activate on OSX (ref #305). 2014-04-29 21:57:48 -07:00
Paul Kulchenko
84d7928b94 Disallowed closing Output/Console/Project tabs (fixes #310). 2014-04-29 16:09:04 -07:00
Paul Kulchenko
37b73d6c49 Added floating/docking of notebooks on tab background doubleclick (ref #305). 2014-04-28 18:01:51 -07:00
Paul Kulchenko
f1b74b9c2f Reduced sash (border between subsections) in all notebooks (ref #305). 2014-04-28 18:01:50 -07:00
Paul Kulchenko
9449650d47 Updated panel captions to be invisible (rev #305). 2014-04-28 18:01:49 -07:00
Paul Kulchenko
b3bc39a8d5 Removed project selection dropdown from the filetree (ref #305). 2014-04-28 18:01:47 -07:00
Paul Kulchenko
ab4ae3e281 Updated 'window unhide' logic (Windows only) to be called less frequently. 2014-04-28 17:27:25 -07:00
Paul Kulchenko
18dadbc001 Updated love2d interpreter to not hide the application window. 2014-04-28 17:25:30 -07:00
Paul Kulchenko
b4f0635ab7 Fixed right-click handling in filetree on OSX broken by 3709f61f (ref #166). 2014-04-28 12:04:16 -07:00
Paul Kulchenko
9a4ed47179 Updated file sorting to be case-insensitive on all platforms. 2014-04-27 23:02:09 -07:00
Paul Kulchenko
c314996902 Added Recent Project menu refresh after switching projects (ref #305). 2014-04-26 16:14:24 -07:00
Paul Kulchenko
3a49e4c37d Updated filetree menu to use 'Edit Project Directory' on root element (#305). 2014-04-25 23:28:35 -07:00
Paul Kulchenko
23a874b5ae Added setting project directory by renaming the filetree root element (#305). 2014-04-25 23:26:26 -07:00
Paul Kulchenko
92b88a8d26 Added filetree popup menu with the list of projects (ref #305). 2014-04-24 22:35:27 -07:00
Paul Kulchenko
3a8cb8aa42 Disabled current project on the recent projects list (ref #305). 2014-04-24 22:34:59 -07:00
Paul Kulchenko
08d1d9f1f8 Added 'Recent Projects' menu (ref #305). 2014-04-24 21:48:48 -07:00
Paul Kulchenko
95fcf4aa79 Updated love2d API to fix typos in descriptions (ref #247). 2014-04-24 21:20:09 -07:00
Paul Kulchenko
9c47414635 Updated love2d API for v0.9.1 (ref #247). 2014-04-24 19:46:41 -07:00
Paul Kulchenko
8969abb43f Removed paragraph conversion from love2d API conversion script (ref #247). 2014-04-24 19:45:59 -07:00
Paul Kulchenko
ce933f4f81 Updated love2d API conversion script to handle top-level functions (ref #247). 2014-04-24 19:45:09 -07:00
Paul Kulchenko
b8de606bed Removed border around Output/Console panels (ref #305). 2014-04-21 22:51:25 -07:00
Paul Kulchenko
9c60c1e37c Added package GetLaunchedProcess call (ref #166). 2014-04-19 10:38:53 -07:00
Paul Kulchenko
e9a8a8bd9c Fixed usage of self in one of package API calls (ref #166). 2014-04-19 10:38:28 -07:00
Paul Kulchenko
a91426eb5c Added IsRunning and IsConnected API calls for the debugger (ref #166). 2014-04-18 18:01:56 -07:00
Paul Kulchenko
ab5bec082d Updated PackageUnRegister call to return the package on success (ref #166). 2014-04-18 18:00:59 -07:00
Paul Kulchenko
e384146089 Added editor.wrapflags to configure line wrapping indicators (ref #305). 2014-04-17 21:37:13 -07:00
Paul Kulchenko
a5df5d63b6 Fixed find dialog to stay on top after search directory selection on OSX.
OSX moves the find dialog to the background after using the directory
dropdown in the open file dialog. This workaround keeps find dialog on top.
2014-04-16 21:17:01 -07:00
Paul Kulchenko
11729813a6 Added explicit sorting of files in the filetree.
Some systems (Linux and some instances of OSX) seem to return files in
arbitrary order.
2014-04-16 21:13:47 -07:00
Paul Kulchenko
e577d96a4e Removed deprecated startfile interpreter option.
Use `startwith` option instead.
2014-04-16 21:13:34 -07:00
Paul Kulchenko
d61be1cf77 Fixed search result navigation after clicking beyond the end of line. 2014-04-15 17:51:32 -07:00
Paul Kulchenko
6698f43f76 Disabled showing hidden toolbar while in full screen mode (ref #305).
The toolbar is drawn with artifacts on the screen in Windows, so it's
disabled for not until fixed in wxwidgets.
2014-04-15 14:28:34 -07:00
Paul Kulchenko
51cd41ceba Fixed status/toolbar visibility on exiting full screen mode on OSX (ref #305). 2014-04-15 14:27:26 -07:00
Paul Kulchenko
0480e9ca39 Removed a workaround on OSX that is no longer needed. 2014-04-15 14:10:37 -07:00
Paul Kulchenko
b67c509f30 Added a workaround for wxwdigets bug when status bar is shown (ref #305).
When the status bar is shown after being initially hidden, it draws the
content of the status bar in the wrong location. This workaround fixes that.
2014-04-15 13:30:47 -07:00
Paul Kulchenko
168d65b411 Added showing/hiding of the status bar (ref #305). 2014-04-15 13:23:49 -07:00
Paul Kulchenko
a667b75177 Added a workaround for wxwdigets bug when toolbar is shown (ref #305).
When the toolbar is shown after being initially hidden (with the main
window being maximized), it leaves a small artifact on the toolbar.
This workaround removes the artifact.
2014-04-15 11:11:32 -07:00
Paul Kulchenko
91a8518db9 Changed order of stopping debugger and saving settings (ref #305).
Need to stop the debugger first as it changes some of the UI elements
(toolbar visibility, tab names, stack/watch windows) so that the correst
state is saved.
2014-04-15 11:08:56 -07:00
Paul Kulchenko
eb68425a25 Added auto-showing toolbar when debugging starts (ref #305). 2014-04-15 11:08:00 -07:00
Paul Kulchenko
eaa9aba068 Added showing/hiding of the toolbar (ref #305). 2014-04-14 18:12:04 -07:00
Paul Kulchenko
95452706a0 Updated fold/wrap flag handling to work with wxwidgets 2.8 (ref #305). 2014-04-13 18:18:46 -07:00
Paul Kulchenko
a5eaa2fd8a Set def linenumber font size as one smaller than editor font size (ref #305). 2014-04-13 16:11:07 -07:00
Paul Kulchenko
445d90f50d Added outputshell.usewrap to set Output wrapping; on by default (ref #305). 2014-04-13 15:08:09 -07:00
Paul Kulchenko
36b8a414d5 Added wrapped line indicator to line number margin (ref #305). 2014-04-13 15:06:10 -07:00
Paul Kulchenko
21d0991b9b Added editor.foldflags; set default to draw one line when folded (ref #305). 2014-04-13 14:44:19 -07:00
Paul Kulchenko
483c70bef2 Updated breakpoint/currentline markers for less contrast colors (ref #305). 2014-04-13 14:30:07 -07:00
Paul Kulchenko
1613675b31 Improved compatibility with wxwidgets 2.8. 2014-04-13 14:26:50 -07:00
Paul Kulchenko
2cea675c10 Added editor.extraascent option to add line spacing (ref #305). 2014-04-13 14:25:18 -07:00
Paul Kulchenko
2723801604 Made fold and marker margins wider (ref #305). 2014-04-13 14:20:14 -07:00
Paul Kulchenko
fa6e8d1442 Added explicit conversion to number for numeric settings. 2014-04-13 14:19:30 -07:00
Paul Kulchenko
037476ac49 Increased default font size in the editor (ref #305). 2014-04-12 22:27:55 -07:00
Paul Kulchenko
a457ed62b9 Added editor.foldtype with box, cirle, arrow, and plus types (ref #305). 2014-04-12 22:26:46 -07:00
Paul Kulchenko
ae3ddb59f7 Refactored editor config references. 2014-04-12 22:25:38 -07:00
Paul Kulchenko
78c44e6060 Fixed an issue with running processes not terminated when closing IDE.
This was a side-effect of an earlier change that was done to run
end-callbacks before terminating external processes (as those callbacks
may be used, for example, to remove temporary files).

Many of interpreters had logic in those callbacks to reset debugger.pid,
which was useful (at a time) to reset UI after terminatin of a process
(introduced by 4554c67c). However, this logic was unnecesary in
interpreters and interfered with terminating running processes, so this
commit removes it from all the interpreters and does in the IDE itself.
2014-04-11 15:24:26 -07:00
Paul Kulchenko
9284a24750 Reduced the line number margin width and default font size (ref #305). 2014-04-10 21:57:35 -07:00
Paul Kulchenko
c8df92f8a0 Disable function call indicator by default to reduce clutter (ref #305). 2014-04-10 21:09:35 -07:00
Paul Kulchenko
1ae6ffe7f7 Updated default folding to use lighter colors (ref #305). 2014-04-10 21:08:11 -07:00
Paul Kulchenko
ae561ff880 Updated default colors to have less contrast (ref #305). 2014-04-10 21:08:01 -07:00
Paul Kulchenko
da584b9e0a Removed unused parameters. 2014-04-10 20:39:37 -07:00
Paul Kulchenko
809ba33187 Rearranged global functions in lua spec for simpler grouping (ref #79). 2014-04-09 23:10:24 -07:00
Paul Kulchenko
844626c6f4 Added opening a new tab on double click on tab background (ref #305). 2014-04-09 16:34:40 -07:00
Paul Kulchenko
b498140958 Upgraded debugger (mobdebug 0.553) to fix an issue with STEP command. 2014-04-06 15:41:33 -07:00
Paul Kulchenko
68ccda4ef5 Updated Open file dialog to use current file or project location (closes #303). 2014-04-05 19:20:21 -07:00
Paul Kulchenko
5632913e40 Disabled startng multiple find-in-files searches. 2014-04-03 17:44:50 -07:00
Paul Kulchenko
7496040f34 Fixed an error after manual canceling Find-in-files dialog. 2014-04-03 16:01:44 -07:00
Paul Kulchenko
2b7f0f4ad6 Increased wait time for Gideros player to start for more reliable launching. 2014-04-02 17:26:03 -07:00
Paul Kulchenko
f323cc967b Updated Moai API for v1.5 (thanks to @DanielSWolf). 2014-04-01 21:59:31 -07:00
Paul Kulchenko
9cd361989c Added ActivateItem method to the filetree API (ref #166). 2014-03-31 16:45:49 -07:00
Paul Kulchenko
c5df05f03e Fixed an issue with deleting column-based selection (fixes #300). 2014-03-31 16:10:03 -07:00
Paul Kulchenko
3709f61fc4 Added onFiletree* package events (ref #166). 2014-03-31 16:09:34 -07:00
Paul Kulchenko
59caf6cae5 Cleaned unused variables and functions based on static analysis. 2014-03-29 21:03:03 -07:00
Paul Kulchenko
44df223ac5 Added setting margin mask to allow for different margin order. 2014-03-29 20:28:42 -07:00
Paul Kulchenko
2dd3209682 Made jump-to-line in the Output window to work faster and more reliably. 2014-03-28 15:51:50 -07:00
Paul Kulchenko
0c52cde070 Removed explicit margin numbers to make configuraton simpler. 2014-03-28 15:08:17 -07:00
Paul Kulchenko
b734637eb5 Fixed an error in variable indicator processing. 2014-03-28 14:03:30 -07:00
Paul Kulchenko
4c01a530a0 Removed no longer used code. 2014-03-27 22:21:22 -07:00
Paul Kulchenko
8d965cca32 Updated autoanalyzer option to more common spelling (analizer -> analyzer). 2014-03-25 20:45:12 -07:00
Paul Kulchenko
01eab250eb Reorganized and updated configuration examples. 2014-03-23 20:56:21 -07:00
Paul Kulchenko
6b9adf1527 Fixed looping when valuetype creates self-reference in APIs (ref #297). 2014-03-22 16:56:28 -07:00
Paul Kulchenko
68a8fcec47 Added support for switching breakpoints at run-time (closes #288). 2014-03-20 22:27:51 -07:00
Paul Kulchenko
13f1174bb7 Fixed elseif auto-indentation (fixes #294). 2014-03-20 15:52:14 -07:00
Paul Kulchenko
d370279d24 Merge branch 'detach-debugger' 2014-03-20 10:02:29 -07:00
Paul Kulchenko
1bbefcbf7b Disabled editing/dragging of the project directory in the filetree. 2014-03-19 16:47:44 -07:00
Paul Kulchenko
dd3ce4d1e7 Added stopping debugging when debugger server is detached/stopped. 2014-03-19 16:08:39 -07:00
Paul Kulchenko
fdc17f1579 Added opening file on one-click in icon/padding area in the filetree. 2014-03-19 15:47:03 -07:00
madmaxoft
02bbdf17f8 Added AnalyzeString function.
This will be used by the MCServer package to analyze the entire plugin at once.
2014-03-19 19:14:25 +01:00
Paul Kulchenko
8492df40de Removed border around editor components. 2014-03-18 19:27:52 -07:00
Paul Kulchenko
8b9197552c Added zooming for Output/Console windows (ref #290). 2014-03-18 11:50:01 -07:00
Paul Kulchenko
377a4861ee Added IDs for Zoom menu items (ref #290). 2014-03-18 11:49:01 -07:00
Mika Attila
241a5d13c3 Add zoom actions with appropriate keyboard shortcuts to View menu 2014-03-18 19:16:41 +01:00
Paul Kulchenko
344ed6fd80 Added detaching debugger server. 2014-03-18 10:55:33 -07:00
Paul Kulchenko
bd03b4c4d1 Upgraded copas to the current version (v1.2.1). 2014-03-18 10:52:07 -07:00
Paul Kulchenko
4ba03afa8c Added skipping reporting for known globals in static analysis (closes #286).
Globals are checked against the API descriptions registered for the
current file (based on the interpreter configuration).
2014-03-17 14:14:29 -07:00
Paul Kulchenko
cb6971e37d Moved code to populate wx and wxstc descriptions to API files. 2014-03-17 14:09:59 -07:00
Paul Kulchenko
9c3b35d8fe Added support for running zbstudio script from any folder on OSX. 2014-03-16 21:04:08 -07:00
Paul Kulchenko
82f62d4d7d Fixed focus for Find field in the find dialog on some instances of OSX.
This is an additional fix for c4c3e7e5. It turned out that some instances
of OSX 10.9.2 require SetFocus to be called after form is shown.
2014-03-16 21:04:06 -07:00
Paul Kulchenko
38c56c4d31 Updated auto-complete to show in IDLE event for smoother processing. 2014-03-16 21:04:05 -07:00
SiENcE
683218a909 -minor color changes to notepad++ colorscheme 2014-03-16 09:14:08 +01:00
Paul Kulchenko
d68e7ff7ce Updated CHANGELOG for 0.50. 2014-03-10 14:23:04 -07:00
Paul Kulchenko
c4c3e7e51e Added explicit focus for Find field in the find dialog on OSX. 2014-03-10 14:22:26 -07:00
Paul Kulchenko
2460a82153 Updated AddConfig/RemoveConfig to refresh styles after changes (ref #166). 2014-03-08 23:08:35 -08:00
Paul Kulchenko
23a8d495f5 Added version dependency check for loaded plugins. 2014-03-08 23:07:47 -08:00
Paul Kulchenko
2ccd542610 Fixed shortcut menu generator to display default shortcuts. 2014-03-08 10:54:25 -08:00
Paul Kulchenko
1c66dc733f Reduced the number of inactivity checks and timer calls (ref #204). 2014-03-07 15:26:47 -08:00
Paul Kulchenko
5934b9733d Disabled singleinstance check by default on OSX (ref #204).
The singleinstance check is handled by OSX itself. In those rare cases
when the check in the IDE needed, it can be enabled by setting
`singleinstance = true` in the config.
2014-03-07 15:24:20 -08:00
Paul Kulchenko
7ae28cc479 Fixed removing focus from editor when IDE loses focus on OSX (ref #204).
This helps with CPU utilization and canceling tooltips after switching
to other controls in the IDE and then switching to a different app.
2014-03-07 15:22:02 -08:00
Paul Kulchenko
add8342f67 Fixed hiding calltip and auto-complete when switching between tabs on OSX.
Added manual call for KILL_FOCUS, which doesn't seem to be called on OSX
because of this wxwidgets issue (http://trac.wxwidgets.org/ticket/14269).
2014-03-07 15:17:22 -08:00
Paul Kulchenko
b89bb73476 Updated Marmalade Quick API for v7.2. 2014-03-06 20:45:13 -08:00
Paul Kulchenko
a00fa953c2 Updated Corona API for v2014.2189. 2014-03-06 20:06:48 -08:00
Paul Kulchenko
1e623b1d65 Fixed handling of getenv returning general message (Mobdebug v0.5511).
Some environments return an error message ("getenv is not supported"),
which needs to be handled when a port number is expected.
2014-03-06 18:25:47 -08:00
Paul Kulchenko
c0ddad642f Fixed lunching zbstudio from folders with spaces; thanks to @Asmageddon. 2014-03-06 18:21:55 -08:00
Paul Kulchenko
4f1286612b Updated scheme picker to apply styles to all windows. 2014-03-06 18:14:03 -08:00
Paul Kulchenko
267e631933 Added auxwindow attribute to style auxiliary windows. 2014-03-05 23:47:45 -08:00
Paul Kulchenko
0da23d376d Changed the order of applying styles to apply the main style last. 2014-03-05 23:46:26 -08:00
Paul Kulchenko
bdbfd3d71a Removed calltipbg attribute as it's replaced by calltip.bg. 2014-03-05 23:44:27 -08:00
Paul Kulchenko
11edc26279 Fixed calltip attribute to use/enable proper style. 2014-03-05 23:41:11 -08:00
Paul Kulchenko
4171d1ce3b Updated LfW interpreter to use project directory as current one (fixes #276).
Added `lfw.chdirtofile` option to use the current file directory (not the
project directory) as the current one.
2014-03-04 21:20:56 -08:00
Paul Kulchenko
bc866f8375 Updated README. 2014-03-03 18:01:09 -08:00
Paul Kulchenko
42f0bae28f Added sha2 library to provide sha256 hashing. 2014-03-02 22:07:17 -08:00
Paul Kulchenko
d0c712950f Added package GetRootPath/GetPackagePath calls (ref #166). 2014-03-02 22:01:33 -08:00
Paul Kulchenko
228b724f5b Fixed visibility of wrapped lines in console when going through history. 2014-03-02 21:58:53 -08:00
Paul Kulchenko
5fac7e15a8 Added package FindMenuItem API call (ref #166). 2014-03-02 16:40:12 -08:00
Paul Kulchenko
1338204787 Added API call to analyze one file. 2014-03-01 23:22:43 -08:00
Paul Kulchenko
afcbcfb522 Fixed syntax issues in definitions of IDE tables. 2014-02-28 22:45:03 -08:00
Paul Kulchenko
64a24768cd Fixed an issue in metalua files when syntax error is reported. 2014-02-28 17:42:04 -08:00
Paul Kulchenko
39c4cd6800 Removed unused files from metalua. 2014-02-28 17:39:13 -08:00
Paul Kulchenko
c854c97c22 Fixed arrow key handling in Local console (fixes #279). 2014-02-27 10:24:38 -08:00
Paul Kulchenko
35a5313e77 Added restoring markers after external modification and file reload. 2014-02-26 15:53:27 -08:00
Christoph Kubisch
2525736bea updates to shader apis (bugfix in GLSL atomic description) 2014-02-25 16:30:02 +01:00
Paul Kulchenko
102d470380 Fixed removing temporary files in GSL-shell interpreter. 2014-02-23 23:51:09 -08:00
Paul Kulchenko
9ade820252 Fixed tooltip positioning for long messages. 2014-02-20 17:56:47 -08:00
Paul Kulchenko
c2d6e7bed8 Fixed current line in debugging after activation of files with wrapped lines. 2014-02-20 14:23:02 -08:00
Paul Kulchenko
8a51d2512e Fixed spurious ESC after activation on Windows when modifiers are pressed. 2014-02-19 14:21:46 -08:00
Paul Kulchenko
542de89d16 Fixed skipping empty lines in tooltip formatting. 2014-02-19 11:12:59 -08:00
Paul Kulchenko
6aafdf9a84 Updated comment markup separators to apply markup in fewer cases. 2014-02-18 20:57:50 -08:00
Paul Kulchenko
c9b82f55b6 Fixed comment markup at the end of a file. 2014-02-18 20:53:38 -08:00
Paul Kulchenko
0497ef686a Fixed formatting calculations for tooltip to better fill the window. 2014-02-18 15:52:23 -08:00
Paul Kulchenko
476df369ba Adjusted tooltip position and content to always fit on the screen. 2014-02-17 23:05:24 -08:00
Paul Kulchenko
5c14fc1025 Added displaying number of selected characters and instances (closes #274). 2014-02-17 22:01:07 -08:00
Paul Kulchenko
92da4732c7 Merge branch 'master' of https://github.com/Yonaba/ZeroBraneStudio 2014-02-15 10:08:43 -08:00
Yonaba
c9c01ec769 Updated French translation 2014-02-15 09:18:07 +00:00
Paul Kulchenko
ebb6a8525e Fixed stopping debugging when switching projects with the same interpreter. 2014-02-13 23:02:41 -08:00
Paul Kulchenko
4edbe7b491 Added using safe load for external data instead of loadstring. 2014-02-12 20:43:18 -08:00
Paul Kulchenko
a21c39e5c8 Fixed auto-complete for classes with more than two levels. 2014-02-11 22:36:59 -08:00
Paul Kulchenko
74a39850f2 Removed paragraph-to-newline conversion for API tooltips. 2014-02-10 21:21:56 -08:00
Paul Kulchenko
c821336adf Fixed removal of paragraph breaks in tooltips after interpreter switch. 2014-02-10 20:35:24 -08:00
Paul Kulchenko
e36e455e1b Merge branch 'master' of https://github.com/bartoleo/ZeroBraneStudio 2014-02-10 14:45:09 -08:00
Paul Kulchenko
7f675b34ad Fixed API reloading that caused removal of paragraph breaks in tooltips. 2014-02-10 14:25:18 -08:00
Paul Kulchenko
33ab4a1196 Disable debugging termination when stack trace received from remote process.
It's not always desired to kill the remote process, which this termination
leads to. For example, Corona SDK displays an error message in the
Simulator and terminating the debugging, kills the simulator, which makes
it difficult to see the error message.
2014-02-10 14:23:08 -08:00
riidom
6cc90c2bd3 Update de.lua 2014-02-10 20:39:54 +01:00
Paul Kulchenko
9ef4438b4f Updated Linux scripts to remove custom libpng/zlib as it's fixed in wxwidgets. 2014-02-08 12:12:14 -08:00
Paul Kulchenko
d19db6e50d Fixed translations for stock menu items on Ubuntu 13.10 (ref #70). 2014-02-08 11:51:51 -08:00
Paul Kulchenko
93cfc76d78 Updated check for editor state during Edit menu display (ref #70).
This is a fix for 7f00380f that didn't fully addressed the issue.
So far this issue has only been demonstrated on Ubuntu 13.10; earlier
versions of Ubuntu (12.04 and 10.04) or Win/OSX are not affected.
2014-02-07 12:26:02 -08:00
Paul Kulchenko
e3ab970d5a Updated Corona API auto-complete/description to match v2013.2100 (ref #73). 2014-02-05 21:00:51 -08:00
Paul Kulchenko
7f00380fe1 Added check for editor state during Edit menu display (ref #70).
This avoids a strange run-time error on Linux that appears to be caused
by UpdateUI checks in Edit menu for editor object that is out of use.
2014-02-05 15:34:18 -08:00
Paul Kulchenko
f95a48212e Upgraded Mobdebug (0.551) to fix serialization of table/array indexes. 2014-02-05 14:56:43 -08:00
Paul Kulchenko
033c781467 Fixed an issue with spec/tools/interpreters filters not working from config. 2014-02-03 16:40:07 -08:00
bartoleo
3be3f700f4 fix typo 2014-02-03 14:47:00 +01:00
bartoleo
109972a5e7 added italian translations 2014-02-03 14:44:58 +01:00
Paul Kulchenko
a7cb89eda1 Added Russian translation for new items in the main menu (ref #70). 2014-02-01 17:49:01 -08:00
Paul Kulchenko
7cbef66b7d Updated all language files with new messages (ref #70). 2014-02-01 17:48:51 -08:00
Paul Kulchenko
d15837a69e Updated messages for better translation (ref #70). 2014-02-01 17:36:39 -08:00
Paul Kulchenko
2690f3deea Fixed messages script to work with LuaJIT. 2014-02-01 17:21:14 -08:00
Paul Kulchenko
82517bc57e Fixed console output with multiple new lines at the end. 2014-02-01 17:19:13 -08:00
Paul Kulchenko
f74653aba3 Added package GetApp method (ref #166). 2014-02-01 17:18:23 -08:00
Paul Kulchenko
879ab8f506 Reverted 5268b5f as flat namespace created OSX issues (fix #270, fix #264).
This breaks lua-dist support for Lua 5.2 on OSX (ref #225),
which should be fixed with wxwidgets upgrade (ref #260).
2014-01-30 19:53:50 -08:00
Paul Kulchenko
9b899b14b4 Added package GetDebugger API call (ref #166). 2014-01-28 23:28:39 -08:00
Paul Kulchenko
bf1d5c617e Added setting project directory passed as a parameter (second instance). 2014-01-25 23:01:15 -08:00
Christoph Kubisch
728beae0b2 shader tools: allow relative directories for binaries 2014-01-25 19:45:20 +01:00
Christoph Kubisch
ebe433a65a shader specs: add isfncall definition to allow indication style 2014-01-25 19:41:31 +01:00
Paul Kulchenko
6d8c2650aa Added Shift+Zoom to zoom all editors (closes #269). 2014-01-24 16:13:20 -08:00
Paul Kulchenko
0f51d31daa Fixed an issue with isfncall spec property not being checked. 2014-01-24 13:09:01 -08:00
Paul Kulchenko
0288253929 Added alpha setting for sel/seladd/caretlinebg styles. 2014-01-23 19:47:14 -08:00
Paul Kulchenko
777690862d Added package GetToolBar API call (ref #166). 2014-01-22 15:25:02 -08:00
Paul Kulchenko
10828dce8b Added seladd setting for styling additional selections. 2014-01-22 15:24:36 -08:00
Paul Kulchenko
62df942569 Fixed function localization in menu handlers. 2014-01-21 13:39:57 -08:00
Paul Kulchenko
059e093cb3 Added Select and Find Next/Prev (closes #268). 2014-01-21 13:34:41 -08:00
Paul Kulchenko
736c30a6bc Added showing search dialog for Quick Find on first search (closes #265). 2014-01-20 15:12:58 -08:00
Paul Kulchenko
c60770b2f5 Fixed default selection for search in case of multiple selections. 2014-01-18 22:21:32 -08:00
Paul Kulchenko
fc4611e1fa Fixed dependency of lfs/git dlls on lualib.dll. 2014-01-17 13:36:33 -08:00
Paul Kulchenko
01c6eeb782 Added nomousezoom option for Console/Output windows (closes #266). 2014-01-16 19:07:26 -08:00
Paul Kulchenko
cfb0b2f6bb Fixed an issue with activating proper tab after dragging. 2014-01-14 21:04:25 -08:00
Paul Kulchenko
24fe65848b Updated love2d api with LineJoin and few other calls (ref #247). 2014-01-13 21:16:13 -08:00
Paul Kulchenko
5f2a6b1382 Fixed displaying local console output with invalid unicode characters. 2014-01-12 17:07:42 -08:00
Paul Kulchenko
9f7b6c47ab Fixed displaying script output with invalid unicode characters. 2014-01-12 16:55:57 -08:00
Paul Kulchenko
1511c4c820 Updated OSX build script for wxwidgets 3.x (ref #260).
Removed workaround for wxwidgets issue 15008 that has been fixed in the
trunk (http://trac.wxwidgets.org/ticket/15008).
2014-01-11 14:49:06 -08:00
Paul Kulchenko
7c33e7bf55 Added error reporting when debugger server fails to start (closes #263). 2014-01-09 13:13:16 -08:00
Christoph Kubisch
570743a3da bugfix in dx compiler tool 2014-01-08 16:58:45 +01:00
Christoph Kubisch
62833599f4 glsl: added imageSize to spec and api 2014-01-08 16:56:45 +01:00
Paul Kulchenko
36f11ee2bd Updated build script to compile wxwidgets 3.x on Windows (ref #260). 2014-01-06 22:51:51 -08:00
Paul Kulchenko
2580ce36a8 Fixed drawing artifacts on Windows when line wrapping disabled (fixes #250). 2014-01-05 15:57:30 -08:00
Paul Kulchenko
8a4c3693f2 Fixed setting bom value for a new editor (fixes #258). 2014-01-03 18:42:42 -08:00
Paul Kulchenko
d2cb1690cb Added support for command line parameters for GSL-shell (ref #251). 2014-01-03 17:21:25 -08:00
Paul Kulchenko
c7b03095c4 Resolved conflict for Opt+Left (ref #252 and #203). 2014-01-02 14:46:54 -08:00
Paul Kulchenko
92b02bbe0e Added support for editor shortcuts and included standard OSX ones (closes #252). 2014-01-01 21:24:46 -08:00
Paul Kulchenko
f8ab060457 Added auto-complete for metamethods (closes #256). 2013-12-31 15:00:36 -08:00
Paul Kulchenko
3fe98ed092 Fixed auto-complete for values returned by 'core' functions (ref #256). 2013-12-31 14:59:36 -08:00
Paul Kulchenko
87fa5d1302 Added Minimize shortcut on OSX (closes #254). 2013-12-30 16:14:34 -08:00
Paul Kulchenko
09b81d2796 Added handling of command line parameters for love2d (ref #251). 2013-12-29 20:57:04 -08:00
Paul Kulchenko
2d9683675b Added handling of command line parameters (closes #251). 2013-12-29 20:56:35 -08:00
Paul Kulchenko
d524f06429 Switched to using temp files instead of -e option for debugging (ref #251).
This helps with passing parameters to launched processes.
2013-12-29 20:54:40 -08:00
Paul Kulchenko
8dfb5db642 Added calling of end callback for detached processes.
Since processes are detached, their END_PROCESS event is not going
to be called, registered callbacks need to be called manually.
2013-12-29 19:01:21 -08:00
Paul Kulchenko
cfc00e6c6b Updated love2d api with some missing calls (ref #247). 2013-12-28 16:15:16 -08:00
Paul Kulchenko
17522a2b16 Added skipping compile check for non-lua files in scratchpad. 2013-12-28 12:54:34 -08:00
Christoph Kubisch
902f40202a luxinia2 define some global vars if debugger is present 2013-12-28 18:17:08 +01:00
crazybutcher
34d25acb74 luxinia2 support 32 and 64 bit runtime 2013-12-27 22:10:51 +01:00
Christoph Kubisch
b65757584b luxinia2: interpreter bugfix 2013-12-27 14:01:32 +01:00
Christoph Kubisch
518c2ca90a Merge branch 'master' of ssh://git.code.sf.net/p/estrelaeditor/code
Conflicts:
	interpreters/luxinia2.lua
2013-12-27 11:23:07 +01:00
Christoph Kubisch
005eb4b52c luxinia2: new setup, added support for debugging with main.lua and rudimentary scratchpad functionality 2013-12-27 11:12:53 +01:00
Paul Kulchenko
daa06ac8de Added handling of (optional) BOM in UTF-8 encoded files (closes #246). 2013-12-26 11:34:52 -08:00
Paul Kulchenko
fdd1a9acdb Removed jumping to the current line after compilation errors. 2013-12-25 21:20:11 -08:00
Paul Kulchenko
f42c69b158 Added hint about removing backslash for invalid escape sequences. 2013-12-25 21:18:42 -08:00
Christoph Kubisch
991edfdac3 updated luxinia2 interpreter to reflect new luxinia2 structure 2013-12-25 15:42:11 +01:00
Paul Kulchenko
64552d2733 Updated Love2d API for 0.9.0. (closes #247). 2013-12-24 17:33:13 -08:00
Christoph Kubisch
a7819bd022 Merge branch 'master' of ssh://git.code.sf.net/p/estrelaeditor/code 2013-12-23 21:06:56 +01:00
Christoph Kubisch
529e8b910f Merge remote-tracking branch 'zbstudio/master' 2013-12-23 21:05:42 +01:00
Christoph Kubisch
e886befe4c Merge remote-tracking branch 'zbstudio/master' 2013-12-22 18:08:34 +01:00
CrazyButcher
df1583b9c2 allow tool exe paths to be set in config prior load 2013-12-22 18:01:59 +01:00
Christoph Kubisch
cabc579b4b hlsl spec updated, glslc by default does some includes now 2013-12-11 13:02:12 +01:00
Christoph Kubisch
c82d9d4f1b prefer fx and fxh in hlsl over cg 2013-11-22 13:56:24 +01:00
Christoph Kubisch
3bb2926c88 dx tool: added support to compile effect file, binary outputs are "fxo" files 2013-11-22 13:49:00 +01:00
349 changed files with 44254 additions and 33235 deletions

File diff suppressed because it is too large Load Diff

30
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,30 @@
# Help
For questions and feature discussions, please use the the maillist or the IRC channel as described in the [community section](http://studio.zerobrane.com/community) of the project website.
# Bugs
When filing a bug, please help us reproduce the issue by including the following information:
* Steps to reproduce the issue as well as the expected result. Screenshots also help.
* Your operating system and the IDE version (or the latest commit if you are using the development version).
* Any relevant configuration from the config file, if you cannot reproduce the issue with an empty config.
* Any relevant plugins, if you cannot reproduce the issue without plugins.
It always helps to make sure that the issue is still reproducible with the most recent version of the IDE.
If you think that the issue is with the *debugger* (this also includes serialization issues), then open an issue in the [MobDebug repository](https://github.com/pkulchenko/MobDebug/issues).
If the issue is with one of the *plugins*, then open an issue in the [ZeroBranePackage repository](https://github.com/pkulchenko/ZeroBranePackage/issues).
# Contributing
_By contributing to ZeroBrane Studio you are agreeing to release your contribution under the MIT License._
Thank you for contributing to ZeroBrane Studio! Here are some things you can do to improve it:
* **Fixing issues**: If you have ideas or suggestions on [fixing existing issues](https://github.com/pkulchenko/ZeroBraneStudio/issues), please update the tickets directly or send a pull request.
* **Adding translations**: See [translation documentation](http://studio.zerobrane.com/doc-translation) for details.
* **Implementing new features**: Please [discuss with us](http://studio.zerobrane.com/community) any significant changes you plan as early as possible.
Try to implement the changes as a plugin first; the project already provides [plugin API](http://studio.zerobrane.com/doc-plugin) with more than [45 plugins](https://github.com/pkulchenko/ZeroBranePackage) already available.
* **Improving documentation**: All the existing documentation is generated based on pages in [gh-pages branch](https://github.com/pkulchenko/ZeroBraneStudio/tree/gh-pages). You can provide clarifications, check the documentation for errors/typos, or fill any gaps.
* **Spreading the word**!

285
LICENSE
View File

@@ -2,7 +2,7 @@
ZeroBrane Studio sources are released under the MIT License
Copyright (c) 2011-2012 Paul Kulchenko (paul@kulchenko.com)
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
@@ -235,3 +235,286 @@ 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.
--[[ Copas License ]]------------------------------------------------------
Copyright © 2005-2010 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.
--[[ Luainspect License ]]-------------------------------------------------
Copyright (C) 2010 David Manura
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.
--[[ Metalua License ]]----------------------------------------------------
Copyright (c) 2006-2997 Fabien Fleutot <metalua@gmail.com>
Metalua is available under the MIT licence.
Significant parts of the compiler borrow code from other projects,
all released under the MIT license:
- Lua <http://www.lua.org>
- Kein-Hong Man's Yueliang <http://luaforge.net/projects/yueliang>
- Tomás Guisasola's Lua Rings <http://www.keplerproject.org/rings>
- Ben Sunshine-Hill's Pluto <http://freshmeat.net/projects/pluto>
- Thomas Reuben's Bitlib <http://luaforge.net/projects/bitlib>
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.
--[[ Scintilla ]]----------------------------------------------------------
Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.
NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
OR PERFORMANCE OF THIS SOFTWARE.
--[[ LPeg ]]---------------------------------------------------------------
Copyright © 2007-2015 Lua.org, PUC-Rio.
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.
--[[ LuaFileSystem ]]------------------------------------------------------
Copyright © 2003 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.
--[[ LuaSec ]]-------------------------------------------------------------
Copyright (C) 2006-2015 Bruno Silvestre, UFG
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.
--[[ OpenSSL ]]------------------------------------------------------------
/* ====================================================================
* Copyright (c) 1998-2016 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. All advertising materials mentioning features or use of this
* software must display the following acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
*
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
* endorse or promote products derived from this software without
* prior written permission. For written permission, please contact
* openssl-core@openssl.org.
*
* 5. Products derived from this software may not be called "OpenSSL"
* nor may "OpenSSL" appear in their names without prior written
* permission of the OpenSSL Project.
*
* 6. Redistributions of any form whatsoever must retain the following
* acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
*
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* ====================================================================
*
* This product includes cryptographic software written by Eric Young
* (eay@cryptsoft.com). This product includes software written by Tim
* Hudson (tjh@cryptsoft.com).
*
*/
Original SSLeay License
-----------------------
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/

103
README.md
View File

@@ -1,9 +1,28 @@
# Project Description
[ZeroBrane Studio](http://studio.zerobrane.com/) is a lightweight Lua IDE with code completion, syntax
highlighting, remote debugger, code analyzer, live coding, and debugging
support for several Lua engines (LuaJIT, Löve 2D, Moai, Gideros, Corona, Marmalade Quick,
MobileLua, GSL-shell, and others). It originated from the [Estrela Editor](http://www.luxinia.de/index.php/Estrela/).
[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](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),
[OpenResty/Nginx](http://notebook.kulchenko.com/zerobrane/debugging-openresty-nginx-lua-scripts-with-zerobrane-studio),
[Torch7](http://notebook.kulchenko.com/zerobrane/torch-debugging-with-zerobrane-studio),
[Redis](http://notebook.kulchenko.com/zerobrane/redis-lua-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),
[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
@@ -11,54 +30,68 @@ MobileLua, GSL-shell, and others). It originated from the [Estrela Editor](http:
* 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.html) for Lua 5.1,
[Lua 5.2](http://studio.zerobrane.com/doc-lua52-debugging.html),
[LuaJIT](http://studio.zerobrane.com/doc-luajit-debugging.html),
and [other Lua engines](http://studio.zerobrane.com/documentation.html#debugging).
* Live coding with Lua ([demo](http://notebook.kulchenko.com/zerobrane/live-coding-in-lua-bret-victor-style)),
Löve 2D ([demo](http://notebook.kulchenko.com/zerobrane/live-coding-with-love)),
Gideros ([demo](http://notebook.kulchenko.com/zerobrane/gideros-live-coding-with-zerobrane-studio-ide)),
Moai ([demo](http://notebook.kulchenko.com/zerobrane/live-coding-with-moai-and-zerobrane-studio)),
and Corona SDK ([demo](http://notebook.kulchenko.com/zerobrane/debugging-and-live-coding-with-corona-sdk-applications-and-zerobrane-studio)).
* Support for plugin-like components:
- specs (`spec/`): file syntax, lexer, and keywords;
- apis (`api/`): for code completion and tooltips;
* 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](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`, project-wide `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;
- config (`cfg/`): contains style, color themes, and other settings;
- packages (`packages/`): plugins that provide additional functionality;
- 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.html) for those who are new to this development environment.
* A list of [frequently asked questions](http://studio.zerobrane.com/doc-faq.html) about the IDE.
* [Tutorials and demos](http://studio.zerobrane.com/tutorials.html) that cover debugging and live coding for different environments.
* [Tips and tricks](http://studio.zerobrane.com/doc-tips-and-tricks.html).
* 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).
## Screenshot
## Installation
![ZeroBrane Studio debugger screenshot](http://studio.zerobrane.com/images/debugging.png)
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 <filename> [<filename>...]
any non-option will be treated as filename
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
Overriding default configuration:
zbstudio -cfg "<luacode overriding config>" [<filename>]
Overwrite default configuration:
zbstudio -cfg "<lua configuration code>" [<filename>]
e.g.: zbstudio -cfg "editor.fontsize=12" somefile.lua
Loading custom configuration:
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
@@ -71,14 +104,10 @@ Loading custom configuration:
## 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.
The Estrela project has been merged into ZeroBrane Studio. If you have used Estrela
for graphics shader authoring or luxinia, create/modify the `cfg/user.lua` and
add `include "estrela"` (1.21+) to load all tools and specifications by default again.
## License
See LICENSE file.
See [LICENSE](LICENSE).

View File

@@ -1,6 +0,0 @@
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.

View File

@@ -130,8 +130,14 @@ findMSB = fn "returns bit number of msb. - (intN)(intN)",
discard = fn "conditionally (<0) kill a pixel before output. - ()(vecN)",
dFdx = fn "returns approximate partial derivative with respect to window-space X. - (vecN)(vecN)",
dFdxCoarse = fn "returns approximate partial derivative with respect to window-space X. - (vecN)(vecN)",
dFdxFine = fn "returns approximate partial derivative with respect to window-space X. - (vecN)(vecN)",
dFdy = fn "returns approximate partial derivative with respect to window-space Y. - (vecN)(vecN)",
fwidth = fn "returns sum of approximate window-space partial derivatives magnitudes. - (vecN)(vecN)",
dFdyCoarse = fn "returns approximate partial derivative with respect to window-space Y. - (vecN)(vecN)",
dFdyFine = fn "returns approximate partial derivative with respect to window-space Y. - (vecN)(vecN)",
fwidth = fn "returns abs sum of approximate window-space partial derivatives magnitudes. - (vecN)(vecN)",
fwidthFine = fn "returns abs sum of approximate window-space partial derivatives magnitudes. - (vecN)(vecN)",
fwidthCoarse = fn "returns abs sum of approximate window-space partial derivatives magnitudes. - (vecN)(vecN)",
interpolateAtCentroid = fn "Return value of interpolant sampled inside pixel and the primitive. - (floatN)(floatN)",
interpolateAtSample = fn "Return value of interpolant at the location fo sample. - (floatN)(floatN, int sample)",
interpolateAtOffset = fn "Return value of interpolant sampled at fixed offset offset from pixel center. - (floatN)(floatN, vec2 offset)",
@@ -153,20 +159,35 @@ memoryBarrierShared = fn "control ordering of memory transactions issued by shad
memoryBarrierBuffer = fn "control ordering of memory transactions issued by shader thread. - ()()",
memoryBarrierImage = fn "control ordering of memory transactions issued by shader thread. - ()()",
groupMemoryBarrier = fn "control ordering of memory transactions issued by shader thread. - ()()",
imageAtomicAdd = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicMin = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicMax = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicIncWrap = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicDecWrap = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicAnd = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicOr = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicXor = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicExchange = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicCompSwap = fn "performs atomic operation on individual texels returns new value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicAdd = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicMin = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicMax = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicIncWrap = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicDecWrap = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicAnd = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicOr = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicXor = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicExchange = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageAtomicCompSwap = fn "performs atomic operation on individual texels returns old value. - (uint)(imageN, intN coord, [int sample], uint data)",
imageStore = fn "stores the texel at the coordinate. - ()(imageN, intN coord, [int sample], vecN data)",
imageLoad = fn "loads the texel at the coordinate. - (vecN)(imageN, intN coord, [int sample])",
imageSize = fn "returns the size of the image. - (ivecN)(imageN)",
imageSamples = fn "returns the samples of the multi-sampled image. - (int)(image2DMSN)",
atomicCounterIncrement = fn "increments counter and returns old value. - (uint)(atomic_uint)",
atomicCounterDecrement = fn "decrements counter and returns old value. - (uint)(atomic_uint)",
atomicCounter = fn "returns current counter value. - (uint)(atomic_uint)",
atomicMin = fn "performs atomic operation on memory location (ssbo/shared) returns old value. - (uint)(inout uint mem, uint data)",
atomicMax = fn "performs atomic operation on memory location (ssbo/shared) returns old value. - (uint)(inout uint mem, uint data)",
atomicAdd = fn "performs atomic operation on memory location (ssbo/shared) returns old value. - (uint)(inout uint mem, uint data)",
atomicAnd = fn "performs atomic operation on memory location (ssbo/shared) returns old value. - (uint)(inout uint mem, uint data)",
atomicOr = fn "performs atomic operation on memory location (ssbo/shared) returns old value. - (uint)(inout uint mem, uint data)",
atomicXor = fn "performs atomic operation on memory location (ssbo/shared) returns old value. - (uint)(inout uint mem, uint data)",
atomicExchange = fn "performs atomic operation on memory location (ssbo/shared) returns old value. - (uint)(inout uint mem, uint data)",
atomicCompSwap = fn "performs atomic operation on memory location (ssbo/shared) returns old value. - (uint)(inout uint mem, uint data)",
textureSize = fn "returns the size of the texture (no lod required: Rect, MS and Buffer). - (intN)(samplerN, [int lod])",
textureSamples = fn "returns the samples of the multi-sampled texture. - (int)(texture2DMSN)",
textureQueryLod = fn "returns the lod values for a given coordinate. - (vec2)(samplerN, vecN coord)",
texture = fn "performs a texture lookup. Shadow samplers require base N+1 coordinate. Lod bias is optional (illegal for MS, Buffer, Rect). - (vec4)(samplerN, vecN coord, [float bias])",
textureProj = fn "performas a projective texture lookup (only Nd samplers + Rect). Shadows require N+1 base coordinate, no Lod bias allowed for Rect. - (vec4)(samplerN, vecN+1 coord, [float bias])",
@@ -234,7 +255,8 @@ local keyw =
gl_NumWorkGroups gl_WorkGroupSize gl_WorkGroupID gl_LocalInvocationID gl_GlobalInvocationID gl_LocalInvocationIndex
local_size_x local_size_y local_size_z
gl_BaseVertexARB gl_BaseInstanceARB gl_DrawIDARB
bindless_sampler bound_sampler bindless_image bound_image
bindless_sampler bound_sampler bindless_image bound_image early_fragment_tests
gl_HelperInvocation gl_CullDistance gl_MaxSamples
coherent volatile restrict readonly writeonly
image1D image2D image3D image2DRect imageCube imageBuffer image1DArray image2DArray imageCubeArray image2DMS image2DMSArray

View File

@@ -1,553 +0,0 @@
--[[// tw tweakbar | AntTweakBar UI
enum { TW_VERSION = 114 }
typedef enum ETwType {
TW_TYPE_UNDEF,
TW_TYPE_BOOLCPP,
TW_TYPE_BOOL8,
TW_TYPE_BOOL16,
TW_TYPE_BOOL32,
TW_TYPE_CHAR,
TW_TYPE_INT8,
TW_TYPE_UINT8,
TW_TYPE_INT16,
TW_TYPE_UINT16,
TW_TYPE_INT32,
TW_TYPE_UINT32,
TW_TYPE_FLOAT,
TW_TYPE_DOUBLE,
TW_TYPE_COLOR32, // 32 bits color. Order is RGBA if API is OpenGL or Direct3D10, and inversed if API is Direct3D9 (can be modified by defining 'colorOrder=...', see doc)
TW_TYPE_COLOR3F, // 3 floats color. Order is RGB.
TW_TYPE_COLOR4F, // 4 floats color. Order is RGBA.
TW_TYPE_CDSTRING, // Null-terminated C Dynamic String (pointer to an array of char dynamically allocated with malloc/realloc/strdup)
TW_TYPE__TEMP1, //
TW_TYPE_QUAT4F, // 4 floats encoding a quaternion {qx,qy,qz,qs}
TW_TYPE_QUAT4D, // 4 doubles encoding a quaternion {qx,qy,qz,qs}
TW_TYPE_DIR3F, // direction vector represented by 3 floats
TW_TYPE_DIR3D, // direction vector represented by 3 doubles
TW_TYPE_CSSTRING_LEN0 = 0x30000000,
TW_TYPE_CSSTRING_LEN256 = 0x30000000 + 256,
} TwType;
typedef struct CTwEnumVal {
int Value;
const char * Label;
} TwEnumVal;
typedef struct CTwStructMember {
const char * Name;
TwType Type;
size_t Offset;
const char * DefString;
} TwStructMember;
typedef enum ETwParamValueType {
TW_PARAM_INT32,
TW_PARAM_FLOAT,
TW_PARAM_DOUBLE,
TW_PARAM_CSTRING // Null-terminated array of char (ie, c-string)
} TwParamValueType;
typedef enum ETwGraphAPI {
TW_OPENGL = 1,
TW_DIRECT3D9 = 2,
TW_DIRECT3D10 = 3,
TW_DIRECT3D11 = 4
} TwGraphAPI;
typedef enum ETwKeyModifier {
TW_KMOD_NONE = 0x0000, // same codes as SDL keysym.mod
TW_KMOD_SHIFT = 0x0003,
TW_KMOD_CTRL = 0x00c0,
TW_KMOD_ALT = 0x0100,
TW_KMOD_META = 0x0c00
} TwKeyModifier;
typedef enum EKeySpecial {
TW_KEY_BACKSPACE = '\b',
TW_KEY_TAB = '\t',
TW_KEY_CLEAR = 0x0c,
TW_KEY_RETURN = '\r',
TW_KEY_PAUSE = 0x13,
TW_KEY_ESCAPE = 0x1b,
TW_KEY_SPACE = ' ',
TW_KEY_DELETE = 0x7f,
TW_KEY_UP = 273,
TW_KEY_DOWN,
TW_KEY_RIGHT,
TW_KEY_LEFT,
TW_KEY_INSERT,
TW_KEY_HOME,
TW_KEY_END,
TW_KEY_PAGE_UP,
TW_KEY_PAGE_DOWN,
TW_KEY_F1,
TW_KEY_F2,
TW_KEY_F3,
TW_KEY_F4,
TW_KEY_F5,
TW_KEY_F6,
TW_KEY_F7,
TW_KEY_F8,
TW_KEY_F9,
TW_KEY_F10,
TW_KEY_F11,
TW_KEY_F12,
TW_KEY_F13,
TW_KEY_F14,
TW_KEY_F15,
TW_KEY_LAST
} TwKeySpecial;
typedef enum ETwMouseAction {
TW_MOUSE_RELEASED,
TW_MOUSE_PRESSED
} TwMouseAction;
typedef enum ETwMouseButtonID {
TW_MOUSE_LEFT = 1,
TW_MOUSE_MIDDLE = 2,
TW_MOUSE_RIGHT = 3
} TwMouseButtonID;
typedef void (*TwSetVarCallback) ( const void *value, void *clientData );
typedef void (*TwGetVarCallback) ( void *value, void *clientData );
typedef void (*TwButtonCallback) ( void *clientData );
typedef void (*TwSummaryCallback) ( char *summaryString, size_t summaryMaxLength, const void *value, void *clientData );
typedef void (*TwCopyCDStringToClient) ( char **destinationClientStringPtr, const char *sourceString );
typedef void (*TwErrorHandler) ( const char *errorMessage );
typedef void (*TwGLUTmousebuttonfun) ( int glutButton, int glutState, int mouseX, int mouseY );
typedef void (*TwGLUTmousemotionfun) ( int mouseX, int mouseY );
typedef void (*TwGLUTkeyboardfun) ( unsigned char glutKey, int mouseX, int mouseY );
typedef void (*TwGLUTspecialfun) ( int glutKey, int mouseX, int mouseY );
typedef struct CTwBar TwBar;
TwBar* TwNewBar( const char *barName );
int TwDeleteBar( TwBar *bar );
int TwDeleteAllBars( );
int TwSetTopBar( const TwBar *bar );
TwBar* TwGetTopBar( );
int TwSetBottomBar( const TwBar *bar );
TwBar* TwGetBottomBar( );
const char* TwGetBarName( TwBar *bar );
int TwGetBarCount( );
TwBar* TwGetBarByIndex( int barIndex );
TwBar* TwGetBarByName( const char *barName );
int TwRefreshBar( TwBar *bar );
int TwAddVarRW( TwBar *bar, const char *name, TwType type, void *var, const char *def );
int TwAddVarRO( TwBar *bar, const char *name, TwType type, const void *var, const char *def );
int TwAddVarCB( TwBar *bar, const char *name, TwType type, TwSetVarCallback setCallback, TwGetVarCallback getCallback, void *clientData, const char *def );
int TwAddButton( TwBar *bar, const char *name, TwButtonCallback callback, void *clientData, const char *def );
int TwAddSeparator( TwBar *bar, const char *name, const char *def );
int TwRemoveVar( TwBar *bar, const char *name );
int TwRemoveAllVars( TwBar *bar );
int TwDefine( const char *def );
TwType TwDefineEnum( const char *name, const TwEnumVal *enumValues, unsigned int nbValues );
TwType TwDefineEnumFromString( const char *name, const char *enumString );
TwType TwDefineStruct( const char *name, const TwStructMember *structMembers, unsigned int nbMembers, size_t structSize, TwSummaryCallback summaryCallback, void *summaryClientData );
void TwCopyCDStringToClientFunc( TwCopyCDStringToClient copyCDStringFunc );
void TwCopyCDStringToLibrary( char **destinationLibraryStringPtr, const char *sourceClientString );
int TwGetParam( TwBar *bar, const char *varName, const char *paramName, TwParamValueType paramValueType, unsigned int outValueMaxCount, void *outValues );
int TwSetParam( TwBar *bar, const char *varName, const char *paramName, TwParamValueType paramValueType, unsigned int inValueCount, const void *inValues );
int TwInit( TwGraphAPI graphAPI, void *device );
int TwTerminate();
int TwDraw();
int TwWindowSize( int width, int height);
int TwSetCurrentWindow( int windowID); // multi-windows support
int TwGetCurrentWindow();
int TwWindowExists( int windowID);
int TwKeyPressed( int key, int modifiers);
int TwKeyTest( int key, int modifiers);
int TwMouseButton( TwMouseAction action, TwMouseButtonID button);
int TwMouseMotion( int mouseX, int mouseY);
int TwMouseWheel( int pos);
const char* TwGetLastError( );
void TwHandleErrors( TwErrorHandler errorHandler);
int TwEventSDL( const void *sdlEvent, unsigned char sdlMajorVersion, unsigned char sdlMinorVersion);
int TwEventSDL12( const void *sdlEvent);
int TwEventSDL13( const void *sdlEvent);
int TwEventMouseButtonGLFW( int glfwButton, int glfwAction );
int TwEventKeyGLFW( int glfwKey, int glfwAction );
int TwEventCharGLFW( int glfwChar, int glfwAction );
int TwEventMouseButtonGLUT( int glutButton, int glutState, int mouseX, int mouseY);
int TwEventMouseMotionGLUT( int mouseX, int mouseY);
int TwEventKeyboardGLUT( unsigned char glutKey, int mouseX, int mouseY );
int TwEventSpecialGLUT( int glutKey, int mouseX, int mouseY );
int TwGLUTModifiersFunc( int (*glutGetModifiersFunc)(void) );
int TwEventSFML( const void *sfmlEvent, unsigned char sfmlMajorVersion, unsigned char sfmlMinorVersion);
]]
--auto-generated api from ffi headers
local api =
{
["TW_TYPE_UNDEF"] = { type ='value', },
["TW_TYPE_BOOLCPP"] = { type ='value', },
["TW_TYPE_BOOL8"] = { type ='value', },
["TW_TYPE_BOOL16"] = { type ='value', },
["TW_TYPE_BOOL32"] = { type ='value', },
["TW_TYPE_CHAR"] = { type ='value', },
["TW_TYPE_INT8"] = { type ='value', },
["TW_TYPE_UINT8"] = { type ='value', },
["TW_TYPE_INT16"] = { type ='value', },
["TW_TYPE_UINT16"] = { type ='value', },
["TW_TYPE_INT32"] = { type ='value', },
["TW_TYPE_UINT32"] = { type ='value', },
["TW_TYPE_FLOAT"] = { type ='value', },
["TW_TYPE_DOUBLE"] = { type ='value', },
["TW_TYPE_COLOR32"] = { type ='value', },
["TW_TYPE_COLOR3F"] = { type ='value', },
["TW_TYPE_COLOR4F"] = { type ='value', },
["TW_TYPE_CDSTRING"] = { type ='value', },
["TW_TYPE__TEMP1"] = { type ='value', },
["TW_TYPE_QUAT4F"] = { type ='value', },
["TW_TYPE_QUAT4D"] = { type ='value', },
["TW_TYPE_DIR3F"] = { type ='value', },
["TW_TYPE_DIR3D"] = { type ='value', },
["TW_TYPE_CSSTRING_LEN0"] = { type ='value', },
["TW_TYPE_CSSTRING_LEN256"] = { type ='value', },
["TW_PARAM_INT32"] = { type ='value', },
["TW_PARAM_FLOAT"] = { type ='value', },
["TW_PARAM_DOUBLE"] = { type ='value', },
["TW_PARAM_CSTRING"] = { type ='value', },
["TW_OPENGL"] = { type ='value', },
["TW_DIRECT3D9"] = { type ='value', },
["TW_DIRECT3D10"] = { type ='value', },
["TW_DIRECT3D11"] = { type ='value', },
["TW_KMOD_NONE"] = { type ='value', },
["TW_KMOD_SHIFT"] = { type ='value', },
["TW_KMOD_CTRL"] = { type ='value', },
["TW_KMOD_ALT"] = { type ='value', },
["TW_KMOD_META"] = { type ='value', },
["TW_KEY_BACKSPACE"] = { type ='value', },
["TW_KEY_TAB"] = { type ='value', },
["TW_KEY_CLEAR"] = { type ='value', },
["TW_KEY_RETURN"] = { type ='value', },
["TW_KEY_PAUSE"] = { type ='value', },
["TW_KEY_ESCAPE"] = { type ='value', },
["TW_KEY_SPACE"] = { type ='value', },
["TW_KEY_DELETE"] = { type ='value', },
["TW_KEY_UP"] = { type ='value', },
["TW_KEY_DOWN"] = { type ='value', },
["TW_KEY_RIGHT"] = { type ='value', },
["TW_KEY_LEFT"] = { type ='value', },
["TW_KEY_INSERT"] = { type ='value', },
["TW_KEY_HOME"] = { type ='value', },
["TW_KEY_END"] = { type ='value', },
["TW_KEY_PAGE_UP"] = { type ='value', },
["TW_KEY_PAGE_DOWN"] = { type ='value', },
["TW_KEY_F1"] = { type ='value', },
["TW_KEY_F2"] = { type ='value', },
["TW_KEY_F3"] = { type ='value', },
["TW_KEY_F4"] = { type ='value', },
["TW_KEY_F5"] = { type ='value', },
["TW_KEY_F6"] = { type ='value', },
["TW_KEY_F7"] = { type ='value', },
["TW_KEY_F8"] = { type ='value', },
["TW_KEY_F9"] = { type ='value', },
["TW_KEY_F10"] = { type ='value', },
["TW_KEY_F11"] = { type ='value', },
["TW_KEY_F12"] = { type ='value', },
["TW_KEY_F13"] = { type ='value', },
["TW_KEY_F14"] = { type ='value', },
["TW_KEY_F15"] = { type ='value', },
["TW_KEY_LAST"] = { type ='value', },
["TW_MOUSE_RELEASED"] = { type ='value', },
["TW_MOUSE_PRESSED"] = { type ='value', },
["TW_MOUSE_LEFT"] = { type ='value', },
["TW_MOUSE_MIDDLE"] = { type ='value', },
["TW_MOUSE_RIGHT"] = { type ='value', },
["TwNewBar"] = { type ='function',
description = "",
returns = "(TwBar*)",
valuetype = nil,
args = "(const char *barName)", },
["TwDeleteBar"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar)", },
["TwDeleteAllBars"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "()", },
["TwSetTopBar"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const TwBar *bar)", },
["TwGetTopBar"] = { type ='function',
description = "",
returns = "(TwBar*)",
valuetype = nil,
args = "()", },
["TwSetBottomBar"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const TwBar *bar)", },
["TwGetBottomBar"] = { type ='function',
description = "",
returns = "(TwBar*)",
valuetype = nil,
args = "()", },
["TwGetBarName"] = { type ='function',
description = "",
returns = "(const char*)",
valuetype = "string",
args = "(TwBar *bar)", },
["TwGetBarCount"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "()", },
["TwGetBarByIndex"] = { type ='function',
description = "",
returns = "(TwBar*)",
valuetype = nil,
args = "(int barIndex)", },
["TwGetBarByName"] = { type ='function',
description = "",
returns = "(TwBar*)",
valuetype = nil,
args = "(const char *barName)", },
["TwRefreshBar"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar)", },
["TwAddVarRW"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar, const char *name, TwType type, void *var, const char *def)", },
["TwAddVarRO"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar, const char *name, TwType type, const void *var, const char *def)", },
["TwAddVarCB"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar, const char *name, TwType type, TwSetVarCallback setCallback, TwGetVarCallback getCallback, void *clientData, const char *def)", },
["TwAddButton"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar, const char *name, TwButtonCallback callback, void *clientData, const char *def)", },
["TwAddSeparator"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar, const char *name, const char *def)", },
["TwRemoveVar"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar, const char *name)", },
["TwRemoveAllVars"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar)", },
["TwDefine"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const char *def)", },
["TwDefineEnum"] = { type ='function',
description = "",
returns = "(TwType)",
valuetype = nil,
args = "(const char *name, const TwEnumVal *enumValues, unsigned int nbValues)", },
["TwDefineEnumFromString"] = { type ='function',
description = "",
returns = "(TwType)",
valuetype = nil,
args = "(const char *name, const char *enumString)", },
["TwDefineStruct"] = { type ='function',
description = "",
returns = "(TwType)",
valuetype = nil,
args = "(const char *name, const TwStructMember *structMembers, unsigned int nbMembers, size_t structSize, TwSummaryCallback summaryCallback, void *summaryClientData)", },
["TwCopyCDStringToClientFunc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(TwCopyCDStringToClient copyCDStringFunc)", },
["TwCopyCDStringToLibrary"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(char **destinationLibraryStringPtr, const char *sourceClientString)", },
["TwGetParam"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar, const char *varName, const char *paramName, TwParamValueType paramValueType, unsigned int outValueMaxCount, void *outValues)", },
["TwSetParam"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwBar *bar, const char *varName, const char *paramName, TwParamValueType paramValueType, unsigned int inValueCount, const void *inValues)", },
["TwInit"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwGraphAPI graphAPI, void *device)", },
["TwTerminate"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "()", },
["TwDraw"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "()", },
["TwWindowSize"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int width, int height)", },
["TwSetCurrentWindow"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int windowID)", },
["TwGetCurrentWindow"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "()", },
["TwWindowExists"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int windowID)", },
["TwKeyPressed"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int key, int modifiers)", },
["TwKeyTest"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int key, int modifiers)", },
["TwMouseButton"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(TwMouseAction action, TwMouseButtonID button)", },
["TwMouseMotion"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int mouseX, int mouseY)", },
["TwMouseWheel"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int pos)", },
["TwGetLastError"] = { type ='function',
description = "",
returns = "(const char*)",
valuetype = "string",
args = "()", },
["TwHandleErrors"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(TwErrorHandler errorHandler)", },
["TwEventSDL"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const void *sdlEvent, unsigned char sdlMajorVersion, unsigned char sdlMinorVersion)", },
["TwEventSDL12"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const void *sdlEvent)", },
["TwEventSDL13"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const void *sdlEvent)", },
["TwEventMouseButtonGLFW"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int glfwButton, int glfwAction)", },
["TwEventKeyGLFW"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int glfwKey, int glfwAction)", },
["TwEventCharGLFW"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int glfwChar, int glfwAction)", },
["TwEventMouseButtonGLUT"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int glutButton, int glutState, int mouseX, int mouseY)", },
["TwEventMouseMotionGLUT"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int mouseX, int mouseY)", },
["TwEventKeyboardGLUT"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(unsigned char glutKey, int mouseX, int mouseY)", },
["TwEventSpecialGLUT"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int glutKey, int mouseX, int mouseY)", },
["glutGetModifiersFunc"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(void))", },
["TwEventSFML"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const void *sfmlEvent, unsigned char sfmlMajorVersion, unsigned char sfmlMinorVersion)", },
["TwEnumVal"] = { type ='class',
description = "",
childs = {
["Value"] = { type ='value', description = "int ", valuetype = nil, },
["Label"] = { type ='value', description = "const char * ", valuetype = "string", },
}
},
["TwStructMember"] = { type ='class',
description = "",
childs = {
["Name"] = { type ='value', description = "const char * ", valuetype = "string", },
["Type"] = { type ='value', description = "TwType ", valuetype = nil, },
["Offset"] = { type ='value', description = "size_t ", valuetype = nil, },
["DefString"] = { type ='value', description = "const char * ", valuetype = "string", },
}
},
}
return {
tw = {
type = 'lib',
description = "AntTweakBar UI",
childs = api,
},
tweakbar = {
type = 'lib',
description = "AntTweakBar UI",
childs = api,
},
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -1,823 +0,0 @@
--[[// lxm | Lux Math
typedef float lxVector2 [ 2 ] ;
typedef float lxVector3 [ 3 ] ;
typedef float lxVector4 [ 4 ] ;
typedef float lxPlane [ 4 ] ;
typedef float lxMatrix44 [ 16 ] ;
typedef float lxMatrix34 [ 12 ] ;
typedef float lxQuat [ 4 ] ;
typedef float * lxVector2PTR ;
typedef float * lxVector3PTR ;
typedef float * lxVector4PTR ;
typedef float * lxPlanePTR ;
typedef float * lxMatrix44PTR ;
typedef float * lxMatrix34PTR ;
typedef float * lxQuatPTR ;
typedef const float * lxVector2CPTR ;
typedef const float * lxVector3CPTR ;
typedef const float * lxVector4CPTR ;
typedef const float * lxPlaneCPTR ;
typedef const float * lxMatrix44CPTR ;
typedef const float * lxMatrix34CPTR ;
typedef const float * lxQuatCPTR ;
typedef __declspec ( align ( 16 ) ) lxMatrix44 lxMatrix44SIMD ;
typedef __declspec ( align ( 16 ) ) lxVector4 lxVector4SIMD ;
typedef __declspec ( align ( 16 ) ) lxVector4 lxVector3SIMD ;
typedef struct lxFrustumPlane_s * lxFrustumPlanePTR ;
typedef const struct lxFrustumPlane_s * lxFrustumPlaneCPTR ;
typedef struct lxFrustum_s * lxFrustumPTR ;
typedef const struct lxFrustum_s * lxFrustumCPTR ;
typedef struct lxBoundingBox_s * lxBoundingBoxPTR ;
typedef const struct lxBoundingBox_s * lxBoundingBoxCPTR ;
typedef struct lxBoundingBoxCenter_s * lxBoundingBoxCenterPTR ;
typedef const struct lxBoundingBoxCenter_s * lxBoundingBoxCenterCPTR ;
typedef struct lxBoundingSphere_s * lxBoundingSpherePTR ;
typedef const struct lxBoundingSphere_s * lxBoundingSphereCPTR ;
typedef struct lxBoundingCone_s * lxBoundingConePTR ;
typedef const struct lxBoundingCone_s * lxBoundingConeCPTR ;
typedef struct lxBoundingCapsule_s * lxBoundingCapsulePTR ;
typedef const struct lxBoundingCapsule_s * lxBoundingCapsuleCPTR ;
typedef enum lxFrustumPlaneType_e
{
LUX_FRUSTUM_TOP , LUX_FRUSTUM_BOTTOM , LUX_FRUSTUM_NEAR , LUX_FRUSTUM_FAR , LUX_FRUSTUM_LEFT , LUX_FRUSTUM_RIGHT , LUX_FRUSTUM_PLANES , }
lxFrustumPlaneType_t ;
typedef enum lxFrustumCornerType_e
{
LUX_FRUSTUM_C_NTR , LUX_FRUSTUM_C_NTL , LUX_FRUSTUM_C_NBL , LUX_FRUSTUM_C_NBR , LUX_FRUSTUM_C_FTR , LUX_FRUSTUM_C_FTL , LUX_FRUSTUM_C_FBL , LUX_FRUSTUM_C_FBR , LUX_FRUSTUM_CORNERS , }
lxFrustumCornerType_t ;
typedef enum lxCullType_e
{
LUX_CULL_INTERSECT = - 1 , LUX_CULL_OUTSIDE = 0 , LUX_CULL_INSIDE = 1 , }
lxCullType_t ;
typedef struct lxFrustumPlane_s
{
lxPlane pvec ;
union
{
int n [ 3 ] ;
struct
{
int nx ;
int ny ;
int nz ;
int _npad ;
}
;
}
;
union
{
int p [ 3 ] ;
struct
{
int px ;
int py ;
int pz ;
int _ppad ;
}
;
}
;
}
lxFrustumPlane_t ;
typedef struct lxFrustum_s
{
lxFrustumPlane_t fplanes [ LUX_FRUSTUM_PLANES ] ;
}
lxFrustum_t ;
typedef struct lxBoundingBox_s
{
lxVector4 min ;
lxVector4 max ;
}
lxBoundingBox_t ;
typedef struct lxBoundingBoxCenter_s
{
lxVector4 center ;
lxVector4 size ;
}
lxBoundingBoxCenter_t ;
typedef struct lxBoundingSphere_s
{
lxVector3 center ;
float radius ;
}
lxBoundingSphere_t ;
typedef struct lxBoundingCone_s
{
lxVector4 top ;
lxVector4 axis ;
float sinDiv ;
float sinSqr ;
float cosSqr ;
float _pad ;
}
lxBoundingCone_t ;
typedef struct lxBoundingCapsule_s
{
lxVector4 origin ;
lxVector4 toEnd ;
float radius ;
float radiusSqr ;
float _pad [ 2 ] ;
}
lxBoundingCapsule_t ;
booln lxMinMax_intersectsV ( const float selfminmax [ 6 ] , const float otherminmax [ 6 ] ) ;
void lxBoundingBox_init ( lxBoundingBoxPTR bbox ) ;
void lxBoundingBox_toCenter ( lxBoundingBoxCPTR bbox , lxVector3 center , lxVector3 size ) ;
lxBoundingBoxPTR lxBoundingBox_copy ( lxBoundingBoxPTR dst , lxBoundingBoxCPTR src ) ;
lxBoundingSpherePTR lxBoundingSphere_copy ( lxBoundingSpherePTR dst , lxBoundingSphereCPTR src ) ;
lxBoundingBoxPTR lxBoundingBox_merge ( lxBoundingBoxPTR out , lxBoundingBoxCPTR a , lxBoundingBoxCPTR b ) ;
booln lxBoundingBox_mergeChange ( lxBoundingBoxPTR out , lxBoundingBoxCPTR a , lxBoundingBoxCPTR b ) ;
booln lxBoundingSphere_mergeChange ( lxBoundingSpherePTR out , lxBoundingSphereCPTR a , lxBoundingSphereCPTR b ) ;
void lxBoundingBox_toCenterBox ( lxBoundingBoxCPTR box , lxBoundingBoxCenterPTR ctr ) ;
void lxBoundingBox_fromCenterBox ( lxBoundingBoxPTR box , lxBoundingBoxCenterCPTR ctr ) ;
lxBoundingSpherePTR lxBoundingBox_toSphere ( lxBoundingBoxCPTR bbox , lxBoundingSpherePTR sphere ) ;
void lxBoundingBox_toSphereV ( const lxVector3 min , const lxVector3 max , lxVector3 center , float * radius ) ;
lxBoundingCapsulePTR lxBoundingBox_toCapsule ( lxBoundingBoxCPTR bbox , lxBoundingCapsulePTR capsule ) ;
lxBoundingBoxPTR lxBoundingBox_transform ( lxBoundingBoxPTR out , lxBoundingBoxCPTR in , lxMatrix44CPTR trans ) ;
void lxBoundingBox_transformBoxCorners ( lxBoundingBoxCPTR in , lxMatrix44CPTR trans , lxVector3 box [ 8 ] ) ;
void lxBoundingBox_transformV ( lxVector3 outmins , lxVector3 outmaxs , const lxVector3 mins , const lxVector3 maxs , lxMatrix44CPTR trans ) ;
void lxBoundingBox_fromCorners ( lxBoundingBoxPTR bbox , const lxVector3 vecs [ 8 ] ) ;
void lxBoundingCorners_fromCamera ( lxVector3 vecs [ 8 ] , lxMatrix44CPTR mat , const float fov , const float frontplane , const float backplane , const float aspect ) ;
booln lxBoundingBox_intersect ( lxBoundingBoxCPTR a , lxBoundingBoxCPTR b ) ;
booln lxBoundingBox_checkPoint ( lxBoundingBoxCPTR out , const lxVector3 point ) ;
booln lxBoundingCone_checkSphere ( lxBoundingConeCPTR cone , lxBoundingSphereCPTR sphere ) ;
void lxBoundingSphereCone_fromCamera ( lxBoundingSpherePTR sphere , lxBoundingConePTR cone , float frontplane , float backplane , const lxVector3 pos , const lxVector3 dir , float fov ) ;
void lxBoundingCone_fromFrustumCorners ( lxBoundingConePTR cone , const lxVector3 box [ LUX_FRUSTUM_CORNERS ] ) ;
void lxBoundingSphere_fromFrustumCorners ( lxBoundingSpherePTR sphere , const lxVector3 box [ LUX_FRUSTUM_CORNERS ] ) ;
void lxFrustum_update ( lxFrustumPTR frustum , lxMatrix44CPTR viewproj ) ;
booln lxFrustum_checkPoint ( lxFrustumCPTR frustum , lxVector3CPTR vec ) ;
booln lxFrustum_checkSphere ( lxFrustumCPTR frustum , lxBoundingSphereCPTR ) ;
booln lxFrustum_checkSphereCoherent ( lxFrustumCPTR pFrustum , lxBoundingSphereCPTR sphere , int * plane ) ;
booln lxFrustum_checkSphereFull ( lxFrustumCPTR frustum , lxBoundingSphereCPTR ) ;
booln lxFrustum_checkBoundingBox ( lxFrustumCPTR frustum , lxBoundingBoxCPTR bbox ) ;
booln lxFrustum_checkBoundingBoxCoherent ( lxFrustumCPTR pFrustum , lxBoundingBoxCPTR bbox , int * plane ) ;
lxCullType_t lxFrustum_cullBoundingBoxMaskedCoherent ( lxFrustumCPTR pFrustum , lxBoundingBoxCPTR bbox , int in_mask , int * out_mask , int * inoutstart_id ) ;
lxCullType_t lxFrustum_cullPoints ( lxFrustumCPTR frustum , const lxVector4 * vecarray , const int numVec ) ;
lxCullType_t lxFrustum_cullBoundingBox ( lxFrustumCPTR frustum , lxBoundingBoxCPTR bbox ) ;
void lxFrustum_getCorners ( lxFrustumCPTR frustum , lxVector3 box [ LUX_FRUSTUM_CORNERS ] ) ;
void lxFrustum_fromCorners ( lxFrustumPTR frustum , const lxVector3 box [ LUX_FRUSTUM_CORNERS ] ) ;
void lxFrustum_updateSigns ( lxFrustumPTR frustum ) ;
lxMatrix44CPTR lxMatrix44GetIdentity ( ) ;
void lxMatrix44Identity ( lxMatrix44PTR dst ) ;
void lxMatrix44Copy ( lxMatrix44PTR dst , lxMatrix44CPTR src ) ;
void lxMatrix44CopyRot ( lxMatrix44PTR dst , lxMatrix44CPTR src ) ;
void lxMatrix44CopyRotTransposed ( lxMatrix44PTR dst , lxMatrix44CPTR src ) ;
void lxMatrix44SetTranslation ( lxMatrix44PTR dst , lxVector3CPTR translation ) ;
void lxMatrix44SetInvTranslation ( lxMatrix44PTR dst , lxVector3CPTR translation ) ;
void lxMatrix44SetScale ( lxMatrix44PTR dst , lxVector3CPTR scale ) ;
void lxMatrix44PreScale ( lxMatrix44PTR dst , lxMatrix44CPTR mat , lxVector3CPTR scale ) ;
void lxMatrix44SetRotRows ( lxMatrix44PTR dst , float a , float b , float c , float d , float e , float f , float g , float h , float i ) ;
float * lxMatrix44GetTranslation ( lxMatrix44CPTR mat , lxVector3PTR vec ) ;
void lxMatrix44Clear ( lxMatrix44PTR mat ) ;
void lxMatrix44ClearRot ( lxMatrix44PTR mat ) ;
void lxMatrix44ClearTranslation ( lxMatrix44PTR mat ) ;
void lxMatrix44VectorTransform ( lxMatrix44CPTR mat , lxVector3PTR v1 ) ;
void lxMatrix44VectorInvTransform ( lxMatrix44CPTR mat , lxVector3PTR pVect ) ;
void lxMatrix44VectorRotate ( lxMatrix44CPTR mat , lxVector3PTR v1 ) ;
void lxMatrix44VectorInvRotate ( lxMatrix44CPTR mat , lxVector3PTR pVect ) ;
void lxMatrix44VectorTranslate ( lxMatrix44CPTR mat , lxVector3PTR pVect ) ;
void lxMatrix44VectorInvTranslate ( lxMatrix44CPTR mat , lxVector3PTR pVect ) ;
void lxMatrix44Multiply ( lxMatrix44PTR dst , lxMatrix44CPTR mat1 , lxMatrix44CPTR mat2 ) ;
void lxMatrix44Multiply1 ( lxMatrix44PTR mat1 , lxMatrix44CPTR mat2 ) ;
void lxMatrix44Multiply2 ( lxMatrix44CPTR mat1 , lxMatrix44PTR mat2 ) ;
void lxMatrix44MultiplyFull ( lxMatrix44PTR clip , lxMatrix44CPTR proj , lxMatrix44CPTR modl ) ;
void lxMatrix44MultiplyRot ( lxMatrix44PTR dst , lxMatrix44CPTR mat1 , lxMatrix44CPTR mat2 ) ;
void lxMatrix44MultiplyRot1 ( lxMatrix44PTR mat1 , lxMatrix44CPTR mat2 ) ;
void lxMatrix44MultiplyRot2 ( lxMatrix44CPTR mat1 , lxMatrix44PTR mat2 ) ;
void lxMatrix44Orthonormalize ( lxMatrix44PTR dst , lxMatrix44PTR src ) ;
void lxMatrix44Transpose ( lxMatrix44PTR dst , lxMatrix44CPTR src ) ;
void lxMatrix44Transpose1 ( lxMatrix44PTR mat ) ;
void lxMatrix44TransposeRot ( lxMatrix44PTR dst , lxMatrix44CPTR src ) ;
void lxMatrix44TransposeRot1 ( lxMatrix44PTR mat ) ;
void lxMatrix44TransposeRotIdentity ( lxMatrix44PTR dst , lxMatrix44CPTR src ) ;
void lxMatrix44Invert ( lxMatrix44PTR dst , lxMatrix44CPTR src ) ;
void lxMatrix44Invert1 ( lxMatrix44PTR mat ) ;
void lxMatrix44AffineInvert ( lxMatrix44PTR dst , lxMatrix44CPTR src ) ;
void lxMatrix44Orient ( lxMatrix44PTR mat , lxVector3CPTR forward , lxVector3CPTR up , int axis ) ;
void lxMatrix44LookAt ( lxMatrix44PTR mat , lxVector3CPTR from , lxVector3CPTR to , lxVector3CPTR up ) ;
void lxMatrix44FromEulerZYX ( lxMatrix44PTR mat , lxVector3CPTR angles ) ;
void lxMatrix44FromEulerZYXFast ( lxMatrix44PTR mat , lxVector3CPTR angles ) ;
void lxMatrix44FromEulerZYXdeg ( lxMatrix44PTR mat , lxVector3CPTR angles ) ;
void lxMatrix44FromEulerXYZ ( lxMatrix44PTR mat , lxVector3PTR angles ) ;
void lxMatrix44FromEulerXYZFast ( lxMatrix44PTR mat , lxVector3PTR angles ) ;
void lxMatrix44FromAngleAxis ( lxMatrix44PTR mat , lxVector3CPTR axis , float cos , float sin , float oneminuscos ) ;
void lxMatrix44FromAngleAxisFast ( lxMatrix44PTR mat , float anglerad , lxVector3CPTR axis ) ;
void lxMatrix44RotateAngle ( lxMatrix44PTR mat , lxVector3PTR from , lxVector3PTR to ) ;
void lxMatrix44RotateAroundVector ( lxMatrix44PTR mat , lxVector3PTR axis , float cos , float sin , float oneminuscos ) ;
void lxMatrix44RotateAroundVectorFast ( lxMatrix44PTR mat , lxVector3PTR axis , float angleRad ) ;
void lxMatrix44RotateAroundPointFast ( lxMatrix44PTR mat , lxVector3CPTR center , lxVector3CPTR angles ) ;
void lxMatrix44ToEulerXYZ ( lxMatrix44CPTR mat , lxVector3PTR angles ) ;
void lxMatrix44ToEulerZYX ( lxMatrix44CPTR mat , lxVector3PTR angles ) ;
void lxMatrix44Perspective ( lxMatrix44PTR mat , const float fov , const float front , const float back , const float aspect ) ;
void lxMatrix44PerspectiveInf ( lxMatrix44PTR mat , const float fov , const float front , const float aspect ) ;
void lxMatrix44Ortho ( lxMatrix44PTR mat , const float height , const float front , const float back , const float aspect ) ;
void lxMatrix44OrthoDirect ( lxMatrix44PTR mat , const float left , const float right , const float bottom , const float top , const float front , const float back ) ;
void lxMatrix44PlaneProjection ( lxMatrix44PTR mat , lxVector3CPTR planenormal ) ;
void lxMatrix44ModifyProjectionClipplane ( lxMatrix44PTR projmatrix , lxMatrix44CPTR mview , lxMatrix44CPTR mviewinv , lxVector4CPTR clipPlane ) ;
void lxMatrix44Reflection ( lxMatrix44PTR mat , lxVector4PTR plane ) ;
float lxMatrix44CompareRot ( lxMatrix44PTR mat1 , lxMatrix44PTR mat2 ) ;
void lxMatrix44Swizzle1 ( lxMatrix44PTR mat , uint axis [ 3 ] , lxVector3PTR dirs ) ;
extern const float lx_gMatrix44_ident [ 16 ] ;
float16 lxFloat32To16 ( float fval ) ;
float lxFloat16To32 ( float16 ival ) ;
]]
--auto-generated api from ffi headers
local api =
{
["lx_gMatrix44_ident"] = { type ='value', description = "extern const float lx_gMatrix44_ident[16]", valuetype = nil, },
["LUX_FRUSTUM_TOP"] = { type ='value', },
["LUX_FRUSTUM_BOTTOM"] = { type ='value', },
["LUX_FRUSTUM_NEAR"] = { type ='value', },
["LUX_FRUSTUM_FAR"] = { type ='value', },
["LUX_FRUSTUM_LEFT"] = { type ='value', },
["LUX_FRUSTUM_RIGHT"] = { type ='value', },
["LUX_FRUSTUM_PLANES"] = { type ='value', },
["LUX_FRUSTUM_C_NTR"] = { type ='value', },
["LUX_FRUSTUM_C_NTL"] = { type ='value', },
["LUX_FRUSTUM_C_NBL"] = { type ='value', },
["LUX_FRUSTUM_C_NBR"] = { type ='value', },
["LUX_FRUSTUM_C_FTR"] = { type ='value', },
["LUX_FRUSTUM_C_FTL"] = { type ='value', },
["LUX_FRUSTUM_C_FBL"] = { type ='value', },
["LUX_FRUSTUM_C_FBR"] = { type ='value', },
["LUX_FRUSTUM_CORNERS"] = { type ='value', },
["LUX_CULL_INTERSECT"] = { type ='value', },
["LUX_CULL_OUTSIDE"] = { type ='value', },
["LUX_CULL_INSIDE"] = { type ='value', },
["lxMinMax_intersectsV"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(const float selfminmax [ 6 ] , const float otherminmax [ 6 ])", },
["lxBoundingBox_init"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingBoxPTR bbox)", },
["lxBoundingBox_toCenter"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingBoxCPTR bbox , lxVector3 center , lxVector3 size)", },
["lxBoundingBox_copy"] = { type ='function',
description = "",
returns = "(lxBoundingBoxPTR)",
valuetype = "lxm.lxBoundingBox_t",
args = "(lxBoundingBoxPTR dst , lxBoundingBoxCPTR src)", },
["lxBoundingSphere_copy"] = { type ='function',
description = "",
returns = "(lxBoundingSpherePTR)",
valuetype = "lxm.lxBoundingSphere_t",
args = "(lxBoundingSpherePTR dst , lxBoundingSphereCPTR src)", },
["lxBoundingBox_merge"] = { type ='function',
description = "",
returns = "(lxBoundingBoxPTR)",
valuetype = "lxm.lxBoundingBox_t",
args = "(lxBoundingBoxPTR out , lxBoundingBoxCPTR a , lxBoundingBoxCPTR b)", },
["lxBoundingBox_mergeChange"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxBoundingBoxPTR out , lxBoundingBoxCPTR a , lxBoundingBoxCPTR b)", },
["lxBoundingSphere_mergeChange"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxBoundingSpherePTR out , lxBoundingSphereCPTR a , lxBoundingSphereCPTR b)", },
["lxBoundingBox_toCenterBox"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingBoxCPTR box , lxBoundingBoxCenterPTR ctr)", },
["lxBoundingBox_fromCenterBox"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingBoxPTR box , lxBoundingBoxCenterCPTR ctr)", },
["lxBoundingBox_toSphere"] = { type ='function',
description = "",
returns = "(lxBoundingSpherePTR)",
valuetype = "lxm.lxBoundingSphere_t",
args = "(lxBoundingBoxCPTR bbox , lxBoundingSpherePTR sphere)", },
["lxBoundingBox_toSphereV"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(const lxVector3 min , const lxVector3 max , lxVector3 center , float * radius)", },
["lxBoundingBox_toCapsule"] = { type ='function',
description = "",
returns = "(lxBoundingCapsulePTR)",
valuetype = "lxm.lxBoundingCapsule_t",
args = "(lxBoundingBoxCPTR bbox , lxBoundingCapsulePTR capsule)", },
["lxBoundingBox_transform"] = { type ='function',
description = "",
returns = "(lxBoundingBoxPTR)",
valuetype = "lxm.lxBoundingBox_t",
args = "(lxBoundingBoxPTR out , lxBoundingBoxCPTR in , lxMatrix44CPTR trans)", },
["lxBoundingBox_transformBoxCorners"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingBoxCPTR in , lxMatrix44CPTR trans , lxVector3 box [ 8 ])", },
["lxBoundingBox_transformV"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxVector3 outmins , lxVector3 outmaxs , const lxVector3 mins , const lxVector3 maxs , lxMatrix44CPTR trans)", },
["lxBoundingBox_fromCorners"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingBoxPTR bbox , const lxVector3 vecs [ 8 ])", },
["lxBoundingCorners_fromCamera"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxVector3 vecs [ 8 ] , lxMatrix44CPTR mat , const float fov , const float frontplane , const float backplane , const float aspect)", },
["lxBoundingBox_intersect"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxBoundingBoxCPTR a , lxBoundingBoxCPTR b)", },
["lxBoundingBox_checkPoint"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxBoundingBoxCPTR out , const lxVector3 point)", },
["lxBoundingCone_checkSphere"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxBoundingConeCPTR cone , lxBoundingSphereCPTR sphere)", },
["lxBoundingSphereCone_fromCamera"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingSpherePTR sphere , lxBoundingConePTR cone , float frontplane , float backplane , const lxVector3 pos , const lxVector3 dir , float fov)", },
["lxBoundingCone_fromFrustumCorners"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingConePTR cone , const lxVector3 box [ LUX_FRUSTUM_CORNERS ])", },
["lxBoundingSphere_fromFrustumCorners"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxBoundingSpherePTR sphere , const lxVector3 box [ LUX_FRUSTUM_CORNERS ])", },
["lxFrustum_update"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxFrustumPTR frustum , lxMatrix44CPTR viewproj)", },
["lxFrustum_checkPoint"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxFrustumCPTR frustum , lxVector3CPTR vec)", },
["lxFrustum_checkSphere"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxFrustumCPTR frustum , lxBoundingSphereCPTR)", },
["lxFrustum_checkSphereCoherent"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxFrustumCPTR pFrustum , lxBoundingSphereCPTR sphere , int * plane)", },
["lxFrustum_checkSphereFull"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxFrustumCPTR frustum , lxBoundingSphereCPTR)", },
["lxFrustum_checkBoundingBox"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxFrustumCPTR frustum , lxBoundingBoxCPTR bbox)", },
["lxFrustum_checkBoundingBoxCoherent"] = { type ='function',
description = "",
returns = "(booln)",
valuetype = nil,
args = "(lxFrustumCPTR pFrustum , lxBoundingBoxCPTR bbox , int * plane)", },
["lxFrustum_cullBoundingBoxMaskedCoherent"] = { type ='function',
description = "",
returns = "(lxCullType_t)",
valuetype = nil,
args = "(lxFrustumCPTR pFrustum , lxBoundingBoxCPTR bbox , int in_mask , int * out_mask , int * inoutstart_id)", },
["lxFrustum_cullPoints"] = { type ='function',
description = "",
returns = "(lxCullType_t)",
valuetype = nil,
args = "(lxFrustumCPTR frustum , const lxVector4 * vecarray , const int numVec)", },
["lxFrustum_cullBoundingBox"] = { type ='function',
description = "",
returns = "(lxCullType_t)",
valuetype = nil,
args = "(lxFrustumCPTR frustum , lxBoundingBoxCPTR bbox)", },
["lxFrustum_getCorners"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxFrustumCPTR frustum , lxVector3 box [ LUX_FRUSTUM_CORNERS ])", },
["lxFrustum_fromCorners"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxFrustumPTR frustum , const lxVector3 box [ LUX_FRUSTUM_CORNERS ])", },
["lxFrustum_updateSigns"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxFrustumPTR frustum)", },
["lxMatrix44GetIdentity"] = { type ='function',
description = "",
returns = "(lxMatrix44CPTR)",
valuetype = nil,
args = "()", },
["lxMatrix44Identity"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst)", },
["lxMatrix44Copy"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR src)", },
["lxMatrix44CopyRot"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR src)", },
["lxMatrix44CopyRotTransposed"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR src)", },
["lxMatrix44SetTranslation"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxVector3CPTR translation)", },
["lxMatrix44SetInvTranslation"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxVector3CPTR translation)", },
["lxMatrix44SetScale"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxVector3CPTR scale)", },
["lxMatrix44PreScale"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR mat , lxVector3CPTR scale)", },
["lxMatrix44SetRotRows"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , float a , float b , float c , float d , float e , float f , float g , float h , float i)", },
["lxMatrix44GetTranslation"] = { type ='function',
description = "",
returns = "(float *)",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR vec)", },
["lxMatrix44Clear"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat)", },
["lxMatrix44ClearRot"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat)", },
["lxMatrix44ClearTranslation"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat)", },
["lxMatrix44VectorTransform"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR v1)", },
["lxMatrix44VectorInvTransform"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR pVect)", },
["lxMatrix44VectorRotate"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR v1)", },
["lxMatrix44VectorInvRotate"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR pVect)", },
["lxMatrix44VectorTranslate"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR pVect)", },
["lxMatrix44VectorInvTranslate"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR pVect)", },
["lxMatrix44Multiply"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR mat1 , lxMatrix44CPTR mat2)", },
["lxMatrix44Multiply1"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat1 , lxMatrix44CPTR mat2)", },
["lxMatrix44Multiply2"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat1 , lxMatrix44PTR mat2)", },
["lxMatrix44MultiplyFull"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR clip , lxMatrix44CPTR proj , lxMatrix44CPTR modl)", },
["lxMatrix44MultiplyRot"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR mat1 , lxMatrix44CPTR mat2)", },
["lxMatrix44MultiplyRot1"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat1 , lxMatrix44CPTR mat2)", },
["lxMatrix44MultiplyRot2"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat1 , lxMatrix44PTR mat2)", },
["lxMatrix44Orthonormalize"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44PTR src)", },
["lxMatrix44Transpose"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR src)", },
["lxMatrix44Transpose1"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat)", },
["lxMatrix44TransposeRot"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR src)", },
["lxMatrix44TransposeRot1"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat)", },
["lxMatrix44TransposeRotIdentity"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR src)", },
["lxMatrix44Invert"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR src)", },
["lxMatrix44Invert1"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat)", },
["lxMatrix44AffineInvert"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR dst , lxMatrix44CPTR src)", },
["lxMatrix44Orient"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3CPTR forward , lxVector3CPTR up , int axis)", },
["lxMatrix44LookAt"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3CPTR from , lxVector3CPTR to , lxVector3CPTR up)", },
["lxMatrix44FromEulerZYX"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3CPTR angles)", },
["lxMatrix44FromEulerZYXFast"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3CPTR angles)", },
["lxMatrix44FromEulerZYXdeg"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3CPTR angles)", },
["lxMatrix44FromEulerXYZ"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3PTR angles)", },
["lxMatrix44FromEulerXYZFast"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3PTR angles)", },
["lxMatrix44FromAngleAxis"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3CPTR axis , float cos , float sin , float oneminuscos)", },
["lxMatrix44FromAngleAxisFast"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , float anglerad , lxVector3CPTR axis)", },
["lxMatrix44RotateAngle"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3PTR from , lxVector3PTR to)", },
["lxMatrix44RotateAroundVector"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3PTR axis , float cos , float sin , float oneminuscos)", },
["lxMatrix44RotateAroundVectorFast"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3PTR axis , float angleRad)", },
["lxMatrix44RotateAroundPointFast"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3CPTR center , lxVector3CPTR angles)", },
["lxMatrix44ToEulerXYZ"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR angles)", },
["lxMatrix44ToEulerZYX"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44CPTR mat , lxVector3PTR angles)", },
["lxMatrix44Perspective"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , const float fov , const float front , const float back , const float aspect)", },
["lxMatrix44PerspectiveInf"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , const float fov , const float front , const float aspect)", },
["lxMatrix44Ortho"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , const float height , const float front , const float back , const float aspect)", },
["lxMatrix44OrthoDirect"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , const float left , const float right , const float bottom , const float top , const float front , const float back)", },
["lxMatrix44PlaneProjection"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector3CPTR planenormal)", },
["lxMatrix44ModifyProjectionClipplane"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR projmatrix , lxMatrix44CPTR mview , lxMatrix44CPTR mviewinv , lxVector4CPTR clipPlane)", },
["lxMatrix44Reflection"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , lxVector4PTR plane)", },
["lxMatrix44CompareRot"] = { type ='function',
description = "",
returns = "(float)",
valuetype = nil,
args = "(lxMatrix44PTR mat1 , lxMatrix44PTR mat2)", },
["lxMatrix44Swizzle1"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(lxMatrix44PTR mat , uint axis [ 3 ] , lxVector3PTR dirs)", },
["lxFloat32To16"] = { type ='function',
description = "",
returns = "(float16)",
valuetype = nil,
args = "(float fval)", },
["lxFloat16To32"] = { type ='function',
description = "",
returns = "(float)",
valuetype = nil,
args = "(float16 ival)", },
["lxFrustumPlane_t"] = { type ='class',
description = "",
childs = {
["pvec"] = { type ='value', description = "lxPlane", valuetype = nil, },
[""] = { type ='class',
description = "",
childs = {
["nx"] = { type ='value', description = "int", valuetype = nil, },
["ny"] = { type ='value', description = "int", valuetype = nil, },
["nz"] = { type ='value', description = "int", valuetype = nil, },
["_npad"] = { type ='value', description = "int", valuetype = nil, },
}
},
[""] = { type ='class',
description = "",
childs = {
["px"] = { type ='value', description = "int", valuetype = nil, },
["py"] = { type ='value', description = "int", valuetype = nil, },
["pz"] = { type ='value', description = "int", valuetype = nil, },
["_ppad"] = { type ='value', description = "int", valuetype = nil, },
}
},
}
},
["lxFrustum_t"] = { type ='class',
description = "",
childs = {
["LUX_FRUSTUM_PLANES"] = { type ='value', description = "lxFrustumPlane_t fplanes]", valuetype = nil, },
}
},
["lxBoundingBox_t"] = { type ='class',
description = "",
childs = {
["min"] = { type ='value', description = "lxVector4", valuetype = nil, },
["max"] = { type ='value', description = "lxVector4", valuetype = nil, },
}
},
["lxBoundingBoxCenter_t"] = { type ='class',
description = "",
childs = {
["center"] = { type ='value', description = "lxVector4", valuetype = nil, },
["size"] = { type ='value', description = "lxVector4", valuetype = nil, },
}
},
["lxBoundingSphere_t"] = { type ='class',
description = "",
childs = {
["center"] = { type ='value', description = "lxVector3", valuetype = nil, },
["radius"] = { type ='value', description = "float", valuetype = nil, },
}
},
["lxBoundingCone_t"] = { type ='class',
description = "",
childs = {
["top"] = { type ='value', description = "lxVector4", valuetype = nil, },
["axis"] = { type ='value', description = "lxVector4", valuetype = nil, },
["sinDiv"] = { type ='value', description = "float", valuetype = nil, },
["sinSqr"] = { type ='value', description = "float", valuetype = nil, },
["cosSqr"] = { type ='value', description = "float", valuetype = nil, },
["_pad"] = { type ='value', description = "float", valuetype = nil, },
}
},
["lxBoundingCapsule_t"] = { type ='class',
description = "",
childs = {
["origin"] = { type ='value', description = "lxVector4", valuetype = nil, },
["toEnd"] = { type ='value', description = "lxVector4", valuetype = nil, },
["radius"] = { type ='value', description = "float", valuetype = nil, },
["radiusSqr"] = { type ='value', description = "float", valuetype = nil, },
["2"] = { type ='value', description = "float _pad]", valuetype = nil, },
}
},
}
return {
lxm = {
type = 'lib',
description = "Lux Math",
childs = api,
},
}

View File

@@ -1,130 +0,0 @@
--[[// lxs | Lux Scene
typedef enum lxMeshIndexType_e
{
LUX_MESH_INDEX_UINT16 , LUX_MESH_INDEX_UINT32 , LUX_MESH_INDICES , }
lxMeshIndexType_t ;
void lxMeshPlane_getCounts ( int segs [ 2 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices ) ;
void lxMeshPlane_initTriangles ( int segs [ 2 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices ) ;
void lxMeshPlane_initOutline ( int segs [ 2 ] , uint32 * indices ) ;
void lxMeshDisc_getCounts ( int segs [ 2 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices ) ;
void lxMeshDisc_initTriangles ( int segs [ 2 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices ) ;
void lxMeshDisc_initOutline ( int segs [ 2 ] , uint32 * indices ) ;
void lxMeshBox_getCounts ( int segs [ 3 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices ) ;
void lxMeshBox_initTriangles ( int segs [ 3 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices ) ;
void lxMeshBox_initOutline ( int segs [ 3 ] , uint32 * indices ) ;
void lxMeshSphere_getCounts ( int segs [ 2 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices ) ;
void lxMeshSphere_initTriangles ( int segs [ 2 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices ) ;
void lxMeshSphere_initOutline ( int segs [ 2 ] , uint32 * indices ) ;
void lxMeshCylinder_getCounts ( int segs [ 3 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices ) ;
void lxMeshCylinder_initTriangles ( int segs [ 3 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices ) ;
void lxMeshCylinder_initOutline ( int segs [ 3 ] , uint32 * indices ) ;
void * lxVertexCacheOptimize_tipsify ( void * indices , int nTriangles , int nVertices , int k , lxMeshIndexType_t type ) ;
void * lxVertexCacheOptimize_forsyth ( void * indices , int nTriangles , int nVertices , int vcache , lxMeshIndexType_t type ) ;
void * lxVertexCacheOptimize_grid_castano ( void * indices , int maxTriangles , int width , int height , int vcache , lxMeshIndexType_t type , int * writtenTriangles ) ;
]]
--auto-generated api from ffi headers
local api =
{
["LUX_MESH_INDEX_UINT16"] = { type ='value', },
["LUX_MESH_INDEX_UINT32"] = { type ='value', },
["LUX_MESH_INDICES"] = { type ='value', },
["lxMeshPlane_getCounts"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices)", },
["lxMeshPlane_initTriangles"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices)", },
["lxMeshPlane_initOutline"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , uint32 * indices)", },
["lxMeshDisc_getCounts"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices)", },
["lxMeshDisc_initTriangles"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices)", },
["lxMeshDisc_initOutline"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , uint32 * indices)", },
["lxMeshBox_getCounts"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 3 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices)", },
["lxMeshBox_initTriangles"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 3 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices)", },
["lxMeshBox_initOutline"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 3 ] , uint32 * indices)", },
["lxMeshSphere_getCounts"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices)", },
["lxMeshSphere_initTriangles"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices)", },
["lxMeshSphere_initOutline"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 2 ] , uint32 * indices)", },
["lxMeshCylinder_getCounts"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 3 ] , int * numVertices , int * numTriangleIndices , int * numOutlineIndices)", },
["lxMeshCylinder_initTriangles"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 3 ] , lxVector3 * pos , lxVector3 * normal , lxVector2 * uv , uint32 * indices)", },
["lxMeshCylinder_initOutline"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int segs [ 3 ] , uint32 * indices)", },
["lxVertexCacheOptimize_tipsify"] = { type ='function',
description = "",
returns = "(void *)",
valuetype = nil,
args = "(void * indices , int nTriangles , int nVertices , int k , lxMeshIndexType_t type)", },
["lxVertexCacheOptimize_forsyth"] = { type ='function',
description = "",
returns = "(void *)",
valuetype = nil,
args = "(void * indices , int nTriangles , int nVertices , int vcache , lxMeshIndexType_t type)", },
["lxVertexCacheOptimize_grid_castano"] = { type ='function',
description = "",
returns = "(void *)",
valuetype = nil,
args = "(void * indices , int maxTriangles , int width , int height , int vcache , lxMeshIndexType_t type , int * writtenTriangles)", },
}
return {
lxs = {
type = 'lib',
description = "Lux Scene",
childs = api,
},
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,16 +1,24 @@
local api = {}
for key in pairs(wx) do
api[key] = {
type = (type(wx[key]) == "function" and "function" or "value"),
description = "",
returns = "",
}
local function populateAPI(t)
local api = {}
for k,v in pairs(t) do
api[k] = {
type = (type(v) == "function" and "function" or "value"),
description = "",
returns = "",
}
end
return api
end
return {
wx = {
type = "lib",
description = "WX lib",
childs = api
}
}
wx = {
type = "lib",
description = "wx lib",
childs = populateAPI(wx),
},
wxstc = {
type = "lib",
description = "wxSTC lib",
childs = populateAPI(wxstc),
},
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/libwx.dylib → bin/clibs/libwx.dylib Executable file → Normal file

Binary file not shown.

BIN
bin/clibs/lpeg.dll Normal file

Binary file not shown.

BIN
bin/clibs/lpeg.dylib Normal file

Binary file not shown.

0
bin/clibs/mime/core.dylib Executable file → Normal file
View File

0
bin/clibs/socket/core.dylib Executable file → Normal file
View File

BIN
bin/clibs/ssl.dll Normal file

Binary file not shown.

BIN
bin/clibs/ssl.dylib Normal file

Binary file not shown.

BIN
bin/clibs/wx.dll Normal file

Binary file not shown.

BIN
bin/clibs52/lfs.dll Normal file

Binary file not shown.

BIN
bin/clibs52/lfs.dylib Normal file

Binary file not shown.

BIN
bin/clibs52/lpeg.dll Normal file

Binary file not shown.

BIN
bin/clibs52/lpeg.dylib Normal file

Binary file not shown.

BIN
bin/clibs52/ssl.dll Normal file

Binary file not shown.

BIN
bin/clibs52/ssl.dylib Normal file

Binary file not shown.

BIN
bin/clibs53/lfs.dll Normal file

Binary file not shown.

BIN
bin/clibs53/lfs.dylib Normal file

Binary file not shown.

BIN
bin/clibs53/lpeg.dll Normal file

Binary file not shown.

BIN
bin/clibs53/lpeg.dylib Normal file

Binary file not shown.

BIN
bin/clibs53/mime/core.dll Normal file

Binary file not shown.

BIN
bin/clibs53/mime/core.dylib Normal file

Binary file not shown.

BIN
bin/clibs53/socket/core.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
bin/clibs53/ssl.dll Normal file

Binary file not shown.

BIN
bin/clibs53/ssl.dylib Normal file

Binary file not shown.

BIN
bin/libeay32.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
bin/liblua53.dylib Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/linux/x64/clibs/lpeg.so Normal file

Binary file not shown.

BIN
bin/linux/x64/clibs/ssl.so Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/linux/x64/lua53 Executable file

Binary file not shown.

Binary file not shown.

BIN
bin/linux/x86/clibs/lpeg.so Normal file

Binary file not shown.

BIN
bin/linux/x86/clibs/ssl.so Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/linux/x86/lua53 Executable file

Binary file not shown.

Binary file not shown.

BIN
bin/lua.app/Contents/MacOS/lua53 Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

1
bin/lua53 Symbolic link
View File

@@ -0,0 +1 @@
lua.app/Contents/MacOS/lua53

BIN
bin/lua53.dll Normal file

Binary file not shown.

BIN
bin/lua53.exe Normal file

Binary file not shown.

BIN
bin/ssleay32.dll Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -4,8 +4,10 @@
sudo apt-get install git-core
sudo apt-get install g++
sudo apt-get install subversion
sudo apt-get install libgtk2.0-dev
sudo apt-get install libglew-dev
sudo apt-get install cmake
exit
# install cmake as wxwidgets needs 2.8.4+ but "sudo apt-get install cmake"
# only installs 2.8.0 on some systems (like Ubuntu 10.4)

View File

@@ -4,6 +4,8 @@
sudo yum install gcc-c++
sudo yum install git
sudo yum install svn
sudo yum install cmake
sudo yum install gtk2-devel
sudo yum install wget
sudo yum install sqlite
sudo yum install mesa-libGL-devel

View File

@@ -1,14 +1,27 @@
#!/bin/bash
if [ "$(uname -m)" = "x86_64" ]; then
FPIC="-fpic"
ARCH="x64"
else
FPIC=""
ARCH="x86"
# exit if the command line is empty
if [ $# -eq 0 ]; then
echo "Usage: $0 LIBRARY..."
exit 0
fi
# ZBS binary directory
case "$(uname -m)" in
x86_64)
FPIC="-fpic"
ARCH="x64"
;;
armv7l)
FPIC="-fpic"
ARCH="armhf"
;;
*)
FPIC=""
ARCH="x86"
;;
esac
# binary directory
BIN_DIR="$(dirname "$PWD")/bin/linux/$ARCH"
# temporary installation directory for dependencies
@@ -22,36 +35,44 @@ BUILD_FLAGS="-O2 -shared -s -I $INSTALL_DIR/include -L $INSTALL_DIR/lib $FPIC"
# paths configuration
WXWIDGETS_BASENAME="wxWidgets"
WXWIDGETS_URL="http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk"
LIBPNG_BASENAME="libpng-1.6.2"
LIBPNG_FILENAME="$LIBPNG_BASENAME.tar.gz"
LIBPNG_URL="http://sourceforge.net/projects/libpng/files/libpng16/1.6.2/libpng-1.6.2.tar.gz/download"
ZLIB_BASENAME="zlib-1.2.8"
ZLIB_FILENAME="$ZLIB_BASENAME.tar.gz"
ZLIB_URL="https://github.com/madler/zlib/archive/v1.2.8.tar.gz"
WXWIDGETS_URL="https://github.com/pkulchenko/wxWidgets.git"
WXLUA_BASENAME="wxlua"
WXLUA_URL="https://svn.code.sf.net/p/wxlua/svn/trunk"
WXLUA_URL="https://github.com/pkulchenko/wxlua.git"
LUASOCKET_BASENAME="luasocket-3.0-rc1"
LUASOCKET_FILENAME="v3.0-rc1.zip"
LUASOCKET_URL="https://github.com/diegonehab/luasocket/archive/$LUASOCKET_FILENAME"
# exit if the command line is empty
if [ $# -eq 0 ]; then
echo "Usage: $0 LIBRARY..."
exit 0
fi
LUASEC_BASENAME="luasec-0.6"
LUASEC_FILENAME="$LUASEC_BASENAME.zip"
LUASEC_URL="https://github.com/brunoos/luasec/archive/$LUASEC_FILENAME"
LFS_BASENAME="v_1_6_3"
LFS_FILENAME="$LFS_BASENAME.tar.gz"
LFS_URL="https://github.com/keplerproject/luafilesystem/archive/$LFS_FILENAME"
LPEG_BASENAME="lpeg-1.0.0"
LPEG_FILENAME="$LPEG_BASENAME.tar.gz"
LPEG_URL="http://www.inf.puc-rio.br/~roberto/lpeg/$LPEG_FILENAME"
WXWIDGETSDEBUG="--disable-debug"
WXLUABUILD="MinSizeRel"
# iterate through the command line arguments
for ARG in "$@"; do
case $ARG in
5.2)
BUILD_LUA=true
BUILD_52=true
;;
5.3)
BUILD_LUA=true
BUILD_53=true
BUILD_FLAGS="$BUILD_FLAGS -DLUA_COMPAT_APIINTCASTS"
;;
jit)
BUILD_LUA=true
BUILD_JIT=true
;;
wxwidgets)
@@ -63,14 +84,30 @@ for ARG in "$@"; do
wxlua)
BUILD_WXLUA=true
;;
luasec)
BUILD_LUASEC=true
;;
luasocket)
BUILD_LUASOCKET=true
;;
lfs)
BUILD_LFS=true
;;
lpeg)
BUILD_LPEG=true
;;
debug)
WXWIDGETSDEBUG="--enable-debug=max --enable-debug_gdb"
WXLUABUILD="Debug"
;;
all)
BUILD_WXWIDGETS=true
BUILD_LUA=true
BUILD_WXLUA=true
BUILD_LUASOCKET=true
BUILD_LUASEC=true
BUILD_LFS=true
BUILD_LPEG=true
;;
*)
echo "Error: invalid argument $ARG"
@@ -91,9 +128,9 @@ if [ ! "$(which cmake)" ]; then
exit 1
fi
# check for svn
if [ ! "$(which svn)" ]; then
echo "Error: svn isn't found. Please install console SVN client."
# check for git
if [ ! "$(which git)" ]; then
echo "Error: git isn't found. Please install console GIT client."
exit 1
fi
@@ -113,63 +150,57 @@ LUA_BASENAME="lua-5.1.5"
if [ $BUILD_52 ]; then
LUAV="52"
LUAS=$LUAV
LUA_BASENAME="lua-5.2.2"
LUA_BASENAME="lua-5.2.4"
fi
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
if [ $BUILD_JIT ]; then
LUA_BASENAME="LuaJIT-2.0.2"
if [ $BUILD_53 ]; then
LUAV="53"
LUAS=$LUAV
LUA_BASENAME="lua-5.3.1"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://luajit.org/download/$LUA_FILENAME"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
fi
if [ $BUILD_JIT ]; then
LUA_BASENAME="luajit"
LUA_URL="https://github.com/pkulchenko/luajit.git"
fi
# build wxWidgets
if [ $BUILD_WXWIDGETS ]; then
# first build get/configure libpng as v1.6 is needed
wget -c "$LIBPNG_URL" -O "$LIBPNG_FILENAME" || { echo "Error: failed to download libpng"; exit 1; }
tar -xzf "$LIBPNG_FILENAME"
(cd "$LIBPNG_BASENAME"; ./configure --with-libpng-prefix=wxpng_; make $MAKEFLAGS)
wget -c "$ZLIB_URL" -O "$ZLIB_FILENAME" || { echo "Error: failed to download zlib"; exit 1; }
tar -xzf "$ZLIB_FILENAME"
(cd "$ZLIB_BASENAME"; ./configure; make $MAKEFLAGS)
svn co "$WXWIDGETS_URL" "$WXWIDGETS_BASENAME" || { echo "Error: failed to checkout wxWidgets"; exit 1; }
# replace src/png with the libpng folder
rm -rf "$WXWIDGETS_BASENAME/src/png"
mv "$LIBPNG_BASENAME" "$WXWIDGETS_BASENAME/src/png"
# replace src/zlib with the zlib folder
rm -rf "$WXWIDGETS_BASENAME/src/zlib"
mv "$ZLIB_BASENAME" "$WXWIDGETS_BASENAME/src/zlib"
git clone "$WXWIDGETS_URL" "$WXWIDGETS_BASENAME" || { echo "Error: failed to get wxWidgets"; exit 1; }
cd "$WXWIDGETS_BASENAME"
./configure --prefix="$INSTALL_DIR" --disable-debug --disable-shared --enable-unicode \
./configure --prefix="$INSTALL_DIR" $WXWIDGETSDEBUG --disable-shared --enable-unicode \
--enable-compat28 \
--with-libjpeg=builtin --with-libpng=builtin --with-libtiff=no --with-expat=no \
--with-zlib=builtin --disable-richtext --with-gtk=2 \
CFLAGS="-Os -fPIC" CXXFLAGS="-Os -fPIC"
# update gzio to gzlib as this has changed between zlib 1.2.3 to 1.2.8
sed -i 's/gzio.c/gzlib.c/' Makefile
make $MAKEFLAGS || { echo "Error: failed to build wxWidgets"; exit 1; }
make install
cd ..
rm -rf "$WXWIDGETS_BASENAME" "$LIBPNG_FILENAME"
rm -rf "$WXWIDGETS_BASENAME"
fi
# build Lua
if [ $BUILD_LUA ]; then
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
if [ $BUILD_JIT ]; then
git clone "$LUA_URL" "$LUA_BASENAME"
(cd "$LUA_BASENAME"; git checkout v2.0.4)
else
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
fi
cd "$LUA_BASENAME"
if [ $BUILD_JIT ]; then
make CCOPT="-DLUAJIT_ENABLE_LUA52COMPAT" || { echo "Error: failed to build Lua"; exit 1; }
make install PREFIX="$INSTALL_DIR"
cp "$INSTALL_DIR/bin/luajit" "$INSTALL_DIR/bin/lua"
# move luajit to lua as it's expected by luasocket and other components
cp "$INSTALL_DIR"/include/luajit*/* "$INSTALL_DIR/include/"
cp "$INSTALL_DIR"/bin/luajit "$INSTALL_DIR/bin/lua"
# don't copy luajit includes as the libraries should be compiled using Lua headers
else
# use POSIX as it has minimum dependencies (no readline and no ncurses required)
# LUA_USE_DLOPEN is required for loading libraries
@@ -184,19 +215,27 @@ fi
# build wxLua
if [ $BUILD_WXLUA ]; then
svn co "$WXLUA_URL" "$WXLUA_BASENAME" || { echo "Error: failed to checkout wxLua"; exit 1; }
git clone "$WXLUA_URL" "$WXLUA_BASENAME" || { echo "Error: failed to get wxWidgets"; exit 1; }
cd "$WXLUA_BASENAME/wxLua"
git checkout wxwidgets311
# the following patches wxlua source to fix live coding support in wxlua apps
# http://www.mail-archive.com/wxlua-users@lists.sourceforge.net/msg03225.html
sed -i 's/\(m_wxlState = wxLuaState(wxlState.GetLuaState(), wxLUASTATE_GETSTATE|wxLUASTATE_ROOTSTATE);\)/\/\/ removed by ZBS build process \/\/ \1/' modules/wxlua/wxlcallb.cpp
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=FALSE \
# remove "Unable to call an unknown method..." error as it leads to a leak
# see http://sourceforge.net/p/wxlua/mailman/message/34629522/ for details
sed -i '/Unable to call an unknown method/{N;s/.*/ \/\/ removed by ZBS build process/}' modules/wxlua/wxlbind.cpp
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=$WXLUABUILD -DBUILD_SHARED_LIBS=FALSE \
-DwxWidgets_CONFIG_EXECUTABLE="$INSTALL_DIR/bin/wx-config" \
-DwxWidgets_COMPONENTS="stc;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;html;aui;adv;core;net;base" -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \
-DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \
-DwxLua_LUA_INCLUDE_DIR="$INSTALL_DIR/include" -DwxLua_LUA_LIBRARY="$INSTALL_DIR/lib/liblua.a" .
(cd modules/luamodule; make $MAKEFLAGS) || { echo "Error: failed to build wxLua"; exit 1; }
(cd modules/luamodule; make install/strip)
(cd modules/luamodule; make install)
[ -f "$INSTALL_DIR/lib/libwx.so" ] || { echo "Error: libwx.so isn't found"; exit 1; }
[ "$WXLUABUILD" != "Debug" ] && strip --strip-unneeded "$INSTALL_DIR/lib/libwx.so"
cd ../..
rm -rf "$WXLUA_BASENAME"
fi
@@ -207,10 +246,10 @@ if [ $BUILD_LUASOCKET ]; then
unzip "$LUASOCKET_FILENAME"
cd "$LUASOCKET_BASENAME"
mkdir -p "$INSTALL_DIR/lib/lua/$LUAV/"{mime,socket}
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAV/mime/core.so" src/mime.c -llua \
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAV/mime/core.so" src/mime.c \
|| { echo "Error: failed to build LuaSocket"; exit 1; }
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAV/socket/core.so" \
src/{auxiliar.c,buffer.c,except.c,inet.c,io.c,luasocket.c,options.c,select.c,tcp.c,timeout.c,udp.c,usocket.c} -llua \
src/{auxiliar.c,buffer.c,except.c,inet.c,io.c,luasocket.c,options.c,select.c,tcp.c,timeout.c,udp.c,usocket.c} \
|| { echo "Error: failed to build LuaSocket"; exit 1; }
mkdir -p "$INSTALL_DIR/share/lua/$LUAV/socket"
cp src/{ftp.lua,http.lua,smtp.lua,tp.lua,url.lua} "$INSTALL_DIR/share/lua/$LUAV/socket"
@@ -221,15 +260,72 @@ if [ $BUILD_LUASOCKET ]; then
rm -rf "$LUASOCKET_FILENAME" "$LUASOCKET_BASENAME"
fi
# build lfs
if [ $BUILD_LFS ]; then
wget --no-check-certificate -c "$LFS_URL" -O "$LFS_FILENAME" || { echo "Error: failed to download lfs"; exit 1; }
tar -xzf "$LFS_FILENAME"
mv "luafilesystem-$LFS_BASENAME" "$LFS_BASENAME"
cd "$LFS_BASENAME/src"
mkdir -p "$INSTALL_DIR/lib/lua/$LUAD/"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/lfs.so" lfs.c \
|| { echo "Error: failed to build lfs"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAD/lfs.so" ] || { echo "Error: lfs.so isn't found"; exit 1; }
cd ../..
rm -rf "$LFS_FILENAME" "$LFS_BASENAME"
fi
# build lpeg
if [ $BUILD_LPEG ]; then
wget --no-check-certificate -c "$LPEG_URL" -O "$LPEG_FILENAME" || { echo "Error: failed to download lpeg"; exit 1; }
tar -xzf "$LPEG_FILENAME"
cd "$LPEG_BASENAME"
mkdir -p "$INSTALL_DIR/lib/lua/$LUAD/"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/lpeg.so" lptree.c lpvm.c lpcap.c lpcode.c lpprint.c \
|| { echo "Error: failed to build lpeg"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAD/lpeg.so" ] || { echo "Error: lpeg.so isn't found"; exit 1; }
cd ..
rm -rf "$LPEG_FILENAME" "$LPEG_BASENAME"
fi
# build LuaSec
if [ $BUILD_LUASEC ]; then
# build LuaSec
wget --no-check-certificate -c "$LUASEC_URL" -O "$LUASEC_FILENAME" || { echo "Error: failed to download LuaSec"; exit 1; }
unzip "$LUASEC_FILENAME"
# the folder in the archive is "luasec-luasec-....", so need to fix
mv "luasec-$LUASEC_BASENAME" $LUASEC_BASENAME
cd "$LUASEC_BASENAME"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/ssl.so" \
src/luasocket/{timeout.c,buffer.c,io.c,usocket.c} src/{context.c,x509.c,ssl.c} -Isrc \
-lssl -lcrypto \
|| { echo "Error: failed to build LuaSec"; exit 1; }
cp src/ssl.lua "$INSTALL_DIR/share/lua/$LUAD"
mkdir -p "$INSTALL_DIR/share/lua/$LUAD/ssl"
cp src/https.lua "$INSTALL_DIR/share/lua/$LUAD/ssl"
[ -f "$INSTALL_DIR/lib/lua/$LUAD/ssl.so" ] || { echo "Error: ssl.so isn't found"; exit 1; }
strip --strip-unneeded "$INSTALL_DIR/lib/lua/$LUAD/ssl.so"
cd ..
rm -rf "$LUASEC_FILENAME" "$LUASEC_BASENAME"
fi
# now copy the compiled dependencies to ZBS binary directory
mkdir -p "$BIN_DIR" || { echo "Error: cannot create directory $BIN_DIR"; exit 1; }
[ $BUILD_LUA ] && cp "$INSTALL_DIR/bin/lua$LUAS" "$BIN_DIR"
[ $BUILD_WXLUA ] && cp "$INSTALL_DIR/lib/libwx.so" "$BIN_DIR"
[ $BUILD_WXLUA ] && cp "$INSTALL_DIR/lib/libwx.so" "$BIN_DIR/clibs"
[ $BUILD_LFS ] && cp "$INSTALL_DIR/lib/lua/$LUAD/lfs.so" "$BIN_DIR/clibs$LUAS"
[ $BUILD_LPEG ] && cp "$INSTALL_DIR/lib/lua/$LUAD/lpeg.so" "$BIN_DIR/clibs$LUAS"
if [ $BUILD_LUASOCKET ]; then
mkdir -p "$BIN_DIR/clibs$LUAS/"{mime,socket}
cp "$INSTALL_DIR/lib/lua/$LUAV/mime/core.so" "$BIN_DIR/clibs$LUAS/mime"
cp "$INSTALL_DIR/lib/lua/$LUAV/socket/core.so" "$BIN_DIR/clibs$LUAS/socket"
fi
if [ $BUILD_LUASEC ]; then
cp "$INSTALL_DIR/lib/lua/$LUAD/ssl.so" "$BIN_DIR/clibs$LUAS"
cp "$INSTALL_DIR/share/lua/$LUAD/ssl.lua" ../lualibs
cp "$INSTALL_DIR/share/lua/$LUAD/ssl/https.lua" ../lualibs/ssl
fi
echo "*** Build has been successfully completed ***"
exit 0

View File

@@ -1,6 +1,12 @@
#!/bin/bash
# ZBS binary directory
# exit if the command line is empty
if [ $# -eq 0 ]; then
echo "Usage: $0 LIBRARY..."
exit 0
fi
# binary directory
BIN_DIR="$(dirname "$PWD")/bin"
# temporary installation directory for dependencies
@@ -9,7 +15,7 @@ INSTALL_DIR="$PWD/deps"
# Mac OS X global settings
MACOSX_ARCH="i386"
MACOSX_VERSION="10.6"
MACOSX_SDK_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk"
MACOSX_SDK_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"
# number of parallel jobs used for building
MAKEFLAGS="-j4"
@@ -24,22 +30,27 @@ BUILD_FLAGS="-O2 -arch x86_64 -dynamiclib -undefined dynamic_lookup $MACOSX_FLAG
# paths configuration
WXWIDGETS_BASENAME="wxWidgets"
WXWIDGETS_URL="http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk"
WXWIDGETS_URL="https://github.com/pkulchenko/wxWidgets.git"
WXLUA_BASENAME="wxlua"
WXLUA_URL="https://svn.code.sf.net/p/wxlua/svn/trunk"
WXLUA_URL="https://github.com/pkulchenko/wxlua.git"
LUASOCKET_BASENAME="luasocket-3.0-rc1"
LUASOCKET_FILENAME="v3.0-rc1.zip"
LUASOCKET_URL="https://github.com/diegonehab/luasocket/archive/$LUASOCKET_FILENAME"
# exit if the command line is empty
if [ $# -eq 0 ]; then
echo "Usage: $0 LIBRARY..."
exit 0
fi
LUASEC_BASENAME="luasec-0.6"
LUASEC_FILENAME="$LUASEC_BASENAME.zip"
LUASEC_URL="https://github.com/brunoos/luasec/archive/$LUASEC_FILENAME"
LFS_BASENAME="v_1_6_3"
LFS_FILENAME="$LFS_BASENAME.tar.gz"
LFS_URL="https://github.com/keplerproject/luafilesystem/archive/$LFS_FILENAME"
LPEG_BASENAME="lpeg-1.0.0"
LPEG_FILENAME="$LPEG_BASENAME.tar.gz"
LPEG_URL="http://www.inf.puc-rio.br/~roberto/lpeg/$LPEG_FILENAME"
WXLUASTRIP="/strip"
WXWIDGETSDEBUG="--disable-debug"
WXLUABUILD="MinSizeRel"
@@ -47,9 +58,16 @@ WXLUABUILD="MinSizeRel"
for ARG in "$@"; do
case $ARG in
5.2)
BUILD_LUA=true
BUILD_52=true
;;
5.3)
BUILD_LUA=true
BUILD_53=true
BUILD_FLAGS="$BUILD_FLAGS -DLUA_COMPAT_APIINTCASTS"
;;
jit)
BUILD_LUA=true
BUILD_JIT=true
;;
wxwidgets)
@@ -61,11 +79,19 @@ for ARG in "$@"; do
wxlua)
BUILD_WXLUA=true
;;
luasec)
BUILD_LUASEC=true
;;
luasocket)
BUILD_LUASOCKET=true
;;
lfs)
BUILD_LFS=true
;;
lpeg)
BUILD_LPEG=true
;;
debug)
WXLUASTRIP=""
WXWIDGETSDEBUG="--enable-debug=max"
WXLUABUILD="Debug"
;;
@@ -74,6 +100,9 @@ for ARG in "$@"; do
BUILD_LUA=true
BUILD_WXLUA=true
BUILD_LUASOCKET=true
BUILD_LUASEC=true
BUILD_LFS=true
BUILD_LPEG=true
;;
*)
echo "Error: invalid argument $ARG"
@@ -94,9 +123,9 @@ if [ ! "$(which cmake)" ]; then
exit 1
fi
# check for svn
if [ ! "$(which svn)" ]; then
echo "Error: svn isn't found. Please install console SVN client."
# check for git
if [ ! "$(which git)" ]; then
echo "Error: git isn't found. Please install console GIT client."
exit 1
fi
@@ -116,34 +145,47 @@ LUA_BASENAME="lua-5.1.5"
if [ $BUILD_52 ]; then
LUAV="52"
LUAS=$LUAV
LUA_BASENAME="lua-5.2.2"
LUA_BASENAME="lua-5.2.4"
fi
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
if [ $BUILD_JIT ]; then
LUA_BASENAME="LuaJIT-2.0.2"
if [ $BUILD_53 ]; then
LUAV="53"
LUAS=$LUAV
LUA_BASENAME="lua-5.3.1"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://luajit.org/download/$LUA_FILENAME"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
fi
if [ $BUILD_JIT ]; then
LUA_BASENAME="luajit"
LUA_URL="https://github.com/pkulchenko/luajit.git"
fi
# build wxWidgets
if [ $BUILD_WXWIDGETS ]; then
svn co "$WXWIDGETS_URL" "$WXWIDGETS_BASENAME" || { echo "Error: failed to checkout wxWidgets"; exit 1; }
git clone "$WXWIDGETS_URL" "$WXWIDGETS_BASENAME" || { echo "Error: failed to get wxWidgets"; exit 1; }
cd "$WXWIDGETS_BASENAME"
MINSDK=""
if [ -d $MACOSX_SDK_PATH ]; then
MINSDK="--with-macosx-sdk=$MACOSX_SDK_PATH"
fi
# fix auto-complete crash by reverting an earlier revision
# http://trac.wxwidgets.org/ticket/15008#comment:12
svn merge -r 74098:74097 .
./configure --prefix="$INSTALL_DIR" $WXWIDGETSDEBUG --disable-shared --enable-unicode \
--enable-compat28 \
--with-libjpeg=builtin --with-libpng=builtin --with-libtiff=no --with-expat=no \
--with-zlib=builtin --disable-richtext \
--enable-macosx_arch=$MACOSX_ARCH --with-macosx-version-min=$MACOSX_VERSION $MINSDK \
--with-osx_cocoa CFLAGS="-Os" CXXFLAGS="-Os"
PATTERN="defined( __WXMAC__ )\$"
if [ "$(grep -c "$PATTERN" src/aui/tabart.cpp)" -ne "1" ]; then
echo "Incorrect pattern for a fix in tabart.cpp."
exit 1
fi
sed -i "" "s/$PATTERN/0/" src/aui/tabart.cpp
make $MAKEFLAGS || { echo "Error: failed to build wxWidgets"; exit 1; }
make install
cd ..
@@ -152,8 +194,13 @@ fi
# build Lua
if [ $BUILD_LUA ]; then
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
if [ $BUILD_JIT ]; then
git clone "$LUA_URL" "$LUA_BASENAME"
(cd "$LUA_BASENAME"; git checkout v2.0.4)
else
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
fi
cd "$LUA_BASENAME"
if [ $BUILD_JIT ]; then
@@ -161,8 +208,6 @@ if [ $BUILD_LUA ]; then
make install PREFIX="$INSTALL_DIR"
cp "src/luajit" "$INSTALL_DIR/bin/lua"
cp "src/liblua.dylib" "$INSTALL_DIR/lib"
# move luajit to lua as it's expected by luasocket and other components
cp "$INSTALL_DIR"/include/luajit*/* "$INSTALL_DIR/include/"
else
sed -i "" 's/PLATS=/& macosx_dylib/' Makefile
@@ -184,8 +229,10 @@ fi
# build wxLua
if [ $BUILD_WXLUA ]; then
svn co "$WXLUA_URL" "$WXLUA_BASENAME" || { echo "Error: failed to checkout wxLua"; exit 1; }
git clone "$WXLUA_URL" "$WXLUA_BASENAME" || { echo "Error: failed to get wxWidgets"; exit 1; }
cd "$WXLUA_BASENAME/wxLua"
git checkout wxwidgets311
MINSDK=""
if [ -d $MACOSX_SDK_PATH ]; then
MINSDK="CMAKE_OSX_SYSROOT=$MACOSX_SDK_PATH"
@@ -193,16 +240,21 @@ if [ $BUILD_WXLUA ]; then
# the following patches wxlua source to fix live coding support in wxlua apps
# http://www.mail-archive.com/wxlua-users@lists.sourceforge.net/msg03225.html
sed -i "" 's/\(m_wxlState = wxLuaState(wxlState.GetLuaState(), wxLUASTATE_GETSTATE|wxLUASTATE_ROOTSTATE);\)/\/\/ removed by ZBS build process \/\/ \1/' modules/wxlua/wxlcallb.cpp
# remove "Unable to call an unknown method..." error as it leads to a leak
# see http://sourceforge.net/p/wxlua/mailman/message/34629522/ for details
sed -i "" -e '/Unable to call an unknown method/{N' -e 's/.*/ \/\/ removed by ZBS build process/' -e '}' modules/wxlua/wxlbind.cpp
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=$WXLUABUILD -DBUILD_SHARED_LIBS=FALSE \
-DCMAKE_OSX_ARCHITECTURES=$MACOSX_ARCH -DCMAKE_OSX_DEPLOYMENT_TARGET=$MACOSX_VERSION $MINSDK \
-DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DwxWidgets_CONFIG_EXECUTABLE="$INSTALL_DIR/bin/wx-config" \
-DwxWidgets_COMPONENTS="stc;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;html;aui;adv;core;net;base" -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \
-DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \
-DwxLua_LUA_INCLUDE_DIR="$INSTALL_DIR/include" -DwxLua_LUA_LIBRARY="$INSTALL_DIR/lib/liblua.dylib" .
(cd modules/luamodule; make $MAKEFLAGS) || { echo "Error: failed to build wxLua"; exit 1; }
(cd modules/luamodule; make install$WXLUASTRIP)
if [ $WXLUASTRIP ]; then strip -u -r "$INSTALL_DIR/lib/libwx.dylib"; fi
(cd modules/luamodule; make install)
[ -f "$INSTALL_DIR/lib/libwx.dylib" ] || { echo "Error: libwx.dylib isn't found"; exit 1; }
[ "$WXLUABUILD" != "Debug" ] && strip -u -r "$INSTALL_DIR/lib/libwx.dylib"
cd ../..
rm -rf "$WXLUA_BASENAME"
fi
@@ -230,6 +282,54 @@ if [ $BUILD_LUASOCKET ]; then
rm -rf "$LUASOCKET_FILENAME" "$LUASOCKET_BASENAME"
fi
# build lfs
if [ $BUILD_LFS ]; then
wget --no-check-certificate -c "$LFS_URL" -O "$LFS_FILENAME" || { echo "Error: failed to download lfs"; exit 1; }
tar -xzf "$LFS_FILENAME"
mv "luafilesystem-$LFS_BASENAME" "$LFS_BASENAME"
cd "$LFS_BASENAME/src"
mkdir -p "$INSTALL_DIR/lib/lua/$LUAD/"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/lfs.dylib" lfs.c \
|| { echo "Error: failed to build lfs"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAD/lfs.dylib" ] || { echo "Error: lfs.dylib isn't found"; exit 1; }
cd ../..
rm -rf "$LFS_FILENAME" "$LFS_BASENAME"
fi
# build lpeg
if [ $BUILD_LPEG ]; then
wget --no-check-certificate -c "$LPEG_URL" -O "$LPEG_FILENAME" || { echo "Error: failed to download lpeg"; exit 1; }
tar -xzf "$LPEG_FILENAME"
cd "$LPEG_BASENAME"
mkdir -p "$INSTALL_DIR/lib/lua/$LUAD/"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/lpeg.dylib" lptree.c lpvm.c lpcap.c lpcode.c lpprint.c \
|| { echo "Error: failed to build lpeg"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAD/lpeg.dylib" ] || { echo "Error: lpeg.dylib isn't found"; exit 1; }
cd ..
rm -rf "$LPEG_FILENAME" "$LPEG_BASENAME"
fi
# build LuaSec
if [ $BUILD_LUASEC ]; then
# build LuaSec
wget --no-check-certificate -c "$LUASEC_URL" -O "$LUASEC_FILENAME" || { echo "Error: failed to download LuaSec"; exit 1; }
unzip "$LUASEC_FILENAME"
# the folder in the archive is "luasec-luasec-....", so need to fix
mv "luasec-$LUASEC_BASENAME" $LUASEC_BASENAME
cd "$LUASEC_BASENAME"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/ssl.dylib" \
src/luasocket/{timeout.c,buffer.c,io.c,usocket.c} src/{context.c,x509.c,ssl.c} -Isrc \
-lssl -lcrypto \
|| { echo "Error: failed to build LuaSec"; exit 1; }
cp src/ssl.lua "$INSTALL_DIR/share/lua/$LUAD"
mkdir -p "$INSTALL_DIR/share/lua/$LUAD/ssl"
cp src/https.lua "$INSTALL_DIR/share/lua/$LUAD/ssl"
[ -f "$INSTALL_DIR/lib/lua/$LUAD/ssl.dylib" ] || { echo "Error: ssl.dylib isn't found"; exit 1; }
strip -u -r "$INSTALL_DIR/lib/lua/$LUAD/ssl.dylib"
cd ..
rm -rf "$LUASEC_FILENAME" "$LUASEC_BASENAME"
fi
# now copy the compiled dependencies to ZBS binary directory
mkdir -p "$BIN_DIR" || { echo "Error: cannot create directory $BIN_DIR"; exit 1; }
@@ -238,12 +338,21 @@ if [ $BUILD_LUA ]; then
cp "$INSTALL_DIR/bin/lua$LUAS" "$BIN_DIR/lua.app/Contents/MacOS"
cp "$INSTALL_DIR/bin/lua$LUAS" "$INSTALL_DIR/lib/liblua$LUAS.dylib" "$BIN_DIR"
fi
[ $BUILD_WXLUA ] && cp "$INSTALL_DIR/lib/libwx.dylib" "$BIN_DIR"
[ $BUILD_WXLUA ] && cp "$INSTALL_DIR/lib/libwx.dylib" "$BIN_DIR/clibs"
[ $BUILD_LFS ] && cp "$INSTALL_DIR/lib/lua/$LUAD/lfs.dylib" "$BIN_DIR/clibs$LUAS"
[ $BUILD_LPEG ] && cp "$INSTALL_DIR/lib/lua/$LUAD/lpeg.dylib" "$BIN_DIR/clibs$LUAS"
if [ $BUILD_LUASOCKET ]; then
mkdir -p "$BIN_DIR/clibs$LUAS/"{mime,socket}
cp "$INSTALL_DIR/lib/lua/$LUAV/mime/core.dylib" "$BIN_DIR/clibs$LUAS/mime"
cp "$INSTALL_DIR/lib/lua/$LUAV/socket/core.dylib" "$BIN_DIR/clibs$LUAS/socket"
fi
if [ $BUILD_LUASEC ]; then
cp "$INSTALL_DIR/lib/lua/$LUAD/ssl.dylib" "$BIN_DIR/clibs$LUAS"
cp "$INSTALL_DIR/share/lua/$LUAD/ssl.lua" ../lualibs
cp "$INSTALL_DIR/share/lua/$LUAD/ssl/https.lua" ../lualibs/ssl
fi
echo "*** Build has been successfully completed ***"
exit 0

View File

@@ -1,6 +1,12 @@
#!/bin/bash
# ZBS binary directory
# exit if the command line is empty
if [ $# -eq 0 ]; then
echo "Usage: $0 LIBRARY..."
exit 0
fi
# binary directory
BIN_DIR="$(dirname "$PWD")/bin"
# temporary installation directory for dependencies
@@ -14,33 +20,34 @@ BUILD_FLAGS="-O2 -shared -s -I $INSTALL_DIR/include -L $INSTALL_DIR/lib"
# paths configuration
WXWIDGETS_BASENAME="wxWidgets"
WXWIDGETS_URL="http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk"
WXWIDGETS_URL="https://github.com/pkulchenko/wxWidgets.git"
WXLUA_BASENAME="wxlua"
WXLUA_URL="https://svn.code.sf.net/p/wxlua/svn/trunk"
WXLUA_URL="https://github.com/pkulchenko/wxlua.git"
LUASOCKET_BASENAME="luasocket-3.0-rc1"
LUASOCKET_FILENAME="v3.0-rc1.zip"
LUASOCKET_URL="https://github.com/diegonehab/luasocket/archive/$LUASOCKET_FILENAME"
OPENSSL_BASENAME="openssl-1.0.1e"
OPENSSL_BASENAME="openssl-1.0.2h"
OPENSSL_FILENAME="$OPENSSL_BASENAME.tar.gz"
OPENSSL_URL="http://www.openssl.org/source/$OPENSSL_FILENAME"
LUASEC_BASENAME="luasec-0.4.1"
LUASEC_BASENAME="luasec-0.6"
LUASEC_FILENAME="$LUASEC_BASENAME.zip"
LUASEC_URL="https://github.com/brunoos/luasec/archive/$LUASEC_FILENAME"
LFS_BASENAME="v_1_6_3"
LFS_FILENAME="$LFS_BASENAME.tar.gz"
LFS_URL="https://github.com/keplerproject/luafilesystem/archive/$LFS_FILENAME"
LPEG_BASENAME="lpeg-1.0.0"
LPEG_FILENAME="$LPEG_BASENAME.tar.gz"
LPEG_URL="http://www.inf.puc-rio.br/~roberto/lpeg/$LPEG_FILENAME"
WINAPI_BASENAME="winapi"
WINAPI_URL="https://github.com/stevedonovan/winapi.git"
# exit if the command line is empty
if [ $# -eq 0 ]; then
echo "Usage: $0 LIBRARY..."
exit 0
fi
WXLUASTRIP="/strip"
WXWIDGETSDEBUG="--disable-debug"
WXLUABUILD="MinSizeRel"
@@ -48,9 +55,16 @@ WXLUABUILD="MinSizeRel"
for ARG in "$@"; do
case $ARG in
5.2)
BUILD_LUA=true
BUILD_52=true
;;
5.3)
BUILD_LUA=true
BUILD_53=true
BUILD_FLAGS="$BUILD_FLAGS -DLUA_COMPAT_APIINTCASTS"
;;
jit)
BUILD_LUA=true
BUILD_JIT=true
;;
wxwidgets)
@@ -71,11 +85,16 @@ for ARG in "$@"; do
winapi)
BUILD_WINAPI=true
;;
lfs)
BUILD_LFS=true
;;
lpeg)
BUILD_LPEG=true
;;
zbstudio)
BUILD_ZBSTUDIO=true
;;
debug)
WXLUASTRIP=""
WXWIDGETSDEBUG="--enable-debug=max --enable-debug_gdb"
WXLUABUILD="Debug"
;;
@@ -86,6 +105,9 @@ for ARG in "$@"; do
BUILD_LUASOCKET=true
BUILD_WINAPI=true
BUILD_ZBSTUDIO=true
BUILD_LUASEC=true
BUILD_LFS=true
BUILD_LPEG=true
;;
*)
echo "Error: invalid argument $ARG"
@@ -106,14 +128,8 @@ if [ ! "$(which cmake)" ]; then
exit 1
fi
# check for svn
if [[ ($BUILD_WXWIDGETS || $BUILD_LUA) && ! "$(which svn)" ]]; then
echo "Error: svn isn't found. Please install console SVN client."
exit 1
fi
# check for git
if [[ $BUILD_WINAPI && ! "$(which git)" ]]; then
if [[ ! "$(which git)" ]]; then
echo "Error: git isn't found. Please install console GIT client."
exit 1
fi
@@ -128,33 +144,45 @@ fi
mkdir -p "$INSTALL_DIR" || { echo "Error: cannot create directory $INSTALL_DIR"; exit 1; }
LUAV="51"
LUAD="5.1"
LUAS=""
LUA_BASENAME="lua-5.1.5"
if [ $BUILD_52 ]; then
LUAV="52"
LUAD="5.2"
LUAS=$LUAV
LUA_BASENAME="lua-5.2.2"
LUA_BASENAME="lua-5.2.4"
fi
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
LUA_COMPAT=""
if [ $BUILD_53 ]; then
LUAV="53"
LUAD="5.3"
LUAS=$LUAV
LUA_BASENAME="lua-5.3.1"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
LUA_COMPAT="MYCFLAGS=-DLUA_COMPAT_MODULE"
fi
if [ $BUILD_JIT ]; then
LUA_BASENAME="LuaJIT-2.0.2"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://luajit.org/download/$LUA_FILENAME"
LUA_BASENAME="luajit"
LUA_URL="https://github.com/pkulchenko/luajit.git"
fi
# build wxWidgets
if [ $BUILD_WXWIDGETS ]; then
svn co "$WXWIDGETS_URL" "$WXWIDGETS_BASENAME" || { echo "Error: failed to checkout wxWidgets"; exit 1; }
svn revert -R "$WXWIDGETS_BASENAME"
git clone "$WXWIDGETS_URL" "$WXWIDGETS_BASENAME" || { echo "Error: failed to get wxWidgets"; exit 1; }
cd "$WXWIDGETS_BASENAME"
./configure --prefix="$INSTALL_DIR" $WXWIDGETSDEBUG --disable-shared --enable-unicode \
--enable-compat28 \
--with-libjpeg=builtin --with-libpng=builtin --with-libtiff=no --with-expat=no \
--with-zlib=builtin --disable-richtext \
CFLAGS="-Os -fno-keep-inline-dllexport" CXXFLAGS="-Os -fno-keep-inline-dllexport"
CFLAGS="-Os -fno-keep-inline-dllexport" CXXFLAGS="-Os -fno-keep-inline-dllexport -DNO_CXX11_REGEX"
make $MAKEFLAGS || { echo "Error: failed to build wxWidgets"; exit 1; }
make install
cd ..
@@ -163,17 +191,30 @@ fi
# build Lua
if [ $BUILD_LUA ]; then
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
if [ $BUILD_JIT ]; then
git clone "$LUA_URL" "$LUA_BASENAME"
(cd "$LUA_BASENAME"; git checkout v2.0.4)
else
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
fi
cd "$LUA_BASENAME"
if [ $BUILD_JIT ]; then
make CCOPT="-DLUAJIT_ENABLE_LUA52COMPAT" || { echo "Error: failed to build Lua"; exit 1; }
make install PREFIX="$INSTALL_DIR"
cp "$INSTALL_DIR/bin/luajit.exe" "$INSTALL_DIR/bin/lua.exe"
# move luajit to lua as it's expected by luasocket and other components
cp "$INSTALL_DIR"/include/luajit*/* "$INSTALL_DIR/include/"
cp "$INSTALL_DIR/bin/luajit" "$INSTALL_DIR/bin/lua.exe"
else
make mingw || { echo "Error: failed to build Lua"; exit 1; }
# need to patch Lua io to support large (>2GB) files on Windows:
# http://lua-users.org/lists/lua-l/2015-05/msg00370.html
cat <<EOF >>src/luaconf.h
#if defined(liolib_c) && defined(__MINGW32__)
#include <sys/types.h>
#define l_fseek(f,o,w) fseeko64(f,o,w)
#define l_ftell(f) ftello64(f)
#define l_seeknum off64_t
#endif
EOF
make mingw $LUA_COMPAT || { echo "Error: failed to build Lua"; exit 1; }
make install INSTALL_TOP="$INSTALL_DIR"
fi
cp src/lua$LUAV.dll "$INSTALL_DIR/lib"
@@ -185,11 +226,12 @@ fi
# build wxLua
if [ $BUILD_WXLUA ]; then
svn co "$WXLUA_URL" "$WXLUA_BASENAME" || { echo "Error: failed to checkout wxLua"; exit 1; }
svn revert -R "$WXLUA_BASENAME"
git clone "$WXLUA_URL" "$WXLUA_BASENAME" || { echo "Error: failed to get wxWidgets"; exit 1; }
cd "$WXLUA_BASENAME/wxLua"
git checkout wxwidgets311
sed -i 's|:-/\(.\)/|:-\1:/|' "$INSTALL_DIR/bin/wx-config"
sed -i 's/execute_process(COMMAND/& sh/' build/CMakewxAppLib.cmake modules/wxstedit/build/CMakewxAppLib.cmake
sed -i 's/execute_process(COMMAND/& sh/' build/CMakewxAppLib.cmake
# the following patches wxlua source to fix live coding support in wxlua apps
# http://www.mail-archive.com/wxlua-users@lists.sourceforge.net/msg03225.html
@@ -201,18 +243,24 @@ if [ $BUILD_WXLUA ]; then
# (temporary) fix for compilation issue in wxlua in Windows using mingw (r184)
sed -i 's/defined(__MINGW32__) || defined(__GNUWIN32__)/0/' modules/wxbind/src/wxcore_bind.cpp
[ -f "$INSTALL_DIR/lib/libwxscintilla-2.9.a" ] && cp "$INSTALL_DIR/lib/libwxscintilla-2.9.a" "$INSTALL_DIR/lib/libwx_mswu_scintilla-2.9.a"
# remove "Unable to call an unknown method..." error as it leads to a leak
# see http://sourceforge.net/p/wxlua/mailman/message/34629522/ for details
sed -i '/Unable to call an unknown method/{N;s/.*/ \/\/ removed by ZBS build process/}' modules/wxlua/wxlbind.cpp
[ -f "$INSTALL_DIR/lib/libwxscintilla-3.0.a" ] && cp "$INSTALL_DIR/lib/libwxscintilla-3.0.a" "$INSTALL_DIR/lib/libwx_mswu_scintilla-3.0.a"
[ -f "$INSTALL_DIR/lib/libwxscintilla-3.1.a" ] && cp "$INSTALL_DIR/lib/libwxscintilla-3.1.a" "$INSTALL_DIR/lib/libwx_mswu_scintilla-3.1.a"
echo "set_target_properties(wxLuaModule PROPERTIES LINK_FLAGS -static)" >> modules/luamodule/CMakeLists.txt
cmake -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=$WXLUABUILD -DBUILD_SHARED_LIBS=FALSE \
-DCMAKE_CXX_FLAGS="-DLUA_COMPAT_MODULE" \
-DwxWidgets_CONFIG_EXECUTABLE="$INSTALL_DIR/bin/wx-config" \
-DwxWidgets_COMPONENTS="stc;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;html;aui;adv;core;net;base" -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \
-DwxLua_LUA_INCLUDE_DIR="$INSTALL_DIR/include" -DwxLua_LUA_LIBRARY="$INSTALL_DIR/lib/lua51.dll" .
-DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \
-DwxLua_LUA_INCLUDE_DIR="$INSTALL_DIR/include" -DwxLua_LUA_LIBRARY="$INSTALL_DIR/lib/lua$LUAV.dll" .
(cd modules/luamodule; make $MAKEFLAGS) || { echo "Error: failed to build wxLua"; exit 1; }
(cd modules/luamodule; make install$WXLUASTRIP)
(cd modules/luamodule; make install)
[ -f "$INSTALL_DIR/bin/libwx.dll" ] || { echo "Error: libwx.dll isn't found"; exit 1; }
[ "$WXLUABUILD" != "Debug" ] && strip --strip-unneeded "$INSTALL_DIR/bin/libwx.dll"
cd ../..
rm -rf "$WXLUA_BASENAME"
fi
@@ -222,30 +270,59 @@ if [ $BUILD_LUASOCKET ]; then
wget --no-check-certificate -c "$LUASOCKET_URL" -O "$LUASOCKET_FILENAME" || { echo "Error: failed to download LuaSocket"; exit 1; }
unzip "$LUASOCKET_FILENAME"
cd "$LUASOCKET_BASENAME"
mkdir -p "$INSTALL_DIR/lib/lua/$LUAV/"{mime,socket}
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAV/mime/core.dll" src/mime.c -llua$LUAV \
mkdir -p "$INSTALL_DIR/lib/lua/$LUAD/"{mime,socket}
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/mime/core.dll" src/mime.c -llua$LUAV \
|| { echo "Error: failed to build LuaSocket"; exit 1; }
gcc $BUILD_FLAGS -DLUASOCKET_INET_PTON -D_WIN32_WINNT=0x0501 -o "$INSTALL_DIR/lib/lua/$LUAV/socket/core.dll" \
gcc $BUILD_FLAGS -DLUASOCKET_INET_PTON -D_WIN32_WINNT=0x0501 -o "$INSTALL_DIR/lib/lua/$LUAD/socket/core.dll" \
src/{auxiliar.c,buffer.c,except.c,inet.c,io.c,luasocket.c,options.c,select.c,tcp.c,timeout.c,udp.c,wsocket.c} -lwsock32 -lws2_32 -llua$LUAV \
|| { echo "Error: failed to build LuaSocket"; exit 1; }
mkdir -p "$INSTALL_DIR/share/lua/$LUAV/socket"
cp src/{ftp.lua,http.lua,smtp.lua,tp.lua,url.lua} "$INSTALL_DIR/share/lua/$LUAV/socket"
cp src/{ltn12.lua,mime.lua,socket.lua} "$INSTALL_DIR/share/lua/$LUAV"
[ -f "$INSTALL_DIR/lib/lua/$LUAV/mime/core.dll" ] || { echo "Error: mime/core.dll isn't found"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAV/socket/core.dll" ] || { echo "Error: socket/core.dll isn't found"; exit 1; }
mkdir -p "$INSTALL_DIR/share/lua/$LUAD/socket"
cp src/{ftp.lua,http.lua,smtp.lua,tp.lua,url.lua} "$INSTALL_DIR/share/lua/$LUAD/socket"
cp src/{ltn12.lua,mime.lua,socket.lua} "$INSTALL_DIR/share/lua/$LUAD"
[ -f "$INSTALL_DIR/lib/lua/$LUAD/mime/core.dll" ] || { echo "Error: mime/core.dll isn't found"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAD/socket/core.dll" ] || { echo "Error: socket/core.dll isn't found"; exit 1; }
cd ..
rm -rf "$LUASOCKET_FILENAME" "$LUASOCKET_BASENAME"
fi
# build lfs
if [ $BUILD_LFS ]; then
wget --no-check-certificate -c "$LFS_URL" -O "$LFS_FILENAME" || { echo "Error: failed to download lfs"; exit 1; }
tar -xzf "$LFS_FILENAME"
mv "luafilesystem-$LFS_BASENAME" "$LFS_BASENAME"
cd "$LFS_BASENAME/src"
mkdir -p "$INSTALL_DIR/lib/lua/$LUAD/"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/lfs.dll" lfs.c -llua$LUAV \
|| { echo "Error: failed to build lfs"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAD/lfs.dll" ] || { echo "Error: lfs.dll isn't found"; exit 1; }
cd ../..
rm -rf "$LFS_FILENAME" "$LFS_BASENAME"
fi
# build lpeg
if [ $BUILD_LPEG ]; then
wget --no-check-certificate -c "$LPEG_URL" -O "$LPEG_FILENAME" || { echo "Error: failed to download lpeg"; exit 1; }
tar -xzf "$LPEG_FILENAME"
cd "$LPEG_BASENAME"
mkdir -p "$INSTALL_DIR/lib/lua/$LUAD/"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/lpeg.dll" lptree.c lpvm.c lpcap.c lpcode.c lpprint.c -llua$LUAV \
|| { echo "Error: failed to build lpeg"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAD/lpeg.dll" ] || { echo "Error: lpeg.dll isn't found"; exit 1; }
cd ..
rm -rf "$LPEG_FILENAME" "$LPEG_BASENAME"
fi
# build LuaSec
if [ $BUILD_LUASEC ]; then
# build openSSL
wget --no-check-certificate -c "$OPENSSL_URL" -O "$OPENSSL_FILENAME" || { echo "Error: failed to download OpenSSL"; exit 1; }
tar -xzf "$OPENSSL_FILENAME"
cd "$OPENSSL_BASENAME"
bash Configure mingw
RANLIB="$(which ranlib)" bash Configure mingw shared
make
make install_sw INSTALLTOP="$INSTALL_DIR"
strip --strip-unneeded "$INSTALL_DIR/bin/libeay32.dll" "$INSTALL_DIR/bin/ssleay32.dll"
cd ..
rm -rf "$OPENSSL_FILENAME" "$OPENSSL_BASENAME"
@@ -255,11 +332,15 @@ if [ $BUILD_LUASEC ]; then
# the folder in the archive is "luasec-luasec-....", so need to fix
mv "luasec-$LUASEC_BASENAME" $LUASEC_BASENAME
cd "$LUASEC_BASENAME"
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/5.1/ssl.dll" \
src/{timeout.c,buffer.c,io.c,context.c,ssl.c,wsocket.c} -lssl -lcrypto -lws2_32 -lgdi32 -llua51 \
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAD/ssl.dll" \
-DLUASEC_INET_NTOP -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010300 \
src/luasocket/{timeout.c,buffer.c,io.c,wsocket.c} src/{context.c,x509.c,ssl.c} -Isrc "$INSTALL_DIR/bin/ssleay32.dll" "$INSTALL_DIR/bin/libeay32.dll" -lws2_32 -lgdi32 -llua$LUAV \
|| { echo "Error: failed to build LuaSec"; exit 1; }
cp src/{ssl.lua,https.lua} "$INSTALL_DIR/share/lua/5.1"
[ -f "$INSTALL_DIR/lib/lua/5.1/ssl.dll" ] || { echo "Error: luasec.dll isn't found"; exit 1; }
cp src/ssl.lua "$INSTALL_DIR/share/lua/$LUAD"
mkdir -p "$INSTALL_DIR/share/lua/$LUAD/ssl"
cp src/https.lua "$INSTALL_DIR/share/lua/$LUAD/ssl"
[ -f "$INSTALL_DIR/lib/lua/$LUAD/ssl.dll" ] || { echo "Error: ssl.dll isn't found"; exit 1; }
strip --strip-unneeded "$INSTALL_DIR/lib/lua/$LUAD/ssl.dll"
cd ..
rm -rf "$LUASEC_FILENAME" "$LUASEC_BASENAME"
fi
@@ -268,9 +349,9 @@ fi
if [ $BUILD_WINAPI ]; then
git clone "$WINAPI_URL" "$WINAPI_BASENAME"
cd "$WINAPI_BASENAME"
gcc $BUILD_FLAGS -DPSAPI_VERSION=1 -o "$INSTALL_DIR/lib/lua/5.1/winapi.dll" winapi.c wutils.c -lpsapi -lmpr -llua51 \
gcc $BUILD_FLAGS -DPSAPI_VERSION=1 -o "$INSTALL_DIR/lib/lua/$LUAD/winapi.dll" winapi.c wutils.c -lpsapi -lmpr -llua$LUAV \
|| { echo "Error: failed to build winapi"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/5.1/winapi.dll" ] || { echo "Error: winapi.dll isn't found"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAD/winapi.dll" ] || { echo "Error: winapi.dll isn't found"; exit 1; }
cd ..
rm -rf "$WINAPI_BASENAME"
fi
@@ -287,14 +368,22 @@ fi
mkdir -p "$BIN_DIR" || { echo "Error: cannot create directory $BIN_DIR"; exit 1; }
[ $BUILD_LUA ] && cp "$INSTALL_DIR/bin/lua$LUAS.exe" "$INSTALL_DIR/lib/lua$LUAV.dll" "$BIN_DIR"
[ $BUILD_WXLUA ] && cp "$INSTALL_DIR/bin/libwx.dll" "$BIN_DIR/wx.dll"
[ $BUILD_WINAPI ] && cp "$INSTALL_DIR/lib/lua/5.1/winapi.dll" "$BIN_DIR"
[ $BUILD_LUASEC ] && cp "$INSTALL_DIR/lib/lua/5.1/ssl.dll" "$BIN_DIR"
[ $BUILD_WXLUA ] && cp "$INSTALL_DIR/bin/libwx.dll" "$BIN_DIR/clibs$LUAS/wx.dll"
[ $BUILD_WINAPI ] && cp "$INSTALL_DIR/lib/lua/$LUAD/winapi.dll" "$BIN_DIR/clibs$LUAS"
[ $BUILD_LFS ] && cp "$INSTALL_DIR/lib/lua/$LUAD/lfs.dll" "$BIN_DIR/clibs$LUAS"
[ $BUILD_LPEG ] && cp "$INSTALL_DIR/lib/lua/$LUAD/lpeg.dll" "$BIN_DIR/clibs$LUAS"
if [ $BUILD_LUASOCKET ]; then
mkdir -p "$BIN_DIR/clibs$LUAS/"{mime,socket}
cp "$INSTALL_DIR/lib/lua/$LUAV/mime/core.dll" "$BIN_DIR/clibs$LUAS/mime"
cp "$INSTALL_DIR/lib/lua/$LUAV/socket/core.dll" "$BIN_DIR/clibs$LUAS/socket"
cp "$INSTALL_DIR/lib/lua/$LUAD/mime/core.dll" "$BIN_DIR/clibs$LUAS/mime"
cp "$INSTALL_DIR/lib/lua/$LUAD/socket/core.dll" "$BIN_DIR/clibs$LUAS/socket"
fi
if [ $BUILD_LUASEC ]; then
cp "$INSTALL_DIR/bin/"{ssleay32.dll,libeay32.dll} "$BIN_DIR"
cp "$INSTALL_DIR/lib/lua/$LUAD/ssl.dll" "$BIN_DIR/clibs$LUAS"
cp "$INSTALL_DIR/share/lua/$LUAD/ssl.lua" ../lualibs
cp "$INSTALL_DIR/share/lua/$LUAD/ssl/https.lua" ../lualibs/ssl
fi
# To build lua5.1.dll proxy:

View File

@@ -9,6 +9,10 @@
-- You can also update an existing file with new messages by running:
-- > bin\lua.exe build/messages.lua cfg/i18n/ru.lua
-- store `print` function as it's modified by wxlua and LuaJIT doesn't like
-- what wxlua has done in that function.
local print = print
local iswindows = os.getenv('WINDIR') or (os.getenv('OS') or ''):match('[Ww]indows')
if iswindows or not pcall(require, "wx") then
package.cpath = (iswindows and 'bin/?.dll;' or 'bin/lib?.dylib;') .. package.cpath
@@ -50,15 +54,20 @@ end
local file = ... -- pass an existing file name as a parameter
local messages = {}
for _, mask in ipairs({"zbstudio/*.lua", "src/main.lua", "src/editor/*.lua"}) do
for _, mask in ipairs({"src/main.lua", "src/editor/*.lua"}) do
for _, file in ipairs(FileSysGet(mask, wx.wxFILE)) do
local content = FileRead(file)
for msg in content:gmatch("[^%w]TR(%b())") do
-- remove brackets aroung ("foo")
-- extract message from ("foo", count)
msg = msg:gsub("^%(", ""):gsub("%)$", ""):gsub([[(["']), .+]], "%1")
messages[msg] = messages[msg] or {}
messages[msg][file] = (messages[msg][file] or 0) + 1
if not msg:find([=[^["']]=]) or not msg:find([=[["']$]=]) then
io.stderr:write(("Call with a non-string 'TR(%s)' ignored in '%s'.\n")
:format(msg, file))
else
messages[msg] = messages[msg] or {}
messages[msg][file] = (messages[msg][file] or 0) + 1
end
end
end
end
@@ -74,9 +83,12 @@ end
local plural = existing[0] and (" [0] = "..existing[0].."\n") or ""
existing[0] = nil
local en = loadfile("cfg/i18n/en.lua")() -- load 'en' with translations that require pluralization
local msgs = {}
for m, files in pairs(messages) do
local str = " ["..m.."] = "..(existing[m] or 'nil, --')
local str = " ["..m.."] = "
..(existing[m] or (en[m:gsub([=[^['"]]=],''):gsub([=[['"]$]=],'')] and '{}, --' or 'nil, --'))
str = str:gsub(" %-%-.*$", "").." -- "
for f in pairs(files) do str = str .. f .. ", " end
msgs[#msgs+1] = str:gsub(", $", "")
@@ -86,7 +98,7 @@ end
table.sort(msgs)
print("return {\n"..plural..table.concat(msgs, "\n").."\n}")
if next(existing) then
local str = "-- no match found for the following elements: "
local str = "No match found for the following elements: "
for msg in pairs(existing) do str = str .. msg .. ", " end
print((str:gsub(", $", "")))
io.stderr:write((str:gsub(", $", "\n")))
end

View File

@@ -8,6 +8,7 @@
#define _WIN32_WINNT 0x0502
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winbase.h>
#include <stdlib.h>
@@ -52,9 +53,7 @@ static const char *luacode =
"function(err) msg('Uncaught lua script exception',debug.traceback(err)) end)"
;
#if defined(_WIN32) && defined (_MSC_VER)
PCHAR* CommandLineToArgvA(PCHAR CmdLine,int* _argc)
PCHAR* CommandLineToArgv(PCHAR CmdLine,int* _argc)
{
PCHAR* argv;
PCHAR _argv;
@@ -70,8 +69,7 @@ PCHAR* CommandLineToArgvA(PCHAR CmdLine,int* _argc)
len = strlen(CmdLine);
i = ((len+2)/2)*sizeof(PVOID) + sizeof(PVOID);
argv = (PCHAR*)GlobalAlloc(GMEM_FIXED,
i + (len+2)*sizeof(CHAR));
argv = (PCHAR*)GlobalAlloc(GMEM_FIXED, i + (len+2)*sizeof(CHAR));
_argv = (PCHAR)(((PUCHAR)argv)+i);
@@ -134,15 +132,17 @@ PCHAR* CommandLineToArgvA(PCHAR CmdLine,int* _argc)
return argv;
}
PCHAR WideCharToUTF8(LPCWSTR text) {
int size_needed = WideCharToMultiByte(CP_UTF8, 0, text, -1, NULL, 0, NULL, NULL);
PCHAR buffer = (PCHAR)GlobalAlloc(GMEM_FIXED, size_needed);
WideCharToMultiByte(CP_UTF8, 0, text, -1, buffer, size_needed, NULL, NULL);
return buffer;
}
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
int argc;
char ** argv = CommandLineToArgvA(GetCommandLineA(),&argc);
#else
int main (int argc, char *argv[])
{
#endif
char ** argv = CommandLineToArgv(WideCharToUTF8(GetCommandLineW()),&argc);
HINSTANCE hinstLib;
char buffer[MAX_PATH],*file;
@@ -154,17 +154,11 @@ int main (int argc, char *argv[])
MB_OK|MB_ICONERROR);
return 0;
}
if (file!=NULL)
*file = 0; // finish the string, I don't need the appname
//int i;
//for (i=0;i<argc; i++)
// printf("%d %s\n",i,argv[i]);
if (file!=NULL) *file = 0; // finish the string, don't need the appname
SetCurrentDirectory(buffer);
SetDllDirectory(".\\bin\\");
hinstLib = LoadLibrary("lua51.dll");
hinstLib = LoadLibrary(".\\bin\\lua51.dll");
if (hinstLib != NULL)
{
luaL_newstate = (voidfunc*) GetProcAddress(hinstLib, "luaL_newstate");
@@ -204,18 +198,17 @@ int main (int argc, char *argv[])
lua_pcall(L,0,0,0);
else
MessageBox(NULL,
TEXT("An unexpected error occured while loading the lua chunk."),
TEXT("Failed to start editor"),
MB_OK|MB_ICONERROR);
TEXT("An unexpected error occured while loading the lua chunk."),
TEXT("Failed to start editor"),
MB_OK|MB_ICONERROR);
} else
MessageBox(NULL,
TEXT("Couldn't initialize a luastate"),
TEXT("Failed to start editor"),
MB_OK|MB_ICONERROR);
TEXT("Couldn't initialize a luastate"),
TEXT("Failed to start editor"),
MB_OK|MB_ICONERROR);
} else {
MessageBox(NULL,
TEXT("Could not load all functions that are supposed to be located in the lua51.dll\n"
"This is not supposed to be happening..."),
TEXT("Could not load all functions that are supposed to be located in lua51.dll."),
TEXT("Failed to start editor"),
MB_OK|MB_ICONERROR);
}
@@ -224,7 +217,7 @@ int main (int argc, char *argv[])
FreeLibrary(hinstLib);
} else {
MessageBox(NULL,
TEXT("The lua51.dll could not be found or loaded, please check the working directory of the application.\n"),
TEXT("lua51.dll could not be found or loaded, please check the working directory of the application."),
TEXT("Failed to initialize editor"),
MB_OK|MB_ICONERROR);
}

View File

@@ -1,16 +1,14 @@
-- If you have used Estrela before, please copy this content
-- to your user.lua file in the cfg/ directory
-- If you have used Estrela for graphics shader authoring or luxinia,
-- create/modify the `user.lua` file in the current folder
-- and add `include "estrela"` (1.21+) to load all tools and specifications by default again.
-- load all tools, specs, and interpreters
local all = function() return true end
load.tools(all)
load.specs(all)
load.interpreters(all)
-- this flag means that toggling between projects, will not affect the
-- list of opened files (old estrela default).
-- zbstudio defaults here to true, meaning that you get
-- per-project list of openend files
projectautoopen = false
-- default search paths for luxinia

View File

@@ -1,231 +1,350 @@
return {
["%d instance"] = "%d 个体", -- src\editor\findreplace.lua
["%s event failed: %s"] = "%s 事件失败: %s", -- src\editor\package.lua
["%s%% formatted..."] = "%s%% 格式化后...", -- src\editor\print.lua
["%s%% loaded..."] = "%s%% 载入后...", -- src\editor\commands.lua
["&About"] = "关于(&A)", -- src\editor\menu_help.lua
["&Add Watch"] = "添加监视(&A)", -- src\editor\debugger.lua
["&Break"] = "中断", -- src\editor\menu_project.lua
["&Close Page"] = "关闭页面", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Close Page"] = "关闭页面", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Community"] = "访问社区", -- src\editor\menu_help.lua
["&Compile"] = "编译", -- src\editor\menu_project.lua
["&Copy"] = "复制", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Copy Value"] = "复制", -- src\editor\debugger.lua
["&Copy"] = "复制", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Default Layout"] = "布局", -- src\editor\menu_view.lua
["&Delete Watch"] = "删除监视", -- src\editor\debugger.lua
["&Down"] = "往下", -- src\editor\findreplace.lua
["&Delete"] = "删除", -- src\editor\filetree.lua
["&Documentation"] = "文件编制", -- src\editor\menu_help.lua
["&Edit Project Directory"] = "编辑项目目录", -- src\editor\filetree.lua
["&Edit Value"] = "编辑值", -- src\editor\debugger.lua
["&Edit Watch"] = "编辑监视", -- src\editor\debugger.lua
["&Edit"] = "编辑", -- src\editor\menu_edit.lua
["&File"] = "文件", -- src\editor\menu_file.lua
["&Find All"] = "查找全部", -- src\editor\findreplace.lua
["&Find Next"] = "查找下一个", -- src\editor\findreplace.lua
["&Find"] = "查找", -- src\editor\menu_search.lua
["&Fold/Unfold All"] = "全 折叠/展开", -- src\editor\menu_edit.lua
["&Goto Line"] = "到...行", -- src\editor\menu_search.lua
["&Frequently Asked Questions"] = "常见问题解答", -- src\editor\menu_help.lua
["&Getting Started Guide"] = "入门指南", -- src\editor\menu_help.lua
["&Help"] = "帮助", -- src\editor\menu_help.lua
["&New Directory"] = "创建新目录", -- src\editor\filetree.lua
["&New"] = "新建", -- src\editor\menu_file.lua
["&Open..."] = "打开...", -- src\editor\menu_file.lua
["&Output/Console Window"] = "输出/主控台视窗", -- src\editor\menu_view.lua
["&Paste"] = "粘贴", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Project"] = "项目", -- src\editor\menu_project.lua, src\editor\inspect.lua
["&Redo"] = "重做", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Replace All"] = "全替换", -- src\editor\findreplace.lua
["&Replace"] = "替换", -- src\editor\findreplace.lua, src\editor\menu_search.lua
["&Paste"] = "粘贴", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Print..."] = "打印...", -- src\editor\print.lua
["&Project Page"] = "项目页面", -- src\editor\menu_help.lua
["&Project"] = "项目", -- src\editor\menu_project.lua
["&Redo"] = "重做", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Rename"] = "重命名", -- src\editor\filetree.lua
["&Replace"] = "替换", -- src\editor\menu_search.lua
["&Run"] = "执行", -- src\editor\menu_project.lua
["&Save"] = "保存", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Save"] = "保存", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Search"] = "搜索", -- src\editor\menu_search.lua
["&Sort"] = "分类", -- src\editor\menu_search.lua
["&Select Command"] = "选择命令", -- src\editor\gui.lua
["&Sort"] = "分类", -- src\editor\menu_edit.lua
["&Stack Window"] = "叠视窗/堆栈视窗", -- src\editor\menu_view.lua
["&Start Debugger Server"] = "开启除错器伺服机", -- src\editor\menu_project.lua
["&Subdirectories"] = "子文件夹", -- src\editor\findreplace.lua
["&Undo"] = "撤消", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Up"] = "往上", -- src\editor\findreplace.lua
["&Status Bar"] = "状态栏", -- src\editor\menu_view.lua
["&Tool Bar"] = "工具栏", -- src\editor\menu_view.lua
["&Tutorials"] = "学习指南", -- src\editor\menu_help.lua
["&Undo"] = "撤消", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&View"] = "视图", -- src\editor\menu_view.lua
["&Watch Window"] = "监视视窗", -- src\editor\menu_view.lua
["About %s"] = "关于 %s", -- src\editor\menu_help.lua
["Add To Scratchpad"] = "添加到剪贴板", -- src\editor\editor.lua
["Add Watch Expression"] = "添加监视表达式", -- src\editor\editor.lua
["Add to Scratchpad"] = "添加至暂存器", -- src\editor\editor.lua
["All files"] = "全部文件", -- src\editor\commands.lua
["Allow external process to start debugging"] = "允许外部进程开启除错", -- src\editor\menu_project.lua
["Analyze the source code"] = "分析源代码", -- src\editor\inspect.lua
["Analyze"] = "分析", -- src\editor\inspect.lua
["Auto Complete Identifiers"] = "自动补全标识符", -- src\editor\menu_edit.lua
["Auto complete while typing"] = "当输入时自动补全", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "执行下一语句之后中断执行", -- src\editor\menu_project.lua, src\editor\gui.lua
["C&lear Output Window"] = "清除输出视窗", -- src\editor\menu_project.lua
["Binary file is shown as read-only as it is only partially loaded."] = "二进制文件只能加载显示为只读属性", -- src\editor\commands.lua
["Bookmark"] = "标记", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "执行下一语句之后中断执行", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Breakpoint"] = "断点调试", -- src\editor\menu_project.lua
["C&lear Console Window"] = "清除控制台视窗", -- src\editor\gui.lua
["C&lear Output Window"] = "清除输出视窗", -- src\editor\gui.lua, src\editor\menu_project.lua
["C&omment/Uncomment"] = "注释/消除注释", -- src\editor\menu_edit.lua
["Can't debug the script in the active editor window."] = "不能在现行编辑视窗对脚本进行除错", -- src\editor\debugger.lua
["Can't find file '%s' in the current project to activate for debugging. Update the project or open the file in the editor before debugging."] = "在当前项目中寻找不到文件 '%s' 以进行激活然后除错, 更新项目或是在编辑器里开启文件后再除错", -- src\editor\debugger.lua
["Can't evaluate the expression while the application is running."] = "应用程序运行时不能对表达式求值", -- src\editor\debugger.lua
["Can't open file '%s': %s"] = "不能打开文件 '%s': %s", -- src\editor\findreplace.lua, src\editor\package.lua, src\editor\inspect.lua, src\editor\outline.lua
["Can't process auto-recovery record; invalid format: %s."] = "不能处理自动恢复存档: %s", -- src\editor\commands.lua
["Can't replace in read-only text."] = "不能替换只读属性的文本", -- src\editor\findreplace.lua
["Can't run the entry point script ('%s')."] = "不能执行entry point脚本 ('%s')", -- src\editor\debugger.lua
["Can't start debugger server at %s:%d: %s."] = "不能启动调试器服务器在 %s:%d: %s.", -- src\editor\debugger.lua
["Can't start debugging for '%s'."] = "不能启动调试编译到 '%s'.", -- src\editor\debugger.lua
["Can't start debugging session due to internal error '%s'."] = "除错动作失败 '%s'.", -- src\editor\debugger.lua
["Can't start debugging without an opened file or with the current file not being saved ('%s')."] = "不能启动除错,没有文档被开启或当前更改过的文档还没保存('%s')", -- src\editor\debugger.lua
["Cancel"] = "取消", -- src\editor\findreplace.lua
["Choose ..."] = "请选 ...", -- src\editor\menu_project.lua
["Choose a project directory"] = "选择项目文件夹", -- src\editor\findreplace.lua, src\editor\menu_project.lua
["Clear &Dynamic Words"] = "清除动态词汇", -- src\editor\menu_edit.lua
["Can't stop debugger server as it is not started."] = "不能终止一个未启动的调试器", -- src\editor\debugger.lua
["Cancelled by the user."] = "被用户取消", -- src\editor\findreplace.lua
["Choose a directory to map"] = "选择一个映射目录", -- src\editor\filetree.lua
["Choose a project directory"] = "选择项目文件夹", -- src\editor\toolbar.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose a search directory"] = "选择一个搜索目录", -- src\editor\findreplace.lua
["Choose..."] = "请选...", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Bookmarks In Project"] = nil, -- src\editor\markers.lua
["Clear Breakpoints In Project"] = nil, -- src\editor\markers.lua
["Clear Items"] = "清除项目", -- src\editor\findreplace.lua, src\editor\menu_file.lua
["Clear items from this list"] = "从该列表清除项目", -- src\editor\menu_file.lua
["Clear the output window before compiling or debugging"] = "编译或除错前清除输出视窗", -- src\editor\menu_project.lua
["Close &Other Pages"] = "关闭其他页面", -- src\editor\gui.lua
["Close A&ll Pages"] = "关闭全部页面", -- src\editor\gui.lua
["Close Search Results Pages"] = nil, -- src\editor\gui.lua
["Close the current editor window"] = "关闭当前编译视窗", -- src\editor\menu_file.lua
["Co&ntinue"] = "继续", -- src\editor\menu_project.lua
["Col: %d"] = "列: %d", -- src\editor\editor.lua
["Command Line Parameters..."] = "命令行参数...", -- src\editor\gui.lua, src\editor\menu_project.lua
["Command line parameters"] = "命令行参数", -- src\editor\menu_project.lua
["Comment or uncomment current or selected lines"] = "注释/消除注释 当前或被选的语句", -- src\editor\menu_edit.lua
["Compilation error"] = "编译错误", -- src\editor\debugger.lua, src\editor\commands.lua
["Compilation error"] = "编译错误", -- src\editor\commands.lua, src\editor\debugger.lua
["Compilation successful; %.0f%% success rate (%d/%d)."] = "编译成功; 成功率: %.0f%% (%d/%d).", -- src\editor\commands.lua
["Compile the current file"] = "编译当前的文档", -- src\editor\menu_project.lua
["Complete &Identifier"] = "补全标识符", -- src\editor\menu_edit.lua
["Complete the current identifier"] = "补全当前标识符", -- src\editor\menu_edit.lua
["Consider removing backslash from escape sequence '%s'."] = "考虑删除反斜杠转义序列 '%s'.", -- src\editor\commands.lua
["Copy Full Path"] = "复制完整路径", -- src\editor\gui.lua, src\editor\filetree.lua
["Copy selected text to clipboard"] = "复制被选的text到clipboard", -- src\editor\menu_edit.lua
["Correct &Indentation"] = "正确缩进", -- src\editor\menu_edit.lua
["Couldn't activate file '%s' for debugging; continuing without it."] = "不能激活 '%s' 以除错; 省略后继续进行", -- src\editor\debugger.lua
["Create an empty document"] = "新建空文档", -- src\editor\menu_file.lua, src\editor\gui.lua
["Cu&t"] = "剪切", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Create an empty document"] = "新建空文档", -- src\editor\toolbar.lua, src\editor\menu_file.lua
["Cu&t"] = "剪切", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Cut selected text to clipboard"] = "剪切被选的text到clipboard", -- src\editor\menu_edit.lua
["Debugger server started at %s:%d."] = "除错伺服器起始于 %s:%d.", -- src\editor\debugger.lua
["Debugger server stopped at %s:%d."] = "调试器终止于 %s:%d.", -- src\editor\debugger.lua
["Debugging session completed (%s)."] = "除错会话完成 (%s)", -- src\editor\debugger.lua
["Debugging session started in '%s'."] = "除错会话于 '%s' 起始", -- src\editor\debugger.lua
["Debugging suspended at %s:%s (couldn't activate the file)."] = "除错挂起于 %s:%s (不能激活文档).", -- src\editor\debugger.lua
["Directory"] = "文件夹", -- src\editor\findreplace.lua
["Debugging suspended at '%s:%s' (couldn't activate the file)."] = "除错挂起于 '%s:%s' (不能激活文档).", -- src\editor\debugger.lua
["Detach &Process"] = "分离流程", -- src\editor\menu_project.lua
["Disable Indexing For '%s'"] = "禁用索引到 '%s'", -- src\editor\outline.lua
["Do you want to delete '%s'?"] = "是否要删除 '%s'?", -- src\editor\filetree.lua
["Do you want to overwrite it?"] = "是否要覆盖?", -- src\editor\commands.lua
["Do you want to reload it?"] = "需要重新导入吗?", -- src\editor\editor.lua
["Do you want to save the changes to '%s'?"] = "需要把更改保存于 '%s'?", -- src\editor\commands.lua
["E&xit"] = "离开", -- src\editor\menu_file.lua
["Enable Indexing"] = "启用索引", -- src\editor\outline.lua
["Enter Lua code and press Enter to run it."] = "输入Lua代码然后按 <Enter> 以执行", -- src\editor\shellbox.lua
["Enter line number"] = "输入行号码", -- src\editor\menu_search.lua
["Enter command line parameters"] = "输入命令行参数", -- src\editor\menu_project.lua
["Enter replacement text"] = "输入替换文本", -- src\editor\editor.lua
["Error while loading API file: %s"] = "导入API档时出错误: %s", -- src\editor\autocomplete.lua
["Error while loading configuration file: %s"] = "导入configuration档时出错误: %s", -- src\editor\style.lua
["Error while processing API file: %s"] = "处理API档时出错误: %s", -- src\editor\autocomplete.lua
["Error while processing configuration file: %s"] = "处理configuration档时出错误: %s", -- src\editor\style.lua
["Error"] = "错误", -- src\editor\commands.lua
["Evaluate in Console"] = "主控台中估值", -- src\editor\editor.lua
["Evaluate In Console"] = "控制台里评估", -- src\editor\editor.lua
["Execute the current project/file and keep updating the code to see immediate results"] = "执行当前项目/文档和更新代码以便得到执行结果", -- src\editor\menu_project.lua
["Execute the current project/file"] = "执行当前项目/文档", -- src\editor\menu_project.lua
["Execute the current project/file"] = "执行当前项目/文档", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Execution error"] = "执行出错误", -- src\editor\debugger.lua
["Exit program"] = "离开程式", -- src\editor\menu_file.lua
["Expr"] = "表达式", -- src\editor\debugger.lua
["Expression"] = "表达式", -- src\editor\debugger.lua
["File '%s' has been modified on disk."] = "磁碟上的文档 '%s' 已被更改", -- src\editor\editor.lua
["File '%s' has more recent timestamp than restored '%s'; please review before saving."] =
"文档 '%s' 的时间戳比 '%s' 更新近; 请检验后再保存", -- src\editor\commands.lua
["File '%s' no longer exists."] = "文档 '%s' 已不存在", -- src\editor\editor.lua, src\editor\menu_file.lua
["File Type"] = "档类", -- src\editor\findreplace.lua
["File '%s' has more recent timestamp than restored '%s'; please review before saving."] = "文档 '%s' 的时间戳比 '%s' 更新近; 请检验后再保存", -- src\editor\commands.lua
["File '%s' is missing and can't be recovered."] = "文件 '%s' 已经失踪且无法恢复", -- src\editor\commands.lua
["File '%s' no longer exists."] = "文档 '%s' 已不存在", -- src\editor\menu_file.lua, src\editor\editor.lua
["File already exists."] = "件已经存在", -- src\editor\commands.lua
["File history"] = "文档历史", -- src\editor\menu_file.lua
["Find &In Files"] = "在文档中查找", -- src\editor\menu_search.lua
["Find &Next"] = "查找下一个", -- src\editor\menu_search.lua
["Find &Previous"] = "查找上一个", -- src\editor\menu_search.lua
["Find In Files"] = "在文档中查找", -- src\editor\findreplace.lua
["Find and insert library function"] = "查找并插入库函数", -- src\editor\menu_search.lua
["Find and replace text in files"] = "在文档中查找text然后更换", -- src\editor\menu_search.lua
["Find and replace text"] = "查找text然后更换", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find and replace text"] = "查找text然后更换", -- src\editor\toolbar.lua, src\editor\menu_search.lua
["Find in files"] = "在文档中查找", -- src\editor\toolbar.lua
["Find next"] = nil, -- src\editor\toolbar.lua
["Find text in files"] = "在文档中查找text", -- src\editor\menu_search.lua
["Find text"] = "查找text", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find text"] = "查找text", -- src\editor\toolbar.lua, src\editor\menu_search.lua
["Find the earlier text occurence"] = "查找之前出现的text", -- src\editor\menu_search.lua
["Find the next text occurrence"] = "查找之後将出现的text", -- src\editor\menu_search.lua
["Find"] = "查找", -- src\editor\findreplace.lua
["Fold or unfold all code folds"] = "折叠/展开所有代码折叠", -- src\editor\menu_edit.lua
["Fold or unfold current line"] = nil, -- src\editor\menu_edit.lua
["Fold/Unfold Current &Line"] = nil, -- src\editor\menu_edit.lua
["Formatting page %d..."] = "格式化页面 %d...", -- src\editor\print.lua
["Found %d instance."] = "发现 %d 实例", -- src\editor\findreplace.lua
["Found auto-recovery record and restored saved session."] = "找到自动恢复存档和恢复已存对话", -- src\editor\commands.lua
["Found"] = "找到", -- src\editor\findreplace.lua
["Full &Screen"] = "全屏", -- src\editor\menu_view.lua
["Go to a selected line"] = "到所选的行", -- src\editor\menu_search.lua
["Goto Line"] = "...", -- src\editor\menu_search.lua
["Go To Definition"] = "转到定义", -- src\editor\editor.lua
["Go To File..."] = "转到文件...", -- src\editor\menu_search.lua
["Go To Line..."] = "到...行", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = "转到下一个标签", -- src\editor\menu_edit.lua
["Go To Next Breakpoint"] = "转到下一个断点", -- src\editor\menu_project.lua
["Go To Previous Bookmark"] = "转到上一个标签", -- src\editor\menu_edit.lua
["Go To Previous Breakpoint"] = "转到上一个断点", -- src\editor\menu_project.lua
["Go To Symbol..."] = "转到符号...", -- src\editor\menu_search.lua
["Go to file"] = "转到文件", -- src\editor\menu_search.lua
["Go to line"] = "到...行", -- src\editor\menu_search.lua
["Go to symbol"] = "转到符号", -- src\editor\menu_search.lua
["Hide '.%s' Files"] = "隐藏 '.%s' 文件", -- src\editor\filetree.lua
["INS"] = "INS", -- src\editor\editor.lua
["In Files"] = "在档案里", -- src\editor\findreplace.lua
["Jump to a function definition..."] = "跳到函数定义", -- src\editor\editor.lua
["Ignore and don't index symbols from files in the selected directory"] = "忽略并不索引制定路径里的文件符号", -- src\editor\outline.lua
["Ignored error in debugger initialization code: %s."] = "无视调试器中的初始化代码错误: %s.", -- src\editor\debugger.lua
["Indexing %d files: '%s'..."] = "索引 %d 文件: '%s'...", -- src\editor\outline.lua
["Indexing completed."] = "索引完成", -- src\editor\outline.lua
["Insert Library Function..."] = "插入库函数...", -- src\editor\menu_search.lua
["Known Files"] = "所知的文档", -- src\editor\commands.lua
["Ln: %d"] = "行: %d", -- src\editor\editor.lua
["Local console"] = "本地主控台", -- src\editor\shellbox.lua, src\editor\gui.lua
["Local console"] = "本地主控台", -- src\editor\gui.lua, src\editor\shellbox.lua
["Lua &Interpreter"] = "Lua 解释器", -- src\editor\menu_project.lua
["Map Directory..."] = "映射目录...", -- src\editor\filetree.lua
["Mapped remote request for '%s' to '%s'."] = "映射远程请求 '%s' 至 '%s'", -- src\editor\debugger.lua
["Match &case"] = "case匹配", -- src\editor\findreplace.lua
["Match &whole word"] = "全句匹配", -- src\editor\findreplace.lua
["Markers Window"] = "标记窗口", -- src\editor\menu_view.lua
["Markers"] = "标记", -- src\editor\markers.lua
["Match case"] = "case匹配", -- src\editor\toolbar.lua
["Match whole word"] = "全句匹配", -- src\editor\toolbar.lua
["Mixed end-of-line encodings detected."] = "发现混杂的EOL编码", -- src\editor\commands.lua
["Navigate"] = "导航", -- src\editor\menu_search.lua
["New &File"] = "新文件", -- src\editor\filetree.lua
["OVR"] = "OVR", -- src\editor\editor.lua
["Open an existing document"] = "打开现存文档", -- src\editor\menu_file.lua, src\editor\gui.lua
["Open With Default Program"] = "用默认程序启动", -- src\editor\filetree.lua
["Open an existing document"] = "打开现存文档", -- src\editor\toolbar.lua, src\editor\menu_file.lua
["Open file"] = "打开文档", -- src\editor\commands.lua
["Options"] = "选项", -- src\editor\findreplace.lua
["Output (running)"] = "输出 (进行中)", -- src\editor\output.lua
["Output"] = "输出", -- src\editor\output.lua, src\editor\settings.lua, src\editor\gui.lua
["Outline Window"] = "大纲视窗", -- src\editor\menu_view.lua
["Outline"] = "大纲", -- src\editor\outline.lua
["Output (running)"] = "输出 (进行中)", -- src\editor\debugger.lua, src\editor\output.lua
["Output (suspended)"] = "输出 (暂停中)", -- src\editor\debugger.lua
["Output"] = "输出", -- src\editor\debugger.lua, src\editor\output.lua, src\editor\gui.lua, src\editor\settings.lua
["Page Setup..."] = "页面设置...", -- src\editor\print.lua
["Paste text from the clipboard"] = "从clipboard粘贴text", -- src\editor\menu_edit.lua
["Preferences"] = "首选项", -- src\editor\menu_edit.lua
["Prepend '!' to force local execution."] = "预先用''进行局部强制执行", -- src\editor\shellbox.lua
["Prepend '=' to show complex values on multiple lines."] = "在多行展现复杂值请前置 '='", -- src\editor\shellbox.lua
["Press cancel to abort."] = "按 <cancel> 以退出", -- src\editor\commands.lua
["Print the current document"] = "打印当前文档", -- src\editor\print.lua
["Program '%s' started in '%s' (pid: %d)."] = "程式 '%s' 执行于 '%s' (pid: %d).", -- src\editor\output.lua
["Program can't start because conflicting process is running as '%s'."] = "程序不能启动因为有名为 '%s' 的冲突进程", -- src\editor\output.lua
["Program completed in %.2f seconds (pid: %d)."] = "程序于 %.2f 秒完成 (pid: %d).", -- src\editor\output.lua
["Program starting as '%s'."] = "程式以 '%s' 执行", -- src\editor\output.lua
["Program stopped (pid: %d)."] = "程式停止 (pid: %d).", -- src\editor\debugger.lua
["Program unable to run as '%s'."] = "程式不能以 '%s' 执行", -- src\editor\output.lua
["Project Directory"] = "项目文件夹", -- src\editor\menu_project.lua
["Project"] = "项目", -- src\editor\settings.lua, src\editor\gui.lua
["Project Directory"] = "项目文件夹", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Project history"] = "项目历史", -- src\editor\menu_file.lua
["Project"] = "项目", -- src\editor\filetree.lua
["Project/&FileTree Window"] = "项目/文档树 视窗", -- src\editor\menu_view.lua
["Provide command line parameters"] = "提供命令行参数", -- src\editor\menu_project.lua
["Queued %d files to index."] = "【排列 %d 文件到索引", -- src\editor\menu_search.lua
["R/O"] = "唯读", -- src\editor\editor.lua
["R/W"] = "读写", -- src\editor\editor.lua
["Re&place In Files"] = "在文档中替换", -- src\editor\menu_search.lua
["Re-indent selected lines"] = "重新缩进选择行", -- src\editor\menu_edit.lua
["Reached end of selection and wrapped around."] = "到达选项底部并停留", -- src\editor\findreplace.lua
["Reached end of text and wrapped around."] = "到达文本底部并停留", -- src\editor\findreplace.lua
["Recent Files"] = "最近的文档", -- src\editor\menu_file.lua
["Recent Projects"] = "近期项目", -- src\editor\menu_file.lua
["Redo last edit undone"] = "重做最后被取消的编辑", -- src\editor\menu_edit.lua
["Refresh Index"] = "刷新索引", -- src\editor\outline.lua
["Refresh Search Results"] = nil, -- src\editor\gui.lua
["Refresh indexed symbols from files in the selected directory"] = "刷新指定路径文件里的索引符号", -- src\editor\outline.lua
["Refresh"] = "刷新", -- src\editor\filetree.lua
["Refused a request to start a new debugging session as there is one in progress already."] = "因为有另一个除错在进行,拒绝开启新的除错对话", -- src\editor\debugger.lua
["Regular &expression"] = "正则表达式", -- src\editor\findreplace.lua
["Regular expression"] = "正则表达式", -- src\editor\toolbar.lua
["Remote console"] = "远程主控台", -- src\editor\shellbox.lua
["Replace A&ll"] = "更换全部", -- src\editor\findreplace.lua
["Replace"] = "更换", -- src\editor\findreplace.lua
["Rename All Instances"] = "重命名所有实例", -- src\editor\editor.lua
["Replace All Selections"] = "替换所有选项", -- src\editor\editor.lua
["Replace all"] = "更换全部", -- src\editor\toolbar.lua
["Replace next instance"] = "替换下一个实例", -- src\editor\toolbar.lua
["Replaced %d instance."] = "替换 %d 实例", -- src\editor\findreplace.lua
["Replaced an invalid UTF8 character with %s."] = "以%s更换无效的UTF8字元", -- src\editor\commands.lua
["Replaced"] = "更换", -- src\editor\findreplace.lua
["Replacing"] = "更换中", -- src\editor\findreplace.lua
["Reset to default layout"] = "重置缺省布局", -- src\editor\menu_view.lua
["Resets the dynamic word list for autocompletion"] = "为自动补全重置动态word list", -- src\editor\menu_edit.lua
["Run as Scratchpad"] = "以Scratchpad执行", -- src\editor\menu_project.lua
["Run As Scratchpad"] = "以Scratchpad执行", -- src\editor\menu_project.lua
["Run To Cursor"] = "移动到'光标'", -- src\editor\menu_project.lua, src\editor\editor.lua
["Run as Scratchpad"] = "以Scratchpad执行", -- src\editor\toolbar.lua
["Run to cursor"] = "移动到光标", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["S&top Debugging"] = "停止除错", -- src\editor\menu_project.lua
["S&top Process"] = "停止进程", -- src\editor\menu_project.lua
["Save &As..."] = "另存为...", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save &As..."] = "另存为...", -- src\editor\gui.lua, src\editor\menu_file.lua
["Save A&ll"] = "全部存档", -- src\editor\menu_file.lua
["Save Changes?"] = "存档更新?", -- src\editor\commands.lua
["Save all open documents"] = "保存所有开启的文档", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save all open documents"] = "保存所有开启的文档", -- src\editor\toolbar.lua, src\editor\menu_file.lua
["Save file as"] = "文档另存为", -- src\editor\commands.lua
["Save file?"] = "保存文档?", -- src\editor\commands.lua
["Save the current document to a file with a new name"] = "用新档案名称保存当前文档", -- src\editor\menu_file.lua
["Save the current document"] = "保存当前文档", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save the current document"] = "保存当前文档", -- src\editor\toolbar.lua, src\editor\menu_file.lua
["Saved auto-recover at %s."] = "在 %s 存档自动恢复", -- src\editor\commands.lua
["Scope"] = "范围", -- src\editor\findreplace.lua
["Scratchpad error"] = "暂存器错误", -- src\editor\debugger.lua
["Searching for"] = "搜索", -- src\editor\findreplace.lua
["Select &All"] = "选全部", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Search direction"] = "搜索方向", -- src\editor\toolbar.lua
["Search in selection"] = "搜索指定项目", -- src\editor\toolbar.lua
["Search in subdirectories"] = "搜索子目录", -- src\editor\toolbar.lua
["Searching for '%s'."] = "搜索 '%s'.", -- src\editor\findreplace.lua
["Sel: %d/%d"] = "选择: %d/%d", -- src\editor\editor.lua
["Select &All"] = "选全部", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Select And Find Next"] = "搜索并寻找下一个", -- src\editor\menu_search.lua
["Select And Find Previous"] = "搜索并寻找上一个", -- src\editor\menu_search.lua
["Select all text in the editor"] = "选编辑器内的所有text", -- src\editor\menu_edit.lua
["Select the word under cursor and find its next occurrence"] = "选择光标下的词汇并找到下一个", -- src\editor\menu_search.lua
["Select the word under cursor and find its previous occurrence"] = "选择光标下的词汇并找到上一个", -- src\editor\menu_search.lua
["Set As Start File"] = "设置为启动文件", -- src\editor\filetree.lua
["Set From Current File"] = "从当前文档设置", -- src\editor\menu_project.lua
["Set project directory from current file"] = "从当前文档设置项目文件夹", -- src\editor\menu_project.lua, src\editor\gui.lua
["Set To Project Directory"] = "设置项目目录", -- src\editor\findreplace.lua
["Set To Selected Directory"] = "设置到选定目录", -- src\editor\filetree.lua
["Set project directory from current file"] = "从当前文档设置项目文件夹", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Set project directory to the selected one"] = "设置项目目录到优先级", -- src\editor\filetree.lua
["Set search directory"] = "选择搜索目录", -- src\editor\toolbar.lua
["Set the interpreter to be used"] = "设置解释器", -- src\editor\menu_project.lua
["Set the project directory to be used"] = "设置项目文件夹", -- src\editor\menu_project.lua
["Set the project directory to be used"] = "设置项目文件夹", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Settings: System"] = "设置: 系统", -- src\editor\menu_edit.lua
["Settings: User"] = "设置: 用户", -- src\editor\menu_edit.lua
["Show &Tooltip"] = "展现tooltip", -- src\editor\menu_edit.lua
["Show &Tooltip"] = "展现工具提示", -- src\editor\menu_edit.lua
["Show All Files"] = "显示所有文件", -- src\editor\filetree.lua
["Show Hidden Files"] = "显示隐藏文件", -- src\editor\filetree.lua
["Show Location"] = "显示位置", -- src\editor\gui.lua, src\editor\filetree.lua
["Show all files"] = "显示所有文件", -- src\editor\filetree.lua
["Show context"] = "显示上下文", -- src\editor\toolbar.lua
["Show files previously hidden"] = "显示之前的隐藏文件", -- src\editor\filetree.lua
["Show multiple result windows"] = "显示多个结果窗口", -- src\editor\toolbar.lua
["Show tooltip for current position; place cursor after opening bracket of function"] = "在当前的位置展现tooltip; 把游标放置于函数的开括号之后", -- src\editor\menu_edit.lua
["Sort selected lines"] = "对被选的行进行排列", -- src\editor\menu_search.lua
["Show/Hide the status bar"] = "显示/隐藏状态栏", -- src\editor\menu_view.lua
["Show/Hide the toolbar"] = "显示/隐藏工具栏", -- src\editor\menu_view.lua
["Sort By Name"] = "按名称排序", -- src\editor\outline.lua
["Sort selected lines"] = "对被选的行进行排列", -- src\editor\menu_edit.lua
["Source"] = "来源", -- src\editor\menu_edit.lua
["Stack"] = "堆栈", -- src\editor\debugger.lua
["Start &Debugging"] = "开始除错", -- src\editor\menu_project.lua
["Start debugging"] = "开始除错", -- src\editor\menu_project.lua, src\editor\gui.lua
["Start or continue debugging"] = "启动或继续调试", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Step &Into"] = "除错运行 进入子程序/函数", -- src\editor\menu_project.lua
["Step &Over"] = "除错运行 掠过子程序/函数", -- src\editor\menu_project.lua
["Step O&ut"] = "除错运行 离开子程序/函数", -- src\editor\menu_project.lua
["Step into"] = "除错运行 进入子程序/函数", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step out of the current function"] = "除错运行 离开当前的函数", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step over"] = "除错运行 掠过子程序/函数", -- src\editor\menu_project.lua, src\editor\gui.lua
["Stop the currently running process"] = "终止目前进行着的进程", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step into"] = "除错运行 进入子程序/函数", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Step out of the current function"] = "除错运行 离开当前的函数", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Step over"] = "除错运行 掠过子程序/函数", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Stop debugging and continue running the process"] = "终止调试但允许进程继续运行", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Stop the currently running process"] = "终止目前进行着的进程", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Switch to or from full screen mode"] = "切换全屏模式", -- src\editor\menu_view.lua
["Symbol Index"] = "符号索引", -- src\editor\outline.lua
["Text not found."] = "寻找不到text", -- src\editor\findreplace.lua
["The API file must be located in a subdirectory of the API directory."] = "API file必须存放在API文件夹中的子文件夹", -- src\editor\autocomplete.lua
["Toggle Break&point"] = "切换中断点", -- src\editor\menu_project.lua
["Toggle breakpoint"] = "切换中断点", -- src\editor\menu_project.lua, src\editor\gui.lua
["Toggle Bookmark"] = "切换'标签'", -- src\editor\markers.lua, src\editor\menu_edit.lua
["Toggle Breakpoint"] = "切换中断点", -- src\editor\markers.lua, src\editor\menu_project.lua
["Toggle bookmark"] = "切换标签", -- src\editor\toolbar.lua, src\editor\menu_edit.lua, src\editor\markers.lua
["Toggle breakpoint"] = "切换中断点", -- src\editor\markers.lua, src\editor\toolbar.lua
["Tr&ace"] = "追踪", -- src\editor\menu_project.lua
["Trace execution showing each executed line"] = "执行追踪展示每一执行过的语句", -- src\editor\menu_project.lua
["Unable to create directory '%s'."] = "无法建立目录", -- src\editor\filetree.lua
["Unable to create file '%s'."] = "无法建立文件 '%s'.", -- src\editor\filetree.lua
["Unable to delete directory '%s': %s"] = "无法删除目录 '%s': %s", -- src\editor\filetree.lua
["Unable to delete file '%s': %s"] = "无法删除文件 '%s': %s", -- src\editor\filetree.lua
["Unable to load file '%s'."] = "导出文件失败 '%s'.", -- src\editor\commands.lua
["Unable to rename file '%s'."] = "无法重命名文件 '%s'.", -- src\editor\filetree.lua
["Unable to save file '%s': %s"] = "保存文件失败 '%s': %s", -- src\editor\commands.lua
["Unable to stop program (pid: %d), code %d."] = "停止程序失败 (pid: %d), 代码 %d.", -- src\editor\debugger.lua
["Undo last edit"] = "清除前编辑动作", -- src\editor\menu_edit.lua
["Unmap Directory"] = "禁止映射目录", -- src\editor\filetree.lua
["Unset '%s' As Start File"] = "不设置 '%s' 为启动文件", -- src\editor\filetree.lua
["Updated %d file."] = "更新 %d 文件", -- src\editor\findreplace.lua
["Updating symbol index and settings..."] = "更新符号索引和设置", -- src\editor\outline.lua
["Use %s to close."] = "使用 %s 来关闭", -- src\editor\findreplace.lua
["Use '%s' to see full description."] = "用 '%s' 来看全解析", -- src\editor\editor.lua
["Use '%s' to show line endings and '%s' to convert them."] = "用 '%s' 来显示语句的终结和 '%s' 来进行转换", -- src\editor\commands.lua
["Use 'clear' to clear the shell output and the history."] = "用 'clear' 来清除shell的输出和历史", -- src\editor\shellbox.lua
["Use Shift-Enter for multiline code."] = "用 <Shift-Enter> 来处理多行代码", -- src\editor\shellbox.lua
["Value"] = "数值", -- src\editor\debugger.lua
["View the markers window"] = "检视标签窗口", -- src\editor\menu_view.lua
["View the outline window"] = "检视大纲窗口", -- src\editor\menu_view.lua
["View the output/console window"] = "查看输出/主控台视窗", -- src\editor\menu_view.lua
["View the project/filetree window"] = "查看项目/文件树视窗", -- src\editor\menu_view.lua
["View the stack window"] = "查看堆栈视窗", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the watch window"] = "查看监视视窗", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the stack window"] = "查看堆栈视窗", -- src\editor\toolbar.lua, src\editor\menu_view.lua
["View the watch window"] = "查看监视视窗", -- src\editor\toolbar.lua, src\editor\menu_view.lua
["Watch"] = "监视", -- src\editor\debugger.lua
["Welcome to the interactive Lua interpreter."] = "欢迎来到互动 Lua interpreter.", -- src\editor\shellbox.lua
["Wrap ar&ound"] = "卷绕", -- src\editor\findreplace.lua
["Wrap around"] = "卷绕", -- src\editor\toolbar.lua
["You must save the program first."] = "必须先保存程序", -- src\editor\commands.lua
["on line %d"] = "在 %d 行", -- src\editor\debugger.lua, src\editor\commands.lua
["Zoom In"] = "放大", -- src\editor\menu_view.lua
["Zoom Out"] = "缩小", -- src\editor\menu_view.lua
["Zoom to 100%"] = "缩放到实际大小", -- src\editor\menu_view.lua
["Zoom"] = "缩放", -- src\editor\menu_view.lua
["on line %d"] = "在 %d 行", -- src\editor\debugger.lua, src\editor\editor.lua, src\editor\commands.lua
["traced %d instruction"] = "追踪 %d 指令", -- src\editor\debugger.lua
["unknown error"] = "未知错误", -- src\editor\debugger.lua
}

View File

@@ -1,94 +1,128 @@
return {
[0] = function(c) return c == 1 and 1 or 2 end, -- plural
["%d instance"] = {"%d Instanz", "%d Instanzen"}, -- src\editor\findreplace.lua
["%s event failed: %s"] = "Ereignis fehlgeschlagen : %s", -- src\editor\package.lua
["%s%% formatted..."] = "%s%% formatiert...", -- src\editor\print.lua
["%s%% loaded..."] = "%s%% geladen...", -- src\editor\commands.lua
["&About"] = "&Über", -- src\editor\menu_help.lua
["&Add Watch"] = "&Beobachtungspunkt hinzufügen", -- src\editor\debugger.lua
["&Break"] = "&Unterbrechung", -- src\editor\menu_project.lua
["&Close Page"] = "S&eite schließen", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Close Page"] = "S&eite schließen", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Community"] = "&Community", -- src\editor\menu_help.lua
["&Compile"] = "&Compiler", -- src\editor\menu_project.lua
["&Copy"] = "&Kopieren", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Copy Value"] = "Wert kopieren", -- src\editor\debugger.lua
["&Copy"] = "&Kopieren", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Default Layout"] = "Standard-&Layout", -- src\editor\menu_view.lua
["&Delete Watch"] = "&Beobachtungspunkt entfernen", -- src\editor\debugger.lua
["&Down"] = "&Runter", -- src\editor\findreplace.lua
["&Delete"] = "&Entfernen", -- src\editor\filetree.lua
["&Documentation"] = "&Dokumentation", -- src\editor\menu_help.lua
["&Edit Project Directory"] = "Projektverzeichnis ändern", -- src\editor\filetree.lua
["&Edit Value"] = "Wert editieren", -- src\editor\debugger.lua
["&Edit Watch"] = "&Beobachtungspunkt bearbeiten", -- src\editor\debugger.lua
["&Edit"] = "&Bearbeiten", -- src\editor\menu_edit.lua
["&File"] = "&Datei", -- src\editor\menu_file.lua
["&Find All"] = "&Alle finden", -- src\editor\findreplace.lua
["&Find Next"] = "&Nächsten finden", -- src\editor\findreplace.lua
["&Find"] = "&Finden", -- src\editor\menu_search.lua
["&Fold/Unfold All"] = "A&lles ein-/ausklappen", -- src\editor\menu_edit.lua
["&Goto Line"] = "&Gehe zu Zeile", -- src\editor\menu_search.lua
["&Frequently Asked Questions"] = "&FAQ", -- src\editor\menu_help.lua
["&Getting Started Guide"] = "&Anfängerleitfaden", -- src\editor\menu_help.lua
["&Help"] = "&Hilfe", -- src\editor\menu_help.lua
["&New Directory"] = "&Neuer Ordner", -- src\editor\filetree.lua
["&New"] = "&Neu", -- src\editor\menu_file.lua
["&Open..."] = "&Öffnen...", -- src\editor\menu_file.lua
["&Output/Console Window"] = "&Ausgabefenster/Konsole", -- src\editor\menu_view.lua
["&Paste"] = "&Einfügen", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Project"] = "&Projekt", -- src\editor\menu_project.lua, src\editor\inspect.lua
["&Redo"] = "&Wiederholen", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Replace All"] = "&Alles ersetzen", -- src\editor\findreplace.lua
["&Replace"] = "&Ersetzen", -- src\editor\findreplace.lua, src\editor\menu_search.lua
["&Paste"] = "&Einfügen", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Print..."] = "Drucken", -- src\editor\print.lua
["&Project Page"] = "&Projektseite", -- src\editor\menu_help.lua
["&Project"] = "&Projekt", -- src\editor\menu_project.lua
["&Redo"] = "&Wiederholen", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Rename"] = "&Umbenennen", -- src\editor\filetree.lua
["&Replace"] = "&Ersetzen", -- src\editor\menu_search.lua
["&Run"] = "&Starten", -- src\editor\menu_project.lua
["&Save"] = "&Speichern", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Save"] = "&Speichern", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Search"] = "&Suchen", -- src\editor\menu_search.lua
["&Sort"] = "&Sortieren", -- src\editor\menu_search.lua
["&Select Command"] = "Kommando auswählen", -- src\editor\gui.lua
["&Sort"] = "&Sortieren", -- src\editor\menu_edit.lua
["&Stack Window"] = "&Stapel/Stack", -- src\editor\menu_view.lua
["&Start Debugger Server"] = "De&bugserver starten", -- src\editor\menu_project.lua
["&Subdirectories"] = "&Unterverzeichnisse", -- src\editor\findreplace.lua
["&Undo"] = "&Rückgängig", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Up"] = "&Hoch", -- src\editor\findreplace.lua
["&Status Bar"] = "S&tatuszeile", -- src\editor\menu_view.lua
["&Tool Bar"] = "&Werkzeugleiste", -- src\editor\menu_view.lua
["&Tutorials"] = "&Tutorien", -- src\editor\menu_help.lua
["&Undo"] = "&Rückgängig", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&View"] = "&Ansicht", -- src\editor\menu_view.lua
["&Watch Window"] = "&Beobachtungspunkte", -- src\editor\menu_view.lua
[".&bak on Replace"] = ".&bak bei Ersetzen", -- src\editor\findreplace.lua
["About %s"] = "Über %s", -- src\editor\menu_help.lua
["Add Watch Expression"] = "Beobachtungspunkt hinzufügen", -- src\editor\editor.lua
["Add To Scratchpad"] = "Zu Entwurf hinzufügen", -- src\editor\editor.lua
["Add Watch Expression"] = "Beobachtungspunkt hinzufügen", -- src\editor\editor.lua
["All files"] = "Alle Dateien", -- src\editor\commands.lua
["Allow external process to start debugging"] = "Externem Prozeß erlauben, den Debugger zu starten", -- src\editor\menu_project.lua
["Analyze the source code"] = "Quellcode analysieren", -- src\editor\inspect.lua
["Analyze"] = "&Analyseroutine", -- src\editor\inspect.lua
["Auto Complete Identifiers"] = "Auto-Vervollständigen von Bezeichnern", -- src\editor\menu_edit.lua
["Auto complete while typing"] = "Auto-Vervollständigen beim Tippen", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Programmausführung bei der nächsten ausgeführten Zeile stoppen", -- src\editor\menu_project.lua, src\editor\gui.lua
["C&lear Output Window"] = "Ausgabefenster &löschen", -- src\editor\menu_project.lua
["C&omment/Uncomment"] = "(Aus-)/&Kommentieren", -- src\editor\menu_edit.lua
["Can't debug the script in the active editor window."] = "Script kann im aktiven Editorfenster nicht gedebuggt werden.", -- src\editor\debugger.lua
["Can't find file '%s' in the current project to activate for debugging. Update the project or open the file in the editor before debugging."] = "Kann Datei '%s' zwecks Debugging im aktuellen Projekt nicht finden. Bitte Projekt aktualisieren oder Datei in den Editor laden.", -- src\editor\debugger.lua
["Binary file is shown as read-only as it is only partially loaded."] = "Binärdatei ist als schreibgeschützt angezeigt, da sie nur teilweise geladen wurde.", -- src\editor\commands.lua
["Bookmark"] = "Lese&zeichen", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Programmausführung bei der nächsten ausgeführten Zeile stoppen", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Breakpoint"] = "Haltepunkt", -- src\editor\menu_project.lua
["C&lear Console Window"] = "Konsole &leeren", -- src\editor\gui.lua
["C&lear Output Window"] = "Ausgabefenster l&öschen", -- src\editor\gui.lua, src\editor\menu_project.lua
["C&omment/Uncomment"] = "(Aus-)/K&ommentieren", -- src\editor\menu_edit.lua
["Can't evaluate the expression while the application is running."] = "Kann den Ausdruck nicht auswerten solange die Anwendung läuft.", -- src\editor\debugger.lua
["Can't open file '%s': %s"] = "Kann Datei '%s' nicht öffnen: %s", -- src\editor\findreplace.lua, src\editor\package.lua, src\editor\inspect.lua, src\editor\outline.lua
["Can't process auto-recovery record; invalid format: %s."] = "Auto-Wiederherstellen nicht möglich; ungültiges Format: %s.", -- src\editor\commands.lua
["Can't replace in read-only text."] = "Ersetzen in schreibgeschütztem Text nicht möglich.", -- src\editor\findreplace.lua
["Can't run the entry point script ('%s')."] = "Kann Script für Einsprungspunkt ('%s') nicht ausführen.", -- src\editor\debugger.lua
["Can't start debugger server at %s:%d: %s."] = "Kann Debugserver nicht starten (%s:%d): %s.", -- src\editor\debugger.lua
["Can't start debugging for '%s'."] = "Kann Debuggen nicht starten für '%s'.", -- src\editor\debugger.lua
["Can't start debugging session due to internal error '%s'."] = "Debugging kann nicht gestartet werden wegen internem Fehler '%s'.", -- src\editor\debugger.lua
["Can't start debugging without an opened file or with the current file not being saved ('%s')."] = "Debugging kann nicht gestartet werden ohne geöffnete Datei oder wenn die aktuelle Datei nicht gespeichert ist ('%s').", -- src\editor\debugger.lua
["Cancel"] = "Abbrechen", -- src\editor\findreplace.lua
["Choose ..."] = "Wählen...", -- src\editor\menu_project.lua
["Choose a project directory"] = "Projektverzeichnis auswählen", -- src\editor\findreplace.lua, src\editor\menu_project.lua
["Clear &Dynamic Words"] = "&Dynamic Words löschen", -- src\editor\menu_edit.lua
["Can't start debugging without an opened file or with the current file not being saved ('%s')."] = "Debugging kann ohne geöffnete Datei nicht gestartet werden oder wenn die aktuelle Datei nicht gespeichert ist ('%s').", -- src\editor\debugger.lua
["Can't stop debugger server as it is not started."] = "Kann Debugserver nicht stoppen wenn er vorher nicht gestartet wurde.", -- src\editor\debugger.lua
["Cancelled by the user."] = "Durch Benutzer abgebrochen.", -- src\editor\findreplace.lua
["Choose a directory to map"] = "Bitte Verzeichnis wählen zum virtuellen Einbinden", -- src\editor\filetree.lua
["Choose a project directory"] = "Projektverzeichnis auswählen", -- src\editor\toolbar.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose a search directory"] = "Bitte Verzeichnis zum Durchsuchen auswählen.", -- src\editor\findreplace.lua
["Choose..."] = "Wählen...", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Bookmarks In Project"] = "Projekt-Lesezeichen löschen", -- src\editor\markers.lua
["Clear Breakpoints In Project"] = "Projekt-Haltepunkte löschen", -- src\editor\markers.lua
["Clear Items"] = "Liste &löschen", -- src\editor\findreplace.lua, src\editor\menu_file.lua
["Clear items from this list"] = "Diese Liste löschen", -- src\editor\menu_file.lua
["Clear the output window before compiling or debugging"] = "Vor Kompilieren oder Debuggen das Ausgabefenster löschen", -- src\editor\menu_project.lua
["Close &Other Pages"] = "A&ndere Seiten schließen", -- src\editor\gui.lua
["Close A&ll Pages"] = "&Alle Seiten schließen", -- src\editor\gui.lua
["Close Search Results Pages"] = "Suchergebnisse schließen", -- src\editor\gui.lua
["Close the current editor window"] = "Aktuelles Editorfenster schließen", -- src\editor\menu_file.lua
["Co&ntinue"] = "&Fortsetzen", -- src\editor\menu_project.lua
["Col: %d"] = "Spalte: %d", -- src\editor\editor.lua
["Command Line Parameters..."] = "Kommandozeilenparameter...", -- src\editor\gui.lua, src\editor\menu_project.lua
["Command line parameters"] = "Kommandozeilenparameter", -- src\editor\menu_project.lua
["Comment or uncomment current or selected lines"] = "Ausgewählte bzw. aktive Zeile (un-)kommentieren", -- src\editor\menu_edit.lua
["Compilation error"] = "Fehler beim Kompilieren", -- src\editor\debugger.lua, src\editor\commands.lua
["Compilation error"] = "Fehler beim Kompilieren", -- src\editor\commands.lua, src\editor\debugger.lua
["Compilation successful; %.0f%% success rate (%d/%d)."] = "Kompilieren erfolgreich; Erfolgsquote von %.0f%% (%d/%d).", -- src\editor\commands.lua
["Compile the current file"] = "Aktuelle Datei kompilieren", -- src\editor\menu_project.lua
["Complete &Identifier"] = "&Bezeichner vervollständigen", -- src\editor\menu_edit.lua
["Complete the current identifier"] = " Aktuellen Bezeichner vervollständigen", -- src\editor\menu_edit.lua
["Consider removing backslash from escape sequence '%s'."] = "Möglicherweise muß `\' aus '%s' entfernt werden.", -- src\editor\commands.lua
["Copy Full Path"] = "Kopiere Pfadangabe", -- src\editor\gui.lua, src\editor\filetree.lua
["Copy selected text to clipboard"] = "Text in Zwischenablage kopieren", -- src\editor\menu_edit.lua
["Correct &Indentation"] = "E&inzug korrigieren", -- src\editor\menu_edit.lua
["Couldn't activate file '%s' for debugging; continuing without it."] = "Konnte Datei '%s' zwecks nicht Debugging aktivieren; fahre ohne die Datei fort.", -- src\editor\debugger.lua
["Create an empty document"] = "Leeres Dokument anlegen", -- src\editor\menu_file.lua, src\editor\gui.lua
["Cu&t"] = "A&usschneiden", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Create an empty document"] = "Leeres Dokument anlegen", -- src\editor\toolbar.lua, src\editor\menu_file.lua
["Cu&t"] = "A&usschneiden", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Cut selected text to clipboard"] = "Schneide ausgewählten Text in die Zwischenablage hinein", -- src\editor\menu_edit.lua
["Debugger server started at %s:%d."] = "Debugserver gestartet an %s:%d.", -- src\editor\debugger.lua
["Debugger server started at %s:%d."] = "Debugserver gestartet als %s:%d.", -- src\editor\debugger.lua
["Debugger server stopped at %s:%d."] = "Debugserver gestoppt als %s:%d.", -- src\editor\debugger.lua
["Debugging session completed (%s)."] = "Debugging Session beendet (%s).", -- src\editor\debugger.lua
["Debugging session started in '%s'."] = "Debugging Session gestartet '%s'.", -- src\editor\debugger.lua
["Debugging suspended at %s:%s (couldn't activate the file)."] = "Debugging angehalten bei %s:%s (konnte Datei nicht aktivieren).", -- src\editor\debugger.lua
["Directory"] = "Verzeichnis", -- src\editor\findreplace.lua
["Debugging suspended at '%s:%s' (couldn't activate the file)."] = "Debugging angehalten bei '%s:%s' (konnte Datei nicht aktivieren).", -- src\editor\debugger.lua
["Detach &Process"] = "Prozeß abkoppeln", -- src\editor\menu_project.lua
["Disable Indexing For '%s'"] = "Indizieren ausschalten für '%s'", -- src\editor\outline.lua
["Do you want to delete '%s'?"] = "Soll '%s' gelöscht werden?", -- src\editor\filetree.lua
["Do you want to overwrite it?"] = "Überschreiben?", -- src\editor\commands.lua
["Do you want to reload it?"] = "Neu laden?", -- src\editor\editor.lua
["Do you want to save the changes to '%s'?"] = "Änderungen an '%s' speichern?", -- src\editor\commands.lua
["E&xit"] = "&Beenden", -- src\editor\menu_file.lua
["Enable Indexing"] = "Indizieren aktivieren", -- src\editor\outline.lua
["Enter Lua code and press Enter to run it."] = "Lua-Code eingeben und Enter drücken zum Ausführen.", -- src\editor\shellbox.lua
["Enter line number"] = "Zeilennummer eingeben", -- src\editor\menu_search.lua
["Enter command line parameters"] = "Kommandozeilenparameter eingeben", -- src\editor\menu_project.lua
["Enter replacement text"] = "Neuen Text eingeben", -- src\editor\editor.lua
["Error while loading API file: %s"] = "Fehler beim Laden von API-Datei: %s", -- src\editor\autocomplete.lua
["Error while loading configuration file: %s"] = "Fehler beim Laden von Konfigurationsdatei: %s", -- src\editor\style.lua
["Error while processing API file: %s"] = "Fehler beim Lesen von API-Datei: %s", -- src\editor\autocomplete.lua
@@ -96,141 +130,222 @@ return {
["Error"] = "Fehler", -- src\editor\commands.lua
["Evaluate In Console"] = "In Konsole auswerten", -- src\editor\editor.lua
["Execute the current project/file and keep updating the code to see immediate results"] = "Aktuelles Projekt/ aktuelle Datei ausführen und Quellcode ändern, um Ergebnisse in Echtzeit zu sehen", -- src\editor\menu_project.lua
["Execute the current project/file"] = "Aktuelles Projekt/ aktuelle Datei ausführen", -- src\editor\menu_project.lua
["Execute the current project/file"] = "Aktuelles Projekt/ aktuelle Datei ausführen", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Execution error"] = "Fehler bei Ausführung", -- src\editor\debugger.lua
["Exit program"] = "Programm beenden", -- src\editor\menu_file.lua
["Expr"] = "Ausdr.", -- src\editor\debugger.lua
["Expression"] = "Ausdruck", -- src\editor\debugger.lua
["File '%s' has been modified on disk."] = "Datei '%s' wurde auf der Festplatte geändert.", -- src\editor\editor.lua
["File '%s' has more recent timestamp than restored '%s'; please review before saving."] = "Datei '%s' hat neueren Zeitstempel als wiederhergestellte Datei '%s'; bitte vor dem Speichern kontrollieren.", -- src\editor\commands.lua
["File '%s' no longer exists."] = "Datei '%s' existiert nicht mehr.", -- src\editor\editor.lua, src\editor\menu_file.lua
["File Type"] = "Dateityp", -- src\editor\findreplace.lua
["File '%s' is missing and can't be recovered."] = "Datei '%s' fehlt und kann nicht wiederhergestellt werden.", -- src\editor\commands.lua
["File '%s' no longer exists."] = "Datei '%s' existiert nicht mehr.", -- src\editor\menu_file.lua, src\editor\editor.lua
["File already exists."] = "Datei existiert bereits.", -- src\editor\commands.lua
["File history"] = "Dateiverlauf", -- src\editor\menu_file.lua
["Find &In Files"] = "Finde &in Dateien", -- src\editor\menu_search.lua
["Find &Next"] = "Finde &Nächste", -- src\editor\menu_search.lua
["Find &Previous"] = "Finde &Vorherige", -- src\editor\menu_search.lua
["Find In Files"] = "Finde in Dateien", -- src\editor\findreplace.lua
["Find and insert library function"] = "Suchen und Einfügen von Funktion aus Bibliothek", -- src\editor\menu_search.lua
["Find and replace text in files"] = "Finde und ersetze Text in Dateien", -- src\editor\menu_search.lua
["Find and replace text"] = "Finde und ersetze Text", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find and replace text"] = "Finde und ersetze Text", -- src\editor\toolbar.lua, src\editor\menu_search.lua
["Find in files"] = "Finde in dateien", -- src\editor\toolbar.lua
["Find next"] = "Finde nächste", -- src\editor\toolbar.lua
["Find text in files"] = "Finde Text in Dateien", -- src\editor\menu_search.lua
["Find text"] = "Finde Text", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find text"] = "Finde Text", -- src\editor\toolbar.lua, src\editor\menu_search.lua
["Find the earlier text occurence"] = "Finde vorheriges Auftreten des Textes", -- src\editor\menu_search.lua
["Find the next text occurrence"] = "Finde nächstes Auftreten des Textes", -- src\editor\menu_search.lua
["Find"] = "Finden", -- src\editor\findreplace.lua
["Fold or unfold all code folds"] = "Alle Stellen im Code ein-/ausklappen ", -- src\editor\menu_edit.lua
["Fold or unfold current line"] = "Aktuelle Zeile ein-/ausklappen", -- src\editor\menu_edit.lua
["Fold/Unfold Current &Line"] = "Aktue&lle Zeile ein-/ausklappen", -- src\editor\menu_edit.lua
["Formatting page %d..."] = "Seite %d formatieren...", -- src\editor\print.lua
["Found %d instance."] = {"Eine Instanz gefunden", "%d Instanzen gefunden."}, -- src\editor\findreplace.lua
["Found auto-recovery record and restored saved session."] = "Autowiederherstellen-Aufzeichnung gefunden und vorherige Sitzung wiederhergestellt.", -- src\editor\commands.lua
["Found"] = "Gefunden", -- src\editor\findreplace.lua
["Full &Screen"] = "&Vollbild", -- src\editor\menu_view.lua
["Go To Definition"] = "Gehe zu Definition", -- src\editor\editor.lua
["Go to a selected line"] = "Gehe zu ausgewählter Zeile", -- src\editor\menu_search.lua
["Goto Line"] = "Gehe zu Zeile", -- src\editor\menu_search.lua
["Go To File..."] = "Gehe zu Datei...", -- src\editor\menu_search.lua
["Go To Line..."] = "Gehe zu Zeile...", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = "Zu nächstem Lesezeichen", -- src\editor\menu_edit.lua
["Go To Next Breakpoint"] = "Gehe zu nächstem Haltepunkt", -- src\editor\menu_project.lua
["Go To Previous Bookmark"] = "Zu vorherigem Lesezeichen", -- src\editor\menu_edit.lua
["Go To Previous Breakpoint"] = "Gehe zu vorigem Haltepunkt", -- src\editor\menu_project.lua
["Go To Symbol..."] = "Gehe zu Symbol...", -- src\editor\menu_search.lua
["Go to file"] = "Gehe zu Datei", -- src\editor\menu_search.lua
["Go to line"] = "Gehe zu Zeile", -- src\editor\menu_search.lua
["Go to symbol"] = "Gehe zu Symbol", -- src\editor\menu_search.lua
["Hide '.%s' Files"] = "Verstecke '.%s' Dateien", -- src\editor\filetree.lua
["INS"] = "INS", -- src\editor\editor.lua
["In Files"] = "In Dateien", -- src\editor\findreplace.lua
["Jump to a function definition..."] = "Springe zu Funktions-Definition...", -- src\editor\editor.lua
["Ignore and don't index symbols from files in the selected directory"] = "Dateien im ausgewählten Verzeichnis ignorieren und keine Symbole indizieren.", -- src\editor\outline.lua
["Ignored error in debugger initialization code: %s."] = "Ignorierter Fehler im Debugger-Init-Code: %s.", -- src\editor\debugger.lua
["Indexing %d files: '%s'..."] = "%d Dateien indizieren: '%s'...", -- src\editor\outline.lua
["Indexing completed."] = "Indizierung abgeschlossen.", -- src\editor\outline.lua
["Insert Library Function..."] = "Füge Funktion aus Bibliothek ein", -- src\editor\menu_search.lua
["Known Files"] = "Bekannte Dateien", -- src\editor\commands.lua
["Ln: %d"] = "Zeile: %d", -- src\editor\editor.lua
["Local console"] = "Lokale Konsole", -- src\editor\shellbox.lua, src\editor\gui.lua
["Local console"] = "Lokale Konsole", -- src\editor\gui.lua, src\editor\shellbox.lua
["Lua &Interpreter"] = "&Lua Interpreter", -- src\editor\menu_project.lua
["Mapped remote request for '%s' to '%s'."] = "Mapped remote request for '%s' to '%s'.", -- src\editor\debugger.lua
["Match &case"] = "&Groß-/Kleinschreibung", -- src\editor\findreplace.lua
["Match &whole word"] = "Ganzes &Wort", -- src\editor\findreplace.lua
["Map Directory..."] = "Verzeichnis virtuell einbinden...", -- src\editor\filetree.lua
["Mapped remote request for '%s' to '%s'."] = "Fern-Aufforderung für '%s' auf '%s' abgebildet.", -- src\editor\debugger.lua
["Markers Window"] = "Markierungs-Fenster", -- src\editor\menu_view.lua
["Markers"] = "Markierungen", -- src\editor\markers.lua
["Match case"] = "Groß-/Kleinschreibung", -- src\editor\toolbar.lua
["Match whole word"] = "Ganzes Wort", -- src\editor\toolbar.lua
["Mixed end-of-line encodings detected."] = "Gemischte End-of-Line Kodierung entdeckt.", -- src\editor\commands.lua
["Navigate"] = "Navigieren", -- src\editor\menu_search.lua
["New &File"] = "Neue &Datei", -- src\editor\filetree.lua
["OVR"] = "OVR", -- src\editor\editor.lua
["Open an existing document"] = "Öffne existierendes Dokument", -- src\editor\menu_file.lua, src\editor\gui.lua
["Open With Default Program"] = "Mit Standardanwendung öffnen", -- src\editor\filetree.lua
["Open an existing document"] = "Öffne existierendes Dokument", -- src\editor\toolbar.lua, src\editor\menu_file.lua
["Open file"] = "Öffne Datei", -- src\editor\commands.lua
["Options"] = "Optionen", -- src\editor\findreplace.lua
["Output (running)"] = "Ausgabe (ausgeführt)", -- src\editor\output.lua
["Output"] = "Ausgabe", -- src\editor\output.lua, src\editor\settings.lua, src\editor\gui.lua
["Outline Window"] = "Übersichtsfenster", -- src\editor\menu_view.lua
["Outline"] = "Übersicht", -- src\editor\outline.lua
["Output (running)"] = "Ausgabe (ausgeführt)", -- src\editor\debugger.lua, src\editor\output.lua
["Output (suspended)"] = "Ausgabe (angehalten)", -- src\editor\debugger.lua
["Output"] = "Ausgabe", -- src\editor\debugger.lua, src\editor\output.lua, src\editor\gui.lua, src\editor\settings.lua
["Page Setup..."] = "Seite einrichten...", -- src\editor\print.lua
["Paste text from the clipboard"] = "Text aus Zwischenablage einfügen", -- src\editor\menu_edit.lua
["Preferences"] = "Einstellungen", -- src\editor\menu_edit.lua
["Prepend '!' to force local execution."] = "'!' voranstellen um lokale Ausführung zu erzwingen.", -- src\editor\shellbox.lua
["Prepend '=' to show complex values on multiple lines."] = "'=' voranstellen, um komplexe Ausdrücke auf mehrere Zeilen zu verteilen.", -- src\editor\shellbox.lua
["Press cancel to abort."] = "Abbrechen Drücken zum Beenden.", -- src\editor\commands.lua
["Print the current document"] = "Drucke aktuelles Dokument", -- src\editor\print.lua
["Program '%s' started in '%s' (pid: %d)."] = "Programm '%s' gestartet in '%s' (pid : %d).", -- src\editor\output.lua
["Program can't start because conflicting process is running as '%s'."] = "Programm kann nicht starten, da blockierender Prozeß als '%s' läuft.", -- src\editor\output.lua
["Program completed in %.2f seconds (pid: %d)."] = "Programm beendet nach %.2f Sekunden (pid : %d).", -- src\editor\output.lua
["Program starting as '%s'."] = "Programm gestartet als '%s'.", -- src\editor\output.lua
["Program stopped (pid: %d)."] = "Programm gestoppt (pid: %d).", -- src\editor\debugger.lua
["Program unable to run as '%s'."] = "Programm kann nicht als '%s' laufen.", -- src\editor\output.lua
["Project Directory"] = "&Projektverzeichnis", -- src\editor\menu_project.lua
["Project"] = "Projekt", -- src\editor\settings.lua, src\editor\gui.lua
["Project Directory"] = "&Projektverzeichnis", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Project history"] = "Liste bisheriger Projekte", -- src\editor\menu_file.lua
["Project"] = "Projekt", -- src\editor\filetree.lua
["Project/&FileTree Window"] = "&Projekt/Datei Fenster", -- src\editor\menu_view.lua
["Provide command line parameters"] = "Kommandozeilenparameter angeben", -- src\editor\menu_project.lua
["Queued %d files to index."] = "%d Dateien zum Indizieren vorgemerkt.", -- src\editor\menu_search.lua
["R/O"] = "R/O", -- src\editor\editor.lua
["R/W"] = "R/W", -- src\editor\editor.lua
["Re&place In Files"] = "Ersetze in &Dateien", -- src\editor\menu_search.lua
["Re-indent selected lines"] = "Ausgewählte Zeilen neu einrücken", -- src\editor\menu_edit.lua
["Reached end of selection and wrapped around."] = "Ende der Auswahl erreicht, setze am Anfang fort", -- src\editor\findreplace.lua
["Reached end of text and wrapped around."] = "Ende des Textes erreicht, setze am Beginn fort.", -- src\editor\findreplace.lua
["Recent Files"] = "Letzte Dateien", -- src\editor\menu_file.lua
["Recent Projects"] = "Letzte Projekte", -- src\editor\menu_file.lua
["Redo last edit undone"] = "Stelle letzte rückgängig gemachte Bearbeitung wieder her", -- src\editor\menu_edit.lua
["Refresh Index"] = "Index erneuern", -- src\editor\outline.lua
["Refresh Search Results"] = "Suchergebnisse aktualisieren", -- src\editor\gui.lua
["Refresh indexed symbols from files in the selected directory"] = "Erneuere indizierte Symbole in Dateien des ausgewählten Verzeichnisses", -- src\editor\outline.lua
["Refresh"] = "Aktualisieren", -- src\editor\filetree.lua
["Refused a request to start a new debugging session as there is one in progress already."] = "Starten einer neuen Debuggingsession abgelehnt, da bereits eine läuft.", -- src\editor\debugger.lua
["Regular &expression"] = "&Regulärer Ausdruck", -- src\editor\findreplace.lua
["Remote console"] = "Fensteuerungs-Konsole", -- src\editor\shellbox.lua
["Regular expression"] = "Regulärer Ausdruck", -- src\editor\toolbar.lua
["Remote console"] = "Fernsteuerungs-Konsole", -- src\editor\shellbox.lua
["Rename All Instances"] = "Umbenennen aller Instanzen", -- src\editor\editor.lua
["Replace A&ll"] = "A&lles ersetzen", -- src\editor\findreplace.lua
["Replace"] = "Ersetzen", -- src\editor\findreplace.lua
["Replace All Selections"] = "Alle Auswahlen ersetzen", -- src\editor\editor.lua
["Replace all"] = "Alles ersetzen", -- src\editor\toolbar.lua
["Replace next instance"] = "Nächste Instanz ersetzen", -- src\editor\toolbar.lua
["Replaced %d instance."] = {"Eine Instanz ersetzt.", "%d Instanzen ersetzt."}, -- src\editor\findreplace.lua
["Replaced an invalid UTF8 character with %s."] = "Unbekanntes UTF8-Symbol ersetzt mit %s.", -- src\editor\commands.lua
["Replaced"] = "Ersetzt:", -- src\editor\findreplace.lua
["Replacing"] = "Am Ersetzen", -- src\editor\findreplace.lua
["Reset to default layout"] = "Standard-Layout wiederherstellen", -- src\editor\menu_view.lua
["Resets the dynamic word list for autocompletion"] = "Zurücksetzen der Liste der dynamischen Wörter für Autovervollständigung", -- src\editor\menu_edit.lua
["Run as Scratchpad"] = "Als &Entwurf starten", -- src\editor\menu_project.lua
["Run As Scratchpad"] = "Als &Entwurf starten", -- src\editor\menu_project.lua
["Run To Cursor"] = "Stoppe Ausführung an Cursorposition", -- src\editor\menu_project.lua, src\editor\editor.lua
["Run as Scratchpad"] = "Als &Entwurf starten", -- src\editor\toolbar.lua
["Run to cursor"] = "Stoppe Ausführung an Cursorposition", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["S&top Debugging"] = "Debugging a&nhalten", -- src\editor\menu_project.lua
["S&top Process"] = "Prozeß &anhalten", -- src\editor\menu_project.lua
["Save &As..."] = "S&peichern als...", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save &As..."] = "S&peichern als...", -- src\editor\gui.lua, src\editor\menu_file.lua
["Save A&ll"] = "&Alle Speichern", -- src\editor\menu_file.lua
["Save Changes?"] = "Änderungen speichern?", -- src\editor\commands.lua
["Save all open documents"] = "Alle offenen Dokumente speichern", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save all open documents"] = "Alle offenen Dokumente speichern", -- src\editor\toolbar.lua, src\editor\menu_file.lua
["Save file as"] = "Datei speichern als", -- src\editor\commands.lua
["Save file?"] = "Datei speichern?", -- src\editor\commands.lua
["Save the current document to a file with a new name"] = "Aktuelles Dokument unter neuem Namen speichern", -- src\editor\menu_file.lua
["Save the current document"] = "Aktuelles Dokument speichern", -- src\editor\menu_file.lua, src\editor\gui.lua
["Saved auto-recover at %s."] = "Autowiederherstellen gespeichert unter %s.", -- src\editor\commands.lua
["Scope"] = "Richtung", -- src\editor\findreplace.lua
["Save the current document"] = "Aktuelles Dokument speichern", -- src\editor\toolbar.lua, src\editor\menu_file.lua
["Saved auto-recover at %s."] = "%s Autowiederherstellen gespeichert.", -- src\editor\commands.lua
["Scratchpad error"] = "Fehler im Entwurf", -- src\editor\debugger.lua
["Searching for"] = "Suchen nach", -- src\editor\findreplace.lua
["Select &All"] = "&Alles Auswählen", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Search direction"] = "Suchrichtung", -- src\editor\toolbar.lua
["Search in selection"] = "Suche in Auswahl", -- src\editor\toolbar.lua
["Search in subdirectories"] = "Suche in Unterverzeichnissen", -- src\editor\toolbar.lua
["Searching for '%s'."] = "Suche nach '%s'.", -- src\editor\findreplace.lua
["Sel: %d/%d"] = "Ausgew.: %d/%d", -- src\editor\editor.lua
["Select &All"] = "&Alles Auswählen", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Select And Find Next"] = "Auswählen und nächstes finden", -- src\editor\menu_search.lua
["Select And Find Previous"] = "Auswählen und vorheriges finden", -- src\editor\menu_search.lua
["Select all text in the editor"] = "Kompletten Text im Editor auswählen", -- src\editor\menu_edit.lua
["Select the word under cursor and find its next occurrence"] = "Wort unter dem Cursor auswählen und nächstes Auftauchen finden", -- src\editor\menu_search.lua
["Select the word under cursor and find its previous occurrence"] = "Wort unter dem Cursor auswählen und vorheriges Auftauchen finden", -- src\editor\menu_search.lua
["Set As Start File"] = "Als Startdatei definieren.", -- src\editor\filetree.lua
["Set From Current File"] = "Anhand der aktuellen Datei festlegen", -- src\editor\menu_project.lua
["Set project directory from current file"] = "Lege Projektverzeichnis anhand der aktuellen Datei fest", -- src\editor\menu_project.lua, src\editor\gui.lua
["Set To Project Directory"] = "Setze als Projektverzeichnis", -- src\editor\findreplace.lua
["Set To Selected Directory"] = "Setze auf ausgewähltes Verzeichnis", -- src\editor\filetree.lua
["Set project directory from current file"] = "Lege Projektverzeichnis anhand der aktuellen Datei fest", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Set project directory to the selected one"] = "Setze Projektverzeichnis auf das aktuell ausgewählte", -- src\editor\filetree.lua
["Set search directory"] = "Setze Suchverzeichnis", -- src\editor\toolbar.lua
["Set the interpreter to be used"] = "Wähle zu benutzenden Interpreter aus", -- src\editor\menu_project.lua
["Set the project directory to be used"] = "Lege zu benutzendes Projektverzeichnis fest", -- src\editor\menu_project.lua
["Set the project directory to be used"] = "Lege zu benutzendes Projektverzeichnis fest", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Settings: System"] = "Einstellungen: System", -- src\editor\menu_edit.lua
["Settings: User"] = "Einstellungen: Nutzer", -- src\editor\menu_edit.lua
["Show &Tooltip"] = "&Tooltip zeigen", -- src\editor\menu_edit.lua
["Show All Files"] = "Zeige alle Dateien", -- src\editor\filetree.lua
["Show Hidden Files"] = "Zeige versteckte Dateien", -- src\editor\filetree.lua
["Show Location"] = "Ordner öffnen", -- src\editor\gui.lua, src\editor\filetree.lua
["Show all files"] = "Zeige alle Dateien", -- src\editor\filetree.lua
["Show context"] = "Zeige Kontext", -- src\editor\toolbar.lua
["Show files previously hidden"] = "Zeige Dateien die zuvor versteckt wurden", -- src\editor\filetree.lua
["Show multiple result windows"] = "Zeige mehrere Ergebnisfenster", -- src\editor\toolbar.lua
["Show tooltip for current position; place cursor after opening bracket of function"] = "Zeige Tooltip für aktuelle Position; setze Cursor hinter die öffnende Klammer der Funktion", -- src\editor\menu_edit.lua
["Sort selected lines"] = "Ausgewählte Zeilen sortieren", -- src\editor\menu_search.lua
["Show/Hide the status bar"] = "Statuszeile zeigen/verstecken", -- src\editor\menu_view.lua
["Show/Hide the toolbar"] = "Werkzeugleiste zeigen/verstecken", -- src\editor\menu_view.lua
["Sort By Name"] = "Sortiere nach Namen", -- src\editor\outline.lua
["Sort selected lines"] = "Ausgewählte Zeilen sortieren", -- src\editor\menu_edit.lua
["Source"] = "Source", -- src\editor\menu_edit.lua
["Stack"] = "Stack", -- src\editor\debugger.lua
["Start &Debugging"] = "&Debugging starten", -- src\editor\menu_project.lua
["Start debugging"] = "Debugging starten", -- src\editor\menu_project.lua, src\editor\gui.lua
["Start or continue debugging"] = "Debuggen starten/fortsetzen", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Step &Into"] = "Schritt h&inein", -- src\editor\menu_project.lua
["Step &Over"] = "&Überspringen", -- src\editor\menu_project.lua
["Step O&ut"] = "Schritt &raus", -- src\editor\menu_project.lua
["Step into"] = "Schritt hinein", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step out of the current function"] = "Schritt aus der aktuellen Funktion heraus", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step over"] = "Überspringen", -- src\editor\menu_project.lua, src\editor\gui.lua
["Stop the currently running process"] = "Aktuell laufenden Prozeß stoppen", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step into"] = "Schritt hinein", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Step out of the current function"] = "Schritt aus der aktuellen Funktion heraus", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Step over"] = "Überspringen", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Stop debugging and continue running the process"] = "Beende debuggen und setze den Prozeß fort", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Stop the currently running process"] = "Aktuell laufenden Prozeß stoppen", -- src\editor\toolbar.lua, src\editor\menu_project.lua
["Switch to or from full screen mode"] = "Vollbild an/aus", -- src\editor\menu_view.lua
["Symbol Index"] = "Symbolindex", -- src\editor\outline.lua
["Text not found."] = "Text nicht gefunden.", -- src\editor\findreplace.lua
["The API file must be located in a subdirectory of the API directory."] = "Die API-Datei muß sich in einem Unterverzeichnis des API-Vereichnisses befinden.", -- src\editor\autocomplete.lua
["Toggle Break&point"] = "&Haltepunkt an/aus", -- src\editor\menu_project.lua
["Toggle breakpoint"] = "Haltepunkt an/aus", -- src\editor\menu_project.lua, src\editor\gui.lua
["The API file must be located in a subdirectory of the API directory."] = "Die API-Datei muß sich in einem Unterverzeichnis des API-Verzeichnisses befinden.", -- src\editor\autocomplete.lua
["Toggle Bookmark"] = "Lesezeichen setzen/löschen", -- src\editor\markers.lua, src\editor\menu_edit.lua
["Toggle Breakpoint"] = "Haltepunkt an/aus", -- src\editor\markers.lua, src\editor\menu_project.lua
["Toggle bookmark"] = "Lesezeichen setzen/löschen", -- src\editor\toolbar.lua, src\editor\menu_edit.lua, src\editor\markers.lua
["Toggle breakpoint"] = "Haltepunkt an/aus", -- src\editor\markers.lua, src\editor\toolbar.lua
["Tr&ace"] = "Ablauf &verfolgen", -- src\editor\menu_project.lua
["Trace execution showing each executed line"] = "Ablaufverfolgung zeigt jede ausgeführte Zeile an", -- src\editor\menu_project.lua
["Unable to create directory '%s'."] = "Kann kein Verzeichnis '%s' erstellen.", -- src\editor\filetree.lua
["Unable to create file '%s'."] = "Kann Datei '%s' nicht erstellen.", -- src\editor\filetree.lua
["Unable to delete directory '%s': %s"] = "Scheitern beim Löschen von Verzeichnis '%s': %s", -- src\editor\filetree.lua
["Unable to delete file '%s': %s"] = "Kann Datei '%s' nicht löschen: %s", -- src\editor\filetree.lua
["Unable to load file '%s'."] = "Scheitern beim Laden von Datei '%s'.", -- src\editor\commands.lua
["Unable to rename file '%s'."] = "Scheitern beim umbenennen von Datei '%s'.", -- src\editor\filetree.lua
["Unable to save file '%s': %s"] = "Scheitern beim Speichern von Datei '%s' : %s", -- src\editor\commands.lua
["Unable to stop program (pid: %d), code %d."] = "Scheitern beim Stoppen des Prozesses (pid : %d), code %d.", -- src\editor\debugger.lua
["Undo last edit"] = "Letzte Änderung rückgängig machen", -- src\editor\menu_edit.lua
["Unmap Directory"] = "virtuelle Einbindung beenden", -- src\editor\filetree.lua
["Unset '%s' As Start File"] = "'%s' ist nicht mehr Startdatei", -- src\editor\filetree.lua
["Updated %d file."] = {"Eine Datei aktualisiert", "%d Dateien aktualisiert."}, -- src\editor\findreplace.lua
["Updating symbol index and settings..."] = "Aktualisiere Symbolindex und Einstellungen...", -- src\editor\outline.lua
["Use %s to close."] = "%s zum Schließen.", -- src\editor\findreplace.lua
["Use '%s' to see full description."] = "'%s' für eine komplette Beschreibung.", -- src\editor\editor.lua
["Use '%s' to show line endings and '%s' to convert them."] = "'%s' um Zeilenende-Codes zu sehen, und '%s' um sie zu konvertieren.", -- src\editor\commands.lua
["Use 'clear' to clear the shell output and the history."] = "'clear' um Ausgabefenster und Verlauf zu löschen.", -- src\editor\shellbox.lua
["Use Shift-Enter for multiline code."] = "<Umsch-Eingabetaste> für Code in mehreren Zeilen.", -- src\editor\shellbox.lua
["Value"] = "Wert", -- src\editor\debugger.lua
["View the markers window"] = "Betrachte Markierungsfenster", -- src\editor\menu_view.lua
["View the outline window"] = "Übersichtsfenster ansehen", -- src\editor\menu_view.lua
["View the output/console window"] = "Ausgabe-/Konsolenfenster ansehen", -- src\editor\menu_view.lua
["View the project/filetree window"] = "Projekt-/Dateifenster ansehen", -- src\editor\menu_view.lua
["View the stack window"] = "Stapel/Stack-Fenster ansehen", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the watch window"] = "Fenster für Beobachtungspunkte ansehen", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the stack window"] = "Stapel/Stack-Fenster ansehen", -- src\editor\toolbar.lua, src\editor\menu_view.lua
["View the watch window"] = "Fenster für Beobachtungspunkte ansehen", -- src\editor\toolbar.lua, src\editor\menu_view.lua
["Watch"] = "Beobachtungspunkte", -- src\editor\debugger.lua
["Welcome to the interactive Lua interpreter."] = "Willkommen zum interaktiven Lua-Interpretr!", -- src\editor\shellbox.lua
["Wrap ar&ound"] = "Am Anfang fortsetzen", -- src\editor\findreplace.lua
["Wrap around"] = "Am Anfang fortsetzen", -- src\editor\toolbar.lua
["You must save the program first."] = "Erst das Programm speichern.", -- src\editor\commands.lua
["on line %d"] = "in Zeile %d", -- src\editor\debugger.lua, src\editor\commands.lua, src\editor\editor.lua
["traced %d instruction"] = {"%d Anweisung verfolgt", "%d Anweisungen verfolgt"} -- src\editor\debugger.lua
["Zoom In"] = "Hineinzoomen", -- src\editor\menu_view.lua
["Zoom Out"] = "Herauszoomen", -- src\editor\menu_view.lua
["Zoom to 100%"] = "Zoom zurücksetzen (100%)", -- src\editor\menu_view.lua
["Zoom"] = "Zoom", -- src\editor\menu_view.lua
["on line %d"] = "in Zeile %d", -- src\editor\debugger.lua, src\editor\editor.lua, src\editor\commands.lua
["traced %d instruction"] = {"%d Anweisung verfolgt", "%d Anweisungen verfolgt"}, -- src\editor\debugger.lua
["unknown error"] = "Unbekannter Fehler", -- src\editor\debugger.lua
}

Some files were not shown because too many files have changed in this diff Show More