فهرست منبع

Remove in-source authorship notes

The open source-nature of this project makes in-source attribution problematic. There are very often multiple authors of a given set of source code. This leads to misattribution as the code evolves.

This commit removes the in-source attribution. Instead, the git history should be the single source in terms of attribution and authorship.
Michael Ragazzon 3 هفته پیش
والد
کامیت
b91e003995
100فایلهای تغییر یافته به همراه17 افزوده شده و 279 حذف شده
  1. 3 22
      Backends/RmlUi_Renderer_VK.h
  2. 0 4
      Include/RmlUi/Core/BaseXMLParser.h
  3. 0 2
      Include/RmlUi/Core/Box.h
  4. 0 2
      Include/RmlUi/Core/Colour.h
  5. 0 2
      Include/RmlUi/Core/Context.h
  6. 0 2
      Include/RmlUi/Core/ContextInstancer.h
  7. 0 2
      Include/RmlUi/Core/ConvolutionFilter.h
  8. 0 2
      Include/RmlUi/Core/Core.h
  9. 0 2
      Include/RmlUi/Core/Decorator.h
  10. 2 4
      Include/RmlUi/Core/Element.h
  11. 0 2
      Include/RmlUi/Core/ElementDocument.h
  12. 0 2
      Include/RmlUi/Core/ElementInstancer.h
  13. 0 2
      Include/RmlUi/Core/ElementScroll.h
  14. 0 4
      Include/RmlUi/Core/ElementText.h
  15. 0 2
      Include/RmlUi/Core/ElementUtilities.h
  16. 0 2
      Include/RmlUi/Core/Elements/ElementForm.h
  17. 0 2
      Include/RmlUi/Core/Elements/ElementFormControl.h
  18. 0 2
      Include/RmlUi/Core/Elements/ElementFormControlInput.h
  19. 0 2
      Include/RmlUi/Core/Elements/ElementFormControlSelect.h
  20. 0 2
      Include/RmlUi/Core/Elements/ElementFormControlTextArea.h
  21. 0 2
      Include/RmlUi/Core/Elements/ElementTabSet.h
  22. 0 2
      Include/RmlUi/Core/Event.h
  23. 0 2
      Include/RmlUi/Core/EventInstancer.h
  24. 0 2
      Include/RmlUi/Core/EventListener.h
  25. 0 2
      Include/RmlUi/Core/EventListenerInstancer.h
  26. 0 2
      Include/RmlUi/Core/Factory.h
  27. 0 2
      Include/RmlUi/Core/FileInterface.h
  28. 0 4
      Include/RmlUi/Core/FontEffect.h
  29. 0 2
      Include/RmlUi/Core/FontEffectInstancer.h
  30. 0 2
      Include/RmlUi/Core/FontGlyph.h
  31. 0 2
      Include/RmlUi/Core/Input.h
  32. 0 2
      Include/RmlUi/Core/Log.h
  33. 0 4
      Include/RmlUi/Core/Matrix4.h
  34. 0 2
      Include/RmlUi/Core/Plugin.h
  35. 0 2
      Include/RmlUi/Core/PropertiesIteratorView.h
  36. 0 4
      Include/RmlUi/Core/Property.h
  37. 0 4
      Include/RmlUi/Core/PropertyDefinition.h
  38. 0 2
      Include/RmlUi/Core/PropertyDictionary.h
  39. 0 2
      Include/RmlUi/Core/PropertyParser.h
  40. 0 2
      Include/RmlUi/Core/PropertySpecification.h
  41. 0 2
      Include/RmlUi/Core/RenderInterface.h
  42. 0 1
      Include/RmlUi/Core/ScriptInterface.h
  43. 0 1
      Include/RmlUi/Core/Stream.h
  44. 0 1
      Include/RmlUi/Core/StreamMemory.h
  45. 0 1
      Include/RmlUi/Core/StringUtilities.h
  46. 0 2
      Include/RmlUi/Core/StyleSheet.h
  47. 0 2
      Include/RmlUi/Core/StyleSheetContainer.h
  48. 0 4
      Include/RmlUi/Core/StyleSheetSpecification.h
  49. 0 2
      Include/RmlUi/Core/SystemInterface.h
  50. 0 2
      Include/RmlUi/Core/Transform.h
  51. 0 2
      Include/RmlUi/Core/TransformPrimitive.h
  52. 0 2
      Include/RmlUi/Core/TypeConverter.h
  53. 0 4
      Include/RmlUi/Core/URL.h
  54. 0 2
      Include/RmlUi/Core/Variant.h
  55. 0 1
      Include/RmlUi/Core/Vector2.h
  56. 0 1
      Include/RmlUi/Core/Vector3.h
  57. 1 2
      Include/RmlUi/Core/Vector4.h
  58. 0 2
      Include/RmlUi/Core/Vertex.h
  59. 0 2
      Include/RmlUi/Core/XMLNodeHandler.h
  60. 0 2
      Include/RmlUi/Core/XMLParser.h
  61. 3 14
      Include/RmlUi/Lua/LuaType.h
  62. 0 1
      Samples/basic/custom_log/src/SystemInterface.h
  63. 0 4
      Samples/basic/drag/src/DragListener.h
  64. 0 4
      Samples/basic/drag/src/Inventory.h
  65. 0 1
      Samples/basic/harfbuzz/src/FontFace.h
  66. 4 7
      Samples/basic/harfbuzz/src/FontFaceHandleHarfBuzz.h
  67. 0 1
      Samples/basic/harfbuzz/src/FontFaceLayer.h
  68. 0 1
      Samples/basic/harfbuzz/src/FontFamily.h
  69. 0 1
      Samples/basic/harfbuzz/src/FontProvider.h
  70. 1 3
      Samples/basic/harfbuzz/src/TextureLayout.h
  71. 1 3
      Samples/basic/harfbuzz/src/TextureLayoutRectangle.h
  72. 0 2
      Samples/basic/harfbuzz/src/TextureLayoutRow.h
  73. 1 3
      Samples/basic/harfbuzz/src/TextureLayoutTexture.h
  74. 0 1
      Samples/invaders/src/Defender.h
  75. 0 4
      Samples/invaders/src/ElementGame.h
  76. 0 4
      Samples/invaders/src/EventHandler.h
  77. 0 3
      Samples/invaders/src/EventHandlerHighScore.h
  78. 0 4
      Samples/invaders/src/EventHandlerOptions.h
  79. 0 4
      Samples/invaders/src/EventHandlerStartGame.h
  80. 0 4
      Samples/invaders/src/EventListener.h
  81. 0 4
      Samples/invaders/src/EventListenerInstancer.h
  82. 0 4
      Samples/invaders/src/EventManager.h
  83. 0 2
      Samples/invaders/src/Game.h
  84. 0 4
      Samples/invaders/src/GameDetails.h
  85. 0 2
      Samples/invaders/src/Invader.h
  86. 0 3
      Samples/invaders/src/Mothership.h
  87. 0 2
      Samples/invaders/src/Shield.h
  88. 1 6
      Samples/invaders/src/Sprite.h
  89. 0 1
      Samples/lua_invaders/src/Defender.h
  90. 0 4
      Samples/lua_invaders/src/ElementGame.h
  91. 0 2
      Samples/lua_invaders/src/Game.h
  92. 0 4
      Samples/lua_invaders/src/GameDetails.h
  93. 0 2
      Samples/lua_invaders/src/Invader.h
  94. 0 3
      Samples/lua_invaders/src/Mothership.h
  95. 0 2
      Samples/lua_invaders/src/Shield.h
  96. 0 4
      Samples/lua_invaders/src/Sprite.h
  97. 0 1
      Samples/shell/include/ShellFileInterface.h
  98. 0 4
      Samples/tutorial/drag/src/Inventory.h
  99. 0 2
      Source/Core/Clock.h
  100. 0 2
      Source/Core/ContextInstancerDefault.h

+ 3 - 22
Backends/RmlUi_Renderer_VK.h

@@ -12,34 +12,15 @@
 #ifdef RMLUI_DEBUG
 	#define RMLUI_VK_ASSERTMSG(statement, msg) RMLUI_ASSERTMSG(statement, msg)
 
-	// Uncomment the following line to enable additional Vulkan debugging.
-	// #define RMLUI_VK_DEBUG
+// Uncomment the following line to enable additional Vulkan debugging.
+// #define RMLUI_VK_DEBUG
 #else
 	#define RMLUI_VK_ASSERTMSG(statement, msg) static_cast<void>(statement)
 #endif
 
-// your specified api version, but in future it will be dynamic ^_^
+// Your specified API version. Ideally, this will be dynamic in the future.
 #define RMLUI_VK_API_VERSION VK_API_VERSION_1_0
 
-/**
- * Vulkan render interface for RmlUi
- *
- * My aim is to create compact, but easy to use class
- * I understand that it isn't good architectural choice to keep all things in one class
- * But I follow to RMLUI design and for implementing one GAPI backend it just needs one class
- * For user looks cool, but for programmer...
- *
- * It's better to try operate with very clean 'one-class' architecture rather than create own library for Vulkan
- * With many different classes, with not trivial signatures and etc
- * And as a result we should document that library so it's just a headache for all of us
- *
- * Reminder to users: If you want to implement your Vulkan renderer check previous commits of this work, because current system works only with new
- * and delete operations every frame (CPU side), on GPU we implemented the pre-allocated buffer with virtual allocs (Vma) so there's no problems and
- * all fine. I wrote all ideas and implementation for that.
- *
- * @author wh1t3lord (https://github.com/wh1t3lord)
- */
-
 class RenderInterface_VK : public Rml::RenderInterface {
 public:
 	static constexpr uint32_t kSwapchainBackBufferCount = 3;

+ 0 - 4
Include/RmlUi/Core/BaseXMLParser.h

@@ -12,10 +12,6 @@ using XMLAttributes = Dictionary;
 
 enum class XMLDataType { Text, CDATA, InnerXML };
 
-/**
-    @author Peter Curry
- */
-
 class RMLUICORE_API BaseXMLParser {
 public:
 	BaseXMLParser();

+ 0 - 2
Include/RmlUi/Core/Box.h

@@ -10,8 +10,6 @@ enum class BoxDirection { Vertical, Horizontal };
 /**
     Stores a box with four sized areas; content, padding, a border and margin. See
     http://www.w3.org/TR/REC-CSS2/box.html#box-dimensions for a diagram.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API Box {

+ 0 - 2
Include/RmlUi/Core/Colour.h

@@ -8,8 +8,6 @@ using byte = unsigned char;
 
 /**
     Templated class for a four-component RGBA colour.
-
-    @author Peter Curry
  */
 
 template <typename ColourType, int AlphaDefault, bool PremultipliedAlpha>

+ 0 - 2
Include/RmlUi/Core/Context.h

@@ -23,8 +23,6 @@ enum class EventId : uint16_t;
 
 /**
     A context for storing, rendering, and processing RML documents. Multiple contexts can exist simultaneously.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API Context : public ScriptInterface {

+ 0 - 2
Include/RmlUi/Core/ContextInstancer.h

@@ -13,8 +13,6 @@ class Event;
 
 /**
     Abstract instancer interface for instancing contexts.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API ContextInstancer : public Releasable {

+ 0 - 2
Include/RmlUi/Core/ConvolutionFilter.h

@@ -15,8 +15,6 @@ enum class FilterOperation {
 /**
     A programmable convolution filter, designed to aid in the generation of texture data by custom
     FontEffect types.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API ConvolutionFilter {

+ 0 - 2
Include/RmlUi/Core/Core.h

@@ -18,8 +18,6 @@ enum class DefaultActionPhase;
 
 /**
     RmlUi library core API.
-
-    @author Peter Curry
  */
 
 /// Initialises RmlUi.

+ 0 - 2
Include/RmlUi/Core/Decorator.h

@@ -19,8 +19,6 @@ class DecoratorInstancerInterface;
 
 /**
     The abstract base class for any visual object that can be attached to any element.
-
-    @author Peter Curry
  */
 class RMLUICORE_API Decorator {
 public:

+ 2 - 4
Include/RmlUi/Core/Element.h

@@ -41,9 +41,7 @@ struct ElementMeta;
 struct StackingContextChild;
 
 /**
-	A generic element in the DOM tree.
-
-	@author Peter Curry
+    A generic element in the DOM tree.
  */
 
 class RMLUICORE_API Element : public ScriptInterface, public EnableObserverPtr<Element> {
@@ -558,7 +556,7 @@ public:
 	//@}
 
 	/**
-		@name Internal Functions
+	    @name Internal Functions
 	 */
 	//@{
 	/// Access the event dispatcher for this element.

+ 0 - 2
Include/RmlUi/Core/ElementDocument.h

@@ -28,8 +28,6 @@ enum class FocusFlag {
 
 /**
     Represents a document in the dom tree.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API ElementDocument : public Element {

+ 0 - 2
Include/RmlUi/Core/ElementInstancer.h

@@ -21,8 +21,6 @@ class Element;
     The returned element is a unique pointer. When this is
     destroyed, it will call	ReleaseElement on the instancer
     in which it was instanced.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API ElementInstancer : public NonCopyMoveable {

+ 0 - 2
Include/RmlUi/Core/ElementScroll.h

@@ -10,8 +10,6 @@ class WidgetScroll;
 
 /**
     Manages an element's scrollbars and scrolling state.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API ElementScroll {

+ 0 - 4
Include/RmlUi/Core/ElementText.h

@@ -6,10 +6,6 @@
 
 namespace Rml {
 
-/**
-    @author Peter Curry
- */
-
 class RMLUICORE_API ElementText final : public Element {
 public:
 	RMLUI_RTTI_DefineWithParent(ElementText, Element)

+ 0 - 2
Include/RmlUi/Core/ElementUtilities.h

@@ -14,8 +14,6 @@ namespace Style {
 
 /**
     Utility functions for dealing with elements.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API ElementUtilities {

+ 0 - 2
Include/RmlUi/Core/Elements/ElementForm.h

@@ -7,8 +7,6 @@ namespace Rml {
 
 /**
     A specialisation of the generic Element representing a form element.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API ElementForm : public Element {

+ 0 - 2
Include/RmlUi/Core/Elements/ElementFormControl.h

@@ -7,8 +7,6 @@ namespace Rml {
 
 /**
     A generic specialisation of the generic Element for all input controls.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API ElementFormControl : public Element {

+ 0 - 2
Include/RmlUi/Core/Elements/ElementFormControlInput.h

@@ -9,8 +9,6 @@ class InputType;
 
 /**
     A form control for the generic input element. All functionality is handled through an input type interface.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API ElementFormControlInput : public ElementFormControl {

+ 0 - 2
Include/RmlUi/Core/Elements/ElementFormControlSelect.h

@@ -9,8 +9,6 @@ class WidgetDropDown;
 
 /**
     A drop-down select form control.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API ElementFormControlSelect : public ElementFormControl {

+ 0 - 2
Include/RmlUi/Core/Elements/ElementFormControlTextArea.h

@@ -9,8 +9,6 @@ class WidgetTextInputMultiLine;
 
 /**
     Default RmlUi implementation of a text area.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API ElementFormControlTextArea : public ElementFormControl {

+ 0 - 2
Include/RmlUi/Core/Elements/ElementTabSet.h

@@ -7,8 +7,6 @@ namespace Rml {
 
 /**
     A tabulated set of panels.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API ElementTabSet : public Element {

+ 0 - 2
Include/RmlUi/Core/Event.h

@@ -18,8 +18,6 @@ enum class DefaultActionPhase { None, Target = (int)EventPhase::Target, TargetAn
 /**
     An event that propagates through the element hierarchy. Events follow the DOM3 event specification. See
     http://www.w3.org/TR/DOM-Level-3-Events/events.html.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API Event : public ScriptInterface {

+ 0 - 2
Include/RmlUi/Core/EventInstancer.h

@@ -11,8 +11,6 @@ class Event;
 
 /**
     Abstract instancer interface for instancing events. This is required to be overridden for scripting systems.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API EventInstancer : public Releasable {

+ 0 - 2
Include/RmlUi/Core/EventListener.h

@@ -11,8 +11,6 @@ class Element;
 
 /**
     Abstract interface class for handling events.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API EventListener : public EnableObserverPtr<EventListener> {

+ 0 - 2
Include/RmlUi/Core/EventListenerInstancer.h

@@ -12,8 +12,6 @@ class EventListener;
 /**
     Abstract instancer interface for instancing event listeners. This is required to be overridden for scripting
     systems.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API EventListenerInstancer {

+ 0 - 2
Include/RmlUi/Core/Factory.h

@@ -32,8 +32,6 @@ enum class EventId : uint16_t;
 
 /**
     The Factory contains a registry of instancers for different types.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API Factory {

+ 0 - 2
Include/RmlUi/Core/FileInterface.h

@@ -12,8 +12,6 @@ namespace Rml {
     By default, RmlUi will use a file interface implementing the standard C file functions. If this is not sufficient,
     or your application wants more control over file I/O, this class should be derived, instanced, and installed
     through Rml::SetFileInterface() before you initialise RmlUi.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API FileInterface : public NonCopyMoveable {

+ 0 - 4
Include/RmlUi/Core/FontEffect.h

@@ -4,10 +4,6 @@
 
 namespace Rml {
 
-/**
-    @author Peter Curry
- */
-
 class RMLUICORE_API FontEffect {
 public:
 	// Behind or in front of the main text.

+ 0 - 2
Include/RmlUi/Core/FontEffectInstancer.h

@@ -15,8 +15,6 @@ class FontEffect;
 
     It is important that the same instancer that allocated a font effect releases it. This ensures there are no issues
     with memory from different DLLs getting mixed up.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API FontEffectInstancer {

+ 0 - 2
Include/RmlUi/Core/FontGlyph.h

@@ -6,8 +6,6 @@ namespace Rml {
 
 /**
     Metrics and bitmap data for a single glyph within a font face.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API FontGlyph {

+ 0 - 2
Include/RmlUi/Core/Input.h

@@ -4,8 +4,6 @@ namespace Rml {
 
 /*
     Enumerants for sending input events into RmlUi.
-
-    @author Peter Curry
  */
 
 namespace Input {

+ 0 - 2
Include/RmlUi/Core/Log.h

@@ -7,8 +7,6 @@ namespace Rml {
 
 /**
     RmlUi logging API.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API Log {

+ 0 - 4
Include/RmlUi/Core/Matrix4.h

@@ -8,7 +8,6 @@ namespace Rml {
 
 /**
     Templated class that acts as base strategy for vectors access patterns of matrices.
-    @author Markus Schöngart
  */
 template <typename Component>
 struct MatrixStorageBase {
@@ -110,7 +109,6 @@ struct ColumnMajorStorage;
 
 /**
     Templated class that defines the vectors access pattern for row-major matrices.
-    @author Markus Schöngart
  */
 template <typename Component>
 struct RowMajorStorage : public MatrixStorageBase<Component> {
@@ -131,7 +129,6 @@ struct RowMajorStorage : public MatrixStorageBase<Component> {
 
 /**
     Templated class that defines the vectors access pattern for column-major matrices.
-    @author Markus Schöngart
  */
 template <typename Component>
 struct ColumnMajorStorage {
@@ -152,7 +149,6 @@ struct ColumnMajorStorage {
 
 /**
     Templated class for a generic 4x4 matrix.
-    @author Markus Schöngart
  */
 
 template <typename Component, class Storage = ColumnMajorStorage<Component>>

+ 0 - 2
Include/RmlUi/Core/Plugin.h

@@ -11,8 +11,6 @@ class Context;
 
 /**
     Generic Interface for plugins to RmlUi.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API Plugin {

+ 0 - 2
Include/RmlUi/Core/PropertiesIteratorView.h

@@ -17,8 +17,6 @@ class PropertiesIterator;
 
     Note: Not an std-style iterator. Implemented as a wrapper over the internal
     iterator to avoid exposing internal headers to the user.
-
-    @author Michael R. P. Ragazzon
  */
 
 class RMLUICORE_API PropertiesIteratorView {

+ 0 - 4
Include/RmlUi/Core/Property.h

@@ -18,10 +18,6 @@ struct RMLUICORE_API PropertySource {
 	String rule_name;
 };
 
-/**
-    @author Peter Curry
- */
-
 class RMLUICORE_API Property {
 public:
 	Property();

+ 0 - 4
Include/RmlUi/Core/PropertyDefinition.h

@@ -6,10 +6,6 @@
 
 namespace Rml {
 
-/**
-    @author Peter Curry
- */
-
 enum class RelativeTarget { None, ContainingBlockWidth, ContainingBlockHeight, FontSize, ParentFontSize, LineHeight };
 
 class RMLUICORE_API PropertyDefinition final : public NonCopyMoveable {

+ 0 - 2
Include/RmlUi/Core/PropertyDictionary.h

@@ -7,8 +7,6 @@ namespace Rml {
 
 /**
     A dictionary to property names to values.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API PropertyDictionary {

+ 0 - 2
Include/RmlUi/Core/PropertyParser.h

@@ -9,8 +9,6 @@ using ParameterMap = UnorderedMap<String, int>;
 
 /**
     A property parser takes a property declaration in string form, validates it, and converts it to a Property.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API PropertyParser {

+ 0 - 2
Include/RmlUi/Core/PropertySpecification.h

@@ -32,8 +32,6 @@ enum class ShorthandType {
 
 /**
     A property specification stores a group of property definitions.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API PropertySpecification {

+ 0 - 2
Include/RmlUi/Core/RenderInterface.h

@@ -20,8 +20,6 @@ enum class BlendMode {
 /**
     The abstract base class for application-specific rendering implementation. Your application must provide a concrete
     implementation of this class and install it through Rml::SetRenderInterface() in order for anything to be rendered.
-
-    @author Peter Curry
  */
 
 class RMLUICORE_API RenderInterface : public NonCopyMoveable {

+ 0 - 1
Include/RmlUi/Core/ScriptInterface.h

@@ -8,7 +8,6 @@ namespace Rml {
 
 /**
     Base class for all objects that hold a scriptable object.
-    @author Peter Curry
  */
 
 class RMLUICORE_API ScriptInterface : public Releasable {

+ 0 - 1
Include/RmlUi/Core/Stream.h

@@ -11,7 +11,6 @@ class StreamListener;
 
 /**
     Abstract class for a media-independent byte stream.
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API Stream : public NonCopyMoveable {

+ 0 - 1
Include/RmlUi/Core/StreamMemory.h

@@ -7,7 +7,6 @@ namespace Rml {
 
 /**
     Memory Byte Stream Class
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API StreamMemory final : public Stream {

+ 0 - 1
Include/RmlUi/Core/StringUtilities.h

@@ -7,7 +7,6 @@ namespace Rml {
 
 /**
     Helper functions for string manipulation.
-    @author Lloyd Weehuizen
  */
 
 class StringView;

+ 0 - 2
Include/RmlUi/Core/StyleSheet.h

@@ -23,8 +23,6 @@ using DecoratorPtrList = Vector<SharedPtr<const Decorator>>;
 /**
     StyleSheet maintains a single stylesheet definition. A stylesheet can be combined with another stylesheet to create
     a new, merged stylesheet.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API StyleSheet final : public NonCopyMoveable {

+ 0 - 2
Include/RmlUi/Core/StyleSheetContainer.h

@@ -11,8 +11,6 @@ class StyleSheet;
 /**
     StyleSheetContainer contains a list of media blocks and creates a combined style sheet when getting
     properties of the current context regarding the available media features.
-
-    @author Maximilian Stark
  */
 
 class RMLUICORE_API StyleSheetContainer : public NonCopyMoveable {

+ 0 - 4
Include/RmlUi/Core/StyleSheetSpecification.h

@@ -9,10 +9,6 @@ namespace Rml {
 class PropertyParser;
 struct DefaultStyleSheetParsers;
 
-/**
-    @author Peter Curry
- */
-
 class RMLUICORE_API StyleSheetSpecification {
 public:
 	/// Starts up the specification structure and registers default properties and type parsers.

+ 0 - 2
Include/RmlUi/Core/SystemInterface.h

@@ -12,8 +12,6 @@ namespace Rml {
 
     The default logging implementation outputs to the Windows Debug Console on Windows, and Standard Error on other
     platforms.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API SystemInterface : public NonCopyMoveable {

+ 0 - 2
Include/RmlUi/Core/Transform.h

@@ -15,8 +15,6 @@ class Property;
     of an element. Each transform instance is relative to the element's parent coordinate system.
     During the Context::Render call, the transforms of the current element and its ancestors will be
     used to find the final transformation matrix for the global coordinate system.
-
-    @author Markus Schöngart
     @see Rml::Variant
  */
 

+ 0 - 2
Include/RmlUi/Core/TransformPrimitive.h

@@ -150,8 +150,6 @@ namespace Transforms {
 /**
     The TransformPrimitive struct is the base struct of geometric transforms such as rotations, scalings and translations.
     Instances of this struct are added to Rml::Transform during parsing of the 'transform' property.
-
-    @author Markus Schöngart
     @see Rml::Transform
     @see Rml::PropertyParserTransform
  */

+ 0 - 2
Include/RmlUi/Core/TypeConverter.h

@@ -17,8 +17,6 @@ enum class Unit;
 
     These converters convert from source types to destination types.
     They're mainly useful in things like dictionaries and serialisers.
-
-    @author Lloyd Weehuizen
 */
 
 template <typename SourceType, typename DestType>

+ 0 - 4
Include/RmlUi/Core/URL.h

@@ -5,10 +5,6 @@
 
 namespace Rml {
 
-/**
-    @author Peter Curry
- */
-
 class RMLUICORE_API URL {
 public:
 	/// Constructs an empty URL.

+ 0 - 2
Include/RmlUi/Core/Variant.h

@@ -12,8 +12,6 @@ namespace Rml {
     value in the native form corresponding to the version of Set that was called.
 
     Get is templated to convert from the stored form to the requested form by using a TypeConverter.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API Variant {

+ 0 - 1
Include/RmlUi/Core/Vector2.h

@@ -7,7 +7,6 @@ namespace Rml {
 
 /**
     Templated class for a generic two-component vector.
-    @author Peter Curry
  */
 
 template <typename Type>

+ 0 - 1
Include/RmlUi/Core/Vector3.h

@@ -7,7 +7,6 @@ namespace Rml {
 
 /**
     Templated class for a generic three-component vector.
-    @author Markus Schöngart
  */
 
 template <typename Type>

+ 1 - 2
Include/RmlUi/Core/Vector4.h

@@ -8,7 +8,6 @@ namespace Rml {
 
 /**
     Templated class for a generic four-component vector.
-    @author Markus Schöngart
  */
 
 template <typename Type>
@@ -26,7 +25,7 @@ public:
 	/// @param[in] w Initial omega-value of the vector.
 	inline Vector4(Type x, Type y, Type z, Type w);
 	/// Implicit conversion from a 3D Vector.
-	inline Vector4(Vector3<Type> const& v, Type w);
+	inline Vector4(const Vector3<Type>& v, Type w);
 
 	/// Returns the magnitude of the vector.
 	/// @return The computed magnitude.

+ 0 - 2
Include/RmlUi/Core/Vertex.h

@@ -7,8 +7,6 @@ namespace Rml {
 
 /**
     The element that makes up all geometry sent to the renderer.
-
-    @author Peter Curry
  */
 
 struct RMLUICORE_API Vertex {

+ 0 - 2
Include/RmlUi/Core/XMLNodeHandler.h

@@ -12,8 +12,6 @@ enum class XMLDataType;
 
 /**
     A handler gets ElementStart, ElementEnd and ElementData called by the XMLParser.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API XMLNodeHandler : public NonCopyMoveable {

+ 0 - 2
Include/RmlUi/Core/XMLParser.h

@@ -13,8 +13,6 @@ class URL;
 
 /**
     RmlUi's XML parsing engine. The factory creates an instance of this class for each RML parse.
-
-    @author Lloyd Weehuizen
  */
 
 class RMLUICORE_API XMLParser : public BaseXMLParser {

+ 3 - 14
Include/RmlUi/Lua/LuaType.h

@@ -8,26 +8,17 @@
 // it would result in code that looks like
 //{ "GetId", UnitGetId },
 // Which would force you to create a global function named UnitGetId in C with the correct function signature, usually int(*)(lua_State*,type*);
-#define RMLUI_LUAMETHOD(type, name) \
-	{                               \
-		#name, type##name           \
-	}
+#define RMLUI_LUAMETHOD(type, name) {#name, type##name}
 
 // See above, but the method must match the function signature int(*)(lua_State*) and as example:
 // RMLUI_LUAGETTER(Unit,Id), would mean you need a function named UnitGetAttrId
 // The first stack position will be the userdata
-#define RMLUI_LUAGETTER(type, varname)   \
-	{                                    \
-		#varname, type##GetAttr##varname \
-	}
+#define RMLUI_LUAGETTER(type, varname) {#varname, type##GetAttr##varname}
 
 // Same method signature as above, but as example:
 // RMLUI_LUASETTER(Unit,Id) would mean you need a function named UnitSetAttrId
 // The first stack position will be the userdata, and the second will be value on the other side of the equal sign
-#define RMLUI_LUASETTER(type, varname)   \
-	{                                    \
-		#varname, type##SetAttr##varname \
-	}
+#define RMLUI_LUASETTER(type, varname) {#varname, type##SetAttr##varname}
 
 #define RMLUI_CHECK_BOOL(L, narg) (lua_toboolean((L), (narg)) > 0 ? true : false)
 #define RMLUI_CHECK_OBJ(obj) \
@@ -110,8 +101,6 @@ namespace Lua {
 	/**
 	    This is mostly the definition of the Lua userdata that C++ gives to the user, plus
 	    some helper functions.
-
-	    @author Nathan Starkey
 	*/
 	template <typename T>
 	class RMLUILUA_API LuaType {

+ 0 - 1
Samples/basic/custom_log/src/SystemInterface.h

@@ -4,7 +4,6 @@
 
 /**
     Sample custom RmlUi system interface for writing log messages to file.
-    @author Lloyd Weehuizen
  */
 
 class SystemInterface : public Rml::SystemInterface {

+ 0 - 4
Samples/basic/drag/src/DragListener.h

@@ -3,10 +3,6 @@
 #include <RmlUi/Core/EventListener.h>
 #include <RmlUi/Core/Types.h>
 
-/**
-    @author Pete
- */
-
 class DragListener : public Rml::EventListener {
 public:
 	/// Registers an elemenet as being a container of draggable elements.

+ 0 - 4
Samples/basic/drag/src/Inventory.h

@@ -4,10 +4,6 @@
 #include <RmlUi/Core/ElementDocument.h>
 #include <RmlUi/Core/Types.h>
 
-/**
-    @author Peter Curry
- */
-
 class Inventory {
 public:
 	/// Constructs a new inventory and opens its window.

+ 0 - 1
Samples/basic/harfbuzz/src/FontFace.h

@@ -10,7 +10,6 @@ using Rml::UnorderedMap;
 namespace Style = Rml::Style;
 
 /**
-    Original author: Peter Curry
     Modified to support HarfBuzz text shaping.
  */
 

+ 4 - 7
Samples/basic/harfbuzz/src/FontFaceHandleHarfBuzz.h

@@ -30,10 +30,6 @@ using Rml::Vector;
 using Rml::Vector2f;
 using Rml::Vector2i;
 
-/**
-    Original author: Peter Curry
-    Modified to support HarfBuzz text shaping.
- */
 class FontFaceHandleHarfBuzz : public Rml::NonCopyMoveable {
 public:
 	FontFaceHandleHarfBuzz();
@@ -107,10 +103,11 @@ private:
 	const FontGlyph* GetOrAppendFallbackGlyph(Character& character);
 
 	// Build and append fallback cluster glyph to 'fallback_cluster_glyphs'.
-	bool AppendFallbackClusterGlyphs(StringView cluster, const TextShapingContext& text_shaping_context,
-		const LanguageDataMap& registered_languages, Span<struct hb_feature_t> text_shaping_features);
+	bool AppendFallbackClusterGlyphs(StringView cluster, const TextShapingContext& text_shaping_context, const LanguageDataMap& registered_languages,
+		Span<struct hb_feature_t> text_shaping_features);
 
-	/// Retrieve a fallback cluster glyph from the given cluster and text-shaping/language data, building and appending a new fallback cluster glyph if not already built.
+	/// Retrieve a fallback cluster glyph from the given cluster and text-shaping/language data, building and appending a new fallback cluster glyph
+	/// if not already built.
 	/// @param[in] cluster  The cluster.
 	/// @param[in] text_shaping_context  Extra parameters that provide context for text shaping.
 	/// @param[in] registered_languages  A list of languages registered in the font engine interface.

+ 0 - 1
Samples/basic/harfbuzz/src/FontFaceLayer.h

@@ -33,7 +33,6 @@ class FontFaceHandleHarfBuzz;
     A textured layer stored as part of a font face handle. Each handle will have at least a base
     layer for the standard font. Further layers can be added to allow rendering of text effects.
 
-    Original author: Peter Curry
     Modified to support HarfBuzz text shaping.
  */
 

+ 0 - 1
Samples/basic/harfbuzz/src/FontFamily.h

@@ -14,7 +14,6 @@ class FontFace;
 class FontFaceHandleHarfBuzz;
 
 /**
-    Original author: Peter Curry
     Modified to support HarfBuzz text shaping.
  */
 

+ 0 - 1
Samples/basic/harfbuzz/src/FontProvider.h

@@ -18,7 +18,6 @@ class FontFaceHandleHarfBuzz;
 
 /**
     The font provider contains all font families currently in use by RmlUi.
-    Original author: Peter Curry
     Modified to support HarfBuzz text shaping.
  */
 

+ 1 - 3
Samples/basic/harfbuzz/src/TextureLayout.h

@@ -8,9 +8,7 @@
     A texture layout generates and stores a layout of rectangles within a series of textures. It is
     used primarily by the font system for generating font textures.
 
-	Modified to support 64-bit IDs.
-
-    @author Peter
+    Modified to support 64-bit IDs.
  */
 
 using Rml::Vector;

+ 1 - 3
Samples/basic/harfbuzz/src/TextureLayoutRectangle.h

@@ -7,10 +7,8 @@ using Rml::Vector2i;
 
 /**
     A texture layout rectangle is an area positioned with a texture layout.
-	
-	Modified to support 64-bit IDs.
 
-    @author Peter
+    Modified to support 64-bit IDs.
  */
 
 class TextureLayoutRectangle {

+ 0 - 2
Samples/basic/harfbuzz/src/TextureLayoutRow.h

@@ -12,8 +12,6 @@ class TextureLayout;
     A texture layout row is a single row of rectangles positioned vertically within a texture.
 
     Modified to support 64-bit IDs.
-
-    @author Peter
  */
 
 class TextureLayoutRow {

+ 1 - 3
Samples/basic/harfbuzz/src/TextureLayoutTexture.h

@@ -12,9 +12,7 @@ class TextureLayout;
     A texture layout texture is a single rectangular area which sub-rectangles are placed on within
     a complete texture layout.
 
-	Modified to support 64-bit IDs.
-
-    @author Peter
+    Modified to support 64-bit IDs.
  */
 
 class TextureLayoutTexture {

+ 0 - 1
Samples/invaders/src/Defender.h

@@ -7,7 +7,6 @@ class Sprite;
 
 /**
     Represents the Earth defender. Stores position and performs the update of the bullet position and collision detection.
-    @author Lloyd Weehuizen
  */
 
 class Defender {

+ 0 - 4
Samples/invaders/src/ElementGame.h

@@ -5,10 +5,6 @@
 
 class Game;
 
-/**
-    @author Peter Curry
- */
-
 class ElementGame : public Rml::Element, public Rml::EventListener {
 public:
 	ElementGame(const Rml::String& tag);

+ 0 - 4
Samples/invaders/src/EventHandler.h

@@ -2,10 +2,6 @@
 
 #include <RmlUi/Core/Types.h>
 
-/**
-    @author Peter Curry
- */
-
 class EventHandler {
 public:
 	virtual ~EventHandler();

+ 0 - 3
Samples/invaders/src/EventHandlerHighScore.h

@@ -2,9 +2,6 @@
 
 #include "EventHandler.h"
 
-/**
- */
-
 class EventHandlerHighScore : public EventHandler {
 public:
 	EventHandlerHighScore();

+ 0 - 4
Samples/invaders/src/EventHandlerOptions.h

@@ -2,10 +2,6 @@
 
 #include "EventHandler.h"
 
-/**
-    @author Peter Curry
- */
-
 class EventHandlerOptions : public EventHandler {
 public:
 	EventHandlerOptions();

+ 0 - 4
Samples/invaders/src/EventHandlerStartGame.h

@@ -2,10 +2,6 @@
 
 #include "EventHandler.h"
 
-/**
-    @author Peter Curry
- */
-
 class EventHandlerStartGame : public EventHandler {
 public:
 	EventHandlerStartGame();

+ 0 - 4
Samples/invaders/src/EventListener.h

@@ -2,10 +2,6 @@
 
 #include <RmlUi/Core/EventListener.h>
 
-/**
-    @author Peter Curry
- */
-
 class EventListener : public Rml::EventListener {
 public:
 	EventListener(const Rml::String& value);

+ 0 - 4
Samples/invaders/src/EventListenerInstancer.h

@@ -2,10 +2,6 @@
 
 #include <RmlUi/Core/EventListenerInstancer.h>
 
-/**
-    @author Peter Curry
- */
-
 class EventListenerInstancer : public Rml::EventListenerInstancer {
 public:
 	EventListenerInstancer();

+ 0 - 4
Samples/invaders/src/EventManager.h

@@ -6,10 +6,6 @@
 
 class EventHandler;
 
-/**
-    @author Peter Curry
- */
-
 class EventManager {
 public:
 	/// Releases all event handlers registered with the manager.

+ 0 - 2
Samples/invaders/src/Game.h

@@ -12,8 +12,6 @@ class Mothership;
     Runs the game.
     - Updates the Invader positions, animations and bombs.
     - Updates the player position and bullets
-
-    @author Lloyd Weehuizen
  */
 
 class Game {

+ 0 - 4
Samples/invaders/src/GameDetails.h

@@ -2,10 +2,6 @@
 
 #include <RmlUi/Core/Types.h>
 
-/**
-    @author Peter Curry
- */
-
 class GameDetails {
 public:
 	enum Difficulty { EASY, HARD };

+ 0 - 2
Samples/invaders/src/Invader.h

@@ -6,8 +6,6 @@ class Game;
 
 /**
     An alien invader.
-
-    @author Lloyd Weehuizen
  */
 
 class Invader {

+ 0 - 3
Samples/invaders/src/Mothership.h

@@ -2,9 +2,6 @@
 
 #include "Invader.h"
 
-/**
- */
-
 class Mothership : public Invader {
 public:
 	Mothership(Game* game, int index);

+ 0 - 2
Samples/invaders/src/Shield.h

@@ -9,8 +9,6 @@ const int PIXEL_SIZE = 4;
 
 /**
     A shield, protecting the player.
-
-    @author Robert Curry
  */
 
 class Shield {

+ 1 - 6
Samples/invaders/src/Sprite.h

@@ -3,17 +3,12 @@
 #include <RmlUi/Core/Texture.h>
 #include <RmlUi/Core/Types.h>
 
-/**
-    @author Peter Curry
- */
-
 class Sprite {
 public:
 	Sprite(const Rml::Vector2f& dimensions, const Rml::Vector2f& top_left_texcoord, const Rml::Vector2f& bottom_right_texcoord);
 	~Sprite();
 
-	void Render(Rml::RenderManager& render_manager, Rml::Vector2f position, float dp_ratio, Rml::ColourbPremultiplied color,
-		Rml::Texture texture);
+	void Render(Rml::RenderManager& render_manager, Rml::Vector2f position, float dp_ratio, Rml::ColourbPremultiplied color, Rml::Texture texture);
 
 	Rml::Vector2f dimensions;
 	Rml::Vector2f top_left_texcoord;

+ 0 - 1
Samples/lua_invaders/src/Defender.h

@@ -7,7 +7,6 @@ class Sprite;
 
 /**
     Represents the Earth defender. Stores position and performs the update of the bullet position and collision detection.
-    @author Lloyd Weehuizen
  */
 
 class Defender {

+ 0 - 4
Samples/lua_invaders/src/ElementGame.h

@@ -5,10 +5,6 @@
 
 class Game;
 
-/**
-    @author Peter Curry
- */
-
 class ElementGame : public Rml::Element, public Rml::EventListener {
 public:
 	ElementGame(const Rml::String& tag);

+ 0 - 2
Samples/lua_invaders/src/Game.h

@@ -12,8 +12,6 @@ class Mothership;
     Runs the game.
     - Updates the Invader positions, animations and bombs.
     - Updates the player position and bullets
-
-    @author Lloyd Weehuizen
  */
 
 class Game {

+ 0 - 4
Samples/lua_invaders/src/GameDetails.h

@@ -2,10 +2,6 @@
 
 #include <RmlUi/Core/Types.h>
 
-/**
-    @author Peter Curry
- */
-
 class GameDetails {
 public:
 	enum Difficulty { EASY, HARD };

+ 0 - 2
Samples/lua_invaders/src/Invader.h

@@ -6,8 +6,6 @@ class Game;
 
 /**
     An alien invader.
-
-    @author Lloyd Weehuizen
  */
 
 class Invader {

+ 0 - 3
Samples/lua_invaders/src/Mothership.h

@@ -2,9 +2,6 @@
 
 #include "Invader.h"
 
-/**
- */
-
 class Mothership : public Invader {
 public:
 	Mothership(Game* game, int index);

+ 0 - 2
Samples/lua_invaders/src/Shield.h

@@ -9,8 +9,6 @@ const int PIXEL_SIZE = 4;
 
 /**
     A shield, protecting the player.
-
-    @author Robert Curry
  */
 
 class Shield {

+ 0 - 4
Samples/lua_invaders/src/Sprite.h

@@ -3,10 +3,6 @@
 #include <RmlUi/Core/Texture.h>
 #include <RmlUi/Core/Types.h>
 
-/**
-    @author Peter Curry
- */
-
 class Sprite {
 public:
 	Sprite(const Rml::Vector2f& dimensions, const Rml::Vector2f& top_left_texcoord, const Rml::Vector2f& bottom_right_texcoord);

+ 0 - 1
Samples/shell/include/ShellFileInterface.h

@@ -5,7 +5,6 @@
 
 /**
     RmlUi file interface for the shell examples.
-    @author Lloyd Weehuizen
  */
 
 class ShellFileInterface : public Rml::FileInterface {

+ 0 - 4
Samples/tutorial/drag/src/Inventory.h

@@ -4,10 +4,6 @@
 #include <RmlUi/Core/ElementDocument.h>
 #include <RmlUi/Core/Types.h>
 
-/**
-    @author Peter Curry
- */
-
 class Inventory {
 public:
 	/// Constructs a new inventory and opens its window.

+ 0 - 2
Source/Core/Clock.h

@@ -6,8 +6,6 @@ namespace Rml {
 
 /**
     RmlUi's Interface to Time.
-
-    @author Lloyd Weehuizen
  */
 class Clock {
 public:

+ 0 - 2
Source/Core/ContextInstancerDefault.h

@@ -6,8 +6,6 @@ namespace Rml {
 
 /**
     Default instancer for instancing contexts.
-
-    @author Peter Curry
  */
 
 class ContextInstancerDefault : public ContextInstancer {

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است