Commit Graph

28376 Commits

Author SHA1 Message Date
Karsten Heimrich
82d2e399b4 * port of known OSX screensaver done by Calum Robinson called Flurry (the default one on OSX)
* add to build but not to the image since

 - misses some configuration stuff
 - does not look as good as it could be because of missing double buffering
 - does crash screen_blanker on hide (as all GL screensaver did that i tested)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:49:41 +00:00
Karsten Heimrich
ea1bae881b * fix wrong date diff calculation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:40:40 +00:00
Stephan Aßmus
681c2e4425 The button and menu field draw routines take a background color into account,
which makes the resessed frame blend better with the surroundings. This can
be seen best in Keymap, where a different color is set on some buttons, but
the resessed frame should still be the same across all those buttons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:34:19 +00:00
Ingo Weinhold
cd4ee847c4 * Added support for symlink and directory creation, as well as entry deletion
(directories and other nodes).
* Removed methods we can't possibly implement, since the FUSE interface doesn't
  provide them and we can't emulate them.
* A FUSEEntry does now also own a reference to its parent directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:33:18 +00:00
Axel Dörfler
0a39e39616 * Add capability to load other keyboard layouts from disk. It even works :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:11:18 +00:00
Karsten Heimrich
c26731ec52 * add default constructor
* fix broken Time_t function
* take the missing days into account when adding months



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 22:31:11 +00:00
Axel Dörfler
a869d32e0c * The L-shaped "enter" key can now also be drawn almost right (uses
BControlLook plus some clipping to do its magic).
* Fixed scancode only mode of the keyboard layout view.
* Fixed filter thanks to Rene.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 22:25:07 +00:00
Axel Dörfler
c31467186f * Added IBM Laptop international keyboard layout.
* Added LEDs to the 105-key internal one.
* Always choose the variable with the longest matching name instead of the
  first.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 22:22:59 +00:00
Jérôme Duval
4acbaafd89 * added help for image KDL command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 21:05:06 +00:00
Karsten Heimrich
09fde55c7f * revert r29708, need to change some more stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 21:03:21 +00:00
Karsten Heimrich
6d585c1cb0 * fixed broken Time_t since i changed BDate to be able to go back before 1970
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 20:49:46 +00:00
Jérôme Duval
934e233b60 * don't copy /var (bug #3584)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 20:42:35 +00:00
Axel Dörfler
3c394ad89e * Added support for LED status indicators.
* The look isn't perfect yet, but well; improvements welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 17:49:46 +00:00
Axel Dörfler
495c8b848b * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 16:44:54 +00:00
Axel Dörfler
84e80da081 * The default drag&drop action is now copy, if you drag with the second mouse
button, you switch the keys.
* Switching the same key with different modifiers held works now.
* The drop target is now reevaluated when a modifier key is pressed, as the
  key originating the drag cannot be its target (but only with the same
  modifiers pressed).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 16:05:00 +00:00
Axel Dörfler
477f84638b * SetKey() now supports changing the fChars array and the key_map offsets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 16:02:39 +00:00
Axel Dörfler
6aa7b63552 * The message filter now does not do anything anymore when the source keymap
matches his own (field now added to the KeyboardLayoutView fake B_KEY_DOWN
  messages).
* The default action for keyboard to keyboard drag&drop is to switch the keys
  now.
* When a key is overwritten by a drop, the old key is now sent to the text
  view, so that it's not lost (if that was a mistake you can now easily revert
  it without having to press the "Revert" button and lose all changes).
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 15:14:23 +00:00
Stephan Aßmus
0699a8833e Sorry, this fixes the build. I accidentally commited headers/os/interface
instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 14:53:10 +00:00
Axel Dörfler
53f936a0a7 * The Keymap now has a listener mechanism for changes.
* If the current Keymap is changed, the selection and use/revert buttons now
  actually work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 14:43:21 +00:00
Axel Dörfler
be09c2a190 * Now handles dead keys via the mouse as well.
* Added _InvalidateKey() variant.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 14:42:10 +00:00
Axel Dörfler
6b9767aa8a * The text control is now back - instead of overwriting BTextView::KeyDown(),
we now use a plain BTextControl, and a custom message filter. For some reason,
  BHandler::AddFilter() does not work, though, this needs some investigation.
* Enabled the font menu again, the font in the text control is changed as well.
* Made the default window size a bit smaller on large screens.
* Scrolling to the selection does not seem to work before Show() - looks like
  a bug in the layout implementation.
* Moved some methods around to match their declaration order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 13:52:54 +00:00
Axel Dörfler
53c926befb * Added the ability to set a target that will receive fake B_KEY_DOWN
messages generated when pressing the keys.
* The font size is now adapted to match the key size better, maximum size is
  the current plain font.
* The keys you drag around now generate a useful B_MIME_DATA message, that other
  views can accept as well.
* Implemented support for changing the keymap via drag&drop.
* Added SetFont() method to change the font used by the keys.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 13:46:09 +00:00
Axel Dörfler
d66f475749 * Forgot to implement DefaultKeySize().
* Renamed default keymap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 13:41:33 +00:00
Axel Dörfler
6835544f8f * Started implementing a SetKey() function to change the current keymap;
right now, it can only replace keys with the same mapped length.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 13:34:59 +00:00
Stephan Aßmus
a62f575a80 BuyNow was renamed to DebugNow... sorry about forgetting HaikuImage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 11:41:58 +00:00
Stephan Aßmus
7aa46bb66b Changing BuyNow to DebugNow (part 2 of 2).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 11:40:26 +00:00
Stephan Aßmus
0f7b37bb12 Changed BuyNow to DebugNow (part 1 of 2).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 11:39:16 +00:00
Stephan Aßmus
94e66d170f Fixed recently introduced regressions with layouted BMenuFields. When passing
fixedSize=true to the private BMenuBar class, it would set the follow mode
in AttachedToWindow() such that BMenu would calculate the minimum width
differently. Also fixes ticket #3606.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 10:54:24 +00:00
Stephan Aßmus
fdfeaa4eec Small code simplifications. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 10:52:01 +00:00
Ingo Weinhold
d16ba4b957 Added support for O_TRUNC, file creation, and writing to files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 01:07:00 +00:00
Stephan Aßmus
2ce5b17258 Fix case label coding style violations...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 00:02:20 +00:00
Ingo Weinhold
fde6bf44b1 * Preparations for write support: Added a locking to the existing hooks. We
need to make sure that the paths of nodes don't change while we're meddling
  with them. We read-lock the directories up to the root directory for that
  purpose.
* Added missing locking for directory and attribute directory cookies.
  We have to do that, since concurrent readdir()s on the same dir handle are
  possible and we write-access the cookie data in such a case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 23:21:01 +00:00
Ingo Weinhold
474d27da32 Added RWLockable and RWLockManager classes. The former is basically a
light-weight read-write lock, that doesn't use a semaphore itself. Locking
and unlocking has to be done via methods of RWLockManager. This combo allows
lots of locks without risking to hit the semaphore limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 23:13:56 +00:00
Ingo Weinhold
a3ff5c0561 * Added missing inclusion of <stddef.h>.
* Added AutoLocker constructor with the locking strategy as parameter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 23:09:49 +00:00
Axel Dörfler
e4aad26fec * While the new stuff isn't really ready for prime time, I've switched over
to it now (also to get some comments). It already looks better than the old
  one, at least.
* The KeymapWindow is now using our layout engine.
* Removed the old MapView.
* Do you think the text view is necessary? And the ability to switch the font?
  (I've removed both for now, comments welcome)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 22:12:31 +00:00
Axel Dörfler
13975ae8b8 Another work-in-progress commit:
* Started working on dragging keys around.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 22:09:37 +00:00
Oliver Ruiz Dorantes
52e3ce2c74 Mika Lindqvist & me
- Add Handling for MaxSlotChange
- Many Styling and consistency
- Debug output improved


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 21:45:23 +00:00
Oliver Ruiz Dorantes
131b93231a Add string with mtu and max packets the device can hold
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 21:27:53 +00:00
Oliver Ruiz Dorantes
8dc33083e8 Patch by Joerg Meyer
- Confirm some Broadcom will need a reset to work properly
- Add Bluetooth 2.1 strings for getLocalversion
- Styling



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 21:22:48 +00:00
Ingo Weinhold
5efbbbe0fa Missing space between Firefox and LibLayout. Spotted by "sarmale".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 18:29:13 +00:00
Axel Dörfler
84b784b43d * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 17:54:22 +00:00
Stephan Aßmus
62b9a2ce0e * Header cleanup.
* Removed dead code which was for drawing a BButton like R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 13:26:56 +00:00
Stephan Aßmus
3d7e16f849 Updated Copyright.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 12:40:43 +00:00
Stephan Aßmus
8395cc347e Removed Windows line breaks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 12:40:24 +00:00
Stephan Aßmus
87854b4cfc * Fixed the space below the logo.
* Align the title with the logo base line.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 12:39:51 +00:00
Stephan Aßmus
f7335ab6ed Coding style cleanup, no functional change. Hopefully. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 11:22:35 +00:00
Axel Dörfler
8ba65ba1b4 * Another work-in-progress commit: added dead key handling, started mouse
interaction, draw symbols differently.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 09:45:32 +00:00
Axel Dörfler
193882e035 * More cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 09:43:39 +00:00
Oliver Ruiz Dorantes
0b5931e024 - Implement client side of previous commit
- Add name for all vendor commands


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-23 23:10:21 +00:00
Oliver Ruiz Dorantes
dd5df90570 - Remove size output parameter creating commands
- Add support for reading the size of internals buffers of the bt chips
- Add support for Resetting the Device
- Add broadcom vendor command fro writting the bdaddr
- clean up the debug output



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-23 23:07:07 +00:00