Permalink
Switch branches/tags
Nothing to show
Commits on Apr 7, 2013
  1. example 008 (animation of a prop) works and 59 specs

    EugeneBrazwick committed Mar 31, 2013
    - catch the DynamicPropertyChangedEvent on dynattr.
    - generic code for event breaking
    - fixed: min -> max  (er oh)
    - introduction of CoreApplication
      for testing Core-events
Commits on Mar 31, 2013
  1. example 7 works. 54 working specs

    EugeneBrazwick committed Mar 30, 2013
    - font support
    - ToolButton class
    - Font/Brush/Pen now work exactly the same
    - Regexp class in ruby++ so regexp ops in C++ become easy!
    - demo of C++ plugin (.so file)
    - colspan works in grid, rowspan IS passed but not taken into account.
Commits on Mar 30, 2013
  1. Examples 5+6: combobox

    EugeneBrazwick committed Mar 26, 2013
    - strangely enough the colors worked first time
    - combo's work
    - Fixed terrible bug in size.cpp.   Needs spec too!
    - 54 working specs, added for size
    - and 6 working examples
    - FULL implementation reached of QSize and QSizeF
Commits on Feb 26, 2013
  1. annotated example 4. Working clock with limited effort

    EugeneBrazwick committed Feb 21, 2013
    - 4 examples OK, 38 workings specs. CLOCKY!!!
    - annotated example 3
    - rpprpp on track. But too complicated to finish, too little gain
    - major refactoring
    - splitted color of from brush
    - timer_spec works (1 example)
    - moved basefiles for plugins in proper plugin dir using _ prefix
    - it tries to include widget.rb from two different places.
      Should always use 'realpath'
    - ESafety -> E_SAFETY. 3 values. NOT boolean anymore
    - added VERYUNSAFE which can only be used if the conversion is
      guaranteed.     As in	    array.assign(rb_ary_new(), VERYUNSAFE).
      NO CHECKS at all are done, which is what I want here anyway.
Commits on Feb 21, 2013
  1. - MILESTONE: example 003 works.

    EugeneBrazwick committed Feb 21, 2013
    - TODO: urgent request to extend rpp first and make a 100% spectest
      This can be done by using rpp to create rpprpp.
      Wow, a Godel idea.
  2. joinstyle + capstyle for pens

    EugeneBrazwick committed Feb 13, 2013
    - +10 dynamic properties for rectangle graphics
    - no extra specs, but 36 work
    - typo fix
    - minimal painterpath functionality
    - deleted stuff
    - alternative parenting system for noqtcontrol class!
    - attempt to revitalize ruby++
    - moved shared objects to reform dir. Makes linking easier
    - extended ruby++
    - r++-ed brush.cpp for 99%
    - 36 working specs people!
    - And it is BLACK now. And it stays that way.
  3. triangle example

    EugeneBrazwick committed Feb 5, 2013
    - scene now has a background brush
    - technically polygons should work too, since triangle is just a
      special case of that
    - beziers + quads added
    - a little cleanup
    - it is coming together, 'cap' still todo
  4. MILESTONE: black and blue program in button.rb

    EugeneBrazwick committed Feb 2, 2013
    - fixed two failing specs
    - rectangle graphics class + pens
    - points and scaling OK
    - pen now works for rectangle/circle
    - added lines
  5. propagation works correctly

    EugeneBrazwick committed Jan 30, 2013
    - graphicsscene should adapt children. Because it is used for mark!
    - and the same for items: they should enumerate brush and pen!
    - or maybe cObject_mark is WRONG. it should not mark 'children' but
      'qtchildren'!?
      and items need their own overrides for these.
      Because OWNERSHIP is the only thing that matters here. ?
      No, when we store a ruby object inside a C++ object we must mark.
      This is not so for brushes or pens.
    - But a graphicsitem holds a ruby VALUE
      So qtchildren is better because it makes sense faking it for g-items.
      And we would skip pens and brushes
    - Yes, but.....   Application has children that MUST be enumerated but
      are not qtchildren...
      So children is safer.
  6. BLUE !!!

    EugeneBrazwick committed Jan 28, 2013
    - new files
    - GC problem with Block param in SignalProc fixed
    - gcguard
  7. 36 working specs

    EugeneBrazwick committed Jan 25, 2013
  8. working vbox

    EugeneBrazwick committed Jan 19, 2013
    - and hbox
    - rb_any_to_s is definetely not the same as to_s
    - parenting of layout now works correctly.
    - but nested layouts not yet tested.
    - also I need a 'collectNames true' property for Control. I think it
      should create methods so we do not rely on method_missing so much.
    - done refactor enqueue_children
  9. - 30 specs

    EugeneBrazwick committed Jan 16, 2013
    - copyrights
    - working lineedit aka edit
    - some docu
    - made some progress on edit data routing
  10. refactoring to a 'pure' and 'complete' parent/children tree.

    EugeneBrazwick committed Jan 14, 2013
    - 29 examples, parenting widgets works fine now
    - A working read-only model.
  11. - I have a slider so the fun can start

    EugeneBrazwick committed Jan 13, 2013
    - but we need a simple layout next
  12. far better rake include file

    EugeneBrazwick committed Jan 13, 2013
    - however, it should have cool parameters instead of required
      global constants in the calling Rakefile
    - fixed major 'for' bug in rake-include
  13. label plugin.

    EugeneBrazwick committed Jan 11, 2013
    - Fixed some badly placed and circular requires
    - canvas, but without properties (aka graphicsview)
    - more typesafe API
    - scene works, but only an empty one
  14. 25 examples 0 fails

    EugeneBrazwick committed Jan 11, 2013
  15. - 20 examples for object 0 fails

    EugeneBrazwick committed Jan 9, 2013
    - how can we signal specific events like 'resized'? They are not
      signals in Qt but 'events'. Which seems more or less the same.
    - IMPORTANT: we need 'dynamic' properties for all properties with
      'data' like values like ints, floats, strings, colors and
      the like.
      For example: objectName in Object (but not parent or children).
    	       size and title in Widget
      This feature is tied to Control class however. So Control.objectName
      might work.
      Technically either a single Hash as argv[0] or a block but
      no other args should trigger special handling, which hopefully
      can be done by 1 function.
      Similar for properties defined in ruby we can use Control::dynamic
      to function like define_setter used to.
    - shown -> app.quit and rspec no longer hangs
    - BUGFIX: the following scenario:
        p = Widget.new
        ch = Widget.new p, 'herman'
        ch = nil
        GC
        p.findChild('herman').show
      herman has a QWidget with a 'ch' inside it.
      presumably p.findChild('herman') returns a VALUE that is GC'ed!
      OR DOES IT WORK??? INTERESTING.
  16. - 16 rspec examples working

    EugeneBrazwick committed Jan 7, 2013
    - learned: rb_is_instance_of uses the direct class, use rb_is_kind_of
      instead
  17. working app.rb example

    EugeneBrazwick committed Dec 30, 2012
    - setting up internalize. WIP
    - implemented QObject + objectName sec
    - new files
    - some interesting tests.
    - rb_check_array_type returns Qnil and does not raise...
    - Data_Get_Struct should check for the proper cObject class if unsure.
    - fool proof zombie system
    - but memory loss is possible
    - since urqt does NOT guard any Q instances!
    - ruby signals in < 20 lines of code...
      and MUCH better than the Qt shit
  18. Started clean slate rstore + reform version 2.0

    Eugene Brazwick committed with EugeneBrazwick Dec 20, 2012
    - Created Rakefile
    - with dependencies
    - and proper escaping of commandline
    - Build working .so
Commits on Mar 16, 2012
  1. Some oneiric build fixes

    EugeneBrazwick committed Mar 16, 2012
Commits on Oct 24, 2011
  1. - SPEC FAIL. combobox model parent vs model_parent crap

    EugeneBrazwick committed Oct 24, 2011
    model_parent seems EVIL!
Commits on Oct 23, 2011
  1. - fixed groupbox too

    EugeneBrazwick committed Oct 23, 2011
Commits on Oct 21, 2011
  1. WIP

    EugeneBrazwick committed Oct 21, 2011
Commits on Oct 20, 2011
Commits on Oct 19, 2011
Commits on Oct 18, 2011
  1. 75 % functional calendar

    EugeneBrazwick committed Oct 12, 2011
    - structure can no wrap arrays, as of old.
    - 55 examples, 0 failures
    - fixed localemodel issues.
    - model_connector fixed somewhat
Commits on Oct 11, 2011
  1. fixed calculator example

    EugeneBrazwick committed Oct 10, 2011
    - added comments
    - repaired example 004 too
Commits on Oct 8, 2011
  1. 0045 clock's ticking again

    EugeneBrazwick committed Oct 8, 2011
    - renamed dir
    - for models the postSetup was renamed to model_postSetup
      This is safe, but really inconsistent. So it may change
Commits on Oct 6, 2011
  1. 0043: fixed itself apparently

    EugeneBrazwick committed Oct 2, 2011
    - regression! fix
    - problems fixed with struct -> rstore backend.
    - also the structure constructor is bad. if key is nil then modelvalue -> {}
    - 50 examples 0 failures !
Commits on Oct 2, 2011
  1. 29 specs OK

    EugeneBrazwick committed Sep 28, 2011