Commits on Aug 19, 2010
  1. Updating CHANGELOG for Policeman.

    This is it, guys. Policeman released!
    steveklabnik committed Aug 19, 2010
Commits on Aug 15, 2010
Commits on Aug 14, 2010
  1. Merge remote branch 'wilkie/master'

    A conflict was solved by hand:
    ashbb committed Aug 14, 2010
Commits on Aug 13, 2010
  1. A hacked solution to the Vista flickering issue.

    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:
    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.
    wilkie committed Aug 13, 2010
Commits on Aug 11, 2010
  1. Improved Shoes packager a little. Now, network install is available. …

    …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.
    ashbb committed Aug 11, 2010
  2. Edited a little bit for Windows MinGW:

    - 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
    ashbb committed Aug 11, 2010
  3. Update the hostname and url to match where Linux policeman will

    live. It's needed because a .run may need to download the full Shoes
    in order to execute.
    ccoupe committed Aug 11, 2010
Commits on Aug 10, 2010
  1. Merged.

    wilkie committed Aug 10, 2010
  2. fix requires

    martindemello committed Aug 10, 2010
  3. Refactored Rakefile more readable. Divided Rakefile into the followin…

    …g 4 files.
      - Rakefile
      - rakefile_mingw.rb
      - rakefile_linux.rb
      - rakefile_darwin.rb
    ashbb committed with martindemello Aug 5, 2010
Commits on Aug 5, 2010
  1. Refactored Rakefile more readable. Divided Rakefile into the followin…

    …g 4 files.
      - Rakefile
      - rakefile_mingw.rb
      - rakefile_linux.rb
      - rakefile_darwin.rb
    ashbb committed Aug 5, 2010
  2. A little bit improved for VIDEO support on Windows. Now it's enough t…

    …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
    ashbb committed Aug 5, 2010
Commits on Jul 31, 2010
  1. Policeman supports Video. But there are three restrictions:

    - 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:
    ashbb committed Jul 31, 2010
Commits on Jul 27, 2010
  1. The finish method wasn't implemented completly. _why wrote almost all…

    … code, but needed one more push.
    ashbb committed Jul 27, 2010
Commits on Jul 26, 2010
Commits on Jul 25, 2010
  1. Added DIR to use full path. Revised lib/shoes.rb to create html manua…

    …l `Sample Apps` page. Added manual-snapshots directory where stored all sample snapshots linked from Shoes html manual.
    ashbb committed Jul 25, 2010
Commits on Jul 21, 2010
  1. Sorted out window-resizing-behavior. Spec is the following:>300, :height=>300){}
    User can resize window smaller with no limit as same as Raisins.
   >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.
    ashbb committed Jul 21, 2010
  2. Added force_encoding to execute samples/simple-sqlite3.rb correctly f…

    …rom build-in manual, And so forth/Sample Apps page.
    ashbb committed Jul 21, 2010
Commits on Jul 19, 2010
  1. Revised built-in manual, Sample Apps page, to have a little bit bette…

    …r looking. And added FAQ page.
    ashbb committed Jul 19, 2010
Commits on Jul 17, 2010
  1. Add a new manual page, Shoe Box, where the place for sample apps. Now…

    … you can play all built-in samples just one click.
    ashbb committed Jul 17, 2010
  2. Finished updating built-in manual for Policeman. This time got the fo…

    …llowing things done:
    - correct typos
    - correct snippets without error
    - add a NOTE for Policeman at `The Rules of Shoes`
    - implement a workaround for [issue 30](
    ashbb committed Jul 17, 2010