Blender Git Commit Log
Git Commits -> Revision fca5158
Revision fca5158 by Bastien Montagne (master) January 26, 2015, 15:59 (GMT) |
Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage). Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places... |
Commit Details:
Full Hash: fca515838e70f8bec7028b840bb921a1be9fabbb
Parent Commit: d44890e
Lines Changed: +467, -471
133 Modified Paths:
/source/blender/blenfont/intern/blf.c (+2, -2) (Diff)
/source/blender/blenfont/intern/blf_translation.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/appdir.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/context.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/customdata.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/customdata_file.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/deform.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/idprop.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+20, -20) (Diff)
/source/blender/blenkernel/intern/ipo.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/library.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/property.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/text.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/writeframeserver.c (+3, -3) (Diff)
/source/blender/blenlib/intern/BLI_args.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_ghash.c (+1, -1) (Diff)
/source/blender/blenlib/intern/fileops.c (+1, -1) (Diff)
/source/blender/blenlib/intern/listbase.c (+5, -5) (Diff)
/source/blender/blenlib/intern/path_util.c (+1, -3) (Diff)
/source/blender/blenlib/intern/storage.c (+4, -4) (Diff)
/source/blender/blenloader/intern/readfile.c (+5, -5) (Diff)
/source/blender/blenloader/intern/versioning_legacy.c (+4, -4) (Diff)
/source/blender/collada/AnimationExporter.cpp (+44, -44) (Diff)
/source/blender/collada/AnimationImporter.cpp (+1, -1) (Diff)
/source/blender/collada/ArmatureExporter.cpp (+1, -1) (Diff)
/source/blender/collada/ArmatureImporter.cpp (+1, -1) (Diff)
/source/blender/collada/ErrorHandler.cpp (+5, -3) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/compositor/nodes/COM_TextureNode.cpp (+1, -1) (Diff)
/source/blender/editors/animation/keyframes_general.c (+3, -3) (Diff)
/source/blender/editors/animation/keyingsets.c (+2, -2) (Diff)
/source/blender/editors/armature/armature_add.c (+1, -1) (Diff)
/source/blender/editors/armature/armature_naming.c (+3, -3) (Diff)
/source/blender/editors/armature/armature_relations.c (+3, -3) (Diff)
/source/blender/editors/armature/editarmature_retarget.c (+3, -3) (Diff)
/source/blender/editors/armature/editarmature_sketch.c (+2, -2) (Diff)
/source/blender/editors/armature/pose_lib.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_utils.c (+1, -1) (Diff)
/source/blender/editors/curve/editcurve.c (+5, -5) (Diff)
/source/blender/editors/gpencil/editaction_gpencil.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+13, -13) (Diff)
/source/blender/editors/gpencil/gpencil_undo.c (+2, -2) (Diff)
/source/blender/editors/interface/interface.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/interface/resources.c (+18, -18) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/object/object_constraint.c (+1, -1) (Diff)
/source/blender/editors/object/object_edit.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_curve.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+3, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_undo.c (+3, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+4, -4) (Diff)
/source/blender/editors/sound/sound_ops.c (+4, -4) (Diff)
/source/blender/editors/space_buttons/buttons_texture.c (+1, -1) (Diff)
/source/blender/editors/space_console/console_ops.c (+3, -3) (Diff)
/source/blender/editors/space_file/filelist.c (+8, -7) (Diff)
/source/blender/editors/space_file/filesel.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_draw.c (+2, -2) (Diff)
/source/blender/editors/space_file/file_ops.c (+2, -2) (Diff)
/source/blender/editors/space_file/fsmenu.c (+4, -4) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+1, -1) (Diff)
/source/blender/editors/space_logic/logic_window.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+3, -3) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_select.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_autocomplete.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_draw.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_ops.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/editors/util/editmode_undo.c (+3, -3) (Diff)
/source/blender/editors/util/ed_util.c (+1, -1) (Diff)
/source/blender/freestyle/intern/python/BPy_Freestyle.cpp (+18, -18) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+3, -3) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+8, -8) (Diff)
/source/blender/imbuf/intern/indexer.c (+1, -1) (Diff)
/source/blender/imbuf/intern/jpeg.c (+4, -3) (Diff)
/source/blender/imbuf/intern/metadata.c (+3, -3) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+2, -2) (Diff)
/source/blender/imbuf/intern/png.c (+1, -1) (Diff)
/source/blender/imbuf/intern/thumbs_blend.c (+1, -1) (Diff)
/source/blender/imbuf/intern/tiff.c (+1, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+32, -32) (Diff)
/source/blender/makesrna/intern/rna_access.c (+11, -11) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_define.c (+13, -13) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshcache_pc2.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+1, -1) (Diff)
/source/blender/nodes/intern/node_socket.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_geom.c (+2, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_app_translations.c (+1, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_result.c (+32, -32) (Diff)
/source/blender/render/intern/source/render_texture.c (+1, -1) (Diff)
/source/blender/render/intern/source/shadeoutput.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+13, -19) (Diff)
/source/creator/creator.c (+4, -4) (Diff)
/source/blender/blenfont/intern/blf_translation.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/appdir.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/context.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/customdata.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/customdata_file.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/deform.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/idprop.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+20, -20) (Diff)
/source/blender/blenkernel/intern/ipo.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/library.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/property.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/text.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/writeframeserver.c (+3, -3) (Diff)
/source/blender/blenlib/intern/BLI_args.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_ghash.c (+1, -1) (Diff)
/source/blender/blenlib/intern/fileops.c (+1, -1) (Diff)
/source/blender/blenlib/intern/listbase.c (+5, -5) (Diff)
/source/blender/blenlib/intern/path_util.c (+1, -3) (Diff)
/source/blender/blenlib/intern/storage.c (+4, -4) (Diff)
/source/blender/blenloader/intern/readfile.c (+5, -5) (Diff)
/source/blender/blenloader/intern/versioning_legacy.c (+4, -4) (Diff)
/source/blender/collada/AnimationExporter.cpp (+44, -44) (Diff)
/source/blender/collada/AnimationImporter.cpp (+1, -1) (Diff)
/source/blender/collada/ArmatureExporter.cpp (+1, -1) (Diff)
/source/blender/collada/ArmatureImporter.cpp (+1, -1) (Diff)
/source/blender/collada/ErrorHandler.cpp (+5, -3) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/compositor/nodes/COM_TextureNode.cpp (+1, -1) (Diff)
/source/blender/editors/animation/keyframes_general.c (+3, -3) (Diff)
/source/blender/editors/animation/keyingsets.c (+2, -2) (Diff)
/source/blender/editors/armature/armature_add.c (+1, -1) (Diff)
/source/blender/editors/armature/armature_naming.c (+3, -3) (Diff)
/source/blender/editors/armature/armature_relations.c (+3, -3) (Diff)
/source/blender/editors/armature/editarmature_retarget.c (+3, -3) (Diff)
/source/blender/editors/armature/editarmature_sketch.c (+2, -2) (Diff)
/source/blender/editors/armature/pose_lib.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_utils.c (+1, -1) (Diff)
/source/blender/editors/curve/editcurve.c (+5, -5) (Diff)
/source/blender/editors/gpencil/editaction_gpencil.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+13, -13) (Diff)
/source/blender/editors/gpencil/gpencil_undo.c (+2, -2) (Diff)
/source/blender/editors/interface/interface.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/interface/resources.c (+18, -18) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/object/object_constraint.c (+1, -1) (Diff)
/source/blender/editors/object/object_edit.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_curve.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+3, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_undo.c (+3, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+4, -4) (Diff)
/source/blender/editors/sound/sound_ops.c (+4, -4) (Diff)
/source/blender/editors/space_buttons/buttons_texture.c (+1, -1) (Diff)
/source/blender/editors/space_console/console_ops.c (+3, -3) (Diff)
/source/blender/editors/space_file/filelist.c (+8, -7) (Diff)
/source/blender/editors/space_file/filesel.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_draw.c (+2, -2) (Diff)
/source/blender/editors/space_file/file_ops.c (+2, -2) (Diff)
/source/blender/editors/space_file/fsmenu.c (+4, -4) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+1, -1) (Diff)
/source/blender/editors/space_logic/logic_window.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+3, -3) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_select.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_autocomplete.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_draw.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_ops.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/editors/util/editmode_undo.c (+3, -3) (Diff)
/source/blender/editors/util/ed_util.c (+1, -1) (Diff)
/source/blender/freestyle/intern/python/BPy_Freestyle.cpp (+18, -18) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+3, -3) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+8, -8) (Diff)
/source/blender/imbuf/intern/indexer.c (+1, -1) (Diff)
/source/blender/imbuf/intern/jpeg.c (+4, -3) (Diff)
/source/blender/imbuf/intern/metadata.c (+3, -3) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+2, -2) (Diff)
/source/blender/imbuf/intern/png.c (+1, -1) (Diff)
/source/blender/imbuf/intern/thumbs_blend.c (+1, -1) (Diff)
/source/blender/imbuf/intern/tiff.c (+1, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+32, -32) (Diff)
/source/blender/makesrna/intern/rna_access.c (+11, -11) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_define.c (+13, -13) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshcache_pc2.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+1, -1) (Diff)
/source/blender/nodes/intern/node_socket.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_geom.c (+2, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_app_translations.c (+1, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_result.c (+32, -32) (Diff)
/source/blender/render/intern/source/render_texture.c (+1, -1) (Diff)
/source/blender/render/intern/source/shadeoutput.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+13, -19) (Diff)
/source/creator/creator.c (+4, -4) (Diff)