Nux

Merge lp://staging/~haggai-eran/nux/rtl into lp://staging/nux

Proposed by Haggai Eran
Status: Needs review
Proposed branch: lp://staging/~haggai-eran/nux/rtl
Merge into: lp://staging/nux
Diff against target: 138259 lines (+28058/-67159)
532 files modified
Nux/AbstractButton.cpp (+87/-51)
Nux/AbstractButton.h (+102/-31)
Nux/AbstractCheckedButton.cpp (+217/-0)
Nux/AbstractCheckedButton.h (+110/-0)
Nux/AbstractComboBox.cpp (+57/-57)
Nux/AbstractComboBox.h (+9/-10)
Nux/AbstractPaintLayer.cpp (+28/-28)
Nux/AbstractPaintLayer.h (+11/-11)
Nux/AbstractRadioButton.cpp (+0/-41)
Nux/AbstractRadioButton.h (+0/-48)
Nux/AbstractSeparator.cpp (+0/-70)
Nux/AbstractSeparator.h (+0/-48)
Nux/AbstractThread.cpp (+5/-5)
Nux/AbstractThread.h (+11/-11)
Nux/ActionItem.cpp (+42/-42)
Nux/AnimatedTextureArea.cpp (+39/-44)
Nux/AnimatedTextureArea.h (+8/-9)
Nux/Area.cpp (+469/-442)
Nux/Area.h (+224/-180)
Nux/BaseWindow.cpp (+111/-181)
Nux/BaseWindow.h (+41/-46)
Nux/BezierCurveControl.cpp (+0/-343)
Nux/BezierCurveControl.h (+0/-105)
Nux/BezierCurveControl2.cpp (+0/-1046)
Nux/BezierCurveControl2.h (+0/-145)
Nux/Button.cpp (+421/-161)
Nux/Button.h (+215/-22)
Nux/Canvas.cpp (+17/-26)
Nux/Canvas.h (+3/-6)
Nux/CheckBox.cpp (+69/-86)
Nux/CheckBox.h (+55/-19)
Nux/ClientArea.cpp (+117/-134)
Nux/ClientArea.h (+15/-16)
Nux/ColorArea.cpp (+0/-68)
Nux/ColorArea.h (+0/-46)
Nux/ColorEditor.cpp (+609/-639)
Nux/ColorEditor.h (+84/-55)
Nux/ColorGradient.cpp (+0/-386)
Nux/ColorGradient.h (+0/-417)
Nux/ColorPickerDialog.cpp (+12/-12)
Nux/ColorPickerDialog.h (+1/-1)
Nux/ColorPreview.cpp (+47/-55)
Nux/ColorPreview.h (+5/-6)
Nux/ColorRangeValuator.cpp (+0/-77)
Nux/ColorRangeValuator.h (+0/-56)
Nux/ComboBoxComplex.cpp (+0/-337)
Nux/ComboBoxComplex.h (+0/-95)
Nux/ComboBoxSimple.cpp (+68/-185)
Nux/ComboBoxSimple.h (+19/-23)
Nux/CurveControl.cpp (+0/-172)
Nux/CurveControl.h (+0/-57)
Nux/D2DTextRenderer.cpp (+436/-0)
Nux/D2DTextRenderer.h (+100/-0)
Nux/Dialog.cpp (+23/-23)
Nux/DoubleValidator.cpp (+21/-21)
Nux/DoubleValidator.h (+14/-14)
Nux/EditTextBox.cpp (+165/-172)
Nux/EditTextBox.h (+59/-60)
Nux/FileSelector.cpp (+59/-68)
Nux/FileSelector.h (+7/-9)
Nux/FloatingWindow.cpp (+110/-185)
Nux/FloatingWindow.h (+18/-19)
Nux/Focusable.cpp (+0/-117)
Nux/Focusable.h (+0/-67)
Nux/FolderTreeItem.cpp (+0/-109)
Nux/FolderTreeItem.h (+0/-94)
Nux/FunctionGraph.cpp (+0/-201)
Nux/FunctionGraph.h (+0/-67)
Nux/GridHLayout.cpp (+405/-208)
Nux/GridHLayout.h (+33/-25)
Nux/GridVLayout.cpp (+70/-80)
Nux/GridVLayout.h (+18/-18)
Nux/GroupBox.cpp (+63/-86)
Nux/GroupBox.h (+8/-9)
Nux/GroupBox2.cpp (+73/-87)
Nux/GroupBox2.h (+8/-9)
Nux/HLayout.cpp (+268/-225)
Nux/HLayout.h (+6/-8)
Nux/HScrollBar.cpp (+152/-164)
Nux/HScrollBar.h (+33/-37)
Nux/HSeparator.cpp (+0/-95)
Nux/HSeparator.h (+0/-50)
Nux/HSplitter.cpp (+168/-168)
Nux/HSplitter.h (+19/-19)
Nux/HToolBar.cpp (+0/-204)
Nux/HToolBar.h (+0/-68)
Nux/HexRegExpValidator.cpp (+26/-26)
Nux/HexRegExpValidator.h (+10/-10)
Nux/Histogram.cpp (+0/-201)
Nux/Histogram.h (+0/-59)
Nux/HueRangeValuator.cpp (+0/-130)
Nux/HueRangeValuator.h (+0/-92)
Nux/InputArea.cpp (+78/-100)
Nux/InputArea.h (+71/-95)
Nux/IntegerValidator.cpp (+26/-26)
Nux/IntegerValidator.h (+10/-10)
Nux/KeyboardHandler.cpp (+189/-183)
Nux/KeyboardHandler.h (+36/-36)
Nux/LayeredLayout.cpp (+242/-278)
Nux/LayeredLayout.h (+70/-43)
Nux/Layout.cpp (+221/-615)
Nux/Layout.h (+114/-125)
Nux/LinearLayout.cpp (+214/-0)
Nux/LinearLayout.h (+86/-0)
Nux/ListControl.cpp (+0/-47)
Nux/ListControl.h (+0/-75)
Nux/Makefile.am (+9/-125)
Nux/Matrix3Editor.cpp (+0/-387)
Nux/Matrix3Editor.h (+0/-170)
Nux/Matrix3Preview.cpp (+0/-132)
Nux/Matrix3Preview.h (+0/-66)
Nux/Matrix4Editor.cpp (+0/-391)
Nux/Matrix4Editor.h (+0/-187)
Nux/Matrix4Preview.cpp (+0/-130)
Nux/Matrix4Preview.h (+0/-65)
Nux/MenuBar.cpp (+135/-183)
Nux/MenuBar.h (+16/-17)
Nux/MenuPage.cpp (+274/-352)
Nux/MenuPage.h (+58/-61)
Nux/MouseAreaCtrl.cpp (+30/-40)
Nux/MouseAreaCtrl.h (+10/-11)
Nux/MouseHandler.cpp (+18/-18)
Nux/MouseHandler.h (+4/-4)
Nux/NodeItem.cpp (+0/-518)
Nux/NodeItem.h (+0/-133)
Nux/NodeNetProtocol.cpp (+0/-587)
Nux/NodeNetProtocol.h (+0/-200)
Nux/NumericValuator.cpp (+54/-64)
Nux/NumericValuator.h (+5/-6)
Nux/Nux.cpp (+147/-129)
Nux/Nux.h (+39/-30)
Nux/NuxGlobalInitializer.cpp (+4/-4)
Nux/NuxGlobalInitializer.h (+1/-1)
Nux/PaintLayer.cpp (+47/-42)
Nux/PaintLayer.h (+13/-12)
Nux/Painter.cpp (+324/-282)
Nux/Painter.h (+127/-77)
Nux/Panel.cpp (+77/-139)
Nux/Panel.h (+13/-16)
Nux/PangoText.cpp (+104/-114)
Nux/PangoText.h (+26/-27)
Nux/PopUpWindow.cpp (+9/-9)
Nux/PropertyItem/CheckBoxProperty.cpp (+0/-138)
Nux/PropertyItem/CheckBoxProperty.h (+0/-51)
Nux/PropertyItem/ColorGradientPropertyItem.cpp (+0/-122)
Nux/PropertyItem/ColorGradientPropertyItem.h (+0/-51)
Nux/PropertyItem/ColorPreviewPropertyItem.cpp (+0/-164)
Nux/PropertyItem/ColorPreviewPropertyItem.h (+0/-60)
Nux/PropertyItem/ComboBoxListPropertyItem.cpp (+0/-102)
Nux/PropertyItem/ComboBoxListPropertyItem.h (+0/-48)
Nux/PropertyItem/ComboBoxPropertyItem.cpp (+0/-188)
Nux/PropertyItem/ComboBoxPropertyItem.h (+0/-51)
Nux/PropertyItem/DoubleValuatorPropertyItem.cpp (+0/-164)
Nux/PropertyItem/DoubleValuatorPropertyItem.h (+0/-50)
Nux/PropertyItem/EditTextLinePropertyItem.cpp (+0/-127)
Nux/PropertyItem/EditTextLinePropertyItem.h (+0/-50)
Nux/PropertyItem/FilePropertyItem.cpp (+0/-105)
Nux/PropertyItem/FilePropertyItem.h (+0/-48)
Nux/PropertyItem/IntegerValuatorPropertyItem.cpp (+0/-162)
Nux/PropertyItem/IntegerValuatorPropertyItem.h (+0/-49)
Nux/PropertyItem/Matrix3PreviewPropertyItem.cpp (+0/-186)
Nux/PropertyItem/Matrix3PreviewPropertyItem.h (+0/-48)
Nux/PropertyItem/Matrix4PreviewPropertyItem.cpp (+0/-187)
Nux/PropertyItem/Matrix4PreviewPropertyItem.h (+0/-48)
Nux/PropertyItem/RGBAProperty.cpp (+0/-499)
Nux/PropertyItem/RGBAProperty.h (+0/-126)
Nux/PropertyItem/RGBProperty.cpp (+0/-465)
Nux/PropertyItem/RGBProperty.h (+0/-119)
Nux/PropertyItem/RangeValueIntegerPropertyItem.cpp (+0/-167)
Nux/PropertyItem/RangeValueIntegerPropertyItem.h (+0/-52)
Nux/PropertyItem/RangeValuePropertyItem.cpp (+0/-167)
Nux/PropertyItem/RangeValuePropertyItem.h (+0/-51)
Nux/PropertyItem/SpinBoxDoublePropertyItem.cpp (+0/-141)
Nux/PropertyItem/SpinBoxDoublePropertyItem.h (+0/-50)
Nux/PropertyItem/SpinBoxPropertyItem.cpp (+0/-141)
Nux/PropertyItem/SpinBoxPropertyItem.h (+0/-51)
Nux/PropertyItem/SplineCurvePropertyItem.cpp (+0/-170)
Nux/PropertyItem/SplineCurvePropertyItem.h (+0/-48)
Nux/PropertyItem/Vector3Property.cpp (+0/-210)
Nux/PropertyItem/Vector3Property.h (+0/-86)
Nux/PropertyItem/Vector3ValuatorPropertyItem.cpp (+0/-149)
Nux/PropertyItem/Vector3ValuatorPropertyItem.h (+0/-51)
Nux/PropertyItem/Vector4Property.cpp (+0/-240)
Nux/PropertyItem/Vector4Property.h (+0/-99)
Nux/PropertyList.cpp (+0/-98)
Nux/PropertyList.h (+0/-246)
Nux/RGBValuator.cpp (+595/-610)
Nux/RGBValuator.h (+48/-36)
Nux/RadioButton.cpp (+114/-258)
Nux/RadioButton.h (+64/-60)
Nux/RadioButtonGroup.cpp (+50/-38)
Nux/RadioButtonGroup.h (+7/-7)
Nux/RangeValue.cpp (+103/-120)
Nux/RangeValue.h (+17/-18)
Nux/RangeValueInteger.cpp (+82/-99)
Nux/RangeValueInteger.h (+19/-20)
Nux/ScrollBar.cpp (+4/-4)
Nux/ScrollBar.h (+7/-7)
Nux/ScrollView.cpp (+259/-314)
Nux/ScrollView.h (+35/-33)
Nux/SpinBox.cpp (+105/-115)
Nux/SpinBox.h (+8/-9)
Nux/SpinBoxDouble.cpp (+115/-125)
Nux/SpinBoxDouble.h (+8/-9)
Nux/SpinBox_Logic.cpp (+87/-87)
Nux/SpinBox_Logic.h (+19/-20)
Nux/SplineCurveDialog.cpp (+0/-101)
Nux/SplineCurveDialog.h (+0/-73)
Nux/SplineCurveEditor.cpp (+0/-606)
Nux/SplineCurveEditor.h (+0/-384)
Nux/SplineCurvePreview.cpp (+0/-450)
Nux/SplineCurvePreview.h (+0/-121)
Nux/StaticText.cpp (+757/-270)
Nux/StaticText.h (+102/-38)
Nux/StaticTextBox.cpp (+55/-63)
Nux/StaticTextBox.h (+22/-23)
Nux/SystemThread.cpp (+53/-53)
Nux/SystemThread.h (+10/-10)
Nux/TabView.cpp (+221/-247)
Nux/TabView.h (+23/-24)
Nux/TableCtrl.cpp (+0/-2373)
Nux/TableCtrl.h (+0/-553)
Nux/TableItem.cpp (+0/-281)
Nux/TableItem.h (+0/-227)
Nux/TextEntry.cpp (+105/-204)
Nux/TextEntry.h (+26/-28)
Nux/TextView/Sequence.cpp (+0/-1134)
Nux/TextView/Sequence.h (+0/-450)
Nux/TextView/TextDocument.cpp (+0/-1047)
Nux/TextView/TextDocument.h (+0/-243)
Nux/TextView/TextView.cpp (+0/-931)
Nux/TextView/TextView.h (+0/-162)
Nux/TextView/TextViewFile.cpp (+0/-70)
Nux/TextView/TextViewFont.cpp (+0/-259)
Nux/TextView/TextViewInternal.h (+0/-384)
Nux/TextView/TextViewKeyNav.cpp (+0/-76)
Nux/TextView/TextViewMouse.cpp (+0/-823)
Nux/TextView/TextViewPaint.cpp (+0/-822)
Nux/TextView/TextViewScroll.cpp (+0/-401)
Nux/TextView/TextViewSyntax.cpp (+0/-202)
Nux/TextView/TextViewUsp.cpp (+0/-155)
Nux/TextView/TextViewWidget.cpp (+0/-808)
Nux/TextView/TextViewWidget.h (+0/-227)
Nux/TextView/Unicode.c (+0/-571)
Nux/TextView/Unicode.cpp (+0/-584)
Nux/TextView/Unicode.h (+0/-83)
Nux/TextView/codepages.h (+0/-26)
Nux/TextView/racursor.h (+0/-58)
Nux/TextViewGCC/Sequence.cpp (+0/-1130)
Nux/TextViewGCC/Sequence.h (+0/-447)
Nux/TextViewGCC/TextDocument.cpp (+0/-1055)
Nux/TextViewGCC/TextDocument.h (+0/-245)
Nux/TextViewGCC/TextView.cpp (+0/-872)
Nux/TextViewGCC/TextView.h (+0/-169)
Nux/TextViewGCC/TextViewFile.cpp (+0/-65)
Nux/TextViewGCC/TextViewInternal.h (+0/-378)
Nux/TextViewGCC/TextViewKeyNav.cpp (+0/-70)
Nux/TextViewGCC/TextViewMouse.cpp (+0/-826)
Nux/TextViewGCC/TextViewPaint.cpp (+0/-819)
Nux/TextViewGCC/TextViewScroll.cpp (+0/-396)
Nux/TextViewGCC/TextViewSyntax.cpp (+0/-198)
Nux/TextViewGCC/TextViewUsp.cpp (+0/-151)
Nux/TextViewGCC/TextViewWidget.cpp (+0/-806)
Nux/TextViewGCC/TextViewWidget.h (+0/-221)
Nux/TextViewGCC/Unicode.c (+0/-571)
Nux/TextViewGCC/Unicode.cpp (+0/-580)
Nux/TextViewGCC/Unicode.h (+0/-88)
Nux/TextViewGCC/codepages.h (+0/-26)
Nux/TextViewGCC/racursor.h (+0/-53)
Nux/TextureArea.cpp (+125/-87)
Nux/TextureArea.h (+42/-16)
Nux/Theme.cpp (+130/-130)
Nux/Theme.h (+5/-5)
Nux/TimeGraph.cpp (+0/-483)
Nux/TimeGraph.h (+0/-118)
Nux/Timeline.cpp (+47/-44)
Nux/Timeline.h (+11/-11)
Nux/TimelineEasings.cpp (+24/-24)
Nux/TimelineEasings.h (+12/-12)
Nux/TimerProc.cpp (+93/-93)
Nux/TimerProc.h (+5/-5)
Nux/ToggleButton.cpp (+22/-22)
Nux/ToggleButton.h (+9/-6)
Nux/ToolButton.cpp (+76/-84)
Nux/ToolButton.h (+11/-11)
Nux/TreeControl.cpp (+0/-274)
Nux/TreeControl.h (+0/-60)
Nux/Utils.cpp (+1/-1)
Nux/Utils.h (+2/-2)
Nux/VLayout.cpp (+185/-191)
Nux/VLayout.h (+9/-11)
Nux/VScrollBar.cpp (+156/-167)
Nux/VScrollBar.h (+31/-36)
Nux/VSeparator.cpp (+0/-96)
Nux/VSeparator.h (+0/-49)
Nux/VSplitter.cpp (+200/-200)
Nux/VSplitter.h (+19/-19)
Nux/VToolBar.cpp (+0/-189)
Nux/VToolBar.h (+0/-71)
Nux/Validator.cpp (+23/-8)
Nux/Validator.h (+10/-5)
Nux/Valuator.cpp (+0/-199)
Nux/Valuator.h (+0/-85)
Nux/ValuatorDouble.cpp (+0/-249)
Nux/ValuatorDouble.h (+0/-73)
Nux/ValuatorInt.cpp (+0/-246)
Nux/ValuatorInt.h (+0/-73)
Nux/Vector3Valuator.cpp (+0/-202)
Nux/Vector3Valuator.h (+0/-95)
Nux/Vector3ValuatorDouble.cpp (+0/-465)
Nux/Vector3ValuatorDouble.h (+0/-91)
Nux/View.cpp (+213/-430)
Nux/View.h (+63/-121)
Nux/WindowCompositor.cpp (+303/-342)
Nux/WindowCompositor.h (+26/-27)
Nux/WindowThread.cpp (+463/-490)
Nux/WindowThread.h (+122/-97)
Nux/nux.pc.in (+1/-1)
NuxCore/CPU.cpp (+1/-1)
NuxCore/CPU.h (+7/-7)
NuxCore/CRC32.cpp (+9/-9)
NuxCore/CRC32.h (+5/-5)
NuxCore/Character/NAscii.cpp (+1/-1)
NuxCore/Character/NUTF.cpp (+1/-1)
NuxCore/Character/NUTF.h (+1/-1)
NuxCore/Character/NUnicodeGNU.h (+2/-2)
NuxCore/Color.cpp (+20/-20)
NuxCore/FileIO.cpp (+9/-9)
NuxCore/FileManager/NFileManagerGNU.cpp (+31/-31)
NuxCore/FileManager/NFileManagerGNU.h (+23/-23)
NuxCore/FileManager/NFileManagerGeneric.cpp (+9/-9)
NuxCore/FileManager/NFileManagerGeneric.h (+2/-2)
NuxCore/FileManager/NFileManagerStandardAnsi.cpp (+20/-20)
NuxCore/FileManager/NFileManagerStandardAnsi.h (+27/-26)
NuxCore/FileManager/NFileManagerWindows.cpp (+25/-25)
NuxCore/FileManager/NFileManagerWindows.h (+19/-19)
NuxCore/FileManager/NSerializer.cpp (+102/-102)
NuxCore/FileManager/NSerializer.h (+80/-80)
NuxCore/FileName.cpp (+17/-17)
NuxCore/FilePath.cpp (+4/-4)
NuxCore/Logger.cpp (+9/-2)
NuxCore/Logger.h (+9/-6)
NuxCore/Math/Bezier.cpp (+7/-7)
NuxCore/Math/Bezier.h (+3/-3)
NuxCore/Math/Complex.cpp (+34/-34)
NuxCore/Math/Complex.h (+13/-13)
NuxCore/Math/MathFunctions.cpp (+7/-7)
NuxCore/Math/MathFunctions.h (+5/-5)
NuxCore/Math/MathUtility.h (+14/-14)
NuxCore/Math/Matrix2.h (+2/-2)
NuxCore/Math/Matrix3.h (+2/-2)
NuxCore/Math/Matrix4.h (+2/-2)
NuxCore/Math/Vector2.h (+10/-10)
NuxCore/Math/Vector3.h (+6/-6)
NuxCore/Math/Vector4.h (+6/-6)
NuxCore/Memory.cpp (+10/-10)
NuxCore/Memory.h (+16/-16)
NuxCore/NUniqueIndex.cpp (+1/-1)
NuxCore/NUniqueIndex.h (+1/-1)
NuxCore/NumberConversion.cpp (+8/-8)
NuxCore/NumberConversion.h (+4/-4)
NuxCore/NuxCore.cpp (+5/-5)
NuxCore/NuxCore.h (+9/-10)
NuxCore/Object.cpp (+20/-32)
NuxCore/ObjectPtr.h (+3/-3)
NuxCore/OutputDevice.cpp (+7/-7)
NuxCore/Parsing.cpp (+7/-7)
NuxCore/Parsing.h (+5/-5)
NuxCore/Platform.cpp (+2/-2)
NuxCore/Platform.h (+1/-1)
NuxCore/PropertyOperators.h (+1/-1)
NuxCore/PropertyTraits.h (+5/-0)
NuxCore/Rect.cpp (+5/-0)
NuxCore/Rect.h (+8/-6)
NuxCore/System.h (+38/-38)
NuxCore/SystemTypes.h (+40/-158)
NuxCore/TextString.cpp (+309/-309)
NuxCore/TextString.h (+163/-163)
NuxCore/ThreadGNU.cpp (+14/-14)
NuxCore/ThreadGNU.h (+16/-16)
NuxCore/ThreadWin.cpp (+16/-23)
NuxCore/ThreadWin.h (+19/-19)
NuxCore/TimeFunctions.cpp (+11/-11)
NuxCore/TimeFunctions.h (+2/-2)
NuxCore/TinyXML/tinystr.cpp (+1/-1)
NuxCore/Win32Dialogs/NWin32Clipboard.cpp (+1/-1)
NuxCore/Win32Dialogs/NWin32CustomDialog.cpp (+8/-8)
NuxCore/Win32Dialogs/NWin32CustomDialog.h (+4/-4)
NuxCore/Win32Dialogs/NWin32MessageBox.cpp (+3/-3)
NuxGraphics/Events.cpp (+16/-15)
NuxGraphics/Events.h (+9/-11)
NuxGraphics/FontRenderer.cpp (+145/-113)
NuxGraphics/FontRenderer.h (+8/-8)
NuxGraphics/FontTexture.cpp (+89/-84)
NuxGraphics/FontTexture.h (+29/-29)
NuxGraphics/GLDeviceFrameBufferObject.cpp (+98/-78)
NuxGraphics/GLDeviceFrameBufferObject.h (+19/-19)
NuxGraphics/GLDeviceObjects.cpp (+9/-9)
NuxGraphics/GLError.cpp (+15/-11)
NuxGraphics/GLError.h (+4/-4)
NuxGraphics/GLPBuffer.cpp (+4/-0)
NuxGraphics/GLPBuffer.h (+4/-0)
NuxGraphics/GLRenderStates.cpp (+185/-183)
NuxGraphics/GLRenderStates.h (+809/-772)
NuxGraphics/GLResource.cpp (+27/-21)
NuxGraphics/GLResource.h (+40/-14)
NuxGraphics/GLResourceManager.cpp (+46/-46)
NuxGraphics/GLResourceManager.h (+40/-40)
NuxGraphics/GLSh_ColorPicker.cpp (+123/-102)
NuxGraphics/GLSh_ColorPicker.h (+3/-3)
NuxGraphics/GLSh_DrawFunction.cpp (+68/-65)
NuxGraphics/GLSh_DrawFunction.h (+3/-3)
NuxGraphics/GLSh_Fill.cpp (+28/-28)
NuxGraphics/GLSh_Fill.h (+3/-3)
NuxGraphics/GLShaderParameter.cpp (+9/-9)
NuxGraphics/GLShaderParameter.h (+78/-78)
NuxGraphics/GLTemplatePrimitiveBuffer.cpp (+169/-169)
NuxGraphics/GLTemplatePrimitiveBuffer.h (+10/-10)
NuxGraphics/GLTextureResourceManager.cpp (+299/-288)
NuxGraphics/GLTextureResourceManager.h (+168/-164)
NuxGraphics/GLTextureStates.cpp (+136/-98)
NuxGraphics/GLTextureStates.h (+13/-13)
NuxGraphics/GLTimer.cpp (+10/-10)
NuxGraphics/GLVertexResourceManager.cpp (+72/-72)
NuxGraphics/GLVertexResourceManager.h (+12/-12)
NuxGraphics/GLWindowManager.cpp (+28/-22)
NuxGraphics/GLWindowManager.h (+9/-5)
NuxGraphics/GlobalGraphicsInitializer.cpp (+4/-4)
NuxGraphics/GlobalGraphicsInitializer.h (+1/-1)
NuxGraphics/GpuDevice.cpp (+386/-399)
NuxGraphics/GpuDevice.h (+126/-108)
NuxGraphics/GpuDeviceShader.cpp (+24/-24)
NuxGraphics/GpuDeviceTexture.cpp (+74/-73)
NuxGraphics/GpuDeviceVertex.cpp (+73/-71)
NuxGraphics/GraphicsDisplay.h (+2/-2)
NuxGraphics/GraphicsDisplayWin.cpp (+441/-382)
NuxGraphics/GraphicsDisplayWin.h (+58/-45)
NuxGraphics/GraphicsDisplayX11.cpp (+605/-487)
NuxGraphics/GraphicsDisplayX11.h (+79/-65)
NuxGraphics/GraphicsEngine.cpp (+455/-455)
NuxGraphics/GraphicsEngine.h (+186/-186)
NuxGraphics/IOpenGLAnimatedTexture.cpp (+25/-25)
NuxGraphics/IOpenGLAnimatedTexture.h (+10/-10)
NuxGraphics/IOpenGLAsmShader.cpp (+189/-170)
NuxGraphics/IOpenGLAsmShader.h (+31/-31)
NuxGraphics/IOpenGLBaseTexture.cpp (+131/-119)
NuxGraphics/IOpenGLBaseTexture.h (+54/-54)
NuxGraphics/IOpenGLCgShader.cpp (+50/-50)
NuxGraphics/IOpenGLCgShader.h (+13/-13)
NuxGraphics/IOpenGLCubeTexture.cpp (+29/-29)
NuxGraphics/IOpenGLCubeTexture.h (+10/-10)
NuxGraphics/IOpenGLFrameBufferObject.cpp (+74/-73)
NuxGraphics/IOpenGLFrameBufferObject.h (+12/-12)
NuxGraphics/IOpenGLGLSLShader.cpp (+552/-550)
NuxGraphics/IOpenGLGLSLShader.h (+79/-79)
NuxGraphics/IOpenGLIndexBuffer.cpp (+47/-36)
NuxGraphics/IOpenGLIndexBuffer.h (+10/-10)
NuxGraphics/IOpenGLPixelBufferOject.cpp (+44/-36)
NuxGraphics/IOpenGLPixelBufferOject.h (+5/-5)
NuxGraphics/IOpenGLQuery.cpp (+47/-38)
NuxGraphics/IOpenGLQuery.h (+10/-10)
NuxGraphics/IOpenGLRectangleTexture.cpp (+34/-31)
NuxGraphics/IOpenGLRectangleTexture.h (+11/-11)
NuxGraphics/IOpenGLResource.h (+6/-6)
NuxGraphics/IOpenGLSurface.cpp (+217/-111)
NuxGraphics/IOpenGLSurface.h (+17/-74)
NuxGraphics/IOpenGLTexture2D.cpp (+44/-33)
NuxGraphics/IOpenGLTexture2D.h (+14/-14)
NuxGraphics/IOpenGLVertexBuffer.cpp (+43/-34)
NuxGraphics/IOpenGLVertexBuffer.h (+10/-10)
NuxGraphics/IOpenGLVertexDeclaration.cpp (+5/-5)
NuxGraphics/IOpenGLVertexDeclaration.h (+1/-1)
NuxGraphics/IOpenGLVolume.cpp (+96/-90)
NuxGraphics/IOpenGLVolume.h (+10/-10)
NuxGraphics/IOpenGLVolumeTexture.cpp (+46/-43)
NuxGraphics/IOpenGLVolumeTexture.h (+13/-13)
NuxGraphics/Makefile.am (+1/-0)
NuxGraphics/MeshFileLoader-OBJ.cpp (+11/-11)
NuxGraphics/NuxGraphics.cpp (+6/-2)
NuxGraphics/NuxGraphics.h (+1/-1)
NuxGraphics/NuxGraphicsResources.cpp (+163/-163)
NuxGraphics/NuxGraphicsResources.h (+5/-5)
NuxGraphics/OpenGLMapping.h (+129/-0)
NuxGraphics/Readme.txt (+6/-6)
NuxGraphics/RenderingPipe.cpp (+218/-181)
NuxGraphics/RenderingPipe.h (+7/-7)
NuxGraphics/RenderingPipeAsm.cpp (+899/-899)
NuxGraphics/RenderingPipeGLSL.cpp (+1111/-1140)
NuxGraphics/RenderingPipeTextureBlend.cpp (+85/-85)
NuxGraphics/RunTimeStats.cpp (+51/-51)
NuxGraphics/RunTimeStats.h (+32/-32)
NuxGraphics/VirtualKeyCodes.h (+3/-3)
NuxGraphics/XInputWindow.cpp (+28/-28)
NuxGraphics/nux-graphics.pc.in (+1/-0)
NuxImage/BitmapFormats.cpp (+60/-55)
NuxImage/BitmapFormats.h (+10/-35)
NuxImage/Bmp.cpp (+168/-168)
NuxImage/Bmp.h (+4/-4)
NuxImage/CairoGraphics.cpp (+96/-87)
NuxImage/CairoGraphics.h (+10/-10)
NuxImage/DDS.cpp (+58/-58)
NuxImage/GdiImageLoader.cpp (+19/-19)
NuxImage/GdiImageLoader.h (+1/-1)
NuxImage/GdkGraphics.cpp (+1/-1)
NuxImage/ImageSurface.cpp (+548/-550)
NuxImage/ImageSurface.h (+174/-174)
NuxImage/NAnimatedTexture.cpp (+51/-51)
NuxImage/NAnimatedTexture.h (+3/-3)
NuxImage/NITX.cpp (+341/-341)
NuxImage/NITX.h (+13/-13)
NuxImage/NPng.cpp (+132/-132)
NuxImage/NPng.h (+4/-4)
NuxImage/OpenEXR.cpp (+55/-55)
NuxImage/OpenEXR.h (+1/-1)
NuxImage/RGBE.cpp (+181/-181)
NuxImage/RGBE.h (+7/-7)
NuxImage/Tga.cpp (+179/-179)
NuxImage/Tga.h (+2/-2)
configure.ac (+24/-34)
data/Makefile.am (+20/-21)
data/UITextures/Painter.xml (+17/-17)
examples/Makefile.am (+60/-58)
examples/text_entry_focus.cpp (+0/-1)
gputests/Makefile.am (+5/-1)
gputests/framebufferobject.cpp (+2/-2)
gputests/quad_2texmod.cpp (+2/-2)
gputests/texture_blur.cpp (+2/-2)
gputests/texture_copy_blur.cpp (+2/-2)
gputests/texture_data.cpp (+2/-2)
gputests/texture_power_of_2.cpp (+4/-20)
tools/Makefile.am (+1/-1)
tools/unity_support_test.c (+235/-12)
To merge this branch: bzr merge lp://staging/~haggai-eran/nux/rtl
Reviewer Review Type Date Requested Status
Tim Penhey (community) Needs Fixing
Jay Taoko Pending
Review via email: mp+71538@code.staging.launchpad.net

Description of the change

Unity currently lacks support for right-to-left interface mirroring, for languages such as Hebrew and Arabic. These patches could facilitate such support. They add a GetDefaultDirection and SetDefaultDirection global function (modeled after GTK's gtk_widget_get_default_direction), and also GetDirection and SetDirection per Area.
The second patch implements interface mirroring for the HLayout class, when using a RightToLeft direction.

To post a comment you must log in.
Revision history for this message
Jay Taoko (jaytaoko) wrote :

Thank you for your patch!

Before we can accept it, we require you to agree to inalogic's contributor agreement (http://inalogic.com/license). If you accept it, send and email to <email address hidden> and state that you agree.

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Okay, I've sent the email.

Revision history for this message
Jay Taoko (jaytaoko) wrote :

thanks, got it!

Revision history for this message
Jay Taoko (jaytaoko) wrote :

Haggai,

Sorry that I haven’t been able to review your branch yet. The reason for that is Nux trunk is being stabilized in anticipation of the release of Ubuntu Oneiric. Once we branch Nux for the next release, I will review your branch.

Jay

Revision history for this message
Haggai Eran (haggai-eran) wrote :

  That's too bad. I was hoping to get my patches for unity 2d into Oneiric.

lp://staging/~haggai-eran/nux/rtl updated
417. By Haggai Eran

Merged trunk.

418. By Haggai Eran

Merge trunk.

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Hi,

Is there a chance you could review this branch for the Precise version? I would like to help Unity get RTL support in this version, especially since it is an LTS.

Revision history for this message
Jay Taoko (jaytaoko) wrote :

Sure, your branch is on the agenda. There have been substantial changes to Nux, so I will have to adapt your branch to it.

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Thanks,
Let me know if I can help.

Revision history for this message
Jay Taoko (jaytaoko) wrote :

Haggai

From your patch, it appears that an HLayout will be able to process their content from Right to Left (rather than only from Left to Right as it is at the moment). However, I think that this will give the same result as the current processing. Or am I missing something?
Did you also meant to have elements filled inside an Hlayout from Right to Left? (Currently HLayout are filled from Left to Right).

Jay

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Jay,

My intention was to have HLayout position it's elements from right to left (when in the right locale), instead of from left to right. This is similar to how GtkHBox behaves, for example.

I think that this is also what the implementation does. It starts with the last child in the HLayout's list, and lays it at the leftmost position, and then follows on to the previous child in the list, and so on.

Haggai

Revision history for this message
Tim Penhey (thumper) wrote :

This is an absolutely massive branch. I see that some of the changes are pure whitespace changes.

Can these please be broken out separately from any actual code changes. Thanks.

review: Needs Fixing
Revision history for this message
Jay Taoko (jaytaoko) wrote :

I am working on that branch. It isn't massive actually once you re-base it with on nux trunk. Only a few files have changed.

Revision history for this message
Jay Taoko (jaytaoko) wrote :

Haggai

In the case of the Hlayout, the first element that is added to the list will be the left-most element inside the Hlayout. You are proposing that the first element added to the Hlayout, be the right-most element inside the HLayout. And when processing the sizes of the HLayout elements, we either start from left or right depending on the direction option you have added. Is that correct?

Can you re-base this branch on Nux trunk? Your changes will be more obvious. I believe you only have a few files that are different from Nux trunk.

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Jay, you are correct. In fact, when in right-to-left locale, I replaced the content distribution enum values, so that if it is set to eStackLeft, elements would actually be aligned to the right, and vice versa. Most of the changes in HLayout just change the order in which elements are packed.

I'll gladly rebase the branch. I probably should have done that in the first place, instead of merging the trunk, but I'm a little bit new to bazaar and launchpad. Should I use push --override to upload the results, or just create a new branch?

Revision history for this message
Jason Smith (jassmith) wrote :

It is almost always better to create a new branch rather than do a bzr push --override. Sorry about the delayed answer. Seems your review got lost in the holiday shuffle.

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Thanks Jason. Eventually, I did create a new branch (lp:~haggai-eran/nux/rtl-rebased), but before it was merged I thought of a better way to implement the patch, so I created yet another branch (lp:~haggai-eran/nux/rtl-logical-packing). I thought I should delete this merge proposal, but launchpad said it would delete all the discussion, so I wasn't sure if that was the right thing to do.

Unmerged revisions

418. By Haggai Eran

Merge trunk.

417. By Haggai Eran

Merged trunk.

416. By Haggai Eran

Merged trunk changes.

415. By Haggai Eran

More HLayout changes toward right-to-left support.

414. By Haggai Eran

Add right-to-left mirroring support. Implement mirroring for HLayout.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches