Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 19, 2010
  1. Steve Klabnik

    Updating CHANGELOG for Policeman.

    steveklabnik authored
    This is it, guys. Policeman released!
Commits on Aug 15, 2010
  1. ashbb
  2. Steve Klabnik
Commits on Aug 14, 2010
  1. ashbb

    Merge remote branch 'wilkie/master'

    ashbb authored
    A conflict was solved by hand:
    	shoes/native/windows.c
Commits on Aug 13, 2010
  1. Dave Wilkinson II
  2. Dave Wilkinson II

    A hacked solution to the Vista flickering issue.

    wilkie authored
    It does seem that Vista has a serious flaw in its compositing engine
    when it comes to updating transparent windows. This does indeed
    seem to be a counter-intuitive bug, but it has not been fixed in
    Vista, even though it does not exist in either XP or Windows 7.
    
    The bug exists due to it drawing transparent windows over those
    of higher z-order without first, you know, compositing them like
    the WS_EX_COMPOSITED flag should suggest. There may be a subtle but
    better way of fixing this problem, but with whyday approaching, this
    will have to do.
    
    For information from other people annoyed by similar problems:
    http://www.virtualdub.org/blog/pivot/entry.php?id=149
    
    The solution is dirty but simple. Do the compositing ourselves. Turn
    off the transparent flag and ensure the paint order is bottom to top.
    The WS_EX_COMPOSITED flag does seem to order the paint order correctly
    and overlapping windows do not interfere when not transparent.
    
    For each canvas, we have a double buffer. This is how it would be in the
    background anyway. Each time we update the canvas, we copy the image to its
    parents and to each child. Thus, every backbuffer will contain the image that
    will appear on the screen to the user in the region of the canvas after a full
    redraw. This will simulate the transparent effect that the slots seem
    to assume.
    
    This will work in most cases with just inefficiency over the
    current solution. It may cause some slight graphical glitches with native
    controls since they are still marked as transparent, although Windows
    certainly has issues with unique uses of the native widgets anyway, sigh.
    If they are truly a problem, one could remove the WS_EX_TRANSPARENT bit
    when shoes_world->os.doublebuffer is TRUE.
    
    The solution is only activated for Windows version 6.0 (Vista) as can be seen
    by the version identification shim in the app initialization code. XP and
    Windows 7 will work as they have before. An extra boolean has been added to
    the application OS structure that is set when Vista is detected and turns on
    the manual compositing mode, which may be useful if the problem comes up in
    other interesting versions of Windows. An extra field in the slot OS structure
    has to do with not being able to reliably get the parent window using the
    Windows API, or at least I was having issues with it.
    
    With this fix, hackety-hack runs perfectly fine in Vista SP2 with Aero Basic.
    Which brings up another point that one could _not_ use this technique if they
    also detected that Aero was not in use.
    
    I think I will go shower now. Ugh.
Commits on Aug 11, 2010
  1. ashbb

    Improved Shoes packager a little. Now, network install is available. …

    ashbb authored
    …But only for Windows.
    
    And added some code clean up and changed values of `Estimated size of each app`.
    
    - platform/msw/stub.c
    Edited urls and adjusted arguments for shoes_winhttp function.
    
    - static/stubs/shoes-stub.exe and shoes-stub-inject.exe
    Created by `rake stub`. But needed Windows XP x86 Free Build Environment and old Rakefile. Not work with MinGW environment so far.
  2. Martin DeMello
  3. Martin DeMello
  4. ashbb

    Edited a little bit for Windows MinGW:

    ashbb authored
    - shoes/make/rakefile_common : deleted (duplicated file)
    - shoes/make/mingw/tasks.rb  : to cut off new lines
    - shoes/make/mingw/env.rb    : to use copy_files method
  5. ashbb
  6. ashbb
  7. Cecil  Coupe

    Update the hostname and url to match where Linux policeman will

    ccoupe authored
    live. It's needed because a .run may need to download the full Shoes
    in order to execute.
Commits on Aug 10, 2010
  1. Martin DeMello
  2. Martin DeMello
  3. Martin DeMello
  4. Martin DeMello
  5. Dave Wilkinson II

    Merged.

    wilkie authored
  6. Martin DeMello

    fix requires

    martindemello authored
  7. Dave Wilkinson II
  8. Martin DeMello
  9. Martin DeMello
  10. Martin DeMello
  11. ashbb Martin DeMello

    Refactored Rakefile more readable. Divided Rakefile into the followin…

    ashbb authored martindemello committed
    …g 4 files.
    
      - Rakefile
      - rakefile_mingw.rb
      - rakefile_linux.rb
      - rakefile_darwin.rb
Commits on Aug 5, 2010
  1. ashbb

    Refactored Rakefile more readable. Divided Rakefile into the followin…

    ashbb authored
    …g 4 files.
    
      - Rakefile
      - rakefile_mingw.rb
      - rakefile_linux.rb
      - rakefile_darwin.rb
  2. ashbb

    A little bit improved for VIDEO support on Windows. Now it's enough t…

    ashbb authored
    …o build just one load module for all Windows 7, Vista and XP.
    
    - no need to add `NOLAYERED=1` option when you build Shoes
    - you can add `--nolayered` option when you launch Shoes on Windows XP
Commits on Jul 31, 2010
  1. ashbb

    Policeman supports Video. But there are three restrictions:

    ashbb authored
    - only Windows so far
    - need NOLAYERED option for Windows XP
    - using VideoLAN v0.8 (as same as Raisins, but a little bit old in the now)
    
    Tiny note is here: http://github.com/ashbb/shoes_hack_note/tree/master/md/hack019.md
Commits on Jul 27, 2010
  1. ashbb

    The finish method wasn't implemented completly. _why wrote almost all…

    ashbb authored
    … code, but needed one more push.
Commits on Jul 26, 2010
  1. ashbb
Commits on Jul 25, 2010
  1. ashbb

    Added DIR to use full path. Revised lib/shoes.rb to create html manua…

    ashbb authored
    …l `Sample Apps` page. Added manual-snapshots directory where stored all sample snapshots linked from Shoes html manual.
Commits on Jul 21, 2010
  1. ashbb

    Sorted out window-resizing-behavior. Spec is the following:

    ashbb authored
        Shoes.app(:width=>300, :height=>300){}
    
    User can resize window smaller with no limit as same as Raisins.
    
        Shoes.app(:width=>300, :minwidth=>200){}
    
    User can resize width-size smaller until 200pix and height-size with no limit (open window with default 500pix height and given 300pix width).
    
    _why added `app->minwidth` and `app->minheight` in the shoes/app.c.
    The commit is 100f158
    But they were not completed. Now revised a little and released with the above spec.
  2. ashbb

    Added force_encoding to execute samples/simple-sqlite3.rb correctly f…

    ashbb authored
    …rom build-in manual, And so forth/Sample Apps page.
Commits on Jul 19, 2010
  1. ashbb

    Revised built-in manual, Sample Apps page, to have a little bit bette…

    ashbb authored
    …r looking. And added FAQ page.
Commits on Jul 17, 2010
  1. ashbb

    Add a new manual page, Shoe Box, where the place for sample apps. Now…

    ashbb authored
    … you can play all built-in samples just one click.
  2. ashbb

    Finished updating built-in manual for Policeman. This time got the fo…

    ashbb authored
    …llowing things done:
    
    static/manual-en.txt
    - correct typos
    - correct snippets without error
    - add a NOTE for Policeman at `The Rules of Shoes`
    
    lib/shoes/help.rb
    - implement a workaround for [issue 30](http://github.com/shoes/shoes/issues/closed#issue/30)
Something went wrong with that request. Please try again.