8480bb64ec
Code cleanup: style
2014-03-17 21:48:13 +11:00
d900f5be55
Code cleanup: use bools where possible
2014-02-03 19:35:44 +11:00
0e1c1b6196
Code cleanup: remove BLI_has_parent
2014-01-31 03:30:05 +11:00
a5c35fb27f
Code cleanup: use booleans where appropriate
2014-01-28 04:00:04 +11:00
348cf17448
Code Cleanup: no need to pass empty strings as default values
2014-01-16 22:00:29 +11:00
8dc80e9d73
Style Cleanup
2013-12-10 13:45:17 +11:00
77719bfd06
File Browser: autocomplete keeps focus in the file field when entering a folder.
...
There is a bunch of internal refactoring going on too:
* No longer use operators to handle these directory and file fields, only makes
things more complicated than they should be.
* Handle autocomplete partial/full match deeper in the UI code
* Directory field still does not keep focus, that's for another time to fix,
you can already do pretty quick keyboard only navigation with the file field.
Reviewed By: elubie
Differential Revision: http://developer.blender.org/D29
2013-11-29 17:49:01 +01:00
63caaa2b12
Code Cleanup: rename vars for detecting change to be more consistent
...
rename change/is_change/is_changed/modified -> changed
also use bools over int/short/char and once accidental float.
2013-11-26 06:39:14 +11:00
70218ad14d
Style Cleanup: whitespace
2013-11-23 02:06:06 +11:00
9c5fb7b2e7
Fix T37485: autocomplete while appending and autocomplete folder behaviour.
...
This adds functionality to tab-autocomplete folders in the file browser file
field, and the ability to autocomplete .blend files and their sub folders while
linking. If only one match of a blend or a folder is found, it is opened, which
applies to wildcards in the file field now.
Reviewed By: elubie, brecht
Differential Revision: http://developer.blender.org/D20
2013-11-22 14:48:46 +01:00
2101237227
make bookmake name consistent was: FILE_OT_bookmark_add/FILE_OT_delete_bookmark
2013-10-08 13:16:14 +00:00
e1a54214bb
code cleanup:
...
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
2013-03-25 02:41:30 +00:00
ae1325c963
FIX: [ #34467 ] File Browser Deletes Unselected Files
...
* delete now acts on selected file(s) rather than the highlighted file.
2013-03-24 19:29:49 +00:00
88cf1a2bc7
Screen: add exit callback for area and region types, this gets called when
...
hiding or removing an area or region.
2013-03-15 19:56:29 +00:00
aaa8a13c49
code cleanup: use const events for modal and invoke operators.
2013-03-13 09:03:46 +00:00
34233e7fd6
patch [ #34103 ] path_util_cleanups.patch
...
from Lawrence D'Oliveiro (ldo)
- Better argument name for BLI_cleanup_path and BLI_cleanup_file
- remove redundant BLI_add_slash already done by BLI_cleanup_dir
2013-03-05 04:35:14 +00:00
e39f05e5fa
patch [ #34103 ] fileops_1.patch
...
from Lawrence D'Oliveiro (ldo)
Add comments and use of bool type in fileops.c
2013-03-05 03:53:22 +00:00
1a9cde8b99
patch [ #34103 ] dir_contents.patch
...
from Lawrence D'Oliveiro (ldo)
- storage.c: Simplify BLI_dir_contents and make it and its internal subsidiary routines reentrant
- Moved common code for disposal of a struct direntry to new routine BLI_free_filelist in storage.c, and put calls to it in interface_icons.c and filelist.c
- Took out inclusion of BLI_fileops_types.h from BLI_fileops.h and put it explicitly into .c files that need it (which turned out to be only 7 of the 35 files that were including the former)
2013-03-05 03:44:47 +00:00
0ac07404ba
style cleanup: braces with multi-line statements, also add some comments.
2013-03-01 14:47:06 +00:00
18536e201f
add a segfault handler that writes out the info log into a crash file alongside the blend file.
2013-01-10 16:37:48 +00:00
c9dade4fe0
Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-26 17:32:50 +00:00
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
d0f702df8f
fix [ #32799 ] right click select in filebrowser breaks opening folders
...
own regression since 2.63,
The path length for FILE_OT_select_bookmark was too short as well (256 --> FILE_MAXDIR).
2012-10-08 03:33:02 +00:00
25c96bc9f3
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-20 01:02:39 +00:00
f6251a1f32
code cleanup: warning and style
2012-09-17 22:34:42 +00:00
d9a95f967a
== filebrowser ==
...
added operator for resetting (cleaning up) the recent folders list in the file-browser panels.
(small and low risk request by dfelinto)
2012-09-17 21:38:04 +00:00
3cae9ca043
fix [ #32564 ] Entries in recent list (file select dialog) don't get pushed to top if used again
2012-09-17 02:19:41 +00:00
a5003727c5
code cleanup: replace fsmenu_insert_entry args with flags.
2012-09-17 02:01:09 +00:00
f637a52272
fix [ #30324 ] VSE: Right-Click does not select directory
2012-09-12 10:04:09 +00:00
635db3b306
code cleanup: add utility function BLI_path_is_rel()
2012-08-29 10:32:38 +00:00
56b28635e7
code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with our naming convention.
2012-08-23 18:25:45 +00:00
5e0f254afa
utility functions for getting/setting rectangles for operators.
2012-08-08 20:38:55 +00:00
61469d2e3e
code cleanup: remove unneeded 'struct' qualifiers
2012-07-26 22:47:05 +00:00
7cc5af4ef3
minor refactor for rect functions. more consistent naming.
2012-07-15 00:29:56 +00:00
993dfd7d2a
add bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmax
2012-07-12 08:31:23 +00:00
558721ab59
More spell checking.
2012-07-04 15:04:38 +00:00
a744fed46c
style cleanup
2012-06-20 16:43:48 +00:00
2c3165fdc0
style cleanup
2012-06-18 13:01:24 +00:00
cc33934410
Fix for compiling with all warnings as error (commenting out unused vars).
2012-06-18 12:39:19 +00:00
fe20596f9c
== filebrowser ==
...
fixes:
* Sequence editor not loading file typed in filebrowser file button (reported by Sergey on IRC)
* filename button doesn't match exactly typed in filename
notes:
* file specified in the filename button now gets added to 'files' list, even if not selected
* after matching filename (either by typing in exact match or using wildcards) the first match is assigned to the filename button.
2012-06-17 14:16:26 +00:00
ed679693c9
style cleanup: whitespace/indentation
2012-05-19 13:55:54 +00:00
adb567f6b3
File browser: list of system directories is now refreshed on pressing the refresh
...
button or opening the file browser, in case e.g. a USB stick was inserted.
Patch #31211 by Julien Duroure.
2012-05-18 12:49:25 +00:00
c406ce2974
minor improvement - entering "//somepath" in the file selector didnt expand from the current blend files path.
...
also quiet warning.
2012-05-17 10:07:29 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
6701933f5c
style cleanup
2012-04-21 12:51:47 +00:00
a73d0d3e72
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.
2012-04-15 07:54:07 +00:00
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
5d68b3204d
fix for error with saving files after double clicking, the 'need_active' setting was getting saved which caused save to fail when not caused by double click afterwards.
2012-03-23 22:31:14 +00:00