Commit Graph

37892 Commits

Author SHA1 Message Date
Philippe Houdoin
c2a14a1a85 Can't use static const PREF_*_COLOR keys for translation.
Revert to literals for color menu items which needs, them, being localized.
Add missing source files to DoCatalogs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 19:22:49 +00:00
Philippe Houdoin
d70708127f Localize some forgotten strings spotted by diver.
Fix #6375.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 18:18:56 +00:00
Philippe Houdoin
f27dcfe07b Fix #6763, using _SIZEOF_ADDR_IFREQ() macro.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 11:35:53 +00:00
Philippe Houdoin
42bd140546 Fix _SIZEOF_ADDR_IFREQ() macro definition: there is no ifreq type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 11:33:00 +00:00
Clemens Zeidler
fd5a5935a7 As suggested by Jérôme remove one level of indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 19:33:16 +00:00
Stephan Aßmus
d277bc8294 Since the function keys don't serve any purpose yet, make F2 enter renaming
mode for the first selected item (i.e. just like Cmd-E). This makes Tracker
behave as Windows Explorer and at least Nautilus in Ubuntu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 19:15:57 +00:00
Matt Madia
ad271e2f3e Added OverlayImage to the default image as a Demo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 17:40:50 +00:00
Stephan Aßmus
ea8a421c0c Run the AddOnManager after having loaded add-ons on the InputServer
thread. After fixing the internal locking of AddOnMonitorHandler in
r38235, running the AddOnManager before scanning add-ons could lead
to a dead-lock in case devices appeared while the input_server was
still initializing. This hopefully fixes #6760 and possibly also
#6819. I've tested in both qemu and on real hardware (quad-core with
3 mice, one tablet and 3 keyboards connected). I've also tested
hot-plugging devices, which still works as expected. The problem may
have already been fixed in the preceding changeset, by elliminating
an extra involved looper. Since node monitor messages were actually
received on the wrong looper, using the looper lock in AddOnManager
did not have the intended effects.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 15:10:50 +00:00
Stephan Aßmus
509a3787b1 Eliminate the second add-on monitor looper by inheriting AddOnManger
from AddOnMonitor. This solves a concurrency problem in the AddOnMonitorHandler
implementation which called into AddOnManager private methods on the wrong
looper thread without locking. Would have corrupted memory when unplugging
input devices during input_server initialization (so normally not encountered).
The code paths for adding devices were locking already, since those can be
called from other threads as well and this was anticipated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 15:03:11 +00:00
Stephan Aßmus
445751e17a Refactored AddOnMonitor to allow an alternative constructor which does not
yet take the AddOnMonitorHandler (and also does not Run() the looper
automatically). Added SetHandler() method which allows to set the handler
afterward. Does not require updates in existing clients.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 14:59:27 +00:00
Matt Madia
a906d0a031 Added support for OptionalLibPackages to installoptionalpackage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 14:20:58 +00:00
Matt Madia
49c928a9c9 Updated baseSourceURL. Should have been part of r39552.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 14:11:25 +00:00
Matt Madia
2c9a0aae32 Added some updates to hey documentation, for 1.2.6 --> 1.2.8 changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 13:05:17 +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
Stephan Aßmus
1f1db8cf7e Brought the public methods in declaration order.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 11:54:38 +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
Clemens Zeidler
35d62b2c40 Patch by Alexander von Gluck. Detect not-present / empty batteries. Fix #6952.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 00:48:56 +00:00
Clemens Zeidler
b8891e5123 Apply patch by Alexander von Gluck. Fix #6951.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 00:41:53 +00:00
Matt Madia
b0a8d13338 Move icon_guidelines/ to docs/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 20:18:59 +00:00
Matt Madia
eaf4813523 Applied the svn property mime-type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 20:06:42 +00:00
Matt Madia
a808a05c2d Added a small utility script, to set the svn properties on html files.
This should be run whenever changes are made to HAIKU_TOP docs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 20:01:00 +00:00
Joachim Seemer
173ed09251 Changed wording of installation alert again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 19:42:58 +00:00
Joachim Seemer
7cf8a711bc Changed wording of installation alert.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 19:27:38 +00:00
Joachim Seemer
2832971641 Changed wording of installation alert.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 19:27:21 +00:00
Joachim Seemer
bcbc6fda31 Updated user guide.
* Added Maciej Baluta's GCI work on NetworkStatus, PowerStatus and
  ProcessController with only minor changes.
* Created a page for Daniel Marth's GCI work, based on the wiki page at
  https://dev.haiku-os.org/wiki/SystemBinCommands
* Updated translations mostly for Japanese and Italian from the currently 
  running GCI tasks.

Thanks everyone!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 19:04:43 +00:00
Rene Gollent
17e54d27dc r39419 accidentally introduced an additional local variable that shadowed the one used to return errors from _LaunchApp. This had the net effect that errors were never returned correctly.
Fixes #6956.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 16:55:57 +00:00
Axel Dörfler
04f8af7bf9 * net_protocol::bind() needs to set the socket's address. This now gives
the correct sender MAC address in outgoing link level packets.
* SocketStatus() now also works correctly for bound protocols, ie. receiving
  data from a bound link level socket is now working as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 14:33:02 +00:00
Axel Dörfler
341056ce05 * Sending data required sockaddr_dl addresses without an interface name; it can
now deal with any sockaddr_dl as one would expect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 14:30:10 +00:00
Axel Dörfler
7c10ef0cf9 * Implemented a new test program for AF_LINK level sockets based on udp_echo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-04 14:27:34 +00:00
Siarzhuk Zharski
a25f37e7b2 Yet another portion of Belarusian localization files made by Mishuk Bulosh
as GCI "Belarusian localization F-N" task.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-03 21:45:09 +00:00
Philippe Houdoin
b7d73f97ee 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
2010-12-03 14:49:29 +00:00
Philippe Houdoin
76108fd7a5 Rework a bit displayed info: now transport "address" is shown too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-03 14:10:59 +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
Clemens Zeidler
b7a1df8004 Using the darken highlight colour approach.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-03 04:01:21 +00:00
Clemens Zeidler
f149f7aa88 If a window is removed from a group by the user make sure that the window is under the mouse cursor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-03 02:29:13 +00:00
Clemens Zeidler
92998b409f Take the window when dragging the window and switching the workspace using the cmd + F1-12. Thanks Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 22:04:10 +00:00
Philippe Houdoin
dd1ebc6885 In Humdinger-resize mode, don't fall back to drag action when the window is not resizable.
Just do nothing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 22:01:41 +00:00
Clemens Zeidler
946c6e2d9a Just a very slight improvement of the S&T highlight colour. Change it from red to a more descent greenish. Think the border colour is acceptable but the highlighted tab still looks awful. Feel free to improve it!
By the way, is there a pattern how to select the colours?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 21:05:46 +00:00
Clemens Zeidler
dc2dd40caa Fix #6925 and #6935.
- If the event window was set the window was moved also if the moveFocusWindow flag was not set.
- Use ProcessDirtyRegion to redraw the dirty region.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 20:51:38 +00:00
Adrien Destugues
15352f8de6 Fix missing \fn.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 18:40:15 +00:00
Philippe Houdoin
8490a52529 Added some resizable checks that were missing.
Now, borders that can be resize are not highlight anymore,
and it's no more possible to resize a non-resizable
(vertical/horizontal/all directions) window with the third button + CMD + ALT.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 18:12:18 +00:00
Rene Gollent
9119091a71 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 16:09:12 +00:00
Rene Gollent
f07f493d26 When unwinding the stack frame, correctly account for the number of
bytes of augmentation data that were skipped. Fixes some of the problems 
seen with, e.g. StyledEdit in the Debugger, though it doesn't help 
explain the corresponding problems seen with gdb as well.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 14:22:36 +00:00
Clemens Zeidler
ac701f7e7b Only highlight the adjacent borders when tile them.
Simplify Decorator highlighting code. Thanks Ingo for the hard part done in the previous highlight changes!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 02:33:36 +00:00
Clemens Zeidler
a54ffcd265 Don't redraw decorator region if the highlight colour has not changed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 00:58:39 +00:00
Gerasim Troeglazov
0d2c294fa1 Update libntfs to ntfs-3g-2010.10.2. Preparing for future updates through the vendor branch. New api(libntfs) fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 22:05:42 +00:00
Clemens Zeidler
8ce987787a Fix #6919. Enable / disable revert and default button at the right time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 20:43:31 +00:00
Adrien Destugues
01c2a7f38f Some inprovements suggested by Stippi and tqh. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 20:12:28 +00:00