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
2011-03-22found text editor X/Y selections coords were booleans and corrections to ↵Campbell Barton
operator calling script from last commit.
2011-03-04quiet warnings and fix building without python.Campbell Barton
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-26fix for 'live edit', running python scripts as you typeCampbell Barton
- errors would jump to the line which gets in the way. - the window wouldn't always redraw.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-22feature back from 2.4x where a python error moves the cursor to the error ↵Campbell Barton
line, added moving to exact column for syntax errors too.
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2011-02-18Fix #26140: Text to 3D object (one object & one object per line) has the ↵Sergey Sharybin
same shortcut Applying patch provided by Jorge Bernal (lordloki). Thanks!
2011-02-18Text space fixes:Sergey Sharybin
- Bring back cursor set to PRESS event - block selection wouldn't have correct start position; - Undo stack push was missed in cursor_set operator; - Remove unneeded cursor moving at set_selection operator; - Fixed bug with scroll bar - it shouldn't use EVT_TWEAK; There could be still small issues with selecting single character by mouse (due to EVT_TWEAK threashold), but this operator is for block selection, not single char. So shouldn't be big pain here.
2011-02-18Another small text space usability: option to show right margin (aka print ↵Sergey Sharybin
marign)
2011-02-17One more small text space usability: select work by double-click on itSergey Sharybin
- Change cursor changing from mouse press to mouse click. A bit "delayed" UI feedback, but otherwise we'll be unable to use double-click events here - Change clinebacks to callbacks in comment for select_line operator. Or it was supposed to be clinebacks?
2011-02-17Split cursor_set into two operators:Sergey Sharybin
- cursor_set which just sets cursor position immediatelly - selection_set which could be used to select block of text Now there're could be operators binded to mouse double-click event
2011-02-17Spall text space usability:Sergey Sharybin
Use shift-del to cut, ctrl-ins to copy and shift-ins to paste Most of editors support this hotkeys and it's annoying when you trying to use them in text space.
2011-02-15moving dir strings into global namespace for doc access (coming up)Campbell Barton
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
2011-02-08Text Editor Bugfixes:Joshua Leung
The poll() callbacks used in the Text Editor for scrolling and text- block unlinking operators were too restrictive when the text block was lib-data. - Scrolling lib-linked texts is useful for just checking out parts of the linked-in file that aren't visible on screen already. For example, checking the specific rig that some UI panels script will work on, or reading a "README.txt" linked in with notes on which layers various controls are on. It should be fine that this temporarily modifies the linked text-block (but for view-settings which will can be reset later/on file load without any real consequences). - Unlink operator should be able to be run, otherwise it would be very difficult to remove linked files from a file (?)
2011-02-08minor edits, no functional changes.Campbell Barton
- BGE was getting MCol array and not using it. - use list lookup functions for getting constraint from pose bone. - use const char * in more places.
2011-02-04Fix #25923: Active area of text editor line numbers too bigSergey Sharybin
Area with width 60px was used for determing should we jump to line or input new cahacter. Reduce this area to actual line numbers margin width.
2011-01-30remove nan-makefilesCampbell Barton
2011-01-27Fix #25818: Text Editor holizontal grab invertedSergey Sharybin
Stupid typo. Maybe it's a result of merging two patches related to this part of code.
2011-01-25use cmake defined names for jpeg, png, zlib and python libs, building on ↵Campbell Barton
*nix with non-standard libjpeg/png/zlib locations was broken. in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-24Todo item: text editor does not honour continuous grab(seeSergey Sharybin
Added OPTYPE_GRAB_POINTER flag to scrolling operator, changed a bit logic of delta calculation and removed unused members from TextScroll structure. Got issue with very-fast mouse moving (when mouse pointer could go out of window, but it's general issue for all grab operator). Was unable to check MOUSEPAN event (two-finger scroll). Please poke me if there are any issues with this event.
2011-01-24Todo item: text editor scroll bar does not respond to clicksSergey Sharybin
Text space's scroll bar now uses quite the same strategy of handling drag and click events as view2d. I tried to share some code between this two spaces. but there was no big luck with it: text sace uses it's own constants (like scroll bas size and offsets), so the simpliest way was to define zone stuff for text space without sharing it with view2d.
2011-01-13Fix #25609: Text Editor: Ctrl+Z error with Word WrapSergey Sharybin
Not updated line number was passing to undo stack.
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-07Fix/add OSX style text editing shortcuts to default keymapMatt Ebb
2011-01-06remove assignments which are unused.Campbell Barton
2011-01-05edits for BPY_extern.h functions, no functional changesCampbell Barton
- remove unused code. - BPY_run_python_script() split in 2, BPY_filepath_exec, BPY_text_exec - renamed funcs.
2011-01-03Todo item:Ton Roosendaal
2D view scrollers were drawing over background contents, making it look somewhat messy (like for text, nodes, fcurves). Now it clears first the back in the region edge.
2010-12-26Bugfix [#25383] Drag&Drop .py file into text editor don't load it.Joshua Leung
2010-12-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-23rename blenderlib to blender_add_libCampbell Barton
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- made theme colors for mesh edge len & face angle/area display. - use %g rather then %f for float display, trims unneeded zeros. - store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context. - use unsigned char for more color functions, avoids casting to glColorubv().
2010-12-17Fix for moving caret to the line beginning/ending when word-wrapping is enabledSergey Sharybin
2010-12-17Fix #25263: Text cursor click point is random.Sergey Sharybin
- Fixed some wierd cursor placements when clicking in special text position (mostly when line segments had null-terminator at the max allowed position) - Also subtract top padding, so centering is looks a bit better
2010-12-10Change the BLF_aspect function to handle 3d text.Diego Borghetti
This is need to properly handle 3d text (dalai work on GE), before the BLF_aspect only take one argument, and the result was a call to: glScalef(aspect, aspect, 1.0) Now the three value are store in the font (x, y and z) and also need to be enable using BLF_enable(BLF_ASPECT). By default all the code that don't have BLF_ASPECT enable work with a scale of 1.0 (so nothing change to the current UI). I also remove all the call of BLF_aspect(fontid, 1.0) found in the editors, because is disable by default, so no need any more. Campbell the only thing to check is the python api, right now I modify the api to from: BLF_aspect(fontid, aspect) to: BLF_aspect(fontid, aspect, aspect, 1.0) This is to avoid break the api, but now you need add the BLF_ASPECT option to the function py_blf_enable and in some point change py_blf_aspect to take 3 arguments.
2010-12-08use lowercase for cmake builtin names and macros, remove contents in else() ↵Campbell Barton
and endif() which is no longer needed.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-04Maintenance, Campbell Barton
- remove some redundant declarations - changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-12-03IRC bug reportTon Roosendaal
Text editor, "Add new" caused zero-user block. The claim in the code why it should be decreased is dubious. Thanks wiseman!
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
reporting missing headers & C files. this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-26change monospace font to be an extern, not good final design but better then ↵Campbell Barton
loading the same font 3 times. need to load twice still because render may use the font in a thread.
2010-11-14fix for own error in recent commit. add a back NULL terminator to the string ↵Campbell Barton
in text_font_draw_character.
2010-11-11BLF_draw functions take an extra length argument, so the console drawing ↵Campbell Barton
doenst need to swap in NULL chars to draw word wrapping.