Commit Graph

37956 Commits

Author SHA1 Message Date
Michael Lotz
95fe58a78d Clean out backwards compatibility cruft, local copy of USB header, packageing
rules and support files that don't really apply anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 00:44:10 +00:00
Michael Lotz
b994a18508 Port of usb_serial to the generic tty module. I don't remember exactly if or how
well this was working, but since it was non-functional on Haiku anyway this
shouldn't hurt.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 00:32:24 +00:00
Michael Lotz
503233ca7d * Remove a line of useless or-ing the same values on the variable.
* Try setting FTDI line state (I think)...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 00:29:12 +00:00
Michael Lotz
91bcf08ee5 Adding a generic tty module based largely on the tty driver. This has a new API
and doesn't come with BeOS backwards compatibility. It also has the BeOS
compatibility ioctl ops removed and such. I've actually made this back in april,
so I don't really remember any more details.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 00:24:12 +00:00
Michael Lotz
deb25b1cc2 Add a few commonly used macros for line state setting/getting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 00:11:01 +00:00
Jérôme Duval
5d74aab80a added mime type for ttf files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-07 23:44:51 +00:00
Axel Dörfler
b756a58254 * Getting the device media now actually works as intended.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-07 19:59:18 +00:00
Rene Gollent
c65d3d305d Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-07 13:34:19 +00:00
Philippe Houdoin
98dcc2e8a1 Most useless cosmetic change. Ever.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-07 10:21:19 +00:00
Rene Gollent
abd313a55c When parsing the CIE, the offset being passed to _ParseFrameInfoInstructions() was not taking the initial CIE offset into account. This led to completely the wrong instructions being parsed, which in turn resulted in stack frames for some functions failing to unwind correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-07 00:06:55 +00:00
Rene Gollent
5f0c5d527c Dump CIE offset in hex format so as to be more readily comparable with the offsets presented by readelf.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 23:58:48 +00:00
Rene Gollent
558028c0e6 Also dump the name of the function to which the current call frame belongs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 23:33:07 +00:00
Clemens Zeidler
83cdf43f09 - Give the option for the desktop listener to "absorb" key events.
- Make the S&T groups navigateable by pressing the S&T key + arrow down/up. Arrow down means to send the active S&T group to the bottom. Arrow up means to rise the bottom S&T group to the front. If no S&T group is selected, in both cases the front-most S&T group is activated.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 23:15:15 +00:00
Clemens Zeidler
d8db8216de Correctly check if the mouse has been on the tab.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-06 19:31:11 +00:00
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