History log of /haiku/src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp
Revision Date Author Comments
# fdc8b001 24-Jun-2023 Niels Sascha Reedijk <niels.reedijk@gmail.com>

print addons: remove invalid use of auto_ptr

GCC 13 warns that the use of auto_ptr on an array can lead to undefined
behavior, because auto_ptr will use `delete` instead of `delete[]`.

Replaced the use with `std::vector` instead. Since the `data()` member was only
introduced in C++11, the solution uses the [] operator instead to get the
address of the beginning of the array.

Change-Id: Ib457580eedb03338a454fb96b27602c3830c1634
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6644
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# aed35104 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 4410ee12 08-Dec-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Code style changes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39770 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fefd3ba5 08-Dec-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Code style changed in class GraphicsDriver and and
child classes
* Removed namespace handling for Metrowerks compiler
* Initialize all fields in constructor


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39765 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24874466 03-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Style cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37364 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 571d840a 19-Oct-2009 Oliver Tappe <zooey@hirschkaefer.de>

* dropped svn:keywords property from all files that carried it
to avoid recurring problems during migration of subversion checkouts
(restored binary files that were garbled by subversions during checkout)
* added appropriate svn:mime-type property for problematic (binary) files
* removed a single (mistyped) svn:mimetype property
* dropped svn:eol-style property for cleanup (they all contained 'native')



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33670 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b6882f1 13-Feb-2004 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added ink density and dither type to halftone constructor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6585 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d2c03b1b 30-Jan-2004 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Renamed many constants and fields according to Open BeOS coding style guide.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6434 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 52a38012 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aed35104852941f0f6f3d1dcc5338b5f337d0a3c 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# 4410ee1269f6a039e1c1060feb105ce40c8152dc 08-Dec-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Code style changes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39770 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fefd3ba5885b7bd927593157150d1d8ccaefdd20 08-Dec-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Code style changed in class GraphicsDriver and and
child classes
* Removed namespace handling for Metrowerks compiler
* Initialize all fields in constructor


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39765 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24874466dc6e4989dc0630533f78ae0caa8df0ef 03-Jul-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Style cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37364 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 571d840abfdf03de583b26fefd2066ee75b25cf4 19-Oct-2009 Oliver Tappe <zooey@hirschkaefer.de>

* dropped svn:keywords property from all files that carried it
to avoid recurring problems during migration of subversion checkouts
(restored binary files that were garbled by subversions during checkout)
* added appropriate svn:mime-type property for problematic (binary) files
* removed a single (mistyped) svn:mimetype property
* dropped svn:eol-style property for cleanup (they all contained 'native')



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33670 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b6882f17c4f6b1d5d0f8ec490ba535ab013bf39 13-Feb-2004 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added ink density and dither type to halftone constructor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6585 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d2c03b1becfffdc387807bfc52b475b71c83558c 30-Jan-2004 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Renamed many constants and fields according to Open BeOS coding style guide.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6434 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 52a380120846174213ccce9c4aab0dda17c72083 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96