Commit Graph

53216 Commits

Author SHA1 Message Date
Axel Dörfler
d1f0b8db1d Network: fixed top item creation, sort entries.
* Need a way to access the NetworkWindow object from a static
  method in order to sort all entries correctly, though.
2015-03-27 13:22:29 +01:00
Axel Dörfler
25ed074fd1 Network: made InterfaceListItem::Name() const. 2015-03-27 13:22:28 +01:00
Axel Dörfler
5274e9b004 Network: added interface list item.
* Added BNetworkInterfaceListItem that can be used by interface protocol
  add-ons to represent their functionality in the list view.
* It will automatically update itself on changes, and will show the
  specified label, and address, if any, as well as indicate whether or
  not the family has been disabled (which doesn't work perfectly yet,
  as IFF_AUTO_CONFIGURED is on the interface level).
* Therefore, the interface list item will no longer show the address,
  but the type of the device instead.
* Introduced the BNetworkConfigurationListener interface that is used
  to broadcast network updates to.
2015-03-27 13:22:28 +01:00
Axel Dörfler
b00dcbcad2 BNetworkSettings: added some convenience methods.
* From InterfaceAddressView: FindFirstAddress(), and IsAutoConfigure().
* Removed some debug leftovers in InterfaceAddressView, too.
2015-03-27 13:22:27 +01:00
Axel Dörfler
20ead9a883 ifconfig: improved empty address display.
* Now shows as "--" instead of just the empty string.
2015-03-27 13:22:27 +01:00
Axel Dörfler
563f3c118d Network: Added IPv6Interface.
* Pretty much the same as the IPv4 one.
2015-03-27 13:22:21 +01:00
Axel Dörfler
59f911ab03 Network/IPv4Interface: settings are now applied instantly.
* Via the BNetworkSettings class.
* The static IP mode still requires an extra apply button.
* IP input is not validated at all yet, we could also automatically
  fill in the network mask once the IP has been entered.
2015-03-27 13:21:52 +01:00
Axel Dörfler
e4f4658a1b BNetworkSettings: made interface settings writable.
* It also makes use of the new driver settings converter mechanism.
2015-03-27 13:21:51 +01:00
Axel Dörfler
18811c71ae DriverSettingsMessageAdapter: hide empty message.
* Empty messages no longer end up as empty section - instead, they are
  just empty.
2015-03-27 13:21:51 +01:00
Axel Dörfler
3211cbcd15 DriverSettingsMessageAdapter: optional field converter.
* You can now optionally specify a converter that does the actual
  message to settings conversion, and vice versa.
* This allows for more sophisticated and custom conversions.
2015-03-27 13:21:50 +01:00
Axel Dörfler
9461249c5a Network: also notify interface list items
* When the network configuration changes.
2015-03-27 13:21:50 +01:00
Axel Dörfler
07addd7ef5 Network: broadcast updates, remove apply button.
* Network now monitors all network, and network settings changes, and
  will notify all add-ons about those changes.
* Removed the global apply button. Instead, the static IP configuration
  now got that button. All other changes will be instant.
2015-03-27 13:21:49 +01:00
Axel Dörfler
f16f9ee4ee Moved more functionality from net_server to NetworkSettings.
* Added (still incomplete) helper classes for the settings messages.
* The net_server now uses these classes for its interfaces, and services.
* Renamed service_address to service_connection, as that better matches
  what it is used for.
2015-03-27 13:21:49 +01:00
Axel Dörfler
7a9c00732a BMessage: add default parameter to GetString()/GetBool().
* It's likely that you want NULL/false when the data is not available
  so you can now leave out the default value in that case.
2015-03-27 13:21:48 +01:00
Axel Dörfler
2864e4da5e Network: added global settings.
* NetworkWindow now manages a single BNetworkSettings object
  that is shared with all add-ons.
2015-03-27 13:21:48 +01:00
Axel Dörfler
e267a9eb47 Network: show interface addresses in list item.
* No family prefix yet.
2015-03-27 13:21:47 +01:00
Axel Dörfler
db6d25ceba NetworkInterface.h: honor 80 character limit. 2015-03-27 13:21:47 +01:00
Axel Dörfler
d880e2d91f BNetworkSettings: added Get*() by name methods. 2015-03-27 13:21:46 +01:00
Axel Dörfler
fd55fb6615 Moved net_server's settings to libbnetapi.
* As experimental API class BNetworkSettings.
* Added add/remove methods for interfaces, and services, too.
* Moved the conversion of the wireless networks into the settings class,
  too, so that it only gives out converted ones (but accepts both
  variants).
2015-03-27 13:21:46 +01:00
Axel Dörfler
14f5b52b21 Network: removed dummy add-ons. 2015-03-27 13:21:45 +01:00
Axel Dörfler
85fb1470bf Added IPv4Interface add-on for Network preferences.
* Took over most code from the former InterfacesAddOn, and
  moved it to where it should be.
* However, it doesn't work yet at all.
2015-03-27 13:21:41 +01:00
Axel Dörfler
03242441a6 Network: fixed broken item frame retrieval.
* Completely superfluous and expensive for BListView items, and just
  wrong for BOutlineListView items.
* Also increased the width of the item, as we must take the tree offset
  into account ourselves (really, great API).
2015-03-27 13:08:45 +01:00
Axel Dörfler
aae1e071aa Network: fixed mixed up AddUnder() arguments.
* BOutlineListView is the worst of the interface kit.
2015-03-27 13:08:45 +01:00
Axel Dörfler
3401ff7c2f BNetworkSettingsAddOn: added missing destructor. 2015-03-27 13:08:44 +01:00
Axel Dörfler
f6c7cf44b5 Network: integrated former hardware view from add-on.
* The interfaces logic is within the main application, so is the
  new interface view.
* Disabling/renegotiating does not work yet.
* Reveals a bug in some interface code; when you click on an ethernet
  device first, there is no place for the wireless menu. When you then
  press on a wireless device, it crashes in BMenuField code.
  In the other direction, there is then an empty space.
* Fixed list item width reporting.
2015-03-27 13:08:44 +01:00
Axel Dörfler
d5dd8637bb BNetworkDevice.GetHardwareAddress() was broken.
* Copy&paste error, apparently.
2015-03-27 13:08:43 +01:00
Axel Dörfler
54c34be74b ifconfig: moved media type stuff into its own file.
* This can now be easily shared.
2015-03-27 13:08:43 +01:00
Axel Dörfler
021ff1ca46 Network: no need for public constants. 2015-03-27 13:08:42 +01:00
Axel Dörfler
5493c30fed Network: Removed unused includes. 2015-03-27 13:08:42 +01:00
Axel Dörfler
6dcbe4bf44 Network: made list view B_FULL_UPDATE_ON_RESIZE.
* To account for its right aligned contents.
2015-03-27 13:08:41 +01:00
Axel Dörfler
77db25ddc7 Network: moved add-on headers to the correct position.
* Ie. they've moved to headers/os/add-ons/network_settings now.
2015-03-27 13:08:41 +01:00
Axel Dörfler
a7cb9f5f55 Network: WIP of redesign.
* Fletched out new add-on API.
* Moved InterfaceListItem from the interfaces add-on into the
  application.
* Renamed NetworkSetup* to Network* respectively NetworkSettings*.
2015-03-27 13:08:29 +01:00
Axel Dörfler
0690387cd2 BServer/BApplication: added constructor for looper name.
* Added an extra looperName argument to the private BApplication
  constructor that BServer is using.
* This is now used to fix the ugliness that gave the registrar
  a different looper name, and even saves a string comparison.
2015-03-26 21:47:24 +00:00
Axel Dörfler
b7a87fd137 find_paths_etc(): added user/system only flags.
* B_FIND_PATHS_(USER|SYSTEM)_ONLY cause only the specified paths
  to be included in the result list.
2015-03-26 21:47:22 +00:00
Axel Dörfler
2bdffa6131 BPathFinder::FindPaths() fixed passing flags.
* One variant of FindPaths() replaced the flags with '0'.
2015-03-26 21:47:19 +00:00
Automatic Committer
d3f28e597b Update usb.ids from www.linux-usb.org 2015-03-26 05:20:29 +01:00
Automatic Committer
b9e1ca3b39 Update pci.ids from pciids.sourceforge.net 2015-03-26 05:20:27 +01:00
Janus
68ec13b405 Media: make ListViewItem scale correctly with big fonts.
Fixes #11918.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-03-25 12:12:04 -04:00
Janus
ffafcc16d7 Printers: avoid redraw glitches in the listview.
Fixes #11917.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-03-25 12:05:14 -04:00
Janus
4e71cef8fd Preferences: Make "Antialiasing" Revert button work as expected.
Fixes #11787.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-03-25 12:03:24 -04:00
Augustin Cavalier
906283b6d6 Haiku Book: Make the layout introduction somewhat more professional. 2015-03-25 11:47:29 -04:00
Augustin Cavalier
9d6780b587 Haiku Book: disable class diagrams.
The last time this was discussed on the ML, the consensus was that
the text lists were nicer than the diagrams (with only one objection).
For the minority that wants class diagrams, it's easy enough to reverse
this one-line change.
2015-03-25 11:37:10 -04:00
Augustin Cavalier
e6ecb3fc07 Haiku Book: Midi2 fixes.
* Automatic whitespace cleanup.
 * Removed all of Midi2 from the "libbe" group, as they aren't part of it
 * Get rid of the redundant "libmidi2" group, as all of midi2 is already in
   the "MIDI 2 Kit" group, and the docs explicitly state that the MIDI 2 Kit
   has its own library.
2015-03-25 11:30:01 -04:00
Augustin Cavalier
aa6ef6658c Haiku Book: fix device drivers group definition.
Also removed the "Keyboard" group definition, which was broken. There
wasn't anything in that group, and there's only one page on the
keyboard anyway.
2015-03-25 11:23:51 -04:00
Axel Dörfler
a2d9c45398 profile: enlarged HISTFILESIZE to 500.
* 50 isn't really contemporary anymore.
2015-03-24 22:41:52 +00:00
Jérôme Duval
eda3dea32e Updated nano packages. 2015-03-23 18:58:09 +01:00
Jérôme Duval
928b74c536 Updated zip packages
* This helps with #11023. When attributes total length exceeds the extra
field maximal length, there is no way to add them to the zip entry. We
now just warn about the problem and leave attributes out.
2015-03-22 15:59:08 +01:00
Jérôme Duval
fbd62c1b00 Add llvm package for x86 2015-03-21 20:24:11 +01:00
Jérôme Duval
bbee171790 Updated libxml2 packages for x86. 2015-03-21 19:23:01 +01:00
autonielx
b4a7201117 Update translations from Pootle 2015-03-21 06:22:26 +01:00