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-03-24Usablity:Ton Roosendaal
In text editor, the CTRL+F find now opens property region (or keeps it) and activates the search button for input. That's already nice! But next step should be to do a search on exit of the button (or while typing). That's stuff I need Campbell to help with though. Notes: - Probably Py api for property buttons could get an "operator=" arg? - The warning menu "not found" should go away - I also suggest to make "wrap" search default for new editors
2013-03-14style cleanup: odd indentationCampbell Barton
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-12Patch [#34373] Use i18n monospace font in Text editor and Python consoleIrie Shinsuke
This patch allows Blender to display i18n monospace font in the text editor and the Python interactive console. Wide characters that occupy multiple columns such as CJK characters can be displayed correctly. Furthermore, wrapping, selection, suggestion, cursor drawing, and syntax highlighting should work. Also fixes a bug [#34543]: In Text Editor false color in comment on cyrillic To estimate how many columns each character occupies, this patch uses wcwidth.c written by Markus Kuhn and distributed under MIT-style license: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c wcwidth.c is stored in extern/wcwidth and used as a static library. This patch adds new API to blenfont, blenlib and blenkernel: BLF_get_unifont_mono() BLF_free_unifont_mono() BLF_draw_mono() BLI_wcwidth() BLI_wcswidth() BLI_str_utf8_char_width() BLI_str_utf8_char_width_safe() txt_utf8_offset_to_column() txt_utf8_column_to_offset()
2013-03-09code cleanup: favor braces when blocks have mixed brace use.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-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-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-05Add translation contexts for line, mute and clipSv. Lockal
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-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-15avoid using strlen() for comparisons in for loops. for expanding whitespace ↵Campbell Barton
in the text editor and ui paste.
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-16fix [#33180] text editor line height issueJustin Dailey
Added small space between lines in the text editor.
2012-11-15fix for deleting lines hanging the text editor when no markers are used, ↵Campbell Barton
presence of markers still hangs. also compiler warnings and some style edits.
2012-11-15Patch [#31006] Text editor undo buffer rework.Justin Dailey
2012-11-09fix [#33121] crashing when srolling down in text editor !Campbell Barton
2012-10-26Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a ↵Bastien Montagne
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-24Patch #31641: Text editor: unindent even if no selectionSergey Sharybin
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.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-09And more UI messages fixes...Bastien Montagne
2012-09-23fix for crash executing a python script.Campbell Barton
nice obscure case, when a script executes, frees its self (by loading a file for eg), then has a python error. ... in this case blender would fetch the python exception and attempt to move the cursor in the freed textblock to the error line, crashing blender.
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-04style cleanupCampbell Barton
2012-07-11missed this change from patch [#30274]Campbell Barton
2012-06-27style cleanupCampbell Barton
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-09style cleanup: whitespace/operatorsCampbell Barton
2012-05-05Second part of fix for [#31157]: Some (actually, 172) operators have no tooltip.Bastien Montagne
About 30 undocumented ops remaining...
2012-05-05code cleanup: BKE_ naming, also make bpy.data.images.load() always load a ↵Campbell Barton
new image. (not use existing one)
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-05-04make text move up/down into a single operator with a direction propertyCampbell Barton
2012-05-04Patch [#30654] Wiki Quick Hack: Text editor move lines up/downJoshua Leung
Submitted by: Justin Dailey (dail) Patch allows the current line (or selected lines) to be moved up and down with Ctrl+Shift+Up and Ctrl+Shift+Down. Has undo/redo support and operators in python menu.
2012-04-29patch [#30821] Wiki Quick Hack: Text editor duplicate lineCampbell Barton
from Justin Dailey (dail) made this Ctrl+D, to replace Delete.
2012-03-31style cleanup: text editorCampbell Barton
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-21Quick fix to broken text editor/console from r45051.Bastien Montagne
Note: not completely sure this is the way to go, but at least it works (and is easy to revert in case there is better solution ;) ).
2012-03-20rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.Campbell Barton
2012-03-20Adds support for utf paths on Windows.Alexander Kuznetsov
Not all file formats/calls are supported yet. It will be expended. Please from now on use BLI_fopen, BLI_* for file manipulations. For non-windows systems BLI_fopen just calls fopen. For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-18spelling cleanupCampbell Barton
2012-03-10picky changes to mouse cursor text selection behavior, previously as soon as ↵Campbell Barton
the mouse was before a character it would select the previous, even if the cursor was closer to the space between the next 2 chars. now find the closest point inbetween both chars.
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton