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
2010-02-12correct fsf addressCampbell Barton
2009-09-22PyConsole improvementsCampbell Barton
- Commands from the history wont get modified in-place when you cycle back and re-use them. - Ctrl Left/Right skip words. - Autocompletion on a variable that has no alternatives adds a '.' 'bpy' -> 'bpy.', generally more useful since autocomp again will give the members of bpy also moved text_check_* functions into BKE_text.h for the console to access.
2009-09-16Operator cheat sheet (from the help menu)Campbell Barton
writes all operators (including PyOperators) and their default values into a textblock. Useful for an overview and checking consistancy. eg. http://www.pasteall.org/7918/python added rna functions text.clear() and text.write(str)
2009-09-052.5Brecht Van Lommel
Make local and make single user are back for ID template. Internally these calls got unified, id_make_local and id_copy are now used to do these operations for all types that support it. Also reveals that for some ID types the implementation is still missing. Further, some small changes: * unlink_text is now in blenkernel. * copy_group was implemented. * ID template now has an open operator again. * fix preview to not change material reference count, even if temporary it shows up with threaded preview. * id_unlink unifies unlink for text, object and group.
2009-03-012.5: Text Editor back.Brecht Van Lommel
There was very little structure in this code, using many globals and duplicated code. Now it should be better structured. Most things should work, the main parts that are not back yet are the python plugins and markers. Notes: * Blenfont is used for drawing the text, nicely anti-aliased. * A monospace truetype font was added, since that is needed for the text editor. It's Bitstream Vera Sans Mono. This is the default gnome terminal font, but it doesn't fit entirely well with the other font I think, can be changed easily of course. * Clipboard copy/cut/paste now always uses the system clipboard, the code for the own cut buffer was removed. * The interface buttons should support copy/cut/paste again now as well. * WM_clipboard_text_get/WM_clipboard_text_set were added to the windowmanager code. * Find panel is now a kind of second header, instead of a panel. This needs especially a way to start editing the text field immediately on open still. * Operators are independent of the actual space when possible, was a bit of puzzling but got it solved nice with notifiers, and some lazy init for syntax highlight in the drawing code. * RNA was created for the text editor space and used for buttons. * Operators: * New, Open, Reload, Save, Save As, Make Internal * Run Script, Refresh Pyconstraints * Copy, Cut, Paste * Convert Whitespace, Uncomment, Comment, Indent, Unindent * Line Break, Insert * Next Marker, Previous Marker, Clear All Markers, Mark All * Select Line, Select All * Jump, Move, Move Select, Delete, Toggle Overwrite * Scroll, Scroll Bar, Set Cursor, Line Number * Find and Replace, Find, Replace, Find Set Selected, Replace Set Selected * To 3D Object * Resolve Conflict
2009-01-042.5Ton Roosendaal
Think global, act local! The old favorite G.scene gone! Man... that took almost 2 days. Also removed G.curscreen and G.edbo. Not everything could get solved; here's some notes. - modifiers now store current scene in ModifierData. This is not meant for permanent, but it can probably stick there until we cleaned the anim system and depsgraph to cope better with timing issues. - Game engine G.scene should become an argument for staring it. Didn't solve this yet. - Texture nodes should get scene cfra, but the current implementation is too tightly wrapped to do it easily.
2008-08-31Minor tidying and commentingsoc-2008-quornIan Thompson
2008-08-24Added better grouping for text markers with a separate group field (instead ↵Ian Thompson
of using flags). The lower two bytes of the group are used for python scripts while the upper two (or more) are reserved for internal grouping. Plenty either way.
2008-08-16Esc removes markers in stages. Temporary markers are removed first (if any) ↵Ian Thompson
then other markers follow.
2008-08-14Got rid of the horrible blocking UI problems with Find and Replace by using ↵Ian Thompson
a blockhandler panel. The panel is shown when find is invoked with Alt F (or from the menu). Successive presses of Alt F search again, while the panel is visible. Alt H does the same for replace. (Ctrl F and Ctrl H also work - more like other editors)
2008-08-06Various UI drawing and event tweaks to make markers feel more natural and ↵Ian Thompson
avoid getting in the way. If there is a marker under the cursor, ESC will remove it and others in its group. Otherwise all temporary markers are removed. Tab finds/cycles/removes temp. markers, cycles non-temp. markers (under cursor) and behaves normally in all other cases.
2008-08-05Find and Replace now support "Mark All" which marks all occurrences of a ↵Ian Thompson
string and allows them to be edited from one instance. Improvements have also been made to the UI allowing better control over which occurrences to replace.
2008-08-05Text Markers: multiple, coloured selections within a Text object with group ↵Ian Thompson
relationships. They allow portions of text to be edited as one and enable quick jumping between and editing of different areas. Flags control the behaviour and grouping of markers. At present, Ctrl+M places a marker with TMARK_EDITALL set for testing purposes. I have also split the text area event handler into separate methods for marker handling and the existing text tools. This makes the events system much easier to follow as it was getting a little hairy.
2008-07-23Improvements to text find (and replace):Ian Thompson
- Added GUI panel - Selected text is copied to "find" field - Option to search "all texts" - Option to replace text - Alt+F finds, Ctrl+Alt+F finds again (without UI) - Alt+H replaces (UI), Ctrl+Alt+H replaces again (and undo works) - Fixed: Find didn't push undos so cursor position was wrong
2008-06-17Added functions to the BPy Text object for positioning the cursor and ↵Ian Thompson
inserting text. It seems Text.write() actually inserts *then* moves to the end of the buffer, so it doesn't really append as it says in the docs. However, with these new functions both appending and inserting can be achieved.
2008-06-05Whole word operations added:Ian Thompson
* Alt-Left/Right: moves cursor/selection a word to the left/right * Alt-/Ctrl-Delete/Backspace deletes whole words at a time
2008-06-04Overwrite mode added, toggled with INSERTKEYIan Thompson
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-03-04Added Copy and Paste functions to GHOST.Ricki Myers
- Moved WIN32 code to ghost and added code for other systems. - Added functions getClipboard(flag), and putClipboard(buffer, flag) -Flag is used on X11 to request selection buffer or clipboard. -If any other system uses flag = 1 the function returns doing nothing. - Changed ctrl +c/v and shift+ctrl + c/v to do the same thing (use the clipboard). - Changed the menu items (copy, paste) to use the clipboard.
2007-03-11made all data adding functions accept a name such as add_mesh or add_curve, ↵Campbell Barton
previously only some datatypes adding functions accepted a name. also updated the Bpy.py epydocs
2006-03-05Adds menu item in text editor under format menu to convert whitespace toRicki Myers
Spaces or to tabs. Adds function void convert_tabs(struct SpaceText *st, int tab) int tab is eather 0 or 1; 1 if converting to tabs I was going to make this auto run when running a script but did not know what that would do to the GE or any thing else.
2005-12-12bugfix: #3420 Indent/Unindent in text editor not undoableStephen Swaney
contributed by Mr. TextEditor - themyers. Thanks!
2005-04-10Bugfix for disappearing hilight bug and code re-org for text editorStephen Swaney
from Ricki Myers (themyers). Comes with nice juicy commit msg, too! - source/blender/blenkernel/BKE_text.h - Removed indent_paste, uncommen, unindent_lines, comment_paste, uncomment_paste, uncomment, set_tabs. All these functions cut and re-added text (I felt this was unsafe). whicch is was caused the highlight loss. - Now the only functions are Indent, Unindent, comment, uncomment, setcurr_tab. All these functions only take one @parm (struct Text) -indent(struct Text *text) copy's the selected text in a MEM_mallocN line by line added a tab at the begginning - Unindent(struct Text *text) Tests if current line starts with a tab. if TAB remove it - comment(struct Text *text) copy's the selected text in a MEM_mallocN and adding a # at the begginning - Uncomment(struct Text *text) Tests if current line starts with a #. if # remove it - setcurr_tab (Text *text) Checks for Tabs pri. to any text if : is found and not in a comment then Tabs is increased by one if "return", "break", "pass" is found then Tabs is decreased - blender/source/blender/src/header_text.c Changed: txt_cut_sel(text); indent_paste(text); TO: txt_order_cursors(text); indent(text); * no more cutting of the text - source/blender/src/drawtext.c set_tabs(Text *text) just calls setcurr_tab(text);
2005-03-09big warning hunt commitJean-Luc Peurière
lot of casts, added prototypes, missing includes and some true errors
2004-11-01- Added initialize to '4' for new tab variable in text windowTon Roosendaal
(prevents crash reported by sgefant!) - Selection outline for Curve objects didnt draw right after leave editmode - outliner now default when first viewing Oops window (dangerous?) - Zoom with ctrl+middlemouse works in Oops again
2004-10-15a patch for the Text editor contributed by themeyers.Stephen Swaney
adds new features for indenting and commenting. Note: I am not sure if the best menu spot for these features is under the Select menu, but we can argue about that later. They do work on a selection, though. from the mailing list post: 1&2. Added Indent/Unindent under Edit->Select just select the text you want to indent and go to the menu ( note if nothing is selected Indent will just indent ( tab ) the line the line ) 3&4. Added Comment/Uncomment to the same menu same applies as above 5. Added Tab setting on the menu bar in text editor Sets the number of spaces a tab == changing the setting will change the hole script 6. Added Auto indent when you hit enter it goes to the next line at the same tab number and the line above it ( needs more testing and input)
2003-10-25- removes warningsJiri Hnidek
2002-12-27Removed the config.h thing from the .h's in the source dir.Kent Mein
So we should be all set now :) Kent -- mein@cs.umn.edu
2002-11-25Did all of the .h's in sourceKent Mein
(adding) #ifdef HAVE_CONFIG_H #include <config.h> #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu
2002-10-30fixed spacing in the headers to get rid of some warnings and some otherKent Mein
little minor spacing issues.
2002-10-12Initial revisionv2.25Hans Lambermont