Compare commits

...

1077 Commits
0.36 ... 0.90

Author SHA1 Message Date
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
Paul Kulchenko
a83f8bd5ac Updated CHANGELOG for 0.40. 2013-12-14 14:12:47 -08:00
Paul Kulchenko
92d08a0393 Updated Mobdebug (v0.55). 2013-12-14 14:10:54 -08:00
Paul Kulchenko
63eb7164b2 Added 'busted' interpreter. 2013-12-13 13:35:05 -08:00
Paul Kulchenko
23b37b397b Updated README. 2013-12-12 13:32:39 -08:00
Christoph Kubisch
cabc579b4b hlsl spec updated, glslc by default does some includes now 2013-12-11 13:02:12 +01:00
Paul Kulchenko
e08bb4f41d Updated samples with missing indicator constants (closes #243). 2013-12-10 15:22:23 -08:00
Paul Kulchenko
9e558fba3a Updated CHANGELOG with recent changes. 2013-12-06 22:09:02 -08:00
Paul Kulchenko
22cf8f86d6 Updated MANIFEST files for LuaDist changes (closes #225). 2013-12-04 14:18:23 -08:00
Paul Kulchenko
d1c49f065b Merge branch 'luadist-package' 2013-12-03 22:27:16 -08:00
Paul Kulchenko
5268b5fb0d Updated OSX executables and added 'fake' proxy for lua-dist support (ref #225).
LuaDist relies on using liblua.dylib for all its modules with the same
name for both Lua 5.1 and Lua 5.2 interpreters. This presents an issue for
ZBS as it needs not only to refer to a proper liblua.dylib, but also to
avoid loading two interpreters as its own interperter loads its own
library.

To resolve this, liblua.dylib doesn't export any symbols (it's a dummy
library), but it needs to be present to satisfy dyld dependency (as some
of the libraries and LuaDist build process are outside of our control).

All the other Lua symbols are already available in memory, but to make
LuaDist libraries to use them, we enforce flat namespace.
2013-12-03 15:28:40 -08:00
Paul Kulchenko
df6ac05478 Fixed values 'captured' by redirected 'print' and not collected (fixes #240). 2013-12-02 18:20:48 -08:00
Paul Kulchenko
a71cd3494b Added live coding support for GSL-shell (closes #239). 2013-12-01 18:32:19 -08:00
Paul Kulchenko
28f443f665 Disabled compilation check for scratchpad when skipcompile is set (ref #239). 2013-12-01 18:30:49 -08:00
Paul Kulchenko
1df2f42938 Updated handling of case-insensitive names during debugging on OSX (Mobdebug v0.545). 2013-11-29 16:56:30 -08:00
Paul Kulchenko
25d118c87d Updated package onEditorPreSave to be called on SaveAs events (ref #166). 2013-11-29 16:30:10 -08:00
Paul Kulchenko
18498e0aae Added support for product-specific links in the Help menu. 2013-11-29 11:06:03 -08:00
Paul Kulchenko
8819e337b8 Added 'edge' style to the color schemes (ref #237). 2013-11-27 14:50:55 -08:00
Paul Kulchenko
ef52c9d328 Added ability to set 'edge' style properties individually (ref #237). 2013-11-27 13:10:49 -08:00
Paul Kulchenko
e9d71b05b9 Fixed typo in fold style definition (ref #237). 2013-11-27 13:09:58 -08:00
Mike Richards
17fdbb3eda Add edge to styles 2013-11-27 13:54:30 -05:00
Mike Richards
133ebe2435 Add fold margin checker color to styles 2013-11-27 13:53:15 -05:00
Mike Richards
bf8450afe3 Add edge line and fold margin checker color 2013-11-27 13:47:37 -05:00
Paul Kulchenko
ec2775bb5a Fixed console output being limited in addition to stack result limit. 2013-11-22 11:32:32 -08: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
Paul Kulchenko
fe8b0eb7e8 Updated icon bundle to eliminate large icons.
The bundle file was generating "DIB Header: Image width > 32767 pixels for
file" errors in some (!) cases on Windows, which doesn't seem to happen
with the bundle that doesn't include 128x128 and 256x256 icons.
2013-11-20 16:33:53 -08:00
Christoph Kubisch
7958ebc2eb tidy up estrela tools a bit (remove key strokes from cgc, remove luxinia res viewer, rename perforce files to get loaded again) 2013-11-20 15:40:31 +01:00
Paul Kulchenko
9235722a76 Fixed hang in auto-complete on expressions involving '...' (fixes #235). 2013-11-19 23:15:14 -08:00
Paul Kulchenko
caa8241ca9 Fixed auto-complete for string values (broken by 933aacc2). 2013-11-19 23:11:14 -08:00
Paul Kulchenko
aeb266c95b Fixed using load.* commands in config files and reverted 4cb9ab/a8cfd2. 2013-11-19 16:44:57 -08:00
Christoph Kubisch
4cb9ab4662 bugfix in estrela.lua 2013-11-19 16:17:02 +01:00
Christoph Kubisch
8c3fde6755 changed glslc option to reflect new version 2013-11-19 16:05:53 +01:00
Christoph Kubisch
a8cfd219ce bugfix to estrela loading behavior (disabled by last zbstudio merge), please update user.lua with content from estrela.lua 2013-11-19 15:58:02 +01:00
Christoph Kubisch
f208454003 glsl additions 2013-11-19 15:56:58 +01:00
Paul Kulchenko
792f745832 Updated application icon to a bit brighter one on OSX (closes #196). 2013-11-17 21:05:20 -08:00
Paul Kulchenko
1106d861ba Removed some of the snippets as they are available as plugins. 2013-11-15 16:11:17 -08:00
Paul Kulchenko
355f72099e Updated build script on OSX to not require 10.6 SDK (closes #231). 2013-11-14 15:41:31 -08:00
Paul Kulchenko
292f7b176b Added changing directory when launching on Linux (closes #157). 2013-11-09 23:47:45 -08:00
Paul Kulchenko
be03488583 Fixed crash when LUA_DEV environmental variable is not set (fixes #228). 2013-11-08 17:23:05 -08:00
Paul Kulchenko
83a663c369 Added setting PATH for LfW to allow loading of DLL dependencies. 2013-11-03 23:13:32 -08:00
Paul Kulchenko
5afa0fe4e8 Added logic to set architecture dynamically for luadist (ref #225). 2013-10-31 11:56:04 -07:00
Paul Kulchenko
838eae88f4 Fixed cmake cache filename (ref #225). 2013-10-31 11:56:03 -07:00
Paul Kulchenko
b253853241 Added luadist bootstrap dependencies for Linux (ref #225). 2013-10-31 11:56:01 -07:00
Paul Kulchenko
d0584dd62f Fixed a luadist error thrown when retrieve_pkg_info fails (ref #225). 2013-10-31 11:56:00 -07:00
Paul Kulchenko
74b39853b2 Added option to load luadist as a module (ref #225). 2013-10-31 11:55:58 -07:00
Paul Kulchenko
6b0d279f37 Added luadist bootstrap dependencies for OSX (ref #225). 2013-10-31 11:55:57 -07:00
Paul Kulchenko
2a0ff7b7f8 Added proxy dll for Lua 5.2 (ref #225). 2013-10-31 11:55:56 -07:00
Paul Kulchenko
1f2ce466f5 Added luadist bootstrap dependencies for Windows (ref #225). 2013-10-31 11:55:54 -07:00
Paul Kulchenko
30dfe9e99b Added package GetInterpreters method (ref #166, #225). 2013-10-31 11:55:52 -07:00
Paul Kulchenko
3acb334623 Added package AddConsoleAlias/RemoveConsoleAlias methods (ref #166, #225). 2013-10-31 11:55:51 -07:00
Paul Kulchenko
27c0fb9c55 Disabled output activation for messages redirected to Console (ref #225). 2013-10-31 11:55:50 -07:00
Paul Kulchenko
96005b74d9 Updated instructions for building Lua 5.2 proxy dll. 2013-10-30 11:55:08 -07:00
Paul Kulchenko
8489658f7d Fixed incorrect UTF-8 sequence in UTF-8 validity check. 2013-10-29 17:52:55 -07:00
Paul Kulchenko
9b0f9e52be Store os specific clibs path to make it available to plugins. 2013-10-25 18:01:15 -07:00
Paul Kulchenko
bdee0aea26 Added version property to the Lua interpreters. 2013-10-25 17:58:21 -07:00
Paul Kulchenko
7d2982fdbd Added instructions for building proxy dll for Lua 5.2. 2013-10-25 17:50:25 -07:00
Paul Kulchenko
f57d254136 Added new location for Marmalade Quick v7+ and s3e path logic (fixes #226). 2013-10-24 16:55:40 -07:00
Paul Kulchenko
fca8c25862 Fixed Un/Comment menu for Output/Console windows. 2013-10-24 15:29:54 -07:00
Paul Kulchenko
8a5e66cfae Added directory creation (if needed) to file saving. 2013-10-23 21:15:26 -07:00
Paul Kulchenko
1ff0955c52 Merge branch 'project-settings' 2013-10-23 11:21:21 -07:00
Paul Kulchenko
3f4b711efe Added support for symlinks in the filetree (with recursion protection). 2013-10-22 17:09:44 -07:00
Paul Kulchenko
e79016323d Added package AddConfig/RemoveConfig methods (ref #166). 2013-10-22 11:39:57 -07:00
Paul Kulchenko
50f4daf0d5 Added package GetProject method (ref #166). 2013-10-22 11:39:21 -07:00
Paul Kulchenko
2452f963b5 Added package onProjectPreLoad method (ref #166). 2013-10-22 11:38:06 -07:00
Paul Kulchenko
3c87a0a86a Moved restoring project before loading files (ref #107).
This is needed to take project configuration into account before files are
loaded.
2013-10-22 11:36:12 -07:00
Paul Kulchenko
d818952900 Reorganized loading configuration files (ref #107). 2013-10-22 11:27:37 -07:00
Paul Kulchenko
799ee9061c Fixed format of the file name reported after compilation errors. 2013-10-21 22:09:22 -07:00
Paul Kulchenko
ca32b04038 Fixed jumping to compilation error (if any) after Run/Debug. 2013-10-21 21:38:07 -07:00
Paul Kulchenko
948c841552 Added workaround for conflict with Scintilla shortcuts on Linux.
Details: http://wxwidgets.10942.n7.nabble.com/Menu-shortcuts-inconsistentcy-issue-td85065.html
2013-10-19 21:15:13 -07:00
Paul Kulchenko
f5ce0698de Disabled commenting for file types that don't specify line comments. 2013-10-19 21:14:01 -07:00
Paul Kulchenko
21f0fa18b4 Merge branch 'filetree-operations' 2013-10-19 15:59:25 -07:00
Paul Kulchenko
ac02eac58a Updated menu definitions for consistency. 2013-10-18 17:55:33 -07:00
Paul Kulchenko
8a11400718 Updated use of unpack for consistency and Lua 5.2 compatibility. 2013-10-17 19:55:47 -07:00
Paul Kulchenko
8d2ec214f0 Updated 'Open with Default Program' on Windows to work with spaces in names (#123). 2013-10-17 14:46:07 -07:00
Paul Kulchenko
68b5a625ec Updated cmake installation script to install to '/Applications' on OSX. 2013-10-17 11:42:36 -07:00
Paul Kulchenko
2f3de56dde Updated OSX build script to revert wxwidgets commit to fix auto-complete crash. 2013-10-17 11:21:26 -07:00
Paul Kulchenko
dec1e9a534 Fixed disabling 'Open with Default Program' on OSX (ref #123). 2013-10-16 22:59:21 -07:00
Paul Kulchenko
c462ebfbcf Fixed file tree update after changes on OSX (ref #123). 2013-10-16 22:15:04 -07:00
Paul Kulchenko
85f3e5fa9b Fixed copying full path on OSX (ref #123). 2013-10-16 22:07:10 -07:00
Paul Kulchenko
22d70d3e58 Fixed 'Open with Default Program' for paths with spaces on Windows (ref #123). 2013-10-16 22:05:44 -07:00
Paul Kulchenko
e1dc8b7085 Added 'Open with Default Program' to file tree operations (ref #123). 2013-10-16 19:40:45 -07:00
Paul Kulchenko
0387661c67 Added toggling directory on Enter (ref #123). 2013-10-16 17:34:51 -07:00
Paul Kulchenko
5269f769c4 Added 'Copy Full Path' to file tree operations (ref #123). 2013-10-16 17:34:50 -07:00
Paul Kulchenko
3e5fc7ddd0 Added deleting file/directory to file tree operations (ref #123). 2013-10-16 17:34:40 -07:00
Paul Kulchenko
e7415e30c6 Added processing of packages from $HOME/.zbstudio/packages folder (#166). 2013-10-16 16:27:33 -07:00
Paul Kulchenko
124b570ad4 Updated Start debugging hint to clarify. 2013-10-16 15:34:43 -07:00
Paul Kulchenko
eda840d02d Fixed folding issue (caused by math.mod not available in LuaJIT). 2013-10-16 15:05:07 -07:00
Paul Kulchenko
88612ba72e Added 'New File' and 'New Directory' to file operations (ref #123). 2013-10-16 13:35:15 -07:00
Paul Kulchenko
b9f82e6c38 Updated single-click toggle to allow rename/move directories (ref #123). 2013-10-16 10:30:26 -07:00
Paul Kulchenko
bf3320b100 Updated normalization flags as some path parts were changed to dots. 2013-10-16 10:24:10 -07:00
Paul Kulchenko
e95749e9f8 Added error reporting for failed rename operations (ref #123). 2013-10-15 11:31:54 -07:00
Paul Kulchenko
913244102a Added re-opening editor tabs affected by directory move/rename (ref #123). 2013-10-15 11:02:23 -07:00
Paul Kulchenko
edc06b2a84 Added package FindDocumentsByPartialPath method (ref #166). 2013-10-15 10:39:11 -07:00
Paul Kulchenko
a15dd00a33 Added existing file overwrite confirmation when renaming (ref #123). 2013-10-15 09:40:15 -07:00
Paul Kulchenko
cde478baaf Added existing file overwrite confirmation when saving. 2013-10-15 09:39:50 -07:00
Paul Kulchenko
37a117a7c0 Removed 'file no longer exists' message after moving opened files (ref #123). 2013-10-15 09:11:22 -07:00
Paul Kulchenko
04e10efdc8 Added creating intermediate directories during file rename (ref #123). 2013-10-14 21:31:19 -07:00
Paul Kulchenko
5c94f7b775 Added in-place editing of file and folder names (ref #123). 2013-10-14 21:04:49 -07:00
Paul Kulchenko
8e64765f42 Updated editor tab processing using FindDocument method. 2013-10-14 17:04:13 -07:00
Paul Kulchenko
abc5ee0ebe Added refreshing editor tab after drag-n-drop operation (ref #123). 2013-10-14 17:03:23 -07:00
Paul Kulchenko
5c564a2d6e Added drag-n-drop operation to move files in the project tree (ref #123). 2013-10-13 22:50:42 -07:00
Paul Kulchenko
f539047802 Updated shortcut for Replace All to avoid conflict on OSX (fixes #220). 2013-10-13 20:53:56 -07:00
Paul Kulchenko
58b6c80dcb Added package AddMarker/RemoveMarker methods (ref #166). 2013-10-13 16:02:51 -07:00
Paul Kulchenko
4bce9e9b92 Added package GetStatusBar method (ref #166). 2013-10-13 16:02:50 -07:00
Paul Kulchenko
f4a48f5add Fixed debugger marker calculations to avoid marker conflicts. 2013-10-13 16:02:35 -07:00
Paul Kulchenko
230efa465c Fixed color references in marker config examples. 2013-10-12 23:03:31 -07:00
Paul Kulchenko
a6cd382a0f Fixed Step Over/Out to stay in the same coroutine; Mobdebug 0.543 (closes #217). 2013-10-12 10:59:38 -07:00
Paul Kulchenko
783eaf4241 Fixed case sensitivity in matching of file name in error messages (fixes #216). 2013-10-11 17:30:37 -07:00
Paul Kulchenko
3096b4dfc0 Fixed tab text after SaveAs and loading files into the same tab. 2013-10-11 17:30:26 -07:00
Paul Kulchenko
a4dad82b02 Updated MANIFEST to include all packages. 2013-10-10 11:34:52 -07:00
Paul Kulchenko
7e2ebfe88c Updated SetDocumentModified to use current tab text. 2013-10-08 14:15:15 -07:00
Paul Kulchenko
1d72d7670a Added package GetDocuments and document methods (ref #166). 2013-10-08 14:15:14 -07:00
Paul Kulchenko
c33bd66fe7 Added EscapeMagic function to escape magic characters. 2013-10-08 14:15:12 -07:00
Paul Kulchenko
49d7711b9b Added SciTeLuaIDE color scheme (thanks to Jayanth Acharya). 2013-10-08 11:52:49 -07:00
Paul Kulchenko
eb6aa586af Updated CHANGELOG for 0.39. 2013-10-06 14:27:51 -07:00
Paul Kulchenko
04d2ef75dc Updated README with passing directory as a parameter. 2013-10-05 22:54:54 -07:00
Paul Kulchenko
46e4704b07 Updated LICENSE information. 2013-10-05 22:50:47 -07:00
Paul Kulchenko
eb614b5ea6 Updated Windows build file for wxwidgets 3.0. 2013-10-03 17:25:29 -07:00
Paul Kulchenko
87d3e4abcd Fixed Lua 5.2 crash on OSX (added -O1). 2013-10-02 18:21:25 -07:00
Paul Kulchenko
428572cf7c Merge branch 'stack-limit' 2013-10-02 18:17:26 -07:00
Paul Kulchenko
1b65580088 Fixed onInterpreterLoad to only be called when interpreter changes. 2013-10-02 18:14:12 -07:00
Paul Kulchenko
be16e47a36 Added setting project directory when passed as a parameter. 2013-10-02 16:56:43 -07:00
Paul Kulchenko
b76a58cb8c Fixed missing keys in 'mixed' tables. 2013-10-01 20:46:16 -07:00
kikito
19f4ebed6f fix the fixutf8 function 2013-10-01 12:51:27 +02:00
Paul Kulchenko
4ab661bb8b Fixed handling of source code fragments in the Stack view. 2013-09-30 21:46:58 -07:00
Paul Kulchenko
1729aa25b8 Optimized handling of large tables in stack results. 2013-09-30 21:21:01 -07:00
Paul Kulchenko
687ccb3256 Disabled refreshing Watch/Stack windows when they get focus (corrects 91ccdd96).
This happens too frequently, including when clicked on stack elements,
which refreshes the stack instead of expanding/collapsing elements.
2013-09-28 19:40:40 -07:00
Paul Kulchenko
baad9cf946 Fixed Watch/Stack windows to refresh when shown (corrects 4da37969). 2013-09-27 19:39:19 -07:00
Paul Kulchenko
e662970cc8 Updated CHANGELOG with recent changes. 2013-09-26 21:22:39 -07:00
Paul Kulchenko
ea927292f8 Updated luasocket to patch connection reset issue (ref diegonehab/luasocket#81). 2013-09-26 15:15:35 -07:00
Paul Kulchenko
e90d403bc6 Added activation of windows with SDL_app class name (Moai support). 2013-09-25 17:53:41 -07:00
Paul Kulchenko
01afd985df Merge branch 'dockable-stack-watch-tabs' 2013-09-25 17:40:25 -07:00
Paul Kulchenko
1ef2b3e0e9 Added workaround for combined windows after dragging a tab on top of active tab. 2013-09-25 17:08:32 -07:00
Paul Kulchenko
7f80f36486 Fixed dragging tabs out of split notebooks. 2013-09-25 14:42:40 -07:00
Paul Kulchenko
91ccdd9679 Updated Watch/Stack tabs to refresh when they get focus. 2013-09-25 12:49:19 -07:00
Paul Kulchenko
4da379693c Updated Watch/Stack tabs to refresh only when shown. 2013-09-25 12:47:36 -07:00
Paul Kulchenko
c1cbd949e7 Added dragging Watch/Stack tabs out of docked panes. 2013-09-24 20:00:42 -07:00
Paul Kulchenko
10b1e34504 Added support for joining/splitting Watch/Stack with Output/Console tabs. 2013-09-24 13:35:42 -07:00
Paul Kulchenko
df0824d274 Updated settings restore to activate Output pane and set focus on the editor. 2013-09-24 13:15:43 -07:00
Paul Kulchenko
33b1f79bb8 Added disabling View menu for non-existing panes. 2013-09-24 10:41:28 -07:00
Paul Kulchenko
7f2744c4f5 Added package GetSetting method (ref #166). 2013-09-23 21:08:26 -07:00
Paul Kulchenko
1c4de98f98 Added selected index to package onMenuEditorTab event (ref #166). 2013-09-21 21:16:01 -07:00
Paul Kulchenko
9f392382a7 Fixed incorrect editor tab acted upon in split notebook situations. 2013-09-21 21:10:54 -07:00
Paul Kulchenko
f704baa004 Updated support for MOAI coroutine debugging (Mobdebug 0.541). 2013-09-21 18:15:34 -07:00
Paul Kulchenko
762babaaba Reorganized auto-complete handling; should fix #164. 2013-09-21 13:57:53 -07:00
Paul Kulchenko
7ae515e6db Removed duplicate KILL_FOCUS handlers. 2013-09-21 13:41:33 -07:00
Paul Kulchenko
456347e371 Added activation of windows with FREEGLUT class name (Moai support). 2013-09-20 23:07:29 -07:00
Paul Kulchenko
b82b2782d7 Fixed auto-complete suggestions for indentifiers matching partial function names. 2013-09-20 16:10:41 -07:00
Paul Kulchenko
933aacc2c9 Updated type assignment logic to remove spurious types. 2013-09-20 16:10:32 -07:00
Paul Kulchenko
c94b5e9e2e Improved file/debugger activation on Windows (ref #199).
File activation has been inconsistent, because IsActive() returns `true`,
when it shouldn't, so I changed the logic to request attention first and
then to load file.

Also, this caused a symbol to appear in the loaded file and it turned out
that 307 code we used to enable bringing the window to foreground, was not
correct.
2013-09-19 15:31:31 -07:00
Paul Kulchenko
61976d2a25 Reduced CPU usage while idle (ref #204, #206). 2013-09-19 15:29:44 -07:00
Paul Kulchenko
996a706c97 Added hiding console window for Corona (2013.8.28+) applications (Windows). 2013-09-18 16:29:38 -07:00
Paul Kulchenko
371dd269b0 Fixed hiding launched windows when running/debugging (Windows). 2013-09-18 16:26:10 -07:00
Paul Kulchenko
c16f26a7d9 Added suggesting dynamic words as fields in auto-complete. 2013-09-18 16:20:40 -07:00
Paul Kulchenko
18757f393b Fixed showing known functions in auto-complete. 2013-09-18 13:52:29 -07:00
Paul Kulchenko
ca3b2de447 Upgraded copas and coxpcall libraries (closes #144). 2013-09-18 13:47:41 -07:00
Paul Kulchenko
929615a7b8 Enabled faster static analysis; partially reverted 89cafbec (ref #149, #168).
The slower setting was too slow and too verbose.
2013-09-18 13:39:40 -07:00
Paul Kulchenko
689cd8cf85 Added socket.connect for compatibility with socket.core <3.0 (fixes #208). 2013-09-17 17:17:45 -07:00
Paul Kulchenko
80eab46c3e Added recalculating line number margin width after zooming (fixes #207). 2013-09-17 15:35:09 -07:00
Paul Kulchenko
7a40fb8f7f Added margin constants and removed unused variables. 2013-09-17 15:34:03 -07:00
Paul Kulchenko
813844d052 Updated Windows build script to enable gdb debugging. 2013-09-16 15:20:20 -07:00
Paul Kulchenko
06620745f3 Updated OSX build script to not strip debug builds. 2013-09-16 15:19:27 -07:00
Paul Kulchenko
1f51d803db Added reporting of socket error for initial debugger calls (Mobdebug 0.5403). 2013-09-15 14:29:23 -07:00
Paul Kulchenko
b7d9c7d2b0 Improved file activation for abbreviated file names in error messages. 2013-09-15 14:16:40 -07:00
Paul Kulchenko
d3ce3fb93d Added error handling/reporting for debugger.outputfilter. 2013-09-14 23:24:13 -07:00
Paul Kulchenko
85418cce0f Enabled editing watches with doubleclick or Enter. 2013-09-14 10:22:40 -07:00
Paul Kulchenko
87594dc7e5 Updated Corona interpreter to handle failure to copy debugger to Resources/ folder. 2013-09-13 10:01:47 -07:00
Paul Kulchenko
c68d60a6e9 Fixed showing output with invalid UTF8 characters in Stack and Console windows. 2013-09-12 23:55:11 -07:00
Paul Kulchenko
4993b3c20e Added 'debug' option to OSX build script. 2013-09-11 13:33:22 -07:00
Paul Kulchenko
e7ddadedb1 Updated build scripts with proper INSTALL_PREFIX option. 2013-09-11 13:29:44 -07:00
Christoph Kubisch
b4987b74ab Merge remote-tracking branch 'zbstudio/master' 2013-09-11 09:48:02 +02:00
Christoph Kubisch
52c1133c42 dx11 and glslc updates 2013-09-11 09:47:18 +02:00
Paul Kulchenko
e9b345476b Fixed saving new files (broken by f28d4da053). 2013-09-10 18:24:16 -07:00
Paul Kulchenko
2594a679f3 Fixed debugging on/off handling in 'main' thread for LuaJIT (MobDebug 0.5402). 2013-09-10 16:22:12 -07:00
Paul Kulchenko
446dec6768 Merge branch 'lua52-jit-support' 2013-09-10 13:59:45 -07:00
Paul Kulchenko
cd926d617e Merge branch 'goto-definition-and-back' 2013-09-10 13:58:49 -07:00
Paul Kulchenko
d40427155f Updated build scripts with new wxlua source URL and revision number. 2013-09-09 17:00:52 -07:00
Paul Kulchenko
d52a6c155f Added ability to modify exe path in base interpreter (ref #197). 2013-09-08 17:55:31 -07:00
Paul Kulchenko
6c300cda97 Changed 'go to definition' to Ctrl/Cmd+Alt+Click (ref #203).
Ctrl/Cmd+Click conflicts with both selection using Ctrl+selection (when
doing multiple selection) and with Ctrl/Cmd+DblClick when selecting all
instances of a variable. As there is no (straightforward) way to separate
single from double clicks, 'go to definition' is moved to avoid the
conflict.
2013-09-08 16:10:22 -07:00
Paul Kulchenko
f28d4da053 Fixed having duplicate tabs after SaveAs with existing file name. 2013-09-08 14:38:59 -07:00
Michal Kottman
3b4f5c4c0a Enable Ctrl+Click and Alt+Left navigation on local variables 2013-09-08 13:32:58 +02:00
Paul Kulchenko
858742bf05 Fixed showing redirected 'print' messages after debugging is terminated. 2013-09-06 21:29:33 -07:00
Paul Kulchenko
d559afd9e2 Updated CFBundleIdentifier in plist files to allow references from OSX programs. 2013-09-06 15:07:43 -07:00
Paul Kulchenko
9acec71c7a Added package GetEditorNotebook method (ref #166). 2013-09-06 15:01:34 -07:00
Paul Kulchenko
8568f61ba4 Added 'molokai' color scheme (ref #200). 2013-09-05 22:23:28 -07:00
Paul Kulchenko
19133b5a03 Fixed a (regression) issue with running the default interpreter (ref #201). 2013-09-05 10:10:17 -07:00
Christoph Kubisch
9a2c161328 added hlsl spec and basic api (note: currently autocomplete doesn't work on object functions, need fix). also fixed cg syntax lexer settings 2013-09-05 17:45:13 +02:00
ardente
5c6f2ffae3 allow to define separate lua 5.1 and 5.2 paths in user config 2013-09-05 16:16:52 +04:00
Paul Kulchenko
6714f29302 Updated un/comment to toggle selection as a group rather than line by line. 2013-09-04 19:09:28 -07:00
Paul Kulchenko
f0b7cff06a Added file activation for abbreviated file names in error messages. 2013-09-04 15:26:54 -07:00
Paul Kulchenko
25589fc45a Reorganized path separator handling to minimize use of global variables. 2013-09-04 12:00:57 -07:00
Paul Kulchenko
6a7c8e78c0 Added abbreviation of project directories to keep unique parts visible. 2013-09-03 22:35:33 -07:00
Paul Kulchenko
443f936ac6 Added debugger.redirect configuration option. 2013-09-02 21:07:48 -07:00
Paul Kulchenko
12525ad189 Added editor.saveallonrun configuration option. 2013-09-02 10:43:03 -07:00
Paul Kulchenko
69fae9a36c Fixed using default interpreter when no interpreter is selected. 2013-09-02 10:32:47 -07:00
Paul Kulchenko
725a38b182 Improved IDE activation during debugging on Windows (closes #199); thanks to jpoag. 2013-09-01 22:28:04 -07:00
Paul Kulchenko
13c4ca1a2f Fixed stepping through blocks with undefined variables when 'strict' is in effect (upgraded Mobdebug to 0.5401). 2013-09-01 21:17:47 -07:00
Paul Kulchenko
3e68447415 Updated CHANGELOG with recent changes. 2013-08-29 19:19:42 -07:00
Paul Kulchenko
63e1e56c28 Updated OSX/Windows manifests with new binaries (closes #197). 2013-08-29 12:42:28 -07:00
Paul Kulchenko
3ace5133bf Updated Linux files with LuaJIT, Lua5.2 and lua socket libraries (ref #197). 2013-08-29 12:37:28 -07:00
Paul Kulchenko
f8491464bd Updated OSX files with LuaJIT, Lua5.2 and lua socket libraries (ref #197). 2013-08-29 09:25:13 -07:00
Paul Kulchenko
01b8eea47b Replaced Lua 5.1 with LuaJIT as the default interpreter on Windows (ref #197). 2013-08-28 22:23:13 -07:00
Paul Kulchenko
e9a42f724a Updated build script for Lua JIT (Win) to enable LUA52COMPAT option (ref #197). 2013-08-28 22:12:44 -07:00
Paul Kulchenko
63861614c7 Added Lua 5.2 (Win) library and luasocket (ref #197). 2013-08-27 19:26:41 -07:00
Paul Kulchenko
4bd5b5d329 Reorganized Lua interpreter to allow for different Lua versions (ref #197). 2013-08-27 19:24:55 -07:00
Paul Kulchenko
91455261c9 Updated luasocket to 3.0rc1 to use with Lua 5.1 and 5.2 (ref #197). 2013-08-27 17:55:08 -07:00
Paul Kulchenko
3a7df5f5af Added luasocket, lua5.2, and luaJIT build support (ref #197). 2013-08-27 17:49:26 -07:00
Paul Kulchenko
0419e6812b Added package GetOutput method (ref #166). 2013-08-27 14:15:36 -07:00
Paul Kulchenko
cd1b9d7cd2 Added package onAppLoad/onAppClose events (ref #166). 2013-08-27 14:14:36 -07:00
Paul Kulchenko
d63dda5e6a Cleaned up code. 2013-08-27 14:12:29 -07:00
Paul Kulchenko
32f4b8694b Updated NewFile to accept a file name. 2013-08-27 11:19:50 -07:00
Paul Kulchenko
2dbb6644cb Fixed loading of files with incorrect UTF-8 encoding and control characters (fixes #198). 2013-08-27 10:11:32 -07:00
Paul Kulchenko
649e3c620a Added package onIdleOnce event (ref #166). 2013-08-26 20:22:16 -07:00
Paul Kulchenko
0e7bb32024 Fixed package sample to take into account new documents. 2013-08-25 19:19:30 -07:00
Paul Kulchenko
96f0f876bf Renamed package onEditorPostSave event to onEditorSave for consistency (ref #166). 2013-08-24 17:02:06 -07:00
Paul Kulchenko
58a494931c Added manifest to the Windows executable and re-signed. 2013-08-23 16:04:08 -07:00
Paul Kulchenko
f04160fad1 Updated 'get hostname' logic to avoid using non-resolvable names (mostly on OSX). 2013-08-22 20:38:02 -07:00
Paul Kulchenko
671c62871a Added Notepad++ color scheme (thanks to Florian/SiENcE; closes #193). 2013-08-21 08:54:03 -07:00
Paul Kulchenko
6a6e7ec770 Fixed crash on OSX after opening 'application' in 'Open File' dialog. 2013-08-20 14:55:09 -07:00
Paul Kulchenko
eff4eb8b05 Disabled markup styling for specs without comment styles. 2013-08-20 12:09:02 -07:00
Paul Kulchenko
2781c0ea00 Removed comment from default spec as it forces undesired markup styling. 2013-08-20 12:08:27 -07:00
Paul Kulchenko
fa507450e4 Added clearing document styles after saving file with a different extension. 2013-08-20 12:04:11 -07:00
Paul Kulchenko
a4f069afc0 Fixed windows resource file to properly reference the manifest. 2013-08-17 22:24:50 -07:00
Paul Kulchenko
f3b84edc24 Fixed missing default api for files with unknown extensions. 2013-08-16 21:59:17 -07:00
Paul Kulchenko
ba1c1a678e Added workaround to avoid crash on OSX after Close All Pages (closes #190).
The issue is with wxwidgets (filed as ticket 15417); the only workaround I
have been able to find is to disable this functionality on OSX (as there
are other alternatives to closing tabs in groups). The issue only happens
when the last tab is closed from the drop down menu linked to editor tabs.
2013-08-15 15:54:43 -07:00
Paul Kulchenko
267deea3df Merge branch 'master' of git://git.code.sf.net/p/estrelaeditor/code into estrela-new 2013-08-15 15:36:18 -07:00
Paul Kulchenko
1089f2619e Added return type for string.* functions to assist in auto-complete (ref #189). 2013-08-14 12:43:55 -07:00
Paul Kulchenko
e8c5e7fd78 Added handling of string literals in type assignments (closes #189). 2013-08-14 12:37:49 -07:00
Christoph Kubisch
ff6deedf79 OpenGL 4.4 and ARB extensions added as well as NV_gpu_shader5 functions 2013-08-14 14:19:50 +02:00
Paul Kulchenko
52c7150e51 Switched to using POSIX compatible regexp with '()' used for captures. 2013-08-13 14:50:21 -07:00
Paul Kulchenko
24555a3b3d Fix spurious replacement after 'search, clear selection, replace' actions. 2013-08-13 14:47:01 -07:00
Paul Kulchenko
cc432b65b0 Added support for captures in regexp replacement (\1-\9). 2013-08-13 14:39:06 -07:00
Paul Kulchenko
8d1cca26a3 Fixed using auto-complete with multiple selections (fixes #188). 2013-08-11 15:04:42 -07:00
Paul Kulchenko
c077c94371 Fixed looping in auto-complete with array references (ref #143). 2013-08-11 15:00:32 -07:00
Paul Kulchenko
1ba300213d Added ability to cancel FindInFiles search by closing search dialog (ref #162). 2013-08-10 21:38:50 -07:00
Paul Kulchenko
3fbf0ef81b Added activating Output window before showing search results (ref #162). 2013-08-10 21:38:11 -07:00
Paul Kulchenko
aced5d1bc3 Changed un/comment to act from the beginning of the line for multi-line selection.
Fixed handling of EOL markers (un/commenting doesn't modify them anymore).
Added processing of rectangular selections.
2013-08-09 14:52:25 -07:00
Paul Kulchenko
bf072c1685 Added support for packages from different platforms to co-exist (ref #166). 2013-08-07 23:23:14 -07:00
Paul Kulchenko
4215054b87 Improved logic to jump to file/line indicated in error messages. 2013-08-06 09:20:15 -07:00
Paul Kulchenko
cd85d6f2e8 Added ability to save complex data in package settings (ref #166). 2013-08-05 19:12:05 -07:00
Paul Kulchenko
6fc448b87c Fixed incorrect change for line count calculation for dynamic words.
Fixed commit d6cda0d677.
2013-08-04 22:20:59 -07:00
Paul Kulchenko
d6cda0d677 Optimized line count calculation for dynamic words when text is deleted. 2013-08-04 22:12:13 -07:00
Paul Kulchenko
5355234b85 Fixed showing auto-complete after comma. 2013-08-04 21:37:26 -07:00
Paul Kulchenko
700dfe1765 Optimized dynamic word processing for large files. 2013-08-04 20:29:41 -07:00
Paul Kulchenko
1c068c221f Merge branch 'master' of git://git.code.sf.net/p/estrelaeditor/code into estrela-changes 2013-08-04 17:51:53 -07:00
Paul Kulchenko
5679d90bcd Added support for multiple inheritance in auto-complete (ref #101). 2013-08-03 15:38:24 -07:00
Paul Kulchenko
9b5f6fa67f Added ability to add/remove API descriptions from plugins (ref #166). 2013-08-02 11:05:00 -07:00
Christoph Kubisch
a8060b63cd updated glewgl api for OpenGL4.4 and removed non-core duplicate functions/enums 2013-08-02 10:23:52 +02:00
Paul Kulchenko
7324afb8e3 Reorganized API processing to allow loading API description from a plugin. 2013-08-01 11:03:23 -07:00
Paul Kulchenko
e209f3f440 Added package GetSettings/SetSettings methods (ref #166). 2013-07-28 22:24:44 -07:00
Paul Kulchenko
08ef16a42d Added methods to save/restore package settings (ref #166). 2013-07-27 22:23:41 -07:00
Paul Kulchenko
4fafcff592 Fixed 'cannot get official hostname' message on low privilege accounts (fixes #183). 2013-07-26 08:15:53 -07:00
Paul Kulchenko
6e0e3d07e3 Updated Estrela reference in README. 2013-07-25 14:49:03 -07:00
Paul Kulchenko
fb9c0ba0a6 Disabled showing tooltip when auto-complete suggestions are shown. 2013-07-25 14:48:27 -07:00
Paul Kulchenko
1b4f707232 Updated build script on Windows to enable debugging (ref #164). 2013-07-24 09:50:49 -07:00
Paul Kulchenko
1749c54f71 Updated build script with a (temporary) fix for wxlua issue (mingw32). 2013-07-24 09:48:51 -07:00
Paul Kulchenko
e4201b745c Fixed displaying variable instances when code has invalid blocks (fixes #182). 2013-07-23 14:50:29 -07:00
Paul Kulchenko
9c810b3520 Fixed tooltip to ignore string parameters (ref #101). 2013-07-23 10:07:29 -07:00
Paul Kulchenko
93d3b69335 Removed auto-complete suggestion when it is already typed (ref #101). 2013-07-22 18:45:44 -07:00
Paul Kulchenko
35617caa0e Updated tooltip to use the same type inference as auto-complete (ref #101). 2013-07-22 18:21:52 -07:00
Paul Kulchenko
e07ed0a817 Fixed tooltip display between empty brackets (ref #101). 2013-07-22 17:49:39 -07:00
Paul Kulchenko
aeb35ebf6f Added ability to add/remove specs from plugins (ref #166). 2013-07-22 16:11:18 -07:00
Paul Kulchenko
c84bd3222b Enabled support for xml/html folding. 2013-07-21 22:22:30 -07:00
Paul Kulchenko
e398a216a8 Added ability to add/remove interpreters from plugins (ref #166). 2013-07-20 23:21:44 -07:00
Paul Kulchenko
4137b9d88d Added wxlua patch for twoface compatibility. 2013-07-20 15:17:09 -07:00
Paul Kulchenko
a630dd95c7 Added setfenv for Lua 5.2 compatibility. 2013-07-19 12:51:53 -07:00
Paul Kulchenko
0b748d6389 Updated static analyzer to report only first instance of 'unknown field'. 2013-07-18 16:28:12 -07:00
Paul Kulchenko
790f9d5b45 Added links to project page and documentation (closes #180). 2013-07-18 15:26:00 -07:00
Paul Kulchenko
43513c9153 Updated filename/source code heuristic in the debugger (Mobdebug 0.5362).
If the "chunkname" has no newline, it's treated as a file name.
This helps with handling cases when the application engine reports
filenames without @ (for example, when they are loaded using
loadstring("chunk", "file") instead of loadstring("chunk", "@file"));
also helps with debugging cocos2dx apps that load Lua files.
2013-07-18 15:20:59 -07:00
Paul Kulchenko
f58f185850 Enabled path remapping for local debugging.
This helps in local debugging when project files are copied to a temporary
location, but need to be debugged from the project folder (for example,
with debugging of cocos2d-x apps in iOS simulator).
2013-07-18 14:10:54 -07:00
Paul Kulchenko
ebbeb107a7 Disabled error reporting after debugging has been terminated. 2013-07-17 16:54:12 -07:00
Paul Kulchenko
e0674f9c9a Limited activation of code fragments to the beginning of debugging session.
This can still be configured using `editor.autoactivate` option.
2013-07-16 16:52:31 -07:00
Paul Kulchenko
89cafbec45 Enabled slower and more thorough static analysis (ref #149; ref #168). 2013-07-15 22:02:30 -07:00
Paul Kulchenko
e0f543c262 Updated CHANGELOG with recent changes. 2013-07-14 20:27:24 -07:00
Paul Kulchenko
b73526586c Fixed indentation after lines with brackets in strings. 2013-07-13 09:14:12 -07:00
Paul Kulchenko
cc177264f6 Fixed indentation after lines with anonymous functions. 2013-07-12 22:49:55 -07:00
Paul Kulchenko
2f98bc30a6 Added German translation (thanks to Riidom; ref #70). 2013-07-11 16:38:32 -07:00
Paul Kulchenko
b9374894c9 Set search in subdirectories as default in Find in Files dialog (ref #162). 2013-07-10 16:32:26 -07:00
Paul Kulchenko
17a995a810 Fixed indicator showing at the end of not terminated long comment. 2013-07-09 22:54:23 -07:00
Paul Kulchenko
35d1bc0f03 Fixed an issue with LUA_DEV including files instead of directories. 2013-07-07 23:35:15 -07:00
Paul Kulchenko
6f044d8b2e Added default value to package config (ref #176). 2013-07-06 15:27:31 -07:00
Paul Kulchenko
735f8492e2 Fixed project switching to close all files when switching to a subdirectory.
Some of the files could have been left open if the name starts with
the name of a subdirectory the project is being switched to.
2013-07-05 16:52:22 -07:00
Paul Kulchenko
4eb57fcbda Fixed saving projects that do not have any open files. 2013-07-04 16:48:12 -07:00
Paul Kulchenko
c882b8d0e0 Added handling of ?51.dll and required DLLs for LuaForWindows interpreter. 2013-07-03 17:40:01 -07:00
Paul Kulchenko
ce8552f044 Added plugin::GetConfig method (ref #166). 2013-07-03 14:25:06 -07:00
ardente
6968364c58 windows: adopt native user home 2013-07-03 16:39:57 +04:00
Paul Kulchenko
9ab72209c2 Added erasing current line in Console (ref #173). 2013-07-01 18:46:31 -07:00
Paul Kulchenko
c872934157 Added search/completion in the local and remote console (closes #173). 2013-06-30 20:41:42 -07:00
Paul Kulchenko
ea2d7c289a Replaced package onEditorActivated event with onEditorFocus* events (ref #166). 2013-06-30 13:09:44 -07:00
Paul Kulchenko
19ab4df922 Updated SaveAll to allow saving (only) files with filenames (ref #172).
This is useful when `SaveAll` is called from a plugin and user interaction
(asking for a file name) is not desired.
2013-06-30 10:06:19 -07:00
Paul Kulchenko
7dda2c00fd Added package onAppFocus* events (ref #166; ref #172). 2013-06-30 09:27:16 -07:00
Paul Kulchenko
3d3ae5ca00 Fixed debugger to accept filenames without '@'; thanks to Tim Mensch (closes #174). 2013-06-28 21:55:27 -07:00
Paul Kulchenko
28c3b79b8b Added Chinese translation (thanks to Chow CheeWen; ref #70). 2013-06-28 21:37:05 -07:00
Paul Kulchenko
a91bba8bd0 Added editor.autoreload to enable reload of updated files (ref #172).
Thanks for Tim Mensch for suggestion and implementation.
2013-06-26 23:27:31 -07:00
Paul Kulchenko
ed874063ea Added creating (missing) folders when saving a file (fixes #171). 2013-06-25 17:10:57 -07:00
Paul Kulchenko
6259918648 Added an example of styling individual keywords. 2013-06-24 21:03:07 -07:00
Paul Kulchenko
0995c5a061 Added fold indication of a current block (ref #168). 2013-06-24 21:01:49 -07:00
Paul Kulchenko
f07e42c4b4 Fixed sorting when the sorted fragment ends with a newline. 2013-06-24 17:15:02 -07:00
Paul Kulchenko
7e62939df6 Moved 'Sort' menu to 'Edit'. 2013-06-24 17:12:26 -07:00
Paul Kulchenko
b57bf55ef0 Added reporting of process id for a conflicting process. 2013-06-23 21:58:40 -07:00
Paul Kulchenko
8ed91f76cc Disabled 'Fold' menu instead of removing when no folding is allowed (ref #169). 2013-06-22 22:14:20 -07:00
Mika Attila
9e6ec10be9 Make code folding optional
Some users might consider code folding a needless distraction.
Several editors offer the option to turn code folding off.

This commit adds the editor.fold option, which is a boolean.
true enables code folding (default)
false disables code folding
2013-06-22 12:02:31 +02:00
Paul Kulchenko
115924d567 Fixed missing markdown styling after text removal. 2013-06-21 15:39:53 -07:00
Paul Kulchenko
cc9f9bb49d Updated documentation for 0.38. 2013-06-21 13:58:16 -07:00
Paul Kulchenko
418aef7065 Fixed clearing masked indicators on updated lines. 2013-06-21 09:06:50 -07:00
Paul Kulchenko
0f2e74a098 Added sorting of file lists on Linux (used in the filetree and file search). 2013-06-20 20:15:16 -07:00
Paul Kulchenko
2bc125e616 Disabled following symlinks during directory scanning to avoid infinite loops. 2013-06-20 20:13:50 -07:00
Paul Kulchenko
6b349bbef0 Set default directory for Find in Files opened from a new file (#ref 162). 2013-06-20 20:06:12 -07:00
Paul Kulchenko
7fbcb0b6c7 Fixed looping in auto-complete when indexes are used (fixes #143). 2013-06-20 14:54:13 -07:00
Paul Kulchenko
adb49b8007 Added removing comments for more robust type assignment analysis. 2013-06-20 14:23:23 -07:00
Paul Kulchenko
fb381eaadb Updated LuaForWindows interpreter to set basedir to match current directory. 2013-06-20 14:21:45 -07:00
Paul Kulchenko
8ad9e83b92 Added support for changing the Corona simulator skin (closes #151). 2013-06-19 21:52:40 -07:00
Paul Kulchenko
b8d331b8a9 Updated configuration example for variable indicators. 2013-06-19 21:50:51 -07:00
Paul Kulchenko
76f6fdade6 Updated Gideros auto-complete API to add global objects. 2013-06-19 10:30:51 -07:00
Paul Kulchenko
2fd08a751a Fixed possible duplicate paths in the filetree. 2013-06-18 23:10:43 -07:00
Paul Kulchenko
d5d6247286 Added LuaForWindows interpreter (thanks to Tom Burgel). 2013-06-18 17:52:26 -07:00
Paul Kulchenko
1af5b5e10c Added resetting breakpoints when needed for source code debugging. 2013-06-18 16:52:52 -07:00
Paul Kulchenko
4eda473d9f Added package onEditorCharAdded/onEditorKeyDown events (ref #166). 2013-06-18 12:51:51 -07:00
Paul Kulchenko
58c416e148 Updated capitalization for editor menu items. 2013-06-18 09:27:17 -07:00
Paul Kulchenko
5787dae35c Updated CHANGELOG with recent changes. 2013-06-17 21:29:52 -07:00
Paul Kulchenko
ec1a87f219 Fixed an error when closing editor tab that is still being styled. 2013-06-17 15:57:28 -07:00
Paul Kulchenko
e9728b2a4a Updated Gideros API to separate 'functions' from 'methods'. 2013-06-16 19:29:24 -07:00
Paul Kulchenko
a9c7e247fe Removed duplicates from auto-complete suggestions. 2013-06-16 16:24:18 -07:00
Fringale
0b0d95b2bf Updated French translation with latest string changes (mostly for find/replace dialogs). 2013-06-16 18:55:03 +02:00
Paul Kulchenko
32c3723bcc Updated Marmalade Quick auto-complete API to use class inheritance. 2013-06-14 18:40:34 -07:00
Paul Kulchenko
9d11df3ebe Updated Gideros auto-complete API to use class inheritance. 2013-06-14 18:34:01 -07:00
Paul Kulchenko
14b6568eb5 Added inheritance support for auto-complete API. 2013-06-14 18:33:06 -07:00
Paul Kulchenko
4d8e5647a6 Fixed missing numerical keys in serialized tables (upgraded Mobdebug to 0.535). 2013-06-14 10:15:36 -07:00
Paul Kulchenko
6a3aafc6fa Add package onEditor* events (closes #166). 2013-06-13 22:31:57 -07:00
Paul Kulchenko
8ee608c761 Added package onInterpreterLoad/onInterpreterClose events (ref #166). 2013-06-13 22:31:56 -07:00
Paul Kulchenko
120bc5b48b Added package onProjectLoad/onProjectClose events (ref #166). 2013-06-13 22:31:47 -07:00
Paul Kulchenko
f23ca203ca Added package onMenu* events (ref #166). 2013-06-13 22:31:28 -07:00
Paul Kulchenko
a390825676 Added package onRegister/onUnRegister events (ref #166). 2013-06-13 22:31:16 -07:00
Paul Kulchenko
baa76790e5 Fixed (regression) issue with setting breakpoints before debugging is started. 2013-06-12 10:41:07 -07:00
Paul Kulchenko
344835bf28 Added 'Show Location' to the Project/Filetree menu. 2013-06-12 09:53:12 -07:00
Paul Kulchenko
b9ecfd9284 Added hidpi option to enable HiDPI/Retina display support (closes #160). 2013-06-11 15:37:09 -07:00
Paul Kulchenko
9175bdd3ed Ugraded Mobdebug to 0.534 for debugging of source code fragments. 2013-06-10 00:28:09 -07:00
Paul Kulchenko
e07ac2109a Added breakpoint support for unnamed code fragments. 2013-06-09 00:19:15 -07:00
Paul Kulchenko
77588aa757 Added support for debugging (stepping through) unnamed code fragments. 2013-06-08 00:16:12 -07:00
Paul Kulchenko
065a6f933c Added LuaSec to win32 build script. 2013-06-07 23:10:39 -07:00
Paul Kulchenko
dee316094f Added package/plugin processing. 2013-06-08 13:31:32 -07:00
Paul Kulchenko
30bb8c29a6 Updated Gideros API/auto-complete reference. 2013-06-07 10:44:43 -07:00
Paul Kulchenko
4e66f20078 Allowed tab width and indentation to be set independently. 2013-06-06 23:00:44 -07:00
Paul Kulchenko
a4c503027a Fixed styling of markup that can be affected by folded lines. 2013-06-06 10:07:48 -07:00
Paul Kulchenko
3a5ef4b5e4 Updated markup to allow opening files from new buffers ('untitled'). 2013-06-06 10:07:46 -07:00
Paul Kulchenko
666024a77a Refactored Project tree handling. 2013-06-06 10:07:45 -07:00
Paul Kulchenko
501ba761a9 Added support for 'silent' execution of shell commands in markup. 2013-06-06 10:07:43 -07:00
Paul Kulchenko
66cc79a3fe Added Find Next/Previous over selected variable instances (ref #163). 2013-06-05 10:02:28 -07:00
Paul Kulchenko
a5d5fd729a Fixed value selection with multiple active selections. 2013-06-04 14:34:36 -07:00
Paul Kulchenko
6ad74e09a9 Improved error reporting in interpreters on failures to copy the debugger. 2013-06-04 14:03:38 -07:00
Paul Kulchenko
87dd7edf61 Fixed style compatibility with wxwidgets 2.8 (ref #128). 2013-06-04 13:28:28 -07:00
Paul Kulchenko
06356f6940 Added debugger.allowediting option to allow editing while debugging. 2013-06-03 22:01:37 -07:00
Paul Kulchenko
a4d423c685 Fixed error reporting by (internal) file operations. 2013-06-03 20:50:56 -07:00
Paul Kulchenko
32e828088b Fixed styling comments that start with markup symbols. 2013-06-03 20:38:35 -07:00
Paul Kulchenko
dcfc212bf4 Added skiping binary files during file search (ref #162). 2013-06-03 20:34:53 -07:00
Paul Kulchenko
790d1a6516 Added yield to update search results during file search (ref #162). 2013-06-03 20:34:42 -07:00
Paul Kulchenko
bc660522d5 Added showing default extensions in the file search (ref #162). 2013-06-03 20:34:05 -07:00
Paul Kulchenko
3cc29e1301 Added support for multiple file extensions in the file search (ref #162). 2013-06-03 20:33:16 -07:00
Paul Kulchenko
7b87bc3d88 Added saving folder to search files in (ref #162). 2013-05-31 17:37:26 -07:00
Paul Kulchenko
837a242bbd Fixed restoring a session with one of the files deleted on disk (fixes #161). 2013-05-30 20:06:38 -07:00
Paul Kulchenko
c2ddc72829 Added support for styles.fncall for backward compatibility. 2013-05-30 10:42:00 -07:00
Paul Kulchenko
045b9ad932 Added instance counter to 'Select all Instances'. 2013-05-29 21:26:11 -07:00
Paul Kulchenko
f0b007ff75 Updated activation of 'Select all Instances' to Ctrl/Cmd-DblClick (closes #159). 2013-05-29 20:09:33 -07:00
Paul Kulchenko
c2022a2d33 Added transparency to additional selections (ref #159). 2013-05-29 18:10:09 -07:00
Paul Kulchenko
0c1ef8870e Fixed main selection in 'Select all Instances' to avoid cursor jumps (ref #159). 2013-05-29 18:09:00 -07:00
Paul Kulchenko
22716e9d20 Disabled showing tooltip when the app is in the background (fixes #158). 2013-05-29 13:47:15 -07:00
Paul Kulchenko
34f4564ec0 Fixed reporting variable instances for comment/string fragments. 2013-05-28 13:34:59 -07:00
Paul Kulchenko
e26db06ede Added configuration for analizer indicator styles. 2013-05-28 13:29:37 -07:00
Paul Kulchenko
7384afa325 Moved Lua specific logic for variable indicators to the spec file. 2013-05-27 21:39:28 -07:00
Paul Kulchenko
209756349c Suppressed tooltips with empty descriptions. 2013-05-27 20:41:39 -07:00
Paul Kulchenko
294d19806b Fixed instance selection for local a = a type localization. 2013-05-27 17:44:58 -07:00
Paul Kulchenko
2dc5f85dbb Fixed masking of implicit self parameter. 2013-05-27 14:10:30 -07:00
Paul Kulchenko
f2aeebb8f6 Added a style for masking variables. 2013-05-27 11:58:05 -07:00
Paul Kulchenko
63cc789959 Fixed masking of variables that could reference incorrect location. 2013-05-27 11:32:28 -07:00
Paul Kulchenko
bf19bf7e39 Fixed parser reporting (internal) error on invalid code. 2013-05-26 16:27:32 -07:00
Paul Kulchenko
776888838b Fixed an error when quick search fails with multiple fragments. 2013-05-26 16:13:22 -07:00
Paul Kulchenko
29738092e7 Added selecting all instances with a double-click on a variable. 2013-05-26 16:11:53 -07:00
Paul Kulchenko
c8b669bb80 Added styles and config options for analizer indicators. 2013-05-25 22:41:53 -07:00
Paul Kulchenko
398f3dee55 Added autoanalizer option for dynamic static analysis. 2013-05-25 22:15:40 -07:00
Paul Kulchenko
54db8d28f0 Fixed masking by a statement at the end of file. 2013-05-25 22:15:39 -07:00
Paul Kulchenko
6531ff3c66 Fixed 'Rename Instances' to always reset previous selection. 2013-05-25 22:15:37 -07:00
Paul Kulchenko
cd27b14152 Fixed popup menu logic for one character variables. 2013-05-25 22:15:36 -07:00
Paul Kulchenko
3da05c2a7e Fixed showing all instances of a variable. 2013-05-25 22:15:35 -07:00
Paul Kulchenko
df58fadd15 Fixed masking of function parameters and loop variables. 2013-05-25 22:15:33 -07:00
Paul Kulchenko
48b596af01 Added 'Go To Definition' and 'Rename All Instances'. 2013-05-25 22:15:32 -07:00
Paul Kulchenko
dc36a0f6da Added masking for parameters in variable indication. 2013-05-25 22:15:31 -07:00
Paul Kulchenko
a9488870b3 Added initial support for indicating local/global variables. 2013-05-25 22:15:30 -07:00
Paul Kulchenko
924f1ad89a Disabled 'value' tooltip over variables that match known function names (ref #101). 2013-05-25 22:14:16 -07:00
Paul Kulchenko
bcf0b2ee7b Added showing tooltip in any position over a term and showing 'values' (ref #101). 2013-05-24 16:17:28 -07:00
Paul Kulchenko
74572a9765 Added disabling tooltip when context menu is shown. 2013-05-24 16:17:20 -07:00
Paul Kulchenko
b445ab7810 Fixed auto-complete error for '%dddd' strings (fixes #156). 2013-05-22 14:25:34 -07:00
Paul Kulchenko
52e9b1764b Added 'fixing' path returned by wxDirDialog; may be incorrect in 2.9.x. 2013-05-21 14:21:24 -07:00
Paul Kulchenko
bcabcc7ea6 Added constant initialization missing on ArchLinux with wxlua 2.8.12.2 (fixes #155; ref #128). 2013-05-20 18:29:25 -07:00
Paul Kulchenko
e0dcf5448a Removed sorting in the Stack view to keep the order of table elements. 2013-05-20 09:29:43 -07:00
Paul Kulchenko
f6877667bf Updated Stack view navigation to use clicked on instead of active item. 2013-05-20 08:17:05 -07:00
Paul Kulchenko
de491e1876 Fixed an issue with showing filenames that include '"?*:<>' on OSX/Linux. 2013-05-19 14:15:40 -07:00
Paul Kulchenko
103fdb553c Fixed current line marker being shown using 'Run as Scratchpad' with
'runonstart' option.
2013-05-18 22:15:45 -07:00
Paul Kulchenko
575107c2ae Updated build scripts to use luasocket 2.0.3. 2013-05-18 10:56:11 -07:00
Paul Kulchenko
7dc69a8959 Added support for table valuetypes in auto-complete for foo[index]: (ref #101). 2013-05-17 11:50:41 -07:00
Paul Kulchenko
3fce412df1 Added navigation to the line of code in the Stack Window (thanks to George Pimm; closes #134). 2013-05-15 11:40:57 -07:00
Paul Kulchenko
d6e1a2f8dd Fixed looping in auto-complete (fixes #151). 2013-05-14 11:30:03 -07:00
Paul Kulchenko
b21864a974 Added Show Location to the editor tab menu. 2013-05-13 13:59:18 -07:00
Paul Kulchenko
6108865ed2 Improved focus on the debugger when a breakpoint hits on OSX (fixes #141). 2013-05-13 13:56:24 -07:00
Paul Kulchenko
cb2cb9ff3c Fixed incorrect localization that led to an error in 'Save' from tab menu. 2013-05-13 13:52:52 -07:00
Paul Kulchenko
099f9f92fa Updated linux build files to use latest zlib/libpng to fix png load on Gentoo. 2013-05-12 21:20:08 -07:00
Paul Kulchenko
5449ed237a Updated 'Find in Files' to start in the project folder by default. 2013-05-11 14:22:23 -07:00
Paul Kulchenko
fae664ac0d Allowed closing editor tabs while debugger is running. 2013-05-10 14:13:50 -07:00
Paul Kulchenko
71b4f47159 Added support for absolute filenames in Markdown links. 2013-05-09 16:22:49 -07:00
Paul Kulchenko
347b53659c Updated CHANGELOG for 0.37. 2013-05-09 13:54:45 -07:00
Paul Kulchenko
16f32e0df5 Updated interpreters and tests after API changes. 2013-05-09 12:41:04 -07:00
Paul Kulchenko
171287fac6 Added Russian translation for Find/Replace dialog (ref #70). 2013-05-08 21:46:10 -07:00
Paul Kulchenko
9d05cd6931 Added Russian translation for the Preferences menu (ref #70). 2013-05-07 21:57:48 -07:00
Paul Kulchenko
a9e847372a Added Preferences menu to simplify access to system/user settings. 2013-05-06 10:05:13 -07:00
Paul Kulchenko
1eba53cc0e Fixed loading a non-existing file. 2013-05-05 22:02:07 -07:00
Paul Kulchenko
c5a0077a01 Fixed filtering out directories when spec is specified. 2013-05-05 22:01:04 -07:00
Paul Kulchenko
2b07dd1db4 Separated settings for function dropdown and project tree fonts (fixes #148). 2013-05-04 16:03:18 -07:00
Paul Kulchenko
28b3380a45 Fixed hiding all panels when switching to Full Screen mode. 2013-05-04 10:40:39 -07:00
Paul Kulchenko
564338656d Updated CHANGELOG with recent changes. 2013-05-04 10:39:57 -07:00
Paul Kulchenko
29b2e4f5ec Fixed activation of non-existing files/folders in the Project tree. 2013-05-04 10:06:35 -07:00
Paul Kulchenko
c7ab3aeb32 Refactored and optimized directory scanning when loading IDE files. 2013-05-02 16:24:25 -07:00
Paul Kulchenko
4b771dafe4 Added 'wlua' to the list of recognized Lua extensions. 2013-05-02 13:13:27 -07:00
Paul Kulchenko
71393bd35a Fixed search results for lines without newline. 2013-05-01 15:10:17 -07:00
Paul Kulchenko
f7e2697e56 Fixed Find/Replace in folders with Unicode names (fixes #147); improved performance. 2013-05-01 15:03:59 -07:00
Paul Kulchenko
608644bd83 Added 'shaking' Find/Replace window when text is not found (closes #146). 2013-05-01 11:20:49 -07:00
Paul Kulchenko
7563e52aba Fixed Un/Comment commands executed for empty lines. 2013-05-01 09:10:08 -07:00
Paul Kulchenko
039dde0ccb Fixed fold/unfold for files starting with block/comment. 2013-04-30 22:26:47 -07:00
Paul Kulchenko
abbde79ab0 Fixed history after activating non-existing file in Recent Files. 2013-04-30 18:09:09 -07:00
Paul Kulchenko
ead958e603 Added disabling Recent Files menu if the list is empty. 2013-04-29 22:00:33 -07:00
Paul Kulchenko
6b7f310cd7 Added TomorrowContrast color scheme (thanks to Sergey Lerg). 2013-04-28 17:49:41 -07:00
Paul Kulchenko
451186ac4e Fixed scrolling to restored cursor position on OSX (when usewrap = false). 2013-04-27 14:58:42 -07:00
Paul Kulchenko
b8b3b7f0af Fixed Find/Replace dialog to take Enter on OSX (fixes #140). 2013-04-26 11:01:45 -07:00
Paul Kulchenko
5ee71feac4 Updated CHANGELOG with recent changes. 2013-04-26 10:58:51 -07:00
Paul Kulchenko
a2e65e2bbd Updated Marmalade interpreter with Quick 1.1 path changes. 2013-04-26 10:48:35 -07:00
Paul Kulchenko
e8ad508021 Updated Watch/Stack panels min size to make them dockable with other panels. 2013-04-26 09:05:20 -07:00
Paul Kulchenko
aa2a4fac2b Added detaching a child process to avoid crash when exiting during debugging. 2013-04-24 22:53:56 -07:00
Paul Kulchenko
d5fda558c1 Fixed loading an empty recent file history. 2013-04-24 21:55:23 -07:00
Paul Kulchenko
171b98717a Fixed 'breaking' after executing OUT command that never reaches the target level. 2013-04-24 21:40:01 -07:00
Paul Kulchenko
da07ef0e2c Added a check to fix assertions in debug build. 2013-04-24 21:36:22 -07:00
Paul Kulchenko
6c9e226d67 Added Recent File history navigation (closes #66). 2013-04-24 14:02:17 -07:00
Paul Kulchenko
d3884358be Fixed stopping at a breakpoint at the initial line when startwith option is specified. 2013-04-24 12:30:58 -07:00
Paul Kulchenko
0ebeee3641 Fixed activation of a file loaded into active tab. 2013-04-23 19:58:10 -07:00
Paul Kulchenko
bd190d5a4e Added Marmalade auto-complete support and API documentation. 2013-04-23 15:49:19 -07:00
Paul Kulchenko
b1f09b9ef0 Fixed an occasional crash on OSX introduced by a duplicate line fix. 2013-04-23 10:34:52 -07:00
Paul Kulchenko
ac556aea34 Updated documentation about default EOL on OSX (ref #102). 2013-04-22 21:37:02 -07:00
Paul Kulchenko
87ab3702fe Fixed incorrect tab activation on OSX after using 'Open File'. 2013-04-22 18:24:08 -07:00
Paul Kulchenko
83556f9ab2 Improved file activation when debugging is started (closes #137). 2013-04-21 22:35:03 -07:00
Paul Kulchenko
43c18552c1 Added processing of runonstart when using remote debugging (closes #138). 2013-04-21 19:04:26 -07:00
Paul Kulchenko
dc54c76435 Updated highlighting in Watch windows to not use editor styles.
This is to avoid color conflicts with dark color schemes.
2013-04-21 18:47:14 -07:00
Paul Kulchenko
9a16cd026f Fixed editor activation when file is loaded into an existing tab. 2013-04-21 18:43:51 -07:00
Paul Kulchenko
e4710a16b0 Refactored Recent Files history to make it faster and simpler. 2013-04-21 17:33:47 -07:00
Paul Kulchenko
ae2e99f6d3 Fixed an error after opening non-existing file from 'Recent Files'. 2013-04-20 15:38:32 -07:00
Paul Kulchenko
c182a19fa5 Added suggesting proper extension after 'Save/Save As' based on current spec. 2013-04-19 15:09:22 -07:00
Paul Kulchenko
2ddeaf4eb8 Updated Russian 'watch' translation for consistency. 2013-04-19 09:24:59 -07:00
Paul Kulchenko
b4fd071efb Fixed blocking on reading app output without processing other events. 2013-04-18 17:24:30 -07:00
Paul Kulchenko
9344280d5b Fixed an issue with duplicate lines shown in the editor.
This can happen when the line is too long for one line and can wrap; if it
also includes hidden markup (Markdown in comments), this markup can change
the length of the line, but it's not adjusted by Scintilla after the
markup is applied. Force adjustment when this situation is detected.
2013-04-18 12:42:43 -07:00
Paul Kulchenko
ad037536cd Updated documentation for user settings (ref #113, #55). 2013-04-17 21:08:32 -07:00
Paul Kulchenko
d8e8af00b6 Added translation setup for Find/Replace dialog (closes #133). 2013-04-17 18:07:45 -07:00
Paul Kulchenko
1e651a97b7 Fixed 'Replace All' to take 'Wrap Around' into account (fixes #132). 2013-04-17 16:45:19 -07:00
Paul Kulchenko
c2e49e169f Added tests. 2013-04-17 12:26:47 -07:00
Paul Kulchenko
6662cb0f5e Fixed off-by-one error in searching consecutive matches. 2013-04-17 12:18:19 -07:00
Paul Kulchenko
c00d85890a Fixed 'Quick Find' not working without current selection (fixes #131). 2013-04-17 12:01:51 -07:00
Paul Kulchenko
c42c9ffb3d Reduced the minimum size of the Output/Console panel. 2013-04-16 17:31:16 -07:00
Paul Kulchenko
b5661976eb Fixed looping in auto-complete on mistyped class (fixes #130). 2013-04-16 10:22:02 -07:00
Paul Kulchenko
c1e66f8fc2 Fixed compatibility with wx2.8 (thanks to Samuel Dionne-Riel; closes #128). 2013-04-15 18:14:12 -07:00
Paul Kulchenko
c2715040fe Added nomousezoom option to disable zoom with mouse wheel in the editor. 2013-04-15 18:12:15 -07:00
Paul Kulchenko
fc17dac2a5 Added selecting text and Cmd-F shortcut in Find dialog on OSX (ref #127). 2013-04-15 18:10:16 -07:00
Paul Kulchenko
0dfd8e3ba1 Fixed replacement logic in Find/Replace that could replace selected fragment (ref #127). 2013-04-15 18:06:59 -07:00
Paul Kulchenko
acbfd6d81d Fixed an error caused by allowing multiple Search/Replace windows (fixes #127). 2013-04-15 10:23:17 -07:00
Paul Kulchenko
0d268a01e1 Updated Monokai color scheme to fix current line color. 2013-04-13 09:46:08 -07:00
Paul Kulchenko
1e9cbb4633 Updated CHANGELOG with recent changes. 2013-04-12 12:25:34 -07:00
Paul Kulchenko
7d3683df98 Updated About screen to be more configurable and flexible. 2013-04-12 12:22:17 -07:00
Paul Kulchenko
3b10bbbcd2 Fixed launch command for Corona debugging on Windows. 2013-04-11 09:23:52 -07:00
Paul Kulchenko
3ea40683c9 Added handling of Ctrl-Home and Ctrl-End on OSX (ref #89). 2013-04-10 21:55:03 -07:00
Paul Kulchenko
e6b789131a Added line copy/cut for Ctrl-C/Ctrl-X with no selection. 2013-04-10 21:53:16 -07:00
Paul Kulchenko
613dec0571 Fixed 'control' check on OSX that changed with wx2.9.2+ (ref #89). 2013-04-10 18:23:10 -07:00
Paul Kulchenko
36b3692e9e Fixed wrong tab activated on OSX after using New file in some cases.
This is caused by two PAGE_CHANGED event for the notebook triggered
when the current tab is not the last one (in wx2.9.5+). This could lead to
a crash if the incorrect tab is closed (ref #89).
2013-04-10 18:18:35 -07:00
Paul Kulchenko
59cde2fc8c Fixed cursor not being visible in some cases after file is loaded (ref #116). 2013-04-10 15:32:31 -07:00
Paul Kulchenko
e8027b3b95 Updated Russian translation (thanks to toiffel). 2013-04-09 22:12:22 -07:00
322 changed files with 44782 additions and 25717 deletions

File diff suppressed because it is too large Load Diff

64
LICENSE
View File

@@ -136,43 +136,59 @@ 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 License ]]----------------------------------------------
LuaFileSystem was designed by Roberto Ierusalimschy, André Carregal and Tomás
Guisasola as part of the Kepler Project, which holds its copyright.
Homepage: http://www.keplerproject.org/luafilesystem/index.html
License: http://www.keplerproject.org/luafilesystem/license.html
--[[ LuaSockets License ]]-------------------------------------------------
Copyright: © 2004-2006 Diego Nehab. All rights reserved.
Homepage: http://www.cs.princeton.edu/~diego/professional/luasocket/
License: http://www.lua.org/copyright.html (same as LUA)
--[[ ZMQ License ]]--------------------------------------------------------
--[[ Serpent License ]]----------------------------------------------------
Copyright: © 2007-2011 iMatix Corporation and Contributors
Homepage: http://www.zeromq.org/
License: http://www.zeromq.org/area:licensing
Copyright (c) 2011-2013 Paul Kulchenko (paul@kulchenko.com)
LuaZMQ
Copyright: © 2011 by Robert G. Jakabosky
Homepage: https://github.com/Neopallium/lua-zmq
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:
--[[ MojoShader License ]]-------------------------------------------------
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
Copyright: © 2008-2010 Ryan C. Gordon
Homepage: http://icculus.org/mojoshader/
License: http://hg.icculus.org/icculus/mojoshader/raw-file/tip/LICENSE.txt
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.
--[[ CLCC License ]]-------------------------------------------------------
--[[ LuaJIT License ]]-----------------------------------------------------
Copyright: © 2009 Organic Vectory B.V.
Homepage: http://clcc.sourceforge.net/
License: boost
Copyright © 2005-2013 Mike Pall, released under the MIT open source license.
CLCC was modified by Christoph Kubisch to support multiple platforms and
output file generation.
--[[ WinAPI License ]]-----------------------------------------------------
Copyright (C) 2011 Steve Donovan.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--[[ MobDebug License ]]---------------------------------------------------

View File

@@ -1,9 +1,20 @@
# 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, Lua 5.2, Lua 5.3, LuaJIT,
[Löve 2D](http://notebook.kulchenko.com/zerobrane/love2d-debugging),
[Moai](http://notebook.kulchenko.com/zerobrane/moai-debugging-with-zerobrane-studio),
[Gideros](http://notebook.kulchenko.com/zerobrane/gideros-debugging-with-zerobrane-studio-ide),
[Corona](http://notebook.kulchenko.com/zerobrane/debugging-and-live-coding-with-corona-sdk-applications-and-zerobrane-studio),
[Marmalade Quick](http://notebook.kulchenko.com/zerobrane/marmalade-quick-debugging-with-zerobrane-studio),
[Cocos2d-x](http://notebook.kulchenko.com/zerobrane/cocos2d-x-simulator-and-on-device-debugging-with-zerobrane-studio),
[GSL-shell](http://notebook.kulchenko.com/zerobrane/gsl-shell-debugging-with-zerobrane-studio),
[Adobe Lightroom](http://notebook.kulchenko.com/zerobrane/debugging-lightroom-plugins-zerobrane-studio-ide),
[OpenResty/Nginx](http://notebook.kulchenko.com/zerobrane/debugging-openresty-nginx-lua-scripts-with-zerobrane-studio)
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,35 +22,61 @@ 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 support for local and remote 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, keywords (e.g. glsl);
- apis (api/): for code-completion and tool-tips;
- interpreters (interpreters/): how a project is run;
- config (cfg/): contains style and basic editor settings;
- tools (tools/): additional tools (e.g. DirectX/Cg shader compiler...).
* 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),
Lua 5.3,
[LuaJIT](http://studio.zerobrane.com/doc-luajit-debugging.html),
and [other Lua engines](http://studio.zerobrane.com/documentation.html#debugging).
* [Live coding](http://studio.zerobrane.com/documentation.html#live_coding)
with [Lua](http://notebook.kulchenko.com/zerobrane/live-coding-in-lua-bret-victor-style),
[Löve 2D](http://notebook.kulchenko.com/zerobrane/live-coding-with-love),
[Gideros](http://notebook.kulchenko.com/zerobrane/gideros-live-coding-with-zerobrane-studio-ide),
[Moai](http://notebook.kulchenko.com/zerobrane/live-coding-with-moai-and-zerobrane-studio),
[Corona SDK](http://notebook.kulchenko.com/zerobrane/debugging-and-live-coding-with-corona-sdk-applications-and-zerobrane-studio),
GSL-shell, and other engines.
* 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.html);
- interpreters (`interpreters/`): components for setting debugging and run-time project environment;
- packages (`packages/`): [plugins](http://studio.zerobrane.com/doc-plugin.html) that provide additional functionality;
- config (`cfg/`): settings for styles, color themes, and other preferences;
- translations (`cfg/i18n/`): [translations](http://studio.zerobrane.com/doc-translation.html) of the menus and messages to other languages;
- tools (`tools/`): additional tools.
## Screenshot
## Documentation
![ZeroBrane Studio debugger screenshot](http://studio.zerobrane.com/images/debugging.png)
* 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).
## Installation
ZeroBrane Studio can be installed into and run from any folder.
No compilation is needed, although the scripts to compile required libraries for Windows, OSX, and Linux platforms are available in the `build/` folder.
## Usage
```
Open file(s):
zbstudio <filename> [<filename>...]
any non-option will be treated as filename
any non-option will be treated as a file to open or a directory to set as the project directory
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>]
e.g.: zbstudio -cfg "editor.fontsize=12" somefile.lua
Loading custom configuration:
zbstudio -cfg config/file.lua [<filename>]
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+).
## Author
### ZeroBrane Studio and MobDebug
@@ -52,12 +89,13 @@ Loading custom configuration:
## Where is Estrela?
The projects have been merged and zbstudio will lead the future.
Please reassociate files with zbstudio. 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 projects have been merged and ZeroBrane Studio will lead the future.
Please reassociate files with ZeroBrane Studio. To keep your history of files
and projects copy the contents of the `EstrelaEditor.ini` in your HOME
directory to `ZeroBraneStudio.ini`. If you have used Estrela for graphics
shader authoring or luxinia, create/modify the `cfg/user.lua` to include the
content of `cfg/estrela.lua` to load all tools and specifications by default
again.
## License

View File

@@ -64,6 +64,11 @@ smoothstep = fn "clip and smooth blend [a,b]. - (vecN)(vecN a, b, x)",
floatBitsToInt = fn "returns the 32-bit integer representation of an IEEE 754 floating-point scalar or vector - (uintN/intN)(floatN)",
intBitsToFloat = fn "returns the float value corresponding to a given bit represention.of a scalar int value or vector of int values. - (floatN)(intN)",
uintBitsToFloat = fn "returns the float value corresponding to a given bit represention.of a scalar int value or vector of int values. - (floatN)(uintN)",
doubleBitsToInt64 = fn "returns the 64-bit integer representation of an IEEE 754 double precision floating-point scalar or vector - (int64N)(doubleN)",
doubleBitsToUint64 = fn "returns the 64-bit integer representation of an IEEE 754 double precision floating-point scalar or vector - (uint64N)(doubleN)",
int64BitsToDouble = fn "returns the double value corresponding to a given bit represention.of a scalar int value or vector of int values. - (doubleN)(uint64N)",
uint64BitsToDouble = fn "returns the double value corresponding to a given bit represention.of a scalar int value or vector of int values. - (doubleN)(uint64N)",
fma = fn "return a*b + c, treated as single operation when using precise - (vecN a, vecN b, vecN c)",
frexp = fn "splits scalars and vectors into normalized fraction [0.5,1.0) and a power of 2. - (vecN)(vecN x, out vecN e)",
ldexp = fn "build floating point number from x and the corresponding integral exponen of 2 in exp. - (vecN)(vecN x, exp)",
@@ -73,12 +78,19 @@ packUnorm4x8 = fn "Converts each comp. of v into 8-bit ints, packs results into
packSnorm4x8 = fn "Converts each comp. of v into 8-bit ints, packs results into the returned 32-bit uint. - (uint)(vec4 v)",
packDouble2x32 = fn "Packs components of v into a 64-bit value and returns a double-prec value. - (double)(uvec2 v)",
packHalf2x16 = fn "Converts each comp. of v into 16-bit half float, packs results into the returned 32-bit uint. - (uint)(vec2 v)",
packInt2x32 = fn "Packs two 32 bit into one 64-bit value. - (int64_t)(ivec2)",
packUint2x32 = fn "Packs two 32 bit into one 64-bit value. - (uint64_t)(uvec2)",
packFloat2x16 = fn "returns an unsigned integer obtained by interpreting the components of a two-component 16-bit floating-point as integers and packing them into 32 bit. - (uint)(f16vec2 v)",
unpackUnorm2x16 = fn "Unpacks 32-bit p into two 16-bit uints and converts them to normalized float. - (vec2)(uint p)",
unpackUnorm4x8 = fn "Unpacks 32-bit p into four 8-bit uints and converts them to normalized float. - (vec4)(uint p)",
unpackSnorm4x8 = fn "Unpacks 32-bit p into four 8-bit uints and converts them to normalized float. - (vec4)(uint p)",
unpackDouble2x32 = fn "Returns a 2 component vector representation of v. - (uvec2)(double v)",
unpackHalf2x16 = fn "Interprets p as two 16-bit half floats and returns them as vector. - (vec2)(uint p)",
unpackInt2x32 = fn "Unpacks 64-bit into two 32-bit values. - (ivec2)(int64_t)",
unpackUint2x32 = fn "Unpacks 64-bit into two 32-bit values. - (uvec2)(uint64_t)",
unpackFloat2x16 = fn "returns a two-component vector with 16-bit floating-point components obtained by unpacking a 32-bit unsigned integer into a pair of 16-bit values. - (f16vec2)(uint)",
length = fn "return scalar Euclidean length of a vector. - (type)(vecN)",
distance = fn "return the Euclidean distance between two points. - (vecN)(vecN a, b)",
@@ -118,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)",
@@ -141,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])",
@@ -170,6 +203,10 @@ textureGather = fn "gather lookup (pixel quad of 4 single channel samples at onc
textureGatherOffset = fn "gather lookup (pixel quad of 4 single channel samples at once) with offset. Component 0: x, 1: y ... is ignored for shadow samplers instead reference value must be passed. Only 2D/Cube. Illegal for MS. - (vec4)(samplerN, vecN coord, [float shadowRefZ], intN offset / intN offset[4] , [int comp])",
texelFetch = fn "integer coordinate lookup for a single texel. No lod parameter for Buffer, MS, Rect. Illegal for Cube - (vec4)(samplerN, intN coord, [int lod/sample])",
texelFetchOffset = fn "integer coordinate lookup for a single texel with offset. No lod parameter for Buffer, MS, Rect. Illegal for Cube, Buffer, MS. - (vec4)(samplerN, intN coord, [int lod/sample], intN offset)",
anyInvocationARB = fn "returns true if and only if <value> is true for at least one active invocation in the group. - (bool)(bool value)",
allInvocationsARB = fn "returns true if and only if <value> is true for all active invocations in the group - (bool)(bool value)",
allInvocationsEqualARB = fn "returns true if <value> is the same for all active invocation in the group. - (bool)(bool value)",
}
local keyw =
@@ -178,6 +215,18 @@ local keyw =
ivec2 ivec3 ivec4 uvec2 uvec3 uvec4 bvec2 bvec3 bvec4
mat2 mat3 mat4 mat2x2 mat3x3 mat4x4 mat2x3 mat3x2 mat4x2 mat2x4 mat4x3 mat3x4
dmat2 dmat3 dmat4 dmat2x2 dmat3x3 dmat4x4 dmat2x3 dmat3x2 dmat4x2 dmat2x4 dmat4x3 dmat3x4
float16_t f16vec2 f16vec3 f16vec4
float32_t f32vec2 f32vec3 f32vec4
float64_t f64vec2 f64vec3 f64vec4
int8_t i8vec2 i8vec3 i8vec4
int8_t i8vec2 i8vec3 i8vec4
int16_t i16vec2 i16vec3 i16vec4
int32_t i32vec2 i32vec3 i32vec4
int64_t i64vec2 i64vec3 i64vec4
uint8_t u8vec2 u8vec3 u8vec4
uint16_t u16vec2 u16vec3 u16vec4
uint32_t u32vec2 u32vec3 u32vec4
uint64_t u64vec2 u64vec3 u64vec4
struct typedef void
usampler1D usampler2D usampler3D usampler2DRect usamplerCube isampler1DArray usampler2DARRAY usamplerCubeArray usampler2DMS usampler2DMSArray
isampler1D isampler2D isampler3D isampler2DRect isamplerCube isampler1DArray isampler2DARRAY isamplerCubeArray isampler2DMS isampler2DMSArray
@@ -189,7 +238,7 @@ local keyw =
layout location vertices line_strip triangle_strip max_vertices stream
triangles quads equal_spacing isolines fractional_even_spacing lines points
fractional_odd_spacing cw ccw point_mode lines_adjacency triangles_adjacency
invocations
invocations offset align xfb_offset xfb_buffer
origin_upper_left pixel_center_integer depth_greater depth_greater depth_greater depth_unchanged
smooth flat noperspective highp mediump lowp shared packed std140 std430 row_major column_major buffer
gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_Color gl_SecondaryColor
@@ -205,6 +254,9 @@ local keyw =
gl_FragData gl_FragDepth gl_SampleMask
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 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

60
api/hlsl/dx11.lua Normal file
View File

@@ -0,0 +1,60 @@
-- authors: Luxinia Dev (Eike Decker & Christoph Kubisch)
---------------------------------------------------------
local function fn (description)
local description2,returns,args = description:match("(.+)%-%s*(%b())%s*(%b())")
if not description2 then
return {type="function",description=description,
returns="(?)"}
end
return {type="function",description=description2,
returns=returns:gsub("^%s+",""):gsub("%s+$",""), args = args}
end
local api = {}
local funcs = [[
abs acos all AllMemoryBarrier AllMemoryBarrierWithGroupSync any asdouble asfloat asin asint asuint atan atan2 ceil clamp clip cos cosh countbits cross ddx ddx_coarse ddx_fine ddy ddy_coards ddy_fine degrees determinant DeviceMemoryBarrier DeviceMemoryBarrierWithGroupSync distance dot dst EvaluateAttributeAtCentroid EvaluateAttributeAtSample EvaluateAttributeSnapped exp exp2 f16tof32 f32tof16 faceforward firstbithigh firstbitlow floor fmod frac frexp fwidth GetRenderTargetSampleCount GetRenderTargetSamplePosition GroupMemoryBarrier GroupMemoryBarrierWithGroupSync InterlockedAdd InterlockedAnd InterlockedCompareExchange InterlockedExchange InterlockedMax InterlockedMin IntterlockedOr InterlockedXor isfinite isinf isnan ldexp length lerp lit log log10 log2 mad max min modf mul normalize pow Process2DQuadTessFactorsAvg Process2DQuadTessFactorsMax Process2DQuadTessFactorsMin ProcessIsolineTessFactors ProcessQuadTessFactorsAvg ProcessQuadTessFactorsMax ProcessQuadTessFactorsMin ProcessTriTessFactorsAvg ProcessTriTessFactorsMax ProcessTriTessFactorsMin radians rcp reflect refract reversebits round rsqrt saturate sign sin sincos sinh smoothstep sqrt step tan tanh transpose trunc
]]
for w in funcs:gmatch("([_%w]+)") do
api[w] = {type="function",returns="(?)"}
end
local objfuncs = [[
Append RestartStrip CalculateLevelOfDetail CalculateLevelOfDetailUnclamped GetDimensions GetSamplePosition Load Sample SampleBias SampleCmp SampleCmpLevelZero SampleGrad SampleLevel Load2 Load3 Load4 Consume Store Store2 Store3 Store4 DecrementCounter IncrementCounter mips Gather GatherRed GatherGreen GatherBlue GatherAlpha GatherCmp GatherCmpRed GatherCmpGreen GatherCmpBlue GatherCmpAlpha
]]
for w in objfuncs:gmatch("([_%w]+)") do
api[w] = {type="function",returns="(?)"}
end
local keyw =
[[break continue if else switch return for while do typedef namespace true false compile
const void struct static extern register volatile inline target nointerpolation shared uniform row_major column_major snorm unorm
bool bool1 bool2 bool3 bool4 int int1 int2 int3 int4 uint uint1 uint2 uint3 uint4 half half1 half2 half3 half4 float float1 float2 float3 float4 double double1 double2 double3 double4
matrix bool1x1 bool1x2 bool1x3 bool1x4 bool2x1 bool2x2 bool2x3 bool2x4 bool3x1 bool3x2 bool3x3 bool3x4 bool4x1 bool4x2 bool4x3 bool4x4
int1x1 int1x2 int1x3 int1x4 int2x1 int2x2 int2x3 int2x4 int3x1 int3x2 int3x3 int3x4 int4x1 int4x2 int4x3 int4x4 uint1x1 uint1x2 uint1x3 uint1x4
uint2x1 uint2x2 uint2x3 uint2x4 uint3x1 uint3x2 uint3x3 uint3x4 uint4x1 uint4x2 uint4x3 uint4x4 half1x1 half1x2 half1x3 half1x4 half2x1 half2x2
half2x3 half2x4 half3x1 half3x2 half3x3 half3x4 half4x1 half4x2 half4x3 half4x4 float1x1 float1x2 float1x3 float1x4 float2x1 float2x2 float2x3
float2x4 float3x1 float3x2 float3x3 float3x4 float4x1 float4x2 float4x3 float4x4 double1x1 double1x2 double1x3 double1x4 double2x1 double2x2
double2x3 double2x4 double3x1 double3x2 double3x3 double3x4 double4x1 double4x2 double4x3 double4x4 cbuffer groupshared SamplerState
in out inout vector matrix interface class point triangle line lineadj triangleadj
Texture Texture1D Texture1DArray Texture2D Texture2DArray Texture2DMS Texture2DMSArray Texture3D TextureCube RWTexture1D RWTexture1DArray RWTexture2D RWTexture2DArray RWTexture3D
Buffer StructuredBuffer AppendStructuredBuffer ConsumeStructuredBuffer RWBuffer RWStructuredBuffer ByteAddressBuffer RWByteAddressBuffer PointStream TriangleStream LineStream InputPatch OutputPatch
unroll loop flatten branch earlydepthstencil allow_uav_condition domain instance maxtessfactor outputcontrolpoints outputtopology partitioning patchconstantfunc numthreads maxvertexcount precise
SV_DispatchThreadID SV_DomainLocation SV_GroupID SV_GroupIndex SV_GroupThreadID SV_GSInstanceID SV_InsideTessFactor SV_OutputControlPointID SV_Coverage SV_Depth SV_Position SV_IsFrontFace SV_RenderTargetArrayIndex SV_SampleIndex SV_ViewportArrayIndex SV_InstanceID SV_PrimitiveID SV_VertexID
SV_ClipDistance SV_CullDistance SV_Target
]]
-- keywords - shouldn't be left out
for w in keyw:gmatch("([_%w]+)") do
api[w] = {type="keyword"}
end
return 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 one or more lines are too long

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,
},
}

2556
api/lua/marmalade.lua Normal file

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),
},
}

BIN
bin/clibs/git/core.dll Normal file

Binary file not shown.

BIN
bin/clibs/git/core.dylib Normal file

Binary file not shown.

BIN
bin/clibs/lfs.dll Normal file

Binary file not shown.

BIN
bin/clibs/lfs.dylib Normal file

Binary file not shown.

BIN
bin/clibs/liblua.dll Normal file

Binary file not shown.

BIN
bin/clibs/libzlib.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
bin/clibs/mime/core.dylib Executable file → Normal file

Binary file not shown.

Binary file not shown.

BIN
bin/clibs/socket/core.dylib Executable file → Normal file

Binary file not shown.

BIN
bin/clibs52/liblua.dll Normal file

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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/liblua.dylib Executable file → Normal file

Binary file not shown.

BIN
bin/liblua52.dylib Normal file

Binary file not shown.

BIN
bin/liblua53.dylib Normal file

Binary file not shown.

0
bin/libwx.dylib Executable file → Normal file
View File

Binary file not shown.

BIN
bin/linux/x64/clibs/lfs.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.

BIN
bin/linux/x64/lua52 Executable file

Binary file not shown.

BIN
bin/linux/x64/lua53 Executable file

Binary file not shown.

Binary file not shown.

BIN
bin/linux/x86/clibs/lfs.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.

BIN
bin/linux/x86/lua52 Executable file

Binary file not shown.

BIN
bin/linux/x86/lua53 Executable file

Binary file not shown.

BIN
bin/lua

Binary file not shown.

1
bin/lua Symbolic link
View File

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

View File

@@ -13,7 +13,7 @@
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string></string>
<string>org.Lua.LuaInterpreter</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>

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

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.

1
bin/lua52 Symbolic link
View File

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

BIN
bin/lua52.dll Normal file

Binary file not shown.

BIN
bin/lua52.exe Normal file

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.

View File

@@ -84,6 +84,8 @@ if(WIN32)
install_from_manifest(FILES ${TOPDIR}/zbstudio/MANIFEST ${DATADIR} "^$")
install_from_manifest(FILES ${TOPDIR}/zbstudio/MANIFEST-bin-win32 ${DATADIR} "^zbstudio.exe$")
elseif(APPLE)
set(OSX_INSTALL_PREFIX "/Applications" CACHE PATH "Default OSX prefix")
set(CMAKE_INSTALL_PREFIX "${OSX_INSTALL_PREFIX}" CACHE INTERNAL "Prefix prepended to install directories")
# setup the data directory
set(ROOTDIR ZeroBraneStudio.app/Contents)
set(DATADIR ${ROOTDIR}/ZeroBraneStudio)

View File

@@ -6,6 +6,8 @@ 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 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

@@ -7,3 +7,5 @@ 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

View File

@@ -24,20 +24,12 @@ BUILD_FLAGS="-O2 -shared -s -I $INSTALL_DIR/include -L $INSTALL_DIR/lib $FPIC"
WXWIDGETS_BASENAME="wxWidgets"
WXWIDGETS_URL="http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk"
LIBPNG_BASENAME="libpng-1.6.0"
LIBPNG_FILENAME="$LIBPNG_BASENAME.tar.gz"
LIBPNG_URL="http://sourceforge.net/projects/libpng/files/libpng16/1.6.0/libpng-1.6.0.tar.gz/download"
LUA_BASENAME="lua-5.1.5"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
WXLUA_BASENAME="wxlua"
WXLUA_URL="https://wxlua.svn.sourceforge.net/svnroot/wxlua/trunk"
WXLUA_URL="https://svn.code.sf.net/p/wxlua/svn/trunk"
LUASOCKET_BASENAME="luasocket-2.0.2"
LUASOCKET_FILENAME="$LUASOCKET_BASENAME.tar.gz"
LUASOCKET_URL="http://files.luaforge.net/releases/luasocket/luasocket/luasocket-2.0.2/$LUASOCKET_FILENAME"
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
@@ -48,6 +40,16 @@ fi
# iterate through the command line arguments
for ARG in "$@"; do
case $ARG in
5.2)
BUILD_52=true
;;
5.3)
BUILD_53=true
BUILD_FLAGS="$BUILD_FLAGS -DLUA_COMPAT_APIINTCASTS"
;;
jit)
BUILD_JIT=true
;;
wxwidgets)
BUILD_WXWIDGETS=true
;;
@@ -100,27 +102,47 @@ fi
# create the installation directory
mkdir -p "$INSTALL_DIR" || { echo "Error: cannot create directory $INSTALL_DIR"; exit 1; }
LUAV="51"
LUAS=""
LUA_BASENAME="lua-5.1.5"
if [ $BUILD_52 ]; then
LUAV="52"
LUAS=$LUAV
LUA_BASENAME="lua-5.2.2"
fi
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
if [ $BUILD_53 ]; then
LUAV="53"
LUAS=$LUAV
LUA_BASENAME="lua-5.3.0-beta"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/work/$LUA_FILENAME"
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"
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 lbpng"; exit 1; }
tar -xzf "$LIBPNG_FILENAME"
(cd "$LIBPNG_BASENAME"; ./configure --with-libpng-prefix=wxpng_; 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"
cd "$WXWIDGETS_BASENAME"
./configure --prefix="$INSTALL_DIR" --disable-debug --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"
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
@@ -128,10 +150,21 @@ if [ $BUILD_LUA ]; then
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
cd "$LUA_BASENAME"
# use POSIX as it has minimum dependencies (no readline and no ncurses required)
# LUA_USE_DLOPEN is required for loading libraries
(cd src; make all MYCFLAGS="$FPIC -DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E -ldl") || { echo "Error: failed to build Lua"; exit 1; }
make install INSTALL_TOP="$INSTALL_DIR"
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/"
else
# use POSIX as it has minimum dependencies (no readline and no ncurses required)
# LUA_USE_DLOPEN is required for loading libraries
(cd src; make all MYCFLAGS="$FPIC -DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E -ldl") || { echo "Error: failed to build Lua"; exit 1; }
make install INSTALL_TOP="$INSTALL_DIR"
fi
cp "$INSTALL_DIR/bin/lua" "$INSTALL_DIR/bin/lua$LUAV"
cd ..
rm -rf "$LUA_FILENAME" "$LUA_BASENAME"
fi
@@ -143,7 +176,11 @@ 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
cmake -G "Unix Makefiles" -DBUILD_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=FALSE \
# (temporary) fix for compilation issue in wxlua using wxwidgets 3.1+ (r238)
sed -i 's/{ "wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING", wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING },/\/\/ removed by ZBS build process/' modules/wxbind/src/wxstc_bind.cpp
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=MinSizeRel -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 \
@@ -157,34 +194,33 @@ fi
# build LuaSocket
if [ $BUILD_LUASOCKET ]; then
wget -c "$LUASOCKET_URL" -O "$LUASOCKET_FILENAME" || { echo "Error: failed to download LuaSocket"; exit 1; }
tar -xzf "$LUASOCKET_FILENAME"
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/5.1/"{mime,socket}
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/5.1/mime/core.so" src/mime.c -llua \
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 \
|| { echo "Error: failed to build LuaSocket"; exit 1; }
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/5.1/socket/core.so" \
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 \
|| { echo "Error: failed to build LuaSocket"; exit 1; }
mkdir -p "$INSTALL_DIR/share/lua/5.1/socket"
cp src/{ftp.lua,http.lua,smtp.lua,tp.lua,url.lua} "$INSTALL_DIR/share/lua/5.1/socket"
cp src/{ltn12.lua,mime.lua,socket.lua} "$INSTALL_DIR/share/lua/5.1"
[ -f "$INSTALL_DIR/lib/lua/5.1/mime/core.so" ] || { echo "Error: mime/core.so isn't found"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/5.1/socket/core.so" ] || { echo "Error: socket/core.so isn't found"; 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.so" ] || { echo "Error: mime/core.so isn't found"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAV/socket/core.so" ] || { echo "Error: socket/core.so isn't found"; exit 1; }
cd ..
rm -rf "$LUASOCKET_FILENAME" "$LUASOCKET_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" "$BIN_DIR"
[ $BUILD_LUA ] && cp "$INSTALL_DIR/bin/lua$LUAS" "$BIN_DIR"
[ $BUILD_WXLUA ] && cp "$INSTALL_DIR/lib/libwx.so" "$BIN_DIR"
if [ $BUILD_LUASOCKET ]; then
mkdir -p "$BIN_DIR/clibs/"{mime,socket}
cp "$INSTALL_DIR/lib/lua/5.1/mime/core.so" "$BIN_DIR/clibs/mime"
cp "$INSTALL_DIR/lib/lua/5.1/socket/core.so" "$BIN_DIR/clibs/socket"
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
# show a message about successful completion
echo "*** Build has been successfully completed ***"
exit 0

View File

@@ -9,29 +9,29 @@ 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"
# flags for manual building with gcc; build universal binaries for luasocket
MACOSX_FLAGS="-arch $MACOSX_ARCH -mmacosx-version-min=$MACOSX_VERSION -isysroot $MACOSX_SDK_PATH"
MACOSX_FLAGS="-arch $MACOSX_ARCH -mmacosx-version-min=$MACOSX_VERSION"
if [ -d "$MACOSX_SDK_PATH" ]; then
echo "Building with $MACOSX_SDK_PATH"
MACOSX_FLAGS="$MACOSX_FLAGS -isysroot $MACOSX_SDK_PATH"
fi
BUILD_FLAGS="-O2 -arch x86_64 -dynamiclib -undefined dynamic_lookup $MACOSX_FLAGS -I $INSTALL_DIR/include -L $INSTALL_DIR/lib"
# paths configuration
WXWIDGETS_BASENAME="wxWidgets"
WXWIDGETS_URL="http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk"
LUA_BASENAME="lua-5.1.5"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
WXLUA_BASENAME="wxlua"
WXLUA_URL="https://wxlua.svn.sourceforge.net/svnroot/wxlua/trunk"
WXLUA_URL="https://svn.code.sf.net/p/wxlua/svn/trunk"
LUASOCKET_BASENAME="luasocket-2.0.2"
LUASOCKET_FILENAME="$LUASOCKET_BASENAME.tar.gz"
LUASOCKET_URL="http://files.luaforge.net/releases/luasocket/luasocket/luasocket-2.0.2/$LUASOCKET_FILENAME"
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
@@ -39,9 +39,23 @@ if [ $# -eq 0 ]; then
exit 0
fi
WXLUASTRIP="/strip"
WXWIDGETSDEBUG="--disable-debug"
WXLUABUILD="MinSizeRel"
# iterate through the command line arguments
for ARG in "$@"; do
case $ARG in
5.2)
BUILD_52=true
;;
5.3)
BUILD_53=true
BUILD_FLAGS="$BUILD_FLAGS -DLUA_COMPAT_APIINTCASTS"
;;
jit)
BUILD_JIT=true
;;
wxwidgets)
BUILD_WXWIDGETS=true
;;
@@ -54,6 +68,11 @@ for ARG in "$@"; do
luasocket)
BUILD_LUASOCKET=true
;;
debug)
WXLUASTRIP=""
WXWIDGETSDEBUG="--enable-debug=max"
WXLUABUILD="Debug"
;;
all)
BUILD_WXWIDGETS=true
BUILD_LUA=true
@@ -94,14 +113,46 @@ fi
# create the installation directory
mkdir -p "$INSTALL_DIR" || { echo "Error: cannot create directory $INSTALL_DIR"; exit 1; }
LUAV="51"
LUAS=""
LUA_BASENAME="lua-5.1.5"
if [ $BUILD_52 ]; then
LUAV="52"
LUAS=$LUAV
LUA_BASENAME="lua-5.2.2"
fi
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
if [ $BUILD_53 ]; then
LUAV="53"
LUAS=$LUAV
LUA_BASENAME="lua-5.3.0-beta"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/work/$LUA_FILENAME"
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"
fi
# build wxWidgets
if [ $BUILD_WXWIDGETS ]; then
svn co "$WXWIDGETS_URL" "$WXWIDGETS_BASENAME" || { echo "Error: failed to checkout wxWidgets"; exit 1; }
cd "$WXWIDGETS_BASENAME"
./configure --prefix="$INSTALL_DIR" --disable-debug --disable-shared --enable-unicode \
MINSDK=""
if [ -d $MACOSX_SDK_PATH ]; then
MINSDK="--with-macosx-sdk=$MACOSX_SDK_PATH"
fi
./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 --with-macosx-sdk="$MACOSX_SDK_PATH" \
--enable-macosx_arch=$MACOSX_ARCH --with-macosx-version-min=$MACOSX_VERSION $MINSDK \
--with-osx_cocoa CFLAGS="-Os" CXXFLAGS="-Os"
make $MAKEFLAGS || { echo "Error: failed to build wxWidgets"; exit 1; }
make install
@@ -114,16 +165,29 @@ if [ $BUILD_LUA ]; then
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
cd "$LUA_BASENAME"
sed -i "" 's/PLATS=/& macosx_dylib/' Makefile
printf "macosx_dylib:\n" >> src/Makefile
printf "\t\$(MAKE) LUA_A=\"liblua.dylib\" AR=\"\$(CC) -dynamiclib $MACOSX_FLAGS -o\" RANLIB=\"strip -u -r\" \\\\\n" >> src/Makefile
printf "\tMYCFLAGS=\"-DLUA_USE_LINUX $MACOSX_FLAGS\" MYLDFLAGS=\"$MACOSX_FLAGS\" MYLIBS=\"-lreadline\" lua\n" >> src/Makefile
printf "\t\$(MAKE) MYCFLAGS=\"-DLUA_USE_LINUX $MACOSX_FLAGS\" MYLDFLAGS=\"$MACOSX_FLAGS\" luac\n" >> src/Makefile
make macosx_dylib || { echo "Error: failed to build Lua"; exit 1; }
make install INSTALL_TOP="$INSTALL_DIR"
strip -u -r "$INSTALL_DIR/bin/lua"
cp src/liblua.dylib "$INSTALL_DIR/lib"
[ -f "$INSTALL_DIR/lib/liblua.dylib" ] || { echo "Error: liblua.dylib isn't found"; exit 1; }
if [ $BUILD_JIT ]; then
make BUILDMODE=dynamic LUAJIT_SO=liblua.dylib TARGET_DYLIBPATH=liblua.dylib CC="gcc -m32" CCOPT="$MACOSX_FLAGS -DLUAJIT_ENABLE_LUA52COMPAT" || { echo "Error: failed to build Lua"; exit 1; }
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
# -O1 fixes this issue with for Lua 5.2 with i386: http://lua-users.org/lists/lua-l/2013-05/msg00070.html
printf "macosx_dylib:\n" >> src/Makefile
printf "\t\$(MAKE) LUA_A=\"liblua$LUAS.dylib\" AR=\"\$(CC) -dynamiclib $MACOSX_FLAGS -o\" RANLIB=\"strip -u -r\" \\\\\n" >> src/Makefile
printf "\tMYCFLAGS=\"-O1 -DLUA_USE_LINUX $MACOSX_FLAGS\" MYLDFLAGS=\"$MACOSX_FLAGS\" MYLIBS=\"-lreadline\" lua\n" >> src/Makefile
printf "\t\$(MAKE) MYCFLAGS=\"-DLUA_USE_LINUX $MACOSX_FLAGS\" MYLDFLAGS=\"$MACOSX_FLAGS\" luac\n" >> src/Makefile
make macosx_dylib || { echo "Error: failed to build Lua"; exit 1; }
make install INSTALL_TOP="$INSTALL_DIR"
mv "$INSTALL_DIR/bin/lua" "$INSTALL_DIR/bin/lua$LUAS"
cp src/liblua$LUAS.dylib "$INSTALL_DIR/lib"
fi
strip -u -r "$INSTALL_DIR/bin/lua$LUAS"
[ -f "$INSTALL_DIR/lib/liblua$LUAS.dylib" ] || { echo "Error: liblua$LUAS.dylib isn't found"; exit 1; }
cd ..
rm -rf "$LUA_FILENAME" "$LUA_BASENAME"
fi
@@ -132,18 +196,26 @@ fi
if [ $BUILD_WXLUA ]; then
svn co "$WXLUA_URL" "$WXLUA_BASENAME" || { echo "Error: failed to checkout wxLua"; exit 1; }
cd "$WXLUA_BASENAME/wxLua"
MINSDK=""
if [ -d $MACOSX_SDK_PATH ]; then
MINSDK="CMAKE_OSX_SYSROOT=$MACOSX_SDK_PATH"
fi
# 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" -DBUILD_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=FALSE \
-DCMAKE_OSX_ARCHITECTURES=$MACOSX_ARCH -DCMAKE_OSX_DEPLOYMENT_TARGET=$MACOSX_VERSION CMAKE_OSX_SYSROOT="$MACOSX_SDK_PATH" \
# (temporary) fix for compilation issue in wxlua using wxwidgets 3.1+ (r238)
sed -i 's/{ "wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING", wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING },/\/\/ removed by ZBS build process/' modules/wxbind/src/wxstc_bind.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 \
-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/strip)
strip -u -r "$INSTALL_DIR/lib/libwx.dylib"
(cd modules/luamodule; make install$WXLUASTRIP)
if [ $WXLUASTRIP ]; then strip -u -r "$INSTALL_DIR/lib/libwx.dylib"; fi
[ -f "$INSTALL_DIR/lib/libwx.dylib" ] || { echo "Error: libwx.dylib isn't found"; exit 1; }
cd ../..
rm -rf "$WXLUA_BASENAME"
@@ -151,39 +223,41 @@ fi
# build LuaSocket
if [ $BUILD_LUASOCKET ]; then
wget -c "$LUASOCKET_URL" -O "$LUASOCKET_FILENAME" || { echo "Error: failed to download LuaSocket"; exit 1; }
tar -xzf "$LUASOCKET_FILENAME"
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/5.1/"{mime,socket}
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/5.1/mime/core.dylib" src/mime.c \
mkdir -p "$INSTALL_DIR/lib/lua/$LUAV/"{mime,socket}
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAV/mime/core.dylib" src/mime.c \
|| { echo "Error: failed to build LuaSocket"; exit 1; }
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/5.1/socket/core.dylib" \
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/$LUAV/socket/core.dylib" \
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; }
strip -u -r "$INSTALL_DIR/lib/lua/5.1/mime/core.dylib" "$INSTALL_DIR/lib/lua/5.1/socket/core.dylib"
mkdir -p "$INSTALL_DIR/share/lua/5.1/socket"
cp src/{ftp.lua,http.lua,smtp.lua,tp.lua,url.lua} "$INSTALL_DIR/share/lua/5.1/socket"
cp src/{ltn12.lua,mime.lua,socket.lua} "$INSTALL_DIR/share/lua/5.1"
[ -f "$INSTALL_DIR/lib/lua/5.1/mime/core.dylib" ] || { echo "Error: mime/core.dylib isn't found"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/5.1/socket/core.dylib" ] || { echo "Error: socket/core.dylib isn't found"; exit 1; }
strip -u -r "$INSTALL_DIR/lib/lua/$LUAV/mime/core.dylib" "$INSTALL_DIR/lib/lua/$LUAV/socket/core.dylib"
install_name_tool -id core.dylib "$INSTALL_DIR/lib/lua/$LUAV/socket/core.dylib"
install_name_tool -id core.dylib "$INSTALL_DIR/lib/lua/$LUAV/mime/core.dylib"
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.dylib" ] || { echo "Error: mime/core.dylib isn't found"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/$LUAV/socket/core.dylib" ] || { echo "Error: socket/core.dylib isn't found"; exit 1; }
cd ..
rm -rf "$LUASOCKET_FILENAME" "$LUASOCKET_BASENAME"
fi
# now copy the compiled dependencies to ZBS binary directory
mkdir -p "$BIN_DIR" || { echo "Error: cannot create directory $BIN_DIR"; exit 1; }
if [ $BUILD_LUA ]; then
mkdir -p "$BIN_DIR/lua.app/Contents/MacOS"
cp "$INSTALL_DIR/bin/lua" "$BIN_DIR/lua.app/Contents/MacOS"
cp "$INSTALL_DIR/bin/lua" "$INSTALL_DIR/lib/liblua.dylib" "$BIN_DIR"
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"
if [ $BUILD_LUASOCKET ]; then
mkdir -p "$BIN_DIR/clibs/"{mime,socket}
cp "$INSTALL_DIR/lib/lua/5.1/mime/core.dylib" "$BIN_DIR/clibs/mime"
cp "$INSTALL_DIR/lib/lua/5.1/socket/core.dylib" "$BIN_DIR/clibs/socket"
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
# show a message about successful completion
echo "*** Build has been successfully completed ***"
exit 0

View File

@@ -7,7 +7,7 @@ BIN_DIR="$(dirname "$PWD")/bin"
INSTALL_DIR="$PWD/deps"
# number of parallel jobs used for building
MAKEFLAGS="-j4"
MAKEFLAGS="-j1" # some make may hang on Windows with j4 or j7
# flags for manual building with gcc
BUILD_FLAGS="-O2 -shared -s -I $INSTALL_DIR/include -L $INSTALL_DIR/lib"
@@ -16,16 +16,20 @@ BUILD_FLAGS="-O2 -shared -s -I $INSTALL_DIR/include -L $INSTALL_DIR/lib"
WXWIDGETS_BASENAME="wxWidgets"
WXWIDGETS_URL="http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk"
LUA_BASENAME="lua-5.1.5"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
WXLUA_BASENAME="wxlua"
WXLUA_URL="https://wxlua.svn.sourceforge.net/svnroot/wxlua/trunk"
WXLUA_URL="https://svn.code.sf.net/p/wxlua/svn/trunk"
LUASOCKET_BASENAME="luasocket-2.0.2"
LUASOCKET_FILENAME="$LUASOCKET_BASENAME.tar.gz"
LUASOCKET_URL="http://files.luaforge.net/releases/luasocket/luasocket/luasocket-2.0.2/$LUASOCKET_FILENAME"
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_FILENAME="$OPENSSL_BASENAME.tar.gz"
OPENSSL_URL="http://www.openssl.org/source/$OPENSSL_FILENAME"
LUASEC_BASENAME="luasec-0.4.1"
LUASEC_FILENAME="$LUASEC_BASENAME.zip"
LUASEC_URL="https://github.com/brunoos/luasec/archive/$LUASEC_FILENAME"
WINAPI_BASENAME="winapi"
WINAPI_URL="https://github.com/stevedonovan/winapi.git"
@@ -36,9 +40,23 @@ if [ $# -eq 0 ]; then
exit 0
fi
WXLUASTRIP="/strip"
WXWIDGETSDEBUG="--disable-debug"
WXLUABUILD="MinSizeRel"
# iterate through the command line arguments
for ARG in "$@"; do
case $ARG in
5.2)
BUILD_52=true
;;
5.3)
BUILD_53=true
BUILD_FLAGS="$BUILD_FLAGS -DLUA_COMPAT_APIINTCASTS"
;;
jit)
BUILD_JIT=true
;;
wxwidgets)
BUILD_WXWIDGETS=true
;;
@@ -51,12 +69,20 @@ for ARG in "$@"; do
luasocket)
BUILD_LUASOCKET=true
;;
luasec)
BUILD_LUASEC=true
;;
winapi)
BUILD_WINAPI=true
;;
zbstudio)
BUILD_ZBSTUDIO=true
;;
debug)
WXLUASTRIP=""
WXWIDGETSDEBUG="--enable-debug=max --enable-debug_gdb"
WXLUABUILD="Debug"
;;
all)
BUILD_WXWIDGETS=true
BUILD_LUA=true
@@ -105,12 +131,40 @@ fi
# create the installation directory
mkdir -p "$INSTALL_DIR" || { echo "Error: cannot create directory $INSTALL_DIR"; exit 1; }
LUAV="51"
LUAS=""
LUA_BASENAME="lua-5.1.5"
if [ $BUILD_52 ]; then
LUAV="52"
LUAS=$LUAV
LUA_BASENAME="lua-5.2.2"
fi
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/ftp/$LUA_FILENAME"
if [ $BUILD_53 ]; then
LUAV="53"
LUAS=$LUAV
LUA_BASENAME="lua-5.3.0-beta"
LUA_FILENAME="$LUA_BASENAME.tar.gz"
LUA_URL="http://www.lua.org/work/$LUA_FILENAME"
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"
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"
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 \
CFLAGS="-Os -fno-keep-inline-dllexport" CXXFLAGS="-Os -fno-keep-inline-dllexport"
@@ -125,10 +179,19 @@ if [ $BUILD_LUA ]; then
wget -c "$LUA_URL" -O "$LUA_FILENAME" || { echo "Error: failed to download Lua"; exit 1; }
tar -xzf "$LUA_FILENAME"
cd "$LUA_BASENAME"
make mingw || { echo "Error: failed to build Lua"; exit 1; }
make install INSTALL_TOP="$INSTALL_DIR"
cp src/lua51.dll "$INSTALL_DIR/lib"
[ -f "$INSTALL_DIR/lib/lua51.dll" ] || { echo "Error: lua51.dll isn't found"; exit 1; }
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/"
else
make mingw || { echo "Error: failed to build Lua"; exit 1; }
make install INSTALL_TOP="$INSTALL_DIR"
fi
cp src/lua$LUAV.dll "$INSTALL_DIR/lib"
cp "$INSTALL_DIR/bin/lua.exe" "$INSTALL_DIR/bin/lua$LUAV.exe"
[ -f "$INSTALL_DIR/lib/lua$LUAV.dll" ] || { echo "Error: lua$LUAV.dll isn't found"; exit 1; }
cd ..
rm -rf "$LUA_FILENAME" "$LUA_BASENAME"
fi
@@ -140,18 +203,31 @@ if [ $BUILD_WXLUA ]; then
cd "$WXLUA_BASENAME/wxLua"
sed -i 's|:-/\(.\)/|:-\1:/|' "$INSTALL_DIR/bin/wx-config"
sed -i 's/execute_process(COMMAND/& sh/' build/CMakewxAppLib.cmake modules/wxstedit/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
sed -i 's/\(m_wxlState = wxLuaState(wxlState.GetLuaState(), wxLUASTATE_GETSTATE|wxLUASTATE_ROOTSTATE);\)/\/\/ removed by ZBS build process \/\/ \1/' modules/wxlua/wxlcallb.cpp
cp "$INSTALL_DIR/lib/libwxscintilla-2.9.a" "$INSTALL_DIR/lib/libwx_mswu_scintilla-2.9.a"
# remove check for Lua 5.2 as it doesn't work with Twoface ABI mapper
sed -i 's/LUA_VERSION_NUM < 502/0/' modules/wxlua/wxlcallb.cpp
# (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
# (temporary) fix for compilation issue in wxlua using wxwidgets 3.1+ (r238)
sed -i 's/{ "wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING", wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING },/\/\/ removed by ZBS build process/' modules/wxbind/src/wxstc_bind.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" -DBUILD_INSTALL_PREFIX="$INSTALL_DIR" -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=FALSE \
cmake -G "MSYS 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 \
-DwxLua_LUA_INCLUDE_DIR="$INSTALL_DIR/include" -DwxLua_LUA_LIBRARY="$INSTALL_DIR/lib/lua51.dll" .
(cd modules/luamodule; make $MAKEFLAGS) || { echo "Error: failed to build wxLua"; exit 1; }
(cd modules/luamodule; make install/strip)
(cd modules/luamodule; make install$WXLUASTRIP)
[ -f "$INSTALL_DIR/bin/libwx.dll" ] || { echo "Error: libwx.dll isn't found"; exit 1; }
cd ../..
rm -rf "$WXLUA_BASENAME"
@@ -159,24 +235,51 @@ fi
# build LuaSocket
if [ $BUILD_LUASOCKET ]; then
wget -c "$LUASOCKET_URL" -O "$LUASOCKET_FILENAME" || { echo "Error: failed to download LuaSocket"; exit 1; }
tar -xzf "$LUASOCKET_FILENAME"
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/5.1/"{mime,socket}
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/5.1/mime/core.dll" src/mime.c -llua51 \
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 \
|| { echo "Error: failed to build LuaSocket"; exit 1; }
gcc $BUILD_FLAGS -o "$INSTALL_DIR/lib/lua/5.1/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 -llua51 \
gcc $BUILD_FLAGS -DLUASOCKET_INET_PTON -D_WIN32_WINNT=0x0501 -o "$INSTALL_DIR/lib/lua/$LUAV/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/5.1/socket"
cp src/{ftp.lua,http.lua,smtp.lua,tp.lua,url.lua} "$INSTALL_DIR/share/lua/5.1/socket"
cp src/{ltn12.lua,mime.lua,socket.lua} "$INSTALL_DIR/share/lua/5.1"
[ -f "$INSTALL_DIR/lib/lua/5.1/mime/core.dll" ] || { echo "Error: mime/core.dll isn't found"; exit 1; }
[ -f "$INSTALL_DIR/lib/lua/5.1/socket/core.dll" ] || { echo "Error: socket/core.dll isn't found"; 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; }
cd ..
rm -rf "$LUASOCKET_FILENAME" "$LUASOCKET_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
make
make install_sw INSTALLTOP="$INSTALL_DIR"
cd ..
rm -rf "$OPENSSL_FILENAME" "$OPENSSL_BASENAME"
# 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/5.1/ssl.dll" \
src/{timeout.c,buffer.c,io.c,context.c,ssl.c,wsocket.c} -lssl -lcrypto -lws2_32 -lgdi32 -llua51 \
|| { 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; }
cd ..
rm -rf "$LUASEC_FILENAME" "$LUASEC_BASENAME"
fi
# build winapi
if [ $BUILD_WINAPI ]; then
git clone "$WINAPI_URL" "$WINAPI_BASENAME"
@@ -198,19 +301,24 @@ 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.exe" "$INSTALL_DIR/lib/lua51.dll" "$BIN_DIR"
[ $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"
if [ $BUILD_LUASOCKET ]; then
mkdir -p "$BIN_DIR/clibs/"{mime,socket}
cp "$INSTALL_DIR/lib/lua/5.1/mime/core.dll" "$BIN_DIR/clibs/mime"
cp "$INSTALL_DIR/lib/lua/5.1/socket/core.dll" "$BIN_DIR/clibs/socket"
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"
fi
# To build lua5.1.dll proxy:
# (1) get mkforwardlib-gcc.lua from http://lua-users.org/wiki/LuaProxyDllThree
# (2) run it as "lua mkforwardlib-gcc.lua lua51 lua5.1 X86"
# To build lua5.2.dll proxy:
# (1) get mkforwardlib-gcc-52.lua from http://lua-users.org/wiki/LuaProxyDllThree
# (2) run it as "lua mkforwardlib-gcc-52.lua lua52 lua5.2 X86"
# show a message about successful completion
echo "*** Build has been successfully completed ***"
exit 0

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
@@ -57,8 +61,13 @@ for _, mask in ipairs({"zbstudio/*.lua", "src/main.lua", "src/editor/*.lua"}) 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
@@ -86,7 +95,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

298
cfg/i18n/cn.lua Normal file
View File

@@ -0,0 +1,298 @@
return {
["%d instance"] = "%d 个体", -- src\editor\findreplace.lua
["%s event failed: %s"] = nil, -- src\editor\package.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\gui.lua, src\editor\menu_file.lua
["&Community"] = nil, -- src\editor\menu_help.lua
["&Compile"] = "编译", -- src\editor\menu_project.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
["&Delete"] = nil, -- src\editor\filetree.lua
["&Documentation"] = nil, -- src\editor\menu_help.lua
["&Down"] = "往下", -- src\editor\findreplace.lua
["&Edit Project Directory"] = nil, -- src\editor\filetree.lua
["&Edit Value"] = nil, -- 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
["&Frequently Asked Questions"] = nil, -- src\editor\menu_help.lua
["&Getting Started Guide"] = nil, -- src\editor\menu_help.lua
["&Go To Line..."] = "到...行", -- src\editor\menu_search.lua
["&Help"] = "帮助", -- src\editor\menu_help.lua
["&New Directory"] = nil, -- 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\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Project Page"] = nil, -- 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"] = nil, -- src\editor\filetree.lua
["&Replace All"] = "全替换", -- src\editor\findreplace.lua
["&Replace"] = "替换", -- src\editor\findreplace.lua, src\editor\menu_search.lua
["&Run"] = "执行", -- src\editor\menu_project.lua
["&Save"] = "保存", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Search"] = "搜索", -- src\editor\menu_search.lua
["&Sort"] = "分类", -- src\editor\menu_edit.lua
["&Stack Window"] = "叠视窗/堆栈视窗", -- src\editor\menu_view.lua
["&Start Debugger Server"] = "开启除错器伺服机", -- src\editor\menu_project.lua
["&Status Bar"] = nil, -- src\editor\menu_view.lua
["&Subdirectories"] = "子文件夹", -- src\editor\findreplace.lua
["&Tool Bar"] = nil, -- src\editor\menu_view.lua
["&Tutorials"] = nil, -- src\editor\menu_help.lua
["&Undo"] = "撤消", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Up"] = "往上", -- src\editor\findreplace.lua
["&View"] = "视图", -- src\editor\menu_view.lua
["&Watch Window"] = "监视视窗", -- src\editor\menu_view.lua
[".&bak on Replace"] = nil, -- src\editor\findreplace.lua
["About %s"] = "关于 %s", -- src\editor\menu_help.lua
["Add To Scratchpad"] = nil, -- src\editor\editor.lua
["Add Watch Expression"] = "添加监视表达式", -- 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, src\editor\inspect.lua-profile
["Analyze"] = "分析", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Auto Complete Identifiers"] = "自动补全标识符", -- src\editor\menu_edit.lua
["Auto complete while typing"] = "当输入时自动补全", -- src\editor\menu_edit.lua
["Bookmark"] = nil, -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "执行下一语句之后中断执行", -- src\editor\menu_project.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 evaluate the expression while the application is running."] = nil, -- 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 open file '%s': %s"] = nil, -- src\editor\singleinstance.lua
["Can't process auto-recovery record; invalid format: %s."] = "不能处理自动恢复存档: %s", -- src\editor\commands.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."] = nil, -- 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
["Can't stop debugger server as it is not started."] = nil, -- src\editor\debugger.lua
["Cancel"] = "取消", -- src\editor\findreplace.lua
["Cancelled by the user."] = nil, -- src\editor\findreplace.lua
["Choose a project directory"] = "选择项目文件夹", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose..."] = "请选...", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Items"] = nil, -- src\editor\menu_file.lua
["Clear items from this list"] = nil, -- 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 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..."] = nil, -- src\editor\menu_project.lua
["Command line parameters"] = nil, -- src\editor\menu_project.lua
["Comment or uncomment current or selected lines"] = "注释/消除注释 当前或被选的语句", -- src\editor\menu_edit.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'."] = nil, -- src\editor\commands.lua
["Copy Full Path"] = nil, -- src\editor\gui.lua, src\editor\filetree.lua
["Copy selected text to clipboard"] = "复制被选的text到clipboard", -- src\editor\menu_edit.lua
["Correct &Indentation"] = nil, -- 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
["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."] = nil, -- 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
["Detach &Process"] = nil, -- src\editor\menu_project.lua
["Directory"] = "文件夹", -- src\editor\findreplace.lua
["Do you want to delete '%s'?"] = nil, -- src\editor\filetree.lua
["Do you want to overwrite it?"] = nil, -- 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
["Enter Lua code and press Enter to run it."] = "输入Lua代码然后按 <Enter> 以执行", -- src\editor\shellbox.lua
["Enter command line parameters (use Cancel to clear)"] = nil, -- src\editor\menu_project.lua
["Enter line number"] = "输入行号码", -- src\editor\menu_search.lua
["Enter replacement text"] = nil, -- 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"] = nil, -- 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
["Execution error"] = "执行出错误", -- src\editor\debugger.lua
["Exit program"] = "离开程式", -- src\editor\menu_file.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' is missing and can't be recovered."] = nil, -- src\editor\commands.lua
["File '%s' no longer exists."] = "文档 '%s' 已不存在", -- src\editor\menu_file.lua, src\editor\editor.lua
["File Type"] = "文档类", -- src\editor\findreplace.lua
["File already exists."] = nil, -- 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 replace text in files"] = "在文档中查找text然后更换", -- src\editor\menu_search.lua
["Find and replace text"] = "查找text然后更换", -- src\editor\menu_search.lua
["Find text in files"] = "在文档中查找text", -- src\editor\menu_search.lua
["Find text"] = "查找text", -- 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
["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 Definition"] = nil, -- src\editor\editor.lua
["Go To Line"] = "到...行", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = nil, -- src\editor\menu_edit.lua
["Go To Previous Bookmark"] = nil, -- src\editor\menu_edit.lua
["Go to a selected line"] = "到所选的行", -- src\editor\menu_search.lua
["INS"] = "INS", -- src\editor\editor.lua
["Ignored error in debugger initialization code: %s."] = nil, -- src\editor\debugger.lua
["In Files"] = "在档案里", -- src\editor\findreplace.lua
["Known Files"] = "所知的文档", -- src\editor\commands.lua
["Ln: %d"] = "行: %d", -- src\editor\editor.lua
["Local console"] = "本地主控台", -- src\editor\gui.lua, src\editor\shellbox.lua
["Lua &Interpreter"] = "Lua 解释器", -- src\editor\menu_project.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
["Mixed end-of-line encodings detected."] = "发现混杂的EOL编码", -- src\editor\commands.lua
["New &File"] = nil, -- src\editor\filetree.lua
["OVR"] = "OVR", -- src\editor\editor.lua
["Open With Default Program"] = nil, -- src\editor\filetree.lua
["Open an existing document"] = "打开现存文档", -- src\editor\menu_file.lua
["Open file"] = "打开文档", -- src\editor\commands.lua
["Options"] = "选项", -- src\editor\findreplace.lua
["Outline Window"] = nil, -- src\editor\menu_view.lua
["Outline"] = nil, -- src\editor\outline.lua
["Output (running)"] = "输出 (进行中)", -- src\editor\debugger.lua, src\editor\output.lua
["Output (suspended)"] = nil, -- src\editor\debugger.lua
["Output"] = "输出", -- src\editor\debugger.lua, src\editor\output.lua, src\editor\gui.lua, src\editor\settings.lua
["Paste text from the clipboard"] = "从clipboard粘贴text", -- src\editor\menu_edit.lua
["Preferences"] = "首选项", -- src\editor\menu_edit.lua
["Prepend '!' to force local execution."] = nil, -- 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
["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, src\editor\filetree.lua
["Project history"] = nil, -- src\editor\menu_file.lua
["Project"] = "项目", -- src\editor\filetree.lua
["Project/&FileTree Window"] = "项目/文档树 视窗", -- src\editor\menu_view.lua
["Provide command line parameters"] = nil, -- src\editor\menu_project.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"] = nil, -- src\editor\menu_edit.lua
["Recent &Projects"] = nil, -- src\editor\menu_file.lua
["Recent Files"] = "最近的文档", -- src\editor\menu_file.lua
["Redo last edit undone"] = "重做最后被取消的编辑", -- src\editor\menu_edit.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
["Remote console"] = "远程主控台", -- src\editor\shellbox.lua
["Rename All Instances"] = nil, -- src\editor\editor.lua
["Replace A&ll"] = "更换全部", -- src\editor\findreplace.lua
["Replace All Selections"] = nil, -- src\editor\editor.lua
["Replace"] = "更换", -- 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
["Run as Scratchpad"] = "以Scratchpad执行", -- 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\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
["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
["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
["Sel: %d/%d"] = nil, -- src\editor\editor.lua
["Select &All"] = "选全部", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Select all text in the editor"] = "选编辑器内的所有text", -- src\editor\menu_edit.lua
["Select and Find Next"] = nil, -- src\editor\menu_search.lua
["Select and Find Previous"] = nil, -- src\editor\menu_search.lua
["Select the word under cursor and find its next occurrence"] = nil, -- src\editor\menu_search.lua
["Select the word under cursor and find its previous occurrence"] = nil, -- src\editor\menu_search.lua
["Set From Current File"] = "从当前文档设置", -- src\editor\menu_project.lua
["Set project directory from current file"] = "从当前文档设置项目文件夹", -- src\editor\menu_project.lua
["Set the interpreter 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 Location"] = nil, -- src\editor\gui.lua, src\editor\filetree.lua
["Show tooltip for current position; place cursor after opening bracket of function"] = "在当前的位置展现tooltip; 把游标放置于函数的开括号之后", -- src\editor\menu_edit.lua
["Show/Hide the status bar"] = nil, -- src\editor\menu_view.lua
["Show/Hide the toolbar"] = nil, -- src\editor\menu_view.lua
["Sort selected lines"] = "对被选的行进行排列", -- src\editor\menu_edit.lua
["Source"] = nil, -- src\editor\menu_edit.lua
["Stack"] = "堆栈", -- src\editor\debugger.lua
["Start &Debugging"] = "开始除错", -- src\editor\menu_project.lua
["Start or continue debugging"] = nil, -- 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
["Step out of the current function"] = "除错运行 离开当前的函数", -- src\editor\menu_project.lua
["Step over"] = "除错运行 掠过子程序/函数", -- src\editor\menu_project.lua
["Stop debugging and continue running the process"] = nil, -- src\editor\menu_project.lua
["Stop the currently running process"] = "终止目前进行着的进程", -- src\editor\menu_project.lua
["Switch to or from full screen mode"] = "切换全屏模式", -- src\editor\menu_view.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 Bookmark"] = nil, -- src\editor\menu_edit.lua
["Toggle Break&point"] = "切换中断点", -- src\editor\menu_project.lua
["Toggle bookmark"] = nil, -- src\editor\menu_edit.lua
["Toggle breakpoint"] = "切换中断点", -- src\editor\menu_project.lua
["Tr&ace"] = "追踪", -- src\editor\menu_project.lua
["Trace execution showing each executed line"] = "执行追踪展示每一执行过的语句", -- src\editor\menu_project.lua
["Unable to create directory '%s'."] = nil, -- src\editor\filetree.lua
["Unable to create file '%s'."] = nil, -- src\editor\filetree.lua
["Unable to delete directory '%s': %s"] = nil, -- src\editor\filetree.lua
["Unable to load file '%s'."] = "导出文件失败 '%s'.", -- src\editor\commands.lua
["Unable to rename file '%s'."] = nil, -- 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
["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
["View the outline window"] = nil, -- 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
["View the watch window"] = "查看监视视窗", -- 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
["You must save the program first."] = "必须先保存程序", -- src\editor\commands.lua
["Zoom In"] = nil, -- src\editor\menu_view.lua
["Zoom Out"] = nil, -- src\editor\menu_view.lua
["Zoom to 100%"] = nil, -- src\editor\menu_view.lua
["Zoom"] = nil, -- 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"] = nil, -- src\editor\debugger.lua
}

299
cfg/i18n/de.lua Normal file
View File

@@ -0,0 +1,299 @@
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
["&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\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\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
["&Delete"] = "&Entfernen", -- src\editor\filetree.lua
["&Documentation"] = "&Dokumentation", -- src\editor\menu_help.lua
["&Down"] = "&Runter", -- src\editor\findreplace.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
["&Frequently Asked Questions"] = "&FAQ", -- src\editor\menu_help.lua
["&Getting Started Guide"] = "&Anfängerleitfaden", -- src\editor\menu_help.lua
["&Go To Line..."] = "&Gehe zu Zeile...", -- src\editor\menu_search.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\gui.lua, src\editor\editor.lua, src\editor\menu_edit.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 All"] = "&Alles ersetzen", -- src\editor\findreplace.lua
["&Replace"] = "&Ersetzen", -- src\editor\findreplace.lua, src\editor\menu_search.lua
["&Run"] = "&Starten", -- src\editor\menu_project.lua
["&Save"] = "&Speichern", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Search"] = "&Suchen", -- src\editor\menu_search.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
["&Status Bar"] = "S&tatuszeile", -- src\editor\menu_view.lua
["&Subdirectories"] = "&Unterverzeichnisse", -- src\editor\findreplace.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
["&Up"] = "&Hoch", -- src\editor\findreplace.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 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, src\editor\inspect.lua-profile
["Analyze"] = "&Analyseroutine", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["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
["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\menu_project.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 debug the script in the active editor window."] = "Script kann im aktiven Editorfenster nicht gedebuggt werden.", -- src\editor\debugger.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 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
["Can't open file '%s': %s"] = "Kann Datei '%s' nicht öffnen: %s", -- src\editor\singleinstance.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 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 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 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
["Cancel"] = "Abbrechen", -- src\editor\findreplace.lua
["Cancelled by the user."] = "Durch Benutzer abgebrochen.", -- src\editor\findreplace.lua
["Choose a project directory"] = "Projektverzeichnis auswählen", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose..."] = "Wählen...", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Items"] = "Liste &löschen", -- 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 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\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\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
["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 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
["Detach &Process"] = "Prozeß abkoppeln", -- src\editor\menu_project.lua
["Directory"] = "Verzeichnis", -- src\editor\findreplace.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
["Enter Lua code and press Enter to run it."] = "Lua-Code eingeben und Enter drücken zum Ausführen.", -- src\editor\shellbox.lua
["Enter command line parameters (use Cancel to clear)"] = "Kommandozeilenparameter eingeben (Cancel zum löschen)", -- src\editor\menu_project.lua
["Enter line number"] = "Zeilennummer eingeben", -- src\editor\menu_search.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
["Error while processing configuration file: %s"] = "Fehler beim Lesen von Konfiguratonsdatei: %s", -- src\editor\style.lua
["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
["Execution error"] = "Fehler bei Ausführung", -- src\editor\debugger.lua
["Exit program"] = "Programm beenden", -- src\editor\menu_file.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' 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 Type"] = "Dateityp", -- src\editor\findreplace.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 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
["Find text in files"] = "Finde Text in Dateien", -- src\editor\menu_search.lua
["Find text"] = "Finde Text", -- 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
["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 Line"] = "Gehe zu Zeile", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = "Zu nächstem Lesezeichen", -- src\editor\menu_edit.lua
["Go To Previous Bookmark"] = "Zu vorherigem Lesezeichen", -- src\editor\menu_edit.lua
["Go to a selected line"] = "Gehe zu ausgewählter Zeile", -- src\editor\menu_search.lua
["INS"] = "INS", -- src\editor\editor.lua
["Ignored error in debugger initialization code: %s."] = "Ignorierter Fehler im Debugger-Init-Code: %s.", -- src\editor\debugger.lua
["In Files"] = "In Dateien", -- src\editor\findreplace.lua
["Known Files"] = "Bekannte Dateien", -- src\editor\commands.lua
["Ln: %d"] = "Zeile: %d", -- src\editor\editor.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
["Mixed end-of-line encodings detected."] = "Gemischte End-of-Line Kodierung entdeckt.", -- src\editor\commands.lua
["New &File"] = "Neue &Datei", -- src\editor\filetree.lua
["OVR"] = "OVR", -- src\editor\editor.lua
["Open With Default Program"] = "Mit Standardanwendung öffnen", -- src\editor\filetree.lua
["Open an existing document"] = "Öffne existierendes Dokument", -- src\editor\menu_file.lua
["Open file"] = "Öffne Datei", -- src\editor\commands.lua
["Options"] = "Optionen", -- src\editor\findreplace.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
["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
["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, 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
["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
["Recent &Projects"] = "Letzte &Projekte", -- src\editor\menu_file.lua
["Recent Files"] = "Letzte Dateien", -- src\editor\menu_file.lua
["Redo last edit undone"] = "Stelle letzte rückgängig gemachte Bearbeitung wieder her", -- src\editor\menu_edit.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
["Rename All Instances"] = "Umbenennen aller Instanzen", -- src\editor\editor.lua
["Replace A&ll"] = "A&lles ersetzen", -- src\editor\findreplace.lua
["Replace All Selections"] = "Alle Auswahlen ersetzen", -- src\editor\editor.lua
["Replace"] = "Ersetzen", -- 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
["Run as Scratchpad"] = "Als &Entwurf starten", -- 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\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
["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
["Saved auto-recover at %s."] = "%s Autowiederherstellen gespeichert.", -- src\editor\commands.lua
["Scope"] = "Richtung", -- src\editor\findreplace.lua
["Scratchpad error"] = "Fehler im Entwurf", -- src\editor\debugger.lua
["Searching for"] = "Suchen nach", -- 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 all text in the editor"] = "Kompletten Text im Editor auswählen", -- 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 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 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
["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, 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 Location"] = "Ordner öffnen", -- src\editor\gui.lua, src\editor\filetree.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
["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 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 or continue debugging"] = "Debuggen starten/fortsetzen", -- 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
["Step out of the current function"] = "Schritt aus der aktuellen Funktion heraus", -- src\editor\menu_project.lua
["Step over"] = "Überspringen", -- src\editor\menu_project.lua
["Stop debugging and continue running the process"] = "Beende debuggen und setze den Prozeß fort", -- src\editor\menu_project.lua
["Stop the currently running process"] = "Aktuell laufenden Prozeß stoppen", -- src\editor\menu_project.lua
["Switch to or from full screen mode"] = "Vollbild an/aus", -- src\editor\menu_view.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 Bookmark"] = "Lesezeichen setzen/löschen", -- src\editor\menu_edit.lua
["Toggle Break&point"] = "&Haltepunkt an/aus", -- src\editor\menu_project.lua
["Toggle bookmark"] = "Lesezeichen setzen/löschen", -- src\editor\menu_edit.lua
["Toggle breakpoint"] = "Haltepunkt an/aus", -- src\editor\menu_project.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 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
["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
["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
["View the watch window"] = "Fenster für Beobachtungspunkte ansehen", -- 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
["You must save the program first."] = "Erst das Programm speichern.", -- src\editor\commands.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
}

View File

@@ -1,4 +1,5 @@
return {
[0] = function(c) return c == 1 and 1 or 2 end, -- plural
["traced %d instruction"] = {"traced %d instruction", "traced %d instructions"}, -- src\editor\debugger.lua
["%d instance"] = {"%d instance", "%d instances"}, -- src\editor\findreplace.lua
}

300
cfg/i18n/eo.lua Normal file
View File

@@ -0,0 +1,300 @@
-- Traduko fare de cosmotect
return {
[0] = function(c) return c == 1 and 1 or 2 end, -- plural
["%d instance"] = {"%d aperaĵo", "%d aperaĵoj"}, -- src\editor\findreplace.lua
["%s event failed: %s"] = "%s evento malplenumiĝas: %s", -- src\editor\package.lua
["&About"] = "&Pri", -- src\editor\menu_help.lua
["&Add Watch"] = "&Aldoni observadaĵon", -- src\editor\debugger.lua
["&Break"] = "&Haltigi", -- src\editor\menu_project.lua
["&Close Page"] = "&Fermi paĝon", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Community"] = "&Komunumo", -- src\editor\menu_help.lua
["&Compile"] = "&Kompili", -- src\editor\menu_project.lua
["&Copy"] = "&Kopii", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Default Layout"] = "&Defaŭlta aranĝo", -- src\editor\menu_view.lua
["&Delete Watch"] = "&Forigi observadaĵon", -- src\editor\debugger.lua
["&Delete"] = "&Forigi", -- src\editor\filetree.lua
["&Documentation"] = "&Dokumentado", -- src\editor\menu_help.lua
["&Down"] = "&Malsupren", -- src\editor\findreplace.lua
["&Edit Project Directory"] = "&Redakti projektan dosierujon", -- src\editor\filetree.lua
["&Edit Value"] = "&Redakti valoron", -- src\editor\debugger.lua
["&Edit Watch"] = "&Redakti observadaĵon", -- src\editor\debugger.lua
["&Edit"] = "&Redakti", -- src\editor\menu_edit.lua
["&File"] = "&Dosiero", -- src\editor\menu_file.lua
["&Find All"] = "Tra&serĉi ĉion", -- src\editor\findreplace.lua
["&Find Next"] = "&Pluserĉi", -- src\editor\findreplace.lua
["&Find"] = "Tra&serĉi", -- src\editor\menu_search.lua
["&Fold/Unfold All"] = "&Kaŝi/Malkaŝi ĉion", -- src\editor\menu_edit.lua
["&Frequently Asked Questions"] = "&Oftaj demandoj", -- src\editor\menu_help.lua
["&Getting Started Guide"] = "&Ekgvidilo", -- src\editor\menu_help.lua
["&Go To Line..."] = "&Iri al linio...", -- src\editor\menu_search.lua
["&Help"] = "&Helpo", -- src\editor\menu_help.lua
["&New Directory"] = "&Nova dosierujo", -- src\editor\filetree.lua
["&New"] = "&Nova paĝo", -- src\editor\menu_file.lua
["&Open..."] = "&Malfermi...", -- src\editor\menu_file.lua
["&Output/Console Window"] = "&Eliga/Konzola fenestro", -- src\editor\menu_view.lua
["&Paste"] = "&Alglui", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Project Page"] = "&Projektpaĝo", -- src\editor\menu_help.lua
["&Project"] = "&Projekto", -- src\editor\menu_project.lua
["&Redo"] = "&Refari", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Rename"] = "&Renomigi", -- src\editor\filetree.lua
["&Replace All"] = "&Anstataŭi ĉion", -- src\editor\findreplace.lua
["&Replace"] = "&Anstataŭi", -- src\editor\findreplace.lua, src\editor\menu_search.lua
["&Run"] = "&Plenumi", -- src\editor\menu_project.lua
["&Save"] = "&Konservi", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Search"] = "&Serĉi", -- src\editor\menu_search.lua
["&Sort"] = "&Ordi", -- src\editor\menu_edit.lua
["&Stack Window"] = "&Staka fenestro", -- src\editor\menu_view.lua
["&Start Debugger Server"] = "&Ekfunkciigi sencimigilo-servilon", -- src\editor\menu_project.lua
["&Status Bar"] = "&Stata breto", -- src\editor\menu_view.lua
["&Subdirectories"] = "&Subdosierujoj", -- src\editor\findreplace.lua
["&Tool Bar"] = "&Ilobreto", -- src\editor\menu_view.lua
["&Tutorials"] = "&Lerniloj", -- src\editor\menu_help.lua
["&Undo"] = "&Malfari", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Up"] = "&Supren", -- src\editor\findreplace.lua
["&View"] = "&Vidi", -- src\editor\menu_view.lua
["&Watch Window"] = "&Observada fenestro", -- src\editor\menu_view.lua
[".&bak on Replace"] = ".&bak post anstataŭigo", -- src\editor\findreplace.lua
["About %s"] = "Pri %s", -- src\editor\menu_help.lua
["Add To Scratchpad"] = "Aldoni al malnetdosiero", -- src\editor\editor.lua
["Add Watch Expression"] = "Aldoni observadaĵan esprimon", -- src\editor\editor.lua
["All files"] = "Ĉiuj dosieroj", -- src\editor\commands.lua
["Allow external process to start debugging"] = "Lasi eksteran procezon ek-sencimigi", -- src\editor\menu_project.lua
["Analyze the source code"] = "Analizi fontkodon", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Analyze"] = "Analizi", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Auto Complete Identifiers"] = "Aŭtomate kompletigi fontkodnomojn", -- src\editor\menu_edit.lua
["Auto complete while typing"] = "Aŭtomate kompletigi dumtajpe", -- src\editor\menu_edit.lua
["Bookmark"] = "Legosigno", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Haltigi plenumon ĉe la sekva plenumata linio da fontkodo", -- src\editor\menu_project.lua
["C&lear Output Window"] = "Viŝi eligan fenestron", -- src\editor\gui.lua, src\editor\menu_project.lua
["C&omment/Uncomment"] = "F&orkomenti/Eksforkomenti", -- src\editor\menu_edit.lua
["Can't debug the script in the active editor window."] = "Ne povas sencimigi la skripton en la aktiva redaktila fenestro.", -- src\editor\debugger.lua
["Can't evaluate the expression while the application is running."] = "Ne povas malkodi la esprimon dum funkciatas la aplikaĵo.", -- 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."] = "Ne povas trovi la dosieron '%s' en la kuranta projekto por aktivi por sencimigo. Ĝisdatigu la projekton aŭ malfermu la dosieron en redaktilo antaŭ sencimigo.", -- src\editor\debugger.lua
["Can't open file '%s': %s"] = "Ne povas malfermi la dosieron '%s': %s", -- src\editor\singleinstance.lua
["Can't process auto-recovery record; invalid format: %s."] = "Ne povas analizi aŭtomatrestaŭran dosieron; neprava dosierformo: %s.", -- src\editor\commands.lua
["Can't run the entry point script ('%s')."] = "Ne povas plenumi la enirejan skripton", -- src\editor\debugger.lua
["Can't start debugger server at %s:%d: %s."] = "Ne povas ekfunkciigi sencimigilo-servilon ĉe %s:%d: %s.", -- src\editor\debugger.lua
["Can't start debugging session due to internal error '%s'."] = "Ne povas komenci sencimigan seancon pro interna eraro", -- src\editor\debugger.lua
["Can't start debugging without an opened file or with the current file not being saved ('%s')."] = "Ne povas ek-sencimigon sen malfermita dosiero aŭ kun la kuranta dosiero nekonserviĝas ('%s').", -- src\editor\debugger.lua
["Can't stop debugger server as it is not started."] = "Ne povas malfunkciigi sencimigilo-servilon, ĉar ĝi ne funkciantas", -- src\editor\debugger.lua
["Cancel"] = "Nuligi", -- src\editor\findreplace.lua
["Cancelled by the user."] = "Nuligita per la uzanto", -- src\editor\findreplace.lua
["Choose a project directory"] = "Elekti projektan dosierujon", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose..."] = "Elekti...", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Items"] = "Viŝi anojn", -- src\editor\menu_file.lua
["Clear items from this list"] = "Senlistigi tiujn ĉi anojn", -- src\editor\menu_file.lua
["Clear the output window before compiling or debugging"] = "Viŝi la eligan fenestron antaŭ kompilado aŭ sencimigado", -- src\editor\menu_project.lua
["Close &Other Pages"] = "Fermi &aliajn paĝojn", -- src\editor\gui.lua
["Close A&ll Pages"] = "Fermi ĉiujn paĝojn", -- src\editor\gui.lua
["Close the current editor window"] = "Fermi la kurantan redaktilan fenestron", -- src\editor\menu_file.lua
["Co&ntinue"] = "Daŭrigi", -- src\editor\menu_project.lua
["Col: %d"] = "Kol: %d", -- src\editor\editor.lua
["Command Line Parameters..."] = "Komandliniaj parametroj", -- src\editor\menu_project.lua
["Command line parameters"] = "Komandliniaj parametroj", -- src\editor\menu_project.lua
["Comment or uncomment current or selected lines"] = "Forkomenti aŭ eksforkomenti la kurantan aŭ la elektitajn liniojn", -- src\editor\menu_edit.lua
["Compilation error"] = "Eraro de kompilo", -- src\editor\commands.lua, src\editor\debugger.lua
["Compilation successful; %.0f%% success rate (%d/%d)."] = "Kompilo sukcesa; %.0f%% elcentaĵo da sukceso (%d/%d).", -- src\editor\commands.lua
["Compile the current file"] = "Kompili la kurantan dosieron", -- src\editor\menu_project.lua
["Complete &Identifier"] = "Finfari &fontkodnomon", -- src\editor\menu_edit.lua
["Complete the current identifier"] = "Finfari la kurantan fontkodnomon", -- src\editor\menu_edit.lua
["Consider removing backslash from escape sequence '%s'."] = "Kontemplu forigi maloblikvon el eskapsekvenco '%s'.", -- src\editor\commands.lua
["Copy Full Path"] = "Kopii plenan vojon", -- src\editor\gui.lua, src\editor\filetree.lua
["Copy selected text to clipboard"] = "Kopii elektitan tekston al la tondejo", -- src\editor\menu_edit.lua
["Correct &Indentation"] = "Korekti &alineon", -- src\editor\menu_edit.lua
["Couldn't activate file '%s' for debugging; continuing without it."] = "Ne povis aktivi la dosieron '%s' por sencimigi; daŭrantas sen ĝi.", -- src\editor\debugger.lua
["Create an empty document"] = "Krei malplenan dokumenton", -- src\editor\menu_file.lua
["Cu&t"] = "El&tondi", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Cut selected text to clipboard"] = "Eltondi la elektitan tekston al la tondejo", -- src\editor\menu_edit.lua
["Debugger server started at %s:%d."] = "Sencimigilo-servilon ekfunkciiĝis ĉe %s:%d.", -- src\editor\debugger.lua
["Debugger server stopped at %s:%d."] = "Sencimigilo-servilon malfunkciiĝis ĉe %s:%d.", -- src\editor\debugger.lua
["Debugging session completed (%s)."] = "Sencimiga seanco estas finita (%s).", -- src\editor\debugger.lua
["Debugging session started in '%s'."] = "Sencimiga seanco komencitas en '%s'.", -- src\editor\debugger.lua
["Debugging suspended at %s:%s (couldn't activate the file)."] = "La sencimigo estis finetita ĉe %s:%s (ne povis aktivi la dosieron).", -- src\editor\debugger.lua
["Detach &Process"] = "Deigi &procezon", -- src\editor\menu_project.lua
["Directory"] = "Dosierujo", -- src\editor\findreplace.lua
["Do you want to delete '%s'?"] = "Ĉu vi volas forigi je '%s'?", -- src\editor\filetree.lua
["Do you want to overwrite it?"] = "Ĉu vi volas superskribi ĉi tiun?", -- src\editor\commands.lua
["Do you want to reload it?"] = "Ĉu vi volas reŝarĝi tiun ĉi?", -- src\editor\editor.lua
["Do you want to save the changes to '%s'?"] = "Ĉu vi volas konservi ĉiujn ŝanĝojn, kiuj enfaris je '%s'?", -- src\editor\commands.lua
["E&xit"] = "&Eliri", -- src\editor\menu_file.lua
["Enter Lua code and press Enter to run it."] = "Enigu fontkodon de Lua kaj premu enenklavon por plenumi ĝin.", -- src\editor\shellbox.lua
["Enter command line parameters (use Cancel to clear)"] = "Enigu komandliniajn parametrojn (uzu nulig-butonon por viŝi)", -- src\editor\menu_project.lua
["Enter line number"] = "Enigu linian numeron", -- src\editor\menu_search.lua
["Enter replacement text"] = "Enigu anstataŭigan tekston", -- src\editor\editor.lua
["Error while loading API file: %s"] = "Eraro okazis dum ŝargado de API-a dosiero: %s", -- src\editor\autocomplete.lua
["Error while loading configuration file: %s"] = "Eraro okazis dum ŝargado de agorda dosiero: %s", -- src\editor\style.lua
["Error while processing API file: %s"] = "Eraro okazis dum analizado de API-a dosiero: %s", -- src\editor\autocomplete.lua
["Error while processing configuration file: %s"] = "Eraro okazis dum analizado de agorda dosiero: %s", -- src\editor\style.lua
["Error"] = "Eraro", -- src\editor\commands.lua
["Evaluate In Console"] = "Malkodi en la konzolo", -- src\editor\editor.lua
["Execute the current project/file and keep updating the code to see immediate results"] = "Plenumi la kurantan projekton/dosieron, kaj ĝisdatigadi la fontkodon por vidi tujajn rezultojn", -- src\editor\menu_project.lua
["Execute the current project/file"] = "Plenumi la kurantan projekton/dosieron", -- src\editor\menu_project.lua
["Execution error"] = "Eraro de plenumo", -- src\editor\debugger.lua
["Exit program"] = "Eliri programon", -- src\editor\menu_file.lua
["File '%s' has been modified on disk."] = "La dosiero nome de '%s' ŝanĝitis en disko.", -- src\editor\editor.lua
["File '%s' has more recent timestamp than restored '%s'; please review before saving."] = "La dosiero nome de '%s' havas pli freŝan tempindikon, ol la ripardosiero '%s'; bonvolu ekzameni ĝin antaû konservi.", -- src\editor\commands.lua
["File '%s' is missing and can't be recovered."] = "La dosiero nome de '%s' forestas kaj ne povas esti reakirita.", -- src\editor\commands.lua
["File '%s' no longer exists."] = "La dosiero nome de '%s' ne plu ekzistas.", -- src\editor\menu_file.lua, src\editor\editor.lua
["File Type"] = "Dosierspeco", -- src\editor\findreplace.lua
["File already exists."] = "Jam ekzistas tiu ĉi dosiero.", -- src\editor\commands.lua
["File history"] = "Dosiera historio", -- src\editor\menu_file.lua
["Find &In Files"] = "Traserĉi &en dosieroj", -- src\editor\menu_search.lua
["Find &Next"] = "&Pluserĉi", -- src\editor\menu_search.lua
["Find &Previous"] = "Traserĉi &antaŭanta", -- src\editor\menu_search.lua
["Find In Files"] = "Traserĉi en dosieroj", -- src\editor\findreplace.lua
["Find and replace text in files"] = "Traserĉi kaj anstataŭi tekston en dosieroj", -- src\editor\menu_search.lua
["Find and replace text"] = "Traserĉi kaj anstataŭi tekston", -- src\editor\menu_search.lua
["Find text in files"] = "Traserĉi tekston en dosieroj", -- src\editor\menu_search.lua
["Find text"] = "Traserĉi tekston", -- src\editor\menu_search.lua
["Find the earlier text occurence"] = "Traserĉi la antaŭantan aperaĵon da teksto", -- src\editor\menu_search.lua
["Find the next text occurrence"] = "Pluserĉi la aperaĵon da teksto", -- src\editor\menu_search.lua
["Find"] = "Traserĉi", -- src\editor\findreplace.lua
["Fold or unfold all code folds"] = "Kaŝi aŭ malkaŝi ĉiujn faldaĵojn da fontkodoj", -- src\editor\menu_edit.lua
["Found auto-recovery record and restored saved session."] = "Trovis aŭtomatrestaŭran dosieron kaj riparis konservitan seancon.", -- src\editor\commands.lua
["Found"] = "Trovis", -- src\editor\findreplace.lua
["Full &Screen"] = "Plenekrana &reĝimo", -- src\editor\menu_view.lua
["Go To Definition"] = "Iri al deklaro", -- src\editor\editor.lua
["Go To Line"] = "Iri al linio", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = "Iri al sekvanta legosigno", -- src\editor\menu_edit.lua
["Go To Previous Bookmark"] = "Iri al antaŭanta legosigno", -- src\editor\menu_edit.lua
["Go to a selected line"] = "Iri al elektita linio", -- src\editor\menu_search.lua
["INS"] = "INS", -- src\editor\editor.lua
["Ignored error in debugger initialization code: %s."] = "Ignoris eraron en pravaloriza kodo de la sencimigilo: %s.", -- src\editor\debugger.lua
["In Files"] = "Ene de dosieroj", -- src\editor\findreplace.lua
["Known Files"] = "Konataj dosieroj", -- src\editor\commands.lua
["Ln: %d"] = "Ln: %d", -- src\editor\editor.lua
["Local console"] = "Loka konzolo", -- src\editor\gui.lua, src\editor\shellbox.lua
["Lua &Interpreter"] = "Interpretilo de Lua", -- src\editor\menu_project.lua
["Mapped remote request for '%s' to '%s'."] = "Mapi faran peton pri '%s' al '%s'.", -- src\editor\debugger.lua
["Match &case"] = "Atenti &usklecon", -- src\editor\findreplace.lua
["Match &whole word"] = "Atenti &plenan vorton", -- src\editor\findreplace.lua
["Mixed end-of-line encodings detected."] = "Detektis kodoprezentojn miksitajn linifinajn", -- src\editor\commands.lua
["New &File"] = "Nova &dosiero", -- src\editor\filetree.lua
["OVR"] = "SUS", -- src\editor\editor.lua
["Open With Default Program"] = "Malfermi per la defaŭlta programo", -- src\editor\filetree.lua
["Open an existing document"] = "Malfermi jaman dokumenton", -- src\editor\menu_file.lua
["Open file"] = "Malfermi dosieron", -- src\editor\commands.lua
["Options"] = "Opcioj", -- src\editor\findreplace.lua
["Outline Window"] = "Skemo-fenestro", -- src\editor\menu_view.lua
["Outline"] = "Skemo", -- src\editor\outline.lua
["Output (running)"] = "Eligo (funkciata)", -- src\editor\debugger.lua, src\editor\output.lua
["Output (suspended)"] = "Eligo (finetita)", -- src\editor\debugger.lua
["Output"] = "Eligo", -- src\editor\debugger.lua, src\editor\output.lua, src\editor\gui.lua, src\editor\settings.lua
["Paste text from the clipboard"] = "Alglui tekston el la tondejo", -- src\editor\menu_edit.lua
["Preferences"] = "Preferoj", -- src\editor\menu_edit.lua
["Prepend '!' to force local execution."] = "Antaŭdoni je '!' por altrudi lokan plenumon.", -- src\editor\shellbox.lua
["Prepend '=' to show complex values on multiple lines."] = "Antaŭdoni je '=' por montri komplikajn valorojn sur multaj linioj.", -- src\editor\shellbox.lua
["Press cancel to abort."] = "Premu nulig-butonon por fini.", -- src\editor\commands.lua
["Program '%s' started in '%s' (pid: %d)."] = "La programo nome de '%s' komencitas en '%s' (pid: %d).", -- src\editor\output.lua
["Program can't start because conflicting process is running as '%s'."] = "La programo ne povas komenci, ĉar konflikta procezo funkcias kiel je la '%s'.", -- src\editor\output.lua
["Program completed in %.2f seconds (pid: %d)."] = "La programo finfaris post %.2f sekundoj", -- src\editor\output.lua
["Program starting as '%s'."] = "La programo komencas kiel je '%s'.", -- src\editor\output.lua
["Program stopped (pid: %d)."] = "La programo finis (pid: %d).", -- src\editor\debugger.lua
["Program unable to run as '%s'."] = "La programo ne kapablas plenumi kiel je '%s'.", -- src\editor\output.lua
["Project Directory"] = "Projekta dosierujo", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Project history"] = "Projekta historio", -- src\editor\menu_file.lua
["Project"] = "Projekto", -- src\editor\filetree.lua
["Project/&FileTree Window"] = "Projekta/&Dosierarba Fenestro", -- src\editor\menu_view.lua
["Provide command line parameters"] = "Doni komandliniajn parametrojn", -- src\editor\menu_project.lua
["R/O"] = "L/A", -- src\editor\editor.lua
["R/W"] = "L/S", -- src\editor\editor.lua
["Re&place In Files"] = "Anstataŭi en dosieroj", -- src\editor\menu_search.lua
["Re-indent selected lines"] = "Realinei elektitajn liniojn", -- src\editor\menu_edit.lua
["Recent &Projects"] = "Antaŭnelongaj &projektoj", -- src\editor\menu_file.lua
["Recent Files"] = "Antaŭnelongaj dosieroj", -- src\editor\menu_file.lua
["Redo last edit undone"] = "Refari lastan redakton", -- src\editor\menu_edit.lua
["Refused a request to start a new debugging session as there is one in progress already."] = "Peto por komenci novan sencimigan seancon malakceptis, ĉar seanco jam faratas.", -- src\editor\debugger.lua
["Regular &expression"] = "Regul&esprimo", -- src\editor\findreplace.lua
["Remote console"] = "Fora konzolo", -- src\editor\shellbox.lua
["Rename All Instances"] = "Renomigi ĉiujn aperaĵojn", -- src\editor\editor.lua
["Replace A&ll"] = "Anstataŭi ĉ&ion", -- src\editor\findreplace.lua
["Replace All Selections"] = "Anstataŭi ĉiujn elektojn", -- src\editor\editor.lua
["Replace"] = "Anstataŭi", -- src\editor\findreplace.lua
["Replaced an invalid UTF8 character with %s."] = "Anstataŭis UTF8-an signon per %s.", -- src\editor\commands.lua
["Replaced"] = "Anstataŭita", -- src\editor\findreplace.lua
["Replacing"] = "Anstataŭanta", -- src\editor\findreplace.lua
["Reset to default layout"] = "Rekomenciĝi al defaŭltan aranĝon", -- src\editor\menu_view.lua
["Run as Scratchpad"] = "Plenumi kiel malnetdosieron", -- src\editor\menu_project.lua
["S&top Debugging"] = "&Fini sencimigo", -- src\editor\menu_project.lua
["S&top Process"] = "&Fini procezon", -- src\editor\menu_project.lua
["Save &As..."] = "Konservi &kiel...", -- src\editor\gui.lua, src\editor\menu_file.lua
["Save A&ll"] = "Konservi ĉ&ion", -- src\editor\menu_file.lua
["Save Changes?"] = "Ĉu konservi ĉiujn ŝanĝojn?", -- src\editor\commands.lua
["Save all open documents"] = "Konservi ĉiujn malfermajn dokumentojn", -- src\editor\menu_file.lua
["Save file as"] = "Konservi dosieron kiel", -- src\editor\commands.lua
["Save file?"] = "Ĉu konservi dosieron?", -- src\editor\commands.lua
["Save the current document to a file with a new name"] = "Konservi la kurantan dokumenton kun dosiero novanome", -- src\editor\menu_file.lua
["Save the current document"] = "Konservi la kurantan dokumenton", -- src\editor\menu_file.lua
["Saved auto-recover at %s."] = "Konservis aŭtomatrestaŭron je %s.", -- src\editor\commands.lua
["Scope"] = "Amplekso", -- src\editor\findreplace.lua
["Scratchpad error"] = "Eraro de malnetdosiero", -- src\editor\debugger.lua
["Searching for"] = "Serĉanti pri", -- src\editor\findreplace.lua
["Sel: %d/%d"] = "Ele: %d/%d", -- src\editor\editor.lua
["Select &All"] = "Elekti &ĉion", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Select all text in the editor"] = "Elekti la tekston en la redaktilo", -- src\editor\menu_edit.lua
["Select and Find Next"] = "Elekti kaj pluserĉi", -- src\editor\menu_search.lua
["Select and Find Previous"] = "Elekti kaj traserĉi antaŭantan", -- src\editor\menu_search.lua
["Select the word under cursor and find its next occurrence"] = "Elekti la vorton sub la tajpmontrilo, kaj pluserĉi", -- src\editor\menu_search.lua
["Select the word under cursor and find its previous occurrence"] = "Elekti la vorton sub la tajpmontrilo, kaj traserĉi antaŭantan", -- src\editor\menu_search.lua
["Set From Current File"] = "Precizigi per la kuranta dosiero", -- src\editor\menu_project.lua
["Set project directory from current file"] = "Precizigi la projektan dosierujon per la kurantan dosieron", -- src\editor\menu_project.lua
["Set the interpreter to be used"] = "Precizigi la interpretiloton", -- src\editor\menu_project.lua
["Set the project directory to be used"] = "Precizigi la projekt-dosierujoton", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Settings: System"] = "Agordoj de la sistemo", -- src\editor\menu_edit.lua
["Settings: User"] = "Agordoj de la uzanto", -- src\editor\menu_edit.lua
["Show &Tooltip"] = "Montri &ŝpruchelpilon", -- src\editor\menu_edit.lua
["Show Location"] = "Montri lokon", -- src\editor\gui.lua, src\editor\filetree.lua
["Show tooltip for current position; place cursor after opening bracket of function"] = "Montri ŝpruchelpilon pri la kuranta pozicio; meti la tajpmontrilon preter la ronda ekkrampo de la funkcio", -- src\editor\menu_edit.lua
["Show/Hide the status bar"] = "Montri/Kaŝi la statan breton", -- src\editor\menu_view.lua
["Show/Hide the toolbar"] = "Montri/Kaŝi la ilobreton", -- src\editor\menu_view.lua
["Sort selected lines"] = "Ordi la elektitajn liniojn", -- src\editor\menu_edit.lua
["Source"] = "Fontkodo", -- src\editor\menu_edit.lua
["Stack"] = "Stako", -- src\editor\debugger.lua
["Start &Debugging"] = "Ek-&sencimigi", -- src\editor\menu_project.lua
["Start or continue debugging"] = "Komenci aŭ pluigi sencimigon", -- src\editor\menu_project.lua
["Step &Into"] = "Eniri &enen", -- src\editor\menu_project.lua
["Step &Over"] = "Trans&salti", -- src\editor\menu_project.lua
["Step O&ut"] = "Eliri el", -- src\editor\menu_project.lua
["Step into"] = "Eniri enen", -- src\editor\menu_project.lua
["Step out of the current function"] = "Eliri el la kuranta funkcio", -- src\editor\menu_project.lua
["Step over"] = "Transsalti", -- src\editor\menu_project.lua
["Stop debugging and continue running the process"] = "Fini sencimigon kaj plenumadi la procezon", -- src\editor\menu_project.lua
["Stop the currently running process"] = "Fini la nunfunkciatan procezon", -- src\editor\menu_project.lua
["Switch to or from full screen mode"] = "Interŝanĝi al aŭ el plenekrana reĝimo", -- src\editor\menu_view.lua
["Text not found."] = "Teksto ne trovitis", -- src\editor\findreplace.lua
["The API file must be located in a subdirectory of the API directory."] = "La dosiero de API devas troviĝi en subdosierujo de la API-a dosierujo.", -- src\editor\autocomplete.lua
["Toggle Bookmark"] = "Baskuli legosignon", -- src\editor\menu_edit.lua
["Toggle Break&point"] = "Baskuli halto&punkto", -- src\editor\menu_project.lua
["Toggle bookmark"] = "Baskuli legosignon", -- src\editor\menu_edit.lua
["Toggle breakpoint"] = "Baskuli haltopunkto", -- src\editor\menu_project.lua
["Tr&ace"] = "Spuri", -- src\editor\menu_project.lua
["Trace execution showing each executed line"] = "Spurili plenumon per montri ĉiun plenumitan linion", -- src\editor\menu_project.lua
["Unable to create directory '%s'."] = "Ne kapablas krei je la dosierujo '%s'.", -- src\editor\filetree.lua
["Unable to create file '%s'."] = "Ne kapablas krei je la dosiero '%s'.", -- src\editor\filetree.lua
["Unable to delete directory '%s': %s"] = "Ne kapablas forigi je la dosierujo '%s': %s", -- src\editor\filetree.lua
["Unable to load file '%s'."] = "Ne kapablas ŝarĝi je la dosiero '%s'.", -- src\editor\commands.lua
["Unable to rename file '%s'."] = "Ne kapablas renomigi je la dosiero '%s'.", -- src\editor\filetree.lua
["Unable to save file '%s': %s"] = "Ne kapablas konservi je la dosiero '%s': %s", -- src\editor\commands.lua
["Unable to stop program (pid: %d), code %d."] = "Ne kapablas fini la programon (pid: %d), kodo %d.", -- src\editor\debugger.lua
["Undo last edit"] = "Malfari la antaŭan redakton", -- src\editor\menu_edit.lua
["Use '%s' to see full description."] = "Uzu je '%s' por vidi plenan priskribon", -- src\editor\editor.lua
["Use '%s' to show line endings and '%s' to convert them."] = "Uzu je '%s' por montri linifinojn kaj je '%s' por konverti ilin", -- src\editor\commands.lua
["Use 'clear' to clear the shell output and the history."] = "Tajpu 'clear' por viŝi la eligon kaj historion de la ŝelo.", -- src\editor\shellbox.lua
["Use Shift-Enter for multiline code."] = "Uzu <Majuskligklavon-Enenklavon> por plurlinia fontkodo.", -- src\editor\shellbox.lua
["View the outline window"] = "Vidi la skemo-fenestron", -- src\editor\menu_view.lua
["View the output/console window"] = "Vidi la eligo/konzolo-fenestron", -- src\editor\menu_view.lua
["View the project/filetree window"] = "Vidi la projekto/dosierarbo-fenestron", -- src\editor\menu_view.lua
["View the stack window"] = "Vidi la stako-fenestron", -- src\editor\menu_view.lua
["View the watch window"] = "Vidi la observado-fenestron", -- src\editor\menu_view.lua
["Watch"] = "Observado", -- src\editor\debugger.lua
["Welcome to the interactive Lua interpreter."] = "Bonvenon al la interaga interpretilo de Lua.", -- src\editor\shellbox.lua
["Wrap ar&ound"] = "&Ĉirkaŭflui", -- src\editor\findreplace.lua
["You must save the program first."] = "Vi unue devas konservi la programon.", -- src\editor\commands.lua
["Zoom In"] = "Zomi", -- src\editor\menu_view.lua
["Zoom Out"] = "Malzomi", -- src\editor\menu_view.lua
["Zoom to 100%"] = "Zomi al 100%", -- src\editor\menu_view.lua
["Zoom"] = "Zomo", -- src\editor\menu_view.lua
["on line %d"] = "sur la linio %d", -- src\editor\debugger.lua, src\editor\editor.lua, src\editor\commands.lua
["traced %d instruction"] = {"spuris je %d instrukcio", "spuris je %d instrukcioj"}, -- src\editor\debugger.lua
["unknown error"] = "obskura eraro", -- src\editor\debugger.lua
}

View File

@@ -1,130 +1,188 @@
-- Traducción realiazada por Iñigo Sola
-- para la versión ZeroBrane Studio 17bdb48
-- 10 de Noviembre de 2012
return {
[0] = function(c) return c == 1 and 1 or 2 end, -- plural
["%d instance"] = nil, -- src\editor\findreplace.lua
["%s event failed: %s"] = nil, -- src\editor\package.lua
["&About"] = "&Acerca de...", -- src\editor\menu_help.lua
["&Add Watch"] = "Añadir observación", -- src\editor\debugger.lua
["&Break"] = "Ruptura", -- src\editor\menu_project.lua
["&Close Page"] = "Cerrar página", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Close Page"] = "Cerrar página", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Community"] = nil, -- src\editor\menu_help.lua
["&Compile"] = "Compilar", -- src\editor\menu_project.lua
["&Copy"] = "Copiar", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Copy"] = "Copiar", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Default Layout"] = "Diseño por defecto", -- src\editor\menu_view.lua
["&Delete Watch"] = "Eliminar observación", -- src\editor\debugger.lua
["&Delete"] = nil, -- src\editor\filetree.lua
["&Documentation"] = nil, -- src\editor\menu_help.lua
["&Down"] = nil, -- src\editor\findreplace.lua
["&Edit Project Directory"] = nil, -- src\editor\filetree.lua
["&Edit Value"] = nil, -- src\editor\debugger.lua
["&Edit Watch"] = "Editar observación", -- src\editor\debugger.lua
["&Edit"] = "Editar", -- src\editor\menu_edit.lua
["&File"] = "Archivo", -- src\editor\menu_file.lua
["&Find All"] = nil, -- src\editor\findreplace.lua
["&Find Next"] = nil, -- src\editor\findreplace.lua
["&Find"] = "Buscar", -- src\editor\menu_search.lua
["&Fold/Unfold All"] = "Plegar/desplegar todo", -- src\editor\menu_edit.lua
["&Goto Line"] = "Ir a línea", -- src\editor\menu_search.lua
["&Frequently Asked Questions"] = nil, -- src\editor\menu_help.lua
["&Getting Started Guide"] = nil, -- src\editor\menu_help.lua
["&Go To Line..."] = "Ir a línea...", -- src\editor\menu_search.lua
["&Help"] = "Ayuda", -- src\editor\menu_help.lua
["&New Directory"] = nil, -- src\editor\filetree.lua
["&New"] = "&Nuevo", -- src\editor\menu_file.lua
["&Open..."] = "&Abrir...", -- src\editor\menu_file.lua
["&Output/Console Window"] = "Salida/Consola", -- src\editor\menu_view.lua
["&Paste"] = "Pegar", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Project"] = "Proyecto", -- src\editor\menu_project.lua, src\editor\inspect.lua
["&Redo"] = "Rehacer", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Replace"] = "Remplazar", -- src\editor\menu_search.lua
["&Paste"] = "Pegar", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Project Page"] = nil, -- src\editor\menu_help.lua
["&Project"] = "Proyecto", -- src\editor\menu_project.lua
["&Redo"] = "Rehacer", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Rename"] = nil, -- src\editor\filetree.lua
["&Replace All"] = nil, -- src\editor\findreplace.lua
["&Replace"] = "Remplazar", -- src\editor\findreplace.lua, src\editor\menu_search.lua
["&Run"] = "Ejecutar", -- src\editor\menu_project.lua
["&Save"] = "Guardar", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Save"] = "Guardar", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Search"] = "Buscar", -- src\editor\menu_search.lua
["&Sort"] = "Clasificar", -- src\editor\menu_search.lua
["&Sort"] = "Clasificar", -- src\editor\menu_edit.lua
["&Stack Window"] = "Ventana de la pila de ejecución", -- src\editor\menu_view.lua
["&Start Debugger Server"] = "Lanzar servidor de depuración", -- src\editor\menu_project.lua
["&Undo"] = "Deshacer", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Status Bar"] = nil, -- src\editor\menu_view.lua
["&Subdirectories"] = nil, -- src\editor\findreplace.lua
["&Tool Bar"] = nil, -- src\editor\menu_view.lua
["&Tutorials"] = nil, -- src\editor\menu_help.lua
["&Undo"] = "Deshacer", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Up"] = nil, -- src\editor\findreplace.lua
["&View"] = "Ver", -- src\editor\menu_view.lua
["&Watch Window"] = "Ventana de observaciones", -- src\editor\menu_view.lua
["About ZeroBrane Studio"] = "Acerca de ZeroBrane Studio", -- src\editor\menu_help.lua
[".&bak on Replace"] = nil, -- src\editor\findreplace.lua
["About %s"] = "Acerca de %s", -- src\editor\menu_help.lua
["Add To Scratchpad"] = "Añadir al borrador", -- src\editor\editor.lua
["Add Watch Expression"] = "Añadir expresión de observación", -- src\editor\editor.lua
["Add to Scratchpad"] = "Añadir al borrador", -- src\editor\editor.lua
["All files"] = "Todos los archivos", -- src\editor\commands.lua
["Allow external process to start debugging"] = "Permitir proceso externo para iniciar depuración", -- src\editor\menu_project.lua
["Analyze the source code"] = "Analizar el código fuente", -- src\editor\inspect.lua
["Analyze"] = "Analizar", -- src\editor\inspect.lua
["Analyze the source code"] = "Analizar el código fuente", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Analyze"] = "Analizar", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Auto Complete Identifiers"] = "Autocompletar identificadores", -- src\editor\menu_edit.lua
["Auto complete while typing"] = "Autocompletar mientras se escribe", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Parar ejecución en la siguiente línea de código", -- src\editor\menu_project.lua, src\editor\gui.lua
["C&lear Output Window"] = "Limpiar ventana de Salida", -- src\editor\menu_project.lua
["Bookmark"] = nil, -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Parar ejecución en la siguiente línea de código", -- src\editor\menu_project.lua
["C&lear Output Window"] = "Limpiar ventana de Salida", -- src\editor\gui.lua, src\editor\menu_project.lua
["C&omment/Uncomment"] = "Comentar/descomentar", -- src\editor\menu_edit.lua
["Can't debug the script in the active editor window."] = "No se puede depurar el script en la ventana activa del editor", -- src\editor\debugger.lua
["Can't evaluate the expression while the application is running."] = nil, -- 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."] = "No se puede encontrar el archivo '%s' en el proyecto actual para activar la depuración. Actualiza el proyecto o abre el archivo en el editor antes de depurar.", -- src\editor\debugger.lua
["Can't open file '%s': %s"] = nil, -- src\editor\singleinstance.lua
["Can't process auto-recovery record; invalid format: %s."] = "No se puede procesar la autorrecuperación; formato inválido: %s.", -- src\editor\commands.lua
["Can't run the entry point script ('%s')."] = "No se pude ejecutar el punto de entrada del script (%s).", -- src\editor\debugger.lua
["Can't start debugger server at %s:%d: %s."] = nil, -- src\editor\debugger.lua
["Can't start debugging session due to internal error '%s'."] = "No se puede iniciar la sesión de depuración debido a un error interno '%s'.'", -- src\editor\debugger.lua
["Can't start debugging without an opened file or with the current file not being saved ('%s')."] = "No se puede iniciar la depuración sin abrir un archivo o si no ha sido guardado ('%s').", -- src\editor\debugger.lua
["Choose ..."] = nil, -- src\editor\menu_project.lua
["Choose a project directory"] = "Elegir el directorio del proyecto", -- src\editor\menu_project.lua
["Clear &Dynamic Words"] = "Limpiar las palabras dinámicas", -- src\editor\menu_edit.lua
["Can't stop debugger server as it is not started."] = nil, -- src\editor\debugger.lua
["Cancel"] = nil, -- src\editor\findreplace.lua
["Cancelled by the user."] = nil, -- src\editor\findreplace.lua
["Choose a project directory"] = "Elegir el directorio del proyecto", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose..."] = nil, -- src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Items"] = nil, -- src\editor\menu_file.lua
["Clear items from this list"] = nil, -- src\editor\menu_file.lua
["Clear the output window before compiling or debugging"] = "Limpiar la ventana de salida antes de compilar o depurar", -- src\editor\menu_project.lua
["Close &Other Pages"] = nil, -- src\editor\gui.lua
["Close A&ll Pages"] = nil, -- src\editor\gui.lua
["Close the current editor window"] = "Cerrar la ventana actual del editor", -- src\editor\menu_file.lua
["Co&ntinue"] = "Continuar", -- src\editor\menu_project.lua
["Col: %d"] = "Col: %d", -- src\editor\editor.lua
["Command Line Parameters..."] = nil, -- src\editor\menu_project.lua
["Command line parameters"] = nil, -- src\editor\menu_project.lua
["Comment or uncomment current or selected lines"] = {"Comentar o descomentar la línea activa (seleccionada)","Comentar o descomentar las líneas activas (seleccionadas)"}, -- src\editor\menu_edit.lua
["Compilation error"] = "Error de compilación", -- src\editor\debugger.lua, src\editor\commands.lua
["Compilation error"] = "Error de compilación", -- src\editor\commands.lua, src\editor\debugger.lua
["Compilation successful; %.0f%% success rate (%d/%d)."] = "Compilación exitosa; factor de éxito: %.0f%% (%d/%d).", -- src\editor\commands.lua
["Compile the current file"] = "Compilar el archivo actual", -- src\editor\menu_project.lua
["Complete &Identifier"] = "Completar identificador", -- src\editor\menu_edit.lua
["Complete the current identifier"] = "Completar el actual identificador", -- src\editor\menu_edit.lua
["Consider removing backslash from escape sequence '%s'."] = nil, -- src\editor\commands.lua
["Copy Full Path"] = nil, -- src\editor\gui.lua, src\editor\filetree.lua
["Copy selected text to clipboard"] = "Copiar el texto seleccionado al portapapeles", -- src\editor\menu_edit.lua
["Correct &Indentation"] = nil, -- src\editor\menu_edit.lua
["Couldn't activate file '%s' for debugging; continuing without it."] = "No se pudo activar el archivo '%s' para la depuración; continuar sin él.", -- src\editor\debugger.lua
["Create an empty document"] = "Crear un documento en blanco", -- src\editor\menu_file.lua, src\editor\gui.lua
["Cu&t"] = "Cortar", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Create an empty document"] = "Crear un documento en blanco", -- src\editor\menu_file.lua
["Cu&t"] = "Cortar", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Cut selected text to clipboard"] = "Cortar el texto selecionado al portapapeles", -- src\editor\menu_edit.lua
["Debugger server started at %s:%d."] = "Servidor de depuración inciado en %s:%s", -- src\editor\debugger.lua
["Debugger server stopped at %s:%d."] = nil, -- src\editor\debugger.lua
["Debugging session completed (%s)."] = "Sesión de depuración completada (%s).", -- src\editor\debugger.lua
["Debugging session started in '%s'."] = "Sesión de depuración iniciada en '%s'.", -- src\editor\debugger.lua
["Debugging suspended at %s:%s (couldn't activate the file)."] = nil, -- src\editor\debugger.lua
["Detach &Process"] = nil, -- src\editor\menu_project.lua
["Directory"] = nil, -- src\editor\findreplace.lua
["Do you want to delete '%s'?"] = nil, -- src\editor\filetree.lua
["Do you want to overwrite it?"] = nil, -- src\editor\commands.lua
["Do you want to reload it?"] = "¿Quieres recargarlo?", -- src\editor\editor.lua
["Do you want to save the changes to '%s'?"] = "¿Quieres guardar los cambios en '%s'?", -- src\editor\commands.lua
["E&xit"] = "Salir", -- src\editor\menu_file.lua
["Enter Lua code and press Enter to run it."] = "Introduce código Lua y pulsa <Entrer> para ejecutarlo.", -- src\editor\shellbox.lua
["Enter command line parameters (use Cancel to clear)"] = nil, -- src\editor\menu_project.lua
["Enter line number"] = "Introduce número de línea", -- src\editor\menu_search.lua
["Enter replacement text"] = nil, -- src\editor\editor.lua
["Error while loading API file: %s"] = "Error mientras se cargaba el archivo de API: %s", -- src\editor\autocomplete.lua
["Error while loading configuration file: %s"] = nil, -- src\editor\style.lua
["Error while processing API file: %s"] = "Error mientras se procesaba el archivo de API: %s", -- src\editor\autocomplete.lua
["Error while processing configuration file: %s"] = nil, -- src\editor\style.lua
["Error"] = "Error", -- src\editor\commands.lua
["Evaluate in Console"] = "Evaluar en consola", -- src\editor\editor.lua
["Evaluate In Console"] = "Evaluar en consola", -- src\editor\editor.lua
["Execute the current project/file and keep updating the code to see immediate results"] = "Ejecutar el proyecto/archivo actual y manteniendo actualizado el código para ver resultados en tiempo real", -- src\editor\menu_project.lua
["Execute the current project/file"] = "Ejecutar el proyecto/archivo actual", -- src\editor\menu_project.lua
["Execution error"] = "Error de ejecución", -- src\editor\debugger.lua
["Exit program"] = "Salir del programa", -- src\editor\menu_file.lua
["Expr"] = "Expr.", -- src\editor\debugger.lua
["Expression"] = "Expresión", -- src\editor\debugger.lua
["File '%s' has been modified on disk."] = "El archivo '%s' ha sido modificado en el disco.", -- src\editor\editor.lua
["File '%s' has more recent timestamp than restored '%s'; please review before saving."] = "El archivo '%s' tiene una fecha más reciente que el restaurado '%s'; por favor, revísalo antes de guardar.", -- src\editor\commands.lua
["File '%s' no longer exists."] = "El archivo '%s' no existe.", -- src\editor\editor.lua
["File '%s' is missing and can't be recovered."] = nil, -- src\editor\commands.lua
["File '%s' no longer exists."] = "El archivo '%s' no existe.", -- src\editor\menu_file.lua, src\editor\editor.lua
["File Type"] = nil, -- src\editor\findreplace.lua
["File already exists."] = nil, -- src\editor\commands.lua
["File history"] = "Historial de archivos", -- src\editor\menu_file.lua
["Find &In Files"] = "Buscar en archivos", -- src\editor\menu_search.lua
["Find &Next"] = "Buscar siguiente", -- src\editor\menu_search.lua
["Find &Previous"] = "Buscar anterior", -- src\editor\menu_search.lua
["Find In Files"] = nil, -- src\editor\findreplace.lua
["Find and replace text in files"] = "Buscar y remplazar texto en archivos", -- src\editor\menu_search.lua
["Find and replace text"] = "Buscar y rempleazar texto", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find and replace text"] = "Buscar y rempleazar texto", -- src\editor\menu_search.lua
["Find text in files"] = "Buscar texto en archivos", -- src\editor\menu_search.lua
["Find text"] = "Buscar texto", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find text"] = "Buscar texto", -- src\editor\menu_search.lua
["Find the earlier text occurence"] = "Buscar la anterior aparición del texto", -- src\editor\menu_search.lua
["Find the next text occurrence"] = "Buscar la siguiente aparecición del texto", -- src\editor\menu_search.lua
["Find"] = nil, -- src\editor\findreplace.lua
["Fold or unfold all code folds"] = "Plegar o desplegar todo el código plegado", -- src\editor\menu_edit.lua
["Found auto-recovery record and restored saved session."] = "Encontrada autorrecuperación y sesión restaurada.", -- src\editor\commands.lua
["Found"] = nil, -- src\editor\findreplace.lua
["Full &Screen"] = "Pantalla completa", -- src\editor\menu_view.lua
["Go To Definition"] = nil, -- src\editor\editor.lua
["Go To Line"] = "Ir a línea", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = nil, -- src\editor\menu_edit.lua
["Go To Previous Bookmark"] = nil, -- src\editor\menu_edit.lua
["Go to a selected line"] = "Ir a línea seleccionada", -- src\editor\menu_search.lua
["Goto Line"] = "Ir a línea", -- src\editor\menu_search.lua
["INS"] = "INS", -- src\editor\editor.lua
["Jump to a function definition..."] = "Saltar a la definición de la función...", -- src\editor\editor.lua
["Ignored error in debugger initialization code: %s."] = nil, -- src\editor\debugger.lua
["In Files"] = nil, -- src\editor\findreplace.lua
["Known Files"] = "Archivos conocidos", -- src\editor\commands.lua
["Ln: %d"] = "Ln: %d", -- src\editor\editor.lua
["Local console"] = "Consola local", -- src\editor\shellbox.lua, src\editor\gui.lua
["Local console"] = "Consola local", -- src\editor\gui.lua, src\editor\shellbox.lua
["Lua &Interpreter"] = "Intérprete Lua", -- src\editor\menu_project.lua
["Mapped remote request for '%s' to '%s'."] = nil, -- src\editor\debugger.lua
["Match &case"] = nil, -- src\editor\findreplace.lua
["Match &whole word"] = nil, -- src\editor\findreplace.lua
["Mixed end-of-line encodings detected."] = nil, -- src\editor\commands.lua
["New &File"] = nil, -- src\editor\filetree.lua
["OVR"] = "OVR", -- src\editor\editor.lua
["Open an existing document"] = "Abrir un documento existente", -- src\editor\menu_file.lua, src\editor\gui.lua
["Open With Default Program"] = nil, -- src\editor\filetree.lua
["Open an existing document"] = "Abrir un documento existente", -- src\editor\menu_file.lua
["Open file"] = "Abrir archivo", -- src\editor\commands.lua
["Output (running)"] = "Salida (en ejecución)", -- src\editor\output.lua
["Output"] = "Salida", -- src\editor\output.lua, src\editor\settings.lua, src\editor\gui.lua
["Options"] = nil, -- src\editor\findreplace.lua
["Outline Window"] = nil, -- src\editor\menu_view.lua
["Outline"] = nil, -- src\editor\outline.lua
["Output (running)"] = "Salida (en ejecución)", -- src\editor\debugger.lua, src\editor\output.lua
["Output (suspended)"] = nil, -- src\editor\debugger.lua
["Output"] = "Salida", -- src\editor\debugger.lua, src\editor\output.lua, src\editor\gui.lua, src\editor\settings.lua
["Paste text from the clipboard"] = "Pegar texto desde el portapapeles", -- src\editor\menu_edit.lua
["Preferences"] = nil, -- src\editor\menu_edit.lua
["Prepend '!' to force local execution."] = nil, -- src\editor\shellbox.lua
["Prepend '=' to show complex values on multiple lines."] = "Antepón '=' para ver valores complejos en líneas múltiples", -- src\editor\shellbox.lua
["Press cancel to abort."] = "Presiona cancelar para abortar.", -- src\editor\commands.lua
["Program '%s' started in '%s' (pid: %d)."] = "Programa '%s' iniciado en '%s' (pid: %d).", -- src\editor\output.lua
@@ -133,58 +191,89 @@ return {
["Program starting as '%s'."] = "Programa iniciado como '%s'.", -- src\editor\output.lua
["Program stopped (pid: %d)."] = "Programa parado (pid: %d).", -- src\editor\debugger.lua
["Program unable to run as '%s'."] = "No se puede ejecutar el programa como '%s'.", -- src\editor\output.lua
["Project Directory"] = nil, -- src\editor\menu_project.lua
["Project"] = "Proyecto", -- src\editor\settings.lua, src\editor\gui.lua
["Project Directory"] = nil, -- src\editor\menu_project.lua, src\editor\filetree.lua
["Project history"] = nil, -- src\editor\menu_file.lua
["Project"] = "Proyecto", -- src\editor\filetree.lua
["Project/&FileTree Window"] = "Ventana de proyecto/árbol de archivos", -- src\editor\menu_view.lua
["Provide command line parameters"] = nil, -- src\editor\menu_project.lua
["R/O"] = "R/O", -- src\editor\editor.lua
["R/W"] = "R/W", -- src\editor\editor.lua
["Re&place In Files"] = "Remplazar en archivos", -- src\editor\menu_search.lua
["Re-indent selected lines"] = nil, -- src\editor\menu_edit.lua
["Recent &Projects"] = nil, -- src\editor\menu_file.lua
["Recent Files"] = "Archivos recientes", -- src\editor\menu_file.lua
["Redo last edit undone"] = "Rehacer la última edición deshecha", -- src\editor\menu_edit.lua
["Refused a request to start a new debugging session as there is one in progress already."] = "No se pudo lanzar una nueva sesión de depuración porque ya hay una en curso.", -- src\editor\debugger.lua
["Regular &expression"] = nil, -- src\editor\findreplace.lua
["Remote console"] = "Consola remota", -- src\editor\shellbox.lua
["Rename All Instances"] = nil, -- src\editor\editor.lua
["Replace A&ll"] = nil, -- src\editor\findreplace.lua
["Replace All Selections"] = nil, -- src\editor\editor.lua
["Replace"] = nil, -- src\editor\findreplace.lua
["Replaced an invalid UTF8 character with %s."] = nil, -- src\editor\commands.lua
["Replaced"] = nil, -- src\editor\findreplace.lua
["Replacing"] = nil, -- src\editor\findreplace.lua
["Reset to default layout"] = "Restablecer el diseño por defecto", -- src\editor\menu_view.lua
["Resets the dynamic word list for autocompletion"] = "Restablecer la lista dinámica de palabras para autocompletado", -- src\editor\menu_edit.lua
["Run as Scratchpad"] = "Ejecutar como borrador", -- src\editor\menu_project.lua
["S&top Debugging"] = "Parar depuración", -- src\editor\menu_project.lua
["S&top Process"] = "Parar proceso", -- src\editor\menu_project.lua
["Save &As..."] = "Guardar como...", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save &As..."] = "Guardar como...", -- src\editor\gui.lua, src\editor\menu_file.lua
["Save A&ll"] = "Guardar todo", -- src\editor\menu_file.lua
["Save Changes?"] = "¿Guardar cambios?", -- src\editor\commands.lua
["Save all open documents"] = "Guardar todos los documentos abiertos", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save all open documents"] = "Guardar todos los documentos abiertos", -- src\editor\menu_file.lua
["Save file as"] = "Guardar archivo como", -- src\editor\commands.lua
["Save file?"] = "¿Guardar archivo?", -- src\editor\commands.lua
["Save the current document to a file with a new name"] = "Guardar el documento actual en un archivo con un nombre nuevo", -- src\editor\menu_file.lua
["Save the current document"] = "Guardar el documento actual", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save the current document"] = "Guardar el documento actual", -- src\editor\menu_file.lua
["Saved auto-recover at %s."] = "Guardar autorrecuperación en %s.", -- src\editor\commands.lua
["Scope"] = nil, -- src\editor\findreplace.lua
["Scratchpad error"] = "Error en el borrador", -- src\editor\debugger.lua
["Select &All"] = "Seleccionar todo", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Searching for"] = nil, -- src\editor\findreplace.lua
["Sel: %d/%d"] = nil, -- src\editor\editor.lua
["Select &All"] = "Seleccionar todo", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Select all text in the editor"] = "Seleccionar todo el texto en el editor", -- src\editor\menu_edit.lua
["Select and Find Next"] = nil, -- src\editor\menu_search.lua
["Select and Find Previous"] = nil, -- src\editor\menu_search.lua
["Select the word under cursor and find its next occurrence"] = nil, -- src\editor\menu_search.lua
["Select the word under cursor and find its previous occurrence"] = nil, -- src\editor\menu_search.lua
["Set From Current File"] = nil, -- src\editor\menu_project.lua
["Set project directory from current file"] = "Establecer el directorio del proyecto del archivo actual", -- src\editor\menu_project.lua, src\editor\gui.lua
["Set project directory from current file"] = "Establecer el directorio del proyecto del archivo actual", -- src\editor\menu_project.lua
["Set the interpreter to be used"] = "Establecer el intérprete a ser usado", -- src\editor\menu_project.lua
["Set the project directory to be used"] = nil, -- src\editor\menu_project.lua
["Set the project directory to be used"] = nil, -- src\editor\menu_project.lua, src\editor\filetree.lua
["Settings: System"] = nil, -- src\editor\menu_edit.lua
["Settings: User"] = nil, -- src\editor\menu_edit.lua
["Show &Tooltip"] = "Ver tooltip", -- src\editor\menu_edit.lua
["Show Location"] = nil, -- src\editor\gui.lua, src\editor\filetree.lua
["Show tooltip for current position; place cursor after opening bracket of function"] = "Ver tooltip para la posición actual; posicionar el cursor después de abrir el paréntisis de los argumentos de la función", -- src\editor\menu_edit.lua
["Sort selected lines"] = "Clasificar las líneas seleccionadas", -- src\editor\menu_search.lua
["Show/Hide the status bar"] = nil, -- src\editor\menu_view.lua
["Show/Hide the toolbar"] = nil, -- src\editor\menu_view.lua
["Sort selected lines"] = "Clasificar las líneas seleccionadas", -- src\editor\menu_edit.lua
["Source"] = nil, -- src\editor\menu_edit.lua
["Stack"] = nil, -- src\editor\debugger.lua
["Start &Debugging"] = "Comenzar depuración", -- src\editor\menu_project.lua
["Start debugging"] = "Comenzar depuración", -- src\editor\menu_project.lua, src\editor\gui.lua
["Start or continue debugging"] = nil, -- src\editor\menu_project.lua
["Step &Into"] = "Paso dentro", -- src\editor\menu_project.lua
["Step &Over"] = "Paso sin entrar", -- src\editor\menu_project.lua
["Step O&ut"] = "Paso fuera", -- src\editor\menu_project.lua
["Step into"] = "Paso dentro", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step out of the current function"] = "Hasta salir de la función actual", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step over"] = "Paso sin entrar", -- src\editor\menu_project.lua, src\editor\gui.lua
["Stop the currently running process"] = "Parar el proceso en ejecución", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step into"] = "Paso dentro", -- src\editor\menu_project.lua
["Step out of the current function"] = "Hasta salir de la función actual", -- src\editor\menu_project.lua
["Step over"] = "Paso sin entrar", -- src\editor\menu_project.lua
["Stop debugging and continue running the process"] = nil, -- src\editor\menu_project.lua
["Stop the currently running process"] = "Parar el proceso en ejecución", -- src\editor\menu_project.lua
["Switch to or from full screen mode"] = "Conmutar el modo de pantalla completa", -- src\editor\menu_view.lua
["Text not found."] = nil, -- src\editor\findreplace.lua
["The API file must be located in a subdirectory of the API directory."] = "El archivo de API debe ser almacenado en un subdirectorio del directorio de API.", -- src\editor\autocomplete.lua
["Toggle Bookmark"] = nil, -- src\editor\menu_edit.lua
["Toggle Break&point"] = "Conmutar punto de ruptura", -- src\editor\menu_project.lua
["Toggle breakpoint"] = "Conmutar punto de ruptura", -- src\editor\menu_project.lua, src\editor\gui.lua
["Toggle bookmark"] = nil, -- src\editor\menu_edit.lua
["Toggle breakpoint"] = "Conmutar punto de ruptura", -- src\editor\menu_project.lua
["Tr&ace"] = "Traza", -- src\editor\menu_project.lua
["Trace execution showing each executed line"] = "Traza de ejecución mostrando cada línea ejecutada", -- src\editor\menu_project.lua
["Unable to create directory '%s'."] = nil, -- src\editor\filetree.lua
["Unable to create file '%s'."] = nil, -- src\editor\filetree.lua
["Unable to delete directory '%s': %s"] = nil, -- src\editor\filetree.lua
["Unable to load file '%s'."] = "No se pudo cargar el archivo '%s'.", -- src\editor\commands.lua
["Unable to rename file '%s'."] = nil, -- src\editor\filetree.lua
["Unable to save file '%s': %s"] = "No se pudo guardar el archivo '%s': %s", -- src\editor\commands.lua
["Unable to stop program (pid: %d), code %d."] = "No se puedo parar el programa (pid: %d), código %d.", -- src\editor\debugger.lua
["Undo last edit"] = "Deshacer la última edición", -- src\editor\menu_edit.lua
@@ -192,14 +281,20 @@ return {
["Use '%s' to show line endings and '%s' to convert them."] = nil, -- src\editor\commands.lua
["Use 'clear' to clear the shell output and the history."] = "Usa 'clear' para limpiar la consola de salida y el historial.", -- src\editor\shellbox.lua
["Use Shift-Enter for multiline code."] = "Usa <Shift-Enter> para código multilínea.", -- src\editor\shellbox.lua
["Value"] = "Valor", -- src\editor\debugger.lua
["View the outline window"] = nil, -- src\editor\menu_view.lua
["View the output/console window"] = "Ver ventana de salida/consola", -- src\editor\menu_view.lua
["View the project/filetree window"] = "Ver la ventana de proyecto/árbol de archivos", -- src\editor\menu_view.lua
["View the stack window"] = "Ver la ventana de la pila de ejecución", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the watch window"] = "Ver la ventana de observación", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the stack window"] = "Ver la ventana de la pila de ejecución", -- src\editor\menu_view.lua
["View the watch window"] = "Ver la ventana de observación", -- src\editor\menu_view.lua
["Watch"] = nil, -- src\editor\debugger.lua
["Welcome to the interactive Lua interpreter."] = "Bienvenido al intérprete interactico de Lua.", -- src\editor\shellbox.lua
["Wrap ar&ound"] = nil, -- src\editor\findreplace.lua
["You must save the program first."] = "Debes guardar el programa primero", -- src\editor\commands.lua
["on line %d"] = "en la línea %d", -- src\editor\debugger.lua, src\editor\commands.lua
["traced %d instruction"] = {"%d instrucción trazada", "%d instrucciones trazadas"} -- src\editor\debugger.lua
["Zoom In"] = nil, -- src\editor\menu_view.lua
["Zoom Out"] = nil, -- src\editor\menu_view.lua
["Zoom to 100%"] = nil, -- src\editor\menu_view.lua
["Zoom"] = nil, -- src\editor\menu_view.lua
["on line %d"] = "en la línea %d", -- src\editor\debugger.lua, src\editor\editor.lua, src\editor\commands.lua
["traced %d instruction"] = {"%d instrucción trazada", "%d instrucciones trazadas"}, -- src\editor\debugger.lua
["unknown error"] = nil, -- src\editor\debugger.lua
}

View File

@@ -1,127 +1,187 @@
return {
[0] = function(c) return c == 1 and 1 or 2 end, -- plural
["%d instance"] = {"%d occurrence", "%d occurrences"}, -- src\editor\findreplace.lua
["%s event failed: %s"] = "L'événement %s a échoué : %s", -- src\editor\package.lua
["&About"] = "À &propos", -- src\editor\menu_help.lua
["&Add Watch"] = "&Ajouter une expression", -- src\editor\debugger.lua
["&Break"] = "&Interrompre", -- src\editor\menu_project.lua
["&Close Page"] = "&Fermer la page", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Close Page"] = "&Fermer la page", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Community"] = "&Communauté", -- src\editor\menu_help.lua
["&Compile"] = "&Compiler", -- src\editor\menu_project.lua
["&Copy"] = "Co&pier", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Copy"] = "Co&pier", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Default Layout"] = "Affichage par &défaut", -- src\editor\menu_view.lua
["&Delete Watch"] = "&Supprimer une expression", -- src\editor\debugger.lua
["&Delete"] = "&Supprimer", -- src\editor\filetree.lua
["&Documentation"] = "&Documentation", -- src\editor\menu_help.lua
["&Down"] = "Vers le &bas", -- src\editor\findreplace.lua
["&Edit Project Directory"] = "&Modifier le répertoire de projet", -- src\editor\filetree.lua
["&Edit Value"] = nil, -- src\editor\debugger.lua
["&Edit Watch"] = "&Modifier une expression", -- src\editor\debugger.lua
["&Edit"] = "É&dition", -- src\editor\menu_edit.lua
["&File"] = "&Fichier", -- src\editor\menu_file.lua
["&Find"] = "&Rechercher...", -- src\editor\menu_search.lua
["&Find All"] = "&Rechercher tout", -- src\editor\findreplace.lua
["&Find Next"] = "&Rechercher", -- src\editor\findreplace.lua
["&Find"] = "&Rechercher", -- src\editor\menu_search.lua
["&Fold/Unfold All"] = "Re&plier/Déplier tout", -- src\editor\menu_edit.lua
["&Goto Line"] = "&Aller à la ligne...", -- src\editor\menu_search.lua
["&Frequently Asked Questions"] = "&Questions Fréquemment Posées" , -- src\editor\menu_help.lua
["&Getting Started Guide"] = "&Guide de Prise en Main", -- src\editor\menu_help.lua
["&Go To Line..."] = "&Aller à la ligne...", -- src\editor\menu_search.lua
["&Help"] = "Aid&e", -- src\editor\menu_help.lua
["&New Directory"] = "&Nouveau Répertoire", -- src\editor\filetree.lua
["&New"] = "&Nouveau", -- src\editor\menu_file.lua
["&Open..."] = "&Ouvrir...", -- src\editor\menu_file.lua
["&Output/Console Window"] = "&Sortie/Console", -- src\editor\menu_view.lua
["&Paste"] = "Co&ller", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Project"] = "&Projet", -- src\editor\menu_project.lua, src\editor\inspect.lua
["&Redo"] = "&Rétablir", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Replace"] = "Re&mplacer...", -- src\editor\menu_search.lua
["&Paste"] = "Co&ller", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Project Page"] = "&Site Web de ZeroBrane", -- src\editor\menu_help.lua
["&Project"] = "&Projet", -- src\editor\menu_project.lua
["&Redo"] = "&Rétablir", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Rename"] = "&Renommer", -- src\editor\filetree.lua
["&Replace All"] = "Remplacer &tout", -- src\editor\findreplace.lua
["&Replace"] = "Re&mplacer", -- src\editor\findreplace.lua, src\editor\menu_search.lua
["&Run"] = "&Exécuter", -- src\editor\menu_project.lua
["&Save"] = "&Enregistrer", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Save"] = "&Enregistrer", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Search"] = "&Recherche", -- src\editor\menu_search.lua
["&Sort"] = "&Trier", -- src\editor\menu_search.lua
["&Sort"] = "&Trier", -- src\editor\menu_edit.lua
["&Stack Window"] = "&Pile d'exécution", -- src\editor\menu_view.lua
["&Start Debugger Server"] = "Lancer le &serveur de débogage", -- src\editor\menu_project.lua
["&Undo"] = "&Annuler", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Status Bar"] = "&Barre d'état", -- src\editor\menu_view.lua
["&Subdirectories"] = "&Sous-répertoires", -- src\editor\findreplace.lua
["&Tool Bar"] = "&Barre d'outils", -- src\editor\menu_view.lua
["&Tutorials"] = "&Tutoriels", -- src\editor\menu_help.lua
["&Undo"] = "&Annuler", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Up"] = "Vers le &haut", -- src\editor\findreplace.lua
["&View"] = "&Affichage", -- src\editor\menu_view.lua
["&Watch Window"] = "&Expressions espionnes", -- src\editor\menu_view.lua
["About ZeroBrane Studio"] = "À propos de ZeroBrane Studio", -- src\editor\menu_help.lua
[".&bak on Replace"] = ".&bak avant remplacement", -- src\editor\findreplace.lua
["About %s"] = "À propos de %s", -- src\editor\menu_help.lua
["Add To Scratchpad"] = "Ajouter au brouillon", -- src\editor\editor.lua
["Add Watch Expression"] = "Ajouter une expression", -- src\editor\editor.lua
["Add to Scratchpad"] = "Ajouter au brouillon", -- src\editor\editor.lua
["All files"] = "Tous les fichiers", -- src\editor\commands.lua
["Allow external process to start debugging"] = "Autoriser les processus externes à lancer le débogage", -- src\editor\menu_project.lua
["Analyze the source code"] = "Analyser le code source", -- src\editor\inspect.lua
["Analyze"] = "Analyser", -- src\editor\inspect.lua
["Analyze the source code"] = "Analyser le code source", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Analyze"] = "Analyser", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Auto Complete Identifiers"] = "Auto-compléter les identifiants", -- src\editor\menu_edit.lua
["Auto complete while typing"] = "Auto-compléter lors de la saisie", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Interrompre l'exécution à la ligne suivante", -- src\editor\menu_project.lua, src\editor\gui.lua
["C&lear Output Window"] = "E&ffacer la fenêtre de sortie", -- src\editor\menu_project.lua
["Bookmark"] = "&Marque-pages", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Interrompre l'exécution à la ligne suivante", -- src\editor\menu_project.lua
["C&lear Output Window"] = "E&ffacer la fenêtre de sortie", -- src\editor\gui.lua, src\editor\menu_project.lua
["C&omment/Uncomment"] = "Co&mmenter/Décommenter", -- src\editor\menu_edit.lua
["Can't debug the script in the active editor window."] = "Impossible de déboguer le script dans la fenêtre d'édition active.", -- src\editor\debugger.lua
["Can't evaluate the expression while the application is running."] = nil, -- 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."] = "Impossible de trouver le fichier '%s' dans le projet courant pour permettre le débogage. Mettez le projet à jour ou ouvrez le fichier dans l'éditeur avant débogage.", -- src\editor\debugger.lua
["Can't open file '%s': %s"] = nil, -- src\editor\singleinstance.lua
["Can't process auto-recovery record; invalid format: %s."] = "Impossible de lire la récupération automatique ; format invalide : %s.", -- src\editor\commands.lua
["Can't run the entry point script ('%s')."] = "Impossible d'exécuter le point d'entrée du script ('%s').", -- src\editor\debugger.lua
["Can't start debugger server at %s:%d: %s."] = "Impossible de lancer le serveur de débogage à %s:%d: %s." , -- src\editor\debugger.lua
["Can't start debugging session due to internal error '%s'."] = "Impossible de lancer la session de débogage : erreur interne '%s'.", -- src\editor\debugger.lua
["Can't start debugging without an opened file or with the current file not being saved ('%s')."] = "Impossible de lancer le débogage si aucun fichier n'est ouvert ou si le fichier courant n'a pas été enregistré ('%s').", -- src\editor\debugger.lua
["Choose ..."] = "Choisir...", -- src\editor\menu_project.lua
["Choose a project directory"] = "Choisissez un répertoire de projet", -- src\editor\menu_project.lua
["Clear &Dynamic Words"] = "Effacer les mots &dynamiques", -- src\editor\menu_edit.lua
["Can't stop debugger server as it is not started."] = "Impossible d'arrêter le serveur de débogage car il n'a pas été démarré", -- src\editor\debugger.lua
["Cancel"] = "Annuler", -- src\editor\findreplace.lua
["Cancelled by the user."] = "Annulé par l'utilisateur.", -- src\editor\findreplace.lua
["Choose a project directory"] = "Choisissez un répertoire de projet", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose..."] = "Choisir...", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Items"] = "Effacer les éléments", -- src\editor\menu_file.lua
["Clear items from this list"] = "Effacer les éléments de cette liste", -- src\editor\menu_file.lua
["Clear the output window before compiling or debugging"] = "Effacer la fenêtre de sortie avant compilation ou débogage", -- src\editor\menu_project.lua
["Close &Other Pages"] = "Fermer les &autres pages", -- src\editor\gui.lua
["Close A&ll Pages"] = "Fermer &toutes les pages", -- src\editor\gui.lua
["Close the current editor window"] = "Fermer la fenêtre d'édition active", -- src\editor\menu_file.lua
["Co&ntinue"] = "Co&ntinuer", -- src\editor\menu_project.lua
["Col: %d"] = "Col : %d", -- src\editor\editor.lua
["Command Line Parameters..."] = "Paramètres de Ligne de Commande...", -- src\editor\menu_project.lua
["Command line parameters"] = "Paramètres de ligne de commande", -- src\editor\menu_project.lua
["Comment or uncomment current or selected lines"] = "Commenter ou décommenter les lignes courantes ou sélectionnées", -- src\editor\menu_edit.lua
["Compilation error"] = "Erreur de compilation", -- src\editor\debugger.lua, src\editor\commands.lua
["Compilation error"] = "Erreur de compilation", -- src\editor\commands.lua, src\editor\debugger.lua
["Compilation successful; %.0f%% success rate (%d/%d)."] = "Compilation réussie ; taux de succès : %.0f%% (%d/%d).", -- src\editor\commands.lua
["Compile the current file"] = "Сompiler le fichier courant", -- src\editor\menu_project.lua
["Complete &Identifier"] = "Compléter l'&identifiant", -- src\editor\menu_edit.lua
["Complete the current identifier"] = "Compléter l'identifiant courant", -- src\editor\menu_edit.lua
["Consider removing backslash from escape sequence '%s'."] = "Essayez de supprimer les antislashs dans '%s'.", -- src\editor\commands.lua
["Copy Full Path"] = "Copier le chemin absolu", -- src\editor\gui.lua, src\editor\filetree.lua
["Copy selected text to clipboard"] = "Copier le texte sélectionné dans le presse-papiers", -- src\editor\menu_edit.lua
["Correct &Indentation"] = nil, -- src\editor\menu_edit.lua
["Couldn't activate file '%s' for debugging; continuing without it."] = "Impossible d'activer le fichier '%s' pour débogage ; poursuite du processus en ignorant le fichier.", -- src\editor\debugger.lua
["Create an empty document"] = "Créer un document vierge", -- src\editor\menu_file.lua, src\editor\gui.lua
["Cu&t"] = "&Couper", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Create an empty document"] = "Créer un document vierge", -- src\editor\menu_file.lua
["Cu&t"] = "&Couper", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Cut selected text to clipboard"] = "Couper le texte sélectionné et copier dans le presse-papiers", -- src\editor\menu_edit.lua
["Debugger server started at %s:%d."] = "Serveur de débogage démarré à %s:%d.", -- src\editor\debugger.lua
["Debugger server stopped at %s:%d."] = "Serveur de débogage stoppé à %s:%d.", -- src\editor\debugger.lua
["Debugging session completed (%s)."] = "Session de débogage terminée (%s).", -- src\editor\debugger.lua
["Debugging session started in '%s'."] = "Session de débogage démarrée dans '%s'.", -- src\editor\debugger.lua
["Debugging suspended at %s:%s (couldn't activate the file)."] = "Débogage interrompu à %s:%s (impossible d'activer le fichier).", -- src\editor\debugger.lua
["Detach &Process"] = "Détacher le &processus", -- src\editor\menu_project.lua
["Directory"] = "Répertoire ", -- src\editor\findreplace.lua
["Do you want to delete '%s'?"] = "Voulez-vous effacer '%s'?", -- src\editor\filetree.lua
["Do you want to overwrite it?"] = "Voulez-vous l'écraser?", -- src\editor\commands.lua
["Do you want to reload it?"] = "Voulez-vous le recharger ?", -- src\editor\editor.lua
["Do you want to save the changes to '%s'?"] = "Voulez-vous enregistrer les modifications dans '%s' ?", -- src\editor\commands.lua
["E&xit"] = "&Quitter", -- src\editor\menu_file.lua
["Enter Lua code and press Enter to run it."] = "Saisissez du code Lua et appuyez sur <Entrée> pour l´exécuter.", -- src\editor\shellbox.lua
["Enter command line parameters (use Cancel to clear)"] = "Entrez des paramètres de ligne de commande (pressez Annuler pour effacer)", -- src\editor\menu_project.lua
["Enter line number"] = "Entrez le numéro de ligne", -- src\editor\menu_search.lua
["Enter replacement text"] = nil, -- src\editor\editor.lua
["Error while loading API file: %s"] = "Erreur lors du chargement du fichier d'API : %s", -- src\editor\autocomplete.lua
["Error while loading configuration file: %s"] = "Erreur lors du chargement du fichier de configuration : %s", -- src\editor\style.lua
["Error while processing API file: %s"] = "Erreur lors de la lecture du fichier d'API : %s", -- src\editor\autocomplete.lua
["Error while processing configuration file: %s"] = "Erreur lors de la lecture du fichier de configuration : %s", -- src\editor\style.lua
["Error"] = "Erreur", -- src\editor\commands.lua
["Evaluate in Console"] = "Évaluer dans la console", -- src\editor\editor.lua
["Evaluate In Console"] = "Évaluer dans la console", -- src\editor\editor.lua
["Execute the current project/file and keep updating the code to see immediate results"] = "Exécuter le projet/fichier courant en mettant le code à jour afin de voir les résultats en temps réel", -- src\editor\menu_project.lua
["Execute the current project/file"] = "Exécuter le projet/fichier courant", -- src\editor\menu_project.lua
["Execution error"] = "Erreur d'exécution", -- src\editor\debugger.lua
["Exit program"] = "Quitter le programme", -- src\editor\menu_file.lua
["Expr"] = "Expr.", -- src\editor\debugger.lua
["Expression"] = "Expression", -- src\editor\debugger.lua
["File '%s' has been modified on disk."] = "Le fichier '%s' a été modifié sur le disque.", -- src\editor\editor.lua
["File '%s' has more recent timestamp than restored '%s'; please review before saving."] = "Le fichier '%s' a un horodatage plus récent que celui restauré '%s' ; veuillez vérifier avant d'enregistrer.", -- src\editor\commands.lua
["File '%s' no longer exists."] = "Le fichier '%s' n'existe plus.", -- src\editor\editor.lua
["File '%s' is missing and can't be recovered."] = nil, -- src\editor\commands.lua
["File '%s' no longer exists."] = "Le fichier '%s' n'existe plus.", -- src\editor\menu_file.lua, src\editor\editor.lua
["File Type"] = "Type de fichier ", -- src\editor\findreplace.lua
["File already exists."] = "Le fichier existe déjà.", -- src\editor\commands.lua
["File history"] = "Historique de fichier", -- src\editor\menu_file.lua
["Find &In Files"] = "Rec&hercher dans les fichiers...", -- src\editor\menu_search.lua
["Find &In Files"] = "Rec&hercher dans les fichiers", -- src\editor\menu_search.lua
["Find &Next"] = "Rechercher l'occurrence &suivante", -- src\editor\menu_search.lua
["Find &Previous"] = "Rechercher l'occurrence &précédente", -- src\editor\menu_search.lua
["Find In Files"] = "Rechercher dans les fichiers", -- src\editor\findreplace.lua
["Find and replace text in files"] = "Rechercher et remplacer le texte dans les fichiers", -- src\editor\menu_search.lua
["Find and replace text"] = "Rechercher et remplacer le texte", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find and replace text"] = "Rechercher et remplacer le texte", -- src\editor\menu_search.lua
["Find text in files"] = "Rechercher le texte dans les fichiers", -- src\editor\menu_search.lua
["Find text"] = "Rechercher le texte", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find text"] = "Rechercher le texte", -- src\editor\menu_search.lua
["Find the earlier text occurence"] = "Recherche l'occurrence précédente du texte", -- src\editor\menu_search.lua
["Find the next text occurrence"] = "Recherche l'occurrence suivante du texte", -- src\editor\menu_search.lua
["Find"] = "Rechercher ", -- src\editor\findreplace.lua
["Fold or unfold all code folds"] = "Replier ou déplier tous les blocs de code", -- src\editor\menu_edit.lua
["Found auto-recovery record and restored saved session."] = "Une récupération automatique a été trouvé et la session a été restaurée.", -- src\editor\commands.lua
["Found"] = "Occurrences trouvées :", -- src\editor\findreplace.lua
["Full &Screen"] = "&Plein écran", -- src\editor\menu_view.lua
["Go To Definition"] = "Aller à la définition", -- src\editor\editor.lua
["Go To Line"] = "Aller à la ligne", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = "Aller au marque-page suivant", -- src\editor\menu_edit.lua
["Go To Previous Bookmark"] = "Aller au marque-page précédent", -- src\editor\menu_edit.lua
["Go to a selected line"] = "Aller à la ligne sélectionnée", -- src\editor\menu_search.lua
["Goto Line"] = "Aller à la ligne", -- src\editor\menu_search.lua
["INS"] = "INS", -- src\editor\editor.lua
["Jump to a function definition..."] = "Aller à la définition de fonction...", -- src\editor\editor.lua
["Ignored error in debugger initialization code: %s."] = nil, -- src\editor\debugger.lua
["In Files"] = "Dans les fichiers", -- src\editor\findreplace.lua
["Known Files"] = "Fichiers connus", -- src\editor\commands.lua
["Ln: %d"] = "Lig : %d", -- src\editor\editor.lua
["Local console"] = "Console locale", -- src\editor\shellbox.lua, src\editor\gui.lua
["Local console"] = "Console locale", -- src\editor\gui.lua, src\editor\shellbox.lua
["Lua &Interpreter"] = "Interpréteur L&ua", -- src\editor\menu_project.lua
["Mapped remote request for '%s' to '%s'."] = "La requête distante pour '%s' a été associée à '%s'.", -- src\editor\debugger.lua
["Match &case"] = "Respecter la &casse", -- src\editor\findreplace.lua
["Match &whole word"] = "&Mot entier uniquement", -- src\editor\findreplace.lua
["Mixed end-of-line encodings detected."] = "Plusieurs codages de fin de ligne détectés.", -- src\editor\commands.lua
["New &File"] = "Nouveau &Fichier", -- src\editor\filetree.lua
["OVR"] = "OVR", -- src\editor\editor.lua
["Open an existing document"] = "Ouvrir un document existant", -- src\editor\menu_file.lua, src\editor\gui.lua
["Open With Default Program"] = "Ouvrir avec le programme par défaut", -- src\editor\filetree.lua
["Open an existing document"] = "Ouvrir un document existant", -- src\editor\menu_file.lua
["Open file"] = "Ouvrir un fichier", -- src\editor\commands.lua
["Output (running)"] = "Sortie (en cours d'exécution)", -- src\editor\output.lua
["Output"] = "Sortie", -- src\editor\output.lua, src\editor\settings.lua, src\editor\gui.lua
["Options"] = "Options", -- src\editor\findreplace.lua
["Outline Window"] = nil, -- src\editor\menu_view.lua
["Outline"] = nil, -- src\editor\outline.lua
["Output (running)"] = "Sortie (en cours d'exécution)", -- src\editor\debugger.lua, src\editor\output.lua
["Output (suspended)"] = nil, -- src\editor\debugger.lua
["Output"] = "Sortie", -- src\editor\debugger.lua, src\editor\output.lua, src\editor\gui.lua, src\editor\settings.lua
["Paste text from the clipboard"] = "Coller le texte depuis le presse-papiers", -- src\editor\menu_edit.lua
["Preferences"] = "Préférences", -- src\editor\menu_edit.lua
["Prepend '!' to force local execution."] = nil, -- src\editor\shellbox.lua
["Prepend '=' to show complex values on multiple lines."] = "Préfixez par '=' pour afficher les valeurs complexes sur plusieurs lignes.", -- src\editor\shellbox.lua
["Press cancel to abort."] = "Cliquez sur Annuler pour annuler.", -- src\editor\commands.lua
["Program '%s' started in '%s' (pid: %d)."] = "Programme '%s' démarré dans '%s' (pid : %d).", -- src\editor\output.lua
@@ -130,58 +190,89 @@ return {
["Program starting as '%s'."] = "Programme démarré en tant que '%s'.", -- src\editor\output.lua
["Program stopped (pid: %d)."] = "Programme stoppé (pid : %d).", -- src\editor\debugger.lua
["Program unable to run as '%s'."] = "Impossible d'exécuter le programme en tant que '%s'.", -- src\editor\output.lua
["Project Directory"] = "Répertoire de projet", -- src\editor\menu_project.lua
["Project"] = "Projet", -- src\editor\settings.lua, src\editor\gui.lua
["Project Directory"] = "Répertoire de projet", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Project history"] = "Historique de projet", -- src\editor\menu_file.lua
["Project"] = "Projet", -- src\editor\filetree.lua
["Project/&FileTree Window"] = "&Explorateur de projet", -- src\editor\menu_view.lua
["Provide command line parameters"] = "Renseignez les paramètres de ligne de commande", -- src\editor\menu_project.lua
["R/O"] = "R/O", -- src\editor\editor.lua
["R/W"] = "R/W", -- src\editor\editor.lua
["Re&place In Files"] = "Remp&lacer dans les fichiers...", -- src\editor\menu_search.lua
["Re&place In Files"] = "Remp&lacer dans les fichiers", -- src\editor\menu_search.lua
["Re-indent selected lines"] = nil, -- src\editor\menu_edit.lua
["Recent &Projects"] = "&Projets récents", -- src\editor\menu_file.lua
["Recent Files"] = "Fichiers récents", -- src\editor\menu_file.lua
["Redo last edit undone"] = "Rétablir la dernière modification", -- src\editor\menu_edit.lua
["Refused a request to start a new debugging session as there is one in progress already."] = "Une requête de lancement de débogage a été refusée car une session de débogage est déjà en cours.", -- src\editor\debugger.lua
["Regular &expression"] = "&Expression régulière", -- src\editor\findreplace.lua
["Remote console"] = "Console à distance", -- src\editor\shellbox.lua
["Rename All Instances"] = "Renommer toutes les occurrences", -- src\editor\editor.lua
["Replace A&ll"] = "Remplacer &tout", -- src\editor\findreplace.lua
["Replace All Selections"] = nil, -- src\editor\editor.lua
["Replace"] = "Remplacer par ", -- src\editor\findreplace.lua
["Replaced an invalid UTF8 character with %s."] = "Un caractère UTF8 invalide a été remplacé par %s.", -- src\editor\commands.lua
["Replaced"] = "Occurrences remplacées :", -- src\editor\findreplace.lua
["Replacing"] = "Remplacement de", -- src\editor\findreplace.lua
["Reset to default layout"] = "Restaurer l'affichage par défaut", -- src\editor\menu_view.lua
["Resets the dynamic word list for autocompletion"] = "Réinitialiser la liste des mots dynamiques pour l'auto-complétion", -- src\editor\menu_edit.lua
["Run as Scratchpad"] = "Exécuter comme brouillon", -- src\editor\menu_project.lua
["S&top Debugging"] = "&Arrêter le débogage", -- src\editor\menu_project.lua
["S&top Process"] = "&Arrêter le processus", -- src\editor\menu_project.lua
["Save &As..."] = "Enregistrer &sous...", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save &As..."] = "Enregistrer &sous...", -- src\editor\gui.lua, src\editor\menu_file.lua
["Save A&ll"] = "Enregistrer &tout", -- src\editor\menu_file.lua
["Save Changes?"] = "Enregistrer les modifications ?", -- src\editor\commands.lua
["Save all open documents"] = "Enregistrer tous les documents ouverts", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save all open documents"] = "Enregistrer tous les documents ouverts", -- src\editor\menu_file.lua
["Save file as"] = "Enregistrer le fichier sous", -- src\editor\commands.lua
["Save file?"] = "Enregistrer le fichier ?", -- src\editor\commands.lua
["Save the current document to a file with a new name"] = "Enregistrer le document courant sous un nouveau nom", -- src\editor\menu_file.lua
["Save the current document"] = "Enregistrer le document courant", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save the current document"] = "Enregistrer le document courant", -- src\editor\menu_file.lua
["Saved auto-recover at %s."] = "Récup. auto enregistrée à %s.", -- src\editor\commands.lua
["Scope"] = "Direction", -- src\editor\findreplace.lua
["Scratchpad error"] = "Erreur dans le brouillon", -- src\editor\debugger.lua
["Select &All"] = "Sélectionner &tout", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Searching for"] = "Recherche de", -- src\editor\findreplace.lua
["Sel: %d/%d"] = "Sel: %d/%d", -- src\editor\editor.lua
["Select &All"] = "Sélectionner &tout", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Select all text in the editor"] = "Sélectionner tout le texte dans l'éditeur", -- src\editor\menu_edit.lua
["Select and Find Next"] = "Sélectionner et chercher le suivant", -- src\editor\menu_search.lua
["Select and Find Previous"] = "Sélectionner et chercher le précédent", -- src\editor\menu_search.lua
["Select the word under cursor and find its next occurrence"] = "Sélectionner le mot sous le curseur et chercher son occurence suivante", -- src\editor\menu_search.lua
["Select the word under cursor and find its previous occurrence"] = "Sélectionner le mot sous le curseur et chercher son occurence précédente", -- src\editor\menu_search.lua
["Set From Current File"] = "Définir depuis le fichier courant", -- src\editor\menu_project.lua
["Set project directory from current file"] = "Définir le répertoire de projet depuis le fichier courant", -- src\editor\menu_project.lua, src\editor\gui.lua
["Set project directory from current file"] = "Définir le répertoire de projet depuis le fichier courant", -- src\editor\menu_project.lua
["Set the interpreter to be used"] = "Définir l'interpréteur à utiliser", -- src\editor\menu_project.lua
["Set the project directory to be used"] = "Définir le répertoire de projet à utiliser", -- src\editor\menu_project.lua
["Set the project directory to be used"] = "Définir le répertoire de projet à utiliser", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Settings: System"] = "Paramètres : Système", -- src\editor\menu_edit.lua
["Settings: User"] = "Paramètres : Utilisateur", -- src\editor\menu_edit.lua
["Show &Tooltip"] = "Afficher l'info-&bulle", -- src\editor\menu_edit.lua
["Show Location"] = "Afficher l'emplacement", -- src\editor\gui.lua, src\editor\filetree.lua
["Show tooltip for current position; place cursor after opening bracket of function"] = "Afficher l'info-bulle pour la position actuelle ; placez le curseur après la parenthèse ouvrante de la fonction", -- src\editor\menu_edit.lua
["Sort selected lines"] = "Trier les lignes sélectionnées", -- src\editor\menu_search.lua
["Show/Hide the status bar"] = "Afficher/Masquer la barre de statut", -- src\editor\menu_view.lua
["Show/Hide the toolbar"] = "Afficher/Masquer la barre d'outils", -- src\editor\menu_view.lua
["Sort selected lines"] = "Trier les lignes sélectionnées", -- src\editor\menu_edit.lua
["Source"] = nil, -- src\editor\menu_edit.lua
["Stack"] = "Pile d'exécution", -- src\editor\debugger.lua
["Start &Debugging"] = "Lancer le &débogage", -- src\editor\menu_project.lua
["Start debugging"] = "Lancer le débogage", -- src\editor\menu_project.lua, src\editor\gui.lua
["Start or continue debugging"] = "Démarrer ou continuer le debogage", -- src\editor\menu_project.lua
["Step &Into"] = "Pas à pas détai&llé", -- src\editor\menu_project.lua
["Step &Over"] = "Pas à pas so&mmaire", -- src\editor\menu_project.lua
["Step O&ut"] = "Pas à pas so&rtant", -- src\editor\menu_project.lua
["Step into"] = "Rentrer dans l'instruction suivante", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step out of the current function"] = "Sortir de la fonction courante", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step over"] = "Enjamber l'instruction suivante", -- src\editor\menu_project.lua, src\editor\gui.lua
["Stop the currently running process"] = "Arrêter le processus en cours d'exécution", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step into"] = "Rentrer dans l'instruction suivante", -- src\editor\menu_project.lua
["Step out of the current function"] = "Sortir de la fonction courante", -- src\editor\menu_project.lua
["Step over"] = "Enjamber l'instruction suivante", -- src\editor\menu_project.lua
["Stop debugging and continue running the process"] = "Arrêter le débogage et continuer l'exécution du processus", -- src\editor\menu_project.lua
["Stop the currently running process"] = "Arrêter le processus en cours d'exécution", -- src\editor\menu_project.lua
["Switch to or from full screen mode"] = "Activer ou désactiver le mode plein écran", -- src\editor\menu_view.lua
["Text not found."] = "Texte non trouvé.", -- src\editor\findreplace.lua
["The API file must be located in a subdirectory of the API directory."] = "Le fichier d'API doit être placé dans un sous-répertoire du répertoire d'API.", -- src\editor\autocomplete.lua
["Toggle Bookmark"] = "Créer/Supprimer un marque-page", -- src\editor\menu_edit.lua
["Toggle Break&point"] = "Créer/Supprimer un &point d'arrêt", -- src\editor\menu_project.lua
["Toggle breakpoint"] = "Créer ou supprimer un point d'arrêt", -- src\editor\menu_project.lua, src\editor\gui.lua
["Toggle bookmark"] = "Créer/Supprimer un marque-page", -- src\editor\menu_edit.lua
["Toggle breakpoint"] = "Créer ou supprimer un point d'arrêt", -- src\editor\menu_project.lua
["Tr&ace"] = "&Tracer", -- src\editor\menu_project.lua
["Trace execution showing each executed line"] = "Tracer l'exécution en montrant chaque ligne de code exécutée", -- src\editor\menu_project.lua
["Unable to create directory '%s'."] = "Impossible de créer le répertoire '%s'.", -- src\editor\filetree.lua
["Unable to create file '%s'."] = "Impossible de créer le fichier '%s'.", -- src\editor\filetree.lua
["Unable to delete directory '%s': %s"] = nil, -- src\editor\filetree.lua
["Unable to load file '%s'."] = "Impossible de charger le le fichier '%s'.", -- src\editor\commands.lua
["Unable to rename file '%s'."] = "Impossible de renommer le fichier '%s'.", -- src\editor\filetree.lua
["Unable to save file '%s': %s"] = "Impossible d'enregistrer le fichier '%s' : %s", -- src\editor\commands.lua
["Unable to stop program (pid: %d), code %d."] = "Impossible d'arrêter le programme (pid : %d), code %d.", -- src\editor\debugger.lua
["Undo last edit"] = "Annuler la dernière modification", -- src\editor\menu_edit.lua
@@ -189,14 +280,20 @@ return {
["Use '%s' to show line endings and '%s' to convert them."] = "Utilisez '%s' pour afficher les fins de ligne et '%s' pour les convertir.", -- src\editor\commands.lua
["Use 'clear' to clear the shell output and the history."] = "Utilisez 'clear' pour effacer la sortie console et l´historique.", -- src\editor\shellbox.lua
["Use Shift-Enter for multiline code."] = "Appuyez sur <Shift-Entrée> pour du code multiligne.", -- src\editor\shellbox.lua
["Value"] = "Valeur", -- src\editor\debugger.lua
["View the outline window"] = nil, -- src\editor\menu_view.lua
["View the output/console window"] = "Afficher la fenêtre de sortie/console", -- src\editor\menu_view.lua
["View the project/filetree window"] = "Afficher la fenêtre d'explorateur de projet", -- src\editor\menu_view.lua
["View the stack window"] = "Afficher la fenêtre de pile d'exécution", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the watch window"] = "Afficher la fenêtre d'expressions espionnes", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the stack window"] = "Afficher la fenêtre de pile d'exécution", -- src\editor\menu_view.lua
["View the watch window"] = "Afficher la fenêtre d'expressions espionnes", -- src\editor\menu_view.lua
["Watch"] = "Expressions espionnes", -- src\editor\debugger.lua
["Welcome to the interactive Lua interpreter."] = "Bienvenue dans l´interpréteur interactif Lua.", -- src\editor\shellbox.lua
["Wrap ar&ound"] = "B&oucler", -- src\editor\findreplace.lua
["You must save the program first."] = "Vous devez d'abord enregistrer le programme.", -- src\editor\commands.lua
["on line %d"] = "à la ligne %d", -- src\editor\debugger.lua, src\editor\commands.lua
["traced %d instruction"] = {"%d instruction tracée", "%d instructions tracées"} -- src\editor\debugger.lua
["Zoom In"] = "Zoomer", -- src\editor\menu_view.lua
["Zoom Out"] = "Dézoomer", -- src\editor\menu_view.lua
["Zoom to 100%"] = "Zoomer à 100%", -- src\editor\menu_view.lua
["Zoom"] = "Zoom", -- src\editor\menu_view.lua
["on line %d"] = "à la ligne %d", -- src\editor\debugger.lua, src\editor\editor.lua, src\editor\commands.lua
["traced %d instruction"] = {"%d instruction tracée", "%d instructions tracées"}, -- src\editor\debugger.lua
["unknown error"] = "erreur inconnue", -- src\editor\debugger.lua
}

View File

@@ -1,127 +1,187 @@
return {
[0] = function(c) return c == 1 and 1 or 2 end, -- plural
["%d instance"] = {"%d occorrenza", "%d occorrenze"}, -- src\editor\findreplace.lua
["%s event failed: %s"] = "L'evento %s è fallito : %s", -- src\editor\package.lua
["&About"] = "Informazioni", -- src\editor\menu_help.lua
["&Add Watch"] = "&Aggiungi Espressione di Controllo", -- src\editor\debugger.lua
["&Break"] = "Interrompi", -- src\editor\menu_project.lua
["&Close Page"] = "&Chiudi pagina", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Close Page"] = "&Chiudi pagina", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Community"] = "&Comunità", -- src\editor\menu_help.lua
["&Compile"] = "&Compila", -- src\editor\menu_project.lua
["&Copy"] = "&Copia", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Copy"] = "&Copia", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Default Layout"] = "Visualizzazione di &Default", -- src\editor\menu_view.lua
["&Delete Watch"] = "Elimina Espressione di Controllo", -- src\editor\debugger.lua
["&Delete"] = "Elimina", -- src\editor\filetree.lua
["&Documentation"] = "Documentazione", -- src\editor\menu_help.lua
["&Down"] = "Verso il basso", -- src\editor\findreplace.lua
["&Edit Project Directory"] = "Modifica directory di progetto", -- src\editor\filetree.lua
["&Edit Value"] = nil, -- src\editor\debugger.lua
["&Edit Watch"] = "Modifica Espressione di Controllo", -- src\editor\debugger.lua
["&Edit"] = "Modifica", -- src\editor\menu_edit.lua
["&File"] = "File", -- src\editor\menu_file.lua
["&Find All"] = "Trova Tutti", -- src\editor\findreplace.lua
["&Find Next"] = "Trova Successivo", -- src\editor\findreplace.lua
["&Find"] = "Ricerca", -- src\editor\menu_search.lua
["&Fold/Unfold All"] = "Apri/Chiudi tutto", -- src\editor\menu_edit.lua
["&Goto Line"] = "Vai a riga", -- src\editor\menu_search.lua
["&Frequently Asked Questions"] = "Domande &Frequenti", -- src\editor\menu_help.lua
["&Getting Started Guide"] = "&Guida Introduttiva", -- src\editor\menu_help.lua
["&Go To Line..."] = "Vai a riga...", -- src\editor\menu_search.lua
["&Help"] = "Aiuto", -- src\editor\menu_help.lua
["&New Directory"] = "&Nuova Directory", -- src\editor\filetree.lua
["&New"] = "&Nuovo", -- src\editor\menu_file.lua
["&Open..."] = "&Apri...", -- src\editor\menu_file.lua
["&Output/Console Window"] = "Finestra di Output/Console", -- src\editor\menu_view.lua
["&Paste"] = "Incolla", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Project"] = "&Progetto", -- src\editor\menu_project.lua, src\editor\inspect.lua
["&Redo"] = "&Ripeti", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Replace"] = "Sostituisci", -- src\editor\menu_search.lua
["&Paste"] = "Incolla", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Project Page"] = "&Pagina di Progetto", -- src\editor\menu_help.lua
["&Project"] = "&Progetto", -- src\editor\menu_project.lua
["&Redo"] = "&Ripeti", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Rename"] = "&Rinomina", -- src\editor\filetree.lua
["&Replace All"] = "Sostituisci Tutti", -- src\editor\findreplace.lua
["&Replace"] = "Sostituisci", -- src\editor\findreplace.lua, src\editor\menu_search.lua
["&Run"] = "Lancia", -- src\editor\menu_project.lua
["&Save"] = "&Salva", -- src\editor\menu_file.lua, src\editor\gui.lua
["&Save"] = "&Salva", -- src\editor\gui.lua, src\editor\menu_file.lua
["&Search"] = "Ricerca", -- src\editor\menu_search.lua
["&Sort"] = "Ordina", -- src\editor\menu_search.lua
["&Sort"] = "Ordina", -- src\editor\menu_edit.lua
["&Stack Window"] = "Stack di chiamate", -- src\editor\menu_view.lua
["&Start Debugger Server"] = "Avvia Debugger Server", -- src\editor\menu_project.lua
["&Undo"] = "Annulla", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Status Bar"] = "Barra di stato", -- src\editor\menu_view.lua
["&Subdirectories"] = "Sotto Directory", -- src\editor\findreplace.lua
["&Tool Bar"] = "Barra degli strumenti", -- src\editor\menu_view.lua
["&Tutorials"] = "Guide", -- src\editor\menu_help.lua
["&Undo"] = "Annulla", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["&Up"] = "Verso l'alto", -- src\editor\findreplace.lua
["&View"] = "Visualizza", -- src\editor\menu_view.lua
["&Watch Window"] = "Finestra Espressioni di Controllo", -- src\editor\menu_view.lua
["About ZeroBrane Studio"] = "Informazioni su ZeroBrane Studio", -- src\editor\menu_help.lua
[".&bak on Replace"] = ".bak su Sostituisci", -- src\editor\findreplace.lua
["About %s"] = "Informazioni su %s", -- src\editor\menu_help.lua
["Add To Scratchpad"] = "Aggiungi a Scratchpad ", -- src\editor\editor.lua
["Add Watch Expression"] = "Aggiungi Espressione di Controllo", -- src\editor\editor.lua
["Add to Scratchpad"] = "Aggiungi a Scratchpad ", -- src\editor\editor.lua
["All files"] = "Tutti i files", -- src\editor\commands.lua
["Allow external process to start debugging"] = "Permetti a processi esterni di avviare il debug", -- src\editor\menu_project.lua
["Analyze the source code"] = "Analizza il codice", -- src\editor\inspect.lua
["Analyze"] = "Analizza", -- src\editor\inspect.lua
["Analyze the source code"] = "Analizza il codice", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Analyze"] = "Analizza", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Auto Complete Identifiers"] = "Autocompletamento identificatori", -- src\editor\menu_edit.lua
["Auto complete while typing"] = "Autocompletamento in linea", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Interrompi l'esecuzione alla successiva riga di codice ", -- src\editor\menu_project.lua, src\editor\gui.lua
["C&lear Output Window"] = "Pulisci finestra di output", -- src\editor\menu_project.lua
["Bookmark"] = "Segnalibro", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Interrompi l'esecuzione alla successiva riga di codice ", -- src\editor\menu_project.lua
["C&lear Output Window"] = "Pulisci finestra di output", -- src\editor\gui.lua, src\editor\menu_project.lua
["C&omment/Uncomment"] = "Commenta/Scommenta", -- src\editor\menu_edit.lua
["Can't debug the script in the active editor window."] = "Impossibile farte debug dello script nella finestra attiva", -- src\editor\debugger.lua
["Can't evaluate the expression while the application is running."] = nil, -- 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."] = "File '%s' non trovato nel progetto per attivare il debug. Modificare il progetto o apire il file prima di lanciare il debug.", -- src\editor\debugger.lua
["Can't open file '%s': %s"] = nil, -- src\editor\singleinstance.lua
["Can't process auto-recovery record; invalid format: %s."] = "Impossibile procedere all'auto-recovery; Formato non valido: %s.", -- src\editor\commands.lua
["Can't run the entry point script ('%s')."] = "Impossibile eseguire il punto di ingresos dello script (%s).", -- src\editor\debugger.lua
["Can't start debugger server at %s:%d: %s."] = "Impossibile lanciare il server debugger a %s:%d: %s.", -- src\editor\debugger.lua
["Can't start debugging session due to internal error '%s'."] = "Impossibile lanciare la sessione di debug: errore interno '%s'.'", -- src\editor\debugger.lua
["Can't start debugging without an opened file or with the current file not being saved ('%s')."] = "Impossibile lanciare il debug senza aver aperto un file o se il file corrente non è stato salvato ('%s').", -- src\editor\debugger.lua
["Choose ..."] = "Scegli...", -- src\editor\menu_project.lua
["Choose a project directory"] = "Scegli la directory di un progetto", -- src\editor\menu_project.lua
["Clear &Dynamic Words"] = "Elimna le &Dynamic Words", -- src\editor\menu_edit.lua
["Can't stop debugger server as it is not started."] = "Impossibile fermare il server debugger perchè non è stato avviato", -- src\editor\debugger.lua
["Cancel"] = "Annulla", -- src\editor\findreplace.lua
["Cancelled by the user."] = "Annullato dall'utente", -- src\editor\findreplace.lua
["Choose a project directory"] = "Scegli la directory di un progetto", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose..."] = "Scegli...", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Items"] = "Pulisci elementi", -- src\editor\menu_file.lua
["Clear items from this list"] = "Pulisci elementi della lista", -- src\editor\menu_file.lua
["Clear the output window before compiling or debugging"] = "Pulisci la finestra di output prima di compilare o lanciare debug", -- src\editor\menu_project.lua
["Close &Other Pages"] = "Chidi le Altre Pagine", -- src\editor\gui.lua
["Close A&ll Pages"] = "Chiudi Tutte le Pagine", -- src\editor\gui.lua
["Close the current editor window"] = "Chiude la finestra dell'edit corrente", -- src\editor\menu_file.lua
["Co&ntinue"] = "Co&ntinua", -- src\editor\menu_project.lua
["Col: %d"] = "Col: %d", -- src\editor\editor.lua
["Command Line Parameters..."] = "Parametri Riga di Comando...", -- src\editor\menu_project.lua
["Command line parameters"] = "Parametri Riga di Comando", -- src\editor\menu_project.lua
["Comment or uncomment current or selected lines"] = "Commenta o scommenta la linea corrente o selezionat", -- src\editor\menu_edit.lua
["Compilation error"] = "Errore di compilazione", -- src\editor\debugger.lua, src\editor\commands.lua
["Compilation error"] = "Errore di compilazione", -- src\editor\commands.lua, src\editor\debugger.lua
["Compilation successful; %.0f%% success rate (%d/%d)."] = "Compilazione riuscita; tasso di successo : %.0f%% (%d/%d).", -- src\editor\commands.lua
["Compile the current file"] = "Compila il file corrente", -- src\editor\menu_project.lua
["Complete &Identifier"] = "Completa l'&Identificatore", -- src\editor\menu_edit.lua
["Complete the current identifier"] = "Completa l'identificatore corrente", -- src\editor\menu_edit.lua
["Consider removing backslash from escape sequence '%s'."] = "Prova a rimuovere i backslash dalla sequenza di escape '%s'.", -- src\editor\commands.lua
["Copy Full Path"] = "Copia Path Completo", -- src\editor\gui.lua, src\editor\filetree.lua
["Copy selected text to clipboard"] = "Copia il testo selezionato negli appunti", -- src\editor\menu_edit.lua
["Correct &Indentation"] = nil, -- src\editor\menu_edit.lua
["Couldn't activate file '%s' for debugging; continuing without it."] = "Impossibile attivare il file '%s' per debug; si prosegue senza.", -- src\editor\debugger.lua
["Create an empty document"] = "Crea un documento vuoto", -- src\editor\menu_file.lua, src\editor\gui.lua
["Cu&t"] = "&Taglia", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Create an empty document"] = "Crea un documento vuoto", -- src\editor\menu_file.lua
["Cu&t"] = "&Taglia", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Cut selected text to clipboard"] = "Taglia il testo selezionato e mette negli appunti", -- src\editor\menu_edit.lua
["Debugger server started at %s:%d."] = "Server Debugger iniziato %s:%s", -- src\editor\debugger.lua
["Debugger server started at %s:%d."] = "Server Debugger iniziato %s:%d.", -- src\editor\debugger.lua
["Debugger server stopped at %s:%d."] = "Server Debugger fermato %s:%d.", -- src\editor\debugger.lua
["Debugging session completed (%s)."] = "Sessione di debug completata (%s).", -- src\editor\debugger.lua
["Debugging session started in '%s'."] = "Sessione di debug iniziata da '%s'.", -- src\editor\debugger.lua
["Debugging suspended at %s:%s (couldn't activate the file)."] = "Debug sospeso a %s:%s (impossibile attivare il file).", -- src\editor\debugger.lua
["Detach &Process"] = "Scollega Processo", -- src\editor\menu_project.lua
["Directory"] = "Directory", -- src\editor\findreplace.lua
["Do you want to delete '%s'?"] = "Vuoi eliminare '%s'?", -- src\editor\filetree.lua
["Do you want to overwrite it?"] = "Vuoi sovrascrivere '%s'?", -- src\editor\commands.lua
["Do you want to reload it?"] = "Vuoi ricaricarlo?", -- src\editor\editor.lua
["Do you want to save the changes to '%s'?"] = "Vuoi salvare le modifiche a '%s'?", -- src\editor\commands.lua
["E&xit"] = "Uscita", -- src\editor\menu_file.lua
["Enter Lua code and press Enter to run it."] = "Inserisci codice Lua e premi <Enter> per eseguirlo.", -- src\editor\shellbox.lua
["Enter command line parameters (use Cancel to clear)"] = "Inserisci i parametri riga di comando (Annulla per pulire)", -- src\editor\menu_project.lua
["Enter line number"] = "Inserisci il numero di linea", -- src\editor\menu_search.lua
["Enter replacement text"] = nil, -- src\editor\editor.lua
["Error while loading API file: %s"] = "Errore durante il caricamento del file API: %s", -- src\editor\autocomplete.lua
["Error while loading configuration file: %s"] = "Errore nel caricamento del file di configurazione: %s", -- src\editor\style.lua
["Error while processing API file: %s"] = "Errore durante l'elaborazione del file API: %s", -- src\editor\autocomplete.lua
["Error while processing configuration file: %s"] = "Errore durante l'elaborazione del file di configurazione: %s", -- src\editor\style.lua
["Error"] = "Errore", -- src\editor\commands.lua
["Evaluate in Console"] = "Elabora in console", -- src\editor\editor.lua
["Evaluate In Console"] = "Elabora in console", -- src\editor\editor.lua
["Execute the current project/file and keep updating the code to see immediate results"] = "Esegue il progetto/file corrente e permette di modificare il codice per vedere i risultati in tempo reale", -- src\editor\menu_project.lua
["Execute the current project/file"] = "Esegue il progetto/file corrente", -- src\editor\menu_project.lua
["Execution error"] = "Errore di esecuzione", -- src\editor\debugger.lua
["Exit program"] = "Uscita dal programma", -- src\editor\menu_file.lua
["Expr"] = "Expr.", -- src\editor\debugger.lua
["Expression"] = "Espressione", -- src\editor\debugger.lua
["File '%s' has been modified on disk."] = "Il file '%s' e' stato modificato sul disco.", -- src\editor\editor.lua
["File '%s' has more recent timestamp than restored '%s'; please review before saving."] = "Il file '%s' ha un timestamp più recente di quello ripristinato '%s'; verificare prima di salvare.", -- src\editor\commands.lua
["File '%s' no longer exists."] = "Il file '%s' non esiste piu'.", -- src\editor\editor.lua
["File '%s' is missing and can't be recovered."] = nil, -- src\editor\commands.lua
["File '%s' no longer exists."] = "Il file '%s' non esiste piu'.", -- src\editor\menu_file.lua, src\editor\editor.lua
["File Type"] = "File Type", -- src\editor\findreplace.lua
["File already exists."] = "Il file esiste già.", -- src\editor\commands.lua
["File history"] = "Storia del file", -- src\editor\menu_file.lua
["Find &In Files"] = "Ricerca nei files", -- src\editor\menu_search.lua
["Find &Next"] = "Cerca il successivo", -- src\editor\menu_search.lua
["Find &Previous"] = "Cerca il precedente", -- src\editor\menu_search.lua
["Find In Files"] = "Ricerca nei Files", -- src\editor\findreplace.lua
["Find and replace text in files"] = "Cerca e sostituisci testo nei files", -- src\editor\menu_search.lua
["Find and replace text"] = "Cerca e sostituisci testo", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find and replace text"] = "Cerca e sostituisci testo", -- src\editor\menu_search.lua
["Find text in files"] = "Cerca testo nei files", -- src\editor\menu_search.lua
["Find text"] = "Cerca testo", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find text"] = "Cerca testo", -- src\editor\menu_search.lua
["Find the earlier text occurence"] = "Cerca la precedente occorrenza nel testo", -- src\editor\menu_search.lua
["Find the next text occurrence"] = "Cerca la successiva occorrenza nel testo", -- src\editor\menu_search.lua
["Find"] = "Ricerca", -- src\editor\findreplace.lua
["Fold or unfold all code folds"] = "Apri o chiudi tutti i blocchi di codice", -- src\editor\menu_edit.lua
["Found auto-recovery record and restored saved session."] = "Trovato punto di auto-revcovery e ripristinata la sessione salvata", -- src\editor\commands.lua
["Full &Screen"] = "Schermo pieno", -- src\editor\menu_view.lua
["Found"] = "Occorrenze trovate:", -- src\editor\findreplace.lua
["Full &Screen"] = "Schermo intero", -- src\editor\menu_view.lua
["Go To Definition"] = "Vai a Definizione", -- src\editor\editor.lua
["Go To Line"] = "Vai alla riga", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = "Vai al Prossimo Segnalibro", -- src\editor\menu_edit.lua
["Go To Previous Bookmark"] = "Vai al Precedente Segnalibro", -- src\editor\menu_edit.lua
["Go to a selected line"] = "Vai alla riga selezionata", -- src\editor\menu_search.lua
["Goto Line"] = "Vai alla riga", -- src\editor\menu_search.lua
["INS"] = "INS", -- src\editor\editor.lua
["Jump to a function definition..."] = "Salta alla definizione della funzione...", -- src\editor\editor.lua
["Ignored error in debugger initialization code: %s."] = nil, -- src\editor\debugger.lua
["In Files"] = "Nei Files", -- src\editor\findreplace.lua
["Known Files"] = "Files conosciuti", -- src\editor\commands.lua
["Ln: %d"] = "Ln: %d", -- src\editor\editor.lua
["Local console"] = "Console locale", -- src\editor\shellbox.lua, src\editor\gui.lua
["Local console"] = "Console locale", -- src\editor\gui.lua, src\editor\shellbox.lua
["Lua &Interpreter"] = "&Interprete Lua", -- src\editor\menu_project.lua
["Mapped remote request for '%s' to '%s'."] = "Richiesta remota '%s' mappata su '%s'.", -- src\editor\debugger.lua
["Match &case"] = "Maiuscole/Minuscole", -- src\editor\findreplace.lua
["Match &whole word"] = "Intera parola", -- src\editor\findreplace.lua
["Mixed end-of-line encodings detected."] = "Trovata codifica Fine-Riga mista.", -- src\editor\commands.lua
["New &File"] = "Nuovo &File", -- src\editor\filetree.lua
["OVR"] = "OVR", -- src\editor\editor.lua
["Open an existing document"] = "Apri un documento esistente", -- src\editor\menu_file.lua, src\editor\gui.lua
["Open With Default Program"] = "Apri con programma predefinito", -- src\editor\filetree.lua
["Open an existing document"] = "Apri un documento esistente", -- src\editor\menu_file.lua
["Open file"] = "Apri un file", -- src\editor\commands.lua
["Output (running)"] = "Output (in corso d'esecuzione)", -- src\editor\output.lua
["Output"] = "Output", -- src\editor\output.lua, src\editor\settings.lua, src\editor\gui.lua
["Options"] = "Opzioni", -- src\editor\findreplace.lua
["Outline Window"] = nil, -- src\editor\menu_view.lua
["Outline"] = nil, -- src\editor\outline.lua
["Output (running)"] = "Output (in corso d'esecuzione)", -- src\editor\debugger.lua, src\editor\output.lua
["Output (suspended)"] = nil, -- src\editor\debugger.lua
["Output"] = "Output", -- src\editor\debugger.lua, src\editor\output.lua, src\editor\gui.lua, src\editor\settings.lua
["Paste text from the clipboard"] = "Incolla testo dagli appunti", -- src\editor\menu_edit.lua
["Preferences"] = "Preferenze", -- src\editor\menu_edit.lua
["Prepend '!' to force local execution."] = nil, -- src\editor\shellbox.lua
["Prepend '=' to show complex values on multiple lines."] = "Prefissa '=' per visualizzare valori complessi su piu` righe", -- src\editor\shellbox.lua
["Press cancel to abort."] = "Premi cancel per bloccare.", -- src\editor\commands.lua
["Program '%s' started in '%s' (pid: %d)."] = "Programma '%s' partito da '%s' (pid: %d).", -- src\editor\output.lua
@@ -130,58 +190,89 @@ return {
["Program starting as '%s'."] = "Programma partito da '%s'.", -- src\editor\output.lua
["Program stopped (pid: %d)."] = "Programma fermato (pid: %d).", -- src\editor\debugger.lua
["Program unable to run as '%s'."] = "Il programma non puo' partire '%s'.", -- src\editor\output.lua
["Project Directory"] = "Directory del Progetto", -- src\editor\menu_project.lua
["Project"] = "Progetto", -- src\editor\settings.lua, src\editor\gui.lua
["Project Directory"] = "Directory del Progetto", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Project history"] = "Storia del Progetto", -- src\editor\menu_file.lua
["Project"] = "Progetto", -- src\editor\filetree.lua
["Project/&FileTree Window"] = "Progetto/Explorer", -- src\editor\menu_view.lua
["Provide command line parameters"] = "Fornire parametri riga di comando", -- src\editor\menu_project.lua
["R/O"] = "R/O", -- src\editor\editor.lua
["R/W"] = "R/W", -- src\editor\editor.lua
["Re&place In Files"] = "Sostituisci nei files", -- src\editor\menu_search.lua
["Re-indent selected lines"] = nil, -- src\editor\menu_edit.lua
["Recent &Projects"] = "Progetti Recenti", -- src\editor\menu_file.lua
["Recent Files"] = "Files recenti", -- src\editor\menu_file.lua
["Redo last edit undone"] = "Ripeti l'ultima azione annullata", -- src\editor\menu_edit.lua
["Refused a request to start a new debugging session as there is one in progress already."] = "Impossibile aprire una nuova sessione di debug in quanto ne esiste una in corso", -- src\editor\debugger.lua
["Regular &expression"] = "Regular &expression", -- src\editor\findreplace.lua
["Remote console"] = "Console remota", -- src\editor\shellbox.lua
["Rename All Instances"] = "Rinomina tutte le occorrenze", -- src\editor\editor.lua
["Replace A&ll"] = "Sostituisci Tutto", -- src\editor\findreplace.lua
["Replace All Selections"] = nil, -- src\editor\editor.lua
["Replace"] = "Sostituisci", -- src\editor\findreplace.lua
["Replaced an invalid UTF8 character with %s."] = "Sostituito un carattere UTF8 invalido con %s.", -- src\editor\commands.lua
["Replaced"] = "Sostituiti :", -- src\editor\findreplace.lua
["Replacing"] = "Sostituzione", -- src\editor\findreplace.lua
["Reset to default layout"] = "Ritorna al default layout", -- src\editor\menu_view.lua
["Resets the dynamic word list for autocompletion"] = "Azzera la lista di dynamic words per l'autocompletamento", -- src\editor\menu_edit.lua
["Run as Scratchpad"] = "Esegui in Scratchpad (Live coding)", -- src\editor\menu_project.lua
["S&top Debugging"] = "Ferma il debugger", -- src\editor\menu_project.lua
["S&top Process"] = "Ferma il processo", -- src\editor\menu_project.lua
["Save &As..."] = "S&alva con nome...", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save &As..."] = "S&alva con nome...", -- src\editor\gui.lua, src\editor\menu_file.lua
["Save A&ll"] = "Sa&lva tutto", -- src\editor\menu_file.lua
["Save Changes?"] = "Vuoi salvare le modifiche?", -- src\editor\commands.lua
["Save all open documents"] = "Salva tutti i documenti aperti", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save all open documents"] = "Salva tutti i documenti aperti", -- src\editor\menu_file.lua
["Save file as"] = "Salva il file con nome", -- src\editor\commands.lua
["Save file?"] = "Vuoi salvare il file?", -- src\editor\commands.lua
["Save the current document to a file with a new name"] = "Salva il documento corrente in un file con un nuovo nome", -- src\editor\menu_file.lua
["Save the current document"] = "Salva il documento corrente", -- src\editor\menu_file.lua, src\editor\gui.lua
["Save the current document"] = "Salva il documento corrente", -- src\editor\menu_file.lua
["Saved auto-recover at %s."] = "Salvato auto-recover a %s.", -- src\editor\commands.lua
["Scope"] = "Direzione", -- src\editor\findreplace.lua
["Scratchpad error"] = "Errore durente Scratchpad", -- src\editor\debugger.lua
["Select &All"] = "Selezion&a Tutto", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Searching for"] = "Ricerca di", -- src\editor\findreplace.lua
["Sel: %d/%d"] = "Sel: %d/%d", -- src\editor\editor.lua
["Select &All"] = "Selezion&a Tutto", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Select all text in the editor"] = "Seleziona tutto il testo nell'editor", -- src\editor\menu_edit.lua
["Select and Find Next"] = "Seleziona e trova successivo", -- src\editor\menu_search.lua
["Select and Find Previous"] = "Seleziona e trova precedente", -- src\editor\menu_search.lua
["Select the word under cursor and find its next occurrence"] = "Seleziona la parola e trova successivo", -- src\editor\menu_search.lua
["Select the word under cursor and find its previous occurrence"] = "Seleziona la parola e trova precedente", -- src\editor\menu_search.lua
["Set From Current File"] = "Impostato da file corrente", -- src\editor\menu_project.lua
["Set project directory from current file"] = "Definisci la directory del progeetto dal file corrente", -- src\editor\menu_project.lua, src\editor\gui.lua
["Set project directory from current file"] = "Definisci la directory del progeetto dal file corrente", -- src\editor\menu_project.lua
["Set the interpreter to be used"] = "Definisci l'interprete da utilizzare", -- src\editor\menu_project.lua
["Set the project directory to be used"] = "Imposta la directory di progetto da usare", -- src\editor\menu_project.lua
["Show &Tooltip"] = "Mos&tra i consgli", -- src\editor\menu_edit.lua
["Set the project directory to be used"] = "Imposta la directory di progetto da usare", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Settings: System"] = "Impostazioni: Sistema", -- src\editor\menu_edit.lua
["Settings: User"] = "Impostazioni: Utente", -- src\editor\menu_edit.lua
["Show &Tooltip"] = "Mos&tra i consigli", -- src\editor\menu_edit.lua
["Show Location"] = "Mostra posizione", -- src\editor\gui.lua, src\editor\filetree.lua
["Show tooltip for current position; place cursor after opening bracket of function"] = "Mostra i consigli per la posizione corrente; muovi il cursore dopo la parentesi o la funzione", -- src\editor\menu_edit.lua
["Sort selected lines"] = "Ordina le righe selezionate", -- src\editor\menu_search.lua
["Show/Hide the status bar"] = "Mostra/Nascondi la barra di stato", -- src\editor\menu_view.lua
["Show/Hide the toolbar"] = "Mostra/Nascondi la barra degli strumenti", -- src\editor\menu_view.lua
["Sort selected lines"] = "Ordina le righe selezionate", -- src\editor\menu_edit.lua
["Source"] = nil, -- src\editor\menu_edit.lua
["Stack"] = "Stack", -- src\editor\debugger.lua
["Start &Debugging"] = "Inizia il &Debug", -- src\editor\menu_project.lua
["Start debugging"] = "Inizia il Debug", -- src\editor\menu_project.lua, src\editor\gui.lua
["Start or continue debugging"] = "Inizia o continua il debug", -- src\editor\menu_project.lua
["Step &Into"] = "Step &Into", -- src\editor\menu_project.lua
["Step &Over"] = "Step &Over", -- src\editor\menu_project.lua
["Step O&ut"] = "Step O&ut", -- src\editor\menu_project.lua
["Step into"] = "Step into", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step out of the current function"] = "Contina fino all'uscita della funzione", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step over"] = "Continua senza entrare nella funzione", -- src\editor\menu_project.lua, src\editor\gui.lua
["Stop the currently running process"] = "Ferma il processo in esecuzione", -- src\editor\menu_project.lua, src\editor\gui.lua
["Step into"] = "Step into", -- src\editor\menu_project.lua
["Step out of the current function"] = "Contina fino all'uscita della funzione", -- src\editor\menu_project.lua
["Step over"] = "Continua senza entrare nella funzione", -- src\editor\menu_project.lua
["Stop debugging and continue running the process"] = "Ferma il debug e continua l'esecuzione del processo", -- src\editor\menu_project.lua
["Stop the currently running process"] = "Ferma il processo in esecuzione", -- src\editor\menu_project.lua
["Switch to or from full screen mode"] = "Passa da tutto schermo a finestra", -- src\editor\menu_view.lua
["Text not found."] = "Testo non trovato.", -- src\editor\findreplace.lua
["The API file must be located in a subdirectory of the API directory."] = "Il file API deve essere presente in una sottodirectory o nella direcotory API.", -- src\editor\autocomplete.lua
["Toggle Bookmark"] = "Attiva/Disattiva Segnalibro", -- src\editor\menu_edit.lua
["Toggle Break&point"] = "Attiva/Disattiva Break&point", -- src\editor\menu_project.lua
["Toggle breakpoint"] = "Attiva/Disattiva Breakpoint", -- src\editor\menu_project.lua, src\editor\gui.lua
["Toggle bookmark"] = "Attiva/Disattiva Segnalibro", -- src\editor\menu_edit.lua
["Toggle breakpoint"] = "Attiva/Disattiva Breakpoint", -- src\editor\menu_project.lua
["Tr&ace"] = "Tr&ace", -- src\editor\menu_project.lua
["Trace execution showing each executed line"] = "Traccia l'esecuzione mostrando le righe eseguite", -- src\editor\menu_project.lua
["Unable to create directory '%s'."] = "Impossibile creare la directory '%s'.", -- src\editor\filetree.lua
["Unable to create file '%s'."] = "Impossibile creare il file '%s'.", -- src\editor\filetree.lua
["Unable to delete directory '%s': %s"] = nil, -- src\editor\filetree.lua
["Unable to load file '%s'."] = "Impossibile aprire il file '%s'.", -- src\editor\commands.lua
["Unable to rename file '%s'."] = "Impossibile rinominare il file '%s'.", -- src\editor\filetree.lua
["Unable to save file '%s': %s"] = "Impossibile salvare il file '%s': %s", -- src\editor\commands.lua
["Unable to stop program (pid: %d), code %d."] = "Impossibile fermare il programma (pid: %d), code %d.", -- src\editor\debugger.lua
["Undo last edit"] = "Annulla l'ultima azione di edit", -- src\editor\menu_edit.lua
@@ -189,14 +280,20 @@ return {
["Use '%s' to show line endings and '%s' to convert them."] = "Utilizza '%s' per vedere la fine della riga e '%s' per convertirli.", -- src\editor\commands.lua
["Use 'clear' to clear the shell output and the history."] = "Utilizza 'clear' per pulire l`output e lo storico.", -- src\editor\shellbox.lua
["Use Shift-Enter for multiline code."] = "Premi <Shift-Invio> per inserire piu` righe di codice.", -- src\editor\shellbox.lua
["Value"] = "Valore", -- src\editor\debugger.lua
["View the outline window"] = nil, -- src\editor\menu_view.lua
["View the output/console window"] = "Mostra la finestra di output/console", -- src\editor\menu_view.lua
["View the project/filetree window"] = "Mostra la finestra di progetto/explorer", -- src\editor\menu_view.lua
["View the stack window"] = "Mostra la finestra dello Stack", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the watch window"] = "Mostra la finestra delle Espressioni di Controllo", -- src\editor\menu_view.lua, src\editor\gui.lua
["View the stack window"] = "Mostra la finestra dello Stack", -- src\editor\menu_view.lua
["View the watch window"] = "Mostra la finestra delle Espressioni di Controllo", -- src\editor\menu_view.lua
["Watch"] = "Watch", -- src\editor\debugger.lua
["Welcome to the interactive Lua interpreter."] = "Benvenuti nell`interprete interattivo Lua.", -- src\editor\shellbox.lua
["Wrap ar&ound"] = "Wrap ar&ound", -- src\editor\findreplace.lua
["You must save the program first."] = "Devi prima salvare il programma", -- src\editor\commands.lua
["on line %d"] = "alla linea %d", -- src\editor\debugger.lua, src\editor\commands.lua
["traced %d instruction"] = {"tracciata %d istruzione", "%d istruzioni tracciate"} -- src\editor\debugger.lua
["Zoom In"] = "Zoom In", -- src\editor\menu_view.lua
["Zoom Out"] = "Zoom Out", -- src\editor\menu_view.lua
["Zoom to 100%"] = "Zoom a 100%", -- src\editor\menu_view.lua
["Zoom"] = "Zoom", -- src\editor\menu_view.lua
["on line %d"] = "alla linea %d", -- src\editor\debugger.lua, src\editor\editor.lua, src\editor\commands.lua
["traced %d instruction"] = {"tracciata %d istruzione", "%d istruzioni tracciate"}, -- src\editor\debugger.lua
["unknown error"] = "errore sconosciuto", -- src\editor\debugger.lua
}

View File

@@ -1,127 +1,187 @@
return {
[0] = function(c) return (c%10 == 1 and c%100 ~= 11) and 1 or (c%10 >= 2 and c%10 <= 4 and (c%100 < 10 or c%100 >= 20) and 2) or 3 end, -- plural
[0] = function(c) c = (c-9)%100 < 9 and 9 or (c-1)%10 return c == 0 and 1 or c < 4 and 2 or 3 end, -- plural
["%d instance"] = {"%d совпадение", "%d совпадения", "%d совпадений"}, -- src\editor\findreplace.lua
["%s event failed: %s"] = "%s обработчик события вернул ошибку: %s", -- src\editor\package.lua
["&About"] = "&О программе", -- src\editor\menu_help.lua
["&Add Watch"] = "&Добавить выражение", -- 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"] = nil, -- src\editor\menu_help.lua
["&Compile"] = "&Компилировать", -- src\editor\menu_project.lua
["&Copy"] = "&Копировать", -- src\editor\editor.lua, src\editor\menu_edit.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
["&Delete"] = "&Удалить", -- src\editor\filetree.lua
["&Documentation"] = "Документация", -- src\editor\menu_help.lua
["&Down"] = "Вниз", -- src\editor\findreplace.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"] = nil, -- src\editor\menu_help.lua
["&Go To Line..."] = "&Перейти к строке...", -- src\editor\menu_search.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"] = "За&менить", -- src\editor\menu_search.lua
["&Paste"] = "В&ставить", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.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 All"] = "Заменить всe", -- src\editor\findreplace.lua
["&Replace"] = "За&менить", -- src\editor\findreplace.lua, 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"] = "&Cортировать", -- src\editor\menu_search.lua
["&Sort"] = "&Cортировать", -- src\editor\menu_edit.lua
["&Stack Window"] = "Окно &стека", -- src\editor\menu_view.lua
["&Start Debugger Server"] = "Запустить сервер отла&дки", -- src\editor\menu_project.lua
["&Undo"] = "&Отменить", -- src\editor\editor.lua, src\editor\menu_edit.lua
["&Status Bar"] = "Панель состояния", -- src\editor\menu_view.lua
["&Subdirectories"] = "В папках", -- src\editor\findreplace.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
["&Up"] = "Вверх", -- src\editor\findreplace.lua
["&View"] = "&Вид", -- src\editor\menu_view.lua
["&Watch Window"] = "Окно &наблюдения", -- src\editor\menu_view.lua
["About ZeroBrane Studio"] = "О ZeroBrane Studio", -- src\editor\menu_help.lua
["Add Watch Expression"] = "Добавить в окно наблюдения", -- src\editor\editor.lua
["Add to Scratchpad"] = "Добавить в черновик", -- src\editor\editor.lua
["&Watch Window"] = "Окно &выражений", -- src\editor\menu_view.lua
[".&bak on Replace"] = ".&bak после замены", -- src\editor\findreplace.lua
["About %s"] = "О %s", -- src\editor\menu_help.lua
["Add To Scratchpad"] = "Добавить в черновик", -- src\editor\editor.lua
["Add Watch Expression"] = "Добавить выражение", -- 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
["Analyze the source code"] = "Проанализировать исходный код", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["Analyze"] = "Анализировать", -- src\editor\inspect.lua, src\editor\inspect.lua-profile
["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
["Bookmark"] = "Закладка", -- src\editor\menu_edit.lua
["Break execution at the next executed line of code"] = "Прервать выполнение на следующей строке", -- src\editor\menu_project.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 evaluate the expression while the application is running."] = nil, -- 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 open file '%s': %s"] = "Ошибка открытия файла '%s': %s", -- src\editor\singleinstance.lua
["Can't process auto-recovery record; invalid format: %s."] = "Ошибка обработки записи автоматического восстановления; неверный формат: %s.", -- src\editor\commands.lua
["Can't run the entry point script ('%s')."] = "Ошибка выполнения стартового скрипта ('%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 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
["Choose ..."] = "Выбрать ...", -- src\editor\menu_project.lua
["Choose a project directory"] = "Выберите каталог проекта", -- 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
["Cancel"] = "Отмена", -- src\editor\findreplace.lua
["Cancelled by the user."] = "Отменено пользователем.", -- src\editor\findreplace.lua
["Choose a project directory"] = "Выберите папку проекта", -- src\editor\findreplace.lua, src\editor\menu_project.lua, src\editor\filetree.lua
["Choose..."] = "Выбрать...", -- src\editor\menu_project.lua, src\editor\filetree.lua
["Clear Items"] = "Очистить список", -- 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 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\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'."] = "Рассмотрите вариант удаления backslash из строки '%s'.", -- src\editor\commands.lua
["Copy Full Path"] = "Скопировать полный путь", -- src\editor\gui.lua, src\editor\filetree.lua
["Copy selected text to 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\menu_file.lua
["Cu&t"] = "Вы&резать", -- src\editor\gui.lua, src\editor\editor.lua, src\editor\menu_edit.lua
["Cut selected text to 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
["Detach &Process"] = "Отсоединить процесс", -- src\editor\menu_project.lua
["Directory"] = "Папка", -- src\editor\findreplace.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
["Enter Lua code and press Enter to run it."] = "Введите код на Lua и нажмите Enter для выполнения.", -- src\editor\shellbox.lua
["Enter command line parameters (use Cancel to clear)"] = "Введите параметры командной строки (Cancel чтобы очистить)", -- src\editor\menu_project.lua
["Enter line number"] = "Введите номер строки", -- src\editor\menu_search.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"] = "Ошибка загрузки файла конфигурации: %s", -- src\editor\style.lua
["Error while processing API file: %s"] = "Ошибка обработки файла определений API: %s", -- src\editor\autocomplete.lua
["Error while processing configuration file: %s"] = "Ошибка обработки файла конфигурации: %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
["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
["File '%s' is missing and can't be recovered."] = nil, -- src\editor\commands.lua
["File '%s' no longer exists."] = "Файл '%s' больше не существует.", -- src\editor\menu_file.lua, src\editor\editor.lua
["File Type"] = "Тип файла", -- src\editor\findreplace.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 replace text in files"] = "Найти и заменить текст в файлах", -- src\editor\menu_search.lua
["Find and replace text"] = "Найти и заменить текст", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find and replace text"] = "Найти и заменить текст", -- src\editor\menu_search.lua
["Find text in files"] = "Найти текст в файлах", -- src\editor\menu_search.lua
["Find text"] = "Найти текст", -- src\editor\menu_search.lua, src\editor\gui.lua
["Find text"] = "Найти текст", -- src\editor\menu_search.lua
["Find the earlier text occurence"] = "Найти предыдущее вхождение текста", -- src\editor\menu_search.lua
["Find the next text occurrence"] = "Найти следующее вхождение текста", -- src\editor\menu_search.lua
["Find"] = "Найти", -- src\editor\findreplace.lua
["Fold or unfold all code folds"] = "Свернуть или развернуть все блоки кода", -- src\editor\menu_edit.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 Definition"] = "Перейти к определению", -- src\editor\editor.lua
["Go To Line"] = "Перейти к строке", -- src\editor\menu_search.lua
["Go To Next Bookmark"] = "Перейти к следующей закладке", -- src\editor\menu_edit.lua
["Go To Previous Bookmark"] = "Перейти к предыдущей закладке", -- src\editor\menu_edit.lua
["Go to a selected line"] = "Перейти к заданной строке", -- src\editor\menu_search.lua
["Goto Line"] = "Перейти к строке", -- src\editor\menu_search.lua
["INS"] = "ВСТ", -- src\editor\editor.lua
["Jump to a function definition..."] = "Перейти к определению функции...", -- src\editor\editor.lua
["Ignored error in debugger initialization code: %s."] = nil, -- src\editor\debugger.lua
["In Files"] = "Установки файлов", -- src\editor\findreplace.lua
["Known Files"] = "Файлы Lua", -- 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
["Mapped remote request for '%s' to '%s'."] = nil, -- src\editor\debugger.lua
["Mixed end-of-line encodings detected."] = nil, -- src\editor\commands.lua
["Mapped remote request for '%s' to '%s'."] = "Удаленный запрос для '%s' отображен на '%s'.", -- src\editor\debugger.lua
["Match &case"] = "Совпадение регистра", -- src\editor\findreplace.lua
["Match &whole word"] = "Совпадение целого слова", -- src\editor\findreplace.lua
["Mixed end-of-line encodings detected."] = "Обнаружены смешанные символы конца строки.", -- src\editor\commands.lua
["New &File"] = "Новый файл", -- src\editor\filetree.lua
["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\menu_file.lua
["Open file"] = "Открыть файл", -- src\editor\commands.lua
["Output (running)"] = "Вывод (запущен)", -- src\editor\output.lua
["Output"] = "Вывод", -- src\editor\output.lua, src\editor\settings.lua, src\editor\gui.lua
["Options"] = "Установки", -- src\editor\findreplace.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
["Paste text from the clipboard"] = "Вставить текст из буфера обмена", -- 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."] = "Нажмите Отмена для завершения.", -- src\editor\commands.lua
["Program '%s' started in '%s' (pid: %d)."] = "Программа '%s' запущена в '%s' (pid: %d).", -- src\editor\output.lua
@@ -130,73 +190,110 @@ return {
["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
["R/O"] = "R/O", -- src\editor\editor.lua
["R/W"] = "R/W", -- src\editor\editor.lua
["Re&place In Files"] = "Замени&ть в файлах", -- src\editor\menu_search.lua
["Re-indent selected lines"] = nil, -- src\editor\menu_edit.lua
["Recent &Projects"] = "Недавние &проекты", -- src\editor\menu_file.lua
["Recent Files"] = "Недавние файлы", -- src\editor\menu_file.lua
["Redo last edit undone"] = "Вернуть последнее отмененное изменение", -- src\editor\menu_edit.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
["Remote console"] = "Удаленная консоль", -- src\editor\shellbox.lua
["Replaced an invalid UTF8 character with %s."] = nil, -- src\editor\commands.lua
["Rename All Instances"] = "Переименовать все совпадения", -- src\editor\editor.lua
["Replace A&ll"] = "Заменить все", -- src\editor\findreplace.lua
["Replace All Selections"] = nil, -- src\editor\editor.lua
["Replace"] = "Заменить", -- src\editor\findreplace.lua
["Replaced an invalid UTF8 character with %s."] = "Некорректный символ UTF8 заменен на %s.", -- 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"] = "Очистить список динамических слов для автодополнения", -- src\editor\menu_edit.lua
["Run as Scratchpad"] = "Запустить как черновик", -- 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\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\menu_file.lua
["Saved auto-recover at %s."] = "Сохранено авто-восст в %s.", -- src\editor\commands.lua
["Scope"] = "Направление", -- src\editor\findreplace.lua
["Scratchpad error"] = "Ошибка в черновике", -- src\editor\debugger.lua
["Select &All"] = "Выделить &все", -- src\editor\editor.lua, src\editor\menu_edit.lua
["Searching for"] = "Поиск", -- 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 all text in the editor"] = "Выделить весь текст в редакторе", -- src\editor\menu_edit.lua
["Select and Find Next"] = "Выделить и найти далее", -- src\editor\menu_search.lua
["Select and Find Previous"] = "Выделить и найти ранее", -- src\editor\menu_search.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 From Current File"] = "Установить по текущему файлу", -- src\editor\menu_project.lua
["Set project directory from current file"] = "Установить каталог проекта по текущему файлу", -- src\editor\menu_project.lua, src\editor\gui.lua
["Set project directory from current file"] = "Установить папку проекта по текущему файлу", -- src\editor\menu_project.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"] = "Показать &подсказку", -- src\editor\menu_edit.lua
["Show Location"] = "Показать файл в папке", -- src\editor\gui.lua, src\editor\filetree.lua
["Show tooltip for current position; place cursor after opening bracket of function"] = "Показать подсказку в текущей позиции; переместите курсор в позицию после открывающей скобки функции", -- 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 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\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\menu_project.lua
["Step out of the current function"] = "Выйти из текущей функции", -- src\editor\menu_project.lua
["Step over"] = "Перейти на следующую строку", -- src\editor\menu_project.lua
["Stop debugging and continue running the process"] = "Завершить отладку и продолжить текущий процесс", -- src\editor\menu_project.lua
["Stop the currently running process"] = "Завершить текущий процесс", -- src\editor\menu_project.lua
["Switch to or from full screen mode"] = "Переключить полноэкранный режим", -- src\editor\menu_view.lua
["The API file must be located in a subdirectory of the API directory."] = "Файл определений API должен быть расположен в подкаталоге каталога API.", -- src\editor\autocomplete.lua
["Text not found."] = "Текст не найден.", -- src\editor\findreplace.lua
["The API file must be located in a subdirectory of the API directory."] = "Файл определений API должен быть расположен внутри папки API.", -- src\editor\autocomplete.lua
["Toggle Bookmark"] = "Установить/Снять закладку", -- src\editor\menu_edit.lua
["Toggle Break&point"] = "&Точка останова", -- src\editor\menu_project.lua
["Toggle breakpoint"] = "Переключить точку останова", -- src\editor\menu_project.lua, src\editor\gui.lua
["Toggle bookmark"] = "Установить/Снять закладку", -- src\editor\menu_edit.lua
["Toggle breakpoint"] = "Переключить точку останова", -- src\editor\menu_project.lua
["Tr&ace"] = "Т&рассировка", -- src\editor\menu_project.lua
["Trace execution showing each executed line"] = "Отслеживать выполнение, показывая каждую выполненную строку", -- src\editor\menu_project.lua
["Unable to create directory '%s'."] = "Ошибка создания папки '%s'.", -- src\editor\filetree.lua
["Unable to create file '%s'."] = "Ошибка создания файла '%s'.", -- src\editor\filetree.lua
["Unable to delete directory '%s': %s"] = nil, -- 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
["Use '%s' to see full description."] = "Используйте '%s' для полного описания.", -- src\editor\editor.lua
["Use '%s' to show line endings and '%s' to convert them."] = nil, -- src\editor\commands.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' для очистки содержимого окна и истории.", -- src\editor\shellbox.lua
["Use Shift-Enter for multiline code."] = "Используйте Shift-Enter для многострочного кода.", -- src\editor\shellbox.lua
["Value"] = "Значение", -- src\editor\debugger.lua
["View the outline window"] = nil, -- 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
["Watch"] = nil, -- src\editor\debugger.lua
["View the stack window"] = "Показать окно стека", -- src\editor\menu_view.lua
["View the watch window"] = "Показать окно выражений", -- src\editor\menu_view.lua
["Watch"] = "Выражение", -- src\editor\debugger.lua
["Welcome to the interactive Lua interpreter."] = "Добро пожаловать в интерактивный интерпретатор Lua.", -- src\editor\shellbox.lua
["Wrap ar&ound"] = "Продолжить сначала", -- src\editor\findreplace.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%"] = "Установить 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 инструкция", "выполнено %d инструкции", "выполнено %d инструкций"}, -- src\editor\debugger.lua
["unknown error"] = "неизвестная ошибка", -- src\editor\debugger.lua
}

View File

@@ -1,25 +1,29 @@
--[[
1. Pick a color scheme by clicking on a link:
- [Tomorrow](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','Tomorrow')))
- [TomorrowNight](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowNight')))
- [TomorrowNightBlue](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowNightBlue')))
- [TomorrowNightBright](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowNightBright')))
- [TomorrowNightEighties](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowNightEighties')))
- [Zenburn](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','Zenburn')))
- [Monokai](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','Monokai')))
- [SolarizedDark](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','SolarizedDark')))
- [SolarizedLight](macro:shell(ApplyStyleConfig('cfg/tomorrow.lua','SolarizedLight')))
1. Pick a color scheme by clicking on its name:
- [Tomorrow](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','Tomorrow'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [TomorrowContrast](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowContrast'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [TomorrowNight](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowNight'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [TomorrowNightBlue](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowNightBlue'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [TomorrowNightBright](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowNightBright'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [TomorrowNightEighties](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','TomorrowNightEighties'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [Zenburn](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','Zenburn'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [Monokai](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','Monokai'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [Molokai](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','Molokai'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [SolarizedDark](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','SolarizedDark'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [SolarizedLight](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','SolarizedLight'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [Notepad++](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','NotepadPlusPlus'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [SciTeLuaIDE](macro:inline(ApplyStyleConfig('cfg/tomorrow.lua','SciTeLuaIDE'); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = c.styles.text; ReApplySpecAndStyles()))
- [ZeroBrane Studio](macro:shell(ide.config.styles = StylesGetDefault(); ReApplySpecAndStyles()))
- [ZeroBrane Studio](macro:inline(ide.config.styles = StylesGetDefault(); local c = ide.config; c.stylesoutshell = c.styles; c.styles.auxwindow = {}; ReApplySpecAndStyles()))
2. [Apply the same scheme to Output/Console windows](macro:shell(ide.config.stylesoutshell = ide.config.styles; ReApplySpecAndStyles())).
3. Add the following code with the scheme you selected to `cfg/user.lua`.
2. Add the following code with the scheme you selected to `cfg/user.lua`.
--]]
local G = ...
styles = G.loadfile('cfg/tomorrow.lua')('TomorrowNightBlue')
stylesoutshell = styles -- also apply the same scheme to Output/Console windows
stylesoutshell = styles -- apply the same scheme to Output/Console windows
styles.auxwindow = styles.text -- apply text colors to auxiliary windows
styles.calltip = styles.text -- apply text colors to tooltips
-- code example
if false and true then func(1, 2, 3) end

View File

@@ -1,9 +1,10 @@
-- This is a file that sets color scheme based on Tomorrow format.
-- Copyright 2011-12 Paul Kulchenko, ZeroBrane LLC
-- Copyright 2011-14 Paul Kulchenko, ZeroBrane LLC
-- Tomorrow colors from https://github.com/chriskempson/tomorrow-theme
-- Zenburn colors from https://github.com/jnurmine/Zenburn/blob/master/colors/zenburn.vim (contributed by Srdjan Marković)
-- Monokai colors from http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/
-- Molokai colors based on https://github.com/tomasr/molokai/blob/master/colors/molokai.vim
-- Solarized colors from https://github.com/altercation/vim-colors-solarized
local theme = ...
@@ -37,6 +38,20 @@ local colors = {
Blue = H'4271ae',
Purple = H'8959a8',
},
TomorrowContrast = { -- contributed by Sergey Lerg
Background = H'f7f7f7',
CurrentLine = H'efefef',
Selection = H'd6d6d6',
Foreground = H'202020',
Comment = H'8e908c',
Red = H'4669ff', --numbers
Orange = H'f5871f',
Yellow = H'eab700',
Green = H'108010', --strings
Aqua = H'4060b0', --built in functions
Blue = H'101080', --keywords
Purple = H'a01090',
},
TomorrowNight = {
Background = H'1d1f21',
CurrentLine = H'282a2e',
@@ -109,7 +124,7 @@ local colors = {
},
Monokai = {
Background = H'272822',
CurrentLine = H'49483E',
CurrentLine = H'2D2F29',
Selection = H'49483E',
Foreground = H'F8F8F2',
Comment = H'75715E',
@@ -121,6 +136,20 @@ local colors = {
Blue = H'F92672',
Purple = H'A6E22E',
},
Molokai = {
Background = H'1B1D1E',
CurrentLine = H'293739',
Selection = H'49483E',
Foreground = H'F8F8F2',
Comment = H'7E8E91',
Red = H'AE81FF',
Orange = H'AE81FF',
Yellow = H'F8F8F2',
Green = H'E6DB74',
Aqua = H'66D9EF',
Blue = H'F92672',
Purple = H'A6E22E',
},
SolarizedDark = {
Background = H'042029',
CurrentLine = H'0A2933',
@@ -149,6 +178,34 @@ local colors = {
Blue = H'859900',
Purple = H'268BD2',
},
NotepadPlusPlus = { -- contributed by Florian (https://github.com/SiENcE)
Background = H'FFFFFF',
CurrentLine = H'E9E2FF',
Selection = H'C0C0C0',
Foreground = H'000000',
Comment = H'008000',
Red = H'FF6900',
Orange = H'FF0000',
Yellow = H'FF4E00',
Green = H'808080',
Aqua = H'000080',
Blue = H'2123FF',
Purple = H'8000FF',
},
SciTeLuaIDE = { -- contributed by Jayanth Acharya
Background = H'1B1D1E',
CurrentLine = H'293739',
Selection = H'49483E',
Foreground = H'F8F8F2', -- super-light-gray (everything else)
Comment = H'00FF00', -- bright green (comments)
Red = H'F92672', -- purple (numbers)
Orange = H'AE81FF', -- lavendar?? (numbers)
Yellow = H'F8F8F2', -- light-gray
Green = H'FF8000', -- amber (string literal)
Aqua = H'808080', -- gray (operators, separators etc.)
Blue = H'0066FF', -- semi-blue (keywords)
Purple = H'A6E22E', -- light-grass-green
},
}
-- add more of the specified color (keeping all in 0-255 range)
@@ -182,15 +239,15 @@ return {
-- wxstc.wxSTC_LUA_NUMBER
number = {fg = C.Red},
-- wxstc.wxSTC_LUA_WORD, wxstc.wxSTC_LUA_WORD#
-- wxstc.wxSTC_LUA_WORD, wxstc.wxSTC_LUA_WORD2-8
keywords0 = {fg = C.Blue, b = true},
keywords1 = {fg = C.Aqua, b = false},
keywords2 = {fg = C.Aqua, b = true},
keywords3 = {fg = C.Purple, b = true},
keywords4 = {fg = C.Purple, b = true},
keywords5 = {fg = C.Purple, b = true},
keywords6 = {fg = C.Purple, b = true},
keywords7 = {fg = C.Purple, b = true},
keywords3 = {fg = C.Purple, b = false},
keywords4 = {fg = C.Purple, b = false},
keywords5 = {fg = C.Purple, b = false},
keywords6 = {fg = C.Purple, b = false},
keywords7 = {fg = C.Purple, b = false},
-- common (inherit fg/bg from text)
-- wxstc.wxSTC_LUA_IDENTIFIER
@@ -203,23 +260,30 @@ return {
calltip = nil,
-- common special (need custom fg & bg)
calltipbg = nil,
sel = {bg = C.Selection},
caret = {fg = C.Foreground},
caretlinebg = {bg = C.CurrentLine},
fold = {fg = C.Comment, bg = C.Background},
fold = {fg = C.Comment, bg = C.Background, sel = mixer(C.Comment, 1, 96)},
whitespace = {fg = C.Comment, bg = C.Background},
edge = {},
fncall = {fg = C.Purple, st = wxstc.wxSTC_INDIC_PLAIN},
--[[ other possible values are:
wxSTC_INDIC_PLAIN Single-line underline
wxSTC_INDIC_SQUIGGLE Squiggly underline
wxSTC_INDIC_TT Line of small T-shapes
wxSTC_INDIC_DIAGONAL Diagonal hatching
wxSTC_INDIC_STRIKE Strike-out
wxSTC_INDIC_BOX Box
wxSTC_INDIC_ROUNDBOX Rounded Box
--]]
indicator = {
fncall = {fg = C.Purple, st = wxstc.wxSTC_INDIC_HIDDEN},
--[[ other possible values are:
wxSTC_INDIC_PLAIN Single-line underline
wxSTC_INDIC_SQUIGGLE Squiggly underline
wxSTC_INDIC_TT Line of small T-shapes
wxSTC_INDIC_DIAGONAL Diagonal hatching
wxSTC_INDIC_STRIKE Strike-out
wxSTC_INDIC_BOX Box
wxSTC_INDIC_ROUNDBOX Rounded Box
--]]
-- these indicators have all different default styles
varlocal = {fg = C.Foreground},
varglobal = {fg = C.Foreground},
varmasked = {fg = C.Foreground},
varmasking = {fg = C.Foreground},
},
-- markup
['['] = {hs = mixer(C.Comment, 3, 64)},

View File

@@ -1,6 +1,6 @@
--[[-- Copy required content from this file to `user.lua`
--[[-- This file shows examples of settings you can adjust.
Configuration files are loaded in the following order:
Configuration files with preferences are loaded in the following order:
1. cfg/user.lua (system-wide configuration)
2. HOME/.zbstudio/user.lua (per-user configuration)
3. -cfg <lua code fragment|filename> (command line configuration)
@@ -9,7 +9,7 @@ See [configuration](http://studio.zerobrane.com/doc-configuration.html) page for
--]]--
-- an example of how loaded configuration can be modified from this file
-- to modify loaded configuration for recognized extensions for lua files
local G = ... -- this now points to the global environment in the script
local luaspec = G.ide.specs['lua']
luaspec.exts[#luaspec.exts+1] = "luaz"
@@ -47,7 +47,7 @@ path.lua = 'd:/lua/lua'
path.gslshell = [[D:\Lua\gsl-shell\gsl-shell.exe]]
-- to provide output filter for those engines that support redirecting
-- of "print" output to the IDE (like Corona SDK and Gideros)
-- of "print" output to the IDE (like Corona SDK or Gideros)
debugger.outputfilter = function(m) return #m < 124 and m or m:sub(1,120).."...\n" end
-- to fix an issue with 0d0d0a line endings in MOAI examples,
@@ -89,27 +89,27 @@ stylesoutshell = styles
-- to change markers used in console and output windows
styles.marker = styles.marker or {}
styles.marker.message = {ch = wxstc.wxSTC_MARK_ARROWS, {0, 0, 0}, {240, 240, 240}}
styles.marker.output = {ch = wxstc.wxSTC_MARK_BACKGROUND, {0, 0, 0}, {240, 240, 240}}
styles.marker.prompt = {ch = wxstc.wxSTC_MARK_CHARACTER+('>'):byte(), {0, 0, 0}, {240, 240, 240}}
styles.marker.message = {ch = wxstc.wxSTC_MARK_ARROWS, fg = {0, 0, 0}, bg = {240, 240, 240}}
styles.marker.output = {ch = wxstc.wxSTC_MARK_BACKGROUND, fg = {0, 0, 0}, bg = {240, 240, 240}}
styles.marker.prompt = {ch = wxstc.wxSTC_MARK_CHARACTER+('>'):byte(), fg = {0, 0, 0}, bg = {240, 240, 240}}
stylesoutshell = styles
-- to disable indicators (underlining) on function calls
editor.showfncall = false
styles.indicator.fncall = nil
-- to change the color of the indicator used for function calls
styles.fncall.fg = {240,0,0}
styles.indicator.fncall.fg = {240,0,0}
-- to change the type of the indicator used for function calls
styles.fncall.st = wxstc.wxSTC_INDIC_PLAIN
styles.indicator.fncall.st = wxstc.wxSTC_INDIC_PLAIN
--[[ other possible values are:
wxSTC_INDIC_PLAIN Single-line underline
wxSTC_INDIC_SQUIGGLE Squiggly underline
wxSTC_INDIC_TT Line of small T-shapes
wxSTC_INDIC_DIAGONAL Diagonal hatching
wxSTC_INDIC_STRIKE Strike-out
wxSTC_INDIC_BOX Box
wxSTC_INDIC_ROUNDBOX Rounded Box
wxSTC_INDIC_DOTS Dotted underline; wxSTC_INDIC_PLAIN Single-line underline
wxSTC_INDIC_TT Line of Tshapes; wxSTC_INDIC_SQUIGGLE Squiggly underline
wxSTC_INDIC_STRIKE Strike-out; wxSTC_INDIC_SQUIGGLELOW Squiggly underline (2 pixels)
wxSTC_INDIC_BOX Box; wxSTC_INDIC_ROUNDBOX Rounded Box
wxSTC_INDIC_DASH Dashed underline; wxSTC_INDIC_STRAIGHTBOX Box with trasparency
wxSTC_INDIC_DOTBOX Dotted rectangle; wxSTC_INDIC_DIAGONAL Diagonal hatching
wxSTC_INDIC_HIDDEN No visual effect;
--]]
-- to enable additional spec files (like spec/cpp.lua)
@@ -117,8 +117,8 @@ load.specs(function(file) return file:find('spec[/\\]cpp%.lua$') end)
-- to specify a default EOL encoding to be used for new files:
-- `wxstc.wxSTC_EOL_CRLF` or `wxstc.wxSTC_EOL_LF`;
-- `nil` means OS default: CRLF on Windows and OSX and LF on Linux/Unix.
-- CRLF as a default on OSX is a bug and is likely to change in future versions.
-- `nil` means OS default: CRLF on Windows and LF on Linux/Unix and OSX.
-- (OSX had CRLF as a default until v0.36, which fixed it).
editor.defaulteol = wxstc.wxSTC_EOL_LF
-- to turn off checking for mixed end-of-line encodings in loaded files
@@ -132,3 +132,28 @@ debugger.runonstart = true
-- to set compact fold that doesn't include empty lines after a block
editor.foldcompact = true
-- to disable zoom with mouse wheel as it may be too sensitive on OSX
editor.nomousezoom = true
-- to specify a skin for Corona simulator (OSX only);
-- you can also change it between runs from Local Console by executing
-- `ide.config.corona = {skin = 'iPad'}`
corona = { skin = "iPad" }
-- to style individual keywords; `return` and `break` are shown in red
local G = ... -- this now points to the global environment in the script
local luaspec = G.ide.specs.lua
local num = #luaspec.keywords
-- take a new slot in the list of keywords (starting from 1)
luaspec.keywords[num+1] = 'return break'
-- remove 'return' from the list of "regular" keywords
luaspec.keywords[1] = luaspec.keywords[1]:gsub(' return', ''):gsub(' break', '')
-- assign new style to the added slot (starting from 0)
styles["keywords"..num] = {fg = {240, 0, 0}, b = true}
-- enable `Opt+Shift+Left/Right` shortcut on OSX
editor.keymap[#editor.keymap+1] = {wxstc.wxSTC_KEY_LEFT, wxstc.wxSTC_SCMOD_ALT+wxstc.wxSTC_SCMOD_SHIFT, wxstc.wxSTC_CMD_WORDLEFTEXTEND, "Macintosh"}
editor.keymap[#editor.keymap+1] = {wxstc.wxSTC_KEY_RIGHT, wxstc.wxSTC_SCMOD_ALT+wxstc.wxSTC_SCMOD_SHIFT, wxstc.wxSTC_CMD_WORDRIGHTENDEXTEND, "Macintosh"}

60
interpreters/busted.lua Normal file
View File

@@ -0,0 +1,60 @@
-- Copyright 2011-13 Paul Kulchenko, ZeroBrane LLC
local busted
local win = ide.osname == "Windows"
return {
name = "Busted",
description = "Busted Lua testing",
api = {"baselib"},
frun = function(self,wfilename,rundebug)
busted = busted or ide.config.path.busted -- check if the path is configured
if not busted then
local sep = win and ';' or ':'
local path = (os.getenv('PATH') or '')..sep
..(os.getenv('HOME') and os.getenv('HOME') .. '/bin' or '')
local paths = {}
for p in path:gmatch("[^"..sep.."]+") do
busted = busted or GetFullPathIfExists(p, win and 'busted.exe' or 'busted')
table.insert(paths, p)
end
if not busted then
DisplayOutput("Can't find busted executable in any of the folders in PATH: "
..table.concat(paths, ", ").."\n")
return
end
end
local file
if rundebug then
-- start running the application right away
DebuggerAttachDefault({runstart = ide.config.debugger.runonstart == true})
local code = (
[=[xpcall(function() io.stdout:setvbuf('no')
require('mobdebug').start(); dofile [[%s]]
end, function(err) print(debug.traceback(err)) end)]=])
:format(wfilename:GetFullPath())
local tmpfile = wx.wxFileName()
tmpfile:AssignTempFileName(".")
file = tmpfile:GetFullPath()
local f = io.open(file, "w")
if not f then
DisplayOutput("Can't open temporary file '"..file.."' for writing\n")
return
end
f:write(code)
f:close()
end
file = file or wfilename:GetFullPath()
local options = ide.config.busted and ide.config.busted.options
or "--output=TAP"
local cmd = ('"%s" %s "%s"'):format(busted, options, file)
-- CommandLineRun(cmd,wdir,tooutput,nohide,stringcallback,uid,endcallback)
return CommandLineRun(cmd,self:fworkdir(wfilename),true,false,nil,nil,
function() if rundebug then wx.wxRemoveFile(file) end end)
end,
hasdebugger = true,
fattachdebug = function(self) DebuggerAttachDefault() end,
}

View File

@@ -1,4 +1,4 @@
-- Copyright 2011-12 Paul Kulchenko, ZeroBrane LLC
-- Copyright 2011-13 Paul Kulchenko, ZeroBrane LLC
local corona
local win = ide.osname == "Windows"
@@ -13,10 +13,8 @@ return {
if not corona then
local sep = win and ';' or ':'
local default =
win and ([[C:\Program Files\Corona SDK]]..sep..[[D:\Program Files\Corona SDK]]..sep..
[[C:\Program Files\Corona Labs\Corona SDK]]..sep..[[D:\Program Files\Corona Labs\Corona SDK]]..sep..
[[C:\Program Files (x86)\Corona SDK]]..sep..[[D:\Program Files (x86)\Corona SDK]]..sep..
[[C:\Program Files (x86)\Corona Labs\Corona SDK]]..sep..[[D:\Program Files (x86)\Corona Labs\Corona SDK]]..sep)
win and (GenerateProgramFilesPath('Corona SDK', sep)..sep..
GenerateProgramFilesPath('Corona Labs\\Corona SDK', sep)..sep)
or mac and ('/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS'..sep)
or ''
local path = default
@@ -42,31 +40,58 @@ return {
if rundebug then
-- start running the application right away
DebuggerAttachDefault({startwith = file, redirect = mac and "r" or "c",
DebuggerAttachDefault({startwith = file, redirect = "r",
runstart = ide.config.debugger.runonstart ~= false})
local function needRefresh(mdbl, mdbc)
return not wx.wxFileExists(mdbc)
or GetFileModTime(mdbc):GetTicks() < GetFileModTime(mdbl):GetTicks()
end
-- copy mobdebug.lua to Resources/ folder on Win and to the project folder on OSX
-- as copying it to Resources/ folder seems to break the signature of the app.
local mdbc = mac and MergeFullPath(self:fworkdir(wfilename), "mobdebug.lua")
or MergeFullPath(GetPathWithSep(corona), "Resources/mobdebug.lua")
local mdbl = MergeFullPath(GetPathWithSep(ide.editorFilename), "lualibs/mobdebug/mobdebug.lua")
if not wx.wxFileExists(mdbc)
or GetFileModTime(mdbc):GetTicks() < GetFileModTime(mdbl):GetTicks() then
FileCopy(mdbl, mdbc)
DisplayOutput(("Copied ZeroBrane Studio debugger ('mobdebug.lua') to '%s' folder.\n"):format(mdbc))
local needed = needRefresh(mdbl, mdbc)
local mdbcplugin = win and MergeFullPath(wx.wxStandardPaths.Get():GetUserLocalDataDir(),
"../../Roaming/Corona Labs/Corona Simulator/Plugins/mobdebug.lua")
if needed then
local copied = FileCopy(mdbl, mdbc)
-- couldn't copy to the Resources/ folder; not have permissions?
if not copied and win then
mdbc = mdbcplugin
needed = needRefresh(mdbl, mdbc)
copied = needed and FileCopy(mdbl, mdbc)
end
if needed then
local message = copied
and ("Copied debugger ('mobdebug.lua') to '%s'."):format(mdbc)
or ("Failed to copy debugger ('mobdebug.lua') to '%s': %s")
:format(mdbc, wx.wxSysErrorMsg())
DisplayOutputLn(message)
if not copied then return end
end
end
-- remove debugger if copied to plugin directory as it may be obsolete
if mdbcplugin and mdbcplugin ~= mdbc and wx.wxFileExists(mdbcplugin) then
wx.wxRemoveFile(mdbcplugin)
end
end
local cmd = ('"%s" %s"%s"'):format(corona, rundebug and "-debug 1 -project " or "", file)
local cfg = ide.config.corona or {}
local debugopt = mac and "-debug 1 -project " or "-debug "
local skin = cfg.skin and (" -skin "..ide.config.corona.skin) or ""
local noconsole = win and not cfg.showconsole and "-no-console " or ""
local cmd = ('"%s" %s%s"%s"%s')
:format(corona, noconsole, rundebug and debugopt or "", file, skin)
local uhw = ide.config.unhidewindow
local cwc = uhw and uhw.ConsoleWindowClass
if uhw and cfg.showconsole then uhw.ConsoleWindowClass = 0 end
-- CommandLineRun(cmd,wdir,tooutput,nohide,stringcallback,uid,endcallback)
return CommandLineRun(cmd,self:fworkdir(wfilename),true,false,nil,nil,
function() ide.debugger.pid = nil end)
end,
fprojdir = function(self,wfilename)
return wfilename:GetPath(wx.wxPATH_GET_VOLUME)
end,
fworkdir = function(self,wfilename)
return ide.config.path.projectdir or wfilename:GetPath(wx.wxPATH_GET_VOLUME)
return CommandLineRun(cmd,self:fworkdir(wfilename),true,true,nil,nil,
function() if uhw and cfg.showconsole then uhw.ConsoleWindowClass = cwc end end)
end,
hasdebugger = true,
fattachdebug = function(self) DebuggerAttachDefault() end,

View File

@@ -9,7 +9,4 @@ return {
ShellExecuteFile(wfilename)
end,
fprojdir = function(self,wfilename)
return wfilename:GetPath(wx.wxPATH_GET_VOLUME)
end,
}

View File

@@ -29,8 +29,7 @@ return {
if not gideros then
local sep = win and ';' or ':'
local default =
win and ([[C:\Program Files\Gideros]]..sep..[[D:\Program Files\Gideros]]..sep..
[[C:\Program Files (x86)\Gideros]]..sep..[[D:\Program Files (x86)\Gideros]]..sep)
win and (GenerateProgramFilesPath('Gideros', sep)..sep)
or mac and ('/Applications/Gideros Studio/Gideros Player.app/Contents/MacOS'..sep)
or ''
local path = default
@@ -65,7 +64,7 @@ return {
-- find *.gproj file in the project directory
local file
for _, proj in ipairs(FileSysGet(self:fworkdir(wfilename).."/*.gproj", wx.wxFILE)) do
for _, proj in ipairs(FileSysGetRecursive(self:fworkdir(wfilename), false, "*.gproj")) do
if file then
DisplayOutputLn("Found multiple .gproj files in the project directory; ignored '"..proj.."'.")
end
@@ -90,15 +89,14 @@ return {
else
local cmd = ('"%s"'):format(gideros)
-- CommandLineRun(cmd,wdir,tooutput,nohide,stringcallback,uid,endcallback)
pid = CommandLineRun(cmd,self:fworkdir(wfilename),not mac,true,nil,nil,
function() ide.debugger.pid = nil end)
pid = CommandLineRun(cmd,self:fworkdir(wfilename),not mac,true)
if not pid then return end
end
do
DisplayOutputLn("Starting the player and waiting for the bridge to connect at '"..gdrbridge.."'.")
local cmd = ('"%s" %s'):format(gdrbridge, 'isconnected')
local attempts, connected = 12
local attempts, connected = 15
for _ = 1, attempts do
local proc = wx.wxProcess()
proc:Redirect()
@@ -107,7 +105,7 @@ return {
if not isValidPid(bid, cmd) then return end
local streamin = proc:GetInputStream()
for _ = 1, 20 do
for _ = 1, 30 do
if streamin:CanRead() then
connected = tonumber(streamin:Read(4096)) == 1
break end
@@ -137,12 +135,6 @@ return {
end
return pid
end,
fprojdir = function(self,wfilename)
return wfilename:GetPath(wx.wxPATH_GET_VOLUME)
end,
fworkdir = function(self,wfilename)
return ide.config.path.projectdir or wfilename:GetPath(wx.wxPATH_GET_VOLUME)
end,
hasdebugger = true,
fattachdebug = function(self) DebuggerAttachDefault() end,
scratchextloop = true,

View File

@@ -11,10 +11,7 @@ return {
gslshell = gslshell or ide.config.path.gslshell -- check if the path is configured
if not gslshell then
local sep = win and ';' or ':'
local default =
win and ([[C:\Program Files\gsl-shell]]..sep..[[D:\Program Files\gsl-shell]]..sep..
[[C:\Program Files (x86)\gsl-shell]]..sep..[[D:\Program Files (x86)\gsl-shell]]..sep)
or ''
local default = win and GenerateProgramFilesPath('gsl-shell', sep)..sep or ''
local path = default
..(os.getenv('PATH') or '')..sep
..(GetPathWithSep(self:fworkdir(wfilename)))..sep
@@ -51,23 +48,43 @@ return {
end
end
local filepath = wfilename:GetFullPath()
if rundebug then
DebuggerAttachDefault({runstart = ide.config.debugger.runonstart == true})
end
local cmd = ('"%s" "%s"'):format(gslshell, wfilename:GetFullPath())
local tmpfile = wx.wxFileName()
tmpfile:AssignTempFileName(".")
filepath = tmpfile:GetFullPath()
local f = io.open(filepath, "w")
if not f then
DisplayOutput("Can't open temporary file '"..filepath.."' for writing\n")
return
end
f:write(rundebug)
f:close()
else
-- if running on Windows and can't open the file, this may mean that
-- the file path includes unicode characters that need special handling
local fh = io.open(filepath, "r")
if fh then fh:close() end
if ide.osname == 'Windows' and pcall(require, "winapi")
and wfilename:FileExists() and not fh then
winapi.set_encoding(winapi.CP_UTF8)
filepath = winapi.short_path(filepath)
end
end
local params = ide.config.arg.any or ide.config.arg.gslshell
local code = ([[-e "io.stdout:setvbuf('no')" "%s"]]):format(filepath)
local cmd = '"'..gslshell..'" '..code..(params and " "..params or "")
-- CommandLineRun(cmd,wdir,tooutput,nohide,stringcallback,uid,endcallback)
return CommandLineRun(cmd,self:fworkdir(wfilename),true,false,nil,nil,
function() ide.debugger.pid = nil end)
end,
fprojdir = function(self,wfilename)
return wfilename:GetPath(wx.wxPATH_GET_VOLUME)
end,
fworkdir = function(self,wfilename)
return ide.config.path.projectdir or wfilename:GetPath(wx.wxPATH_GET_VOLUME)
function() if rundebug then wx.wxRemoveFile(filepath) end end)
end,
hasdebugger = true,
fattachdebug = function(self) DebuggerAttachDefault() end,
skipcompile = true,
unhideanywindow = true,
scratchextloop = false,
takeparameters = true,
}

63
interpreters/lfw.lua Normal file
View File

@@ -0,0 +1,63 @@
-- add `lfw = {chdirtofile = true}` to the configuration file to set file
-- directory as the current one when Running or Debugging LuaForWindows projects.
if ide.osname ~= "Windows" or not os.getenv("LUA_DEV") then return end
local exe
local function exePath()
local defaultPath = ide.config.path.lfw or os.getenv("LUA_DEV")
return MergeFullPath(defaultPath, 'lua.exe')
end
return {
name = "LuaForWindows",
description = "Lua For Windows interpreter with debugger",
api = {"baselib"},
frun = function(self,wfilename,rundebug)
exe = exe or exePath()
local filepath = wfilename:GetFullPath()
local script
if rundebug then
DebuggerAttachDefault({basedir = self:fworkdir(wfilename),
runstart = ide.config.debugger.runonstart == true})
script = rundebug
else
-- if running on Windows and can't open the file, this may mean that
-- the file path includes unicode characters that need special handling
local fh = io.open(filepath, "r")
if fh then fh:close() end
if ide.osname == 'Windows' and pcall(require, "winapi")
and wfilename:FileExists() and not fh then
winapi.set_encoding(winapi.CP_UTF8)
filepath = winapi.short_path(filepath)
end
script = ('dofile [[%s]]'):format(filepath)
end
local code = ([[xpcall(function() io.stdout:setvbuf('no'); %s end,function(err) print(debug.traceback(err)) end)]]):format(script)
local cmd = '"'..exe..'" -e "'..code..'"'
-- add "LUA_DEV\clibs" to PATH to allow required DLLs to load
local _, path = wx.wxGetEnv("PATH")
local clibs = MergeFullPath(GetPathWithSep(exe), 'clibs')
if path and not path:find(clibs, 1, true) then
wx.wxSetEnv("PATH", path..';'..clibs)
end
-- CommandLineRun(cmd,wdir,tooutput,nohide,stringcallback,uid,endcallback)
local pid = CommandLineRun(cmd,self:fworkdir(wfilename),true,false)
-- restore PATH
wx.wxSetEnv("PATH", path)
return pid
end,
fworkdir = function (self,wfilename)
return (not ide.config.lfw or ide.config.lfw.chdirtofile ~= true)
and ide.config.path.projectdir or wfilename:GetPath(wx.wxPATH_GET_VOLUME)
end,
hasdebugger = true,
fattachdebug = function(self) DebuggerAttachDefault() end,
scratchextloop = false,
unhideanywindow = true,
}

View File

@@ -13,8 +13,7 @@ return {
if not love2d then
local sep = win and ';' or ':'
local default =
win and ([[C:\Program Files\love]]..sep..[[D:\Program Files\love]]..sep..
[[C:\Program Files (x86)\love]]..sep..[[D:\Program Files (x86)\love]]..sep)
win and (GenerateProgramFilesPath('love', sep)..sep)
or mac and ('/Applications/love.app/Contents/MacOS'..sep)
or ''
local path = default
@@ -42,19 +41,14 @@ return {
DebuggerAttachDefault({runstart = ide.config.debugger.runonstart == true})
end
local cmd = ('"%s" "%s"%s'):format(love2d,
self:fworkdir(wfilename), rundebug and ' -debug' or '')
local params = ide.config.arg.any or ide.config.arg.love2d
local cmd = ('"%s" "%s"%s%s'):format(love2d, self:fworkdir(wfilename),
params and " "..params or "", rundebug and ' -debug' or '')
-- CommandLineRun(cmd,wdir,tooutput,nohide,stringcallback,uid,endcallback)
return CommandLineRun(cmd,self:fworkdir(wfilename),true,false,nil,nil,
function() ide.debugger.pid = nil end)
end,
fprojdir = function(self,wfilename)
return wfilename:GetPath(wx.wxPATH_GET_VOLUME)
end,
fworkdir = function(self,wfilename)
return ide.config.path.projectdir or wfilename:GetPath(wx.wxPATH_GET_VOLUME)
return CommandLineRun(cmd,self:fworkdir(wfilename),true,true)
end,
hasdebugger = true,
fattachdebug = function(self) DebuggerAttachDefault() end,
scratchextloop = true,
takeparameters = true,
}

89
interpreters/luabase.lua Normal file
View File

@@ -0,0 +1,89 @@
function MakeLuaInterpreter(version, name)
local function exePath(self, version)
local version = tostring(version):gsub('%.','')
local mainpath = ide.editorFilename:gsub("[^/\\]+$","")
local macExe = mainpath..([[bin/lua.app/Contents/MacOS/lua%s]]):format(version)
return ide.config.path['lua'..version]
or (ide.osname == "Windows" and mainpath..([[bin\lua%s.exe]]):format(version))
or (ide.osname == "Unix" and mainpath..([[bin/linux/%s/lua%s]]):format(ide.osarch, version))
or (wx.wxFileExists(macExe) and macExe or mainpath..([[bin/lua%s]]):format(version))
end
return {
name = ("Lua%s"):format(name or version or ""),
description = ("Lua%s interpreter with debugger"):format(name or version or ""),
api = {"wxwidgets","baselib"},
luaversion = version or '5.1',
fexepath = exePath,
frun = function(self,wfilename,rundebug)
local exe = self:fexepath(version or "")
local filepath = wfilename:GetFullPath()
if rundebug then
DebuggerAttachDefault({runstart = ide.config.debugger.runonstart == true})
-- update arg to point to the proper file
rundebug = ('if arg then arg[0] = [[%s]] end '):format(filepath)..rundebug
local tmpfile = wx.wxFileName()
tmpfile:AssignTempFileName(".")
filepath = tmpfile:GetFullPath()
local f = io.open(filepath, "w")
if not f then
DisplayOutput("Can't open temporary file '"..filepath.."' for writing\n")
return
end
f:write(rundebug)
f:close()
else
-- if running on Windows and can't open the file, this may mean that
-- the file path includes unicode characters that need special handling
local fh = io.open(filepath, "r")
if fh then fh:close() end
if ide.osname == 'Windows' and pcall(require, "winapi")
and wfilename:FileExists() and not fh then
winapi.set_encoding(winapi.CP_UTF8)
filepath = winapi.short_path(filepath)
end
end
local params = ide.config.arg.any or ide.config.arg.lua
local code = ([[-e "io.stdout:setvbuf('no')" "%s"]]):format(filepath)
local cmd = '"'..exe..'" '..code..(params and " "..params or "")
-- modify CPATH to work with other Lua versions
local envname = "LUA_CPATH"
if version then
local env = "LUA_CPATH_"..string.gsub(version, '%.', '_')
if os.getenv(env) then envname = env end
end
local cpath = os.getenv(envname)
if rundebug and cpath and not ide.config.path['lua'..(version or "")] then
-- prepend osclibs as the libraries may be needed for debugging,
-- but only if no path.lua is set as it may conflict with system libs
wx.wxSetEnv(envname, ide.osclibs..';'..cpath)
end
if version and cpath then
local cpath = os.getenv(envname)
local clibs = string.format('/clibs%s/', version):gsub('%.','')
if not cpath:find(clibs, 1, true) then cpath = cpath:gsub('/clibs/', clibs) end
wx.wxSetEnv(envname, cpath)
end
-- CommandLineRun(cmd,wdir,tooutput,nohide,stringcallback,uid,endcallback)
local pid = CommandLineRun(cmd,self:fworkdir(wfilename),true,false,nil,nil,
function() if rundebug then wx.wxRemoveFile(filepath) end end)
if (rundebug or version) and cpath then wx.wxSetEnv(envname, cpath) end
return pid
end,
hasdebugger = true,
fattachdebug = function(self) DebuggerAttachDefault() end,
scratchextloop = false,
unhideanywindow = true,
takeparameters = true,
}
end
return nil -- as this is not a real interpreter

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