26d0492653
A final bunch of UI messages fixes and tweaks, and some BKE_report()<->BKE_reportf() fixes.
2012-10-21 14:02:30 +00:00
b50fc8ac68
More UI messages fixes.
...
Also forgot to translate reports' titles, and change some usages of BKE_reportf to simple BKE_report, when the former is not needed!
2012-10-13 15:44:50 +00:00
9f21b799c4
And more UI messages spell check.
2012-10-13 13:40:05 +00:00
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
6a2018fe13
code cleanup: minor changes to last commit.
2012-08-21 10:44:10 +00:00
9a776daca8
code cleanup: vfont's used confusing and over complicated method of storing memory for loaded fonts, not store as a temp var in the fonts.
2012-08-21 10:39:02 +00:00
6972e19fd5
code cleanup:
...
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)).
- reduce some double promotions.
2012-08-03 22:12:57 +00:00
cfb7aee017
style cleanup
2012-07-07 22:51:57 +00:00
ffed654ff2
style cleanup: blenkernel
2012-05-06 17:22:54 +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
ee6aaafd31
code cleanup: typos and set gcc attributes for string formatting.
2012-04-25 06:06:40 +00:00
69e6894b15
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:18:31 +00:00
f11a6d3a84
Adds support for utf paths on Windows.
...
Not all file formats/calls are supported yet. It will be expended.
Please from now on use BLI_fopen, BLI_* for file manipulations.
For non-windows systems BLI_fopen just calls fopen.
For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20 02:17:37 +00:00
82979d5ab5
Fix #30590 : Crash in multires when undoing extrude [File incl.]
...
- Crash was caused by recursively copying directory into itself, fixed
by switching from opendir() to scandir().
- Also do not try to unpack images which doesn't have name.
2012-03-19 20:47:17 +00:00
95670e03a0
style cleanup / comment formatting for bli/bke/bmesh
2012-03-03 20:19:11 +00:00
e10fd04db0
use BLI_strncpy and BLI_snprintf when the size of the string is known.
...
fix for sequencer unique naming which was missed with string length update.
2012-01-11 12:33:51 +00:00
6736576f6d
replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAX
2011-11-26 04:07:38 +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
5cf593a778
strcpy() --> BLI_strncpy(), where source strings are not fixed and target size is known.
2011-10-19 23:10:54 +00:00
bc40f11093
header cleanup (no functional changes)
2011-10-10 09:38:02 +00:00
011a3645bf
fix [ #28846 ] Relative paths on linked scene fails
2011-10-08 11:02:58 +00:00
Nathan Letwory
0ff06e21cd
doxygen: blender/blenkernel tagged.
2011-02-27 20:40:57 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
0955c664aa
fix for warnings from Sparse static source code checker, mostly BKE/BLI and python functions.
...
- use NULL rather then 0 where possible (makes code & function calls more readable IMHO).
- set static variables and functions (exposed some unused vars/funcs).
- use func(void) rather then func() for definitions.
2011-02-13 10:52:18 +00:00
8f21a43535
split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
...
no functional changes.
2011-01-07 18:36:47 +00:00
5a09368957
use 'const char *' for imbuf and file ops.
2010-11-19 02:14:18 +00:00
51dcbdde03
use 'const char *' by default with RNA functions except when the value is flagged as PROP_THICK_WRAP.
...
Also use const char in many other parts of blenders code.
Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-17 09:45:45 +00:00
2fbfd11f8d
Fix for [ #24654 ] Sound Actuator doesn't find the file when Blender is reopened.
2010-11-13 13:44:45 +00:00
619a8b6952
bugfix [ #24357 ] Font folder can be specified but is not opened
...
- open operator was incorrectly checking if the font path was set.
- rna ID editable check was also incorrect, checking the ID name rather then the filename.
- use define FO_BUILTIN_NAME rather then "<builtin>".
2010-10-24 07:02:19 +00:00
4d37cf90b9
remove G.sce, use G.main->name instead.
...
Both stored the filename of the blend file, but G.sce stored the last opened file.
This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore).
Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-18 06:41:16 +00:00
d6d1f3cb68
Reverting Cam's audio code changes from revision 32517. Part of it has been reverted by Nathan already. Cam: next time please check, why a parameter is unused before you remove it!
2010-10-17 09:01:37 +00:00
8268a4be71
most unused arg warnings corrected.
...
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16 14:32:17 +00:00
52e6058bb4
[ #24204 ] Packing of image sequence does not work
...
this isnt supported but at least display a warning.
2010-10-10 21:39:24 +00:00
134e2f001c
bugfix [ #23495 ] unable to pack file, source path not found: "<builtin>"
2010-08-25 08:57:42 +00:00
aae952be1f
Fix [ #22669 ] Packing a .wav used in a LB crashes Blender
2010-06-28 00:11:28 +00:00
4ee8d74680
bugfix [ #22573 ] image pack isn't working right
...
own fault with recent commit to stop packing of generated images, now this works as expected.
2010-06-14 00:10:11 +00:00
a6826584ef
make pack all not back library data, dont attempt to pack image viewers or generated images.
2010-05-18 13:18:37 +00:00
ace1c998c4
warning cleanup, also made voxel.c and volumetric.c use BM_INLINE define rather then having their own ifdefs in each file.
2010-04-24 10:08:07 +00:00
8f1500da00
remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now.
2010-04-18 10:28:37 +00:00
546ca400d8
removed unused includes, except for physics and particle related files
2010-03-21 13:42:25 +00:00
1708ac0723
rename some functions to use easier to understand names.
...
'BLI_makestringcode' --> 'BLI_path_rel'
'BLI_convertstringcwd' --> 'BLI_path_cwd'
'BLI_convertstringframe' --> 'BLI_path_frame'
'BLI_convertstringframe_range' --> 'BLI_path_frame_range'
'BLI_make_cwdpath' --> 'BLI_path_cwd'
2010-03-09 17:36:23 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
a6645bfafb
pack all was giving an error on the render result
2009-10-15 08:39:47 +00:00
ba5df38d66
use static functions where possible for some local functions.
2009-09-14 16:52:06 +00:00
Nathan Letwory
fb649d5824
* cleaning up warnings (mostly windows). A collection of other warning fixes too (undefined function, assuming int, etc.)
...
This compiled fine with scons/msvc and scons/mingw (gcc 4.4.0). Please test and report any problems.
2009-09-06 13:20:05 +00:00
4ba6dbce76
Replaced G.sce by Main.name in sound.c.
...
I hoped for it to resolve the bug of loading sounds with relative paths didn't work, but Main.name isn't set before the sounds are loaded, so the bug resists!
Someone who is into file loading should please fix this!
2009-08-25 15:30:04 +00:00
6c5c58e057
2.5: Sound branch merge!
...
See mailing list for additional information.
2009-08-09 21:16:39 +00:00
de36dd1e99
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22099:22130
2009-08-02 03:59:00 +00:00