Age | Commit message (Collapse) | Author |
|
|
|
only image paths were getting corrected, now all paths will (scene image seq strips, pointcache etc)
|
|
vertex name flipping, replaced with flip_map from trunk
|
|
|
|
'Unknown fileformat'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://markmail.org/message/fp7ozcywxum3ar7n
|
|
|
|
- ensure input is valid utf8 from ghost and NULL then complain if its not.
- added function to get utf8 size BLI_str_utf8_size()
|
|
option, improved this so the python file:line lookups are only done when the operator runs (previously this was done for every button, every draw when the build option was enabled).
Perhaps this should be hidden when not running with --debug, easy to change.
|
|
|
|
|
|
made less cryptic and changed to indicate if they work on files or directories.
|
|
- clear utf8_buf on key up & complain if its set (should never happen)
|
|
utf8_buf can be not null terminated, plus not init as in this case. (I need to investigate more)
|
|
|
|
in BLI_ functions.
|
|
- remove redundant casts
- replace strcmp's with "" to just check first char.
- added WM_event_print(), debug mode only to print events since the structs values are not that meaningful.
- added warnings if locale/font dirs cant be found.
|
|
Previous state:
Right now, there are "memories" of the "old" (less than a month!) translation way:
* A few remaining calls to BLF_gettext() (only UI_translate_do_iface and UI_translate_do_tooltip should be used).
* The _() macro still also calls BLF_gettext()!
New state:
Here are the changes made by the patch:
* Removing the no more needed _() macro.
* Removing most N_() and _() calls, only keeping the few needed ones (i.e. strings that are in no other way findable by xgettext and/or update_msg script).
* Defining in UI_interface.h IFACE_() and TIP_() macros (resp. for UI_translate_do_iface and UI_translate_do_tooltip).
* Replacing all calls to BLF_gettext by relevant IFACE_ or TIP_ one.
* Replacing all calls to UI_translate_do_iface by IFACE_.
* Replacing all calls to UI_translate_do_tooltip by TIP_.
All this somewhat clarifies and simplifies the code.
On the bf-translations scripts side, this only implies adding IFACE_ and TIP_ as detection markers for xgettext.
It also allows to reduce POTFILES.in quite notably (only 20 files remaining in it).
Please also have a look at those pages:
* Coder POV: http://wiki.blender.org/index.php/Dev:2.5/Source/Interface/Internationalization
* Translator POV: http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender
|
|
|
|
- move font.c unicode functions into string_utf8.c and rename to fit with other BLI_string funcs.
|
|
- currently X11 only, depends on Xinput (but should not break other os's).
- ghost stores utf8 buffer, copies to wmEvent's
- UI text input is currently the only area that uses this - not console or text editor.
- no rna access yet.
|
|
python source for UI layout directly.
|
|
|
|
nothing to effect translations.
|
|
over to bmesh)
|
|
BLI_math.h)
|
|
|
|
|
|
|
|
|
|
Also fixing two more crashes when audio files don't exist/cannot be read and apply a changed file path of a sound, reported by Jens Verwiebe in IRC.
|
|
- initialize the relative_path option in ED_fileselect_get_params(), saves initializing within every operators own init functions, some even trying to initialize a non existing property.
- don't set the operator default from the user preferece, operator property defaults should be static else python scripts for eg can get different defaults depending on user settings, this also wont get updated when user-defaults are edited so generally confusing & not good practice.
|
|
(lastest used lib keeps priority).
|
|
|
|
|
|
remove uiIconImage too since its unused.
|
|
also fix pacman package build spec.
|
|
Pardoon, looks like i've forgot to revert current work before
commiting actual patch i wanted to send to the svn.
|
|
approach the RC state.
|
|
had 'WITH_PYTHON_SAFETY' enabled which was using different iterators (which dont crash), now there on by default.
made headless and no-python configurations work again and added --factory-startup to doc building command.
|
|
|
|
like other code in blender it should write to the one actually verified
to exist.
Also fixes wrong temp directory when loading user preferences with no
temp directory from a state where one was specified.
|
|
|
|
would free all window data which was then accessed, causing a crash.
|