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
2016-03-05Cleanup: unnecessary comma useCampbell Barton
2015-12-01Fix minor order of init error w/ text drawCampbell Barton
2015-12-01minor error in recent text-draw commitCampbell Barton
2015-12-01Text Editor: store font id in a drawing contextCampbell Barton
2015-11-28Cleanup: 'area' vs 'region'Julian Eisel
Apparently this is the result of some sloppiness during 2.5 project and since then it confused people who were trying to understand the area-region relation (myself included). Sorry if this causes merge conflicts for anyone, but at some point we really had to do it :/
2015-11-10Text Editor: use line-number color for marginCampbell Barton
also use stipple so you can see the cursor behind it.
2015-09-04Partial revert of warning cleanupCampbell Barton
These warnings are false-positives
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-21Fix T43158: pixels in the 3d-view was mis-alignedCampbell Barton
Change the pixel offset for regions, it make oversampling blurry when drawing pixel aligned values. See T41749
2015-01-08cleanup: styleCampbell Barton
2015-01-07PyAPI: Call to get the pixel x,y in a text blockMartin Felke
This allows scripts to request the screen location of any (line, column) pair.
2014-11-21Text Editor: incorrect clipping at bottomCampbell Barton
Patch T42637 by @donfabio
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-11-10Fix T39144: text-select scrolling too fastCampbell Barton
Use a timer to get predictable speed.
2014-09-23Fix crash in text editor (wrap + syntax-highlight)Campbell Barton
2014-09-23Cleanup: simplify check to draw syntaxCampbell Barton
2014-08-31Fix T41657: Text Editor highlight bug when a very long line scrollsBastien Montagne
Based on patch by randon (Dun Liang), but no need to recompute lengths here, we already have the info.
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-01Fix for some unlikely memory leaks, remove redundant checksCampbell 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-08-31text drawing glitche - highlight line was offset slightly from selection.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
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