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
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
02abb636a3
UI messages: unification of select/deselect stuff.
...
Previously we had three versions, Select/Deselect, Select or Deselect, and (De)select, choosen the third (shortest) one for now.
2012-03-17 19:14:08 +00:00
31d2ee9bf7
style cleanup, brackets in else/if, some indentation.
2012-03-06 18:40:15 +00:00
a2c182e923
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
2012-03-03 16:31:46 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
4f38c52200
file selector - entering and empty path on *nix would ask to create a new dir.
2012-01-30 10:04:27 +00:00
3e7ad0e271
fix [ #29537 ] file/save crashes when target path isnt found
...
bug was that uiPupMenuSaveOver(...) could run the WM API call function which freed the operator, within the low level invoke function which kept using the freed memory.
Changed uiPupMenuSaveOver(...) to only show a popup so the caller needs to check if the file exists and should be immediately written (which was done everywhere except for blend saving anyway).
* added note that operators invoke/exec funcs cant call WM_operator_call(...) on themselves, ends up using freed memory.
* added BLI_is_file(path), checks the file exists and isnt a directory.
2011-12-12 18:06:36 +00:00
9b17d39ce0
Fix #29260 : Missing "Extend" parameter for Border Select
...
Added "Extend" flag to border select operators for editors:
- UV Editor
- Sequencer
- NLA
- Info Space
- Graph Editor
- File Browser
- Clip Editor
- Action Editor
- Channels and markers regions
Can be used for custom keymaps.
2011-11-16 19:22:14 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
e417e011d5
Code cleanup: file operations merged into single header, some function names
...
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22 15:35:49 +00:00
88473fd49a
Code cleanup: remove BLI_exist, now there is only BLI_exists. One function just
...
called the other, they did the same thing.
2011-10-21 22:33:41 +00:00
317b649bb2
fix for buffer overrun with BLI_split_dirfile(...), was simple to do since many places don't check for filename lengyj of 79 chars which is the limit for the file selector.
...
Add max dir and file length args.
2011-10-15 03:56:05 +00:00
185df0811c
fix for error when fixing crash in filesel poll function.
2011-10-04 22:42:49 +00:00
d1c99081ea
fix for crash when loading the file selector on startup.
2011-10-03 03:48:48 +00:00
d3a76bc507
Fix #28549 : file browser recent directories could include directory that
...
doesn't exist after cancelling make directory. Patch by Sergey.
2011-09-22 15:46:43 +00:00
f157a543c6
/blender/editors: Removed final points in UI strings and messages.
...
Plus a few cuts in very long lines…
2011-09-19 12:26:20 +00:00
0abe1911d5
- fix for access past the buffer size (paint / sculpt used some 2d vecs as 3d)
...
- remove redundant NULL checks on old code where it would crash if the result was NULL later on.
- add some missing NULL checks.
2011-09-16 06:47:01 +00:00
566da26173
file-selector: when converting operator arguments to the file selector, wasnt making paths absolute (abs paths are made relative when converting the other way).
2011-08-26 01:32:07 +00:00
82e622f158
fix [ #28356 ] Import export STL files, problem in script in version r39307
...
& correct some bad comments.
2011-08-24 14:22:41 +00:00
e4f2234fff
workaround [ #28250 ] Append dialogue will ask to create new directory inside a .blend
...
directory button isnt library aware, for now disable it when a libraries loaded.
2011-08-15 04:11:55 +00:00
82e863bdae
fix [ #28102 ] Typing 'C:' into the file selector's directory asks to make a new directory.
2011-08-05 06:06:15 +00:00
53bf66a579
checks in rna range functions that the max value cant be less than the min.
...
also fix for invalid rage for FILE_OT_filenum.
2011-06-23 06:13:21 +00:00
fd24c99b5d
directory only filesel for operators which don't have a filepath or filename property.
2011-06-16 15:01:22 +00:00
a43309e8d4
Added cancel callbacks to modal operators which allocates memory
...
in invoke callback. This prevents unfreed memory blocks when quiting
Bledner with modal operator running.
2011-06-06 11:04:54 +00:00
9f766c71b0
use event->mval rather then subtracting ar->winrct.x / y from event->x / y
2011-05-20 07:40:05 +00:00
16ba377026
fix for a crash with the following steps.
...
- open file sel
- save user defaults
- new file
- ctrl+u (crash)
wasn't type checking the space file, passed info space to ED_fileselect_exit().
2011-04-25 09:28:52 +00:00
210ee1ade4
whitespace only, no functional change mixed tabs/spaces --> tabs.
2011-04-21 13:11:51 +00:00
1c6956a4d6
quiet msvc/mingw compiler warnings.
2011-04-10 09:37:04 +00:00
4c44a1fc04
quiet warnings.
2011-04-03 13:17:07 +00:00
6031744c35
fix for use of un-initialized pointers in file_sfile_to_operator(...) & remove unused vars.
2011-03-21 03:22:33 +00:00
8908d55907
== file browser == Code cleanup
...
* Remove direct access to file->selflag in file_ops.c
2011-03-20 15:15:05 +00:00
e73a2020dd
== filebrowser == Code cleanup
...
* Separate out selection flags from file type flags, was bothering me since forever ;)
* Also renamed ACTIVEFILE to SELECTED_FILE to better reflect actual usage in code.
* Fix crash introduced with last commit, better check for valid selection
2011-03-20 11:16:59 +00:00