Commit Graph

37723 Commits

Author SHA1 Message Date
Axel Dörfler c9761e828d * Now you can specify the network via MAC address as well using the new
BNetworkAddress link address parser.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 00:07:26 +00:00
Axel Dörfler 8faecc1d5e * Added ability to parse link level addresses.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 00:06:45 +00:00
Axel Dörfler d5a09773bf * Fixed size of sdl_type/sdl_e_type, the former is only a uint8, and the latter
a uint16.
* sdl_e_type is stored in network order now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 23:42:47 +00:00
Axel Dörfler 54490bbd50 * sockaddr_dl::sdl_e_type is now always stored in network order.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 23:42:34 +00:00
Axel Dörfler 2cae3e8847 * SIOCGIFMEDIA now also works on the AF_LINK level.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 23:35:45 +00:00
Axel Dörfler 8cc57b8b81 * Added a small test application for the WLAN part of the BNetworkDevice.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 22:56:38 +00:00
Axel Dörfler 440d0e61e8 * Pretty much completed BNetworkDevice. The only parts missing are GetMediaAt(),
and parsing the extra station data to retrieve the authentication details.
  Comments welcome.
* NetworkStatus should now mark the currently associated network (if any).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 22:55:57 +00:00
Clemens Zeidler 6f61f09f4d Move S&T group switching shortcut to cmd + option + arrow up/down.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 22:25:44 +00:00
Philippe Houdoin 99aaa8c1fd Fix a typo spotted by Karvjorm. Thanks.
This close #6971.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 20:36:16 +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
Philippe Houdoin bb2628f421 The "OK" button was not localized. Spotted by Adrien, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 18:41:16 +00:00
Ingo Weinhold 078e1762a3 AddOnManager::MessageReceived(): ERROR() -> TRACE()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 18:34:54 +00:00
Philippe Houdoin 4840a72fa7 Localized, part of a GCI task (thanks protonux)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 18:10:09 +00:00
Oliver Ruiz Dorantes cdd9fd4da1 Styling from GCI task
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 17:40:29 +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 Lotz 9028c687fb That one slipped by in the last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-08 00:49:22 +00:00
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