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