Commit Graph

53209 Commits

Author SHA1 Message Date
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
Jérôme Duval
823b0239ae openssl: security update
Fix for CVE-2015-0286
Fix for CVE-2015-0287
Fix for CVE-2015-0289
Fix for CVE-2015-0293
Fix for CVE-2015-0209
Fix for CVE-2015-0288
2015-03-20 20:24:43 +01:00
Jérôme Duval
e3bd84493e ahci: fix build with warnings. 2015-03-19 23:34:40 +01:00
Augustin Cavalier
9782bd3280 Tracker: Fix FilePanel menu bar initialization.
It appears I was a bit too hasty in hrev48850, as if I had looked more
closely I would have noticied that this code depended on the menu bar
being initialized to function correctly.

Fixes #11914.
2015-03-19 14:36:47 -04:00
Jérôme Duval
673f931b62 ahci: correctly display version
* merge traces a bit.
2015-03-19 17:55:03 +01:00
Humdinger
aa239e96df Update MeV package.
(now loads its example files)
2015-03-19 17:46:33 +01:00
Automatic Committer
699bf1d9fe Update usb.ids from www.linux-usb.org 2015-03-19 05:20:25 +01:00
Automatic Committer
f47e26a194 Update pci.ids from pciids.sourceforge.net 2015-03-19 05:20:23 +01:00