Commit Graph
100 Commits
Author SHA1 Message Date
Michael Pfeiffer 84cb679caa Use layout API
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-04 08:18:28 +00:00
Michael Pfeiffer 6baeabf916 * merging gutenprint-5.2.7 into the main branch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-08 11:20:56 +00:00
Michael Pfeiffer ccd062a898 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
2011-01-24 20:01:31 +00:00
Michael Pfeiffer 399cfca5a0 Fixed self assignment (#7158).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-23 19:07:34 +00:00
Michael Pfeiffer 05a2fec5fb * CID 9729: initialized member fPrinter in constructor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:11:02 +00:00
Michael Pfeiffer 0f0bd984d7 * CID 6544, 5645: removed "const" qualifier on return type
as it is meaningless


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:08:04 +00:00
Michael Pfeiffer 9dbc17e4f3 * CID 10346: hid unused code; I cannot remember why the
code is not used; maybe it was not implemented completly
  or BePDF could not render it correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:44:59 +00:00
Michael Pfeiffer 737e45854e * As pointed out by Rene the buffer size in snprintf
includes the 0-terminator.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:24:58 +00:00
Michael Pfeiffer fdee209b00 * CID 10260: member variable fIconSize was not initialized
in error case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:14:25 +00:00
Michael Pfeiffer a17b8132ed * CID 10260: member variable fDefaultPrinter was not
initialized in constructor in error case


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:12:17 +00:00
Michael Pfeiffer e923359460 * CID 7969: defensive programming: use snprintf instead of sprintf.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:06:29 +00:00
Michael Pfeiffer 0f73490879 * CID 5322: renamed parameter to "transportPath" to
not hide parameter "path".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 20:53:11 +00:00
Michael Pfeiffer 1f8d90053a * CID7947 avoid buffer overflow (very unlikely;
should have happened only if the translated text was very large).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 20:49:01 +00:00
Michael Pfeiffer b12b2a60a7 * 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
2010-12-12 08:06:19 +00:00
Michael Pfeiffer df60b3d51b * Use case insensitive compare method for MIME type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 10:59:40 +00:00
Michael Pfeiffer b13a0d5d32 * Bug fixed: WriteSpoolData didn't pass data to
transport add-on because ";" was missing after
  "return" statement.
* Removed unused getter methods from class GraphicsDriver.
* Implemented page rotation (closes #6965) in landscape.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 10:47:19 +00:00
Michael Pfeiffer 331c922016 * Renamed method PrinterCap::IsSupport() to Supports().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 07:26:14 +00:00
Michael Pfeiffer 4a0c1e139d * Code style changes (missing header files from r39770)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 20:07:22 +00:00
Michael Pfeiffer 4410ee1269 * Code style changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 19:09:44 +00:00
Michael Pfeiffer fefd3ba588 * 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
2010-12-08 10:22:40 +00:00
Michael Pfeiffer 0e216008df * Made printing related windows close on pressing the
Escape key.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 12:34:09 +00:00
Michael Pfeiffer 509c3229cd * Removed condition to round image width and height in pixels
to whole numbers. The whole imageable area should now be
  available for printing.
  Hope this does not have a negative effect on image quality.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 11:51:35 +00:00
Michael Pfeiffer d6d2c9b16d * The bitmap bands from libprint are relative to the
imageable area; made them absolute to the left, top
  of the page. The page contents should now be positioned
  correctly.
* Make sure the image to be printed on the page is
  inside the imageable area. This fixes the configuration
  error that the page is outside the imageable area.
TODO fix the implementation limitation that up to 1 Inch of the
total imageable page width and height cannot be used. There
is a comment in the source code that explains why that is.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 11:13:07 +00:00
Michael Pfeiffer 081615cbf7 Reverted wrong typo fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-03 11:25:34 +00:00
Michael Pfeiffer d222eb7942 Changed wording and fixed typo (ticket #6945).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-03 10:46:20 +00:00
Michael Pfeiffer c0aa3379bb Improved error reporting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 08:51:58 +00:00
Michael Pfeiffer fad059587c Use better variable name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 08:12:39 +00:00
Michael Pfeiffer f14cab2d36 * Added support for the remaining Gutenprint setting types:
Boolean, Int, Dimension and Double.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-14 10:58:10 +00:00
Michael Pfeiffer 9b07d9f0fe * Renamed files, classes and constants from
PrintServerAddOn to PrintAddOnServer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 18:43:55 +00:00
Michael Pfeiffer 112cf45c66 * On image renamed print_server_add_on to print_addon_server
and moved it from folder bin to servers.
  The print_server uses print_addon_server now to
  execute printer driver add-ons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 18:34:43 +00:00
Michael Pfeiffer f0de36acbb * Moved print_server_add_on from bin to servers folder
and renamed it to print_addon as suggested by Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-08 17:46:16 +00:00
Michael Pfeiffer 61729fe266 * Added application print_server_add_on that is used
by the print_server to run a printer driver add-on.
  This makes the print_server
  1) resistant to add-on crashes
  2) and memory leaks in add-ons
  3) license of an add-on cannot influence the
     license of the print_server since it does not
     directly load the add-on anymore; might be
     an issue with GPL printer drivers like Gutenprint
 
  Transport add-ons directly loaded by the print_server
  should be moved outside the print_server too.
  Right now I am not aware that the transport add-ons
  in the repository have any of the issues.
  The Gutenprint driver has 2 + 3 that was the main
  motivation to implement that now. 

  Disabled for now until the launch issue is resolved.
  BRoster does not find the application by its
  signature until it is opened in Tracker once.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 17:13:55 +00:00
Michael Pfeiffer 25a8957728 * Removed unused file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 16:55:08 +00:00
Michael Pfeiffer 442f4337c1 * Workaround for ticket #6794.
Libprint requires the horizontal and vertical resolution
  to be the same. For now use the maximum resolution when
  rendering the page bands.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 18:09:23 +00:00
Michael Pfeiffer 6ddd8057e6 * Moved printer driver add-on loading and hook function
invocation code from class Printer into new class
  PrinterDriverAddOn.
  Refactored code a little bit.
* Removed duplicate code from class PrintServerApp
  and use methods from class Printer instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 10:17:13 +00:00
Michael Pfeiffer 09750a224f * Dynamically create contents of transport sub menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 20:19:25 +00:00
Michael Pfeiffer c6a51c24e7 * Fixed bug. If a transport add-on returned an empty
port list, the transport add-on could be selected,
  altough later using it would fail. In that case
  now a sub menu item is created containing the text
  "No printer found!" and selecting it won't work.
  TODO the contents of the sub menu should be refreshed
  before the sub menu is opened, so that only currently
  connected and turned on printers are shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 19:38:02 +00:00
Michael Pfeiffer 018242ded4 * Added preliminary credits for Gutenprint.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 18:46:47 +00:00
Michael Pfeiffer 88031f87d5 * Fixed gcc4 build issue.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 21:00:19 +00:00
Michael Pfeiffer 9295cd647f * Added Gutenprint printer driver add-on to image.
* This is still work in progress:
  Printing should work with the following restrictions:
  - Color printing is untested.
  - Some configuration options provided by Gutenprint are missing.
  - Error reporting is missing. 
  - The page margins should at least to increased to 1 cm
    or 0.4 Inch.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 18:05:09 +00:00
Michael Pfeiffer c0710fb94e * Added Gutenprint data files to image (common/data/gutenprint).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 17:40:46 +00:00
Michael Pfeiffer 5f02100a71 * Added manually modified header files generated by configure script
under OpenSuSE 10.2.
* Added Jamfiles for building the core of Gutenprint.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 17:26:26 +00:00
Michael Pfeiffer c8dcb9b31a * Bringing gutenprint-5.2.6 into the main branch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 17:16:14 +00:00
Michael Pfeiffer bc9665753b * Use Layout API
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 09:43:26 +00:00
Michael Pfeiffer 299710a731 * Style changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 08:54:52 +00:00
Michael Pfeiffer 54336e821e * Use Layout API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 08:40:04 +00:00
Michael Pfeiffer 42c36e9fd3 * Style changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 08:06:55 +00:00
Michael Pfeiffer 239c0190af * Use namespace "std" to fix build-o-matic error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 08:05:02 +00:00
Michael Pfeiffer ae83b2f10a * Use check box to enable "Print preview" instead of a button.
The button did make sense in BeOS where there was no printer
  selection dialog. The dialog is enabled in Haiku per default
  and clicking the "Preview" button closes the job setup dialog
  and returns to the printer selection dialog.
  The preview is shown after the printer selection dialog is
  closed clicking on the "OK" button.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 07:06:55 +00:00
Michael Pfeiffer de18d919e7 * Added driver specific settings to job data and job
setup dialog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-30 06:54:16 +00:00
Michael Pfeiffer 961e35fb58 * Changed BaseCap ID type from int to int32.
* Removed unused printer ID from PrinterCap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 13:06:29 +00:00
Michael Pfeiffer 56c20e828b * Style changes.
* Removed unused code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:56:56 +00:00
Michael Pfeiffer 308f0e195d * Enable halftone configuration options if requested by printer driver
only.
* WIP: Driver specific generic capabilities.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:48:36 +00:00
Michael Pfeiffer a12efb945f * Style changes.
* Use assignment operator in copy constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:03:26 +00:00
Michael Pfeiffer f412257ccb * Store resolution ID in libprint specific field in JobData;
as the pair of x/y resolutions might not be unique in all
  supported Gutenprint printer models 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 14:46:26 +00:00
Michael Pfeiffer f53abcbdf8 * Added field fKey to BaseCap (will be required for Gutenprint printer
driver add-on).
* Added ability to search for a PrinterCap by ID to class PrinterCap
  (for Gutenprint driver add-on).
* Moved code for searching a PrinterCap by name into class PrinterCap.
* Refactored code in JobSetupDlg to use the new method.
* Refactored duplicated code in JobSetupDlg.
* There is still a lot of refactoring potential in libprint.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 14:21:09 +00:00
Michael Pfeiffer 08d759feae * More style changes.
* Removed namespace handling for Metrowerks compiler.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:44:09 +00:00
Michael Pfeiffer a7dde370f5 * Style changes.
* Unused code removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:34:31 +00:00
Michael Pfeiffer 5a695bce10 * Use layout API in libprint dialogs.
* Use layout API in preview printer add-on.
* Use layout API in some dialogs in PDF Writer.
* Removed unused class PrinterSetupWindow from PDF Writer.
* Improved layout in print_server configuration dialog.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-16 19:56:34 +00:00
Michael Pfeiffer 08af89feda * The add-on additionally to the print_server gets loaded by printer
add-ons too. The USBPrinterRoster thread has to be stopped before
  the transport add-on gets unloaded.
  This fixes the bug described in ticket #6008 that a page gets printed
  again and again.
* Added comment that the add-on might access a deleted object if the printer
  get disconnected during printing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 09:09:51 +00:00
Michael Pfeiffer 032a8371aa As per Stephans request re-added comment that I
removed in r37939.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-06 18:24:48 +00:00
Michael Pfeiffer ab7c7773b2 * With blessing from Stefano applied my alternative patch
from ticket #6415: the drawing offset of a BPicture
  becomes the new drawing origin.
* This should also close ticket #6008.
* Also the Preview printer does the clipping now correctly
  outside the "printable rectangle".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-06 12:21:34 +00:00
Michael Pfeiffer ff973abc41 * Align the scaled picture at the top to the unscaled
one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-30 09:20:09 +00:00
Michael Pfeiffer 8247141f14 * Added testDrawScaledPicture which exposes a bug
drawing a scaled picture at an offset. The offset
  needs to be scaled too, but isn't right now.
* Fixed testDrawLargeBitmap. The bounds were negative.
* Added testFontRotation. Works fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-30 09:12:57 +00:00
Michael Pfeiffer 6f0d416957 * Moved enconding files into system/data/PDF Writer directory,
as correctly pointed out by Ingo these are no setting files.
* Use find_directory() here and in places marked with TODOs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 14:45:25 +00:00
Michael Pfeiffer b085f93bcd * Added files used by PDF Writer to the image
(closed ticket #6380).
* Changed path to /boot/common/settings.
Someone feel free to change the implementation to get 
the path from find_directory(...). 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 18:30:36 +00:00
Michael Pfeiffer 9abbe87f8c * Style changes. No functional changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-28 15:55:07 +00:00
Michael Pfeiffer 8b0a06ad7a * For consistencies sake also translate transport scripting
comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-28 15:41:56 +00:00
Michael Pfeiffer f591d304a7 * Include of locale not required as pointed
out by Jérôme Douval ocommits ML. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-28 15:27:44 +00:00
Michael Pfeiffer 8d2c390382 * Applied slightly modifed patch from ticket #6089 by Karvjorm. Thank you.
- Added translation comment to paper sizes.
- Localized scripting comments.
- Improved localization of job info.
- Localized parts of about dialog text.   


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-28 13:45:21 +00:00
Michael Pfeiffer 4b5dfd789f * Removed obsolete picture test application.
* Fixed build of print job utilities DumpPrintJob and
  ShowPrintJob.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 06:48:13 +00:00
Michael Pfeiffer 0514b0cad2 * Right align right column.
"Transport" or "comment" text does not get truncated anymore,
  when it is longer than "pending jobs" text.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 07:27:21 +00:00
Michael Pfeiffer d1dd67cbbf * Increased window size.
Using German locale text in printers list does not get truncated anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 07:24:31 +00:00
Michael Pfeiffer 4339f8be19 Style clean up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 09:36:26 +00:00
Michael Pfeiffer 13dfd6ccca * 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
2010-05-14 09:20:55 +00:00
Michael Pfeiffer 1d54eedb81 * Single Launch flag was set in the previous package. This prevents
BePDF from opening more than one PDF file at the same time.
  This was caused by a yet unresloved bug in the BePDF build scripts 
  when used from Haiku.
  The new package was rebuilt under BeOS R5.
  Sorry for the late change.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:23:35 +00:00
Michael Pfeiffer 5352c349a0 Updated BePDF to version 1.1.1b3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-02 11:37:10 +00:00
Michael Pfeiffer fed5b83cfb Sort languages alphabetically using collators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-27 10:10:03 +00:00
Michael Pfeiffer 103376b374 Moved translators into a table. Avoids code duplication and should make
the implementation of the open TODO (sort languages alphabetically using
collators) easy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-27 09:19:17 +00:00
Michael Pfeiffer 578462284f Added Finnish translation for bootman. Thank you Karvjorm.
Closes ticket #5642.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-27 07:55:21 +00:00
Michael Pfeiffer 4fc2c378e1 Changes for ticket #5227.
* Use a slider instead of radio buttons for timeout options.
* Added timeout options 'after 0 seconds', 'after one minute'.
* Removed timeout options 'after 10 and 15 seconds'.
* Timeout can now be disabled pressing the 'ALT' key at boot time.

Other:
* Added #undef TR_CONTEXT to get rid of build warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-21 15:40:00 +00:00
Michael Pfeiffer 2d468e62de Forgot to update the condition after not increasing the length variable
in r35872. 
Thanks Axel for pointing that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 09:57:41 +00:00
Michael Pfeiffer ce5750a743 Added translation comment that "Unnamed %d" must use characters from
codepage 437.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 09:29:34 +00:00
Michael Pfeiffer 2367c2d78d Replace each occurence of an invalide character. Before all invalid
characters where omitted and the substitute character was append at the end
of the input text.
Added comment how the continuation of incomplete multibyte sequences
could be solved.
Please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 09:28:53 +00:00
Michael Pfeiffer 4e19eb33b3 Removed authors and copyright year from translation text.
Take the length of the about title text into account when making it
bold (might be translated as well).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 09:21:26 +00:00
Michael Pfeiffer 0546e55379 Show preview of partition name if conversion was successful.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 09:20:00 +00:00
Michael Pfeiffer 5bc2eb3bab BString:UnlockBuffer expects the length without the null-terminator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 09:14:42 +00:00
Michael Pfeiffer b9b8a156d4 Reverted r35043. The "Save as PDF" printer could not save to
a PDF file, because it could not locate the "Print To file"
transport add-on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-14 15:40:18 +00:00
Michael Pfeiffer a3d7d84d2d Fixed UI issues:
* Centered "file" text control and "select" button vertically.
* Made "file" text control smaller, so it is not overlapped by "select"
  button.
* Updated the scroll bar proportions in the "partitions" list.
* Positioned rows in "partitions" list correctly so they do not overlap.
* Increased row height, so the text control always fits into it.
* Centered "show" check box vertically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-14 10:16:37 +00:00
Michael Pfeiffer 7bd66e4347 Added help text to .catkeys files. Sorted files by second and first
column.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 19:20:20 +00:00
Michael Pfeiffer e4872e666e Missed two translation comments in r35800.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 19:19:16 +00:00
Michael Pfeiffer c7e6a67024 Added translation comments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 18:11:58 +00:00
Michael Pfeiffer 6b862e027c Simplified translation text handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 12:48:44 +00:00
Michael Pfeiffer a9611382fa Added comment where 'Unknown' text is used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 12:47:05 +00:00
Michael Pfeiffer 6449e3ee5c Corrected copy&paster error. The "Uninstall" option contained the same
text as the "Install" option. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 12:46:03 +00:00
Michael Pfeiffer 09ccc66ea0 * Localized.
* Text of boot menu items is encoded using code page 437 (for example
  umlaute can now be used). 
* On the last wizard page before writing the boot menu a preview is 
  shown of the boot menu items. 
* Enforce menu item size limit of 70 bytes. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 11:28:24 +00:00
Michael Pfeiffer d90d29facd Fixed some style violations (max 80 chars per line).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 20:09:19 +00:00
Michael Pfeiffer 80dd024309 Localized print_server.
Added German translation. Again feel free to improve it.
Updated copyright year in About dialog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 19:40:39 +00:00
Michael Pfeiffer 5a5fcf2f69 Added David Dengg to About dialog for his boot loader.
Updated copyright year.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 13:54:40 +00:00
Michael Pfeiffer e5ca057aaa Reduced indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 13:32:46 +00:00