Cleanup: trailing newlines

This commit is contained in:
Campbell Barton 2018-06-29 08:02:49 +02:00
parent 46dceefc35
commit af36dd4664
296 changed files with 0 additions and 320 deletions

View File

@ -58,4 +58,3 @@ if(MSVC)
DEPENDEES mkdir update patch download configure build install
)
endif()

View File

@ -216,4 +216,3 @@ if(NOT EXISTS "${DOWNLOAD_DIR}/mingw/mingw32/bin/i686-w64-mingw32-ranlib.exe")
COMMAND ${CMAKE_COMMAND} -E copy "${DOWNLOAD_DIR}/mingw/mingw32/bin/ranlib.exe" "${DOWNLOAD_DIR}/mingw/mingw32/bin/i686-w64-mingw32-ranlib.exe"
)
endif()

View File

@ -216,4 +216,3 @@ if(NOT EXISTS "${DOWNLOAD_DIR}/mingw/mingw64/bin/x86_64-w64-mingw32-ranlib.exe")
COMMAND ${CMAKE_COMMAND} -E copy "${DOWNLOAD_DIR}/mingw/mingw64/bin/ranlib.exe" "${DOWNLOAD_DIR}/mingw/mingw64/bin/x86_64-w64-mingw32-ranlib.exe"
)
endif()

View File

@ -37,4 +37,3 @@ endif()
if(MSVC)
set_target_properties(external_zlib_mingw PROPERTIES FOLDER Mingw)
endif()

View File

@ -93,4 +93,3 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(LLVM DEFAULT_MSG
MARK_AS_ADVANCED(
LLVM_LIBRARY
)

View File

@ -91,4 +91,3 @@ public:
};
#endif // __GHOST_IEVENT_H__

View File

@ -447,4 +447,3 @@ protected:
};
#endif // __GHOST_ISYSTEM_H__

View File

@ -91,4 +91,3 @@ public:
};
#endif // __GHOST_ITIMERTASK_H__

View File

@ -368,4 +368,3 @@ public:
};
#endif // __GHOST_IWINDOW_H__

View File

@ -257,4 +257,3 @@ inline bool GHOST_Rect::isInside(GHOST_TInt32 x, GHOST_TInt32 y) const
}
#endif // __GHOST_RECT_H__

View File

@ -557,4 +557,3 @@ typedef void (*GHOST_TimerProcPtr)(struct GHOST_TimerTaskHandle__ *task, GHOST_T
#endif
#endif // __GHOST_TYPES_H__

View File

@ -75,4 +75,3 @@ struct GHOST_Buttons {
};
#endif // __GHOST_BUTTONS_H__

View File

@ -80,4 +80,3 @@ protected:
};
#endif // __GHOST_CALLBACKEVENTCONSUMER_H__

View File

@ -84,4 +84,3 @@
#endif // GHOST_DEBUG
#endif // __GHOST_DEBUG_H__

View File

@ -142,4 +142,3 @@ protected:
#endif // __GHOST_DISPLAYMANAGER_H__

View File

@ -103,4 +103,3 @@ protected:
#endif // __GHOST_DISPLAYMANAGERCOCOA_H__

View File

@ -98,4 +98,3 @@ protected:
#endif // __GHOST_DISPLAYMANAGERWIN32_H__

View File

@ -120,4 +120,3 @@ private:
#endif //

View File

@ -392,4 +392,3 @@ void printLastError(void)
}
}
#endif // GHOST_DEBUG

View File

@ -104,4 +104,3 @@ protected:
};
#endif // __GHOST_EVENT_H__

View File

@ -63,4 +63,3 @@ protected:
};
#endif // __GHOST_EVENTBUTTON_H__

View File

@ -65,4 +65,3 @@ protected:
#endif // __GHOST_EVENTCURSOR_H__

View File

@ -133,4 +133,3 @@ protected:
};
#endif // __GHOST_EVENTDRAGNDROP_H__

View File

@ -89,4 +89,3 @@ protected:
};
#endif // __GHOST_EVENTKEY_H__

View File

@ -161,4 +161,3 @@ protected:
};
#endif // __GHOST_EVENTMANAGER_H__

View File

@ -338,4 +338,3 @@ void GHOST_EventPrinter::getKeyString(GHOST_TKey key, char str[32]) const
sprintf(str, "%s", tstr);
}
}

View File

@ -61,4 +61,3 @@ protected:
};
#endif // __GHOST_EVENTPRINTER_H__

View File

@ -64,4 +64,3 @@ public:
};
#endif // __GHOST_EVENTSTRING_H__

View File

@ -72,4 +72,3 @@ protected:
#endif // _GHOST_EVENT_PAN_H_

View File

@ -65,4 +65,3 @@ protected:
#endif // __GHOST_EVENTWHEEL_H__

View File

@ -105,4 +105,3 @@ GHOST_ISystem *GHOST_ISystem::getSystem()
{
return m_system;
}

View File

@ -96,6 +96,3 @@ GHOST_ISystemPaths *GHOST_ISystemPaths::get()
}
return m_systemPaths;
}

View File

@ -100,4 +100,3 @@ struct GHOST_ModifierKeys {
};
#endif // __GHOST_MODIFIERKEYS_H__

View File

@ -138,4 +138,3 @@ bool GHOST_Rect::clip(GHOST_Rect& r) const
}
return clipped;
}

View File

@ -390,4 +390,3 @@ bool GHOST_System::useNativePixel(void)
m_nativePixel = true;
return 1;
}

View File

@ -396,4 +396,3 @@ inline GHOST_NDOFManager *GHOST_System::getNDOFManager() const
#endif
#endif // __GHOST_SYSTEM_H__

View File

@ -304,4 +304,3 @@ protected:
};
#endif // __GHOST_SYSTEMCOCOA_H__

View File

@ -77,5 +77,3 @@ public:
};
#endif

View File

@ -90,4 +90,3 @@ public:
};
#endif // __GHOST_SYSTEMPATHSWIN32_H__

View File

@ -418,4 +418,3 @@ private:
};
#endif

View File

@ -127,4 +127,3 @@ protected:
};
#endif // __GHOST_TIMERMANAGER_H__

View File

@ -193,4 +193,3 @@ protected:
};
#endif // __GHOST_TIMERTASK_H__

View File

@ -242,4 +242,3 @@ bool GHOST_Window::getModifiedState()
{
return m_isUnsavedChanges;
}

View File

@ -461,4 +461,3 @@ inline GHOST_TStandardCursor GHOST_Window::getCursorShape() const
}
#endif // _GHOST_WINDOW_H

View File

@ -168,4 +168,3 @@ protected:
};
#endif // __GHOST_WINDOWMANAGER_H__

View File

@ -38,4 +38,3 @@ void rect_copy (int dst[2][2], int src[2][2]);
int rect_contains_pt (int rect[2][2], int pt[2]);
int rect_width (int rect[2][2]);
int rect_height (int rect[2][2]);

View File

@ -27,4 +27,3 @@
char *eventtype_to_string(GHOST_TEventType type);
void event_to_buf(GHOST_EventHandle evt, char buf[128]);

View File

@ -37,4 +37,3 @@
#else // defined(WIN32) || defined(__APPLE__)
#include <GL/gl.h>
#endif // defined(WIN32) || defined(__APPLE__)

View File

@ -50,4 +50,3 @@ void scrollbar_get_rect (ScrollBar *sb, int rect_r[2][2]);
void scrollbar_get_thumb (ScrollBar *sb, int thumb_r[2][2]);
void scrollbar_free (ScrollBar *sb);

View File

@ -29,4 +29,3 @@ void* memdbl (void *mem, int *size_pr, int item_size);
char* string_dup (char *str);
void fatal (char *fmt, ...);

View File

@ -33,4 +33,3 @@ typedef struct _WindowData WindowData;
WindowData* windowdata_new (void *data, WindowDataHandler handler);
void windowdata_handle (WindowData *wb, GHOST_EventHandle evt);
void windowdata_free (WindowData *wb);

View File

@ -256,4 +256,3 @@ def RKS_GEN_bendy_bones(ksi, context, ks, data):
ks.paths.add(id_block, path, group_method='NAMED', group_name=grouping)
else:
ks.paths.add(id_block, path)

View File

@ -350,4 +350,3 @@ def select_prev(bm, report):
break
return True

View File

@ -50,4 +50,3 @@ typedef struct BoxPack {
void BLI_box_pack_2d(BoxPack *boxarray, const unsigned int len, float *tot_width, float *tot_height);
#endif /* __BLI_BOXPACK_2D_H__ */

View File

@ -40,4 +40,3 @@ char *BLI_dynlib_get_error_as_string(DynamicLibrary *lib);
void BLI_dynlib_close(DynamicLibrary *lib);
#endif /* __BLI_DYNLIB_H__ */

View File

@ -66,4 +66,3 @@ struct dirlink {
};
#endif /* __BLI_FILEOPS_TYPES_H__ */

View File

@ -37,4 +37,3 @@ void BLI_jitterate1(float (*jit1)[2], float (*jit2)[2], int num, float radius1);
void BLI_jitterate2(float (*jit1)[2], float (*jit2)[2], int num, float radius2);
#endif /* __BLI_JITTER_2D_H__ */

View File

@ -199,4 +199,3 @@
/** \} */
#endif /* __BLI_LINKLIST_STACK_H__ */

View File

@ -106,4 +106,3 @@ MINLINE void blend_color_interpolate_float(float dst[4], const float src1[4], co
#endif
#endif /* __BLI_MATH_COLOR_BLEND_H__ */

View File

@ -508,4 +508,3 @@ float cubic_tangent_factor_circle_v3(const float tan_l[3], const float tan_r[3])
#endif
#endif /* __BLI_MATH_GEOM_H__ */

View File

@ -283,4 +283,3 @@ void print_m4(const char *str, float M[4][4]);
#endif
#endif /* __BLI_MATH_MATRIX_H__ */

View File

@ -235,4 +235,3 @@ bool mat3_from_axis_conversion_single(
#endif
#endif /* __BLI_MATH_ROTATION_H__ */

View File

@ -69,4 +69,3 @@ bool BLI_tridiagonal_solve_cyclic(const float *a, const float *b, const float *c
#endif
#endif /* __BLI_MATH_SOLVERS_H__ */

View File

@ -67,4 +67,3 @@ void BLI_covariance_m3_v3n(
#endif
#endif /* __BLI_MATH_STATISTICS_H__ */

View File

@ -139,4 +139,3 @@ bool BLI_scanfill_calc_self_isect(
#endif
#endif

View File

@ -227,4 +227,3 @@ BLI_INLINE void BLI_parallel_range_settings_defaults(
#endif
#endif

View File

@ -209,4 +209,3 @@ void BLI_thread_queue_nowait(ThreadQueue *queue);
#endif
#endif

View File

@ -58,4 +58,3 @@ VChar *BLI_vfontchar_from_freetypefont(struct VFont *vfont, unsigned long charac
VChar *BLI_vfontchar_copy(const VChar *vchar_src, const int flag);
#endif

View File

@ -138,4 +138,3 @@ int BLI_getInstallationDir(char *str);
#endif
#endif /* __BLI_WINSTUFF_H__ */

View File

@ -418,4 +418,3 @@ bool BLI_heap_is_valid(const Heap *heap)
}
/** \} */

View File

@ -138,4 +138,3 @@ void BLI_dynlib_close(DynamicLibrary *lib)
}
#endif

View File

@ -242,5 +242,3 @@ fnmatch (const char *pattern, const char *string, int flags)
/* intentionally empty for UNIX */
#endif /* WIN32 */

View File

@ -144,4 +144,3 @@ uint32_t BLI_hash_mm2(const unsigned char *data, size_t len, uint32_t seed)
return h;
}

View File

@ -179,4 +179,3 @@ bool BLI_tridiagonal_solve_cyclic(const float *a, const float *b, const float *c
return success;
}

View File

@ -840,4 +840,3 @@ void BLI_threaded_malloc_end(void)
MEM_set_lock_callback(NULL, NULL);
}
}

View File

@ -1104,4 +1104,3 @@ BMVert *BM_face_loop_separate_multi(BMesh *bm, BMLoop **larr, int larr_len)
{
return bmesh_kernel_unglue_region_make_vert_multi(bm, larr, larr_len);
}

View File

@ -82,4 +82,3 @@ void bmo_beautify_fill_exec(BMesh *bm, BMOperator *op)
BMO_slot_buffer_from_enabled_flag(bm, op, op->slots_out, "geom.out", BM_EDGE | BM_FACE, ELE_NEW);
}

View File

@ -543,4 +543,3 @@ void bmo_smooth_laplacian_vert_exec(BMesh *bm, BMOperator *op)
delete_laplacian_system(sys);
}

View File

@ -456,4 +456,3 @@ void BM_mesh_beautify_fill(
TIMEIT_END(beautify_fill);
#endif
}

View File

@ -53,4 +53,3 @@ private:
/** Hold error status. */
bool mError;
};

View File

@ -83,4 +83,3 @@ private:
ExtraTags* currentExtraTags;
std::string currentElement;
};

View File

@ -933,5 +933,3 @@ COLLADASW::URI GeometryExporter::makeUrl(std::string id)
{
return COLLADASW::URI(COLLADABU::Utils::EMPTY_STRING, id);
}

View File

@ -242,4 +242,3 @@ void SceneExporter::writeNodes(bContext *C, Object *ob, Scene *sce)
if (ob->type != OB_ARMATURE)
colladaNode.end();
}

View File

@ -357,4 +357,3 @@ std::string get_morph_id(Object *ob)
{
return translate_id(id_name(ob)) + "-morph";
}

View File

@ -1088,4 +1088,3 @@ void mask_to_keylist(bDopeSheet *UNUSED(ads), MaskLayer *masklay, DLRBT_Tree *ke
}
}
}

View File

@ -1471,4 +1471,3 @@ short bezt_selmap_flush(KeyframeEditData *ked, BezTriple *bezt)
return 0;
}

View File

@ -258,4 +258,3 @@ int bone_looper(struct Object *ob, struct Bone *bone, void *data,
#endif /* __ARMATURE_INTERN_H__ */

View File

@ -467,4 +467,3 @@ void ARMATURE_OT_autoside_names(wmOperatorType *ot)
/* settings */
ot->prop = RNA_def_enum(ot->srna, "type", axis_items, 0, "Axis", "Axis tag names with");
}

View File

@ -419,4 +419,3 @@ void ED_keymap_armature(wmKeyConfig *keyconf)
WM_keymap_add_menu(keymap, "VIEW3D_MT_pose_specials", WKEY, KM_PRESS, 0, 0);
WM_keymap_add_menu(keymap, "VIEW3D_MT_pose_propagate", PKEY, KM_PRESS, KM_ALT, 0);
}

View File

@ -900,4 +900,3 @@ void ARMATURE_OT_parent_clear(wmOperatorType *ot)
ot->prop = RNA_def_enum(ot->srna, "type", prop_editarm_clear_parent_types, 0, "ClearType", "What way to clear parenting");
}

View File

@ -2661,4 +2661,3 @@ void SKETCH_OT_gesture(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_BLOCKING; // OPTYPE_UNDO
}

View File

@ -70,4 +70,3 @@ void rigid_deform_end(int cancel);
/* ED_mesh_deform_bind_callback(...) defined in ED_armature.h */
#endif

View File

@ -1215,4 +1215,3 @@ void POSE_OT_quaternions_flip(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
}

View File

@ -948,4 +948,3 @@ void POSE_OT_select_mirror(wmOperatorType *ot)
RNA_def_boolean(ot->srna, "only_active", false, "Active Only", "Only operate on the active bone");
RNA_def_boolean(ot->srna, "extend", false, "Extend", "Extend the selection");
}

View File

@ -101,4 +101,3 @@ BLI_INLINE void glScale2fv(const float vec[2]) { glScalef(UNPACK2(vec), 0.0); }
BLI_INLINE void glRotate3fv(const float angle, const float vec[3]) { glRotatef(angle, UNPACK3(vec)); }
#endif /* #ifdef __BIF_GL_H__ */

View File

@ -231,4 +231,3 @@ void glaDrawImBuf_glsl_ctx_clipping(const struct bContext *C,
void glaDrawBorderCorners(const struct rcti *border, float zoomx, float zoomy);
#endif /* __BIF_GLUTIL_H__ */

View File

@ -709,4 +709,3 @@ void ED_animedit_unlink_action(struct bContext *C, struct ID *id,
/* ************************************************ */
#endif /* __ED_ANIM_API_H__ */

View File

@ -242,4 +242,3 @@ extern char datatoc_mc24_jpg[];
#endif /* __ED_DATAFILES_H__ */

View File

@ -145,4 +145,3 @@ char *ED_fsmenu_entry_get_name(struct FSMenuEntry *fsentry);
void ED_fsmenu_entry_set_name(struct FSMenuEntry *fsentry, const char *name);
#endif /* __ED_FILESELECT_H__ */

View File

@ -85,4 +85,3 @@ void ED_image_draw_info(struct Scene *scene, struct ARegion *ar, bool color_mana
bool ED_space_image_show_cache(struct SpaceImage *sima);
#endif /* __ED_IMAGE_H__ */

Some files were not shown because too many files have changed in this diff Show More