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
2011-10-22Code cleanup: file operations merged into single header, some function namesBrecht Van Lommel
made less cryptic and changed to indicate if they work on files or directories.
2011-10-21Cleaning i18n code.Bastien Montagne
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
2011-10-15misc editsCampbell Barton
- cmake/windows was installing locale & font when internationalization was disabled, twice when enabled. - file selector was using the string size-1, where this isn't needed since string buttons expected this value to be the sizeof(), accounting for '\0'. - use const char for extension checking funcs. - minor pep8 edits
2011-10-03fix [#27578] Fileselector UI area does not scale with UI (partially hides ↵Campbell Barton
buttons)
2011-09-25Fix some MSVC 2010 warnings (including one apparent bug in ↵Andrew Wiggin
intern/elbeem/intern/solver_relax.h)
2011-09-20i18n: code clean-upSergey Sharybin
- Move all translation-related declarations to BLF_translation.h - Reverted some changes to match trunk svn rev40365
2011-09-19Merging r40345 through r40365 from trunk into soc-2011-garlicSergey Sharybin
2011-09-19i18n: code cleanup and fixing unneeded translation (when partial translation ↵Sergey Sharybin
is used only)
2011-09-19/blender/editors: Removed final points in UI strings and messages.Bastien Montagne
Plus a few cuts in very long lines…
2011-09-15svn merge -r39834:40222 https://svn.blender.org/svnroot/bf-blender/trunk/blenderSergey Sharybin
2011-09-11replace magic numbers for flags for uiSetRoundBox();Campbell Barton
2011-07-16select uiStyle according to UserDef and update lang-packsXiao Xiangquan
2011-06-24right panel doneXiao Xiangquan
2011-06-24merge from trunk #37722Xiao Xiangquan
2011-06-16directory only filesel for operators which don't have a filepath or filename ↵Campbell Barton
property.
2011-06-15merge from trunk r37405Xiao Xiangquan
2011-06-05file selector now scales with DPI betterCampbell Barton
2011-06-05scale the file selector UI with the DPI, the region size can still be wrong ↵Campbell Barton
though.
2011-05-01Style CleanupCampbell Barton
- duplicate cases in if/else - calc inside sizeof(...) - redundant NULL checks. - assignment to self. - fix error getting text prefix for screen ID button.
2011-04-10quiet msvc/mingw compiler warnings.Campbell Barton
2011-03-27subsurf, derived mesh and other misc files: floats were being implicitly ↵Campbell Barton
promoted to doubles, adjust to use floats.
2011-03-20== filebrowser == Code cleanupAndrea Weikert
* remove commented out code
2011-03-20== filebrowser == Code cleanupAndrea Weikert
* 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== file browser ==Andrea Weikert
Patch from Alexander Kuznetsov: Real-time File Selection, thanks for the contribution. Still made a few minor changes from latest patch: 1. Rename SELECTEDFILE to HILITED_FILE, since we are not actually selecting the file, but previewing/highliting the possible selection. 2. Also made this clearer by not drawing the files as selected, but just highlight them. 3. Removed the Select/Deselect toggle when clicking on file, will be committed separately soon.
2011-03-14== filebrowser ==Andrea Weikert
Cleanup of selection code. Also fixed bug where selection outside the tiles was clamped and file in last column was selected.
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-17clear some unused warningsCampbell Barton
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-01-30And here's a decent fix for correctly recognizing the theTon Roosendaal
.blend1 etc backups. Proves again that lazy coders only make bad code :) Implementation note: The filewindow now recoginizes .blend version backups as a special type, so filtering for .blend files themselves ignores it. However, they're recognized correctly as valid .blend files, and draw an icon as .blend file when filtering is off. Can become a distinct icon if we want...
2011-01-17== file browser ==Andrea Weikert
bring back nice shortening of filenames in thumbnail view, shortening at front and end is confusing. - adds ... at the end to indicate that the filename has been shortened - also cuts off at the end and not at both front and end now Note: maybe this can be moved into button code or so in the future, but for now should work.
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-15Bugfix #25231Ton Roosendaal
File Window: text clipping was tiny bit too narrow. It was also clipping text twice even ;)
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-11-14== filebrowser ==Andrea Weikert
* compile fix on non-Windows platforms.
2010-11-14== filebrowser ==Andrea Weikert
* drawing code cleanup. * list drawing code now uses uiStyleFontDraw like buttons etc.
2010-11-08compiler warning fixesCampbell Barton
2010-11-07Remove code duplication. Andrea Weikert
Will look into nicely using uiStyleFontDraw later.
2010-11-07Enabled kerning for the default UI font for the places that are using ↵Andrea Weikert
UI_DrawString still and for filebrowser. Makes text more readable :)
2010-11-06== filebrowser ==Andrea Weikert
Center Text underneath the icons in thumbnail view. (Small request from Sergey)
2010-11-06== filebrowser ==Andrea Weikert
Bringing back missing feature: Create new directory by typing a not existing name into the directory button. Note: Small issue still with autocomplete -> if typing the new directory directly after autocomplete, it doesn't execute the operator yet. Also fixed some minor compile/cleanup issues with warning about signed/unsigned comparison and missing header.
2010-10-18remove G.sce, use G.main->name instead.Campbell Barton
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-16editors/space_* build without unused args warningsCampbell Barton
2010-09-17New optional operator function, check(), it takes the same arguments as ↵Campbell Barton
execute(). This runs after changing a property and allows correcting incompatible options. Returning True will redraw the UI. Currently this is used for setting the write extension when saving files, so changing the image format also corrects the extension. The same is accessible from python where its used when saving SVG/EPS/PNG files. This fixes: [#23828] obj export problems, [#23760] Exporting OBJ and filetype ending also fixed document submission operator. Now the filename in the file selector is the one used for writing this means we remove the "Save Over" popup which could be overlooked too easily. Instead display the filename field with red tint, and a note in the tooltip.
2010-08-30various utf8 compatibility fixesCampbell Barton
- OBJ import/export now work with non utf8 paths. (all exporters and importers need changes like this) - strip non utf8 chars from new ID blocks (also applies to renaming) - set the file rename button to allow non-utf8 chars.
2010-08-28python/utf8 compatibility fixes. (as discussed on the mailing list)Campbell Barton
- user input gets non utf8 chars stripped all text input other then file paths. - python has the same limitations, it will raise an error on non utf8 strings except for paths use unicode escape literals so its possible to deal with saving to these file paths from python. - new string functions BLI_utf8_invalid_byte(str, len) returns the first invalid utf8 byte or -1 on on success. BLI_utf8_invalid_strip(str, len) strips non utf-8 chars.
2010-08-26Patch [#23437] Fix for buffer overflow in filebrowserNathan Letwory
Contributed by Alexander Kuznetsov