History log of /haiku/src/add-ons/print/transports/hp_jetdirect/HPJetDirectTransport.cpp
Revision Date Author Comments
# ee1265c5 01-Jul-2015 Philippe Saint-Pierre <stpere@gmail.com>

Memleak in HPDirectJet printer transport

CID 605747


# 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.


# ccd062a8 24-Jan-2011 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Fixed off by one error. The port number should now be taken from the
URL.


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


# b12b2a60 12-Dec-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Bug fix: The configuration dialog was never opened, because it could
read the attribute "transport_address" created and set to an empty
string by the print_server when the printer was created.
fEndpoint used an empty host name to connect to and then failed.
Not sure why this caused a crash after closing the error dialog.
Maybe something went wrong in the destructor using an invalid fEndpoint?
Cures the symptoms of ticket #6973.


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


# b7d73f97 03-Dec-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

HP JetDirect transport add-on was the only one to not store/retrieve is
address from transport_address attribute but a custom one. Fixed.

Now explicitly shutdown the connection at job end, some printers requires this.

Style cleanup that was lying since months, but this code will be reworked
again soon, as the SetupWindow needs to be rebuild for layout API and locale
translation...


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


# 4339f8be 14-May-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Style clean up.


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


# 13dfd6cc 14-May-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Avoid null pointer reference if configuration dialog is canceled
(fixes #5988).


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


# 45800056 21-Dec-2006 DarkWyrm <darkwyrm@gmail.com>

More alerts which are a bit more standard and family-friendly. :^)


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


# 8ea80fd2 29-Jan-2005 Philippe Houdoin <philippe.houdoin@gmail.com>

NETWORK_LIBS awareness: now link automaticly against right network target's libraries.


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


# 179268dc 05-Aug-2004 Philippe Houdoin <philippe.houdoin@gmail.com>

Follow actual InitCheck() semantics, part II.


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


# 6c5ac69a 04-Dec-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Matching port type with stored attribut type.


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


# fd17f6d4 04-Dec-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Check-in a small print transport add-on for printers featuring an HP JetDirect port.
Like my all new HP deskjet 5850 ;-)


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


# ee1265c58e793a549675a5159a28c1e36e9bf320 01-Jul-2015 Philippe Saint-Pierre <stpere@gmail.com>

Memleak in HPDirectJet printer transport

CID 605747


# 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.


# ccd062a89894657c552e6ef212625171ffcd0517 24-Jan-2011 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Fixed off by one error. The port number should now be taken from the
URL.


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


# b12b2a60a74fd0f9e4d047dfac6bf0a248751c48 12-Dec-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Bug fix: The configuration dialog was never opened, because it could
read the attribute "transport_address" created and set to an empty
string by the print_server when the printer was created.
fEndpoint used an empty host name to connect to and then failed.
Not sure why this caused a crash after closing the error dialog.
Maybe something went wrong in the destructor using an invalid fEndpoint?
Cures the symptoms of ticket #6973.


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


# b7d73f97ee6feab9ba05dcd54aa3c8be938eec42 03-Dec-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

HP JetDirect transport add-on was the only one to not store/retrieve is
address from transport_address attribute but a custom one. Fixed.

Now explicitly shutdown the connection at job end, some printers requires this.

Style cleanup that was lying since months, but this code will be reworked
again soon, as the SetupWindow needs to be rebuild for layout API and locale
translation...


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


# 4339f8be19742044831bd004c420eb09cd45537d 14-May-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Style clean up.


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


# 13dfd6cccad2babce725070c32d92946dc3c04e6 14-May-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Avoid null pointer reference if configuration dialog is canceled
(fixes #5988).


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


# 45800056796560067d27c0bb39493060835637ef 21-Dec-2006 DarkWyrm <darkwyrm@gmail.com>

More alerts which are a bit more standard and family-friendly. :^)


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


# 8ea80fd27abbac03655a73d46f210272143ca4af 29-Jan-2005 Philippe Houdoin <philippe.houdoin@gmail.com>

NETWORK_LIBS awareness: now link automaticly against right network target's libraries.


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


# 179268dc55b601fdfeba986ab502813883570853 05-Aug-2004 Philippe Houdoin <philippe.houdoin@gmail.com>

Follow actual InitCheck() semantics, part II.


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


# 6c5ac69ac22a772c27398bf77961604195b63dfe 04-Dec-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Matching port type with stored attribut type.


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


# fd17f6d4b51bded379548c047f37e511f8c1cde0 04-Dec-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Check-in a small print transport add-on for printers featuring an HP JetDirect port.
Like my all new HP deskjet 5850 ;-)


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