Stefano Ceccherini
2e77a03d92
Add a test app for the hpet driver (which I'll commit later)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-13 08:16:45 +00:00
Axel Dörfler
f6e59c500a
* Minor work in progress of getting the test to run again. Never found the time
...
to complete it, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-09 18:35:39 +00:00
Axel Dörfler
f74afb8218
* This makes our app_server test_environment work again under Haiku.
...
* A small quiz for our build system gurus: if I just add libbe_test to
liblinprog.a, I can't build the normal app_server anymore (only in the test
environment). Why is that? And who's going to fix it? :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-30 00:00:56 +00:00
Axel Dörfler
f9a7bd8e55
* install-test-apps is now running through again.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-29 23:19:49 +00:00
Axel Dörfler
1277618594
* This should fix building the app_server test environment again (couldn't test
...
yet, as my Haiku version is too old already).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-29 22:51:03 +00:00
Oliver Tappe
56a2d99762
* add tests for BString that expose a problem in the looping Replace() implementations
...
on single chars
* automatic whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-23 19:55:46 +00:00
Oliver Tappe
3dfd9cb95c
Flat commit of all changes from package-management branch in svn
2011-07-17 16:54:06 +02:00
Clemens Zeidler
0a24883020
Fix linprog tests and add some more smaller test cases.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 07:19:30 +00:00
Michael Lotz
716e16d4c3
Change the test frame type to something that differs depending on endianness so
...
that swapping issues as in r42357 can be detected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-01 21:33:42 +00:00
Alex Wilson
b0b8840701
Update LayoutTest1.cpp to use the templatized layout builders, and compile while I'm at it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-30 20:09:27 +00:00
Michael Lotz
051cb22a2a
Add serial_io, a simplistic BSerialPort based command line tool that prints what
...
it reads from the specified port and writes what gets input on stdin. It
currently hardcodes the basic setup of the serial port.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-12 20:40:33 +00:00
Ingo Weinhold
24df65921b
Merged signals-merge branch into trunk with the following changes:
...
* Reorganized the kernel locking related to threads and teams.
* We now discriminate correctly between process and thread signals. Signal
handlers have been moved to teams. Fixes #5679 .
* Implemented real-time signal support, including signal queuing, SA_SIGINFO
support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition
of the real-time signal range. Closes #1935 and #2695 .
* Gave SIGBUS a separate signal number. Fixes #6704 .
* Implemented <time.h> clock and timer support, and fixed/completed alarm() and
[set]itimer(). Closes #5682 .
* Implemented support for thread cancellation. Closes #5686 .
* Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554 .
* Lots over smaller more or less related changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-12 00:00:23 +00:00
Michael Lotz
660fe6bca9
* Make use of the new BJoystick::GetButtonValues() so any number of buttons can
...
be retrieved. I think the fixed layout will actually make it impossible to see
anything beyond the 9th button however... The coding style of this app is,
different, to say the least and I didn't really bother fixing it up right now,
so the changes just mimic what's there.
* Some automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-03 15:55:50 +00:00
Philippe Houdoin
258cffcde2
Fix gcc4 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-02 08:13:31 +00:00
Michael Lotz
f202fdc6ed
* Add Jamfiles to allow building the stickit sample code. It allows testing of
...
the BJoystick API and joystick drivers.
* Also fix a few warnings in the code that were caused by using NULL instead of
0 for BWindow/BView flags.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-31 02:33:28 +00:00
Clemens Zeidler
389f3fe159
Add a simple test just to check that the synchronous quit request does not crash.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 22:47:23 +00:00
Clemens Zeidler
806c3afaf6
Fix test app build and adjust the app path to the jam output directory.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 21:41:11 +00:00
Clemens Zeidler
bef39d09af
Make the app test suite partial compile again (gcc4). Commented out the cursor and message tests because I was not sure how to fix it. The UnitTester fails to load the addon, though. It can't get the symbol from the lib, any idea?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-28 07:16:21 +00:00
Ingo Weinhold
e5003582d1
Reverted r41727. Accidentally committed to wrong branch.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 00:46:11 +00:00
Ingo Weinhold
38894ae9a8
Fixed check. sigset() is supposed to return the previous signal disposition,
...
respectively SIG_HOLD, if the signal was blocked.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 00:41:57 +00:00
Oliver Tappe
6a5ce30120
Move functions declared in private/system/system_info.h out of the public namespace.
...
* prepend private functions get_system_info_etc(), start_watching_system() and
stop_watching_system() with '__'
* adjust callers accordingly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-15 17:02:36 +00:00
Alexander von Gluck IV
f63f06d62e
add InterfaceHardwareView which will show more general hardware information and give somewhere to configure wireless connection settings; add a few hardware calls to NetworkSettings, maybe we just want to pass back BNetworkDevice instead?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 18:04:34 +00:00
Alexander von Gluck IV
008779b3b4
added tool tips to IP address fields, BTRANSLATE comes later
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 17:46:23 +00:00
Clemens Zeidler
08444962ae
Interpret a year like 10 as 2010 and not as 1910 if the now time is near 2010. Add test case for that.
...
Should fix #7257 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 04:55:08 +00:00
Clemens Zeidler
5eb5a9be1a
Update table demo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:25:31 +00:00
Alexander von Gluck IV
5fb615a3b5
change Heal to Renegotiate for now as it is the most technically correct; add missing delete of fNetworkInterface from deconstructor; remove un-needed RemoveDefaultRoute as per Axel
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 23:31:11 +00:00
Alexander von Gluck IV
a991d18159
implement *basic* network interface Healing action; make fNetworkInterface a pointer so it actually works right
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 18:20:57 +00:00
Alexander von Gluck IV
a0a9cb5c21
remove right-click menu in InterfaceView; add FrameResized hook to invalidate to correct tearing right status text; Add heal button to renegotiate interface address.. this also balances the buttons on the bottom.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 22:20:23 +00:00
Stephan Aßmus
a498a54794
Don't hide the dragMessage parameter (which was unused). CID 5333.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:04:29 +00:00
Alexander von Gluck IV
b09a1ac2bd
small fix for multiple addons, need to track tabs for each add-on as well as overall number of tabs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 03:17:21 +00:00
Alexander von Gluck IV
df3ba0993e
fix static message names to remove abbreviation; add secondary click menu to InterfacesListView; make interface icon adjustable
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 23:10:56 +00:00
Oliver Tappe
e8226ce48d
* fix support for influencing tzset() via TZ environment variable
...
(now at least <std> and <offset> are supported properly)
* instead of creating a TimeZone object whenever needed, we now
create it in tzset() and keep it around
* add tests for TZ to locale_test
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 00:34:51 +00:00
Alexander von Gluck IV
f7008de829
change to kMsg style BMessage; introduce a new BMessage for listitem click events so I can implement a BPopUpMenu; style cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 22:21:21 +00:00
Alexander von Gluck IV
1b2142ff26
ignore loopback interface as we will not be configuring that one
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 17:26:28 +00:00
Alexander von Gluck IV
7ab22792c7
make network settings window save button send save call to all add-ons; set interface address via BNetworkInterface; still have work to do.. but we can apply ipv4/ipv6 ip/netmask changes to the interfaces now!!!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 16:58:09 +00:00
Stephan Aßmus
4153964a10
Moved IconUtils.h to Interface Kit and therefor made it an "official" header. Since the class has no
...
virtual but only static methods, it is not so likely that binary compatibility issues may arrise
from using it in new apps. Adjusted all the Jamfiles that included the private libicon headers. Note
that it was never necessary to link against libicon.a, since it's part of libbe anyway. There was one
instance where that was done. Hopefully it does not break the build, but I did this change a while ago,
tested it and then the harddrive began failing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 09:12:38 +00:00
Jérôme Duval
921aaaa1ed
the test now works as expected on Linux, and not on Haiku, it was broken before.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 17:28:42 +00:00
Alexander von Gluck IV
c9b05e5212
when loading addons, put them in a map so we can access them later easily; use addon instances stored in map and call Save/Revert for each through dynamic addon osmosis; little style cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 18:59:58 +00:00
Alexander von Gluck IV
cdd15f8478
style tab cleanup; start using classy kMsg style BMessage vars; no functional change
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 16:02:17 +00:00
Alexander von Gluck IV
80d265a95f
Impliment new struct for protocol information (friendlyname,present(working),inet AF number,socket id); Detect OS supported protocols; Draw tabs based on *working* OS protocols; make route ioctl calls ipv6 friendly (shudder); construct/deconstruct sockets based on supported protocols; no crashes! (8000 crashes later)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 02:48:48 +00:00
Alexander von Gluck IV
450a2dc7e4
make protocol selection more generic and easy to configure; this adds complexity but allows us to configure ipv4/ipv6 support from a single point.. now just have to figure out how to check for the presence of the IPv4 vs IPv6 network add-ons
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 16:19:43 +00:00
Alexander von Gluck IV
c81df02f40
start using std::map for address storage; as things are easier to store, return and set parameters in header; works great!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-19 17:03:21 +00:00
Axel Dörfler
ddf57b6cf6
* Reverted back to the original version of BNetworkAddress::SetAddress();
...
in_addr_t is now in network endian again. Thanks, Philippe!
* Made SetToLoopback(), and SetToLocal() a bit more useful (although the latter
isn't implemented yet).
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-18 21:09:21 +00:00
Jérôme Duval
d13211ac40
style cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-17 21:28:33 +00:00
Jérôme Duval
92e68ec1f8
added a simple test which seems to reproduce the bug encountered in jamvm
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-17 19:37:19 +00:00
Alexander von Gluck IV
0954523001
+ Implement functions to save address choices
...
(TODO: load address choices into array Addr[IF_INET|IF_INET6])
+ Implement SaveFields to save settings via BMessage
+ Make configuration window resizable in-case of expanded IPv6 address
+ Rename Apply button to "Save" as IP changes won't take effect
until Apply is pressed in main window. (prob needs some additional thought)
+ Updated BMessages to better match correct naming guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 23:53:14 +00:00
Alexander von Gluck IV
87d10c126f
change BMessages to be more friendly; change BView to BGroupView and use LayoutBuilder more efficiently
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 21:17:31 +00:00
Alexander von Gluck IV
c44a2a9a25
use grid layout builder
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 23:05:10 +00:00
Alexander von Gluck IV
8c3c490801
add a quick "None" option to the Address mode setting as proposed by DeadYak
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 21:34:00 +00:00
Alexander von Gluck IV
e7e0c4a4bf
radeon_hd: small style header style fixes as per axel-- networkSetup: prevented enable/disable button from hiding; disable configure button if interface is disabled; add configuration mode dropdown (auto(dhcp)/static); make address fields disable (with curent settings shown) if auto-config is selected; style cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 20:24:49 +00:00
Alexander von Gluck IV
415bb095f3
small bug fix; set Gateway to Gateway instead of Netmask to Gateway
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 17:31:19 +00:00
Alexander von Gluck IV
8332dfe78c
added gateway textbox and new NetworkSettings function to support; made address tabview accessible by BMessage handler to reload current settings (revert); renamed Cancel button to "Revert" (it verks!); small style fix thanks to Clemens
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 16:25:37 +00:00
Alexander von Gluck IV
f565d142b3
added BTextControls for IP address and Netmask configuration
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 00:04:27 +00:00
Alexander von Gluck IV
a1410c52e9
renamed classes and filenames as per recommendations on ML; Interface singular for interface config; Interfaces plural for overall views/windows dealing with lists of interfaces; avoid using generic terms and abbreviations
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 22:00:58 +00:00
Alexander von Gluck IV
ea23d8ecd6
no functional change/header cleanup; ensure new network preflet has correct Haiku, Inc identifier as per mmadia; correct questionable header within radeon_hd driver, gave credit to czeidler where it was due.. not perfect but better
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 21:25:24 +00:00
Alexander von Gluck IV
946b7d4387
added BView class to handle drawing IPv4/IPv6 interface configuration options
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 00:18:44 +00:00
Axel Dörfler
e06c0a1d50
* Added a test to check several BNetworkAddress::SetTo() variants - all pass
...
now since the last revision.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 22:50:13 +00:00
Axel Dörfler
bcab06b16d
* The test now runs through.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 22:48:24 +00:00
Alexander von Gluck IV
bd000a4a14
added initial interface settings dialog
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 22:31:49 +00:00
Alexander von Gluck IV
e51da86b61
check properly if the IP search was successful, else leave the address empty
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 20:29:19 +00:00
Axel Dörfler
bc235d9650
* The test should now actually work, however, it welcomes KDL for now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:45:15 +00:00
Axel Dörfler
135d98d622
* Forgot to add the test to the suite.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:40:27 +00:00
Axel Dörfler
ce9e476882
* Added basic test for BNetworkInterface - I did not run that one yet, though
...
(switching to Haiku now to change that).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:15:38 +00:00
Alexander von Gluck IV
9b533c387c
FindFirstAddress returns errno when there is no address matching your search
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 21:01:17 +00:00
Oliver Tappe
0d68f6afb3
Implemented repository writing:
...
* fleshed out RepositoryWriterImpl
* renamed BRepositoryHeader to BRepositoryInfo (in accordance with
BPackageInfo)
* adjusted BRepositoryInfo to be able to parse itself from a
driver_settings file
* added package_repo binary (only 'create' works as of yet)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 19:11:23 +00:00
Alexander von Gluck IV
f9ac5fc8f5
adjust function names as per axel; begin using BNetworkInterface; correct a misnamed resource id
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-08 22:20:13 +00:00
Alexander von Gluck IV
e9aa1e0581
quick style cleanup; no functional change
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-08 21:06:34 +00:00
Alexander von Gluck IV
1b4f0abf9d
Make NetworkSettings more friendly to network family (IPv4 and IPv6); Start using BNetworkAddress instead of BString for address storage; NetworkSettings will handle setting and reading current interface settings, please excuse the mess atm in NetworkSettings.h
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-08 17:47:39 +00:00
Alexander von Gluck IV
083fe63d0d
Break the Settings class away from the network Preference applet so It can be re-written without risk of breaking the current network preference applet; the InterfacesAddon is now autonomous
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-08 14:52:27 +00:00
Alexander von Gluck IV
7d4120244e
display cleanup to NetworkSetupWindow; revamped NetworkInterface addon to use GroupLayoutBuilder to properly render listview; remove lots of single character vars
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-07 06:48:37 +00:00
Alexander von Gluck IV
56b0a41b70
style cleanup of HVIF vars; make popcount work in gcc2; popcount will be removed once we access BNetworkAddress directly instead of through fSettings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-04 17:46:59 +00:00
Alexander von Gluck IV
17f4832496
quick typo fix to incorrect variable name
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-01 22:44:11 +00:00
Alexander von Gluck IV
e8988b8980
added small function to convert netmask to cidr; added customized overlay HVIF status icons to list view items thanks to NetworkStatus; code cleanup and reorganization
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-01 22:34:37 +00:00
Alexander von Gluck IV
e48e64ad64
style cleanup; no functional change
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-01 19:57:14 +00:00
Alexander von Gluck IV
8f25381cba
style cleanup; renamed ApplyNow button to Apply; removed strange dontTouchCheckBox
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-31 19:50:28 +00:00
Alexander von Gluck IV
81ebf127d0
repaired listbox, forgot to add bounds offset to each list item; style correction in NetworkSetup.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-30 16:53:31 +00:00
Alexander von Gluck IV
5115d9552b
renamed missed l var
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-30 16:52:19 +00:00
Alexander von Gluck IV
2ab028f7d4
style cleanup and tab correction; clean up single character vars
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-30 16:50:27 +00:00
Alexander von Gluck IV
83dbb57171
added *basic* ability for services addon to parse xinetd, now we can list active network services in the services view
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 20:36:01 +00:00
Alexander von Gluck IV
fbf800f60c
add rdef for services preference panel
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 16:01:44 +00:00
Alexander von Gluck IV
8422bd4a5e
style cleanup; added missing public source headers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 15:42:20 +00:00
Alexander von Gluck IV
28e96d8542
re-organize interface listitem drawing to be more efficent; move profile management button into profile drop-down
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 22:36:13 +00:00
Alexander von Gluck IV
f74b3ec2d0
clean up calculations of ListViewItem positions in Interfaces add-on; remove delete profile option which doesn't make sense
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 20:21:06 +00:00
Clemens Zeidler
550ffadf08
Add two more test, cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-27 21:50:42 +00:00
Oliver Tappe
733c783dc9
more work on package kit:
...
* rip BRepositoryHeader out of BRepositoryConfig and add support
for it to BRepositoryCache
* implement repository removal
* some minor cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-25 19:36:09 +00:00
Oliver Tappe
7d7ed9bf4b
Mostly style-related changes to package kit:
...
* drop 'Haiku' namespace
* rename 'Package' namespace to 'BPackageKit'
* renamed all public classes to begin with a 'B'
* renamed BPackageKit::Roster to BPackageKit::BPackageRoster to not
clash with the BRoster from the application kit.
* fix some instances of public headers including private ones
Some functional changes, too:
* JobQueue now removes and deletes dependants of failed jobs
automatically
* JobQueue supports waiting for jobs to become runnable
* added a couple of InitCheck() methods where they make sense
and invoke those in users of these classes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-25 17:07:27 +00:00
Oliver Tappe
500bb6305c
* WIP-commit of the first parts of the package kit and the pkgman
...
(console-)tool
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-21 22:18:58 +00:00
Philippe Houdoin
28b7d1d410
Switched to new BNetwork* classes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-17 11:21:12 +00:00
Ingo Weinhold
4535495d80
Merged the signals branch into trunk, with these changes:
...
* The team and thread kernel structures have been renamed to Team and Thread
respectively and moved into the new BKernel namespace.
* Several (kernel add-on) sources have been converted from C to C++ since
private kernel headers are included that are no longer C compatible.
Changes after merging:
* Fixed gcc 2 build (warnings mainly in the scary firewire bus manager).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-10 21:54:38 +00:00
Oliver Tappe
cda7f65b32
* add fseek_test, which exposes a problem described in #3145
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 18:56:06 +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
09d6a5822a
Added a test program for the system watching mechanism.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 01:50:27 +00:00
Clemens Zeidler
b1f9962bae
Fix ALM test.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-13 18:52:41 +00:00
Axel Dörfler
5e383e0e63
* Fixed typo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-11 00:00:38 +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
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
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
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
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
Axel Dörfler
fc958868b4
* Added some unit tests for BNetworkAddress.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 17:33:09 +00:00
Axel Dörfler
52702ce24d
* indent is obviously only 2 spaces.
...
* BTW, the tests work on GCC4 just fine, only the GCC2 build doesn't work, so
it's likely to be a newly introduced compiler problem as those tests worked
under BeOS fine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 18:51:33 +00:00
Axel Dörfler
8a8c62d587
* Build fix for GCC4.
...
* Use CPPUNIT_ASSERT() instead of assert() in unit tests.
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 18:46:58 +00:00
Axel Dörfler
d463afccb1
* Build fix for GCC4.
...
* Use printf() instead of the std::cout stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 18:05:32 +00:00
Clemens Zeidler
81c40be9fc
Simplify the Pinwheel demo according to the last commit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 04:23:13 +00:00
Axel Dörfler
06d8bb6f83
* Coding style cleanup, added license. No functional change.
...
* Note that our tests currently don't work because overloading BTestShell
doesn't seem to work (the overridden LoadDynamicSuites() is never called).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-25 21:04:56 +00:00
Axel Dörfler
fed22d2a04
* Fixed build; the width buffer test seems to be gone.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-25 21:00:56 +00:00
Axel Dörfler
742d83e3d2
* Fixed warning.
...
* Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-25 21:00:25 +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
1d219b3a25
* Added AS_DUMP_ALLOCATOR command that dumps an applications memory allocator to
...
the syslog/serial output.
* Added app_server_debug command that currently just sends this command to the
specified teams.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-15 21:25:03 +00:00
Oliver Tappe
de2e54ace0
Adjust tzset() implementation to better follow the POSIX specs and
...
make some more perl tests happy.
* no longer expect a ICU timezone ID in the TZ environment variable,
but only expect this format if the TZ-value is starting with ':'
* accept "standard" TZ-values like "EST5" (of which only "EST" is
relevant to us) - if such a value is specified, we hardcode the
timezone name to the given value, no matter how ICU calls it
* adjust tests accordingly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-13 01:13:38 +00:00
Stephan Aßmus
08e6655afe
Patch by kaliber (ticket #6333 ): Removed many instances of
...
passing an additional -Wall to the compiler, which may actually
have unwanted effects. -Wall is standard by the build system.
Also, -Wno-multichar was passed unnecessarily for Haiku targets.
I didn't remove it for the bfs_shell, hope this is what Ingo meant
in the ticket.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 20:31:11 +00:00
Ingo Weinhold
ea5a105b2d
Fixed spelling.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 19:43:10 +00:00
Ingo Weinhold
09bd92c5c0
* Source text_setup with explicitly given current directory path component.
...
Apparently the source semantics has changed, as the that wasn't necessary
in older OpenSuse versions.
* Replaced gcc invocations in the test scripts with with
compile_{lib,program}[_dl]() shell functions defined in test_setup.
* Build libraries with -fPIC, so we don't get complaints for x86_64.
Apparently the runtime loader semantics has changed in OpenSuse 11.2 compared
to older versions. Some tests don't pass any longer (respectively even crash).
Would be interesting to know what happens on a current FreeBSD.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 16:38:44 +00:00
Ingo Weinhold
f085f5b012
* checksumfs_write_stat(): Actually add the node to the transaction as the
...
comment claims. Spotted by Axel.
* Added preallocate() slot to gCheckSumFSVnodeOps.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 20:42:17 +00:00
Matt Madia
ae7af41e11
Related updates for *.c -> *.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-31 22:06:19 +00:00
Matt Madia
04c448da78
Specify the location for the musepack headers. Other build issues remain.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-31 21:48:18 +00:00
Matt Madia
8c1e391d95
Updates per r34417.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-31 21:36:35 +00:00
Matt Madia
6fbeafabbd
Updates relating to r28261. Allows TeamMonitorTest to build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-31 18:42:00 +00:00
Philippe Houdoin
1c9f7a4117
Fix the optional file to send over transport handling.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-31 10:44:56 +00:00
Philippe Houdoin
ecb7d9282a
Add an option to print discoveried ports,
...
if the transport add-on support this feature.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-29 16:21:49 +00:00
Clemens Zeidler
831d929e8c
Cleanup OptionalBuildFeatures and add CLucene as optional build feature / fix dependencies.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 20:57:11 +00:00
Clemens Zeidler
59cad21bf2
Add a simple CLucene search app written by Ankur Sethi. I just made some smaller modifications. Don't look at the coding style, it is just for testing at the moment, this has to be integrate somewhere else anyway, there is no point to fix it at this state. There are also some memory leaks...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:32:44 +00:00
Stephan Aßmus
766bc131b4
Integrated the test from the "Services Kit" GSoC project. The urlRequest tests
...
don't currently compile since not all of the Services Kit classes are included
in the build ATM.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 14:16:51 +00:00
Philippe Houdoin
2ca94d9be9
Small change lost in the void: search in common addons dir too.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:26:41 +00:00
Clemens Zeidler
c2f0a314a0
Rename ReplaceObjectiveFunction to SwapObjectiveFunction I think this makes it more clear that the old function is not deleted.
...
Cleanup Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-13 05:44:52 +00:00
Alex Wilson
675ffabd70
Layout update for LookTest, fixes #6648 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-12 08:49:18 +00:00
Oliver Tappe
fdb863b626
* added tests for wcwidth() to locale_test that expose the pretty
...
drastic failure to handle anything else than ascii chars.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 15:07:36 +00:00
Clemens Zeidler
cad0c434c7
Refactor LinearSpec a bit, make it more difficult to leak the objective function.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-04 22:27:02 +00:00
Clemens Zeidler
d9c5a02fff
Put liblinprog.so into a static library and compile it into libalm.so.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-04 19:32:35 +00:00
Clemens Zeidler
37344020ef
- Add a alternative method to setup a group layout. BLayoutItem / BView are wrapped into a GroupItem. GroupItem overloads the | (horizontal tiling) and / (vertical tiling) operators. In this manner you can create a group layout using these operators, e.g. GroupItem item = GroupItem(button1) | (GroupItem(button2) / GroupItem(button3)); would layout button1 at the left and button2 and button3 at the right in a vertical layout. All the layout information is stored in the GroupItem item, to setup the final layout you have to call BuildLayout(item). If you like it it could also be added to the BGroupLayout.
...
- Add operator test app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-03 20:05:52 +00:00
Jérôme Duval
97176323ed
removed ffsb
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-02 11:50:05 +00:00
Clemens Zeidler
70e2076135
- Add helper functions to get the tabs of a view or a layout item.
...
- AddView only require the top, left tabs now.
- Remove the TwoViews test and replace it with a slightly more complex test.
- Merge XTab and YTab files into one header file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-30 01:32:48 +00:00
Axel Dörfler
0945b14311
* Made the "cdda_text" test application compile again.
...
* Improved error output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-29 09:17:14 +00:00
Jérôme Duval
23395e2082
add ffsb (Flexible File System Benchmark) to the build (gcc4 only).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-23 17:55:34 +00:00
Clemens Zeidler
9576365d8f
- Replace the obsolete AddArea functions by AddView functions.
...
- Add an additional layout approach for the Pinwheel which leads to the same result.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-23 07:18:49 +00:00
Clemens Zeidler
96e2013e70
Add inset and spacing to BALMLayout. Each Area is able to overwrite this global values and use his own inset. Add spacing and inset to the tests.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-23 00:53:33 +00:00
Clemens Zeidler
3ccba98ce3
Adjust the test apps.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-23 00:04:50 +00:00
Clemens Zeidler
06f960fcf6
Clean up.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-22 05:04:36 +00:00
Clemens Zeidler
a85cd05590
Adjust tests to use the SetExplicitAlignment function.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-22 04:54:11 +00:00
Clemens Zeidler
f5dc380d11
Fix warnings and some coding style issues.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-21 23:37:31 +00:00
Clemens Zeidler
8d9b6ef428
- Rename BALMLayout.* file to ALMLayout.*.
...
- Fix some copyrights.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-21 23:31:50 +00:00
Clemens Zeidler
c87bbc398c
The BButton's have a max and min size which were previously ignore by ALM. Set an expicite button size to make the tests work after the last BALMLayout changes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-21 23:22:17 +00:00
Clemens Zeidler
b8c3b029e4
Some style fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-21 07:08:10 +00:00
Clemens Zeidler
6c0294819a
Fix ALM tests.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-20 22:48:49 +00:00
Oliver Tappe
4a0b7d1bd0
* don't try to check __isctype((char)255), as it will clash with
...
neutral/identity value at -1 (EOF)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-18 15:51:37 +00:00
Oliver Tappe
611e1071a7
* add ctype-related tests that expose the cause of #6599
...
* fix warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-18 14:31:13 +00:00
Oliver Tappe
338ddd836f
Closing #6499 :
...
* add missing getsubopt() POSIX-function
* added corresponding test
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 18:43:24 +00:00
Oliver Tappe
5d46644f18
* added tests for localized numerical formatting via printf()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 17:21:28 +00:00
Ingo Weinhold
e13706775f
Whitespace cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 11:22:15 +00:00
Ingo Weinhold
c1a1df8d83
Typo: & used instead of &&.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 09:58:49 +00:00
Ingo Weinhold
66c75febfd
Missing parentheses.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 09:57:59 +00:00
Ingo Weinhold
a738ca2c55
Build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 09:57:26 +00:00
Oliver Tappe
69b46b571e
* improved ParseDateTest to check several different timezones
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-11 18:32:34 +00:00
Oliver Ruiz Dorantes
8235dffe80
Last message key was closing the socket earlier than I expected
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-28 16:07:59 +00:00
Clemens Zeidler
e71b4c11de
Add a simple BWindowStack test app.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-17 06:50:35 +00:00
Oliver Tappe
560b10ff88
Implement tzset(), gmtime(), localtime() and mktime() on top of ICU
...
* no longer keep a separate time-backend, since the implementation needs to
access (data of) the locale backend anyway
* moved more stuff from localtime_fading_out.c to localtime.cpp
* added respective tests to locale_test
* added two more tests copied from glibc, test_time.c and tst-mktime.c
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-16 21:14:23 +00:00
Axel Dörfler
757a6d2587
* Added the IPv6 test programs as part of Atis latest patch.
...
* Added an ipv6_ prefix to all test apps, as their names clashed with existing
test apps.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-11 12:34:44 +00:00
Philippe Houdoin
6eba591215
Import GLSL brick demo (small change: no glew, which one day we should support though).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-05 10:46:08 +00:00
Philippe Houdoin
3f7aeed212
Don't link with libstdc++ for plain C samples.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-05 10:43:56 +00:00
Philippe Houdoin
2d189f198f
Add code to test leaving game mode to return to window mode...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-04 14:38:13 +00:00
Philippe Houdoin
92f5c6a2f7
Display mode options should be set too before entering game mode!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 17:33:08 +00:00
Philippe Houdoin
e70782a501
Slow down a bit the cube spinning, and fix a warning.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 16:28:32 +00:00
Philippe Houdoin
24ca4df9de
* Group all GLUT exit cleanup tasks in one place, __glutExitCleanup().
...
* Automatically leave game mode if it's still active at exit
* Remove explicit game mode cleanup from testbed app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-30 15:18:09 +00:00
Philippe Houdoin
6e55a1104a
Expand to dump game mode attributes, clean exit and changing game mode string anytime.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-30 12:17:11 +00:00
Michael Pfeiffer
ff973abc41
* Align the scaled picture at the top to the unscaled
...
one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-30 09:20:09 +00:00
Michael Pfeiffer
8247141f14
* Added testDrawScaledPicture which exposes a bug
...
drawing a scaled picture at an offset. The offset
needs to be scaled too, but isn't right now.
* Fixed testDrawLargeBitmap. The bounds were negative.
* Added testFontRotation. Works fine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-30 09:12:57 +00:00
Philippe Houdoin
9e332eb5ef
Add a quick and dirty GLUT game mode testbed
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-29 14:33:22 +00:00
Adrien Destugues
e88fbde60b
* Fix some issues in collators archiving and key computation
...
* The test now pass. But unarchiving still isn't working and restores the default collator instead of the archved one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 14:23:08 +00:00
Adrien Destugues
2c6ebfaaea
* Fix collator text
...
* Fix archiving/unarchiving to provide at least a valid object. However, ICU archiving system doesn't look like it's working well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 13:16:11 +00:00
Oliver Tappe
60656c54d1
* don't use B_USE_POSITIVE_POSIX_ERRORS in libroot, let any interested party
...
use that and the posix_error_mapper
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 17:20:39 +00:00
Oliver Tappe
a4823efd7d
Fix problems with sed and gcc caused by reintegration of posix-locale:
...
* support invocation of ctype/wctype macros with EOF/WEOF (-1), which would
access more or less random memory before - I don't know why this worked
more or less reliably for the POSIX locale, but it didn't for any other
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-24 16:20:52 +00:00
Oliver Tappe
a3f665982e
* reintegrated posix-locale
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 23:13:00 +00:00
Axel Dörfler
aa552b077a
* Some cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 13:11:55 +00:00
Stephan Aßmus
80e6909dd1
* Style cleanup.
...
* Include correct header for strcmp().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 13:54:36 +00:00
Stephan Aßmus
9ea2a07cf3
Patch by Karvjorm: Fix build of the window_creation app_server test. Thanks!
...
Closes ticket #6358 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 13:35:18 +00:00
Ingo Weinhold
e82b1340a7
* checksumfs_lookup(): The flags return parameter was never set, leading to
...
weird behavior when running in kernel.
* checksumfs_io(): Try to lock with timeout when the request is VIP. This
works around a potential quasi-deadlock: Most write support FS hooks
potentially allocate memory (e.g. in block_cache_get*()) while holding a
write lock to a node. When memory is low they have to wait for pages to
become available. The page writer might block on such node which in turn
would prevent modified pages from becoming eligible for recycling. Should
only in rare low memory cases have led to a problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 12:20:45 +00:00
Axel Dörfler
2baeb60077
* Fixed the application to actually take the host argument into account, sigh.
...
* Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 12:09:44 +00:00
Ingo Weinhold
6fc498dafd
Added ReadLockWithTimeout().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 11:50:15 +00:00
Ingo Weinhold
3555a42f18
Typo in debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 11:49:50 +00:00
Ingo Weinhold
539ec8ff1e
* File::_UpdateLevelInfos(): Fixed child count computation. Was incorrect (0)
...
for multiple of kFileBlockMaxCount block counts.
* File::_GrowTree(): The inner loop of the level addition part was bogus.
Apparently I never tested with files >= 2 MB before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 11:49:28 +00:00
Ingo Weinhold
4e08fb8589
Added rw_lock_read_lock_with_timeout().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 11:10:48 +00:00
Ingo Weinhold
4bfbcb535d
checksumfs_io(): We are responsible for calling notify_io_request() when we
...
decide to fail for some reason.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-21 16:32:59 +00:00
Ingo Weinhold
fb2d716a99
Added support for using underlying devices -- we need to get the size with
...
the B_GET_GEOMETRY ioctl instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-21 15:29:29 +00:00
Ingo Weinhold
8cb1303cfa
* Cleaned up debug output.
...
* _AllocateInGroup(): Fixed incorrect checks. The allocation group counts the
free, not the used blocks.
* _AllocateInBitmapBlock(): Fixed allocation loop. It was neither incrementing
the array pointer, nor resetting the bit offset.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-21 15:28:03 +00:00
Ingo Weinhold
1e7497da42
Debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-21 15:23:46 +00:00
Ingo Weinhold
4701667eb2
Get{Writable,Zero}(): Fixed return values. The type is bool not status_t.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-21 15:23:29 +00:00
Ingo Weinhold
94b89e4bcc
Debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-21 15:16:36 +00:00
Ingo Weinhold
8f6bf75670
* Resize(): Resize the file cache before trying to fill the added space with
...
zeroes.
* Compute and propagate the check sums of the written file data to the
underlying device.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-21 09:58:48 +00:00
Ingo Weinhold
9bc87c767b
Block does now register writable blocks with Transaction. On commit
...
Transaction sets the check sums for the changed blocks on the underlying
device, respectively reverts them on roll-back.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 23:21:26 +00:00
Ingo Weinhold
8d591ecc41
* Added CHECKSUM_DEVICE_IOCTL_GET_CHECK_SUM ioctl.
...
* Added some debug output.
* CheckSumCache::_GetBlock(): Fixed incorrect check. The method could return
an arbitrary block.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 23:16:46 +00:00
Ingo Weinhold
7514b57ebf
Added Data() getter and an assignment operator getting a raw buffer.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 23:14:48 +00:00
Ingo Weinhold
5520ec0ea0
Enable -Werror.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 23:13:51 +00:00
Axel Dörfler
02e7b23f38
* Some ICMP test applications originally written by Yin Qiu as part of
...
GSoC 2008. I've reworked them a bit to let them compile without warnings
(or at all), and give better error messages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 21:20:36 +00:00
Ingo Weinhold
0f9dda9f00
Moved Block implementation to its own source file.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 21:19:11 +00:00
Ingo Weinhold
decde2b030
* _Free[InBitmapBlock](): Don't use Block::Discard() (block_cache_discard()).
...
It doesn't have the intended semantics (reverting the change). The caller
is now expected to roll back the transaction.
* AllocateExactly(): Don't try to revert a partially successful allocation.
The caller is expected to roll back the transaction.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 21:11:56 +00:00
Ingo Weinhold
8794d8c48f
* Volume::Create{File,Directory,SymLink}():
...
- Simplified by using the new common _CreateNode(). Changed the constructors
slightly -- the block index is now set via a separate SetBlockIndex()
method.
- The block allocated for the node was not cleared. At least for directories
that is required, though.
* Added attribute support:
- Refactored/extended {open,create}_file() and DirCookie a bit, so they can
also be used for attributes/attribute directories.
- Implemented all relevant attribute FS hooks.
- Node::DeletingNode(): Changed interface (it creates the transaction(s) as
needed, now and doesn't return the error code anymore. The base class
implementation frees the attribute directory, the Directory implementation
also unlinks all entries and frees the entry tree.
* checksumfs_write_stat(): B_STAT_MODE was not handled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 17:13:34 +00:00
Ingo Weinhold
7461b83d3b
Removed unused checksumfs_node::content. We use the rest of the node block
...
for managing the content.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 17:01:24 +00:00
Ingo Weinhold
72e9c2846a
* Added flags for removing/unremoving the node.
...
* Added more optional notification parameters to Commit().
* Added some handy methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 16:59:53 +00:00
Ingo Weinhold
c6bc0bdd73
When opening the device read-write failed, retry read-only.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 08:44:30 +00:00
Ingo Weinhold
e828231248
Added node monitoring support.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 15:31:08 +00:00