Commit Graph

37896 Commits

Author SHA1 Message Date
Philippe Houdoin
dfc6cf0159 Reworked TrashMonitor to watch actual trash folder(s).
It was still monitoring /boot/home/Desktop/Trash folder,
which don't exists anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 13:53:43 +00:00
Philippe Houdoin
021ddf0c3b Use BMimeType to compare type instead of doing it ourself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 11:19:15 +00:00
Michael Pfeiffer
df60b3d51b * Use case insensitive compare method for MIME type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 10:59:40 +00:00
Michael Pfeiffer
b13a0d5d32 * Bug fixed: WriteSpoolData didn't pass data to
transport add-on because ";" was missing after
  "return" statement.
* Removed unused getter methods from class GraphicsDriver.
* Implemented page rotation (closes #6965) in landscape.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 10:47:19 +00:00
Philippe Houdoin
56ee7ad5f5 Fix gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 08:35:35 +00:00
Michael Pfeiffer
331c922016 * Renamed method PrinterCap::IsSupport() to Supports().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 07:26:14 +00:00
Rene Gollent
a4943027ae ValueLocation::SetTo() normally tries to resolve size and offset differences
versus the passed in base location. In the case of a union we don't
want this behavior since all members start at offset 0. Fixes union values
showing up incorrectly in various circumstances.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-10 01:02:04 +00:00
Axel Dörfler
2e1a62865f NetworkStatus now joins a network when you select one. If you need a password,
you need to have it configured in your "interfaces" settings file. This could
look like this:
	network my-ssid-name {
		authentication wep
		password gurkensalat
	}

Of course, the cleartext password will go away in the future.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 23:56:22 +00:00
Rene Gollent
2f9d5a5aa6 Extend ValueLoader::LoadStringValue() to accept a max length
parameter. When a CStringValue is representing an array, use
the array's length to limit how many bytes we read.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 23:45:13 +00:00
Axel Dörfler
72a249a942 * Added some authentication config stuff to the settings. Now you can override
the detected defaults with your own values.
* Implemented joining open and WEP networks - this is pretty much untested,
  though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 23:44:36 +00:00
Axel Dörfler
0a8ad865de * Implemented operator<() for AF_LINK addresses as well; now NetworkStatus
actually marks the currently associated network.
* Removed unused code from NetworkDevice.cpp - doesn't look like we're going
  to use it anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 23:42:19 +00:00
Axel Dörfler
c416526666 * Parse the additional information elements the station sends in order to
retrieve the WLAN cipher/key configuration. Might not work perfectly yet; so
  far I've only seen WPA2, and WPA networks.
* Have wlan_test show this extra info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 22:33:34 +00:00
François Revol
5f5d09f948 Port pc_serial to the new tty module.
Builds but won't work because the tty module lacks essential calls to read and write data :^)
Lots of ifdef since I need the R5 code around for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 16:47:49 +00:00
Philippe Houdoin
5efc1f3d21 Force blackness view only when no saver was found. This fix pseudo-saver Blackness
that was broken by previous change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 15:50:25 +00:00
Philippe Houdoin
7f45fe0b3e The window was blank, making any screensaver drawing over
the desktop drawing over a black screen...
Blackness pseudo screensaver will be fixing next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 15:36:13 +00:00
Philippe Houdoin
911ddeca31 Fix gcc4 (and possibly ppc) build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 09:02:41 +00:00
Philippe Houdoin
6f14f6ac33 Fix gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 07:17:54 +00:00
Rene Gollent
942fed9fa3 Make sure we only try to handle the final dimension of the array
and not any intermediate ones in the case of a multidimensional character
array.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 04:30:33 +00:00
Rene Gollent
eb756d4264 Modify the CString type/value handlers to accept character arrays as well as
character pointers.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 04:28:10 +00:00
François Revol
b77aa0155d Fix gcc4 build:
- use new(std::nothrow) from <new> since we dropped kernel_cpp.h,
- fix "declared 'extern' and later 'static'" warning,
- fix "deprecated conversion from string constant to 'char*'" warning in tracing code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 00:40:25 +00:00
Axel Dörfler
0bf128487a * Work in progress of WLAN support in the net_server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 00:11:15 +00:00
Axel Dörfler
f76ac72459 * Fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 00:09:51 +00:00
Axel Dörfler
138cfe065f * Changed IFM_GMASK to the same value as in FreeBSD.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-09 00:09:00 +00:00
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