Added some tests for reading bitmaps on Windows.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91373 8089f293-4706-0410-a29e-feb5c42a2edf
Fixed improper contracts around `has_active_window' and `active_window'.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91374 8089f293-4706-0410-a29e-feb5c42a2edf
Use smaller images for testing.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91375 8089f293-4706-0410-a29e-feb5c42a2edf
Added new test {TEST_EV_CONTAINER}.test_container_background_pixmap which shows an issue when setting the background pixmap of a container using a 32bpp BMP/PNG file and running a 16-bit color resolution. We would violate a few contracts inside Vision2 and also corrupting memory.
Minor improvements:
* Added new images.
* Moved constants to common class TEST_CONSTANTS.
* Added ability to run the application for a given time.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91376 8089f293-4706-0410-a29e-feb5c42a2edf
* Fixed test {TEST_EV_CONTAINER}.test_container_background_pixmap where we would not be able to load a 32bpp image as the background of a container if your screen resolution was set to 16-bit. The main issue was that we did not properly create the WEL_BITMAP_INFO from the WEL_BITMAP/WEL_DC. Before we had a hack in {WEL_BITMAP_HELPER}.info_of_bitmap to make the WEL_BITMAP_INFO to have 3 `rgb_quads' after the HEADER, but that was only working for just some bitmaps, not all. Now, we have added {WEL_BITMAP_INFO_HEADER}.color_count to tell us how many rgb_quads are necessary in WEL_BITMAP_INFO so that we create the structure properly. Thanks to that the `info_of_bitmap' routine is not necessary anymore and we can create the WEL_BITMAP_INFO directly.
* Properly creating the WEL_BITMAP_INFO, helped us fixed a second memory corruption in {WEL_GDIP_BITMAP} so that `make_from_bitmap_with_alpha' were we had to take into account the image bitcount resolution in order to properly copy data (before we assumed always 4 bytes per pixel but that was twice as much as a 16-bit resolution could provide, thus corrupting memory during copy). Although it did not crash most of the time, the effect was obvious where the image would be displayed smaller. Now depending on the input Bitmap format we use the proper GDI+ format to render the image.
* The above simplifies {WEL_DC}.save_bitmap_into and {WEL_DIB}.color_count
See review#9810006.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91377 8089f293-4706-0410-a29e-feb5c42a2edf
Cosmetics: formatting.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91378 8089f293-4706-0410-a29e-feb5c42a2edf
Removed references to BIT type that is no longer supported.

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91380 8089f293-4706-0410-a29e-feb5c42a2edf
Removed unused local.

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91381 8089f293-4706-0410-a29e-feb5c42a2edf
Removed support of BIT type from the compiler.

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91382 8089f293-4706-0410-a29e-feb5c42a2edf
Removed support of BIT type from the compiler.

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91383 8089f293-4706-0410-a29e-feb5c42a2edf
Removed support of BIT type from the compiler.

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91384 8089f293-4706-0410-a29e-feb5c42a2edf
Removed support of BIT type from the compiler (removed reference to BIT-type-specific macro).

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91385 8089f293-4706-0410-a29e-feb5c42a2edf
Removed support of BIT type from the compiler (marked some bytecodes as unused).

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91386 8089f293-4706-0410-a29e-feb5c42a2edf
Removed support of BIT type from the compiler (removed code that is no longer used).

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91387 8089f293-4706-0410-a29e-feb5c42a2edf
Removed support of BIT type from run-time.

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91388 8089f293-4706-0410-a29e-feb5c42a2edf
Added a new SCOOP manager task to be invoked after full GC.

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91389 8089f293-4706-0410-a29e-feb5c42a2edf
Added migration of newly created objects to SCOOP manager processor to avoid keeping references to unused processors (this fixes test#scoop028, test#scoop029).
Added a new SCOOP manager task to be updated current statistics and invoked at end of full GC.
Added routine placeholders for resource management part that should trigger full GC in an optimal way.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91390 8089f293-4706-0410-a29e-feb5c42a2edf
Added a call to a new SCOOP manager task to be invoked after full GC.

git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91391 8089f293-4706-0410-a29e-feb5c42a2edf
Updated syntax updater to the removal of BIT types.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91392 8089f293-4706-0410-a29e-feb5c42a2edf
Updated ignore.


git-svn-id: https://svn.eiffel.com/eiffelstudio/trunk@91393 8089f293-4706-0410-a29e-feb5c42a2edf