Commit Graph

37352 Commits

Author SHA1 Message Date
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
Philippe Houdoin
2ca94d9be9 Small change lost in the void: search in common addons dir too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:26:41 +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
Alex Wilson
5c0767ca6f Fix a regression I caused in the media preflet with r39070 by remembering to clean out our BListView when (re)initializing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 04:48:58 +00:00
Alex Wilson
768734a831 In media preflet, update handling of nodes with no controls to look nicer and not make our window really small.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 03:34:17 +00:00
Jonas Sundström
7327585ba3 Create settings file if missing, so shortcut_catchers node monitoring works. Prior to this change, the add-on would not sense the Shortcuts preferences creating the file, and it wouldn't work right away but only after a reboot. This improves first boot, first use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 23:08:19 +00:00
Axel Dörfler
1d56eab029 * Work in progress network API changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 20:20:09 +00:00
Axel Dörfler
44fe7b9f4f * Added a static Draw() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 20:17:06 +00:00
Rene Gollent
04e916ccb5 Override Update() so we can return an item width that includes our flag.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 17:33:06 +00:00
Rene Gollent
31a81a2b93 Go through the list view to tell it to expand the super item rather than
setting its expanded property. Doesn't actually fix #6747 but at least corrects
the observed bogus behavior for now until I figure out a proper solution that
isn't hideously inefficient, no thanks to the train wreck that is the API
design we inherited from Be for BOLV.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 16:15:10 +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
Ithamar R. Adema
ac4c302248 * Adjust code to use the new page directory/table helper macros.
* Some more code cleanup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:19:17 +00:00
Ithamar R. Adema
d38153721e * Add page directory/table helper macros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:16:21 +00:00
François Revol
ee0c130257 Display flags and interlace in the mode menu items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:46:06 +00:00
François Revol
b14f16077c Fix setting console position.
Generate a list of video modes, though there seem to be some dups and missing ones... The Nominal resolution doesn't mean it can't be better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:28:13 +00:00
François Revol
2e74287ab2 Force a 040 detection for now, it seems E-UAE is making kickstart detect it randomly :(
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:26:27 +00:00
Ithamar R. Adema
2609a6bc98 * Fix header guard.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:06:22 +00:00
Axel Dörfler
6db01936fe * Added a selection mode that can currently only be enabled via the menu
(should be part of an optional tool bar in the future). Now the primary, and
  the tertiary mouse button pan the image. You still get the selection when
  using alt or ctrl and the primary mouse button, even outside of the selection
  mode. In selection mode, the primary button changes the selection.
* Renamed {Shrink|Stretch}ToBounds() to comply to our coding style, thanks Ingo.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 20:59:34 +00:00
Clemens Zeidler
4a5a077ff7 Add a private B_ATTR_CHANGE_NOTIFICATION flag to the open query syscall to tell the query to send notifications when an entry attribute changed and the entry stays in the query. Previously you only get created and removed messages, now you can also get updated messages. Only implement it for bfs.
Fix copy right.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 20:47:46 +00:00
Matt Madia
9de5b02252 Renamed the variables for the catalogs and re-introduced the target 'catkeys',
which builds just the en.catkeys inside HAIKU_OUTPUT_DIR/objects/catalogs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:55:33 +00:00
Axel Dörfler
4fd570d307 * Fixed another pet peeve of mine: you can now always zoom, no matter if you
have enabled the shrink/stretch option.
* Renamed "zoom to window" to "stretch to window".
* Readded the shrink/stretch options to the full screen context menu only.
* Renamed GetShrinkToBounds() to ShrinkToBounds() as it's a simple getter.
* Changed how and when the shrink/stretch options come into play. Shrinking is
  now only set once, when the image is first shown.
* Added snapping in ZoomIn(), and ZoomOut(): they will now always choose 1.0,
  and the "fit to window" zoom level when they are close.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:36:27 +00:00
François Revol
062c606d62 An implementation of a ConsoleDevice using console.device but it seems it requires having a window open.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:28:23 +00:00
François Revol
77fd9ce1f9 Of course we need the Exec call definition for ColdReboot().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:26:17 +00:00
François Revol
e4e2237013 reboot sanely from platform_exit().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:21:59 +00:00
Jérôme Duval
21451bd38d added some definitions for readonly features
we already support the extra isize feature, so it's now added
removed unused Inode::AttributeBlockReadAt()
group_descriptor_size was previously a reserved field in the super block


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 14:55:54 +00:00
Fredrik Holmqvist
39fa144962 Added kernel setting to dump MADT to syslog. It's very useful for understanding interrupt configuration.
It needs a bit polish in code but wanted to commit before leaving BG.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 13:49:04 +00:00
Oliver Tappe
6fd2f4a0d1 One more monster commit (sorry ...) concerning the Locale Kit:
* extracted new class BFormattingConventions from BCountry, which
  manages the formatting conventions from a given locale and 
  allows to get/set the four different date/time formats supported
  by ICU-locales as well as number and monetary formats
* overhauled the Locale preflet:
  + drop editing features for all formats, since I don't think
    they do not make much sense to have in a prefs GUI - being
    able to select from the existing locales should be good
    enough. Please note that you can still change the formats
    programmatically in an application.
  + renamed the 'Countries' tab to 'Formatting'
  + the locale formatting conventions list in the 'Formatting'
    tab is now hierarchical for easier access (less scrolling)
  + fixed functionality of 'Revert' and 'Defaults' buttons
  + added support for using the month/day-names of your preferred
    language during date formatting
* adjusted BLocale to ask BFormattingConventions for the current
  formats when formatting dates and times and to offer 4
  different format styles (full, long, medium and short).
* adjust all classes formatting dates/times to pick the 
  appropriate format style
* BLocaleRoster no longer directly archives/unarchives the 
  individual formatting conventions but delegates that to
  BFormattingConventions
    

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 12:57:55 +00:00
Matt Madia
ed5692e03c Use a fake signature for DoCatalogs instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 10:48:22 +00:00
Jérôme Duval
a55c611fae added B_DISK_SYSTEM_SUPPORTS_WRITING flag on ext2 disk system, this is required to have mount_server ask whether mounting should be done readwrite or readonly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 09:50:53 +00:00
Jérôme Duval
7babd0d5ea added large files feature support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 09:13:47 +00:00
François Revol
0dbbb46e17 We don't support BeOS build of it anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 09:02:07 +00:00
Clemens Zeidler
ccdff0eb1f Fix bug when comparing flags. Simplify hash map key. Thanks Ingo!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 08:54:21 +00:00
Axel Dörfler
b517fc4393 * Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 08:15:27 +00:00
Matt Madia
476fad7f7f Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 03:42:36 +00:00
Bryce Groff
2f3ce2bf7e DriveSetup:
- File system is now only displayed when the partition actually has a filesystem.
- Now checks if the DiskSystem supports initializing.
- Updated the *ParamsPanels, as well as, the Disk System add-ons to use the new storage api changes (see below).

Storage Kit:
- Simplified the parameters editor system. Now all parameter editor requests go through a single function, GetParameterEditor, and pass a B_PARAMETER_EDITOR_TYPE to request a particular parameter editor.
- Moved DiskDeviceAddOnManager.h to the headers directory, as it is now required by InitParamsPanel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 03:39:19 +00:00
Matt Madia
a8fcb885b0 Improved upon r39090.
* removed the catkeys pseudo-target
 * created catalogs pseudo-target, which builds all catalogs & en.catkeys(.pre)
 * created LocalizedTargets pseudo-target, which builds all targets that have
 been localized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 03:31:34 +00:00
François Revol
fc13691eeb Add a Clear() call to ExecDevice.
Seems there is a lowlevel.library which might be easier to use for keyboard, add some defs for it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:55:46 +00:00
Matt Madia
1974e33826 * More work relating to supporting multiple localized targets in the same
directory. Introduced a new variable HAIKU_MULTIPLE_LOCALIZED_TARGETS, which
gets set in any Jamfiles that contain multiple DoCatalogs invocations. This
removes the need to supply folder parameter to DoCatalogs.
 * Add the DoCatalogs invocation for filepanel.
 * Relocated the catkeys for Screenshot and screenshot into their respective
directories.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:49:44 +00:00
François Revol
4ae7f92a58 Fix console_clear_screen(), ClearScreen() only clears from the current y position so we must Move() before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:12:18 +00:00
François Revol
6fff309da9 Almost working keyboard input. One can now select menu items, though it seems to miss 2/3 of the key presses.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:06:30 +00:00
Matt Madia
85cf9e37d6 Updated DoCatalogs rule, to apply a grist based on the target's signature and
not based on the automatic path-based grist. This (in conjunction with passing
a value for the 'folder' parameter) allows multiple targets within the same
source directory to have their own catalog files.
Fixes #6741.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 01:21:07 +00:00
François Revol
f2b7a266d7 Add an ExecDevice class to handle devices using Exec's IORequest calls. Subclass it as KeyboardDevice to use keyboard.device.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 01:16:36 +00:00
Clemens Zeidler
d63309cf5e Store the volume watcher in a separate hash table to not collide with
normal nodes.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 00:49:48 +00:00
Clemens Zeidler
bfff9df5eb As suggested by Ingo use a B_WATCH_VOLUME flag to tell the kernel to watch
the whole volume. Kernel part follows.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 00:49:20 +00:00
Axel Dörfler
32c2214392 * The shrink/zoom to window options aren't available anymore from the context
menu. I plan to allow zooming always, so they won't be needed that often
  anymore.
* Removed all selection copy/move/cut code. This just doesn't belong into an
  image viewer.
* Selections are now changed using the tertiary mouse button, or when you press
  the command or control modifiers. Instead, the image will now be moved around
  with the left button.
* If you drop an image file to ShowImage, it will now open it instead of pasting
  it as selection.
* Reworked the scrolling/selection code to never poll, and never use GetMouse().
  Instead properly use the asynchronous API (ie. B_NO_POINTER_HISTORY).
* I plan to remove the scaling code as well: the results aren't as good as they
  could be (bilinear scaling isn't the solution for everything), and the
  interface is pretty awkward, anyway. IMO, this kind of functionality should
  be left to apps that are actually thought for image editing. Another solution
  would be a Tracker add-on that resizes (multiple) images.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 23:50:41 +00:00
Matt Madia
8970db2138 As DoCatalogs requires a signature, updated this invocation to use the MIME
signature of x-be-bitmap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 23:35:08 +00:00
Matt Madia
e33eccb7bd Fixed some B_TRANSLATE_CONTEXT redefinition warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 23:31:58 +00:00