printdrop.git
16 years agoUpdating the plist for 1.0 final 1.0
Robert Sesek [Mon, 7 Apr 2008 23:28:05 +0000 (19:28 -0400)]
Updating the plist for 1.0 final

* Info.plist

16 years agoAdd a way to bypass the ACS outage messages so it works again
Robert Sesek [Fri, 28 Mar 2008 21:31:42 +0000 (17:31 -0400)]
Add a way to bypass the ACS outage messages so it works again

* Source/AppController.m:
([AppController uploadAndPrint:]): Send the "q" character to postpone displaying messages

16 years agoWrap the download update text to words not characters 1.0-b3
Robert Sesek [Thu, 28 Feb 2008 19:33:58 +0000 (14:33 -0500)]
Wrap the download update text to words not characters

16 years agoFor beta versions, always show the buffer in NSLog()
Robert Sesek [Thu, 28 Feb 2008 19:24:24 +0000 (14:24 -0500)]
For beta versions, always show the buffer in NSLog()

16 years agoBumping to Beta 3 of Info.plist
Robert Sesek [Thu, 28 Feb 2008 19:23:59 +0000 (14:23 -0500)]
Bumping to Beta 3 of Info.plist

16 years agoDon't force the version string to be beta 1 and remove a test button from the main...
Robert Sesek [Thu, 28 Feb 2008 19:14:10 +0000 (14:14 -0500)]
Don't force the version string to be beta 1 and remove a test button from the main window

16 years agoAdd an update check and see if the current version is the most recent one
Robert Sesek [Thu, 28 Feb 2008 19:11:34 +0000 (14:11 -0500)]
Add an update check and see if the current version is the most recent one

16 years agoUsing polled reading and don't allow actual LPR-ing in debug mode
Robert Sesek [Thu, 28 Feb 2008 03:53:26 +0000 (22:53 -0500)]
Using polled reading and don't allow actual LPR-ing in debug mode

* Source/AppController.m:
([AppController readChannel:]): Use libssh2_poll_channel_read() to check and see if there's more to read as it's much faster
([AppController uploadAndPrint:]): If BLU_DEBUG, do not LPR anything, but rather touch a file

16 years agoRemove the hyphens in the pub* printers because they don't have them, yet `printers... 1.0-b2
Robert Sesek [Wed, 27 Feb 2008 22:45:18 +0000 (17:45 -0500)]
Remove the hyphens in the pub* printers because they don't have them, yet `printers` says they do

* English.lproj/Printers.plist

16 years agoDefine a BLU_DEBUG so we can NSLog() the buffer in debug mode but not in release
Robert Sesek [Wed, 27 Feb 2008 22:44:08 +0000 (17:44 -0500)]
Define a BLU_DEBUG so we can NSLog() the buffer in debug mode but not in release

* PrintDrop.xcodeproj: Define BLU_DEBUG for the PrintDrop-Debug target
* Source/AppController.m:
([AppController readChannel:]): If BLU_DEBUG is defined, NSLog() the buffer

16 years agoAdd the -m flag to lpr so the user gets an email confirmation message
Robert Sesek [Wed, 27 Feb 2008 22:13:45 +0000 (17:13 -0500)]
Add the -m flag to lpr so the user gets an email confirmation message

* Source/AppController.m

16 years agoBump to beta 2
Robert Sesek [Wed, 27 Feb 2008 22:07:30 +0000 (17:07 -0500)]
Bump to beta 2

* Info.plist

16 years agoAdd the cost and location to the display
Robert Sesek [Wed, 27 Feb 2008 22:04:54 +0000 (17:04 -0500)]
Add the cost and location to the display

* English.lproj/ManMenu.nib

16 years agoUpdating the printer list to include all the printers accessible by ACS
Robert Sesek [Wed, 27 Feb 2008 22:02:09 +0000 (17:02 -0500)]
Updating the printer list to include all the printers accessible by ACS

* English.lproj/Printers.plist

16 years agoAdding a Printers.plist file so that the printers aren't hard-coded into PrintDrop...
Robert Sesek [Wed, 27 Feb 2008 19:59:39 +0000 (14:59 -0500)]
Adding a Printers.plist file so that the printers aren't hard-coded into PrintDrop but rather are in an XML file

* English.lproj/Printers.plist: New file
* PrintDrop.xcodeproj: Project updates for the plist file
* Source/AppController.h: Changing printers to be an NSArray instead of NSMutableArray
* Source/AppController.m:
([AppController init]): Simply load the plist instead of creating a NSMutableArray of NSDictionary's

16 years agoChange the touch command to be LPR 1.0-b1
Robert Sesek [Tue, 26 Feb 2008 18:48:46 +0000 (13:48 -0500)]
Change the touch command to be LPR

16 years agoMake libssh2 target a dependency of PrintDrop
Robert Sesek [Tue, 26 Feb 2008 18:35:52 +0000 (13:35 -0500)]
Make libssh2 target a dependency of PrintDrop

16 years agoChange the text to be "Drop a PDF Below" instead of "Drop PDFs Below" and make it...
Robert Sesek [Tue, 26 Feb 2008 18:34:35 +0000 (13:34 -0500)]
Change the text to be "Drop a PDF Below" instead of "Drop PDFs Below" and make it better aligned

16 years agoAdd the build number, version number, and product name strings to Info.plist and...
Robert Sesek [Tue, 26 Feb 2008 18:32:37 +0000 (13:32 -0500)]
Add the build number, version number, and product name strings to Info.plist and InfoPlist.strings

16 years agoRearranging the project files just for my own sanity
Robert Sesek [Tue, 26 Feb 2008 18:23:15 +0000 (13:23 -0500)]
Rearranging the project files just for my own sanity

16 years agoWe now build libssh2 in Xcode and it's a much better UB/10.4 citizen
Robert Sesek [Tue, 26 Feb 2008 18:22:26 +0000 (13:22 -0500)]
We now build libssh2 in Xcode and it's a much better UB/10.4 citizen

16 years agoInstead of using NSGradient, just use a PNG image so we can make ourselves 10.4
Robert Sesek [Tue, 26 Feb 2008 17:31:31 +0000 (12:31 -0500)]
Instead of using NSGradient, just use a PNG image so we can make ourselves 10.4

16 years agoAdd an outlet to DraggableImageView so we can enable/disable the button
Robert Sesek [Tue, 26 Feb 2008 17:01:41 +0000 (12:01 -0500)]
Add an outlet to DraggableImageView so we can enable/disable the button

16 years agoCheck and make sure we have a valid file before continuing
Robert Sesek [Tue, 26 Feb 2008 17:00:02 +0000 (12:00 -0500)]
Check and make sure we have a valid file before continuing

* Source/AppController.m:
([AppController uploadAndPrint:])

16 years agoThreading the print command with -[uploadAndPrint:]
Robert Sesek [Tue, 26 Feb 2008 16:54:54 +0000 (11:54 -0500)]
Threading the print command with -[uploadAndPrint:]

16 years agoRenaming the uploaded PDF and we now delete it at the end
Robert Sesek [Tue, 26 Feb 2008 16:48:55 +0000 (11:48 -0500)]
Renaming the uploaded PDF and we now delete it at the end

16 years agoAdding a method to clean up the code for reading the channel
Robert Sesek [Tue, 26 Feb 2008 16:35:15 +0000 (11:35 -0500)]
Adding a method to clean up the code for reading the channel

* Source/AppController.m
([AppController readChannel:]): New method

16 years agoWe can now issue SSH commands to the server
Robert Sesek [Tue, 26 Feb 2008 16:27:25 +0000 (11:27 -0500)]
We can now issue SSH commands to the server

16 years agoWe now can upload the appropriate PDF file
Robert Sesek [Tue, 26 Feb 2008 14:43:07 +0000 (09:43 -0500)]
We now can upload the appropriate PDF file

16 years agoShow the spinner all the time, it can just not be active
Robert Sesek [Tue, 26 Feb 2008 13:37:19 +0000 (08:37 -0500)]
Show the spinner all the time, it can just not be active

16 years agoAfter much work, we can now link to libssh2.a
Robert Sesek [Tue, 26 Feb 2008 13:36:09 +0000 (08:36 -0500)]
After much work, we can now link to libssh2.a

16 years agoUpdate the build-libssh2.sh script to not delete the directory after making it, but...
Robert Sesek [Tue, 26 Feb 2008 05:22:47 +0000 (00:22 -0500)]
Update the build-libssh2.sh script to not delete the directory after making it, but before recreating it

16 years agoBuilding the libssh2 and including a script to build it as UB
Robert Sesek [Tue, 26 Feb 2008 04:00:08 +0000 (23:00 -0500)]
Building the libssh2 and including a script to build it as UB

16 years agoAdd a status text field next to the progress indicator
Robert Sesek [Tue, 26 Feb 2008 02:57:30 +0000 (21:57 -0500)]
Add a status text field next to the progress indicator

16 years agoAdding some interface sparkle and a path display
Robert Sesek [Tue, 26 Feb 2008 02:55:28 +0000 (21:55 -0500)]
Adding some interface sparkle and a path display

16 years agoUse an NSArrayController and now we can have access to the dictionary!
Robert Sesek [Tue, 26 Feb 2008 00:48:19 +0000 (19:48 -0500)]
Use an NSArrayController and now we can have access to the dictionary!

16 years agoCreate an AppController
Robert Sesek [Tue, 26 Feb 2008 00:33:08 +0000 (19:33 -0500)]
Create an AppController

16 years agoSet the NIB window to be positioned in the center of the screen and replace "NewAppli...
Robert Sesek [Mon, 25 Feb 2008 23:32:14 +0000 (18:32 -0500)]
Set the NIB window to be positioned in the center of the screen and replace "NewApplication"

16 years agoRenaming FileDropBoxView to DraggableImageView and making the GradientBackView repain...
Robert Sesek [Mon, 25 Feb 2008 23:22:27 +0000 (18:22 -0500)]
Renaming FileDropBoxView to DraggableImageView and making the GradientBackView repaint completely each time.

The draggable view is now an NSImageView subclass that resides in the NSBox instead of subclassing NSBox and programatically creating an NSImageView (that we couldn't drag on because it wouldn't be the responder to the drag op).

16 years agoRenaming GradientBack to GradientBackView
Robert Sesek [Mon, 25 Feb 2008 21:51:12 +0000 (16:51 -0500)]
Renaming GradientBack to GradientBackView

16 years agoCreating an empty subclass of NSBox to handle file drag-and-drop
Robert Sesek [Mon, 25 Feb 2008 21:49:37 +0000 (16:49 -0500)]
Creating an empty subclass of NSBox to handle file drag-and-drop

* English.lproj/MainMenu.nib: Set the custom subclass
* PrintDrop.xcodeproj: Project updates for the new source files
* Source/FileDropBoxView.h: New file
* Source/FileDropBoxView.m: New file

16 years agoAdding a gradient NSView subclass to draw the pretty gradient
Robert Sesek [Mon, 25 Feb 2008 21:45:00 +0000 (16:45 -0500)]
Adding a gradient NSView subclass to draw the pretty gradient

* English.lproj/MainMenu.nib: set the NSView subclass
* PrintDrop.xcodeproj: Project updates for the new source files
* Source/GradientBack.h: New file
* Source/GradientBack.m: New file

16 years agoLaying out the interface
Robert Sesek [Mon, 25 Feb 2008 21:35:41 +0000 (16:35 -0500)]
Laying out the interface

* English.lproj/MainMenu.nib

16 years agoAdding an empty Xcode project
Robert Sesek [Mon, 25 Feb 2008 21:27:36 +0000 (16:27 -0500)]
Adding an empty Xcode project