Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-27fix [#34460] text editor freezes when turning on syntax highlight Campbell Barton
2013-02-24Another bunch of UI translation fixes, thanks to Leon Cheung, Gabriel ↵Bastien Montagne
Gazzán and S. Lockal for spotting them!
2013-02-19fix [#34275] Text autocomplete cuts words with accents or special charactersCampbell Barton
autocomplete is now unicode aware, using python api's checks for now. eventually we should have our own.
2013-02-19step over unicode characters with autocomplete (correctly this time).Campbell Barton
2013-02-19revert own commit r54625, broke autocomplete.Campbell Barton
2013-02-19minor change to own recent commit with transform fcurve centers and some ↵Campbell Barton
style edits and typo corrections.
2013-02-18Fix some popups being too small on retina display, among them the new image ↵Brecht Van Lommel
dialog.
2013-02-18make autocomplete use unicode character stepping (needed for bugfix).Campbell Barton
2013-02-14fix for double clicking in the text editor not working usefully (double ↵Campbell Barton
clicking a pair chars would select 3 - one to the left).
2013-02-05Fix #34040: Moving Normal Node with enabled Cycles Material Preview crashesSergey Sharybin
Issue was caused by couple of circumstances: - Normal Map node requires tesselated faces to compute tangent space - All temporary meshes needed for Cycles export were adding to G.main - Undo pushes would temporary set meshes tessfaces to NULL - Moving node will cause undo push and tree re-evaluate fr preview All this leads to threading conflict between preview render and undo system. Solved it in way that all temporary meshes are adding to that exact Main which was passed to Cycles via BlendData. This required couple of mechanic changes like adding extra parameter to *_add() functions and adding some *_ex() functions to make it possible RNA adds objects to Main passed to new() RNA function. This was tricky to pass Main to RNA function and IMO that's not so nice to pass main to function, so ended up with such decision: - Object.to_mesh() will add temp mesh to G.main - Added Main.meshes.new_from_object() which does the same as to_mesh, but adds temporary mesh to specified Main. So now all temporary meshes needed for preview render would be added to preview_main which does not conflict with undo pushes. Viewport render shall not be an issue because object sync happens from main thread in this case. It could be some issues with final render, but that's not so much likely to happen, so shall be fine. Thanks to Brecht for review!
2013-01-16style cleanupCampbell Barton
2013-01-16dont add identifiers starting with digits to autocompleteCampbell Barton
2013-01-16text syntax highlighting: don't use utf8 stepping if we know the text is asciiCampbell Barton
2013-01-16patch [#33888] Syntax Highlighting ChangesCampbell Barton
from Benjamin Tolputt (btolputt), (with minor changes) adds support for LUA syntax highlighting.
2013-01-16correction to last commitCampbell Barton
2013-01-16text syntax highlighting, add utility function 'text_format_fill()' which ↵Campbell Barton
fills in the line with a formatting value. this fixes a mistake in OSL lexer which would comment all lines after '//'
2013-01-15Bug fix #33873Ton Roosendaal
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 :)
2013-01-05Add translation contexts for line, mute and clipSv. Lockal
2012-12-31code cleanup: autocomplete functionsCampbell Barton
2012-12-31syntax highlight autocomplete listing.Campbell Barton
2012-12-31text autocompleteCampbell Barton
- make the popup box line up the X axis with the current word. - add poll function for the operator
2012-12-31add back initial autocomplete support.Campbell Barton
- 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)
2012-12-31minor updates to text autocomplete apiCampbell Barton
- draw function wasn't lining up correctly since DPI edits - rename text_python.c to text_autocomplete.c
2012-12-30Fix crash in syntax color code when drawing a text editor with no text.Brecht Van Lommel
2012-12-30optimization for text drawing:Campbell Barton
- 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().
2012-12-30OSL Templates:Thomas Dinges
* 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.
2012-12-30OSL Syntax Highlighting:Thomas Dinges
* Added the remaining shader types * Some comment and link fixes.
2012-12-30add templates menu for OSL, use preprocessor directive color for decorators ↵Campbell Barton
in python.
2012-12-30add syntax highlighting color for symbolsCampbell Barton
2012-12-30code cleanup: enum for formatting char (avoid confusion when '#' is a ↵Campbell Barton
comment for // in OSL)
2012-12-30code cleanup: text editor formatting enums were named crypticly, also add ↵Campbell Barton
asserts if the continuation values are wrong (which can happen with buffer overflows on formatting).
2012-12-30Infinite loop caused by using an uninitialized variable in a compairison ↵Dan Eicher
statement
2012-12-30Missing NULL check which crashes on opening the Text Editor without an ↵Dan Eicher
active Text object
2012-12-29patch [#33609] Syntax highlighting for OSL in Text EditorCampbell Barton
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'.
2012-12-29fix for 2 errors in python syntax highlighting, no space was allowed in ↵Campbell Barton
decorators and decorators where being skipped.
2012-12-29code cleanup: text editor syntax highlighting - avoid loops using memset()Campbell Barton
2012-12-29text editor: replace strncmp() and hard coded size with ↵Campbell Barton
STR_LITERAL_STARTSWITH() macro that gets the size from sizeof().
2012-12-29code cleanupCampbell Barton
2012-12-29style cleanupCampbell Barton
2012-12-20Better cursor centering for text editorSergey Sharybin
2012-12-19use DPI for scrollbar widthCampbell Barton
2012-12-19code cleanup: remove unneeded include's and rename some static functions in ↵Campbell Barton
text_format_py.c
2012-12-19generalize formatting code so different formatters can be registered and ↵Campbell Barton
each has their own source file, Since we will likely have OSL formatting added soon.
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-15avoid using strlen() for comparisons in for loops. for expanding whitespace ↵Campbell Barton
in the text editor and ui paste.
2012-12-14tweaks to text selection and highlight drawing.Campbell Barton
2012-12-12Holiday coding log :)Ton Roosendaal
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)
2012-12-03Fix #33398: Missed undo push when script execution failedSergey Sharybin
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.
2012-11-23Text Editor: remove text marker functionality. Patch [#33251]Justin Dailey
2012-11-20Text editor: fix for line spacing with word wrap enabledSergey Sharybin