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
2020-10-28UI: Move the 'Resolve Conflict' button closer to the text data-blockYevgeny Makarov
Moves the Text Editor 'Resolve Conflict' button closer to data-block selector and with 'Question' icon. Differential Revision: https://developer.blender.org/D9266 Reviewed by Hans Goudey
2020-10-24UI: Capitalization CorrectionsYevgeny Makarov
Approximately 141 changes of capitalization to conform to MLA title style. Differential Revision: https://developer.blender.org/D8392 Reviewed by Julian Eisel
2020-10-07UI: Fix capitalization in various placesYevgeny Makarov
Follow the MLA style, agreed upon in T79589. This means "from" within UI labels should be lowercase. Differential Revision: https://developer.blender.org/D8345
2020-10-02Cleanup: pep8 (indentation, spacing, long lines)Campbell Barton
2020-06-24Text: add replace all operatorCampbell Barton
D8032 by @Poulpator with minor edits
2020-06-11UI: Adjust names for Find/Replace Set SelectionAaron Carlisle
This is really doing two operation so using the ampersand makes more sense. Also selection sounds better than selected. This also adjusts the name in the text Edit menu which was an issue raised in T68738
2020-04-17UI: Layout changes for new checkbox layout possibilitiesWilliam Reynish
Follow-up to previous commit. Some examples: {F8473507} {F8473508} {F8473509} {F8473510} For more screenshots, please see D7430. We use column or row headings here to bring more structure, and to give the eye visual anchors which aid eye-scanning. The left-aligned checkboxes likewise help with this. And we keep the adherence to the center line, so the alignment matches up between the various buttons and controls. * Changes the property split percentage from 50/50% to 40/60%. This is needed to give enough space for the checkboxes. But in most cases this looks better anyway - see Transform panel. In some cases it simply fills out the available space more efficently. * Fix various hacks where we previously used manually defined splits. When we did this, the alignment was never quite right, and the layout code was a mess. * Adds column headings to many places where a list of checkboxes all share a common purpose or leading text. * Add checkbox + value configurations various places where a checkbox only serves to enable the value slider * Removes most uses of grid flow layout. The grid flow layouts combine poorly with column headings, and also they would mess alignment up badly. The grid flow layouts also often made buttons and controls jump around on the screen if you would just resize editors slightly, causing visual confusion, making users lose their place. The logic for at what time the list of items would re-flow was often flawed, jumping to multiple columns too fast or too late - and frankly, the grid flow layouts would often just look bad. Maniphest Task: https://developer.blender.org/T65965 Differential Revision: https://developer.blender.org/D7430 Reviewed by: Brecht Van Lommel, Pablo Vazquez. Most work here by William Reynish, few changes by Julian Eisel.
2020-01-23UI: Text Editor header cleanupWilliam Reynish
- Register toggle is in the Text menu - Run Script and Refresh OSL become an icon buttons next to ID block Differential Revision: https://developer.blender.org/D5686 Reviewed by Campbell Barton
2019-10-31Fix oso extension detection in the text editorCampbell Barton
2019-10-22Cleanup: unused variables, enums, spellingCampbell Barton
2019-08-14Text editor: syntax highlighting + line numbers on by defaultSybren A. Stüvel
The most common use of the text editor seems to be for scripting. Having line numbers and syntax highlighting enabled by default seems sensible. Syntax highlighting is now enabled by default, but is automatically disabled when the datablock has a non-highlighted extension. Highlighting is enabled for filenames like: - Text - Text.001 - somefile.py and is automatically disabled when the datablock has an extension for which Blender has no syntax highlighter registered. Reviewers: billreynish, campbellbarton Subscribers: brecht, billreynish Differential Revision: https://developer.blender.org/D5472
2019-08-09UI: add back header icons to toggle text display optionsCampbell Barton
These were removed in D5028, adding back by popular demand.
2019-08-08Cleanup: rename text toolbox to context menuCampbell Barton
2019-08-08Text: reorganize menusCampbell Barton
- Add "Live Edit" to Text menu. - "Top/Bottom of File" renamed to "Top/Bottom" and placed in Navigation sub-menu. - Added navigation functions to Navigation menu, since they were not exposed in the menus. - Added selection functions to Select menu, since they were not exposed in the menus. - Moved the Select menu to the Header in consistency with the 3D View. - Inserted comment in context menu. D5434 with edits.
2019-08-05Text: merge toggle comments into a single operatorCampbell Barton
This allows users to map comment/un-comment to be mapped to keys.
2019-08-05Cleanup: remove underscore prefix for used varsCampbell Barton
Also remove unused vars.
2019-08-04Text Editor UIWilliam Reynish
Tweak Text Editor to fit better with the rest of Blender 2.8: - Move sidebar to the right - Add proper context menu - Move view toggles to the View menu - Change the indentation option to be an enum between spaces and tabs - Several layout tweaks Patch by @tintwotin / Peter Fog with additional tweaks by me. Differential Revision https://developer.blender.org/D5028 Reviewers: Brecht, Campbell
2019-08-02Fix (unreported) missing/broken translations in Text space.Bastien Montagne
As a reminder, no new fancy python string formatting is just not working (tm) with i18n translations system...
2019-08-01Text: toggle comment operatorCampbell Barton
2019-07-15Fix showing "__pycache__" in templates menuCampbell Barton
2019-04-20Correct error in last commitCampbell Barton
2019-04-20UI: remove redundant row for header templateCampbell Barton
If it's members need to be aligned the template can handle it.
2019-04-19Cleanup: mark unused arguments in UI scriptsCampbell Barton
Quiet's pylint W0613 warning, also remove some unused args.
2019-04-18UI: move region toggling to propertiesCampbell Barton
Each space had separate operators, duplicating logic. Use RNA properties instead so adding the ability to toggle other region types (floating redo region for eg) doesn't need to have an extra operator per space type. It's also nicer to show a check-box for something which can be toggled.
2019-04-13Cleanup: add trailing commas to wrapped argsCampbell Barton
2019-04-05Interface: New region type 'Footer', used by text editorGeorge Vogiatzis
* It can be hidden by dragging it up/down. * It can be at the top or bottom, independent of the header. * It uses the color theme from the header. * It does not change its color, when the area becomes active. Currently, it is used in the text editor to display the file path. Differential Revision: https://developer.blender.org/D4601
2019-03-04UI: make text editor Text menu consistent with menus for .blend and images.Brecht Van Lommel
2018-12-20Cleanup: remove intermediate menu drawing functionCampbell Barton
2018-12-18UI: use icons for text edit copy/pasteWilliam Reynish
2018-11-22UI: First batch of fixing missing categories for panels.Bastien Montagne
2018-08-28Fix space text script - keyboard for labelsDalai Felinto
I guess multi-line ui elements were not covered in the cleanup scripts.
2018-07-14Merge branch 'master' into blender2.8Campbell Barton
2018-07-14Cleanup: minor change for f-string useCampbell Barton
2018-07-02UI: Header consistency for Text editorPablo Vazquez
2018-06-28Correct bad mergeCampbell Barton
2018-06-28Merge branch 'master' into blender2.8Campbell Barton
2018-06-28Cleanup: use f-stringsCampbell Barton
2018-06-28Cleanup: pep8Campbell Barton
2018-06-28UI: Center ID Blocks in Text EditorWilliam Reynish
See T55635
2018-05-24UI: View menu area operators now in submenuCampbell Barton
2017-03-19Moving classes to separate listing broke panel orderCampbell Barton
Although this wasn't so obvious since it only showed up for factory settings and in the preferences window. Panel display order depends on registration order, Sorry for the noise. On the bright side we no longer need to move classes around to re-arrange panels.
2017-03-18PyAPI: remove bpy.utils.register_module()Campbell Barton
In preparation for it being removed, see: T47811
2017-03-14Update path_menu for recent API changeCampbell Barton
2016-06-22Fix T48703: Name inconsistency w/ area maximize/fullscreenCampbell Barton
Name operator based on default behavior.
2014-10-14Fullscreen Editor (new fullscreen mode for clean UI)Dalai Felinto
Organize Maximize/Fullscreen mess and add a new fullscreen mode with no UI * Maximize Editor: (old Ctrl+Up) * Full Screen Window: (old Alt + F11) * Full Screen Editor: new operator (Alt + F10) * Change Show/Hide Header: (Alt + F9) When the mode is on moving the mouse near the top right corner of the editor shows an icon to go back to the normal editor mode. This was originally intended for the multiview branch, but this functionality also benefits non-stereo workflows, thus it can be reviewed and committed independently. Development notes: * This includes cleanups in the code to sanitize the naming of fullscreen/maximize across the window/editor code. * Originally the idea was to make the window fullscreen as well, but this idea was dropped. * You can see the clicking area when debug is 1 * Technically the user can be left with an unfaded icon in the corner (specially when using a tablet). If we think this is too bad we can increase the action zone to be the whole screen, or something similar. Reviewers: campbellbarton [1], ton [2], fsiddi [2] [1] actual code review [2] design review Differential Revision: https://developer.blender.org/D678
2014-01-27UI: Replace +/- menus with collapsible onesCampbell Barton
Patch D160, by Scott Petrovic with own modifications.
2013-10-14Interface / Text:Thomas Dinges
* Add "Open" operator to the Text Editor header, it's a common operation next to New. * Add Body Text property to the Font panel for Text objects, so text can easily be pasted into Blender and editing it becomes easier too. This was only accessible via the RNA Data blocks before.
2013-09-20Text Editor: 'Find' (in the Edit menu) was pointing to the wrong operatorDalai Felinto
2013-08-24Followup to r59434 : py UI scripts edits.Bastien Montagne
Notes: * Made those edits by full checking of py files, so I should have spoted most needed edits, yet it remains quite probable I missed a few ones, we'll fix if/when someone notice it... * Also made some cleanup "on the road"!
2013-02-10Actually, UI scripts should not use directly pgettext, but rather the iface ↵Bastien Montagne
or tooltip variants. Added those to bpy.app.translations, and used pgettext_iface. (Did not add those when I created that module, because I did not thought we would actually need them in usual UI code, but turned out I was wrong). Also made some optimizations in those py gettext funcs, when i18n is disabled at build time, no need to do pyobject -> cstring -> pyobject conversions!.