Compare commits

...

1846 Commits
0.26 ... 0.95

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

Many of interpreters had logic in those callbacks to reset debugger.pid,
which was useful (at a time) to reset UI after terminatin of a process
(introduced by 4554c67c). However, this logic was unnecesary in
interpreters and interfered with terminating running processes, so this
commit removes it from all the interpreters and does in the IDE itself.
2014-04-11 15:24:26 -07:00
Paul Kulchenko
9284a24750 Reduced the line number margin width and default font size (ref #305). 2014-04-10 21:57:35 -07:00
Paul Kulchenko
c8df92f8a0 Disable function call indicator by default to reduce clutter (ref #305). 2014-04-10 21:09:35 -07:00
Paul Kulchenko
1ae6ffe7f7 Updated default folding to use lighter colors (ref #305). 2014-04-10 21:08:11 -07:00
Paul Kulchenko
ae561ff880 Updated default colors to have less contrast (ref #305). 2014-04-10 21:08:01 -07:00
Paul Kulchenko
da584b9e0a Removed unused parameters. 2014-04-10 20:39:37 -07:00
Paul Kulchenko
809ba33187 Rearranged global functions in lua spec for simpler grouping (ref #79). 2014-04-09 23:10:24 -07:00
Paul Kulchenko
844626c6f4 Added opening a new tab on double click on tab background (ref #305). 2014-04-09 16:34:40 -07:00
Paul Kulchenko
b498140958 Upgraded debugger (mobdebug 0.553) to fix an issue with STEP command. 2014-04-06 15:41:33 -07:00
Paul Kulchenko
68ccda4ef5 Updated Open file dialog to use current file or project location (closes #303). 2014-04-05 19:20:21 -07:00
Paul Kulchenko
5632913e40 Disabled startng multiple find-in-files searches. 2014-04-03 17:44:50 -07:00
Paul Kulchenko
7496040f34 Fixed an error after manual canceling Find-in-files dialog. 2014-04-03 16:01:44 -07:00
Paul Kulchenko
2b7f0f4ad6 Increased wait time for Gideros player to start for more reliable launching. 2014-04-02 17:26:03 -07:00
Paul Kulchenko
f323cc967b Updated Moai API for v1.5 (thanks to @DanielSWolf). 2014-04-01 21:59:31 -07:00
Paul Kulchenko
9cd361989c Added ActivateItem method to the filetree API (ref #166). 2014-03-31 16:45:49 -07:00
Paul Kulchenko
c5df05f03e Fixed an issue with deleting column-based selection (fixes #300). 2014-03-31 16:10:03 -07:00
Paul Kulchenko
3709f61fc4 Added onFiletree* package events (ref #166). 2014-03-31 16:09:34 -07:00
Paul Kulchenko
59caf6cae5 Cleaned unused variables and functions based on static analysis. 2014-03-29 21:03:03 -07:00
Paul Kulchenko
44df223ac5 Added setting margin mask to allow for different margin order. 2014-03-29 20:28:42 -07:00
Paul Kulchenko
2dd3209682 Made jump-to-line in the Output window to work faster and more reliably. 2014-03-28 15:51:50 -07:00
Paul Kulchenko
0c52cde070 Removed explicit margin numbers to make configuraton simpler. 2014-03-28 15:08:17 -07:00
Paul Kulchenko
b734637eb5 Fixed an error in variable indicator processing. 2014-03-28 14:03:30 -07:00
Paul Kulchenko
4c01a530a0 Removed no longer used code. 2014-03-27 22:21:22 -07:00
Paul Kulchenko
8d965cca32 Updated autoanalyzer option to more common spelling (analizer -> analyzer). 2014-03-25 20:45:12 -07:00
Paul Kulchenko
01eab250eb Reorganized and updated configuration examples. 2014-03-23 20:56:21 -07:00
Paul Kulchenko
6b9adf1527 Fixed looping when valuetype creates self-reference in APIs (ref #297). 2014-03-22 16:56:28 -07:00
Paul Kulchenko
68a8fcec47 Added support for switching breakpoints at run-time (closes #288). 2014-03-20 22:27:51 -07:00
Paul Kulchenko
13f1174bb7 Fixed elseif auto-indentation (fixes #294). 2014-03-20 15:52:14 -07:00
Paul Kulchenko
d370279d24 Merge branch 'detach-debugger' 2014-03-20 10:02:29 -07:00
Paul Kulchenko
1bbefcbf7b Disabled editing/dragging of the project directory in the filetree. 2014-03-19 16:47:44 -07:00
Paul Kulchenko
dd3ce4d1e7 Added stopping debugging when debugger server is detached/stopped. 2014-03-19 16:08:39 -07:00
Paul Kulchenko
fdc17f1579 Added opening file on one-click in icon/padding area in the filetree. 2014-03-19 15:47:03 -07:00
madmaxoft
02bbdf17f8 Added AnalyzeString function.
This will be used by the MCServer package to analyze the entire plugin at once.
2014-03-19 19:14:25 +01:00
Paul Kulchenko
8492df40de Removed border around editor components. 2014-03-18 19:27:52 -07:00
Paul Kulchenko
8b9197552c Added zooming for Output/Console windows (ref #290). 2014-03-18 11:50:01 -07:00
Paul Kulchenko
377a4861ee Added IDs for Zoom menu items (ref #290). 2014-03-18 11:49:01 -07:00
Mika Attila
241a5d13c3 Add zoom actions with appropriate keyboard shortcuts to View menu 2014-03-18 19:16:41 +01:00
Paul Kulchenko
344ed6fd80 Added detaching debugger server. 2014-03-18 10:55:33 -07:00
Paul Kulchenko
bd03b4c4d1 Upgraded copas to the current version (v1.2.1). 2014-03-18 10:52:07 -07:00
Paul Kulchenko
4ba03afa8c Added skipping reporting for known globals in static analysis (closes #286).
Globals are checked against the API descriptions registered for the
current file (based on the interpreter configuration).
2014-03-17 14:14:29 -07:00
Paul Kulchenko
cb6971e37d Moved code to populate wx and wxstc descriptions to API files. 2014-03-17 14:09:59 -07:00
Paul Kulchenko
9c3b35d8fe Added support for running zbstudio script from any folder on OSX. 2014-03-16 21:04:08 -07:00
Paul Kulchenko
82f62d4d7d Fixed focus for Find field in the find dialog on some instances of OSX.
This is an additional fix for c4c3e7e5. It turned out that some instances
of OSX 10.9.2 require SetFocus to be called after form is shown.
2014-03-16 21:04:06 -07:00
Paul Kulchenko
38c56c4d31 Updated auto-complete to show in IDLE event for smoother processing. 2014-03-16 21:04:05 -07:00
SiENcE
683218a909 -minor color changes to notepad++ colorscheme 2014-03-16 09:14:08 +01:00
Paul Kulchenko
d68e7ff7ce Updated CHANGELOG for 0.50. 2014-03-10 14:23:04 -07:00
Paul Kulchenko
c4c3e7e51e Added explicit focus for Find field in the find dialog on OSX. 2014-03-10 14:22:26 -07:00
Paul Kulchenko
2460a82153 Updated AddConfig/RemoveConfig to refresh styles after changes (ref #166). 2014-03-08 23:08:35 -08:00
Paul Kulchenko
23a8d495f5 Added version dependency check for loaded plugins. 2014-03-08 23:07:47 -08:00
Paul Kulchenko
2ccd542610 Fixed shortcut menu generator to display default shortcuts. 2014-03-08 10:54:25 -08:00
Paul Kulchenko
1c66dc733f Reduced the number of inactivity checks and timer calls (ref #204). 2014-03-07 15:26:47 -08:00
Paul Kulchenko
5934b9733d Disabled singleinstance check by default on OSX (ref #204).
The singleinstance check is handled by OSX itself. In those rare cases
when the check in the IDE needed, it can be enabled by setting
`singleinstance = true` in the config.
2014-03-07 15:24:20 -08:00
Paul Kulchenko
7ae28cc479 Fixed removing focus from editor when IDE loses focus on OSX (ref #204).
This helps with CPU utilization and canceling tooltips after switching
to other controls in the IDE and then switching to a different app.
2014-03-07 15:22:02 -08:00
Paul Kulchenko
add8342f67 Fixed hiding calltip and auto-complete when switching between tabs on OSX.
Added manual call for KILL_FOCUS, which doesn't seem to be called on OSX
because of this wxwidgets issue (http://trac.wxwidgets.org/ticket/14269).
2014-03-07 15:17:22 -08:00
Paul Kulchenko
b89bb73476 Updated Marmalade Quick API for v7.2. 2014-03-06 20:45:13 -08:00
Paul Kulchenko
a00fa953c2 Updated Corona API for v2014.2189. 2014-03-06 20:06:48 -08:00
Paul Kulchenko
1e623b1d65 Fixed handling of getenv returning general message (Mobdebug v0.5511).
Some environments return an error message ("getenv is not supported"),
which needs to be handled when a port number is expected.
2014-03-06 18:25:47 -08:00
Paul Kulchenko
c0ddad642f Fixed lunching zbstudio from folders with spaces; thanks to @Asmageddon. 2014-03-06 18:21:55 -08:00
Paul Kulchenko
4f1286612b Updated scheme picker to apply styles to all windows. 2014-03-06 18:14:03 -08:00
Paul Kulchenko
267e631933 Added auxwindow attribute to style auxiliary windows. 2014-03-05 23:47:45 -08:00
Paul Kulchenko
0da23d376d Changed the order of applying styles to apply the main style last. 2014-03-05 23:46:26 -08:00
Paul Kulchenko
bdbfd3d71a Removed calltipbg attribute as it's replaced by calltip.bg. 2014-03-05 23:44:27 -08:00
Paul Kulchenko
11edc26279 Fixed calltip attribute to use/enable proper style. 2014-03-05 23:41:11 -08:00
Paul Kulchenko
4171d1ce3b Updated LfW interpreter to use project directory as current one (fixes #276).
Added `lfw.chdirtofile` option to use the current file directory (not the
project directory) as the current one.
2014-03-04 21:20:56 -08:00
Paul Kulchenko
bc866f8375 Updated README. 2014-03-03 18:01:09 -08:00
Paul Kulchenko
42f0bae28f Added sha2 library to provide sha256 hashing. 2014-03-02 22:07:17 -08:00
Paul Kulchenko
d0c712950f Added package GetRootPath/GetPackagePath calls (ref #166). 2014-03-02 22:01:33 -08:00
Paul Kulchenko
228b724f5b Fixed visibility of wrapped lines in console when going through history. 2014-03-02 21:58:53 -08:00
Paul Kulchenko
5fac7e15a8 Added package FindMenuItem API call (ref #166). 2014-03-02 16:40:12 -08:00
Paul Kulchenko
1338204787 Added API call to analyze one file. 2014-03-01 23:22:43 -08:00
Paul Kulchenko
afcbcfb522 Fixed syntax issues in definitions of IDE tables. 2014-02-28 22:45:03 -08:00
Paul Kulchenko
64a24768cd Fixed an issue in metalua files when syntax error is reported. 2014-02-28 17:42:04 -08:00
Paul Kulchenko
39c4cd6800 Removed unused files from metalua. 2014-02-28 17:39:13 -08:00
Paul Kulchenko
c854c97c22 Fixed arrow key handling in Local console (fixes #279). 2014-02-27 10:24:38 -08:00
Paul Kulchenko
35a5313e77 Added restoring markers after external modification and file reload. 2014-02-26 15:53:27 -08:00
Christoph Kubisch
2525736bea updates to shader apis (bugfix in GLSL atomic description) 2014-02-25 16:30:02 +01:00
Paul Kulchenko
102d470380 Fixed removing temporary files in GSL-shell interpreter. 2014-02-23 23:51:09 -08:00
Paul Kulchenko
9ade820252 Fixed tooltip positioning for long messages. 2014-02-20 17:56:47 -08:00
Paul Kulchenko
c2d6e7bed8 Fixed current line in debugging after activation of files with wrapped lines. 2014-02-20 14:23:02 -08:00
Paul Kulchenko
8a51d2512e Fixed spurious ESC after activation on Windows when modifiers are pressed. 2014-02-19 14:21:46 -08:00
Paul Kulchenko
542de89d16 Fixed skipping empty lines in tooltip formatting. 2014-02-19 11:12:59 -08:00
Paul Kulchenko
6aafdf9a84 Updated comment markup separators to apply markup in fewer cases. 2014-02-18 20:57:50 -08:00
Paul Kulchenko
c9b82f55b6 Fixed comment markup at the end of a file. 2014-02-18 20:53:38 -08:00
Paul Kulchenko
0497ef686a Fixed formatting calculations for tooltip to better fill the window. 2014-02-18 15:52:23 -08:00
Paul Kulchenko
476df369ba Adjusted tooltip position and content to always fit on the screen. 2014-02-17 23:05:24 -08:00
Paul Kulchenko
5c14fc1025 Added displaying number of selected characters and instances (closes #274). 2014-02-17 22:01:07 -08:00
Paul Kulchenko
92da4732c7 Merge branch 'master' of https://github.com/Yonaba/ZeroBraneStudio 2014-02-15 10:08:43 -08:00
Yonaba
c9c01ec769 Updated French translation 2014-02-15 09:18:07 +00:00
Paul Kulchenko
ebb6a8525e Fixed stopping debugging when switching projects with the same interpreter. 2014-02-13 23:02:41 -08:00
Paul Kulchenko
4edbe7b491 Added using safe load for external data instead of loadstring. 2014-02-12 20:43:18 -08:00
Paul Kulchenko
a21c39e5c8 Fixed auto-complete for classes with more than two levels. 2014-02-11 22:36:59 -08:00
Paul Kulchenko
74a39850f2 Removed paragraph-to-newline conversion for API tooltips. 2014-02-10 21:21:56 -08:00
Paul Kulchenko
c821336adf Fixed removal of paragraph breaks in tooltips after interpreter switch. 2014-02-10 20:35:24 -08:00
Paul Kulchenko
e36e455e1b Merge branch 'master' of https://github.com/bartoleo/ZeroBraneStudio 2014-02-10 14:45:09 -08:00
Paul Kulchenko
7f675b34ad Fixed API reloading that caused removal of paragraph breaks in tooltips. 2014-02-10 14:25:18 -08:00
Paul Kulchenko
33ab4a1196 Disable debugging termination when stack trace received from remote process.
It's not always desired to kill the remote process, which this termination
leads to. For example, Corona SDK displays an error message in the
Simulator and terminating the debugging, kills the simulator, which makes
it difficult to see the error message.
2014-02-10 14:23:08 -08:00
riidom
6cc90c2bd3 Update de.lua 2014-02-10 20:39:54 +01:00
Paul Kulchenko
9ef4438b4f Updated Linux scripts to remove custom libpng/zlib as it's fixed in wxwidgets. 2014-02-08 12:12:14 -08:00
Paul Kulchenko
d19db6e50d Fixed translations for stock menu items on Ubuntu 13.10 (ref #70). 2014-02-08 11:51:51 -08:00
Paul Kulchenko
93cfc76d78 Updated check for editor state during Edit menu display (ref #70).
This is a fix for 7f00380f that didn't fully addressed the issue.
So far this issue has only been demonstrated on Ubuntu 13.10; earlier
versions of Ubuntu (12.04 and 10.04) or Win/OSX are not affected.
2014-02-07 12:26:02 -08:00
Paul Kulchenko
e3ab970d5a Updated Corona API auto-complete/description to match v2013.2100 (ref #73). 2014-02-05 21:00:51 -08:00
Paul Kulchenko
7f00380fe1 Added check for editor state during Edit menu display (ref #70).
This avoids a strange run-time error on Linux that appears to be caused
by UpdateUI checks in Edit menu for editor object that is out of use.
2014-02-05 15:34:18 -08:00
Paul Kulchenko
f95a48212e Upgraded Mobdebug (0.551) to fix serialization of table/array indexes. 2014-02-05 14:56:43 -08:00
Paul Kulchenko
033c781467 Fixed an issue with spec/tools/interpreters filters not working from config. 2014-02-03 16:40:07 -08:00
bartoleo
3be3f700f4 fix typo 2014-02-03 14:47:00 +01:00
bartoleo
109972a5e7 added italian translations 2014-02-03 14:44:58 +01:00
Paul Kulchenko
a7cb89eda1 Added Russian translation for new items in the main menu (ref #70). 2014-02-01 17:49:01 -08:00
Paul Kulchenko
7cbef66b7d Updated all language files with new messages (ref #70). 2014-02-01 17:48:51 -08:00
Paul Kulchenko
d15837a69e Updated messages for better translation (ref #70). 2014-02-01 17:36:39 -08:00
Paul Kulchenko
2690f3deea Fixed messages script to work with LuaJIT. 2014-02-01 17:21:14 -08:00
Paul Kulchenko
82517bc57e Fixed console output with multiple new lines at the end. 2014-02-01 17:19:13 -08:00
Paul Kulchenko
f74653aba3 Added package GetApp method (ref #166). 2014-02-01 17:18:23 -08:00
Paul Kulchenko
879ab8f506 Reverted 5268b5f as flat namespace created OSX issues (fix #270, fix #264).
This breaks lua-dist support for Lua 5.2 on OSX (ref #225),
which should be fixed with wxwidgets upgrade (ref #260).
2014-01-30 19:53:50 -08:00
Paul Kulchenko
9b899b14b4 Added package GetDebugger API call (ref #166). 2014-01-28 23:28:39 -08:00
Paul Kulchenko
bf1d5c617e Added setting project directory passed as a parameter (second instance). 2014-01-25 23:01:15 -08:00
Christoph Kubisch
728beae0b2 shader tools: allow relative directories for binaries 2014-01-25 19:45:20 +01:00
Christoph Kubisch
ebe433a65a shader specs: add isfncall definition to allow indication style 2014-01-25 19:41:31 +01:00
Paul Kulchenko
6d8c2650aa Added Shift+Zoom to zoom all editors (closes #269). 2014-01-24 16:13:20 -08:00
Paul Kulchenko
0f51d31daa Fixed an issue with isfncall spec property not being checked. 2014-01-24 13:09:01 -08:00
Paul Kulchenko
0288253929 Added alpha setting for sel/seladd/caretlinebg styles. 2014-01-23 19:47:14 -08:00
Paul Kulchenko
777690862d Added package GetToolBar API call (ref #166). 2014-01-22 15:25:02 -08:00
Paul Kulchenko
10828dce8b Added seladd setting for styling additional selections. 2014-01-22 15:24:36 -08:00
Paul Kulchenko
62df942569 Fixed function localization in menu handlers. 2014-01-21 13:39:57 -08:00
Paul Kulchenko
059e093cb3 Added Select and Find Next/Prev (closes #268). 2014-01-21 13:34:41 -08:00
Paul Kulchenko
736c30a6bc Added showing search dialog for Quick Find on first search (closes #265). 2014-01-20 15:12:58 -08:00
Paul Kulchenko
c60770b2f5 Fixed default selection for search in case of multiple selections. 2014-01-18 22:21:32 -08:00
Paul Kulchenko
fc4611e1fa Fixed dependency of lfs/git dlls on lualib.dll. 2014-01-17 13:36:33 -08:00
Paul Kulchenko
01c6eeb782 Added nomousezoom option for Console/Output windows (closes #266). 2014-01-16 19:07:26 -08:00
Paul Kulchenko
cfb0b2f6bb Fixed an issue with activating proper tab after dragging. 2014-01-14 21:04:25 -08:00
Paul Kulchenko
24fe65848b Updated love2d api with LineJoin and few other calls (ref #247). 2014-01-13 21:16:13 -08:00
Paul Kulchenko
5f2a6b1382 Fixed displaying local console output with invalid unicode characters. 2014-01-12 17:07:42 -08:00
Paul Kulchenko
9f7b6c47ab Fixed displaying script output with invalid unicode characters. 2014-01-12 16:55:57 -08:00
Paul Kulchenko
1511c4c820 Updated OSX build script for wxwidgets 3.x (ref #260).
Removed workaround for wxwidgets issue 15008 that has been fixed in the
trunk (http://trac.wxwidgets.org/ticket/15008).
2014-01-11 14:49:06 -08:00
Paul Kulchenko
7c33e7bf55 Added error reporting when debugger server fails to start (closes #263). 2014-01-09 13:13:16 -08:00
Christoph Kubisch
570743a3da bugfix in dx compiler tool 2014-01-08 16:58:45 +01:00
Christoph Kubisch
62833599f4 glsl: added imageSize to spec and api 2014-01-08 16:56:45 +01:00
Paul Kulchenko
36f11ee2bd Updated build script to compile wxwidgets 3.x on Windows (ref #260). 2014-01-06 22:51:51 -08:00
Paul Kulchenko
2580ce36a8 Fixed drawing artifacts on Windows when line wrapping disabled (fixes #250). 2014-01-05 15:57:30 -08:00
Paul Kulchenko
8a4c3693f2 Fixed setting bom value for a new editor (fixes #258). 2014-01-03 18:42:42 -08:00
Paul Kulchenko
d2cb1690cb Added support for command line parameters for GSL-shell (ref #251). 2014-01-03 17:21:25 -08:00
Paul Kulchenko
c7b03095c4 Resolved conflict for Opt+Left (ref #252 and #203). 2014-01-02 14:46:54 -08:00
Paul Kulchenko
92b02bbe0e Added support for editor shortcuts and included standard OSX ones (closes #252). 2014-01-01 21:24:46 -08:00
Paul Kulchenko
f8ab060457 Added auto-complete for metamethods (closes #256). 2013-12-31 15:00:36 -08:00
Paul Kulchenko
3fe98ed092 Fixed auto-complete for values returned by 'core' functions (ref #256). 2013-12-31 14:59:36 -08:00
Paul Kulchenko
87fa5d1302 Added Minimize shortcut on OSX (closes #254). 2013-12-30 16:14:34 -08:00
Paul Kulchenko
09b81d2796 Added handling of command line parameters for love2d (ref #251). 2013-12-29 20:57:04 -08:00
Paul Kulchenko
2d9683675b Added handling of command line parameters (closes #251). 2013-12-29 20:56:35 -08:00
Paul Kulchenko
d524f06429 Switched to using temp files instead of -e option for debugging (ref #251).
This helps with passing parameters to launched processes.
2013-12-29 20:54:40 -08:00
Paul Kulchenko
8dfb5db642 Added calling of end callback for detached processes.
Since processes are detached, their END_PROCESS event is not going
to be called, registered callbacks need to be called manually.
2013-12-29 19:01:21 -08:00
Paul Kulchenko
cfc00e6c6b Updated love2d api with some missing calls (ref #247). 2013-12-28 16:15:16 -08:00
Paul Kulchenko
17522a2b16 Added skipping compile check for non-lua files in scratchpad. 2013-12-28 12:54:34 -08:00
Christoph Kubisch
902f40202a luxinia2 define some global vars if debugger is present 2013-12-28 18:17:08 +01:00
crazybutcher
34d25acb74 luxinia2 support 32 and 64 bit runtime 2013-12-27 22:10:51 +01:00
Christoph Kubisch
b65757584b luxinia2: interpreter bugfix 2013-12-27 14:01:32 +01:00
Christoph Kubisch
518c2ca90a Merge branch 'master' of ssh://git.code.sf.net/p/estrelaeditor/code
Conflicts:
	interpreters/luxinia2.lua
2013-12-27 11:23:07 +01:00
Christoph Kubisch
005eb4b52c luxinia2: new setup, added support for debugging with main.lua and rudimentary scratchpad functionality 2013-12-27 11:12:53 +01:00
Paul Kulchenko
daa06ac8de Added handling of (optional) BOM in UTF-8 encoded files (closes #246). 2013-12-26 11:34:52 -08:00
Paul Kulchenko
fdd1a9acdb Removed jumping to the current line after compilation errors. 2013-12-25 21:20:11 -08:00
Paul Kulchenko
f42c69b158 Added hint about removing backslash for invalid escape sequences. 2013-12-25 21:18:42 -08:00
Christoph Kubisch
991edfdac3 updated luxinia2 interpreter to reflect new luxinia2 structure 2013-12-25 15:42:11 +01:00
Paul Kulchenko
64552d2733 Updated Love2d API for 0.9.0. (closes #247). 2013-12-24 17:33:13 -08:00
Christoph Kubisch
a7819bd022 Merge branch 'master' of ssh://git.code.sf.net/p/estrelaeditor/code 2013-12-23 21:06:56 +01:00
Christoph Kubisch
529e8b910f Merge remote-tracking branch 'zbstudio/master' 2013-12-23 21:05:42 +01:00
Christoph Kubisch
e886befe4c Merge remote-tracking branch 'zbstudio/master' 2013-12-22 18:08:34 +01:00
CrazyButcher
df1583b9c2 allow tool exe paths to be set in config prior load 2013-12-22 18:01:59 +01:00
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
Paul Kulchenko
579ab4c831 Updated CHANGELOG for 0.36. 2013-04-08 11:39:17 -07:00
Paul Kulchenko
f54322c1f7 Fixed the current editor not being fully activated when closing a tab. 2013-04-08 11:37:46 -07:00
Paul Kulchenko
a5b85c533a Fixed activating files in the project tree on a case insensitive system. 2013-04-08 09:33:16 -07:00
Paul Kulchenko
149340669a Fixed the Stack view being partially hidden when the root item is too wide (ref #110). 2013-04-08 09:16:11 -07:00
Paul Kulchenko
5165bf5b29 Fixed left side of the project panel being hidden when a file is activated (fixes #122). 2013-04-08 09:14:04 -07:00
Paul Kulchenko
fbc04ba199 Updated Linux launch script and MANIFEST. 2013-04-07 23:53:54 -07:00
Paul Kulchenko
e33f2d40dd Removed build files no longer needed. 2013-04-07 23:52:34 -07:00
Paul Kulchenko
bad62f0a16 Updated CHANGELOG with recent changes. 2013-04-06 21:30:20 -07:00
Paul Kulchenko
b393b58cc1 Fixed breakpoint not firing on the first executable line in debugging (helps #121). 2013-04-06 13:57:49 -07:00
Paul Kulchenko
4480825408 Fixed activating of the first line in the script during debugging. 2013-04-06 13:53:24 -07:00
Paul Kulchenko
10fb31f1e5 Disabled showing 'value' in auto-complete after 'a:' (helps #101). 2013-04-06 13:44:14 -07:00
Paul Kulchenko
789a2d8a88 Upgraded Mobdebug (v0.525) for performance improvements (also closes #121).
Other changes in the same version:
  Added handling of case-insensitive filenames on OSX.
  Improved debugging performance.
  Fixed terminating debugging of an empty script.
  Fixed resetting cached source as it may change when basedir changes.
  Replaced socket.select with non-blocking .receive as it is faster.
2013-04-05 08:46:41 -07:00
Paul Kulchenko
b9ebd44c30 Simplified lua interpreter launch/debug command. 2013-04-04 21:48:05 -07:00
Paul Kulchenko
a65edf8fd5 Fixed reporting of initial line during debugging. 2013-04-03 23:23:53 -07:00
crazybutcher
89f33160bc GLSL compilation checker frontend https://github.com/CrazyButcher/glslc 2013-04-03 16:09:20 +02:00
crazybutcher
e96a7657cd disable cpp preprocessor based "greying" out, due to lack of proper styles 2013-04-03 12:02:52 +02:00
Paul Kulchenko
492270a3bf Added universal binaries for luasocket on OSX (closes #120).
This allows debugging of 64bit applications (for example, LuaJIT) on OSX.
2013-04-02 22:29:54 -07:00
Paul Kulchenko
1cd34e3853 Fixed incorrect type guessing from assignments in auto-complete. 2013-04-02 18:31:40 -07:00
Paul Kulchenko
3ad7b389da Updated references to configuration files in documentation. 2013-04-02 10:17:24 -07:00
Leo Bartoloni
bc58913272 Update it.lua
Added new italian translations
2013-04-02 10:03:04 +03:00
Paul Kulchenko
415ba2bd17 Fixed editor tab activation after closing another tab on Linux (ref #89). 2013-04-01 20:15:10 -07:00
Paul Kulchenko
a338f4c436 Fixed 'Show tooltip' shortcut not working on Linux (fixes #118; ref #89). 2013-04-01 20:14:21 -07:00
Paul Kulchenko
24507e22bb Fixed cursor position being incorrectly restored (fixes #116; ref #89). 2013-04-01 16:07:34 -07:00
Paul Kulchenko
8e208b7dd3 Fixed lag on Windows when using brackets and backspace (fixes #117; ref #89). 2013-04-01 09:23:12 -07:00
Paul Kulchenko
d5c585b118 Updated 'method' type in auto-complete to only allow a:b syntax (closes #101). 2013-04-01 09:16:52 -07:00
Paul Kulchenko
56b63b3b4c Merge branch 'master' of git://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor into auto-complete 2013-03-31 19:20:33 -07:00
Paul Kulchenko
8c64d77276 Added update of Stack and Watch windows after 'Debugging suspended' message. 2013-03-31 18:17:40 -07:00
Paul Kulchenko
406056bf52 Updated language files (es, it, ru) with new messages (ref #70). 2013-03-30 20:17:20 -07:00
Fringale
f960d65e08 Updated French translation with latest string changes, fixed a few typos. 2013-03-31 00:01:19 +01:00
Paul Kulchenko
a3fc62a7c0 Added toggling for View menu items. 2013-03-30 13:13:03 -07:00
Paul Kulchenko
5a4e996b37 Updated Stack and Watch window to not refresh when not visible. 2013-03-30 13:12:57 -07:00
Paul Kulchenko
200647f0c5 Fixed a warning about empty project directory in local console. 2013-03-29 16:25:25 -07:00
Paul Kulchenko
99d6395845 Fixed an issue with default layout on the very first start. 2013-03-29 16:18:28 -07:00
Paul Kulchenko
fc0d5083e6 Updated CHANGELOG and README with current features. 2013-03-29 14:44:01 -07:00
Paul Kulchenko
478a87c8d0 Merge branch 'wxwidgets' (closes #89; closes #111).
Conflicts:
	src/editor/filetree.lua
2013-03-29 11:20:27 -07:00
Paul Kulchenko
d3a8b37cf3 Disabled closing Stack and Watch tabs. 2013-03-29 09:09:24 -07:00
Paul Kulchenko
0f99cb20b0 Forced floating of Stack and Watch windows by default (ref #89). 2013-03-28 22:40:41 -07:00
Paul Kulchenko
df54864e43 Made application name an optional parameter; reorganized on-exit workarounds. 2013-03-28 21:37:48 -07:00
Paul Kulchenko
9beae1f9c4 Updated error messages from loading configuration files. 2013-03-28 21:37:48 -07:00
Paul Kulchenko
0761ee2f4a Reduced flicker in the project tree when a file is opened (ref #89). 2013-03-28 21:37:47 -07:00
Paul Kulchenko
314dc5ba9e Added migration of configuration file on Windows (helps #89). 2013-03-28 21:37:46 -07:00
Paul Kulchenko
02a086e083 Revert "Updated editor handlers to improve performance on OSX with wx2.9.5".
The revert is needed as wx2.9.5 doesn't properly refresh status bar with
this change (on OSX, which the original improvement targeted).
2013-03-28 21:37:45 -07:00
Paul Kulchenko
3a616f5e37 Added hiding floating windows and removed excessive manager updates to reduce flicker. 2013-03-28 21:37:44 -07:00
Paul Kulchenko
3f12ce28d8 Optimized project switching and added notebook freezing where possible (ref #89). 2013-03-28 21:37:44 -07:00
Paul Kulchenko
a913c1fa55 Changed auto-recovery mark to be only applied after text changes. 2013-03-28 21:37:43 -07:00
Paul Kulchenko
363803ea9b Fixed an issue with Enter used to select an item in project dropdown (ref #89).
On Windows multiple COMBOBOX_SELECTED events are sent when Enter is used,
which may lead to run-time errors. Disabled processing of multiple copies
of the same event.
2013-03-28 21:37:35 -07:00
Paul Kulchenko
1bbb9f432c Rearranged saving settings to properly save on OSX (helps #89). 2013-03-27 13:02:15 -07:00
Paul Kulchenko
4854afeb32 Fixed default perspective to include Stack and Watch windows (ref #103). 2013-03-27 12:56:45 -07:00
Paul Kulchenko
507832ac2b Updated project tree workaround on OSX as it's not needed with wx 2.9.5+ (ref #89). 2013-03-27 12:54:54 -07:00
Paul Kulchenko
146b36d9ce Fixed an issue with the Project tree when project and app directories are the same. 2013-03-27 12:53:45 -07:00
Paul Kulchenko
77276d48ae Added auto-show/hide Stack and Watch windows during debugging (closes #110). 2013-03-26 15:25:02 -07:00
Paul Kulchenko
c3f253ef64 Added ignoring -psn... parameter on OSX when reading file names from command line. 2013-03-26 09:18:26 -07:00
Paul Kulchenko
93e51a6d43 Made stack and watch windows dockable (closes #103). 2013-03-24 15:04:27 -07:00
Paul Kulchenko
a26d72f99d Added exit call to avoid crash on Linux when closing the IDE.
The crash appears to happen in Unlink when debugging is in progress or
after an external process is executed. In some cases it also happens in
wxluaO_deletegcobject after simply closing the app on 64bit Linux.

1 0x0000... in wxEvtHandler::Unlink()
2 0x0000... in wxEvtHandler::~wxEvtHandler()
3 0x0000... in wxProcess::~wxProcess()
4 0x0000... in wxluaO_deletegcobject(lua_State*, int, int)
5 0x0000... in wxlua_wxLuaBindClass__gc(lua_State*)
2013-03-22 15:08:04 -07:00
Paul Kulchenko
cd8b714ea6 Upgraded Mobdebug (0.5222) to add serialization with metamethods and notification on incomplete output (closes #109). 2013-03-22 15:05:27 -07:00
Paul Kulchenko
909e9b3ee9 Updated Linux binaries to use libpng 1.6 with wxwidgets (helps #89).
The builtin library is now using separate symbols to avoid conflicts with
system libpng.
2013-03-22 14:45:22 -07:00
Paul Kulchenko
d10bcda693 Added scripts to install build prerequisites on Linux (helps #89). 2013-03-21 22:52:19 -07:00
Paul Kulchenko
7ddb673624 Updated Windows/OSX build files to only build components needed (helps #89). 2013-03-21 19:15:07 -07:00
Paul Kulchenko
bbd11b90eb Added check for different spellings of the same folder in the project tree. 2013-03-21 17:51:03 -07:00
Paul Kulchenko
4fee737981 Improved performance of tab switching and project tree population. 2013-03-21 17:49:35 -07:00
Paul Kulchenko
14143bf0ce Fixed function list in toolbar on Linux (helps #89). 2013-03-21 17:46:50 -07:00
Paul Kulchenko
0e8a9b078c Updated linux binaries to fix libpng support (helps #89).
Binaries have been updated to use whatever system libpng library is
available (without being linked against a particular version).

This also includes fix for 64bit systems to allow for these binaries to
work with "older" versions of libpng (for example, v1.2).

The binaries include wxwidgets fix for lsb_release messages, so the
workaround for this issue has been removed.
2013-03-20 12:22:28 -07:00
Paul Kulchenko
c2ca459882 Updated Linux binaries to work with different libpng versions (helps #89).
The compiled binary always has version of libpng as 1.2.0 (even though
wxwidgets may come with a different version) and is compiled with libpng
set to use system library. The warnings from libpng about different
versions are suppressed when bitmaps are loaded. This has been tested to
work with libpng 1.2.x and 1.5.x.

This update also adds a workaround for "lsb_release: command not found"
message reported on some Linux systems.
2013-03-18 12:48:16 -07:00
Paul Kulchenko
f80a11a982 Replaced deprecated arch with uname -m in Linux components (ref #89). 2013-03-14 09:50:11 -07:00
Paul Kulchenko
29650cef8c Updated executable status on linux files (ref #89). 2013-03-13 22:23:33 -07:00
Paul Kulchenko
4cf8017d7b Fixed debugger output not being suppressed on Linux and using wlua. 2013-03-13 17:16:38 -07:00
Paul Kulchenko
f807b1f48c Set 'Courier New' as the default font on Linux (ref #89). 2013-03-13 17:02:32 -07:00
Paul Kulchenko
dc7e040087 Added linux binaries with support for x86 and x64 (helps #89). 2013-03-13 16:59:38 -07:00
Paul Kulchenko
4262716043 Removed unused code. 2013-03-13 16:51:30 -07:00
Paul Kulchenko
5f25238ba6 Updated function list dropdown to fit toolbar on Linux (helps #89). 2013-03-13 16:47:08 -07:00
Paul Kulchenko
cf95129fc6 Fixed About screen to fit on Linux (helps #89). 2013-03-13 16:46:38 -07:00
Paul Kulchenko
f8b6654cd6 Fixed a warning when setting empty working directory. 2013-03-13 16:45:00 -07:00
Paul Kulchenko
cf001082e2 Removed reference to a dll no longer used. 2013-03-13 13:58:31 -07:00
Paul Kulchenko
c8e2890f60 Enabled full debugging for Corona on OSX. 2013-03-12 16:01:13 -07:00
Paul Kulchenko
9075736cf1 Set 'Courier New' as the default font on Windows.
It turned out that some Windows systems (like XP), don't use 'Courier New'
as the default, and rather use some proportional font, even when
wxFONTFAMILY_MODERN is used, which should pick a fixed pitch font.
2013-03-12 12:17:14 -07:00
Paul Kulchenko
e1cba702f7 Updated windows executable to show properly scaled icons in the Explorer. 2013-03-12 12:04:40 -07:00
Paul Kulchenko
9ffc4cf9dd Fixed wxwidgets issue with wrong cursor shape over editor (ref #89). 2013-03-11 10:35:17 -07:00
Paul Kulchenko
94647152fc Fixed a static analyzer issue with anonymous functions defined in expressions (fixes #3). 2013-03-10 15:59:45 -07:00
Paul Kulchenko
e4a69a63c0 Added a workaround for a crash on OSX when the app is closed while
debugging is in progress (ref #89).

The crash appears to be in wxEvtHandler::Unlink, but I couldn't find the
cause for it:
0   libwx.dylib	0x014d2bd9 wxEvtHandler::Unlink() + 51
1   libwx.dylib	0x014d4023 wxEvtHandler::~wxEvtHandler() + 37
2   libwx.dylib	0x0146d7fa wxProcess::~wxProcess() + 84
3   libwx.dylib	0x01074af9 wxLua_wxProcess_delete_function(void**) + 23
4   libwx.dylib	0x0113300d wxluaO_deletegcobject(lua_State*, int, int) + 425
5   libwx.dylib	0x0111f6f2 wxlua_wxLuaBindClass__gc(lua_State*) + 101
2013-03-09 18:49:35 -08:00
Paul Kulchenko
05e2b483a8 Added window list button to the notepad with editor tabs. 2013-03-09 18:48:40 -08:00
Paul Kulchenko
f2e8c0c213 Updated status bar to use no border around fields. 2013-03-09 18:46:44 -08:00
Paul Kulchenko
43c6be0859 Added centering of current line during debugging. 2013-03-07 20:01:37 -08:00
Paul Kulchenko
fb5ef928fd Improved handling of upvalues with __tostring method in the Stack window. 2013-03-07 19:59:18 -08:00
Paul Kulchenko
3f9be575fd Updated check for wxwidgets version on OSX (helps #89). 2013-03-07 17:11:06 -08:00
Paul Kulchenko
9985cfc50a Fixed OSX crash when tooltips/auto-complete is used (helps #89). 2013-03-07 17:10:19 -08:00
Paul Kulchenko
be018b39fc Updated build scripts to include wxlua patch to fix live coding (helps #89). 2013-03-07 17:09:40 -08:00
Paul Kulchenko
da15c46429 Fixed OSX issues with 2.9.5: numpad keys, switching tabs, and cursor shape when using scratchpad (helps #89). 2013-03-06 22:17:26 -08:00
Paul Kulchenko
0eb71f44d4 Updated indicator description for wx2.9.5; removed license that doesn't apply (helps #89). 2013-03-03 20:03:29 -08:00
Paul Kulchenko
aa6618f002 Updated translation script to work with wxwidgets 2.9.5+ (helps #89). 2013-03-03 19:46:12 -08:00
Paul Kulchenko
e55e28e852 Fixed multi-line paste into console with wxwidgets 2.9.5 (helps #89). 2013-03-03 19:01:05 -08:00
Paul Kulchenko
0e1c937892 Increased default font size for OSX; set 'Monaco' as default font (helps #89). 2013-03-01 20:46:34 -08:00
Paul Kulchenko
65a112a4e9 Removed checks for Windows in font setup; now uses default font. 2013-03-01 20:46:33 -08:00
Paul Kulchenko
0448ebb0e0 Updated function call indicator to use round box with wxwidgets upgrade (helps #89). 2013-03-01 20:46:32 -08:00
Paul Kulchenko
fec7d21ca4 Updated binaries with a patched version of wxlua (helps #89).
The patch is needed to fix live coding issue with wxlua applications. Also
uses a more recent version of wxwidgets, that fixes menu hint on OSX.
2013-03-01 20:46:26 -08:00
Paul Kulchenko
2d29aa3666 Updated large icons for "native" toolbar on OSX (helps #89). 2013-03-01 20:46:06 -08:00
Paul Kulchenko
23a4f5fa04 Reorganized code to allow references to wxver from default style generation. 2013-02-28 00:01:13 -08:00
Paul Kulchenko
80bcc21562 Fixed rearranging editor tabs with drag and drop (helps #89). 2013-02-28 00:00:04 -08:00
Paul Kulchenko
5dcf0a6622 Updated keywords to be re-applied after SaveAs only when needed. 2013-02-25 21:51:50 -08:00
Paul Kulchenko
99c1be49a6 Updated handling of markdown styles to make it more robust (fixes #59). 2013-02-25 21:45:33 -08:00
Paul Kulchenko
2a46b4ece7 Updated file loading logic for a small performance improvement. 2013-02-24 22:17:43 -08:00
Paul Kulchenko
1d77bbdf5a Added multiple selection and multi-cursor editing (wx2.9.5+). 2013-02-24 22:16:05 -08:00
Paul Kulchenko
943517f07e Updated editor handlers to improve performance on OSX with wx2.9.5 (helps #89). 2013-02-24 21:43:21 -08:00
Paul Kulchenko
93b664de45 Fixed an issue with full screen mode on OSX with wx 2.9.5 (helps #89). 2013-02-24 21:43:21 -08:00
Paul Kulchenko
695fed709e Switched to 'native' menu on OSX and added 24x24 icons required (helps #89).
Removed Cut/Copy/Paste/Undo/Redo icons from the toolbar as these are
rarely used and were taking too much space.
2013-02-24 21:43:05 -08:00
Paul Kulchenko
51735ac89d Updated MANIFEST for OSX dylib changes (helps #89). 2013-02-24 21:28:53 -08:00
Paul Kulchenko
5a49699098 Added a check to only activate the Output window if it's not activated.
This reduces flicker by redrawing the project tree only when needed.
2013-02-24 17:53:03 -08:00
Paul Kulchenko
b2b6e82735 Added a check for project tree refresh to only execute on OSX. 2013-02-24 17:53:02 -08:00
Paul Kulchenko
fd3ed2b7da Added a property to store wxwidgets version. 2013-02-24 17:46:59 -08:00
Paul Kulchenko
4da018b8ce Removed files for handling preferences that are no longer used. 2013-02-24 17:46:31 -08:00
Paul Kulchenko
99ad315832 Added dll proxy to make LfW libraries to work with the IDE. 2013-02-23 14:49:40 -08:00
Paul Kulchenko
4bd20406a2 Removed binary libraries not currently used. 2013-02-23 14:33:28 -08:00
Paul Kulchenko
48b51c549a Updated launcher manifest and resource file; resigned windows executable (helps #89). 2013-02-23 14:31:24 -08:00
toiffel
af0a95ddb8 Added wxWidgets 2.9.5 binaries and build scripts 2013-02-22 14:10:02 +07:00
Paul Kulchenko
5db9b6b9b5 Updated applying fold properties to get folds working with wxwidgets 2.9.5+ (helps #89). 2013-02-18 14:08:37 -08:00
toiffel
e1bee48834 Fixed a segfault when closing the application on OS X and Linux 2013-02-18 14:02:02 -08:00
Paul Kulchenko
704f6fed89 Fixed formatting in the About screen for wxwidgets 2.9.x (helps #89). 2013-02-13 13:53:58 -08:00
Paul Kulchenko
c05962c6a6 Updated README with Marmalade Quick support and Corona tutorial. 2013-02-13 13:50:41 -08:00
Paul Kulchenko
7111494545 Updated logic to request user attention for robustness and consistency between platforms. 2013-02-11 11:12:00 -08:00
Paul Kulchenko
2833a6cfb1 Disabled not implemented options for Marmalade. 2013-02-10 20:58:57 -08:00
Paul Kulchenko
e9dc3ff867 Updated CHANGELOG and configuration documentation for 0.35. 2013-02-10 20:10:35 -08:00
Paul Kulchenko
ca8856d77c Updated Marmalade interpreter to run debugging immediately after start. 2013-02-10 20:05:13 -08:00
crazybutcher
17948e06d8 introduce method handling for autocomplete and api resolving 2013-02-10 20:45:38 +01:00
crazybutcher
51777d47c9 Merge remote-tracking branch 'zbstudio/master' 2013-02-10 12:48:25 +01:00
crazybutcher
1714cf6109 improved type guessing: always keep full assignment string, do multiple runs on resolve, strip closed scopes 2013-02-10 12:48:05 +01:00
Paul Kulchenko
2a4cc75f0a Updated Gideros interpreter to run debugging immediately after starting.
Use `debugger.runonstart = false` to disable.
2013-02-09 20:22:16 -08:00
Paul Kulchenko
486cccd1da Added debugger.runonstart option to configure if debugging should run immediately after starting. 2013-02-09 20:21:58 -08:00
Paul Kulchenko
4a93f3e147 Added editor.checkeol option to configure checking for eol encoding in loaded files. 2013-02-09 16:10:14 -08:00
Paul Kulchenko
64871efe6d Added Marmalade Quick support. 2013-02-09 14:38:30 -08:00
Paul Kulchenko
3e382a42e1 Added support for starting Gideros on-device debugging. 2013-02-09 14:34:16 -08:00
Paul Kulchenko
ff973beb32 Added requesting user attention when stopped during debugging. 2013-02-08 23:19:52 -08:00
Paul Kulchenko
ced9908da5 Fixed a rare crash on OSX when closing IDE with an application running under debugger. 2013-02-05 23:54:08 -08:00
Paul Kulchenko
ea52f821c5 Updated Linux startup script to use online versions of wxlua packages (deb files). 2013-02-04 18:03:15 -08:00
Paul Kulchenko
cf2b32c66d Fixed path handling for metalua to avoid conflicts with other modules that may include lexer.lua file. 2013-02-03 23:03:29 -08:00
Paul Kulchenko
462da5b99b Fixed executing commands in the Remote console immediately after
`mobdebug.start()` (closes #100).
2013-02-02 22:14:03 -08:00
Paul Kulchenko
9b481ba8ef Added example for defaulteol configuration option. 2013-01-27 10:12:28 -08:00
Fringale
557bb9cc6a Enhance line-endings handling (CRLF / LF).
Fix auto-indent not working in Linux (and presumably Mac OS X).
Add config option to choose default EOL for new files.
Add EOL auto-detection for existing files.
2013-01-27 17:58:05 +01:00
Paul Kulchenko
2cc06be317 Added skipping binary files when checking for malformed UTF8. 2013-01-25 14:48:07 -08:00
Paul Kulchenko
0afd2b4b8c Updated handling of file: prefix as it's different on Windows and OSX (helps #89). 2013-01-25 14:47:54 -08:00
Paul Kulchenko
818e5cf255 Added configuration option for compact folding. 2013-01-21 11:32:33 -08:00
Paul Kulchenko
1978274686 Updated messages in the starter script. 2013-01-20 18:04:08 -08:00
Paul Kulchenko
9c95e154c1 Fixed case-sensitivity on Windows caused by cross-platform debugging changes. 2013-01-20 17:57:53 -08:00
Paul Kulchenko
4f912a7063 Updated function call parsing to recognize "func{}" and "func''" syntax. 2013-01-19 18:20:09 -08:00
Paul Kulchenko
45cc57058c Fixed invalid escape sequence that fails under LuaJIT. 2013-01-19 18:18:45 -08:00
Paul Kulchenko
d222ed2dd1 Added support for cross-platform remote debugging. 2013-01-18 14:43:01 -08:00
Paul Kulchenko
fba53984eb Added support for script reloading and coroutine debugging under LuaJIT (MobDebug 0.514). 2013-01-18 12:41:50 -08:00
Paul Kulchenko
b810c4b0bf Merge branch 'i18n-fr-updates' of https://github.com/Fringale/ZeroBraneStudio into Fringale-i18n-fr-updates 2013-01-15 21:34:03 -08:00
Paul Kulchenko
6d5a4ad759 Updated os.exit() call in local console to exit gracefully. 2013-01-15 21:31:48 -08:00
Paul Kulchenko
802521b364 Improved reporting of stack and serialization run-time errors.
These errors can be triggered by __tostring methods that may be failing at
run-time. As those are called from the serializer used in the debugger,
any errors from these calls need to be reported back to the application.
2013-01-15 12:21:30 -08:00
Paul Kulchenko
466aecb4b8 Fixed an issue with spec files when a separator (sep) is not specified. 2013-01-15 10:58:01 -08:00
Fringale
c34f31c869 Update French translation with various fixes and tweaks. 2013-01-15 10:38:36 +01:00
Paul Kulchenko
5a1348868e Added Russian translation for new messages. 2013-01-11 22:42:09 -08:00
Paul Kulchenko
45e244f10c Added handling of malformed UTF8 characters in files (fixes #97). 2013-01-11 14:56:36 -08:00
Paul Kulchenko
9b38dd7d74 Enabled live-coding for Corona interpreter. 2013-01-07 09:56:40 -08:00
Paul Kulchenko
7d1098740b Updated MANIFEST to include all configuration files. 2013-01-07 09:37:16 -08:00
Paul Kulchenko
b3ff824806 Added support for debugging Lua 5.2 scripts. 2013-01-07 09:36:40 -08:00
Fringale
db889f217d Update French translation with newly added strings 2013-01-06 12:45:20 +01:00
crazybutcher
e60ca05e64 bugfix in glsl style spec 2013-01-05 18:40:05 +01:00
Paul Kulchenko
1831a9b286 Added workaround for Moai require path issue (fixes #96; fixes #87). 2013-01-04 11:48:06 -08:00
Paul Kulchenko
f3939938b4 Added editor tab popup menu with 'Close All', 'Close Other', and other items. 2013-01-02 22:47:48 -08:00
Paul Kulchenko
2c8b07b1cb Added C/CPP specification file and a configuration example. 2013-01-02 22:39:33 -08:00
Paul Kulchenko
2ef11d5eea Added XCode-like key mapping. 2013-01-02 22:38:13 -08:00
Paul Kulchenko
5d2c618553 Updated 'Close page' and its translations. 2012-12-27 17:32:35 -08:00
Paul Kulchenko
917c2d82c7 Updated configuration examples and documentation (helps #55). 2012-12-20 22:22:07 -08:00
Roland Yonaba
8590d8243c Typos fixes, small changes in French translation 2012-12-14 12:09:30 +00:00
Paul Kulchenko
bc1ddca4f0 Updated the size of the function list dropdown on Windows (helps #89). 2012-12-13 21:16:23 -08:00
Paul Kulchenko
d4bda0a45d Added removing of file: prefix and url decoding of filepaths (helps #89). 2012-12-13 21:09:16 -08:00
Paul Kulchenko
6a49176c0e Added a workaround for returning incorrect project folder (helps #89).
wxwidgets 2.9.x in some cases returns the last segment of the path twice
(at least on Windows), which makes the entire path invalid.
2012-12-13 21:06:59 -08:00
Paul Kulchenko
bfd44ada12 Adjusted handling of filepath to work with relative and absolute paths (helps #89). 2012-12-13 21:04:30 -08:00
Paul Kulchenko
5172135014 Updated MANIFEST to remove unused files. 2012-12-13 14:27:29 -08:00
Paul Kulchenko
1881493b56 Updated README and CHANGELOG for 0.34. 2012-12-12 20:52:56 -08:00
Paul Kulchenko
04599ea184 Removed love2d API calls with spaces in names. 2012-12-12 17:47:18 -08:00
Paul Kulchenko
067ae87dc6 Fixed an issue with overlapping auto-complete suggestions. 2012-12-12 16:24:39 -08:00
Paul Kulchenko
622db1313b Disabled showing auto-complete when the only option is already typed. 2012-12-12 16:21:18 -08:00
Paul Kulchenko
89bb289c6a Fixed auto-complete not working after closed brackets. 2012-12-12 16:18:29 -08:00
Paul Kulchenko
465ed72d51 Added an option to specify the width of the calltip. 2012-12-11 23:47:15 -08:00
Paul Kulchenko
62530ba937 Disabled showing a calltip on mouse over when it's already active. 2012-12-11 23:41:27 -08:00
Paul Kulchenko
1e4be39c29 Updated descriptions for io.* functions; moved file:* functions to a pseudo library (f); helps #84. 2012-12-11 23:35:22 -08:00
Paul Kulchenko
bc69e56e07 Updated LICENSE to add remdebug license information. 2012-12-10 22:53:12 -08:00
Paul Kulchenko
8f7aa92de6 Added showing short descriptions in tooltip for functions without lib/package. 2012-12-09 22:36:45 -08:00
Paul Kulchenko
6b1407f8b3 Switched to showing short tooltips by default as some of the updated Lua API descriptions are very long. 2012-12-09 22:35:00 -08:00
Paul Kulchenko
78bd7c6b79 Fixed tooltip being shown when mouse moving outside of the editor area. 2012-12-09 22:33:59 -08:00
Paul Kulchenko
0890179044 Updated tooltip to show shortened descriptions on mouse-over. 2012-12-09 22:32:20 -08:00
Paul Kulchenko
57af369b66 Added 'Project Directory' menu. 2012-12-09 21:38:15 -08:00
Paul Kulchenko
ca758c03d1 Removed window types from config as they are no longer needed to be listed. 2012-12-07 15:24:03 -08:00
Paul Kulchenko
77602703be Updated CHANGELOG in preparation for v0.34. 2012-12-06 13:42:40 -08:00
Paul Kulchenko
097740d0ef Updated Lua api descriptions (closes #84). 2012-12-06 13:29:38 -08:00
Fringale
585177f79f Lua API: refactor code, add Lua 5.2 functions/values, add or complete desc/args/returns, add debug library. 2012-12-06 12:39:59 -08:00
Fringale
6aa3683823 Add missing Lua 5.2 keywords to Lua spec 2012-12-06 12:39:36 -08:00
Paul Kulchenko
cf272ca733 Added ability to pause scratchpad when the script is completed (closes #83). 2012-12-06 12:06:32 -08:00
Paul Kulchenko
35199d5d98 Added ability to pause and resume scratchpad. 2012-12-06 11:44:34 -08:00
Paul Kulchenko
c394cb7dec Fixed a font zooming bug with Ctrl+MouseWheel.
Backported fix from wxwidgets 2.9.x (http://trac.wxwidgets.org/ticket/14031).
2012-12-06 11:15:56 -08:00
Paul Kulchenko
28490b1c78 Fixed file marking in the project tree after opening a new file. 2012-12-06 11:11:55 -08:00
Paul Kulchenko
4f30271665 Fixed GSL-shell interpreter to use correct folder structure (helps #72). 2012-12-02 09:35:38 -08:00
Paul Kulchenko
3abddc50a1 Fixed using project folders with GSL-shell (helps #72). 2012-12-01 14:01:02 -08:00
Paul Kulchenko
614c43795a Added GSL-shell support (closes #72). 2012-11-29 20:45:39 -08:00
Paul Kulchenko
b734e8d34e Updated CHANGELOG, MANIFEST, and README. 2012-11-29 16:24:23 -08:00
Paul Kulchenko
01aa5d39b7 Added more color schemes (Solarized and Monokai). 2012-11-28 21:12:59 -08:00
Paul Kulchenko
ed30948f7f Added customized yield function for debugging (MobDebug v0.508; closes #81). 2012-11-28 21:06:34 -08:00
Paul Kulchenko
ac8c5bbe53 Fixed an issue with breakpoints not available after aborting tracing on Linux/OSX. 2012-11-27 11:24:23 -08:00
Paul Kulchenko
67ac18af04 Disabled editor autoactivation during debugging when tracing is on. 2012-11-27 11:15:45 -08:00
Paul Kulchenko
6dbf56f984 Added proper hiding of current line marker during debugging (except when tracing). 2012-11-27 10:41:51 -08:00
Paul Kulchenko
c7a66bb68b Fixed an issue with running scratchpad when entry points are configured. 2012-11-27 10:38:45 -08:00
Paul Kulchenko
08d8630147 Extended list of default folders for interpreters where executables are searched for. 2012-11-25 17:05:59 -08:00
Paul Kulchenko
93abd740d8 Added Corona auto-complete support (thanks to Srdjan Markovic). 2012-11-25 16:56:53 -08:00
Paul Kulchenko
8780a3b656 Limited auto-showing windows to Lua interpreter only (related to #80). 2012-11-25 16:54:36 -08:00
Paul Kulchenko
780d23f111 Added logic to show application windows without explicitly listing their class (closes #80); Windows only. 2012-11-24 23:15:54 -08:00
Paul Kulchenko
78736a94e5 Added Moai scratchpad support. 2012-11-20 22:21:20 -08:00
Paul Kulchenko
249554a77c Added missing constants to Moai API. 2012-11-20 14:11:23 -08:00
Paul Kulchenko
bc55f6a72d Added setting focus on the window when a file is loaded in the existing
instance.

Unfortunately doesn't work consistenly across platforms: (1) Linux works
best activating and raising the application window. (2) OSX checks for the
application running and doesn't even get to the "single instance" check;
when started with "bin/lua src/main.lua zbstudio <file>" it correctly
loads the file, but doesn't switch to the app. (3) Windows doesn't
activate the app window all the time (it activates it the first time, but
not subsequent times).
2012-11-18 20:24:19 -08:00
Paul Kulchenko
5af9d4d487 Added two more wxwindow window classes to the list of windows to show (Windows). 2012-11-18 20:16:07 -08:00
Paul Kulchenko
31e21d2e6a Fixed Linux launcher to pass filename parameter to the IDE. 2012-11-18 20:14:46 -08:00
Paul Kulchenko
74e8021306 Fixed 'messages' script to make it run on OSX (helps #70). 2012-11-17 16:57:26 -08:00
Paul Kulchenko
01a48dcfcc Updated MobDebug to v0.507 to fix serialization issues (closes #77).
Added handling of metatables with __tostring method.
Fixed an issue with serializing shared functions also used as keys in
tables.
2012-11-16 21:33:14 -08:00
Paul Kulchenko
18005ea0c2 Added scheme picker script to test color schemes from the IDE. 2012-11-16 14:54:04 -08:00
Paul Kulchenko
dce5f99130 Added Zenburn as a color scheme. 2012-11-16 14:49:53 -08:00
Paul Kulchenko
af9d01727f Updated style processing to support styling of markup and allow dynamic switching of color schemes. 2012-11-16 14:44:32 -08:00
Paul Kulchenko
8d09cc9c09 Added styling for markers and Output/Console windows. 2012-11-14 23:33:20 -08:00
Paul Kulchenko
1bc9b287df Updated Lua keyword definitions to improve grouping for styling (closes #79). 2012-11-14 11:50:52 -08:00
Paul Kulchenko
1cc2fc1bf2 Updated love2d api to an updated version as of 11/1/2012 (fixes #78). 2012-11-13 16:52:48 -08:00
Paul Kulchenko
5c7beb0079 Added Italian translation (thanks to Leo Bartoloni). 2012-11-13 16:11:35 -08:00
Paul Kulchenko
71d1ea13a8 Disabled functions that are not available under Corona on OSX (helps #73). 2012-11-13 15:59:55 -08:00
Paul Kulchenko
9879660522 Fixed support for Corona SDK on OSX (helps #73).
The debugging is limited on OSX comparing to the Windows version (appears
to be a limitation of Corona SDK with no known workaround): remote console
and watches are not working.
2012-11-12 15:15:45 -08:00
Paul Kulchenko
ae75c9823f Fixed 'Edit | Paste' shortcut. 2012-11-12 10:31:39 -08:00
Paul Kulchenko
bfbc5d2000 Fixed typos in French translation. 2012-11-11 22:39:52 -08:00
Paul Kulchenko
841beb31ce Added Spanish translation (thanks to Inigo Sola). 2012-11-11 22:38:52 -08:00
Paul Kulchenko
119a5eb2ae Added reporting of run-time errors from remote processes (helps #73). 2012-11-10 21:06:26 -08:00
Paul Kulchenko
0729da3403 Added 'tomorrow' color theme. 2012-11-10 19:54:49 -08:00
Paul Kulchenko
29e56be459 Fixed fold style to properly set background color. 2012-11-10 18:14:20 -08:00
Paul Kulchenko
17bdb480c9 Added redirect of remote 'print' commands for Gideros applications. 2012-11-08 16:57:08 -08:00
Paul Kulchenko
4da3dde68d Added check for 'main.lua' in Corona projects. 2012-11-08 16:56:19 -08:00
Paul Kulchenko
9b330c26ca Added ability to suspend a running application even when there is no editor tab or file to activate. 2012-11-08 16:24:52 -08:00
Paul Kulchenko
9bdb1d016b Added serialization of remote 'print' results and an output filter for debugging (helps #73). 2012-11-08 13:42:21 -08:00
Paul Kulchenko
4a881cf855 Added redirect of remote 'print' commands to the Output window in the IDE (helps #73). 2012-11-07 19:05:54 -08:00
toiffel
411eb2d338 Finished Russian translation 2012-11-07 09:06:30 -08:00
Paul Kulchenko
7fea9b4ec7 Added Corona SDK support (closes #73). 2012-11-06 22:35:14 -08:00
Paul Kulchenko
f0f9a37c7d Fixed an issue with a config file being loaded into the editor when specified in the command line. 2012-11-04 16:37:51 -08:00
Paul Kulchenko
e7c374c39f Fixed an issue with markdown formatting not working after setting styles from a config file (fixes #74). 2012-11-04 16:26:58 -08:00
crazybutcher
ba7a7c470d fixup luxinia interpreters for new load order of config 2012-11-04 18:39:34 +01:00
Paul Kulchenko
67b3e3fe5b Added French translation (thanks to Roland Yonaba). 2012-11-04 08:48:20 -08:00
Paul Kulchenko
32299a29b2 Fixed capitalization in Russian translation. 2012-11-04 00:01:03 -07:00
Paul Kulchenko
896e9f7c75 Fixed spacing in console messages. 2012-11-04 00:00:23 -07:00
Paul Kulchenko
ab3caee258 Added (more) verbose output to debugger to assist in troubleshooting. 2012-11-03 23:59:53 -07:00
crazybutcher
3f1d617c8f Merge remote-tracking branch 'zbstudio/master'
Conflicts:
	cfg/estrela.lua
2012-11-03 16:07:41 +01:00
crazybutcher
b549f807bb support for luxinia1debug variant 2012-11-03 16:04:21 +01:00
crazybutcher
d36dbc005c old estrela behavior for openend files 2012-11-03 16:00:57 +01:00
crazybutcher
95fce2cdc8 removed luaapi wrappers for cg/cuda (outdated) 2012-11-03 15:59:12 +01:00
Paul Kulchenko
a897472f05 Completed reorganization of front-end processing (closes #67 and #5).
Moved specs/interpreters/tools to be loaded before configuration files are processed.
2012-10-29 22:48:02 -07:00
Paul Kulchenko
23decac1de Merge branch 'master' of git://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor 2012-10-29 17:47:58 -07:00
Paul Kulchenko
60994d0da8 Added handling of LUA_DEV to make loading Lua for Windows libraries working out of the box (fixes #71). 2012-10-29 17:42:35 -07:00
Paul Kulchenko
af02cb2c24 Added internationalization support (closes #70). 2012-10-29 11:59:54 -07:00
crazybutcher
c7d6f9726a minor changes to tools' settings and clcc requring an environment variable 2012-10-27 17:43:02 +02:00
crazybutcher
655f3811de notes about estrela being gone and compatibility 2012-10-27 17:42:15 +02:00
crazybutcher
22f1540a5c Merge remote-tracking branch 'zbstudio/master' 2012-10-27 17:06:00 +02:00
Paul Kulchenko
f576e9000d Added multi-tab support for scratchpad. 2012-10-26 22:22:39 -07:00
Paul Kulchenko
589f7d94d2 Added documentation on accelerator/shortcut syntax. 2012-10-26 22:04:00 -07:00
Paul Kulchenko
16bb3cb6cb Added key map to change key binding for menu and toolbar items from a config file (closes #64). 2012-10-25 13:30:12 -07:00
Paul Kulchenko
6da6153053 Added hiding IDE while closing and saving configuration. 2012-10-24 22:06:41 -07:00
Paul Kulchenko
a7797f9d9a Updated CHANGELOG and MANIFEST for v0.33. 2012-10-22 17:52:36 -07:00
Paul Kulchenko
78e1f176a5 Updated OSX build script to include 'myprograms' folder if exists. 2012-10-22 17:44:36 -07:00
Paul Kulchenko
a592893b4d Updated Gideros interpreter to extend wait time for Gideros player to start. 2012-10-22 15:59:01 -07:00
Paul Kulchenko
1a1f25c135 Added configuration option to specify hostname when the default one is not reachable (fixes #68). 2012-10-21 13:53:42 -07:00
Paul Kulchenko
00692634a8 Updated text and added timestamp to auto-recover message. 2012-10-20 21:24:13 -07:00
Paul Kulchenko
1037389ce0 Added search for Moai and Love2d executables in default locations on OSX and Windows. 2012-10-20 21:17:34 -07:00
Paul Kulchenko
cc645ebb69 Added values from package.path to LUA_PATH that is used for processes started from the IDE. 2012-10-20 20:29:34 -07:00
Paul Kulchenko
544ada09e2 Restored animation of closing tabs when switching projects.
Using Freeze/Thaw to disable animation didn't work well as it was
interfering with popup messages (for example, when a file is modified) and
was not consistent with the behavior of opening files.
2012-10-20 20:18:36 -07:00
Paul Kulchenko
85d14ca6fd Added conversion of relative filenames to absolute when used in command line. 2012-10-20 11:37:15 -07:00
Paul Kulchenko
1d33dd6482 Added handling of command line parameters on OSX and Linux; updated documentation. 2012-10-20 10:42:04 -07:00
Paul Kulchenko
faa0e0e16d Added auto-recovery to save/restore editor content (fixes #23). 2012-10-19 13:59:55 -07:00
Paul Kulchenko
bb60b9421c Updated configuration example to avoid using ide.spec that is not available (fixes #67). 2012-10-19 12:43:11 -07:00
Paul Kulchenko
ab44438859 Updated CMake build script to handle wildcards in the MANIFEST. 2012-10-17 12:37:54 -07:00
Paul Kulchenko
a463b5fd28 Moved all Estrela features into a separate bundle that can be loaded using cfg/estrela.lua config. 2012-10-17 12:37:26 -07:00
Paul Kulchenko
d021bfa986 Fixed an issue with the current file name not showing in the title bar after startup. 2012-10-17 11:43:49 -07:00
Paul Kulchenko
beeee9e32f Removed multiple file types offered in Save As dialog.
All known types have been listed previously, which created problems
with different extensions assigned by default on different platforms.
Only the current extension is now being offered.
If the current file has no extension, then "*.*" is used as a mask.
2012-10-17 11:39:15 -07:00
Paul Kulchenko
dd682791e1 Updated changelog and documentation on configuration options. 2012-10-17 11:07:50 -07:00
Paul Kulchenko
dddcd96755 Fixed opening a non-existing file from the Recent Files list. 2012-10-16 15:09:57 -07:00
Paul Kulchenko
cb56311090 Fixed Find/Replace checkboxes on OSX (closes #63).
Fixed formatting/alignment of fields in Find/Replace dialog on OSX.
2012-10-16 15:08:14 -07:00
Paul Kulchenko
952f8325c0 Fixed Find/Replace dialog checkboxes that didn't react to clicks on OSX
(fixes #63).

It turned out that StaticBox(Sizer) needs to be created before checkboxes,
otherwise checkboxes don't get any clicks on OSX as the z-order for event
traversal appears to be incorrect.
2012-10-16 12:58:10 -07:00
crazybutcher
238a407a2c compute support for cgc, removed automatic keybindings for tools 2012-10-16 14:09:04 +02:00
Paul Kulchenko
0526fd4069 Improved reporting of compilation and run-time errors when running as scratchpad. 2012-10-14 13:54:09 -07:00
Paul Kulchenko
c0e369b175 Fixed an issue with restoring sessions with more than 9 files.
The indexes were sorted alphabetically, instead of numerically, which
caused files with indexes 1x to appear after index 1, instead of 9.
2012-10-14 09:59:01 -07:00
Paul Kulchenko
8e1d823eea Fixed an error when switching to a new project folder. 2012-10-12 17:34:24 -07:00
Paul Kulchenko
b73ef167bc Disabled closing files when switching projects if they are present in both projects. 2012-10-11 15:15:41 -07:00
Paul Kulchenko
7c889880d8 Updated autoindent rules to minimize de-indenting on already indented lines. 2012-10-11 15:13:32 -07:00
Paul Kulchenko
0387e32072 Made debugger strict.lua and LuaJIT friendly (upgraded to MobDebug v0.502). 2012-10-11 11:38:16 -07:00
Paul Kulchenko
e0c18c189a Disabled auto-complete in comments and strings. 2012-10-09 13:13:08 -07:00
Paul Kulchenko
489aaa3e8e Fixed transparency on toolbar search buttons. 2012-10-09 13:10:18 -07:00
Paul Kulchenko
fd92861998 Updated configuration examples to add editor settings and fix user.lua path. 2012-10-09 12:57:36 -07:00
Paul Kulchenko
bba9790a2a Added syntax aware indentation. 2012-10-09 12:04:44 -07:00
Paul Kulchenko
d68985c4a9 Added re/storing open files and interpreter when switching project folders. 2012-10-09 11:02:56 -07:00
Paul Kulchenko
4463cbd327 Updated changelog. 2012-10-07 21:24:46 -07:00
Paul Kulchenko
0d619b1326 Enable scratchpad support in the debugger when interpreter is capable of providing it. 2012-10-03 14:33:12 -07:00
Paul Kulchenko
8c2a4792f6 Added Gideros auto-complete and live coding support (closes #62). 2012-10-03 13:29:50 -07:00
Paul Kulchenko
0f71d4b9a0 Updated MANIFEST to add new debugger buttons. 2012-10-03 12:44:22 -07:00
Paul Kulchenko
30863a3dcc Added stopping gideros player when no connection can be made. 2012-10-02 23:32:17 -07:00
Paul Kulchenko
f74f56b917 Fixed an auto-complete issue with mixed case dynamic words (fixes #60). 2012-10-02 14:22:38 -07:00
Paul Kulchenko
a236d299de Added debugging-related buttons to the toolbar. 2012-10-02 11:57:11 -07:00
Paul Kulchenko
be54763f7e Disabled toggling breakpoints while debugger is running (as they wouldn't be changed anyway). 2012-10-02 11:52:57 -07:00
Paul Kulchenko
663b7cab8b Fixed 'Trying to solve a NULL hostname' warning message. 2012-10-02 11:51:41 -07:00
Paul Kulchenko
c68d45d697 Changed path for user.lua from .ZeroBraneStudio to .zbstudio to avoid name conflict on Linux (helps #44). 2012-10-02 11:49:37 -07:00
Paul Kulchenko
8b7407c3f2 Updated gideros integration to avoid blocking the IDE when the bridge does not respond; enabled debug output on OSX. 2012-10-02 11:46:13 -07:00
Paul Kulchenko
1b29f2e05f Added Gideros integration on OSX; added search for gideros in default locations on Windows and OSX. 2012-10-01 10:40:52 -07:00
Paul Kulchenko
8d4ce56619 Added Gideros integration and debugging support. 2012-09-30 21:49:52 -07:00
Paul Kulchenko
67da97f32f Disabled 'Run as Scratchpad' in the menu for those intepreters that don't support scratchpad. 2012-09-30 21:47:39 -07:00
Paul Kulchenko
46aa3575cf Merge branch 'linux' of https://github.com/toiffel/ZeroBraneStudio 2012-09-29 17:20:43 -07:00
Paul Kulchenko
acc635b9b5 Updated readme with screenshot and changelog with recent changes. 2012-09-29 16:47:02 -07:00
toiffel
99e64f51cd Sort files by name in project filetree only on Linux 2012-09-29 11:39:03 +07:00
toiffel
9002286bcf Fixed mouse cursor behavior in scratchpad mode on Linux (for real this time) 2012-09-29 11:39:03 +07:00
Paul Kulchenko
72b5690689 Added zbstudio.sh script to run on OSX/Linux; updated permissions (closes #15). 2012-09-28 15:13:41 -07:00
Paul Kulchenko
e488ed095c Disabled 'not activated file for debugging' message when auto-activation is disabled. 2012-09-28 14:32:07 -07:00
Paul Kulchenko
9c54fb6507 Fixed a typo that prevented a corner case in autocomplete from working. 2012-09-28 14:16:25 -07:00
Paul Kulchenko
065422fa2d Fixed inconsistent error messages about various config files. Changed searching for user config in '$HOME/.ZeroBraneStudio' from '$HOME/.zbs'. 2012-09-28 10:32:20 -07:00
Paul Kulchenko
0c2d6b6d48 Added variable ratio for sliders in scratchpad.
The ratio depends on the number being adjusted. 1 will change to 2, but
1.1 will change to 1.2 and 1.01 will change to 1.02. 0.99 will change to
1.00 to preserve the ratio.
2012-09-27 10:59:19 -07:00
Paul Kulchenko
89cc631a58 Added editor.autoactivate parameter (false by default) to specify if files should be opened by the debugger. 2012-09-27 09:18:01 -07:00
Paul Kulchenko
83e725ef97 Fixed an issue with auto-complete when dot or colon is used (fixes #56). 2012-09-27 09:15:16 -07:00
Paul Kulchenko
76ec0de7ab Reorganized files and removed those that are no longer needed. 2012-09-26 20:00:58 -07:00
Paul Kulchenko
38a176d84f Updated a warning message about single instance communication. 2012-09-25 22:15:49 -07:00
Paul Kulchenko
3bb22f4c48 Added auto-activation of files requested during debugging. 2012-09-25 22:15:07 -07:00
Paul Kulchenko
7b60461787 Fixed an issue with debugging scripts started using absolute file path. 2012-09-25 22:02:28 -07:00
Paul Kulchenko
843024ec1d Fixed setting working directory for interpreters to the file path when the project directory is not set. 2012-09-25 10:22:24 -07:00
Paul Kulchenko
b4e1dda0d9 Fixed an issue with Backspace not closing auto-complete suggestions. 2012-09-25 10:20:29 -07:00
Paul Kulchenko
394c93e9e6 Merge branch 'linux' of https://github.com/toiffel/ZeroBraneStudio 2012-09-24 22:43:25 -07:00
toiffel
ded66391ac CMakeLists.txt moved to build folder 2012-09-25 11:22:35 +07:00
Paul Kulchenko
d81de133a9 Updated MobDebug to v0.497 to fix issues and improve performance.
Performance improvements.
Added conversion of file names on windows to lower case to make
breakpoints work.
Added reporting errors in deserializing stack data.
Fixed an issue with returning stack values with circular references.
Fixed an issue with wx IDLE event on Linux.
2012-09-24 17:03:56 -07:00
Paul Kulchenko
0f6316619f Added configuration parameter for the number of characters typed before displaying auto-complete suggestions for dynamic words. 2012-09-24 17:01:23 -07:00
Paul Kulchenko
ab8a38fd79 Added proper closing of the application after Shutdown/Logoff events (fixes #57). 2012-09-23 21:37:29 -07:00
Paul Kulchenko
c91d287025 Fixed enabling items in the Edit menu (fixes #56). 2012-09-23 20:30:18 -07:00
toiffel
9fa8c7a972 Small regex fixes 2012-09-24 07:53:18 +07:00
toiffel
ce90e7898f Support for MANIFEST files 2012-09-24 07:10:53 +07:00
toiffel
4cafb3c201 Removed estrela frontend, disabled system mobdebug 2012-09-24 01:29:54 +07:00
toiffel
60bc64283d OS X port of CMakeLists.txt 2012-09-22 22:42:37 +07:00
toiffel
83dc1c5065 unix_starter.cpp replaced with shell script 2012-09-22 01:24:16 +07:00
toiffel
124f70d342 Windows port of CMakeLists.txt 2012-09-22 01:24:16 +07:00
toiffel
1400bf6b3d Added icons of different sizes for Linux hicolor theme 2012-09-22 01:24:16 +07:00
toiffel
8f26e2df17 Added Linux .desktop file 2012-09-22 01:24:16 +07:00
toiffel
49b9b66394 Support for install in CMakeLists.txt 2012-09-22 01:24:16 +07:00
toiffel
ee9fe71657 Added system introspection to CMakeLists.txt 2012-09-22 01:24:16 +07:00
toiffel
ba0efe224a Implemented unix_starter.cpp 2012-09-22 01:24:16 +07:00
toiffel
96516c9454 Added initial CMakeLists.txt and unix_starter.cpp stub 2012-09-22 01:24:16 +07:00
toiffel
e6b8533cf9 - Fixed small UI issues with toolbar buttons
- Sort items by name in file tree
2012-09-22 01:24:15 +07:00
Paul Kulchenko
185ebb5bbf Added Moai auto-complete (closes #52). 2012-09-20 17:26:19 -07:00
Paul Kulchenko
f8b447425e Fixed function list in the toolbar on Mac (helps #14). 2012-09-20 11:12:57 -07:00
Paul Kulchenko
7330ac21ad Disabled tooltip when scratchpad is on (fixes #51). 2012-09-19 15:56:43 -07:00
Paul Kulchenko
e6bd7af1d7 Fixed deleting of comment blocks with hidden markup (fixes #40). 2012-09-19 15:54:28 -07:00
Paul Kulchenko
979b318647 Added hiding auto-complete suggestions on losing focus in the editor. 2012-09-18 17:57:29 -07:00
Paul Kulchenko
16a5934c52 Fixed an issue with function list when all editor tabs are closed. 2012-09-18 17:52:05 -07:00
Paul Kulchenko
2d22060e2c Disabled showing calltip when the editor is not in focus. 2012-09-14 21:59:41 -07:00
Paul Kulchenko
82071e6ce1 Added proper reporting of errors in the stack window. 2012-09-13 16:34:55 -07:00
Paul Kulchenko
6a23d09821 Fixed multiple calltips shown on Linux (helps #15).
On Linux DWELLSTART event seems to be generated even for those editor
windows that are not active. What's worse, when generated the event
seems to report "old" position when retrieved using event:GetX and
event:GetY, so instead we use wxGetMousePosition.
2012-09-12 18:04:48 -07:00
Paul Kulchenko
c4b9d3e31c Disabled showing calltip over markup in comments. 2012-09-12 17:45:13 -07:00
Paul Kulchenko
9b50cb3525 Fixed an issue with mouse cursor in scratchpad not properly updated on Linux (fixes #49; helps #15). 2012-09-11 20:06:15 -07:00
Paul Kulchenko
49e56f8f3c Fixed an issue with static analyzer that failes on function names like a.b.c (fixes #50). 2012-09-11 20:03:29 -07:00
Paul Kulchenko
a84f362c1f Fixed disabling Paste menu on Linux when needed (fixes #46; helps #15). 2012-09-11 11:23:29 -07:00
Paul Kulchenko
cfe5b37041 Fixed an issue with context menu on Linux (fixes #47; helps #15). 2012-09-11 11:21:25 -07:00
Paul Kulchenko
e9351c7fde Resolved conflict between lua executable names on Windows and Mac. 2012-09-11 11:17:32 -07:00
Paul Kulchenko
305f48ef6f Added wxlua.deb file and install script that pull and build all required dependencies on Linux (covers most of #15). 2012-09-10 22:27:08 -07:00
Paul Kulchenko
5ccafe93a8 Added osx executables and build files. 2012-09-10 22:20:46 -07:00
Paul Kulchenko
0f14a54843 Updated configuring toolbar size to improve Linux compatibility. 2012-09-10 21:04:42 -07:00
Paul Kulchenko
ac4a2598a3 Fixed debugger failure when debugging is initiated externally and there is an unsaved file in one of editor tabs. 2012-09-10 21:03:37 -07:00
Paul Kulchenko
66fdef6088 Fixed stopping the debugger when an editor tab where debugging happens is closed.
Closing tab didn't work when the debugging session was initiated
externally and not by the IDE.
2012-09-08 23:33:56 -07:00
Paul Kulchenko
4685fed4bb Updated cpath processing to allow Linux version to run side-by-side with Windows and Mac. 2012-09-07 23:36:02 -07:00
Paul Kulchenko
c4a3036794 Added disabling full screen mode when the last editor tab is closed. 2012-09-07 23:13:39 -07:00
Paul Kulchenko
fa5c31a7ec Fixed enabling of several menu items with no editor tab (fixes #42).
Fixed saveAll to allow saving of untitled.lua files;
  Disabled show tooltip if there is no editor tab;
  Disabled save if there is no editor tab;
  Disabled show prev/next in search if there is no editor tab;
  Enabled search/replace in files even if there is no editor tab;
  Disabled switching to fullscreen if there is no editor tab.
2012-09-07 22:34:24 -07:00
Paul Kulchenko
985b2c288b Fixed an issue with loading stock icons on Linux. 2012-09-07 12:15:35 -07:00
Paul Kulchenko
722378debb Added proper reporting of errors in config files. 2012-09-07 12:14:22 -07:00
Paul Kulchenko
4c37b51ae1 Added toggling folders in project pane by single click (fixes #41). 2012-09-07 12:13:12 -07:00
Paul Kulchenko
3e5f0ebf4d Added examples for configuring tabs and moai entry points. 2012-09-07 09:11:01 -07:00
Paul Kulchenko
fa522ae36b Added reporting compilation success rate (fixes #39) 2012-09-06 13:22:36 -07:00
Paul Kulchenko
6b85e36fd6 Updated licensing information. 2012-09-06 11:58:22 -07:00
Paul Kulchenko
fc420943b2 Added shortcuts for adding and removing watches. 2012-09-05 16:21:13 -07:00
Paul Kulchenko
989603655a Added highlighting rows with updated values in the Watch window. 2012-09-05 15:21:38 -07:00
Paul Kulchenko
543c0d7fad Added 'Add Watch Expression' and 'Evaluate in Console' context menu items in the editor. 2012-09-05 15:19:30 -07:00
Paul Kulchenko
cfd0d98270 Added handling of canceling editing in adding a watch. 2012-09-05 15:15:45 -07:00
Paul Kulchenko
e802e38dc2 Fixed Cut/Copy menu items to reflect proper status in the editor. 2012-09-05 11:34:28 -07:00
Paul Kulchenko
ac566de0ba Fixed typo in the static analyzer output 2012-09-04 16:31:17 -07:00
Paul Kulchenko
8419287316 Updated changelog for v0.32 2012-09-03 16:53:50 -07:00
Paul Kulchenko
27d1d159f6 Added configuration option for specifying entry points for moai projects (moai.entrypoints). 2012-09-02 21:21:05 -07:00
Paul Kulchenko
491d37038a Added changelog. 2012-09-02 19:58:16 -07:00
Paul Kulchenko
67eee4f9ef Corrected an image with Lua files used in the project tree 2012-09-02 14:23:40 -07:00
Paul Kulchenko
552a7373ca Switched moai to starting debugging right away without stopping on the first line. 2012-09-01 22:54:06 -07:00
Paul Kulchenko
376a25dfdd Added option to start debugging without stopping on the first line. 2012-09-01 22:53:38 -07:00
Paul Kulchenko
7945a09811 Fixed an issue with debugger not activating files with relative path information 2012-08-31 16:20:56 -07:00
Paul Kulchenko
327f650121 Fixed 'break' command to work after coming from debugger calls (like on()) 2012-08-31 15:58:10 -07:00
Paul Kulchenko
9bceb449e8 Added an IO filter to fix an issue with 0d0d0a line endings on Windows.
Scintilla doesn't strictly follow SetEOLMode setting and accepts both 0d
and 0d0a (and possibly 0a too) as line endings on Windows. Unfortunately,
the standard Lua interpreter does the right thing and only recognizes 0d0a
as the valid marker. This means line numbers are going to be different in
two cases, which creates a problem for breakpoints during debugging.
2012-08-31 15:48:37 -07:00
Paul Kulchenko
4278c25c60 Fixed an issue with highlighting selected item in the project tree.
An attempt to unhighlight the current item (that could have been
removed from the tree when the project directory is changed) led to
a crash of the application on OSX (but not on Windows).
2012-08-31 15:13:33 -07:00
Paul Kulchenko
7f47506eae Upgraded to mobdebug v0.489 to add support for debugging moai callbacks 2012-08-30 12:20:44 -07:00
Paul Kulchenko
b0b137eaf1 Added refresh of Stack and Watch windows to show updated values after executing a statement in remote shell 2012-08-30 12:13:32 -07:00
Paul Kulchenko
d1d29ced43 Added display of complex values on multiple lines in shell with '=' 2012-08-30 11:40:47 -07:00
Paul Kulchenko
2795d4d9ce Added rockspec to the list of extensions for lua (fixes #37) 2012-08-29 14:17:56 -07:00
Paul Kulchenko
02845f2e87 Added a check to avoid evaluating keywords in tooltip 2012-08-29 11:54:54 -07:00
Paul Kulchenko
ec46531c55 Merge branch 'master' of git://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor 2012-08-28 23:00:22 -07:00
Paul Kulchenko
9895f06f97 Added correctly stripped version of wx.dll (used --strip-unneded instead of --strip-all) 2012-08-28 22:39:31 -07:00
Paul Kulchenko
a67feb86aa Added current interpreter to the status bar; adding closing debugger when the interpreter is changed 2012-08-28 21:57:52 -07:00
Paul Kulchenko
6b990b652c Updated status bar style to make it consistent across platforms 2012-08-28 21:56:21 -07:00
Paul Kulchenko
7a2326cc9e Fixed evaluation of foo:bar in tooltip (now evaluates as foo.bar) 2012-08-28 21:26:59 -07:00
crazybutcher
e129f486d9 Merge remote-tracking branch 'zbstudio/master'
Conflicts:
	bin/lua51.dll
2012-08-25 15:48:54 +02:00
Paul Kulchenko
c09d9fc143 Updated wx.dll to include missing dependencies: libstdc++-6.dll and libgcc_s_dw2-1.dll (fixes #33) 2012-08-22 22:45:37 -07:00
crazybutcher
52ef014941 updated GLSL to 4.3 status
cg tool: glsl compilation no longer requires a selected word (main is always entry)
2012-08-22 16:53:45 +02:00
Paul Kulchenko
e79fedf764 Added aborting scratchpad processing when an interpreter can't start or report a fatal error 2012-08-20 21:25:34 -07:00
Paul Kulchenko
b7544577df Refactored LUA_PATH/CPATH processing to set it for all interpreters 2012-08-20 21:23:33 -07:00
Paul Kulchenko
53110b3b2f Updated wx.dll to fix scratchpad processing.
Partially reverted wxlua commit r104
(http://wxlua.svn.sourceforge.net/viewvc/wxlua?view=revision&revision=104).
2012-08-20 21:18:54 -07:00
Paul Kulchenko
d6ee3d1278 Added calltip on mouseover for functions during editing and for variables/expressions during debugging 2012-08-20 11:18:15 -07:00
Paul Kulchenko
c0109a26d1 Added a workaround for GetExecutablePath() reporting 'wx.dll' instead of a proper exe name with wxlua 2.8.12.2 on Windows 2012-08-20 10:47:57 -07:00
Paul Kulchenko
2a706f5bf3 Updated test module to use stringified values for comparison 2012-08-20 08:55:49 -07:00
Paul Kulchenko
1f266e04ab Added moai to the manifest 2012-08-19 23:25:13 -07:00
Paul Kulchenko
f45d6f84a3 Changed reporting of program execution time from CPU time to user time 2012-08-18 23:24:53 -07:00
Paul Kulchenko
76b8b7b07b Reassigned hotkeys in the Project menu to minimize conflicts on Mac 2012-08-18 23:22:20 -07:00
Paul Kulchenko
d45f893943 Fixed debugger termination after internal errors 2012-08-18 16:54:14 -07:00
Paul Kulchenko
53e725cf03 Removed .bak files from being replaced in when backup copies are saved 2012-08-18 16:41:12 -07:00
Paul Kulchenko
8a66df19fa Added support for unicode path files on Windows (fixes #30).
Replaced GetCwd() with wx.wxStandardPaths.Get():GetExecutablePath() as the
former doesn't return proper unicode path (at least in wxlua 2.8.12.2).
Replaced io.open with wxFile operations and disabled default error reporting.
Replaced os.rename with wxRenameFile.
Added support for unicode in dofile for Lua (replaced unicode names with
short names using winapi).
Fixed navigation in the Output window to recognize unicode file names.
Upgraded to MobDebug v0.485 to make debugging/breakpoints/step work for
files with unicode paths.
2012-08-17 22:14:27 -07:00
Paul Kulchenko
13be57ae39 Added an option to set path to lua executable 2012-08-16 17:32:43 -07:00
Paul Kulchenko
684150714f Updated love2d interpreter to use the project folder to check for
main.lua.

This allows Run/Debug project with any project file being currently active.
2012-08-11 22:27:41 -07:00
Paul Kulchenko
01e23f448e Fixed activating current file in the project tree on Mac (closes #29) 2012-08-11 22:25:38 -07:00
crazybutcher
036ec3534a modified slightly so ffitoapi can be run standalone 2012-08-11 15:37:51 +02:00
crazybutcher
af57806c69 updated luxinia2's glewgl and added anttweakbar 2012-08-11 15:36:19 +02:00
Paul Kulchenko
a4773563e9 Fixed running scripts with single quotes in path names 2012-08-07 20:10:52 -07:00
Paul Kulchenko
195c463a60 Added error handler to trap and display debugger errors 2012-08-07 19:56:07 -07:00
Paul Kulchenko
8cbf20ae42 Removed explicit path conversions and comparisons 2012-08-07 19:54:36 -07:00
Paul Kulchenko
a11bd6f0d3 Added search in PATH for love2d executable 2012-08-07 18:14:57 -07:00
Paul Kulchenko
1fc12a8a76 Fixed an issue with Run/Debug commands when IDE path includes exclamation mark ('!') 2012-08-07 17:01:26 -07:00
Paul Kulchenko
9a1e681569 Updated moai support to use full path to executable and to search for config.lua 2012-08-07 12:38:08 -07:00
Paul Kulchenko
43083742e6 Updated coroutine debugging to allow stepping through coroutine.resume/.yield calls 2012-08-06 16:40:29 -07:00
Paul Kulchenko
9a5b481189 Changed the call to unhide windows to the async version (ShowWindowAsync) to avoid blocking the IDE when the application doesn't respond 2012-08-05 21:07:22 -07:00
Paul Kulchenko
565f8e74fb Signed zbstudio executable to avoid issues with files not being saved without admin privileges and to remove warning about 'unknown publisher' on windows (fixes #25) 2012-08-05 18:05:17 -07:00
Paul Kulchenko
b1b87e9013 Fixed an issue with the app not starting on those systems that don't have HOME environment variable; fixes #28 2012-08-05 18:00:02 -07:00
Paul Kulchenko
539eddbf9d Fixed an issue with showing/hiding GUI windows that was occasionally causing a runtime error when the window disappears before it is manipulated 2012-08-03 12:43:58 -07:00
Paul Kulchenko
0abcff015e Added moai interpreter 2012-08-02 17:51:32 -07:00
Paul Kulchenko
7bb74b5fb4 Fixed returning proper name for unsaved files in reporting compilation and static analysis results; moved default names to ide.config (fixes #26) 2012-08-01 16:30:35 -07:00
Paul Kulchenko
b9bc6454b4 Added reporting of function name of the form a.b and a:b in static analysis (fixes #27) 2012-08-01 15:49:37 -07:00
Paul Kulchenko
5734455818 Merge branch 'master' of github.com:pkulchenko/ZeroBraneStudio 2012-08-01 15:07:06 -07:00
Paul Kulchenko
e6e0870a11 Merge pull request #24 from Odie/master
Added ability for user to keep their settings file in their home directory
2012-08-01 15:06:07 -07:00
Paul Kulchenko
2c45207436 Fixed pasting text into the Find dialog and project path box on Mac (fixes #22) 2012-08-01 15:02:36 -07:00
Jonathan Shieh
bf09d3748c Added per user settings file.
Users can now move their settings file to ~/.zbs/user.lua
2012-08-01 10:54:40 +08:00
Paul Kulchenko
452f99826e Upgraded to wxlua 2.8.12.2 (wxwidgets 2.8.12; unicode version); added
lua51.dll proxy (fixes #10 and #7)
2012-07-30 23:11:30 -07:00
Paul Kulchenko
bbfc1c3624 Reorganized handling of automcomplete event (to use AddPendingEvent instead of PostEvent) to avoid runtime application error 2012-07-30 23:02:47 -07:00
Paul Kulchenko
429bb24cb4 Upgraded to mobdebug 0.479 to fix bugs with localization of variables during debugging and handling dashes in paths; added support for coroutine debugging and on/off methods to enable debugging for selected code fragments (to improve performance under the debugger) 2012-07-25 23:10:23 -07:00
Paul Kulchenko
2a8e7fe423 Added ignoring Cmd-key combinations on Mac as this should be handled by wxwidgets, but is not (fixes #19) 2012-07-25 16:19:13 -07:00
Paul Kulchenko
cf1a657b80 Updated manifest to add testwell module 2012-07-23 21:13:52 -07:00
crazybutcher
cf6b328a52 lua51 dll forwards to lua5.1.dll 2012-07-22 10:42:05 +02:00
crazybutcher
b0f98f30dc bugfix in interpreter setting 2012-07-21 11:51:56 +02:00
crazybutcher
5c0bf93d9c Merge remote-tracking branch 'zbstudio/master'
Conflicts:
	interpreters/luxinia2.lua
2012-07-21 10:45:23 +02:00
Paul Kulchenko
7b2241085d Added refresh of filetree on MacOS to get it displayed correctly when the app is started 2012-07-14 11:45:57 -07:00
Paul Kulchenko
c9cfd42d34 Corrected resetting of project directory when it's already set and doesn't need to be changed 2012-07-13 23:30:13 -07:00
Paul Kulchenko
c25c56069d Added handling of balanced brackets in markup links 2012-07-13 22:43:27 -07:00
Paul Kulchenko
a68e8f7bd3 Added unit test module 2012-07-13 22:42:35 -07:00
Paul Kulchenko
fc6de036e0 Reorganized handling of font configuration and added font config for filetree (with a different size default on MacOS) 2012-07-13 09:54:52 -07:00
Paul Kulchenko
08d42a2501 Removed setting the editor font in the config as the default font is different on different platforms 2012-07-12 22:07:10 -07:00
Paul Kulchenko
da32878984 Added reporting the number of traced lines during debugging 2012-07-12 14:21:56 -07:00
Paul Kulchenko
3fd5d88656 Reset project directory if the current one doesn't exist 2012-07-11 23:16:33 -07:00
Paul Kulchenko
7d9ad5100c Fixed markup styling and file tree drawing on MacOS 2012-07-11 16:11:11 -07:00
Paul Kulchenko
6bff634446 Added explicit calls to CreateBitmap as wxArtProvider.GetBitmap doesn't alway call a custom art provider on MacOS (2.8.12) and in some cases on msWin (2.8.7) 2012-07-11 13:24:45 -07:00
Paul Kulchenko
b0de487bf0 Fixed detecting executable name in commands with spaces 2012-07-11 13:21:22 -07:00
Paul Kulchenko
560d56835a Fixed typo 2012-07-11 13:20:35 -07:00
Paul Kulchenko
3c6a06f537 Added setting of PATH and CPATH to find proper libs on windows and mac os platforms 2012-07-11 11:24:33 -07:00
Paul Kulchenko
b1f3bf0bd9 Fixed incorrect folders reported in the file tree when no project directory is set and a file is open 2012-07-10 23:32:38 -07:00
Paul Kulchenko
6ea3a4708d Fixed incorrect filename reported in compile errors when the file is not saved 2012-07-10 22:31:06 -07:00
Paul Kulchenko
4de0eb1dc0 Made 'View Stack Window' and 'View Watch Window' refresh window content if it's already shown 2012-07-07 15:08:58 -07:00
Paul Kulchenko
c2f6ed6338 Removed extension from the template to match folders to make it more portable 2012-07-07 11:49:30 -07:00
Paul Kulchenko
fad7ff0cc3 Updated matching of links to make them less greedy (to avoid capturing link terminators) 2012-07-07 11:46:41 -07:00
Paul Kulchenko
9afa35f9b2 Upgraded deprecated constants and logic for compatibility with wxwidgets 2.9.x 2012-07-06 20:54:11 -07:00
Paul Kulchenko
3a5b46f65e Fixed an error thrown when a window with debugging is closed before the application being debugged is terminated 2012-07-06 20:51:01 -07:00
Paul Kulchenko
26d0908c89 Added scratchpad support for love2d 2012-07-03 13:00:18 -07:00
Paul Kulchenko
770db579d9 Added reset of 'modified' status to keep tab names and their config settings correct upon exit 2012-07-03 12:47:18 -07:00
Paul Kulchenko
8e09ed1658 Fixed incorrect storing of settings for editor tabs with the same text (filename). This was causing only one tab displayed for multiple StyledText controls with interesting effects 2012-07-02 11:53:24 -07:00
Paul Kulchenko
25ac96d39a Removed styling of function calls and capturing definitions in strings and comments (fixed #18) 2012-07-01 22:11:03 -07:00
Paul Kulchenko
22fda661ec Updated matching logic for function definitions to allow for a.b.c() definitions (fixes #17) 2012-07-01 21:59:13 -07:00
Paul Kulchenko
529a0e8c9e Added window title update and filetree refresh after SaveAs command 2012-07-01 15:13:12 -07:00
Paul Kulchenko
7cc061e18d Fixed an issue with launching a process when its output is not redirected to the IDE (fixes #16). Added callback for all started processes to make them call OnTerminate event upon completion 2012-07-01 09:44:00 -07:00
Paul Kulchenko
5f2226bac2 Fixed console to evaluate 'function a() ... end' without errors 2012-06-30 11:12:30 -07:00
Paul Kulchenko
37795c2480 Added tooltip to display variable/expression values during debugging 2012-06-30 11:04:48 -07:00
Paul Kulchenko
5e934dfd69 Added checks around ShowFullScreen() calls to avoid failures on those systems that don't provide it (linux/GTK) 2012-06-29 23:39:53 -07:00
Paul Kulchenko
f970ba38a0 Removed setting focus to the Output window when output is processed as it interfered with Run as Scratchpad 2012-06-29 23:35:35 -07:00
Paul Kulchenko
8af6c1b5b6 Fixed a compilation error caused by shebang in scripts 2012-06-29 16:58:25 -07:00
Paul Kulchenko
0777a5fbd8 Added check for debugger calls to avoid errors when debugger is not loaded 2012-06-29 15:31:09 -07:00
Paul Kulchenko
942681e246 Fixed an issue with love2d path with spaces 2012-06-28 20:05:35 -07:00
Paul Kulchenko
ce8f120e48 Improved logic in love2d integration to distinguish Debug and Run commands
(closes #13)
2012-06-28 10:24:13 -07:00
Paul Kulchenko
048fd2349a Updated menus to avoid conflicts with MacOS shortcuts 2012-06-26 22:13:52 -07:00
Paul Kulchenko
2627957e5a Updated logic creating menubar to make it work correctly on MacOS with special Help/About items 2012-06-26 21:32:06 -07:00
Paul Kulchenko
16b0ca0fc7 Updated path handling to better detect how the app is started and to avoid loading dlls on non-windows platforms 2012-06-26 19:29:00 -07:00
Paul Kulchenko
e3189ba38a Updated logic for detecting hostname (used in the debugger) to make sure it is resolvable 2012-06-26 19:11:39 -07:00
Paul Kulchenko
ad48622f68 Fixed aborting running/debugged programs on MacOS by adding MAKE_GROUP_LEADER option to wxExecute 2012-06-26 19:06:14 -07:00
Paul Kulchenko
0a9439ad22 Added display of hierarchical data in Stack window 2012-06-25 18:23:26 -07:00
Paul Kulchenko
a7577d5054 Updated Analyze output 2012-06-25 18:22:20 -07:00
Paul Kulchenko
668cdcb4db Added auto complete for love2d API 2012-06-25 14:47:21 -07:00
crazybutcher
46da5b6697 Merge remote-tracking branch 'zbstudio/master'
Conflicts:
	src/editor/debugger.lua
2012-06-25 22:34:07 +02:00
Paul Kulchenko
4ec3e87473 Added support for debugging processes running under LuaJIT (requires MobDebug v0.467+) 2012-06-24 22:01:02 -07:00
Paul Kulchenko
90b4f38223 Added love2d support 2012-06-24 17:52:59 -07:00
Paul Kulchenko
c1918e5c38 Removed extensions from launch commands and updated display logic in the Output window 2012-06-24 16:40:10 -07:00
Paul Kulchenko
34baaa9447 Fixed an issue in the logic for setting breakpoints, which ignored breakpoints in luxinia2 debug sessions 2012-06-24 16:00:25 -07:00
Paul Kulchenko
817938593a Fixed logic in the local/remote console that returned incorrect error message on executing code like '%s':format(1); expressions are evaluated first now and the order of evaluation is consistent between local and remote consoles 2012-06-23 23:55:59 -07:00
Paul Kulchenko
b944f9d01d Fixed IDs for Project menu items to allow them to be removed from the menu if needed 2012-06-23 23:53:34 -07:00
Paul Kulchenko
5d4b2395b5 Added execution time and updated messages in the Output window to be more consistent 2012-06-23 13:33:29 -07:00
crazybutcher
80f83d781e fix regression, make luxinia2 debuggable again (still issues left with breaking and adding breakpoints when none were active) 2012-06-23 12:02:42 +02:00
Paul Kulchenko
f9ab1546ff Added displaying 'nil' values in local console when no result is returned by an expression 2012-06-20 21:36:04 -07:00
Paul Kulchenko
971e7c8316 Disabled Stack and Watch updates when scratchpad is active as they interfere with application execution 2012-06-20 21:30:42 -07:00
Paul Kulchenko
60a89b8f32 Fixed an app running without debugger when 'stack' command is sent immediately after an external application connects to the debugger 2012-06-20 19:21:25 -07:00
Paul Kulchenko
7275f0d11a Fixed an issue with remote application not terminating when IDE is closed while debugging is in progress 2012-06-20 18:19:40 -07:00
Paul Kulchenko
35213d7d3b Added a check to refuse starting a new debugging session if there is one in progress already 2012-06-20 17:02:05 -07:00
Paul Kulchenko
cde26253e3 Fixed sending breakpoints set before establishing a debugging session started from another process that connects to the IDE debugger 2012-06-20 16:54:50 -07:00
Paul Kulchenko
b45c0600c7 Added handling of tail calls in the Stack window 2012-06-20 16:33:24 -07:00
Paul Kulchenko
5784dea99a Fixed refreshing a modified file when the editor is set to read-only mode 2012-06-19 12:24:06 -07:00
Paul Kulchenko
e880fdde60 Added pretty printing in Watch and Console (local and remote) windows and handling of multiple results in Console 2012-06-19 09:34:32 -07:00
Paul Kulchenko
b7d8512b7b Added Stack window to display stack information and local/upvalue values for each stack frame 2012-06-18 14:53:10 -07:00
Paul Kulchenko
a7a8f32c91 Fixed saving/restoring configuration of 'Output'/'Console' tabs when IDE is closed while debugging is in progress 2012-06-16 17:31:21 -07:00
Paul Kulchenko
9fc4ab5e9b Fixed removing variable name in Watch window after escaping editing 2012-06-15 16:39:51 -07:00
Paul Kulchenko
37434534cc Fixed #9 as it had incorrect logic in one of UTF filters 2012-06-11 08:24:27 -07:00
Paul Kulchenko
fc03c2843b Fixed ability to set font encoding for 'Output' and 'Console' windows in the config 2012-06-10 16:01:24 -07:00
Paul Kulchenko
2abbad04ac Added ability to set font encoding in the config 2012-06-10 15:40:14 -07:00
Paul Kulchenko
dbb392e009 Moved processing of user.lua to a later phase after tools and specs are
already loaded to allow modification of IDE configuration from `user.lua`.
Closes #5.

Added example to user-sample.lua on how the configuration can be modified.
2012-06-09 18:57:11 -07:00
Paul Kulchenko
65947ff924 Added checks to prevent text modification in 'Output' and 'Console'
windows. Fixes #8.

Text modifications are checked against (1) direct input, (2) actions using
context menu, and (3) move/copy using selection and mouse drag and drop.
Added input marker to the 'Output' window to indicate where input is
expected.
2012-06-09 17:17:24 -07:00
Paul Kulchenko
d8324b269d Fixed edit menu shortcuts to work in the 'Output' window (when allowed) 2012-06-08 16:44:17 -07:00
Paul Kulchenko
ac9c2e9a84 Added ability to interact with scripts by allowing text to be entered in the 'Output' window.
This is controlled by ide.config.allowinteractivescript variable".
 The window is only activated and switched into read-write mode after
 there is some output to it.
2012-06-08 13:07:48 -07:00
Paul Kulchenko
3b2fcfd1f9 Added restoring cursor position when a modified file is reloaded in the editor; removed unnecessary isFileAlteredOnDisk check 2012-06-08 13:01:44 -07:00
Paul Kulchenko
14fe7af771 Fixed reporting of processes that failed to start after 'Run' or 'Debug' commands 2012-06-07 14:13:17 -07:00
Paul Kulchenko
7b0405bc79 Fixed executable path matching to work on systems that don't have file extensions 2012-06-07 13:52:50 -07:00
Paul Kulchenko
fc6b0c176d Cleaned up ShellSupportRemote interface to remove a parameter not being used 2012-06-07 13:51:20 -07:00
Paul Kulchenko
5c50a2645b Improved reporting in static analysis for functions and global variables.
Added "unknown global function...".
Added "unused local function...".
Added "local function ... masks...".
Updated reporting of unused global to "first use of unknown global" to
minimise the number of instances reported until globals assigned through
"required" modules are recognized.
2012-06-05 16:15:02 -07:00
Paul Kulchenko
11cfbfa68d Fixed localization of variables in several places 2012-06-05 15:37:30 -07:00
Paul Kulchenko
e6b318c643 Fixed #3 'unused parameter...' check not to fail on anonymous functions that are part of an expression 2012-06-05 14:06:40 -07:00
Paul Kulchenko
1351db6114 Several fixes to the static code analyzer.
"Unknown global" is only reported once per line.
"First assignment to global..." is fixed to only report when the variable
is on the left side of the assignment.
"Value discarded" warning is added when multiple assignment has more values than
variables.
2012-06-05 11:06:46 -07:00
Paul Kulchenko
b58e931409 Changed static analyzer to only load metalua when Analyze function is
used, rather than on startup.
2012-06-04 12:21:47 -07:00
Paul Kulchenko
e0eb05b122 Disabled 'Run as Scratchpad' if there is no debugger registered capable of running it 2012-06-04 12:15:14 -07:00
Paul Kulchenko
8ecd8dfa6b Changed order of lualibs/ and bin/ directories in package.path and
package.cpath to load included modules first.

This should minimize conflicts with other versions of same modules that
may exist somewhere else in the path.
2012-06-04 12:01:10 -07:00
Paul Kulchenko
c1961e5c4b Added Ctrl(-Shift)-TAB navigation between tabs in the editor 2012-05-31 14:20:48 -07:00
Paul Kulchenko
3ead2966d8 Fixed localization of variables based on static analysis 2012-05-30 13:15:58 -07:00
Paul Kulchenko
0bcf590f45 Added reporting of assignment to global variables in the code analyzer 2012-05-30 11:27:17 -07:00
Paul Kulchenko
e8f308ca08 Added ability to turn external processes that connect to debugger into a scratchpad; fixed 'exit' to make it work for remote applications; upgraded to MobDebug 0.449 2012-05-26 23:02:20 -07:00
Paul Kulchenko
ecb59ceb9e Updated comment styling to follow markdown syntax 2012-05-15 23:05:26 -07:00
Paul Kulchenko
a317f986e1 Fixed styling in markup module that wasn't always working when a block comment was uncommented 2012-05-14 19:01:40 -07:00
Paul Kulchenko
623905c81c Added navigation between editor tabs using Ctrl-PgUp and Ctrl-PgDn 2012-05-13 23:10:25 -07:00
Paul Kulchenko
11b702ac6e Added exit from full screen mode using ESC key 2012-05-13 22:38:17 -07:00
Paul Kulchenko
f926aef2f8 Updated MANIFEST with luainspect module files and luasocket module reorg 2012-05-13 22:36:12 -07:00
Paul Kulchenko
3754406e85 Merge branch 'scratchpad' 2012-05-11 16:39:21 -07:00
Paul Kulchenko
981bccbe27 Added menu shortcut for Run As Scratchpad 2012-05-11 14:56:35 -07:00
Paul Kulchenko
047a9e8ac5 Upgraded to Mobdebug 0.448 to fix handling of scripts with comments in the remote shell 2012-05-11 14:30:58 -07:00
Paul Kulchenko
d1f2e8450a Fixed an issue with Analyze process when the analyzed script has compilation errors 2012-05-07 23:01:31 -07:00
Paul Kulchenko
21cfba9cb6 Added reporting of compilation errors during debugging sessions (when external client connects to the debugger and the current script has compilation errors) 2012-05-07 22:56:30 -07:00
Paul Kulchenko
3f711373ed Added handling of more error in the shell to allow calculations like '(1+2)' to be executed correctly (both locally and remotely) 2012-05-07 22:25:22 -07:00
Paul Kulchenko
00fe05e89f Fixed an earlier introduced bug with Run/Debug proceeding after failed compilation; removed references to internal code in compilation errors (in scratchpad) 2012-05-06 18:27:15 -07:00
Paul Kulchenko
3bcd54bd46 Added moving focus back to the notebook after unhiding/activating a wx window 2012-05-06 15:28:16 -07:00
Paul Kulchenko
8de9e41fd6 Updated README 2012-05-06 14:34:45 -07:00
Paul Kulchenko
29b6755a9b Fixed cursor to change to a default one (instead of an arrow) after number sliding 2012-05-06 14:29:49 -07:00
Paul Kulchenko
7d6be282f1 Updated clearing 'output' window to minimize showing duplicate output when running as scratchpad 2012-05-06 14:20:59 -07:00
Paul Kulchenko
f89fd4d752 Added handling of negative numbers for number sliders in scratchpad; added logic to ignore malformed numbers (they are still styled though) 2012-05-05 23:11:22 -07:00
Paul Kulchenko
03adda1cef Added stopping debugger and scratchpad when a window with debugging/scratchpad action is closed 2012-05-05 18:42:12 -07:00
Paul Kulchenko
2992424e87 Fixed an issue with scratchpad being on after Save dialog is canceled 2012-05-05 17:16:24 -07:00
Paul Kulchenko
e302a97682 Added support for using different debugger calls and moved scratchpad to a different debugger for performance reasons; upgraded to Mobdebug 0.446 2012-05-05 14:20:55 -07:00
Paul Kulchenko
7b5d37d595 Added mouse capture for slider operations in scratchpad to increase the range of available values 2012-05-03 16:40:47 -07:00
Paul Kulchenko
01ae85dc5a Reorganized the scratchpad code and added scratchpad teardown code to run when the debugged application is closed 2012-05-03 16:27:54 -07:00
Paul Kulchenko
f650d8f64f Added clearing output window when requested and formatting for compile/execution error messages 2012-05-03 12:58:39 -07:00
Paul Kulchenko
602f8ef223 Fixed debugging menu items to be hidden when running as scratchpad 2012-05-03 12:22:03 -07:00
Paul Kulchenko
6afc999b75 Added number slider processing with dynamic reloading of scratchpad scripts; upgraded to MobDebug 0.445 for better stability 2012-05-03 10:25:25 -07:00
Paul Kulchenko
2ccd214a1f Added stopping criteria to allow execution of any scripts (even empty ones) under 'Run as Scratchpad'; removed stack trace from remote error messages in the scratchpad 2012-05-02 10:45:59 -07:00
Paul Kulchenko
8efde0ec1f Added a check to turn 'Run as Scratchpad' on even when the initial compilation fails 2012-05-02 10:16:30 -07:00
Paul Kulchenko
1c5b14870c Updated event logic in the scratchpad to make sure editor change events do not get lost while an earlier change is being worked on 2012-05-02 00:09:48 -07:00
Paul Kulchenko
2c87909920 Disabled 'Run as Scratchpad' option when the script is already running 2012-05-01 22:00:46 -07:00
Paul Kulchenko
2a2a3bed96 Added reporting of run-time errors when running as scratchpad; upgraded to MobDebug 0.444 2012-05-01 21:49:45 -07:00
Paul Kulchenko
e2f65bced5 Fixed an issue with frequent modifications in a scratchpad; added safety check to avoid reloads from loaded modules (like wx) 2012-04-30 13:49:33 -07:00
Paul Kulchenko
c979d60d28 Moved the logic to disable checkbox for scratchpad menu to IDLE event as EVT_UPDATE_UI is only executed when the user opens up the menu (menu is updated) 2012-04-29 23:08:29 -07:00
Paul Kulchenko
7954ff1f64 Fixed about screen 2012-04-29 21:57:47 -07:00
Paul Kulchenko
a3a5c75694 Reorganized scratchpad code to have all its logic in one place 2012-04-29 18:41:23 -07:00
Paul Kulchenko
d6f3b4052b Reimplemented scratchpad functionality using internal processes (similar to how the debugger is done) as IDE was too unstable when running in the same process 2012-04-29 17:26:22 -07:00
Paul Kulchenko
7bc64d90c7 Removed 'error during pre-compilation' message from compile errors 2012-04-28 15:11:42 -07:00
Paul Kulchenko
56d262b753 Added stopping the debugger when a debugged program exits 2012-04-27 16:33:56 -07:00
Paul Kulchenko
a368f0acf9 Merge branch 'master' of github.com:pkulchenko/ZeroBraneStudio 2012-04-23 09:32:45 -07:00
Paul Kulchenko
d4a53733e7 Added to static analysis reporting of unused parameters in functions (the function name is also reported when possible) 2012-04-23 09:16:13 -07:00
Paul Kulchenko
1117e9df9a Disabled warning in static analysis about unused 'self' in methods 2012-04-22 23:31:58 -07:00
Paul Kulchenko
230de3450f Cleaned up warnings based on results of static analysis 2012-04-22 23:29:32 -07:00
Paul Kulchenko
0ae48ce6de Cleaned up warnings based on results of static analysis 2012-04-22 22:04:23 -07:00
Paul Kulchenko
6a90c5e850 Turned 'unhiding' wx window while running or debugging off by default as it was causing performance problems with some applications 2012-04-22 15:39:03 -07:00
Paul Kulchenko
f1ac72b265 Added scratchpad (running live) functionality 2012-04-21 22:29:21 -07:00
Paul Kulchenko
79fd90c986 Removed logic to update project directory based on file selection in the filetree 2012-04-21 22:26:15 -07:00
Paul Kulchenko
4dcf470c09 Fixed an issue with menu search to insert a new item 2012-04-20 22:25:14 -07:00
Paul Kulchenko
fcdbd456de Added code analyzer based on lua-inspect 2012-04-20 14:47:31 -07:00
Paul Kulchenko
e92127d6c8 Added luainspect library (https://github.com/davidm/lua-inspect) 2012-04-20 14:36:38 -07:00
Paul Kulchenko
0d8e6b0581 Added LuaSec (including binary Windows package from http://www.inf.puc-rio.br/~brunoos/luasec/) to provide SSL/HTTPS support for the socket library (needed for gist/github integration) 2012-04-19 18:17:48 -07:00
Paul Kulchenko
16d72396b1 Added missing mime/code.dll and reorganized socket module files (socket.*) to load correctly with require 2012-04-07 22:40:55 -07:00
Paul Kulchenko
6c7e289f71 Merge pull request #1 from dkulchenko/master
Format README with Markdown
2012-04-07 22:26:03 -07:00
Daniil Kulchenko
deb99ec084 Formatting improvements. 2012-03-27 14:08:36 -07:00
Daniil Kulchenko
12f84d3509 Switch README to Markdown. 2012-03-27 13:58:19 -07:00
Paul Kulchenko
3a18136076 Fixed 'Trace' command to continue working when a debugged file is not activated 2012-03-21 10:16:17 -07:00
Paul Kulchenko
1b057988bc Updated to work with mobdebug v0.44 2012-03-21 10:14:30 -07:00
Paul Kulchenko
92001a4a78 Added option to activate output/console when Run/Debug/Compile commands are executed 2012-03-20 21:25:38 -07:00
Paul Kulchenko
906c70248b Added full screen mode 2012-03-17 21:20:32 -07:00
Paul Kulchenko
4554c67c3e Added killing running process on IDE exit. Allowed killing a running process with Shift-F12. Disabled compilation and debugging when some process is running. 2012-03-10 22:21:36 -08:00
Paul Kulchenko
cb7ee575c7 Fixed an issue with saving a file when no project directory is set 2012-03-10 21:55:31 -08:00
Paul Kulchenko
c758d4c62a Updated MANIFEST with metalua lib 2012-03-09 22:06:18 -08:00
Paul Kulchenko
8c1c06bb16 Fixed missing semicolon in lualibs path; added path for debugger to search under lualibs 2012-03-09 22:01:20 -08:00
Paul Kulchenko
99ca5fe952 Merge branch 'master' of git://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor 2012-03-08 11:49:22 -08:00
Paul Kulchenko
1f064655cc Added metalua library 2012-03-08 11:48:57 -08:00
Paul Kulchenko
9a05cc3678 Fixed missing slash on SaveAs by enforcing trailing slash for the project path 2012-03-08 10:50:47 -08:00
Paul Kulchenko
6da3cb2c32 Disabled buffering of the output for scripts run from IDE 2012-02-27 22:49:00 -08:00
Paul Kulchenko
d2cb7cb1c2 Fixed an issue with a missing path separator, which prevented debugging from executing step commands in some cases 2012-02-22 21:54:36 -08:00
crazybutcher
0ac769ffba bugfix in luxinia1 interpreter 2012-02-16 21:52:35 +01:00
Paul Kulchenko
ef60786e48 Removed debug output when coroutines are edited 2012-02-14 23:35:56 -08:00
Paul Kulchenko
f9c15faab8 Fixed activation of a correct tab when one of the editor tabs is closed 2012-02-13 18:30:45 -08:00
Paul Kulchenko
59b28ef35c Merge branch 'master' of git://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor 2012-02-12 22:42:12 -08:00
Paul Kulchenko
9db7d4ec8a Fixed an issue with file activation from a debugger (files that are 'required' now actiate correctly) 2012-02-12 22:41:41 -08:00
Paul Kulchenko
40eaace714 Disabled dynamic words in the config (zbstudio) 2012-02-10 09:47:05 -08:00
Paul Kulchenko
fe000bb59e Wrapped DragAcceptFiles into a protected call to make it not fail on MacOS (compiled with wxwidgets 2.8.12) 2012-02-09 12:23:47 -08:00
crazybutcher
9aa220df41 Merge branch 'master' of ssh://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor 2012-02-08 20:05:33 +01:00
Paul Kulchenko
97c52f15f3 Added highlight style to markup 2012-02-07 23:41:29 -08:00
Paul Kulchenko
54f578790b Merge branch 'master' of git://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor 2012-02-01 22:29:54 -08:00
Paul Kulchenko
a51a08c1b8 Removed slash conversion in filename on Save; added markup styling on SaveAs 2012-02-01 22:29:28 -08:00
Paul Kulchenko
7620e758a0 Updated error messages to more generic ones 2012-02-01 19:52:55 -08:00
Paul Kulchenko
80da9253dd Normalized the filename path to remove '.' and such 2012-02-01 19:33:08 -08:00
Paul Kulchenko
a133fa900e Fixed the issue of ClosePage method being called with two different parameters 2012-01-31 23:00:55 -08:00
Paul Kulchenko
0fa62e544a Updated markup processing with run and debug commands, http link processing, and opening local files in a new window. Switched from hotspot click event to mouse button processing to avoid the issue with selection being active in a newly loaded page 2012-01-31 22:56:18 -08:00
Paul Kulchenko
601dbef6e5 Added Debug and Run methods to simulate menu commands 2012-01-31 22:49:09 -08:00
unknown
01b3a4fd09 Merge branch 'master' of ssh://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor 2012-01-31 12:08:36 +01:00
crazybutcher
ed0df13acb dx backwards compat mode and replace / in filenames 2012-01-31 12:06:55 +01:00
Paul Kulchenko
642fd63724 Added setting a project folder on initial start (zbstudio) 2012-01-30 18:21:51 -08:00
Paul Kulchenko
a1586cd530 Replaced hardcoded path separater with a method call 2012-01-30 18:19:18 -08:00
Paul Kulchenko
291cba2d79 Merge branch 'master' of git://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor 2012-01-30 15:58:40 -08:00
Paul Kulchenko
96bffc1322 Added markup formatting in the comments 2012-01-30 15:58:28 -08:00
Paul Kulchenko
e88710fbbc Updated debugger to use project dir as basedir if it is specified (rather than the path to the currently edited file) 2012-01-30 15:03:22 -08:00
Paul Kulchenko
99da8be0f8 Fixed the issue of the project dir being returned with two trailing slashes 2012-01-30 15:03:05 -08:00
crazybutcher
c8c654cb2b removed ptx r,g,b,a keywords 2012-01-30 22:05:47 +01:00
crazybutcher
cf68a42547 added nvidia ptx spec 2012-01-30 22:01:57 +01:00
Paul Kulchenko
5c0d4cccdd Added setting the current project directory for the shell to allow 'require' commands to work with local modules 2012-01-29 17:10:55 -08:00
Paul Kulchenko
b979b41688 Fixed an issue with activating the currenly edited file in the file tree 2012-01-29 13:55:59 -08:00
Paul Kulchenko
b807fa9a99 Enforced visibility for shell prompt 2012-01-28 11:59:18 -08:00
Paul Kulchenko
ef5b1b0e09 Removed hardcoded references to the console page/tab 2012-01-28 11:53:56 -08:00
Paul Kulchenko
04a038da45 Moved wrap flags to the line end to make them less noticeable 2012-01-28 11:52:17 -08:00
Paul Kulchenko
bc0e3190d4 Added style processing for font name, font size, visibility and hotspot attributes 2012-01-28 11:20:52 -08:00
Paul Kulchenko
16dcd084e1 Renamed ShellExecuteCode to ...File; added ShellExecuteCode to execute a fragment of code 2012-01-28 10:52:35 -08:00
crazybutcher
15f8c15039 bugfix on close-file 2012-01-25 22:00:28 +01:00
crazybutcher
bff0da36dc minor updates to license (2012) and readme (front-ends explained) 2012-01-21 14:27:03 +01:00
crazybutcher
1e933a6b75 Merge remote-tracking branch 'zbstudio/master' 2012-01-21 14:15:06 +01:00
crazybutcher
c9bb3e01ca added glfw 2.7.2 api and changed luxinia2 to use it instead of glfw3 2012-01-21 14:13:54 +01:00
395 changed files with 78963 additions and 28770 deletions

9
.mailmap Normal file
View File

@@ -0,0 +1,9 @@
#
# This list is used by git-shortlog to fix a few botched name translations
# in the git archive, either because the author's full name was messed up
# and/or not always written the same way, making contributions from the
# same person appearing not to be so.
#
Christoph Kubisch <pixeljetstream@luxinia.de> <crazybutcher@d4a214e2-3791-4833-b182-d171351aa34e>
Eike Decker <zet23t@googlemail.com> <zet23t@d4a214e2-3791-4833-b182-d171351aa34e>

1830
CHANGELOG.md Normal file

File diff suppressed because it is too large Load Diff

30
CONTRIBUTING.md Normal file
View File

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

120
LICENSE
View File

@@ -2,7 +2,7 @@
ZeroBrane Studio sources are released under the MIT License
Copyright (c) 2011 Paul Kulchenko (paul@kulchenko.com)
Copyright (c) 2011-2015 Paul Kulchenko (paul@kulchenko.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -26,9 +26,9 @@ THE SOFTWARE.
Estrela Editor sources are released under the MIT License
Copyright (c) 2008-2011
Copyright (c) 2008-2012
Luxinia DevTeam:
Eike Decker & Christoph Kubisch
Christoph Kubisch & Eike Decker
info at luxinia.de
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -49,7 +49,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--[[ wxLua License License ]]----------------------------------------------
--[[ wxLua License ]]------------------------------------------------------
http://wxlua.sourceforge.net/
@@ -61,7 +61,7 @@ Original wxLua Lua sample IDE:
luascript at thersgb.net
wxLua is based on
wxWindows Library Licence, Version 3
wxWindows Library License, Version 3
Copyright (c) 1998 Julian Smart, Robert Roebling et al
@@ -136,49 +136,87 @@ 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
LuaZMQ
Copyright: © 2011 by Robert G. Jakabosky
Homepage: https://github.com/Neopallium/lua-zmq
--[[ MojoShader License ]]-------------------------------------------------
Copyright: © 2008-2010 Ryan C. Gordon
Homepage: http://icculus.org/mojoshader/
License: http://hg.icculus.org/icculus/mojoshader/raw-file/tip/LICENSE.txt
--[[ CLCC License ]]-------------------------------------------------------
Copyright: © 2009 Organic Vectory B.V.
Homepage: http://clcc.sourceforge.net/
License: boost
CLCC was modified by Christoph Kubisch to support multiple platforms and
output file generation.
--[[ MobDebug License ]]---------------------------------------------------
MobDebug sources are released under the MIT License
Copyright (c) 2011 Paul Kulchenko (paul@kulchenko.com)
Copyright (c) 2011-2013 Paul Kulchenko (paul@kulchenko.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--[[ LuaJIT License ]]-----------------------------------------------------
Copyright © 2005-2013 Mike Pall, released under the MIT open source license.
--[[ WinAPI License ]]-----------------------------------------------------
Copyright (C) 2011 Steve Donovan.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--[[ MobDebug License ]]---------------------------------------------------
MobDebug sources are released under the MIT License
Copyright (c) 2011-2012 Paul Kulchenko (paul@kulchenko.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--[[ RemDebug License ]]---------------------------------------------------
Copyright (c) 2006 The Kepler Project.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

54
README
View File

@@ -1,54 +0,0 @@
A simple and extensible Lua IDE and debugger. It supports multiple file
formats, "api" for autocompletion and tooltips, and custom command-line
tools. Its main focus is extensibility for target applications using Lua.
--[[ FEATURES ]]-----------------------------------------------------------
* Written in Lua, so easily customizable
* Automatically loads several 'plugin' like classes
- applications: overall control of applications settings
- specs (spec/): file syntax, lexer, keywords
- 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. cg compiler, dx fxc compiler
* Auto-completion for functions, keywords...
* Function tips
* Function list in file (quick jump to)
* Function call highlighting
* Bracket matching/highlighting
* Project file browser
* Experimental type/class guessing for auto-completion
* Support for different editor styles
* Console to directly test code snippets with local and remote execution
* Integrated debugger (with support for local and remote debugging)
--[[ INSTALLATION ]]-------------------------------------------------------
git clone git://github.com/pkulchenko/ZeroBraneStudio.git zbstudio
or
git clone git://estrelaeditor.git.sourceforge.net/gitroot/estrelaeditor/estrelaeditor estrelaeditor
--[[ USAGE ]]--------------------------------------------------------------
Open File(s):
<exe> <filename> [<filename>...]
any non-option will be treated as filename
Overriding Config:
<exe> [...] -cfg "<luacode overriding config>" [...]
e.g.: zbstudio.exe -cfg "singleinstance=false;" somefile.lua
--[[ AUTHOR ]]-------------------------------------------------------------
Estrela Editor
Luxinia DevTeam: Eike Decker & Christoph Kubisch (info at luxinia.de)
ZeroBrane Studio and MobDebug
ZeroBrane LLC: Paul Kulchenko (paul@kulchenko.com)
--[[ LICENSE ]]------------------------------------------------------------
See LICENSE file

115
README.md Normal file
View File

@@ -0,0 +1,115 @@
# Project Description
[ZeroBrane Studio](http://studio.zerobrane.com/) is a lightweight cross-platform Lua IDE with code completion,
syntax highlighting, remote debugger, code analyzer, live coding,
and debugging support for several Lua engines
([Lua 5.1](http://studio.zerobrane.com/doc-lua-debugging),
[Lua 5.2](http://studio.zerobrane.com/doc-lua52-debugging),
[Lua 5.3](http://studio.zerobrane.com/doc-lua53-debugging),
[LuaJIT](http://studio.zerobrane.com/doc-luajit-debugging),
[Löve 2D](http://notebook.kulchenko.com/zerobrane/love2d-debugging),
[Moai](http://notebook.kulchenko.com/zerobrane/moai-debugging-with-zerobrane-studio),
[Gideros](http://notebook.kulchenko.com/zerobrane/gideros-debugging-with-zerobrane-studio-ide),
[Corona](http://notebook.kulchenko.com/zerobrane/debugging-and-live-coding-with-corona-sdk-applications-and-zerobrane-studio),
[Marmalade Quick](http://notebook.kulchenko.com/zerobrane/marmalade-quick-debugging-with-zerobrane-studio),
[Cocos2d-x](http://notebook.kulchenko.com/zerobrane/cocos2d-x-simulator-and-on-device-debugging-with-zerobrane-studio),
[GSL-shell](http://notebook.kulchenko.com/zerobrane/gsl-shell-debugging-with-zerobrane-studio),
[Adobe Lightroom](http://notebook.kulchenko.com/zerobrane/debugging-lightroom-plugins-zerobrane-studio-ide),
[OpenResty/Nginx](http://notebook.kulchenko.com/zerobrane/debugging-openresty-nginx-lua-scripts-with-zerobrane-studio),
[Lapis](http://notebook.kulchenko.com/zerobrane/lapis-debugging-with-zerobrane-studio),
[Moonscript](http://notebook.kulchenko.com/zerobrane/moonscript-debugging-with-zerobrane-studio),
and others). It originated from the [Estrela Editor](http://www.luxinia.de/index.php/Estrela/).
![ZeroBrane Studio debugger screenshot](http://studio.zerobrane.com/images/debugging.png)
## Features
* Written in Lua, so easily customizable.
* Small, portable, and cross-platform (Windows, Mac OSX, and Linux).
* Auto-completion for functions, keywords, and custom APIs.
* Interactive console to directly test code snippets with local and remote execution.
* Integrated debugger with local and [remote debugging](http://studio.zerobrane.com/doc-remote-debugging)
for [Lua 5.1](http://studio.zerobrane.com/doc-lua-debugging),
[Lua 5.2](http://studio.zerobrane.com/doc-lua52-debugging),
[Lua 5.3](http://studio.zerobrane.com/doc-lua53-debugging),
[LuaJIT](http://studio.zerobrane.com/doc-luajit-debugging),
and [other Lua engines](http://studio.zerobrane.com/documentation#debugging).
* [Live coding](http://studio.zerobrane.com/documentation#live_coding)
with [Lua](http://notebook.kulchenko.com/zerobrane/live-coding-in-lua-bret-victor-style),
[Löve 2D](http://notebook.kulchenko.com/zerobrane/live-coding-with-love),
[Gideros](http://notebook.kulchenko.com/zerobrane/gideros-live-coding-with-zerobrane-studio-ide),
[Moai](http://notebook.kulchenko.com/zerobrane/live-coding-with-moai-and-zerobrane-studio),
[Corona SDK](http://notebook.kulchenko.com/zerobrane/debugging-and-live-coding-with-corona-sdk-applications-and-zerobrane-studio),
GSL-shell, and other engines.
* Function outline.
* Fuzzy search with `Go To File`, `Go To Symbol`, and `Insert Library Function`.
* Several ways to extend the current functionality:
- specs (`spec/`): specifications for file syntax, lexer, and keywords;
- apis (`api/`): descriptions for [code completion and tooltips](http://studio.zerobrane.com/doc-api-auto-complete);
- interpreters (`interpreters/`): components for setting debugging and run-time project environment;
- packages (`packages/`): [plugins](http://studio.zerobrane.com/doc-plugin) that provide additional functionality;
- config (`cfg/`): settings for styles, color themes, and other preferences;
- translations (`cfg/i18n/`): [translations](http://studio.zerobrane.com/doc-translation) of the menus and messages to other languages;
- tools (`tools/`): additional tools.
## Documentation
* A [short and simple overview](http://studio.zerobrane.com/doc-getting-started) for those who are new to this development environment.
* A list of [frequently asked questions](http://studio.zerobrane.com/doc-faq) about the IDE.
* [Tutorials and demos](http://studio.zerobrane.com/tutorials) that cover debugging and live coding for different environments.
* [Tips and tricks](http://studio.zerobrane.com/doc-tips-and-tricks).
## Installation
ZeroBrane Studio can be installed into and run from any folder.
No compilation is needed, although the scripts to compile required libraries for Windows, OSX, and Linux platforms are available in the `build/` folder.
## Usage
```
Open file(s):
zbstudio [option] [<project directory>] <filename> [<filename>...]
non-options are treated as a project directory to set or a file to open
Set project directory:
zbstudio <project directory> [<filename>...]
(0.39+) a directory passed as a parameter will be set as the project directory
Override default configuration:
zbstudio -cfg "<luacode overriding config>" [<filename>]
e.g.: zbstudio -cfg "editor.fontsize=12" somefile.lua
Load custom configuration:
zbstudio -cfg path/file.lua [<filename>]
e.g.: zbstudio -cfg cfg/estrela.lua
```
If you are loading a file, you can also request the cursor to be set on a particular line or at a particular position by using `filename:<line>` and `filename:p<pos>` syntax (0.71+).
## Contributing
See [CONTRIBUTING](CONTRIBUTING.md).
## Author
### ZeroBrane Studio and MobDebug
**ZeroBrane LLC:** Paul Kulchenko (paul@kulchenko.com)
### Estrela Editor
**Luxinia Dev:** Christoph Kubisch (crazybutcher@luxinia.de)
## Where is Estrela?
The projects have been merged and ZeroBrane Studio will lead the future.
Please reassociate files with ZeroBrane Studio. To keep your history of files
and projects copy the contents of the `EstrelaEditor.ini` in your HOME
directory to `ZeroBraneStudio.ini`. If you have used Estrela for graphics
shader authoring or luxinia, create/modify the `cfg/user.lua` to include the
content of `cfg/estrela.lua` to load all tools and specifications by default
again.
## License
See [LICENSE](LICENSE).

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)",
@@ -71,13 +76,21 @@ ldexp = fn "build floating point number from x and the corresponding integral ex
packUnorm2x16 = fn "Converts each comp. of v into 16-bit ints, packs results into the returned 32-bit uint. - (uint)(vec2 v)",
packUnorm4x8 = fn "Converts each comp. of v into 8-bit ints, packs results into the returned 32-bit uint. - (uint)(vec4 v)",
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)",
packDouble2x32 = fn "Packs components of v into a 64-bit value and returns a double-prec value. - (double)(uvec2 v)",
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)",
@@ -117,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)",
@@ -135,20 +154,40 @@ EndPrimitive = fn "Completes current output primitive and starts a new one. - ()
barrier = fn "Synchronizes across shader invocations. - ()()",
memoryBarrier = 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)",
memoryBarrierAtomicCounter = fn "control ordering of memory transactions issued by shader thread. - ()()",
memoryBarrierShared = fn "control ordering of memory transactions issued by shader thread. - ()()",
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 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])",
@@ -164,44 +203,73 @@ 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 =
[[int uint half float bool double
vec2 vec3 vec4 dvec2 dvec3 dvec4
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
struct typedef void
usampler1D usampler2D usampler3D usampler2DRect usamplerCube isampler1DArray usampler2DARRAY usamplerCubeArray usampler2DMS usampler2DMSArray
isampler1D isampler2D isampler3D isampler2DRect isamplerCube isampler1DArray isampler2DARRAY isamplerCubeArray isampler2DMS isampler2DMSArray
sampler1D sampler2D sampler3D sampler2DRect samplerCube sampler1DArray sampler2DArray samplerCubeArray sampler2DMS sampler2DMSArray
sampler1DShadow sampler2DShadow sampler2DRectShadow sampler1DArrayShadow sampler2DArrayShadow samplerCubeArrayShadow
usamplerBuffer isamplerBuffer samplerBuffer
in out inout uniform const centroid sample attribute varying patch
return switch case for do while if else break continue
layout location vertices line_strip triangle_strip max_vertices stream
triangles quads equal_spacing isolines fractional_even_spacing
fractional_odd_spacing cw ccw point_mode lines_adjacency triangles_adjacency
invocations
origin_upper_left pixel_center_integer
smooth flat noperspective highp mediump lowp shared packed std140 row_major column_major
gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_Color gl_SecondaryColor
subroutine gl_Position
gl_VertexID gl_InstanceID gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1
gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6
gl_MultiTexCoord7 gl_FogCoord gl_PointSize gl_ClipDistance
gl_TexCoord gl_FogFragCoord gl_ClipVertex gl_in
gl_PatchVerticesIn
gl_PrimitiveID gl_InvocationID gl_TessLevelOuter gl_TessLevelInner gl_TessCoord
gl_InvocationID gl_PrimitiveIDIn gl_Layer gl_ViewportIndex gl_FrontFacing
gl_PointCoord gl_SampleID gl_SamplePosition gl_FragColor
gl_FragData gl_FragDepth gl_SampleMask
[[ int uint half float bool double atomic_uint binding offset
vec2 vec3 vec4 dvec2 dvec3 dvec4
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
sampler1D sampler2D sampler3D sampler2DRect samplerCube sampler1DArray sampler2DArray samplerCubeArray sampler2DMS sampler2DMSArray
sampler1DShadow sampler2DShadow sampler2DRectShadow sampler1DArrayShadow sampler2DArrayShadow samplerCubeArrayShadow
usamplerBuffer isamplerBuffer samplerBuffer samplerRenderbuffer isamplerRenderbuffer usamplerRenderbuffer
in out inout uniform const centroid sample attribute varying patch index true false
return switch case for do while if else break continue main inline
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 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
subroutine gl_Position gl_FragCoord
gl_VertexID gl_InstanceID gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1
gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6
gl_MultiTexCoord7 gl_FogCoord gl_PointSize gl_ClipDistance
gl_TexCoord gl_FogFragCoord gl_ClipVertex gl_in
gl_PatchVerticesIn
gl_PrimitiveID gl_InvocationID gl_TessLevelOuter gl_TessLevelInner gl_TessCoord
gl_InvocationID gl_PrimitiveIDIn gl_Layer gl_ViewportIndex gl_FrontFacing
gl_PointCoord gl_SampleID gl_SamplePosition gl_FragColor
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
uimage1D uimage2D uimage3D uimage2DRect uimageCube uimageBuffer uimage1DArray uimage2DArray uimageCubeArray uimage2DMS uimage2DMSArray
iimage1D iimage2D iimage3D iimage2DRect iimageCube iimageBuffer iimage1DArray iimage2DArray iimageCubeArray iimage2DMS iimage2DMSArray
size1x8 size1x16 size1x32 size2x32 size4x32 rgba32f rgba16f rg32f rg16f r32f r16f rgba8 rgba16 r11f_g11f_b10f rgb10_a2ui
rgb10_a2i rg16 rg8 r16 r8 rgba32i rgba16i rgba8i rg32i rg16i rg8i r32i r16i r8i rgba32ui rgba16ui rgba8ui rg32ui rg16ui rg8ui
r32ui r16ui r8ui rgba16_snorm rgba8_snorm rg16_snorm rg8_snorm r16_snorm r8_snorm
]]
-- keywords - shouldn't be left out
for w in keyw:gmatch("([a-zA-Z_0-9]+)") do
api[w] = {type="keyword"}
api[w] = {type="keyword"}
end
return api

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

553
api/lua/anttweakbar.lua Normal file
View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,572 +0,0 @@
--[[// cggl cgGL | Cg OpenGL runtime
typedef unsigned int GLuint;
typedef unsigned int GLenum;
typedef void GLvoid;
typedef int GLsizei;
typedef int GLint;
typedef enum
{
CG_GL_MATRIX_IDENTITY = 0,
CG_GL_MATRIX_TRANSPOSE = 1,
CG_GL_MATRIX_INVERSE = 2,
CG_GL_MATRIX_INVERSE_TRANSPOSE = 3,
CG_GL_MODELVIEW_MATRIX = 4,
CG_GL_PROJECTION_MATRIX = 5,
CG_GL_TEXTURE_MATRIX = 6,
CG_GL_MODELVIEW_PROJECTION_MATRIX = 7,
CG_GL_VERTEX = 8,
CG_GL_FRAGMENT = 9,
CG_GL_GEOMETRY = 10,
CG_GL_TESSELLATION_CONTROL = 11,
CG_GL_TESSELLATION_EVALUATION = 12
} CGGLenum;
CGbool cgGLIsProfileSupported(CGprofile profile);
void cgGLEnableProfile(CGprofile profile);
void cgGLDisableProfile(CGprofile profile);
CGprofile cgGLGetLatestProfile(CGGLenum profile_type);
void cgGLSetOptimalOptions(CGprofile profile);
char const ** cgGLGetOptimalOptions(CGprofile profile);
void cgGLLoadProgram(CGprogram program);
void cgGLUnloadProgram(CGprogram program);
CGbool cgGLIsProgramLoaded(CGprogram program);
void cgGLBindProgram(CGprogram program);
void cgGLUnbindProgram(CGprofile profile);
GLuint cgGLGetProgramID(CGprogram program);
void cgGLSetParameter1f(CGparameter param, float x);
void cgGLSetParameter2f(CGparameter param, float x, float y);
void cgGLSetParameter3f(CGparameter param, float x, float y, float z);
void cgGLSetParameter4f(CGparameter param, float x, float y, float z, float w);
void cgGLSetParameter1fv(CGparameter param, const float *v);
void cgGLSetParameter2fv(CGparameter param, const float *v);
void cgGLSetParameter3fv(CGparameter param, const float *v);
void cgGLSetParameter4fv(CGparameter param, const float *v);
void cgGLSetParameter1d(CGparameter param, double x);
void cgGLSetParameter2d(CGparameter param, double x, double y);
void cgGLSetParameter3d(CGparameter param, double x, double y, double z);
void cgGLSetParameter4d(CGparameter param, double x, double y, double z, double w);
void cgGLSetParameter1dv(CGparameter param, const double *v);
void cgGLSetParameter2dv(CGparameter param, const double *v);
void cgGLSetParameter3dv(CGparameter param, const double *v);
void cgGLSetParameter4dv(CGparameter param, const double *v);
void cgGLGetParameter1f(CGparameter param, float *v);
void cgGLGetParameter2f(CGparameter param, float *v);
void cgGLGetParameter3f(CGparameter param, float *v);
void cgGLGetParameter4f(CGparameter param, float *v);
void cgGLGetParameter1d(CGparameter param, double *v);
void cgGLGetParameter2d(CGparameter param, double *v);
void cgGLGetParameter3d(CGparameter param, double *v);
void cgGLGetParameter4d(CGparameter param, double *v);
void cgGLSetParameterArray1f(CGparameter param, long offset, long nelements, const float *v);
void cgGLSetParameterArray2f(CGparameter param, long offset, long nelements, const float *v);
void cgGLSetParameterArray3f(CGparameter param, long offset, long nelements, const float *v);
void cgGLSetParameterArray4f(CGparameter param, long offset, long nelements, const float *v);
void cgGLSetParameterArray1d(CGparameter param, long offset, long nelements, const double *v);
void cgGLSetParameterArray2d(CGparameter param, long offset, long nelements, const double *v);
void cgGLSetParameterArray3d(CGparameter param, long offset, long nelements, const double *v);
void cgGLSetParameterArray4d(CGparameter param, long offset, long nelements, const double *v);
void cgGLGetParameterArray1f(CGparameter param, long offset, long nelements, float *v);
void cgGLGetParameterArray2f(CGparameter param, long offset, long nelements, float *v);
void cgGLGetParameterArray3f(CGparameter param, long offset, long nelements, float *v);
void cgGLGetParameterArray4f(CGparameter param, long offset, long nelements, float *v);
void cgGLGetParameterArray1d(CGparameter param, long offset, long nelements, double *v);
void cgGLGetParameterArray2d(CGparameter param, long offset, long nelements, double *v);
void cgGLGetParameterArray3d(CGparameter param, long offset, long nelements, double *v);
void cgGLGetParameterArray4d(CGparameter param, long offset, long nelements, double *v);
void cgGLSetParameterPointer(CGparameter param, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
void cgGLEnableClientState(CGparameter param);
void cgGLDisableClientState(CGparameter param);
void cgGLSetMatrixParameterdr(CGparameter param, const double *matrix);
void cgGLSetMatrixParameterfr(CGparameter param, const float *matrix);
void cgGLSetMatrixParameterdc(CGparameter param, const double *matrix);
void cgGLSetMatrixParameterfc(CGparameter param, const float *matrix);
void cgGLGetMatrixParameterdr(CGparameter param, double *matrix);
void cgGLGetMatrixParameterfr(CGparameter param, float *matrix);
void cgGLGetMatrixParameterdc(CGparameter param, double *matrix);
void cgGLGetMatrixParameterfc(CGparameter param, float *matrix);
void cgGLSetStateMatrixParameter(CGparameter param, CGGLenum matrix, CGGLenum transform);
void cgGLSetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, const float *matrices);
void cgGLSetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, const float *matrices);
void cgGLSetMatrixParameterArraydc(CGparameter param, long offset, long nelements, const double *matrices);
void cgGLSetMatrixParameterArraydr(CGparameter param, long offset, long nelements, const double *matrices);
void cgGLGetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, float *matrices);
void cgGLGetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, float *matrices);
void cgGLGetMatrixParameterArraydc(CGparameter param, long offset, long nelements, double *matrices);
void cgGLGetMatrixParameterArraydr(CGparameter param, long offset, long nelements, double *matrices);
void cgGLSetTextureParameter(CGparameter param, GLuint texobj);
GLuint cgGLGetTextureParameter(CGparameter param);
void cgGLEnableTextureParameter(CGparameter param);
void cgGLDisableTextureParameter(CGparameter param);
GLenum cgGLGetTextureEnum(CGparameter param);
void cgGLSetManageTextureParameters(CGcontext ctx, CGbool flag);
CGbool cgGLGetManageTextureParameters(CGcontext ctx);
void cgGLSetupSampler(CGparameter param, GLuint texobj);
void cgGLRegisterStates(CGcontext ctx);
void cgGLEnableProgramProfiles(CGprogram program);
void cgGLDisableProgramProfiles(CGprogram program);
void cgGLSetDebugMode(CGbool debug);
CGbuffer cgGLCreateBuffer(CGcontext context, int size, const void *data, GLenum bufferUsage);
GLuint cgGLGetBufferObject(CGbuffer buffer);
]]
--auto-generated api from ffi headers
local api =
{
["CGGLenum"] = { type ='value', description = "", valuetype = nil, },
["CG_GL_MATRIX_IDENTITY"] = { type ='value', },
["CG_GL_MATRIX_TRANSPOSE"] = { type ='value', },
["CG_GL_MATRIX_INVERSE"] = { type ='value', },
["CG_GL_MATRIX_INVERSE_TRANSPOSE"] = { type ='value', },
["CG_GL_MODELVIEW_MATRIX"] = { type ='value', },
["CG_GL_PROJECTION_MATRIX"] = { type ='value', },
["CG_GL_TEXTURE_MATRIX"] = { type ='value', },
["CG_GL_MODELVIEW_PROJECTION_MATRIX"] = { type ='value', },
["CG_GL_VERTEX"] = { type ='value', },
["CG_GL_FRAGMENT"] = { type ='value', },
["CG_GL_GEOMETRY"] = { type ='value', },
["CG_GL_TESSELLATION_CONTROL"] = { type ='value', },
["CG_GL_TESSELLATION_EVALUATION"] = { type ='value', },
["cgGLIsProfileSupported"] = { type ='function',
description = "",
returns = "(CGbool)",
valuetype = nil,
args = "(CGprofile profile)", },
["cgGLEnableProfile"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprofile profile)", },
["cgGLDisableProfile"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprofile profile)", },
["cgGLGetLatestProfile"] = { type ='function',
description = "",
returns = "(CGprofile)",
valuetype = nil,
args = "(CGGLenum profile_type)", },
["cgGLSetOptimalOptions"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprofile profile)", },
["cgGLGetOptimalOptions"] = { type ='function',
description = "",
returns = "(char const **)",
valuetype = nil,
args = "(CGprofile profile)", },
["cgGLLoadProgram"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprogram program)", },
["cgGLUnloadProgram"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprogram program)", },
["cgGLIsProgramLoaded"] = { type ='function',
description = "",
returns = "(CGbool)",
valuetype = nil,
args = "(CGprogram program)", },
["cgGLBindProgram"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprogram program)", },
["cgGLUnbindProgram"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprofile profile)", },
["cgGLGetProgramID"] = { type ='function',
description = "",
returns = "(GLuint)",
valuetype = nil,
args = "(CGprogram program)", },
["cgGLSetParameter1f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float x)", },
["cgGLSetParameter2f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float x, float y)", },
["cgGLSetParameter3f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float x, float y, float z)", },
["cgGLSetParameter4f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float x, float y, float z, float w)", },
["cgGLSetParameter1fv"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const float *v)", },
["cgGLSetParameter2fv"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const float *v)", },
["cgGLSetParameter3fv"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const float *v)", },
["cgGLSetParameter4fv"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const float *v)", },
["cgGLSetParameter1d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double x)", },
["cgGLSetParameter2d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double x, double y)", },
["cgGLSetParameter3d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double x, double y, double z)", },
["cgGLSetParameter4d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double x, double y, double z, double w)", },
["cgGLSetParameter1dv"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const double *v)", },
["cgGLSetParameter2dv"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const double *v)", },
["cgGLSetParameter3dv"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const double *v)", },
["cgGLSetParameter4dv"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const double *v)", },
["cgGLGetParameter1f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float *v)", },
["cgGLGetParameter2f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float *v)", },
["cgGLGetParameter3f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float *v)", },
["cgGLGetParameter4f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float *v)", },
["cgGLGetParameter1d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double *v)", },
["cgGLGetParameter2d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double *v)", },
["cgGLGetParameter3d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double *v)", },
["cgGLGetParameter4d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double *v)", },
["cgGLSetParameterArray1f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const float *v)", },
["cgGLSetParameterArray2f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const float *v)", },
["cgGLSetParameterArray3f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const float *v)", },
["cgGLSetParameterArray4f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const float *v)", },
["cgGLSetParameterArray1d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const double *v)", },
["cgGLSetParameterArray2d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const double *v)", },
["cgGLSetParameterArray3d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const double *v)", },
["cgGLSetParameterArray4d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const double *v)", },
["cgGLGetParameterArray1f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, float *v)", },
["cgGLGetParameterArray2f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, float *v)", },
["cgGLGetParameterArray3f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, float *v)", },
["cgGLGetParameterArray4f"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, float *v)", },
["cgGLGetParameterArray1d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, double *v)", },
["cgGLGetParameterArray2d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, double *v)", },
["cgGLGetParameterArray3d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, double *v)", },
["cgGLGetParameterArray4d"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, double *v)", },
["cgGLSetParameterPointer"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer)", },
["cgGLEnableClientState"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param)", },
["cgGLDisableClientState"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param)", },
["cgGLSetMatrixParameterdr"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const double *matrix)", },
["cgGLSetMatrixParameterfr"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const float *matrix)", },
["cgGLSetMatrixParameterdc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const double *matrix)", },
["cgGLSetMatrixParameterfc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, const float *matrix)", },
["cgGLGetMatrixParameterdr"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double *matrix)", },
["cgGLGetMatrixParameterfr"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float *matrix)", },
["cgGLGetMatrixParameterdc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, double *matrix)", },
["cgGLGetMatrixParameterfc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, float *matrix)", },
["cgGLSetStateMatrixParameter"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, CGGLenum matrix, CGGLenum transform)", },
["cgGLSetMatrixParameterArrayfc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const float *matrices)", },
["cgGLSetMatrixParameterArrayfr"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const float *matrices)", },
["cgGLSetMatrixParameterArraydc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const double *matrices)", },
["cgGLSetMatrixParameterArraydr"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, const double *matrices)", },
["cgGLGetMatrixParameterArrayfc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, float *matrices)", },
["cgGLGetMatrixParameterArrayfr"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, float *matrices)", },
["cgGLGetMatrixParameterArraydc"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, double *matrices)", },
["cgGLGetMatrixParameterArraydr"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, long offset, long nelements, double *matrices)", },
["cgGLSetTextureParameter"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, GLuint texobj)", },
["cgGLGetTextureParameter"] = { type ='function',
description = "",
returns = "(GLuint)",
valuetype = nil,
args = "(CGparameter param)", },
["cgGLEnableTextureParameter"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param)", },
["cgGLDisableTextureParameter"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param)", },
["cgGLGetTextureEnum"] = { type ='function',
description = "",
returns = "(GLenum)",
valuetype = nil,
args = "(CGparameter param)", },
["cgGLSetManageTextureParameters"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGcontext ctx, CGbool flag)", },
["cgGLGetManageTextureParameters"] = { type ='function',
description = "",
returns = "(CGbool)",
valuetype = nil,
args = "(CGcontext ctx)", },
["cgGLSetupSampler"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGparameter param, GLuint texobj)", },
["cgGLRegisterStates"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGcontext ctx)", },
["cgGLEnableProgramProfiles"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprogram program)", },
["cgGLDisableProgramProfiles"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGprogram program)", },
["cgGLSetDebugMode"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(CGbool debug)", },
["cgGLCreateBuffer"] = { type ='function',
description = "",
returns = "(CGbuffer)",
valuetype = nil,
args = "(CGcontext context, int size, const void *data, GLenum bufferUsage)", },
["cgGLGetBufferObject"] = { type ='function',
description = "",
returns = "(GLuint)",
valuetype = nil,
args = "(CGbuffer buffer)", },
}
return {
cggl = {
type = 'lib',
description = "Cg OpenGL runtime",
childs = api,
},
cgGL = {
type = 'lib',
description = "Cg OpenGL runtime",
childs = api,
},
}

4170
api/lua/corona.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,79 +0,0 @@
--[[// cugl cuGL | Cuda GL Interop
/*
* Copyright 1993-2010 NVIDIA Corporation. All rights reserved.
*
* NOTICE TO USER:
*
* This source code is subject to NVIDIA ownership rights under U.S. and
* international Copyright laws. Users and possessors of this source code
* are hereby granted a nonexclusive, royalty-free license to use this code
* in individual and commercial software.
*
* NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE
* CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR
* IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE.
* IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL,
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
* OR PERFORMANCE OF THIS SOURCE CODE.
*
* U.S. Government End Users. This source code is a "commercial item" as
* that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of
* "commercial computer software" and "commercial computer software
* documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995)
* and is provided to the U.S. Government only as a commercial end item.
* Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through
* 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the
* source code with only those rights set forth herein.
*
* Any use of this source code in individual and commercial software must
* include, in the user documentation and internal comments to the code,
* the above Disclaimer and U.S. Government End Users Notice.
*/
CUresult cuGLCtxCreate_v2(CUcontext *pCtx, unsigned int Flags, CUdevice device );
CUresult cuGraphicsGLRegisterBuffer(CUgraphicsResource *pCudaResource, GLuint buffer, unsigned int Flags);
CUresult cuGraphicsGLRegisterImage(CUgraphicsResource *pCudaResource, GLuint image, GLenum target, unsigned int Flags);
typedef void* HGPUNV;
CUresult cuWGLGetDevice(CUdevice *pDevice, HGPUNV hGpu);
]]
--auto-generated api from ffi headers
local api =
{
["cuGLCtxCreate_v2"] = { type ='function',
description = "",
returns = "(CUresult)",
valuetype = nil,
args = "(CUcontext *pCtx, unsigned int Flags, CUdevice device)", },
["cuGraphicsGLRegisterBuffer"] = { type ='function',
description = "",
returns = "(CUresult)",
valuetype = nil,
args = "(CUgraphicsResource *pCudaResource, GLuint buffer, unsigned int Flags)", },
["cuGraphicsGLRegisterImage"] = { type ='function',
description = "",
returns = "(CUresult)",
valuetype = nil,
args = "(CUgraphicsResource *pCudaResource, GLuint image, GLenum target, unsigned int Flags)", },
["cuWGLGetDevice"] = { type ='function',
description = "",
returns = "(CUresult)",
valuetype = nil,
args = "(CUdevice *pDevice, HGPUNV hGpu)", },
}
return {
cugl = {
type = 'lib',
description = "Cuda GL Interop",
childs = api,
},
cuGL = {
type = 'lib',
description = "Cuda GL Interop",
childs = api,
},
}

3607
api/lua/gideros.lua Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

930
api/lua/glfw.lua Normal file
View File

@@ -0,0 +1,930 @@
--[[// glfw | GLFW window manager
enum {
/*************************************************************************
* GLFW version
*************************************************************************/
GLFW_VERSION_MAJOR =2,
GLFW_VERSION_MINOR =7,
GLFW_VERSION_REVISION =2,
/*************************************************************************
* Input handling definitions
*************************************************************************/
/* Key and button state/action definitions */
GLFW_RELEASE =0,
GLFW_PRESS =1,
GLFW_TRUE = 1,
GLFW_FALSE = 0,
/* Keyboard key definitions: 8-bit ISO-8859-1 (Latin 1) encoding is used
* for printable keys (such as A-Z, 0-9 etc), and values above 256
* represent special (non-printable) keys (e.g. F1, Page Up etc).
*/
GLFW_KEY_UNKNOWN =-1,
GLFW_KEY_SPACE =32,
GLFW_KEY_APOSTROPHE = 39,
GLFW_KEY_COMMA = 44,
GLFW_KEY_MINUS = 45,
GLFW_KEY_PERIOD = 46,
GLFW_KEY_SLASH = 47,
GLFW_KEY_0 = 48,
GLFW_KEY_1 = 49,
GLFW_KEY_2 = 50,
GLFW_KEY_3 = 51,
GLFW_KEY_4 = 52,
GLFW_KEY_5 = 53,
GLFW_KEY_6 = 54,
GLFW_KEY_7 = 55,
GLFW_KEY_8 = 56,
GLFW_KEY_9 = 57,
GLFW_KEY_SEMICOLON = 59,
GLFW_KEY_EQUAL = 61,
GLFW_KEY_A = 65,
GLFW_KEY_B = 66,
GLFW_KEY_C = 67,
GLFW_KEY_D = 68,
GLFW_KEY_E = 69,
GLFW_KEY_F = 70,
GLFW_KEY_G = 71,
GLFW_KEY_H = 72,
GLFW_KEY_I = 73,
GLFW_KEY_J = 74,
GLFW_KEY_K = 75,
GLFW_KEY_L = 76,
GLFW_KEY_M = 77,
GLFW_KEY_N = 78,
GLFW_KEY_O = 79,
GLFW_KEY_P = 80,
GLFW_KEY_Q = 81,
GLFW_KEY_R = 82,
GLFW_KEY_S = 83,
GLFW_KEY_T = 84,
GLFW_KEY_U = 85,
GLFW_KEY_V = 86,
GLFW_KEY_W = 87,
GLFW_KEY_X = 88,
GLFW_KEY_Y = 89,
GLFW_KEY_Z = 90,
GLFW_KEY_LEFT_BRACKET = 91,
GLFW_KEY_BACKSLASH = 92,
GLFW_KEY_RIGHT_BRACKET = 93,
GLFW_KEY_GRAVE_ACCENT = 96,
GLFW_KEY_WORLD_1 = 161,
GLFW_KEY_WORLD_2 = 162,
GLFW_KEY_SPECIAL =256,
GLFW_KEY_ESC =(GLFW_KEY_SPECIAL+1),
GLFW_KEY_F1 =(GLFW_KEY_SPECIAL+2),
GLFW_KEY_F2 =(GLFW_KEY_SPECIAL+3),
GLFW_KEY_F3 =(GLFW_KEY_SPECIAL+4),
GLFW_KEY_F4 =(GLFW_KEY_SPECIAL+5),
GLFW_KEY_F5 =(GLFW_KEY_SPECIAL+6),
GLFW_KEY_F6 =(GLFW_KEY_SPECIAL+7),
GLFW_KEY_F7 =(GLFW_KEY_SPECIAL+8),
GLFW_KEY_F8 =(GLFW_KEY_SPECIAL+9),
GLFW_KEY_F9 =(GLFW_KEY_SPECIAL+10),
GLFW_KEY_F10 =(GLFW_KEY_SPECIAL+11),
GLFW_KEY_F11 =(GLFW_KEY_SPECIAL+12),
GLFW_KEY_F12 =(GLFW_KEY_SPECIAL+13),
GLFW_KEY_F13 =(GLFW_KEY_SPECIAL+14),
GLFW_KEY_F14 =(GLFW_KEY_SPECIAL+15),
GLFW_KEY_F15 =(GLFW_KEY_SPECIAL+16),
GLFW_KEY_F16 =(GLFW_KEY_SPECIAL+17),
GLFW_KEY_F17 =(GLFW_KEY_SPECIAL+18),
GLFW_KEY_F18 =(GLFW_KEY_SPECIAL+19),
GLFW_KEY_F19 =(GLFW_KEY_SPECIAL+20),
GLFW_KEY_F20 =(GLFW_KEY_SPECIAL+21),
GLFW_KEY_F21 =(GLFW_KEY_SPECIAL+22),
GLFW_KEY_F22 =(GLFW_KEY_SPECIAL+23),
GLFW_KEY_F23 =(GLFW_KEY_SPECIAL+24),
GLFW_KEY_F24 =(GLFW_KEY_SPECIAL+25),
GLFW_KEY_F25 =(GLFW_KEY_SPECIAL+26),
GLFW_KEY_UP =(GLFW_KEY_SPECIAL+27),
GLFW_KEY_DOWN =(GLFW_KEY_SPECIAL+28),
GLFW_KEY_LEFT =(GLFW_KEY_SPECIAL+29),
GLFW_KEY_RIGHT =(GLFW_KEY_SPECIAL+30),
GLFW_KEY_LSHIFT =(GLFW_KEY_SPECIAL+31),
GLFW_KEY_RSHIFT =(GLFW_KEY_SPECIAL+32),
GLFW_KEY_LCTRL =(GLFW_KEY_SPECIAL+33),
GLFW_KEY_RCTRL =(GLFW_KEY_SPECIAL+34),
GLFW_KEY_LALT =(GLFW_KEY_SPECIAL+35),
GLFW_KEY_RALT =(GLFW_KEY_SPECIAL+36),
GLFW_KEY_TAB =(GLFW_KEY_SPECIAL+37),
GLFW_KEY_ENTER =(GLFW_KEY_SPECIAL+38),
GLFW_KEY_BACKSPACE =(GLFW_KEY_SPECIAL+39),
GLFW_KEY_INSERT =(GLFW_KEY_SPECIAL+40),
GLFW_KEY_DEL =(GLFW_KEY_SPECIAL+41),
GLFW_KEY_PAGEUP =(GLFW_KEY_SPECIAL+42),
GLFW_KEY_PAGEDOWN =(GLFW_KEY_SPECIAL+43),
GLFW_KEY_HOME =(GLFW_KEY_SPECIAL+44),
GLFW_KEY_END =(GLFW_KEY_SPECIAL+45),
GLFW_KEY_KP_0 =(GLFW_KEY_SPECIAL+46),
GLFW_KEY_KP_1 =(GLFW_KEY_SPECIAL+47),
GLFW_KEY_KP_2 =(GLFW_KEY_SPECIAL+48),
GLFW_KEY_KP_3 =(GLFW_KEY_SPECIAL+49),
GLFW_KEY_KP_4 =(GLFW_KEY_SPECIAL+50),
GLFW_KEY_KP_5 =(GLFW_KEY_SPECIAL+51),
GLFW_KEY_KP_6 =(GLFW_KEY_SPECIAL+52),
GLFW_KEY_KP_7 =(GLFW_KEY_SPECIAL+53),
GLFW_KEY_KP_8 =(GLFW_KEY_SPECIAL+54),
GLFW_KEY_KP_9 =(GLFW_KEY_SPECIAL+55),
GLFW_KEY_KP_DIVIDE =(GLFW_KEY_SPECIAL+56),
GLFW_KEY_KP_MULTIPLY =(GLFW_KEY_SPECIAL+57),
GLFW_KEY_KP_SUBTRACT =(GLFW_KEY_SPECIAL+58),
GLFW_KEY_KP_ADD =(GLFW_KEY_SPECIAL+59),
GLFW_KEY_KP_DECIMAL =(GLFW_KEY_SPECIAL+60),
GLFW_KEY_KP_EQUAL =(GLFW_KEY_SPECIAL+61),
GLFW_KEY_KP_ENTER =(GLFW_KEY_SPECIAL+62),
GLFW_KEY_KP_NUM_LOCK =(GLFW_KEY_SPECIAL+63),
GLFW_KEY_CAPS_LOCK =(GLFW_KEY_SPECIAL+64),
GLFW_KEY_SCROLL_LOCK =(GLFW_KEY_SPECIAL+65),
GLFW_KEY_PAUSE =(GLFW_KEY_SPECIAL+66),
GLFW_KEY_LSUPER =(GLFW_KEY_SPECIAL+67),
GLFW_KEY_RSUPER =(GLFW_KEY_SPECIAL+68),
GLFW_KEY_MENU =(GLFW_KEY_SPECIAL+69),
GLFW_KEY_LAST =GLFW_KEY_MENU,
/* Mouse button definitions */
GLFW_MOUSE_BUTTON_1 =0,
GLFW_MOUSE_BUTTON_2 =1,
GLFW_MOUSE_BUTTON_3 =2,
GLFW_MOUSE_BUTTON_4 =3,
GLFW_MOUSE_BUTTON_5 =4,
GLFW_MOUSE_BUTTON_6 =5,
GLFW_MOUSE_BUTTON_7 =6,
GLFW_MOUSE_BUTTON_8 =7,
GLFW_MOUSE_BUTTON_LAST =GLFW_MOUSE_BUTTON_8,
/* Mouse button aliases */
GLFW_MOUSE_BUTTON_LEFT =GLFW_MOUSE_BUTTON_1,
GLFW_MOUSE_BUTTON_RIGHT =GLFW_MOUSE_BUTTON_2,
GLFW_MOUSE_BUTTON_MIDDLE =GLFW_MOUSE_BUTTON_3,
/* Joystick identifiers */
GLFW_JOYSTICK_1 =0,
GLFW_JOYSTICK_2 =1,
GLFW_JOYSTICK_3 =2,
GLFW_JOYSTICK_4 =3,
GLFW_JOYSTICK_5 =4,
GLFW_JOYSTICK_6 =5,
GLFW_JOYSTICK_7 =6,
GLFW_JOYSTICK_8 =7,
GLFW_JOYSTICK_9 =8,
GLFW_JOYSTICK_10 =9,
GLFW_JOYSTICK_11 =10,
GLFW_JOYSTICK_12 =11,
GLFW_JOYSTICK_13 =12,
GLFW_JOYSTICK_14 =13,
GLFW_JOYSTICK_15 =14,
GLFW_JOYSTICK_16 =15,
GLFW_JOYSTICK_LAST =GLFW_JOYSTICK_16,
/*************************************************************************
* Other definitions
*************************************************************************/
/* glfwOpenWindow modes */
GLFW_WINDOW =0x00010001,
GLFW_FULLSCREEN =0x00010002,
/* glfwGetWindowParam tokens */
GLFW_OPENED =0x00020001,
GLFW_ACTIVE =0x00020002,
GLFW_ICONIFIED =0x00020003,
GLFW_ACCELERATED =0x00020004,
GLFW_RED_BITS =0x00020005,
GLFW_GREEN_BITS =0x00020006,
GLFW_BLUE_BITS =0x00020007,
GLFW_ALPHA_BITS =0x00020008,
GLFW_DEPTH_BITS =0x00020009,
GLFW_STENCIL_BITS =0x0002000A,
/* The following constants are used for both glfwGetWindowParam
* and glfwOpenWindowHint
*/
GLFW_REFRESH_RATE =0x0002000B,
GLFW_ACCUM_RED_BITS =0x0002000C,
GLFW_ACCUM_GREEN_BITS =0x0002000D,
GLFW_ACCUM_BLUE_BITS =0x0002000E,
GLFW_ACCUM_ALPHA_BITS =0x0002000F,
GLFW_AUX_BUFFERS =0x00020010,
GLFW_STEREO =0x00020011,
GLFW_WINDOW_NO_RESIZE =0x00020012,
GLFW_FSAA_SAMPLES =0x00020013,
GLFW_OPENGL_VERSION_MAJOR =0x00020014,
GLFW_OPENGL_VERSION_MINOR =0x00020015,
GLFW_OPENGL_FORWARD_COMPAT =0x00020016,
GLFW_OPENGL_DEBUG_CONTEXT =0x00020017,
GLFW_OPENGL_PROFILE =0x00020018,
/* GLFW_OPENGL_PROFILE tokens */
GLFW_OPENGL_CORE_PROFILE =0x00050001,
GLFW_OPENGL_COMPAT_PROFILE =0x00050002,
/* glfwEnable/glfwDisable tokens */
GLFW_MOUSE_CURSOR =0x00030001,
GLFW_STICKY_KEYS =0x00030002,
GLFW_STICKY_MOUSE_BUTTONS =0x00030003,
GLFW_SYSTEM_KEYS =0x00030004,
GLFW_KEY_REPEAT =0x00030005,
GLFW_AUTO_POLL_EVENTS =0x00030006,
/* glfwWaitThread wait modes */
GLFW_WAIT =0x00040001,
GLFW_NOWAIT =0x00040002,
/* glfwGetJoystickParam tokens */
GLFW_PRESENT =0x00050001,
GLFW_AXES =0x00050002,
GLFW_BUTTONS =0x00050003,
/* glfwReadImage/glfwLoadTexture2D flags */
GLFW_NO_RESCALE_BIT =0x00000001 /* Only for glfwReadImage */,
GLFW_ORIGIN_UL_BIT =0x00000002,
GLFW_BUILD_MIPMAPS_BIT =0x00000004 /* Only for glfwLoadTexture2D */,
GLFW_ALPHA_MAP_BIT =0x00000008,
/* Time spans longer than this (seconds) are considered to be infinity */
};
const float GLFW_INFINITY =100000.0;
/* The video mode structure used by glfwGetVideoModes() */
typedef struct {
int Width, Height;
int RedBits, BlueBits, GreenBits;
} GLFWvidmode;
/* Image/texture information */
typedef struct {
int Width, Height;
int Format;
int BytesPerPixel;
unsigned char *Data;
} GLFWimage;
/* Thread ID */
typedef int GLFWthread;
/* Mutex object */
typedef void * GLFWmutex;
/* Condition variable object */
typedef void * GLFWcond;
/* Function pointer types */
typedef void (GLFWCALL * GLFWwindowsizefun)(int,int);
typedef int (GLFWCALL * GLFWwindowclosefun)(void);
typedef void (GLFWCALL * GLFWwindowrefreshfun)(void);
typedef void (GLFWCALL * GLFWmousebuttonfun)(int,int);
typedef void (GLFWCALL * GLFWmouseposfun)(int,int);
typedef void (GLFWCALL * GLFWmousewheelfun)(int);
typedef void (GLFWCALL * GLFWkeyfun)(int,int);
typedef void (GLFWCALL * GLFWcharfun)(int,int);
typedef void (GLFWCALL * GLFWthreadfun)(void *);
/*************************************************************************
* Prototypes
*************************************************************************/
/* GLFW initialization, termination and version querying */
int glfwInit( void );
void glfwTerminate( void );
void glfwGetVersion( int *major, int *minor, int *rev );
/* Window handling */
int glfwOpenWindow( int width, int height, int redbits, int greenbits, int bluebits, int alphabits, int depthbits, int stencilbits, int mode );
void glfwOpenWindowHint( int target, int hint );
void glfwCloseWindow( void );
void glfwSetWindowTitle( const char *title );
void glfwGetWindowSize( int *width, int *height );
void glfwSetWindowSize( int width, int height );
void glfwSetWindowPos( int x, int y );
void glfwIconifyWindow( void );
void glfwRestoreWindow( void );
void glfwSwapBuffers( void );
void glfwSwapInterval( int interval );
int glfwGetWindowParam( int param );
void glfwSetWindowSizeCallback( GLFWwindowsizefun cbfun );
void glfwSetWindowCloseCallback( GLFWwindowclosefun cbfun );
void glfwSetWindowRefreshCallback( GLFWwindowrefreshfun cbfun );
/* Video mode functions */
int glfwGetVideoModes( GLFWvidmode *list, int maxcount );
void glfwGetDesktopMode( GLFWvidmode *mode );
/* Input handling */
void glfwPollEvents( void );
void glfwWaitEvents( void );
int glfwGetKey( int key );
int glfwGetMouseButton( int button );
void glfwGetMousePos( int *xpos, int *ypos );
void glfwSetMousePos( int xpos, int ypos );
int glfwGetMouseWheel( void );
void glfwSetMouseWheel( int pos );
void glfwSetKeyCallback( GLFWkeyfun cbfun );
void glfwSetCharCallback( GLFWcharfun cbfun );
void glfwSetMouseButtonCallback( GLFWmousebuttonfun cbfun );
void glfwSetMousePosCallback( GLFWmouseposfun cbfun );
void glfwSetMouseWheelCallback( GLFWmousewheelfun cbfun );
/* Joystick input */
int glfwGetJoystickParam( int joy, int param );
int glfwGetJoystickPos( int joy, float *pos, int numaxes );
int glfwGetJoystickButtons( int joy, unsigned char *buttons, int numbuttons );
/* Time */
double glfwGetTime( void );
void glfwSetTime( double time );
void glfwSleep( double time );
/* Extension support */
int glfwExtensionSupported( const char *extension );
void* glfwGetProcAddress( const char *procname );
void glfwGetGLVersion( int *major, int *minor, int *rev );
/* Threading support */
GLFWthread glfwCreateThread( GLFWthreadfun fun, void *arg );
void glfwDestroyThread( GLFWthread ID );
int glfwWaitThread( GLFWthread ID, int waitmode );
GLFWthread glfwGetThreadID( void );
GLFWmutex glfwCreateMutex( void );
void glfwDestroyMutex( GLFWmutex mutex );
void glfwLockMutex( GLFWmutex mutex );
void glfwUnlockMutex( GLFWmutex mutex );
GLFWcond glfwCreateCond( void );
void glfwDestroyCond( GLFWcond cond );
void glfwWaitCond( GLFWcond cond, GLFWmutex mutex, double timeout );
void glfwSignalCond( GLFWcond cond );
void glfwBroadcastCond( GLFWcond cond );
int glfwGetNumberOfProcessors( void );
/* Enable/disable functions */
void glfwEnable( int token );
void glfwDisable( int token );
/* Image/texture I/O support */
int glfwReadImage( const char *name, GLFWimage *img, int flags );
int glfwReadMemoryImage( const void *data, long size, GLFWimage *img, int flags );
void glfwFreeImage( GLFWimage *img );
int glfwLoadTexture2D( const char *name, int flags );
int glfwLoadMemoryTexture2D( const void *data, long size, int flags );
int glfwLoadTextureImage2D( GLFWimage *img, int flags );
]]
--auto-generated api from ffi headers
local api =
{
["GLFW_VERSION_MAJOR"] = { type ='value', },
["GLFW_VERSION_MINOR"] = { type ='value', },
["GLFW_VERSION_REVISION"] = { type ='value', },
["GLFW_RELEASE"] = { type ='value', },
["GLFW_PRESS"] = { type ='value', },
["GLFW_KEY_UNKNOWN"] = { type ='value', },
["GLFW_KEY_SPACE"] = { type ='value', },
["GLFW_KEY_APOSTROPHE"] = { type ='value', },
["GLFW_KEY_COMMA"] = { type ='value', },
["GLFW_KEY_MINUS"] = { type ='value', },
["GLFW_KEY_PERIOD"] = { type ='value', },
["GLFW_KEY_SLASH"] = { type ='value', },
["GLFW_KEY_0"] = { type ='value', },
["GLFW_KEY_1"] = { type ='value', },
["GLFW_KEY_2"] = { type ='value', },
["GLFW_KEY_3"] = { type ='value', },
["GLFW_KEY_4"] = { type ='value', },
["GLFW_KEY_5"] = { type ='value', },
["GLFW_KEY_6"] = { type ='value', },
["GLFW_KEY_7"] = { type ='value', },
["GLFW_KEY_8"] = { type ='value', },
["GLFW_KEY_9"] = { type ='value', },
["GLFW_KEY_SEMICOLON"] = { type ='value', },
["GLFW_KEY_EQUAL"] = { type ='value', },
["GLFW_KEY_A"] = { type ='value', },
["GLFW_KEY_B"] = { type ='value', },
["GLFW_KEY_C"] = { type ='value', },
["GLFW_KEY_D"] = { type ='value', },
["GLFW_KEY_E"] = { type ='value', },
["GLFW_KEY_F"] = { type ='value', },
["GLFW_KEY_G"] = { type ='value', },
["GLFW_KEY_H"] = { type ='value', },
["GLFW_KEY_I"] = { type ='value', },
["GLFW_KEY_J"] = { type ='value', },
["GLFW_KEY_K"] = { type ='value', },
["GLFW_KEY_L"] = { type ='value', },
["GLFW_KEY_M"] = { type ='value', },
["GLFW_KEY_N"] = { type ='value', },
["GLFW_KEY_O"] = { type ='value', },
["GLFW_KEY_P"] = { type ='value', },
["GLFW_KEY_Q"] = { type ='value', },
["GLFW_KEY_R"] = { type ='value', },
["GLFW_KEY_S"] = { type ='value', },
["GLFW_KEY_T"] = { type ='value', },
["GLFW_KEY_U"] = { type ='value', },
["GLFW_KEY_V"] = { type ='value', },
["GLFW_KEY_W"] = { type ='value', },
["GLFW_KEY_X"] = { type ='value', },
["GLFW_KEY_Y"] = { type ='value', },
["GLFW_KEY_Z"] = { type ='value', },
["GLFW_KEY_LEFT_BRACKET"] = { type ='value', },
["GLFW_KEY_BACKSLASH"] = { type ='value', },
["GLFW_KEY_RIGHT_BRACKET"] = { type ='value', },
["GLFW_KEY_GRAVE_ACCENT"] = { type ='value', },
["GLFW_KEY_WORLD_1"] = { type ='value', },
["GLFW_KEY_WORLD_2"] = { type ='value', },
["GLFW_KEY_SPECIAL"] = { type ='value', },
["GLFW_KEY_ESC"] = { type ='value', },
["GLFW_KEY_F1"] = { type ='value', },
["GLFW_KEY_F2"] = { type ='value', },
["GLFW_KEY_F3"] = { type ='value', },
["GLFW_KEY_F4"] = { type ='value', },
["GLFW_KEY_F5"] = { type ='value', },
["GLFW_KEY_F6"] = { type ='value', },
["GLFW_KEY_F7"] = { type ='value', },
["GLFW_KEY_F8"] = { type ='value', },
["GLFW_KEY_F9"] = { type ='value', },
["GLFW_KEY_F10"] = { type ='value', },
["GLFW_KEY_F11"] = { type ='value', },
["GLFW_KEY_F12"] = { type ='value', },
["GLFW_KEY_F13"] = { type ='value', },
["GLFW_KEY_F14"] = { type ='value', },
["GLFW_KEY_F15"] = { type ='value', },
["GLFW_KEY_F16"] = { type ='value', },
["GLFW_KEY_F17"] = { type ='value', },
["GLFW_KEY_F18"] = { type ='value', },
["GLFW_KEY_F19"] = { type ='value', },
["GLFW_KEY_F20"] = { type ='value', },
["GLFW_KEY_F21"] = { type ='value', },
["GLFW_KEY_F22"] = { type ='value', },
["GLFW_KEY_F23"] = { type ='value', },
["GLFW_KEY_F24"] = { type ='value', },
["GLFW_KEY_F25"] = { type ='value', },
["GLFW_KEY_UP"] = { type ='value', },
["GLFW_KEY_DOWN"] = { type ='value', },
["GLFW_KEY_LEFT"] = { type ='value', },
["GLFW_KEY_RIGHT"] = { type ='value', },
["GLFW_KEY_LSHIFT"] = { type ='value', },
["GLFW_KEY_RSHIFT"] = { type ='value', },
["GLFW_KEY_LCTRL"] = { type ='value', },
["GLFW_KEY_RCTRL"] = { type ='value', },
["GLFW_KEY_LALT"] = { type ='value', },
["GLFW_KEY_RALT"] = { type ='value', },
["GLFW_KEY_TAB"] = { type ='value', },
["GLFW_KEY_ENTER"] = { type ='value', },
["GLFW_KEY_BACKSPACE"] = { type ='value', },
["GLFW_KEY_INSERT"] = { type ='value', },
["GLFW_KEY_DEL"] = { type ='value', },
["GLFW_KEY_PAGEUP"] = { type ='value', },
["GLFW_KEY_PAGEDOWN"] = { type ='value', },
["GLFW_KEY_HOME"] = { type ='value', },
["GLFW_KEY_END"] = { type ='value', },
["GLFW_KEY_KP_0"] = { type ='value', },
["GLFW_KEY_KP_1"] = { type ='value', },
["GLFW_KEY_KP_2"] = { type ='value', },
["GLFW_KEY_KP_3"] = { type ='value', },
["GLFW_KEY_KP_4"] = { type ='value', },
["GLFW_KEY_KP_5"] = { type ='value', },
["GLFW_KEY_KP_6"] = { type ='value', },
["GLFW_KEY_KP_7"] = { type ='value', },
["GLFW_KEY_KP_8"] = { type ='value', },
["GLFW_KEY_KP_9"] = { type ='value', },
["GLFW_KEY_KP_DIVIDE"] = { type ='value', },
["GLFW_KEY_KP_MULTIPLY"] = { type ='value', },
["GLFW_KEY_KP_SUBTRACT"] = { type ='value', },
["GLFW_KEY_KP_ADD"] = { type ='value', },
["GLFW_KEY_KP_DECIMAL"] = { type ='value', },
["GLFW_KEY_KP_EQUAL"] = { type ='value', },
["GLFW_KEY_KP_ENTER"] = { type ='value', },
["GLFW_KEY_KP_NUM_LOCK"] = { type ='value', },
["GLFW_KEY_CAPS_LOCK"] = { type ='value', },
["GLFW_KEY_SCROLL_LOCK"] = { type ='value', },
["GLFW_KEY_PAUSE"] = { type ='value', },
["GLFW_KEY_LSUPER"] = { type ='value', },
["GLFW_KEY_RSUPER"] = { type ='value', },
["GLFW_KEY_MENU"] = { type ='value', },
["GLFW_KEY_LAST"] = { type ='value', },
["GLFW_MOUSE_BUTTON_1"] = { type ='value', },
["GLFW_MOUSE_BUTTON_2"] = { type ='value', },
["GLFW_MOUSE_BUTTON_3"] = { type ='value', },
["GLFW_MOUSE_BUTTON_4"] = { type ='value', },
["GLFW_MOUSE_BUTTON_5"] = { type ='value', },
["GLFW_MOUSE_BUTTON_6"] = { type ='value', },
["GLFW_MOUSE_BUTTON_7"] = { type ='value', },
["GLFW_MOUSE_BUTTON_8"] = { type ='value', },
["GLFW_MOUSE_BUTTON_LAST"] = { type ='value', },
["GLFW_MOUSE_BUTTON_LEFT"] = { type ='value', },
["GLFW_MOUSE_BUTTON_RIGHT"] = { type ='value', },
["GLFW_MOUSE_BUTTON_MIDDLE"] = { type ='value', },
["GLFW_JOYSTICK_1"] = { type ='value', },
["GLFW_JOYSTICK_2"] = { type ='value', },
["GLFW_JOYSTICK_3"] = { type ='value', },
["GLFW_JOYSTICK_4"] = { type ='value', },
["GLFW_JOYSTICK_5"] = { type ='value', },
["GLFW_JOYSTICK_6"] = { type ='value', },
["GLFW_JOYSTICK_7"] = { type ='value', },
["GLFW_JOYSTICK_8"] = { type ='value', },
["GLFW_JOYSTICK_9"] = { type ='value', },
["GLFW_JOYSTICK_10"] = { type ='value', },
["GLFW_JOYSTICK_11"] = { type ='value', },
["GLFW_JOYSTICK_12"] = { type ='value', },
["GLFW_JOYSTICK_13"] = { type ='value', },
["GLFW_JOYSTICK_14"] = { type ='value', },
["GLFW_JOYSTICK_15"] = { type ='value', },
["GLFW_JOYSTICK_16"] = { type ='value', },
["GLFW_JOYSTICK_LAST"] = { type ='value', },
["GLFW_WINDOW"] = { type ='value', },
["GLFW_FULLSCREEN"] = { type ='value', },
["GLFW_OPENED"] = { type ='value', },
["GLFW_ACTIVE"] = { type ='value', },
["GLFW_ICONIFIED"] = { type ='value', },
["GLFW_ACCELERATED"] = { type ='value', },
["GLFW_RED_BITS"] = { type ='value', },
["GLFW_GREEN_BITS"] = { type ='value', },
["GLFW_BLUE_BITS"] = { type ='value', },
["GLFW_ALPHA_BITS"] = { type ='value', },
["GLFW_DEPTH_BITS"] = { type ='value', },
["GLFW_STENCIL_BITS"] = { type ='value', },
["GLFW_REFRESH_RATE"] = { type ='value', },
["GLFW_ACCUM_RED_BITS"] = { type ='value', },
["GLFW_ACCUM_GREEN_BITS"] = { type ='value', },
["GLFW_ACCUM_BLUE_BITS"] = { type ='value', },
["GLFW_ACCUM_ALPHA_BITS"] = { type ='value', },
["GLFW_AUX_BUFFERS"] = { type ='value', },
["GLFW_STEREO"] = { type ='value', },
["GLFW_WINDOW_NO_RESIZE"] = { type ='value', },
["GLFW_FSAA_SAMPLES"] = { type ='value', },
["GLFW_OPENGL_VERSION_MAJOR"] = { type ='value', },
["GLFW_OPENGL_VERSION_MINOR"] = { type ='value', },
["GLFW_OPENGL_FORWARD_COMPAT"] = { type ='value', },
["GLFW_OPENGL_DEBUG_CONTEXT"] = { type ='value', },
["GLFW_OPENGL_PROFILE"] = { type ='value', },
["GLFW_OPENGL_CORE_PROFILE"] = { type ='value', },
["GLFW_OPENGL_COMPAT_PROFILE"] = { type ='value', },
["GLFW_MOUSE_CURSOR"] = { type ='value', },
["GLFW_STICKY_KEYS"] = { type ='value', },
["GLFW_STICKY_MOUSE_BUTTONS"] = { type ='value', },
["GLFW_SYSTEM_KEYS"] = { type ='value', },
["GLFW_KEY_REPEAT"] = { type ='value', },
["GLFW_AUTO_POLL_EVENTS"] = { type ='value', },
["GLFW_WAIT"] = { type ='value', },
["GLFW_NOWAIT"] = { type ='value', },
["GLFW_PRESENT"] = { type ='value', },
["GLFW_AXES"] = { type ='value', },
["GLFW_BUTTONS"] = { type ='value', },
["GLFW_NO_RESCALE_BIT"] = { type ='value', },
["GLFW_ORIGIN_UL_BIT"] = { type ='value', },
["GLFW_BUILD_MIPMAPS_BIT"] = { type ='value', },
["GLFW_ALPHA_MAP_BIT"] = { type ='value', },
["glfwInit"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(void)", },
["glfwTerminate"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(void)", },
["glfwGetVersion"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int *major, int *minor, int *rev)", },
["glfwOpenWindow"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int width, int height, int redbits, int greenbits, int bluebits, int alphabits, int depthbits, int stencilbits, int mode)", },
["glfwOpenWindowHint"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int target, int hint)", },
["glfwCloseWindow"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(void)", },
["glfwSetWindowTitle"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(const char *title)", },
["glfwGetWindowSize"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int *width, int *height)", },
["glfwSetWindowSize"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int width, int height)", },
["glfwSetWindowPos"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int x, int y)", },
["glfwIconifyWindow"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(void)", },
["glfwRestoreWindow"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(void)", },
["glfwSwapBuffers"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(void)", },
["glfwSwapInterval"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int interval)", },
["glfwGetWindowParam"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int param)", },
["glfwSetWindowSizeCallback"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWwindowsizefun cbfun)", },
["glfwSetWindowCloseCallback"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWwindowclosefun cbfun)", },
["glfwSetWindowRefreshCallback"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWwindowrefreshfun cbfun)", },
["glfwGetVideoModes"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(GLFWvidmode *list, int maxcount)", },
["glfwGetDesktopMode"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWvidmode *mode)", },
["glfwPollEvents"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(void)", },
["glfwWaitEvents"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(void)", },
["glfwGetKey"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int key)", },
["glfwGetMouseButton"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int button)", },
["glfwGetMousePos"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int *xpos, int *ypos)", },
["glfwSetMousePos"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int xpos, int ypos)", },
["glfwGetMouseWheel"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(void)", },
["glfwSetMouseWheel"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int pos)", },
["glfwSetKeyCallback"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWkeyfun cbfun)", },
["glfwSetCharCallback"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWcharfun cbfun)", },
["glfwSetMouseButtonCallback"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWmousebuttonfun cbfun)", },
["glfwSetMousePosCallback"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWmouseposfun cbfun)", },
["glfwSetMouseWheelCallback"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWmousewheelfun cbfun)", },
["glfwGetJoystickParam"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int joy, int param)", },
["glfwGetJoystickPos"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int joy, float *pos, int numaxes)", },
["glfwGetJoystickButtons"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(int joy, unsigned char *buttons, int numbuttons)", },
["glfwGetTime"] = { type ='function',
description = "",
returns = "(double)",
valuetype = nil,
args = "(void)", },
["glfwSetTime"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(double time)", },
["glfwSleep"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(double time)", },
["glfwExtensionSupported"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const char *extension)", },
["glfwGetProcAddress"] = { type ='function',
description = "",
returns = "(void*)",
valuetype = nil,
args = "(const char *procname)", },
["glfwGetGLVersion"] = { type ='function',
description = "",
returns = "(void)",
valuetype = nil,
args = "(int *major, int *minor, int *rev)", },
["glfwCreateThread"] = { type ='function',
description = "",
returns = "(GLFWthread)",
valuetype = nil,
args = "(GLFWthreadfun fun, void *arg)", },
["glfwDestroyThread"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWthread ID)", },
["glfwWaitThread"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(GLFWthread ID, int waitmode)", },
["glfwGetThreadID"] = { type ='function',
description = "",
returns = "(GLFWthread)",
valuetype = nil,
args = "(void)", },
["glfwCreateMutex"] = { type ='function',
description = "",
returns = "(GLFWmutex)",
valuetype = nil,
args = "(void)", },
["glfwDestroyMutex"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWmutex mutex)", },
["glfwLockMutex"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWmutex mutex)", },
["glfwUnlockMutex"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWmutex mutex)", },
["glfwCreateCond"] = { type ='function',
description = "",
returns = "(GLFWcond)",
valuetype = nil,
args = "(void)", },
["glfwDestroyCond"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWcond cond)", },
["glfwWaitCond"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWcond cond, GLFWmutex mutex, double timeout)", },
["glfwSignalCond"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWcond cond)", },
["glfwBroadcastCond"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWcond cond)", },
["glfwGetNumberOfProcessors"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(void)", },
["glfwEnable"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int token)", },
["glfwDisable"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(int token)", },
["glfwReadImage"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const char *name, GLFWimage *img, int flags)", },
["glfwReadMemoryImage"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const void *data, long size, GLFWimage *img, int flags)", },
["glfwFreeImage"] = { type ='function',
description = "",
returns = "()",
valuetype = nil,
args = "(GLFWimage *img)", },
["glfwLoadTexture2D"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const char *name, int flags)", },
["glfwLoadMemoryTexture2D"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(const void *data, long size, int flags)", },
["glfwLoadTextureImage2D"] = { type ='function',
description = "",
returns = "(int)",
valuetype = nil,
args = "(GLFWimage *img, int flags)", },
["GLFWvidmode"] = { type ='class',
description = "",
childs = {
["Width"] = { type ='value', description = "int", valuetype = nil, },
["Height"] = { type ='value', description = "int", valuetype = nil, },
["RedBits"] = { type ='value', description = "int", valuetype = nil, },
["BlueBits"] = { type ='value', description = "int", valuetype = nil, },
["GreenBits"] = { type ='value', description = "int", valuetype = nil, },
}
},
["GLFWimage"] = { type ='class',
description = "",
childs = {
["Width"] = { type ='value', description = "int", valuetype = nil, },
["Height"] = { type ='value', description = "int", valuetype = nil, },
["Format"] = { type ='value', description = "int", valuetype = nil, },
["BytesPerPixel"] = { type ='value', description = "int", valuetype = nil, },
}
},
}
return {
glfw = {
type = 'lib',
description = "GLFW window manager",
childs = api,
},
}

5577
api/lua/love2d.lua Normal file

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

10632
api/lua/moai.lua Normal file

File diff suppressed because it is too large Load Diff

View File

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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.

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

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 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.

BIN
bin/libwx.dylib Normal file

Binary file not shown.

Binary file not shown.

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.

BIN
bin/linux/x64/libwx.so Normal file

Binary file not shown.

BIN
bin/linux/x64/lua Executable file

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.

BIN
bin/linux/x86/libwx.so Normal file

Binary file not shown.

BIN
bin/linux/x86/lua Executable file

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.

1
bin/lua Symbolic link
View File

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

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>lua</string>
<key>CFBundleDisplayName</key>
<string>Lua</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>org.Lua.LuaInterpreter</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>
<string></string>
<key>CFBundleName</key>
<string>Lua</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string></string>
</dict>
</plist>

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

Binary file not shown.

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.

BIN
bin/lua51.dll Normal file

Binary file not shown.

1
bin/lua52 Symbolic link
View File

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

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