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
2014-02-04Code cleanup: declarations for removed functionsCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-27Use includes for blenderplayer stubsCampbell Barton
exposes many incorrect and redundant stubs
2014-01-16Code Cleanup: no need to pass empty strings as default valuesCampbell Barton
2014-01-15Python/Depsgraph: bpy.data.*.is_updated now detects add/remove of any datablock.Tom Edwards
Previously this only worked for some datablocks relevant to rendering, now it can be used to detect if any type of datablock was added or removed (but not yet to detect if it was modified, we need many more depsgraph tags for that). Most of the changes are some function parameter changes, the important parts are the DAG_id_type_tag calls. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D195
2014-01-08Code Cleanup: de-duplicate text pasting which only used the first lineCampbell Barton
2013-12-13Fix T37572: text editor scrolling not working well with Mac trackpad panning.Brecht Van Lommel
The trackpad would give isolated mouse pan events with a distance smaller than one line or character. For other 2D views this is all accumulated in floats, but in the text editor it only keeps track of integers, and the small mouse pan events got lost due to rounding. Now it keeps track of sub-line or sub-character scroll offsets to avoid this.
2013-11-29File Browser: autocomplete keeps focus in the file field when entering a folder.Brecht Van Lommel
There is a bunch of internal refactoring going on too: * No longer use operators to handle these directory and file fields, only makes things more complicated than they should be. * Handle autocomplete partial/full match deeper in the UI code * Directory field still does not keep focus, that's for another time to fix, you can already do pretty quick keyboard only navigation with the file field. Reviewed By: elubie Differential Revision: http://developer.blender.org/D29
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-23style cleanupCampbell Barton
2013-10-18ID blocks can be pasted to text editor now with mouse drag and moveSergey Sharybin
2013-10-17Fix #37048: Default keybindings: text.find_next in Text (Global), should be ↵Sergey Sharybin
in Text Generic
2013-10-17Fix #37122: Text Editor: New Open-Shortcut different from Text > Open Text BlockSergey Sharybin
Seems no user counter tricks are needed from r23598. Also, r33453 is obviously wrong, because new ID's user counter is 1, and could not exceed this value.
2013-10-11Fix [#37049] Default keybindings: Text editor auto-complete accepts Return, ↵Irie Shinsuke
but not Numpad Enter
2013-09-30changing shortcut to toggle Properties in text editor (ctrl+t)Dalai Felinto
2013-09-30lots of operator descriptions were incorrectly copy/pasted.Campbell Barton
update some descriptions, others were removed and operators tagged as internal. add a script to detect duplicate operator descriptions.
2013-09-20bugfix [#36724] Ctrl+F in text editor opens Toolbar, but no longer closes itDalai Felinto
(added Ctrl+P as a toggle to show Properties)
2013-09-11correct own recent edits, area for text line numbers drawing was too small.Campbell Barton
2013-09-06fix [#36656] text editor undo error when undoing paste commandJustin Dailey
When tabs to spaces is enabled and a paste command is undone, the improper number of characters could get removed. Also fixed issue with shift + left/right only selecting a max of 1 character.
2013-09-02text editor cursor motion (left/right arrows) with selected text typically ↵Campbell Barton
jumps to either side of the selection previously the cursor would move and loose the selection too. text button fields already did this.
2013-08-31text spacing was using DPI rather then the size of the text.Campbell Barton
characters could draw outside the selection when the text was scaled up.
2013-08-31text drawing glitche - highlight line was offset slightly from selection.Campbell Barton
2013-08-29correct own error r59619 (changes made to patch, adding handle recalculation ↵Campbell Barton
which is needed after splitting).
2013-08-29fix for glitch where the text editor could be clamped to scroll above line 1 ↵Campbell Barton
(would flicker on scroll).
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-06-25Fix #35824: finding missing files not working correct for filepaths with specialBrecht Van Lommel
characters on Windows. Replaced some uses of stat() by BLI_stat() to properly handle such filepaths.
2013-06-25Fix unnecessary 3D viewport redraws in various cases, in particular when editingBrecht Van Lommel
node materials. Area and region listener callbacks now get the screen and area pointers passed, so they can do more fine grained checks to see if redraw is really needed, for example depending on the 3D view drawtype.
2013-06-02Better API design for making text datablocks after loading.Tamito Kajiyama
An optional 'internal' argument was added to the bpy.data.texts.load() operator. The changes in revision 57153 were reverted, so that the is_in_memory and is_dirty properties of text datablocks are not editable again. In the C API layer, BKE_text_load_ex() was introduced to allow for optionally making text datablocks internal after loading.
2013-06-01style cleanupCampbell Barton
2013-05-30remove redundant includes from cmake and scons.Campbell Barton
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-21remove return value from MEM_freeN, it wasn't used anywhere and was cast to ↵Campbell Barton
a different function signature. (which evidently works but error prone).
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-11only use OSKEY as a replacement for CTRL on Apple (was already the case in ↵Campbell Barton
many areas).
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-05-07fix for glitch in text editor using ctrl+(backspace / delete), Campbell Barton
for now just don't jump words when theres a selection.
2013-05-01holding ctrl when using arrow keys in the text editor didn't navigate newlines.Campbell Barton
2013-04-17text editor reload no-longer resets scroll & cursor - annoying when making ↵Campbell Barton
tweaks to UI scripts. also restrict freestyle hack to WITH_FREESTYLE define.
2013-04-08fix [#34905] Text editor: replacing matches by empty string not allowedCampbell Barton
2013-03-26fix for missing redraw in own commit r55554 (Ctrl+F text editor find).Campbell Barton
since an event wasn't added to the queue no redraws we're done when the panel was already open, instead use a notifier.
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-22Bug fix #34405Ton Roosendaal
On opening a text editor for first time, and use search (CTRL+F) the scrollers were not correct initialized, so the view would jump a bit on redraw.
2013-03-22code cleanup: use NULL rather then 0 for pointers, and make vars static ↵Campbell Barton
where possible. also found unintentionally defined enum/struct variables that where only meant to be defining the type.
2013-03-16style cleanupCampbell Barton
2013-03-14style cleanup: odd indentationCampbell Barton
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-12fix own regression in 2.66 [#34610] Text editor: Syntax highlighting freezesCampbell 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()