Custom Query (301 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (145 - 147 of 301)

Ticket Resolution Summary Owner Reporter
#101 fixed Use DIVE to speed up blitting in QRasterWindowSurface Dmitry A. Kuminov
Description

We may want to try to use DIVE to speed up flushing the widget's raster buffer to screen in QRasterWindowSurface::flush().

Currently we use GpiDrawBits?() for this purpose which is not very optimal since the image bits aren't likely to go directly to the video memory in this case.

We also may provide a custom QWindowSurface that allocates widget buffer directly in video memory (I recall DIVE should allow this).

#105 fixed Division by zero in svghandler.cpp Dmitry A. Kuminov
Description

The SVG module has a function, pathArc() defined in source:/trunk/src/svg/qsvghandler.cpp that uses its arguments as divisors w/o checking if they are zero or not.

This function is a reason why e.g. mp3diags traps. First of all, mp3diags somehow supplies a wrong SVG file to QIcon which contains these invalid zero arguments (this needs to be investigated, I suspect it's an OS/2 specific bug). Then, this function causes SIGFPE (which is originally XCPT_FLOAT_INVALID_OPERATION) because of division by zero.

The obvious fix is to replace

    rx = qAbs(rx);
    ry = qAbs(ry);

at around #1285 in svghandler.cpp to

    rx = qAbs(rx);
    ry = qAbs(ry);
    if (rx == 0 || ry == 0)
        return; 

I didn't commit this fix though. This code is in the Qt code base for so long that it would definitely be fixed if it made problems on other platforms (it's very easy to create an invalid .svg to cause zero arguments to be passed in there). But it is still not fixed (see http://qt.gitorious.org/qt/qt/blobs/master/src/svg/qsvghandler.cpp) which means that for some reason it doesn't make any problems anywhere except OS/2.

#107 fixed Provide WPI archives for runtime and development bundles Dmitry A. Kuminov
Description

Now, after we implemented the portability feature for the binary builds (#78), we may create WPI archives of the runtime distribution and the development distribution of the Qt library. This will greatly simplify the life for end-users and for developers wishing to create/port Qt applications on OS/2.

Note: See TracQuery for help on using queries.