[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42590] branches/bmesh/blender: remove BLI_blenlib since its not needed in quite a few bmesh files

Campbell Barton ideasman42 at gmail.com
Mon Dec 12 23:34:12 CET 2011


Revision: 42590
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42590
Author:   campbellbarton
Date:     2011-12-12 22:34:05 +0000 (Mon, 12 Dec 2011)
Log Message:
-----------
remove BLI_blenlib since its not needed in quite a few bmesh files

Modified Paths:
--------------
    branches/bmesh/blender/build_files/cmake/cmake_static_check_cppcheck.py
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_marking.c
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mesh.c
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mods.c
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_newcore.c
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_operators.c
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_polygon.c
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_structure.c
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_to_editmesh.c
    branches/bmesh/blender/source/blender/bmesh/operators/bmesh_dupeops.c
    branches/bmesh/blender/source/blender/bmesh/operators/createops.c
    branches/bmesh/blender/source/blender/bmesh/operators/extrudeops.c
    branches/bmesh/blender/source/blender/bmesh/operators/join_triangles.c
    branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c
    branches/bmesh/blender/source/blender/bmesh/operators/mirror.c
    branches/bmesh/blender/source/blender/bmesh/operators/primitiveops.c
    branches/bmesh/blender/source/blender/bmesh/operators/removedoubles.c
    branches/bmesh/blender/source/blender/bmesh/operators/utils.c

Modified: branches/bmesh/blender/build_files/cmake/cmake_static_check_cppcheck.py
===================================================================
--- branches/bmesh/blender/build_files/cmake/cmake_static_check_cppcheck.py	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/build_files/cmake/cmake_static_check_cppcheck.py	2011-12-12 22:34:05 UTC (rev 42590)
@@ -39,7 +39,7 @@
     "-I" + os.path.join(project_source_info.SOURCE_DIR, "extern", "glew", "include"),
 
     #  "--check-config", # when includes are missing
-    #  "--enable=all",  # if you want sixty hundred pedantic suggestions
+    "--enable=all",  # if you want sixty hundred pedantic suggestions
     ]
 
 
@@ -48,6 +48,8 @@
 
     check_commands = []
     for c, inc_dirs, defs in source_info:
+        if not 'bevel' in c: continue
+        if 'MOD' in c: continue
         cmd = ([CHECKER_BIN] +
                 CHECKER_ARGS +
                [c] +
@@ -60,7 +62,7 @@
     process_functions = []
 
     def my_process(i, c, cmd):
-        percent = 100.0 * (i / (len(check_commands) - 1))
+        percent = 100.0 * (i / (len(check_commands)))
         percent_str = "[" + ("%.2f]" % percent).rjust(7) + " %:"
 
         sys.stdout.flush()

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_marking.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_marking.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_marking.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -36,7 +36,7 @@
 #include "BKE_utildefines.h"
 
 #include "BLI_math.h"
-#include "BLI_blenlib.h"
+#include "BLI_listbase.h"
 #include "BLI_array.h"
 
 #include "bmesh.h"

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mesh.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mesh.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mesh.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -33,7 +33,7 @@
 #include "DNA_meshdata_types.h"
 #include "DNA_mesh_types.h"
 
-#include "BLI_blenlib.h"
+#include "BLI_listbase.h"
 #include "BLI_math.h"
 #include "BLI_utildefines.h"
 #include "BLI_cellalloc.h"

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mods.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mods.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_mods.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -33,7 +33,6 @@
 #include "DNA_listBase.h"
 
 #include "BLI_utildefines.h"
-#include "BLI_blenlib.h"
 #include "BLI_linklist.h"
 #include "BLI_ghash.h"
 #include "BLI_math.h"

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_newcore.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_newcore.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_newcore.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -34,7 +34,6 @@
 #include "BKE_DerivedMesh.h"
 
 #include "BLI_utildefines.h"
-#include "BLI_blenlib.h"
 #include "BLI_listbase.h"
 #include "BLI_mempool.h"
 #include "BLI_ghash.h"

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_operators.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_operators.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_operators.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -33,7 +33,7 @@
 #include "BLI_math.h"
 #include "BLI_memarena.h"
 #include "BLI_mempool.h"
-#include "BLI_blenlib.h"
+#include "BLI_listbase.h"
 #include "BLI_array.h"
 
 #include "bmesh.h"

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_polygon.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_polygon.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_polygon.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -42,7 +42,6 @@
 #include "BKE_utildefines.h"
 
 #include "BLI_math.h"
-#include "BLI_blenlib.h"
 #include "BLI_array.h"
 #include "BLI_utildefines.h"
 

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_structure.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_structure.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_structure.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -43,7 +43,6 @@
 #include "BKE_utildefines.h"
 #include "bmesh.h"
 #include "bmesh_private.h"
-#include "BLI_blenlib.h"
 #include "BLI_linklist.h"
 #include "BLI_ghash.h"
 

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_to_editmesh.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_to_editmesh.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_to_editmesh.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -44,7 +44,6 @@
 #include "mesh_intern.h"
 #include "ED_mesh.h"
 
-#include "BLI_blenlib.h"
 #include "BLI_edgehash.h"
 #include "BLI_array.h"
 #include "BLI_array.h"

Modified: branches/bmesh/blender/source/blender/bmesh/operators/bmesh_dupeops.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/bmesh_dupeops.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/bmesh_dupeops.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -4,7 +4,6 @@
 
 #include "BLI_ghash.h"
 #include "BLI_memarena.h"
-#include "BLI_blenlib.h"
 #include "BLI_array.h"
 #include "BLI_math.h"
 

Modified: branches/bmesh/blender/source/blender/bmesh/operators/createops.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/createops.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/createops.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -6,7 +6,7 @@
 #include "BLI_mempool.h"
 #include "BLI_heap.h"
 #include "BLI_ghash.h"
-#include "BLI_blenlib.h"
+#include "BLI_listbase.h"
 #include "BLI_math.h"
 #include "BLI_array.h"
 #include "BLI_smallhash.h"

Modified: branches/bmesh/blender/source/blender/bmesh/operators/extrudeops.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/extrudeops.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/extrudeops.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -4,7 +4,6 @@
 
 #include "BLI_ghash.h"
 #include "BLI_memarena.h"
-#include "BLI_blenlib.h"
 #include "BLI_math.h"
 #include "BLI_array.h"
 

Modified: branches/bmesh/blender/source/blender/bmesh/operators/join_triangles.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/join_triangles.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/join_triangles.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -20,7 +20,6 @@
 
 #include "BLI_math.h"
 #include "BLI_array.h"
-#include "BLI_blenlib.h"
 #include "BLI_edgehash.h"
 
 #include "BLI_heap.h"

Modified: branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -20,8 +20,8 @@
 #include "BKE_main.h"
 
 #include "BLI_utildefines.h"
+#include "BLI_listbase.h"
 #include "BLI_math.h"
-#include "BLI_blenlib.h"
 #include "BLI_edgehash.h"
 #include "BLI_editVert.h"
 #include "BLI_scanfill.h"

Modified: branches/bmesh/blender/source/blender/bmesh/operators/mirror.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/mirror.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/mirror.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -21,7 +21,6 @@
 #include "ED_mesh.h"
 
 #include "BLI_math.h"
-#include "BLI_blenlib.h"
 #include "BLI_edgehash.h"
 #include "BLI_array.h"
 #include "BLI_utildefines.h"

Modified: branches/bmesh/blender/source/blender/bmesh/operators/primitiveops.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/primitiveops.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/primitiveops.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -9,7 +9,6 @@
 
 #include "BLI_math.h"
 #include "BLI_ghash.h"
-#include "BLI_blenlib.h"
 #include "BLI_array.h"
 
 #include "ED_mesh.h"

Modified: branches/bmesh/blender/source/blender/bmesh/operators/removedoubles.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/removedoubles.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/removedoubles.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -9,7 +9,6 @@
 
 #include "BLI_math.h"
 #include "BLI_ghash.h"
-#include "BLI_blenlib.h"
 #include "BLI_array.h"
 #include "BLI_utildefines.h"
 

Modified: branches/bmesh/blender/source/blender/bmesh/operators/utils.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/utils.c	2011-12-12 22:25:28 UTC (rev 42589)
+++ branches/bmesh/blender/source/blender/bmesh/operators/utils.c	2011-12-12 22:34:05 UTC (rev 42590)
@@ -19,7 +19,6 @@
 
 #include "BLI_math.h"
 #include "BLI_array.h"
-#include "BLI_blenlib.h"
 #include "BLI_edgehash.h"
 
 #include "BLI_heap.h"




More information about the Bf-blender-cvs mailing list