Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
from Benjamin Tolputt (btolputt), (with minor changes)
adds support for LUA syntax highlighting.
|
|
|
|
fills in the line with a formatting value.
this fixes a mistake in OSL lexer which would comment all lines after '//'
|
|
CTRL+F in text editor now also works in the button region.
Added generic keymap for it, could get other shortcuts as well. Will leave it to the
maintainers :)
|
|
|
|
|
|
|
|
- make the popup box line up the X axis with the current word.
- add poll function for the operator
|
|
- This doesnt use python as 2.4x did, instead it just autocompletes based on the text files unique identifiers so its useful for any language.
- key is same as console (Ctrl+Space)
|
|
- draw function wasn't lining up correctly since DPI edits
- rename text_python.c to text_autocomplete.c
|
|
|
|
- dont set the color for each character, check if it changes from the previous one.
- dont memcpy text into a null terminated string to draw, instead rely on the length argument to BLF_draw().
|
|
* Add 3 simple templates:
** empty_shader.osl: A basic shader declaration to start with
** wireframe.osl: Simple wireframe shader
** noise.osl: Simple noise shader, with 3 noise types.
|
|
* Added the remaining shader types
* Some comment and link fixes.
|
|
in python.
|
|
|
|
comment for // in OSL)
|
|
asserts if the continuation values are wrong (which can happen with buffer overflows on formatting).
|
|
statement
|
|
active Text object
|
|
from Patrick Boelens (senshi). with modifications to split it into its own function.
also added C style multi-line comment support /* ... */
I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block.
For now it simply uses OSL syntax highlighting when the extension is '.osl'.
|
|
decorators and decorators where being skipped.
|
|
|
|
STR_LITERAL_STARTSWITH() macro that gets the size from sizeof().
|
|
|
|
|
|
|
|
|
|
text_format_py.c
|
|
each has their own source file,
Since we will likely have OSL formatting added soon.
|
|
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
|
|
in the text editor and ui paste.
|
|
|
|
Nice formatted version (pictures soon):
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability
Short list of main changes:
- Transparent region option (over main region), added code to blend in/out such panels.
- Min size window now 640 x 480
- Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake.
- Macbook retina support, use command line --no-native-pixels to disable it
- Timeline Marker label was drawing wrong
- Trackpad and magic mouse: supports zoom (hold ctrl)
- Fix for splash position: removed ghost function and made window size update after creation immediate
- Fast undo buffer save now adds UI as well. Could be checked for regular file save even...
Quit.blend and temp file saving use this now.
- Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)"
- New Userpref option "Keep Session" - this always saves quit.blend, and loads on start.
This allows keeping UI and data without actual saves, until you actually save.
When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header)
- Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v).
Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards.
- User preferences (themes, keymaps, user settings) now can be saved as a separate file.
Old option is called "Save Startup File" the new one "Save User Settings".
To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still.
- OSX: fixed bug that stopped giving mouse events outside window.
This also fixes "Continuous Grab" for OSX. (error since 2009)
|
|
Undo push was missed in cases when script failed to run with some error
when using Run Script in text editor. As far as i can see it makes sense
to skip undo push here only in cases live editing is enabled.
Otherwise it's indeed annoying to return to previous scene state when
debugging the script.
|
|
|
|
|
|
Added small space between lines in the text editor.
|
|
presence of markers still hangs.
also compiler warnings and some style edits.
|
|
|
|
|
|
|
|
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
|
|
|
|
Patch by Sebastian Nell, thanks!
Still not ideal (it could some smarter selection policy in such case perhaps),
but it's less annoying than it was before.
|
|
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
|
|
|