Michael Lotz
626e25b19e
Remove the apostrophe as pointed out by Urias.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-23 22:03:08 +00:00
Michael Lotz
3a8bae7cf2
Fix a typo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-23 21:45:17 +00:00
Oliver Tappe
b27cf34dc1
Close #6969 (warning about redundant declarations):
...
* drop function declarations from wctype.h which are already in wchar.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-21 23:13:47 +00:00
Stephan Aßmus
b6ec842de4
Patch by x-ist from ticket #6115 :
...
* A lot of HID definitions got extracted from USB_hid.h into their
own files. Many more definitions have been added from the specs.
* The names have been moved into the proper B_* namspace.
* The USB hid driver has been adapted for the changes.
Thanks a lot and sorry for the delay!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 20:23:56 +00:00
Ingo Weinhold
d23cadce4c
[_{kern,user}_]{start,stop}_system_watching()
...
-> [_{kern,user}_]{start,stop}_watching_system()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 17:01:23 +00:00
Ingo Weinhold
756b64fd83
* Removed the obsolescent [B]Reference[able] API and replaced the remaining
...
uses. Fixes the gcc 2 acpi build.
* Renamed WeakReferenceable::{Add,Remove}Reference() to
{Acquire,Release}Reference() for consistency.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 16:35:42 +00:00
Ingo Weinhold
88e38c178a
Replace uses of obsolescent BReference[able] API.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 14:29:37 +00:00
Ingo Weinhold
d2bf328d72
Implemented a generic system watching mechanism with a userland API. Currently
...
only a few events can be watched (team creation/deletion/exec, thread creation/
deletion/name changes). The functions start_system_watching()/
stop_system_watching start/stop watching events.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 01:49:52 +00:00
Ingo Weinhold
4ebc8f615d
* Added a "name changed" notification to the thread notification service.
...
* Added a "team" field to the notification events.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 01:44:15 +00:00
Ingo Weinhold
2d8d1cdbaa
* Implemented a generic way to associate data with a team which is
...
automatically cleaned up when the team is deleted: Class AssociatedData is
the base class for a data item, AssociatedDataOwner a container for them
(struct team derives from it). Functions team_associate_data() and
team_dissociate_data() add/remove data.
* Turned sTeamHash into a BOpenHashTable (necessary since struct team is no
longer a POD).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 01:15:35 +00:00
Ingo Weinhold
eeecbf6fb8
The header is no longer included from pure C sources, so we can finally freely
...
use C++.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-15 23:18:13 +00:00
Axel Dörfler
98e25dc3f9
* The net_server now tries to join the network via wpa_supplicant, if available.
...
* Add some output when automatically joining a network.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-14 20:22:18 +00:00
Rene Gollent
27a115f668
Revert r39846 and r39847.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-14 17:55:38 +00:00
Rene Gollent
7040b50df5
Add support for thread rename and priority change notifications to the
...
debugger API/message set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-14 05:08:47 +00:00
Rene Gollent
6cdfe5505c
Add write counterparts to debug_read_memory/debug_read_memory_partial.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-13 23:27:59 +00:00
Clemens Zeidler
f108cdbfab
Merge all linear programming types in one file an rename them.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-13 19:23:33 +00:00
Clemens Zeidler
5440f6fee3
Refactor the linear programming class to use a minimal solver interface class and implement the interface for lp_solve. As a result lp_solve is not visible to the outside any more. This interface could be used to use other solvers as well. Rename operator constants to no clash with lp_solve constants.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-13 18:41:58 +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
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
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
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
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
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
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
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
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
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
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
Axel Dörfler
1d8e6ee862
* Untested work-in-progress. Actually cannot work because of missing
...
functionality in BNetworkAddress.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 21:22:25 +00:00
Jérôme Duval
4264efcc6b
* added definitions for SCSI_OP_VARIABLE_LENGTH_CDB, SCSI_SAI_READ_LONG and SCSI_SAO_WRITE_LONG
...
* cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 18:45:53 +00:00
Clemens Zeidler
510c618b96
gcc2 don't like INFINITY. Fix the build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 03:35:15 +00:00
Clemens Zeidler
067f47a3ee
Move lp_solve dependency completely into LinearSpec. Clean up and some more memory allocation checks.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 02:08:10 +00:00
Clemens Zeidler
e7de22dcff
fUsingSummands was never used so remove it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 21:08:26 +00:00
Axel Dörfler
e6cec9839d
* BNetworkAddress isn't really BArchivable material, switched to BFlattenable
...
instead.
* Also actually implemented the serializing functionality this time, as usual
completely untested, though :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 20:29:37 +00:00
Axel Dörfler
8bbce28359
* Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 19:39:13 +00:00
François Revol
917c4aeb8d
ISO C and POSIX mandate _Exit() in stdlib.h to be the same as _exit().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 05:07:53 +00:00
Jérôme Duval
8f9cef36d1
added missing prototypes and moved some around.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-27 00:07:33 +00:00
Adrien Destugues
a8e3ab4f46
Enable the VBlank interrupt on pipe B for LVDS panels. This gets it working for me. Most stuff using BDirectWindowand synced drawing should now work better (\n and TVBack demos for example)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 20:36:40 +00:00
Ingo Weinhold
07655104d5
Eliminated _acquire_spinlock(). Since the macro is defined after
...
acquire_spinlock_inline(), there's actually no undesired recursion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 13:55:20 +00:00
Ingo Weinhold
c07db2ec3f
* elf_find_symbol(): Skip undefined symbols and symbols with the wrong binding.
...
* Implemented missing handling of symbolically linked images and of weak
symbols.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 13:32:24 +00:00
Clemens Zeidler
c97cd0f4da
Also update the preferred size constraints correctly when replacing the tabs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 04:33:06 +00:00
Clemens Zeidler
8fa4fd37b7
Keep the preferred size ratio into account. This make layout behaviour much more intuitive when resizing a window. Thanks Christof.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 04:20:38 +00:00
Jérôme Duval
93ca791b70
* added math.h missing prototypes like log2f. This fixes #6802 .
...
* whitespace cleanup and renamed log2() to radeon_log2 (conflicts with log2 in math.h)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-24 23:42:17 +00:00
Axel Dörfler
e3feb1f8af
* Added a new AS_DUMP_BITMAPS command.
...
* Extended app_server_debug command to be able to send it, too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:50:12 +00:00
Axel Dörfler
60fed7e077
* Moved the shared part of NetServer.h into a new private header.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:44:37 +00:00
Axel Dörfler
2bd61a6f33
* Added Index() method, was not even declared yet.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:04:19 +00:00
Axel Dörfler
2087545cc0
* Added methods to manipulate routes.
...
* Added AutoConfigure() method.
* Implemented missing Index() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:03:11 +00:00
Axel Dörfler
2977e7888f
* Added alternatives to AddInterface()/RemoveInterface() that take the name
...
of the interface instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:01:19 +00:00