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-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
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-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-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-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-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-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-11-23Text Editor: remove text marker functionality. Patch [#33251]Justin Dailey
2012-11-20Text editor: fix for line spacing with word wrap enabledSergey Sharybin
2012-11-16fix [#33180] text editor line height issueJustin Dailey
Added small space between lines in the text editor.
2012-11-09fix [#33121] crashing when srolling down in text editor !Campbell Barton
2012-10-27use min/max inline functions where MIN2/MAX2 were doing type conversion.Campbell Barton
2012-10-26style cleanupCampbell Barton
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-09patch [#31709] Text editor: scroll margin column along with textCampbell Barton
by Sebastian Nell (codemanx) The margin ignored horizontal scrolling.
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-08-22code cleanup: use rect size macrosCampbell Barton
2012-08-05use define for 0.375 = GLA_PIXEL_OFS, used all over the interface.Campbell Barton
also use M_SQRT1_2 in math_rotation.c
2012-06-17style cleanup:Campbell Barton
also fix for building ghost test and fix double free in one of the tests
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-06update python keywords (remove exec, print, add nonlocal)Campbell Barton
2012-03-31style cleanup: text editorCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-01-16patch [#29859] UTF-8 support for text editor.Sv. Lockal
This also fixes cursor movement in the beginning of line and adds do_versions block for converting text files with old extended ascii encoding into UTF-8.
2012-01-11dynamicpaint had some incorrect string sizes for layers names, use BLI ↵Campbell Barton
string functions in more places too.
2012-01-11use BLI_strncpy and BLI_snprintf when the size of the string is known.Campbell Barton
fix for sequencer unique naming which was missed with string length update.
2011-11-30Update space text's viewlines even if no text selected. It's needed forSergey Sharybin
proper positioning to cursor when switching to text datablock in case there was no datablock opened in text editor.
2011-11-20UI:Brecht Van Lommel
* Add theme option to show panel header background. * Draw panel collapse widget a bit smaller. * Add theme option to draw icons muted. * Code tweak: replace U.themes.first by UI_GetTheme() calls.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-26replace strncpy with BLI_strncpy, in some cases strncpy was being misused ↵Campbell Barton
since it doesnt ensure \0 termination. also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-22clear up some warnings.Campbell Barton
2011-09-20tag & comment unused vars with /* UNUSED */Campbell Barton
2011-09-11replace magic numbers for flags for uiSetRoundBox();Campbell Barton
2011-09-02Partial fix for #28441: Tab width in texteditor ignored if used tabs as spacesSergey Sharybin
Scroll to cursor when displaying text datablock was changed. This behavior was lost in 2.5x.