Commit Graph

53367 Commits

Author SHA1 Message Date
Augustin Cavalier
1f35b0186b pkgman: fix build. 2015-03-27 16:59:18 -04:00
Augustin Cavalier
74de74358a pkgman: fix problems pointed out by Jerome & Axel. 2015-03-27 16:47:54 -04:00
Jérôme Duval
8ee7375aa0 don't redefine __weak_reference. 2015-03-27 21:40:47 +01:00
Augustin Cavalier
c771066bd2 pkgman: cleanup output.
This makes the progressbars disappear after the download is complete,
as well as reducing the number of lines for most actions to 1 instead
of 3-4.
2015-03-27 16:16:13 -04:00
Jessica Hamilton
8667d6c758 pkgman: replace install/uninstall pairs with upgrade text.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
I fixed some bugs and removed some code duplication.
2015-03-27 16:16:11 -04:00
Augustin Cavalier
e22040efac pkgman: make progressbar work properly when the width is < 70. 2015-03-27 16:16:09 -04:00
Jérôme Duval
9f543f8044 Fix unittests build. 2015-03-27 20:37:23 +01:00
Jérôme Duval
b43255eb85 Update icu packages. 2015-03-27 20:24:02 +01:00
Jérôme Duval
4a9c56f6c7 x86_64: fenv.c needs __weak_reference()
* the weak symbol feenableexcept wasn't available.
2015-03-27 20:16:57 +01:00
Axel Dörfler
49b69c86d3 ifconfig/Network: gcc4 build fix. 2015-03-27 15:26:51 +01:00
Axel Dörfler
5f03af766a Added new network settings add-ons to the image.
Conflicts:
	build/jam/packages/Haiku
2015-03-27 13:25:32 +01:00
Axel Dörfler
386b6f15e6 Network: disabling/enabling devices is now working.
* Disabled the "renegotiate" button for now -- this will move to the
  interface add-ons, at least some day.
2015-03-27 13:25:31 +01:00
Axel Dörfler
81ba2a0474 Network: fixed DNS server label. 2015-03-27 13:25:31 +01:00
Axel Dörfler
8b8bd796f4 Network: give static IP focus.
* InterfaceAddressView now gives the address control focus when
  "static" mode is selected.
2015-03-27 13:25:30 +01:00
Axel Dörfler
0a6b562313 net_server: fixed configuring disabled interfaces.
* BNetworkSettings now set unspecified addresses to their empty family
  specific addresses, instead of using AF_UNSPEC.
* This allows the net_server to set those addresses on the address
  specific stack interface.
2015-03-27 13:25:30 +01:00
Axel Dörfler
4621cda5bf Style fix. 2015-03-27 13:25:29 +01:00
Axel Dörfler
d044457531 BNetworkAddress::IsEmpty() now detects empty ipv4/6.
* Until now, only AF_UNSPEC addresses could be empty.
* Now, the unspecified IPV4/IPv6 address is considered empty, too.
* This corresponds to how the kernel modules handles this.
2015-03-27 13:25:29 +01:00
Axel Dörfler
687d0bc272 DriverSettingsMessageAdapter: fixed converter signature.
* The ConvertFromDriverSettings() method missed the current value
  index.
* Completed unit tests, and enabled them all.
2015-03-27 13:25:28 +01:00
Axel Dörfler
9f218b4e2d DriverSettingsMessageAdapter: fixed various issues.
* _AddParameter() would ignore all BMessage::Add*() errors.
* _ConvertFromDriverParameter() would ignore most intermediate error,
  but would fail badly over some incorrect settings file.
* Also, it checked for the parent value for each parameter, which
  doesn't make any sense, but would add as often as there are
  parameters -- which also may be none, in which case the value
  got ignored.
2015-03-27 13:25:28 +01:00
Axel Dörfler
6a29020593 Network: made the revert button (somewhat) work.
* DNS add-on does not yet support it, the rest does.
* However, there seems to be some problems with the net_server when
  changing interfaces -- not just with revert.
2015-03-27 13:25:27 +01:00
Axel Dörfler
3d7aaa308c Network: added notify settings updated method.
* And call it from the DNS client -- this is the only add-on that does
  not trigger a configuration or settings update, so we have to notify
  the changes manually.
2015-03-27 13:25:27 +01:00
Axel Dörfler
235571538b Network: added ability to sort ServiceListItems correctly.
* Added ServiceListItem::Label() method.
2015-03-27 13:25:26 +01:00
Axel Dörfler
3d3eb8da69 Network: telnet and ftp are now using ServiceListItem, too. 2015-03-27 13:25:26 +01:00
Axel Dörfler
ee834bb870 Network: moved commonly used classes into app.
* This way all add-ons share the same code, and also the same
  translations.
2015-03-27 13:25:25 +01:00
Axel Dörfler
1a47b15dfa Network: interface list item now used BControlLook spacing.
* Instead of hard-coded values.
2015-03-27 13:25:25 +01:00
Axel Dörfler
d0b107f311 Network: added IPAddressControl.
* Based on Adrien's previous work in the DNS settings view.
* The IPv* and DNS add-ons are now using it.
2015-03-27 13:25:18 +01:00
Axel Dörfler
06cdb6558f _BTextInput_: Only invalidate parent when in a window.
* Otherwise there is nothing to it.
* Removed comment and commented out invalidation. Seems to work
  just fine without it, and I cannot think of a reason why it should
  be there.
2015-03-27 13:24:10 +01:00
Axel Dörfler
ccc3ced21c _BTextInput_: style cleanup. 2015-03-27 13:24:10 +01:00
Axel Dörfler
8bc3ecb054 Added BTextControl::TextLength() method. 2015-03-27 13:24:09 +01:00
Axel Dörfler
d95c5011bd Network: SSH list item now indicates a running server.
* This will be moved into the network preferences, so that it can be
  used from other add-ons, as well.
2015-03-27 13:24:09 +01:00
Axel Dörfler
30811f5d73 Network: display title items in bold. 2015-03-27 13:24:08 +01:00
Axel Dörfler
d45b018021 Network: service enable now waits a bit, revertable.
* When you press the enable/disable button, it now stays disabled
  for half a second before it is updated, and reenabled again.
* This is done so that the net_server has time to update its internal
  state, so that it should look correct right from the start, even if
  the server does not immediately react to the changes.
* Now uses the BNetworkServiceSettings::IsRunning() method.
* Added IsRevertable(), and Revert(), methods.
2015-03-27 13:24:08 +01:00
Axel Dörfler
d26777c4e4 Network: added BNetworkSettingsListener.
* Same as the configuration listener, just for SettingsUpdated().
* This is now broadcasted to all list items, too.
2015-03-27 13:24:07 +01:00
Axel Dörfler
f7ccc9af85 BNetworkSettings: added const, server IsRunning() method.
* Get{Interface|Network|Service}() methods are now const.
* Added variants of Interface(), and Service() that are const.
* Added new BNetworkServiceSettings::IsRunning() convenience method that
  reflects the status quo rather than the settings.
2015-03-27 13:24:07 +01:00
Axel Dörfler
07b0531d9c Network: removed now superfluous services add-on. 2015-03-27 13:24:06 +01:00
Axel Dörfler
b4ec589bb3 Network/DNS settings: apply button, improved layout.
* The buttons now all end up with the same width.
* Put the grid into a BBox.
* The new "apply" button will actually apply the changes.
2015-03-27 13:24:06 +01:00
Axel Dörfler
9a7e231edb Network: DNSSettingsView style cleanup. 2015-03-27 13:24:05 +01:00
Axel Dörfler
a4a34e4235 Network: beginnings of the DNS settings. 2015-03-27 13:24:02 +01:00
Axel Dörfler
55820aedc1 net_server: Print message on fork() error.
* Also removed an extra check for the name in _Update(); _ToService()
  will already return an error in that case.
2015-03-27 13:23:42 +01:00
Axel Dörfler
a7f408b41c Fixed BNetworkServiceSettings::IsEnabled(), GetMessage()
* GetMessage() now checks if the only existing address is the default
  wildcard address, and then omits it in the message (as it will be
  created by default, anyway).
2015-03-27 13:23:41 +01:00
Axel Dörfler
a6f0a92032 Network: added telnet and ftp service add-ons.
* They're old, but we still have them on our image.
2015-03-27 13:23:37 +01:00
Axel Dörfler
33ee23acbe Tracker C++ source template: fixed coding style.
* Two blank lines between header and include.
2015-03-27 13:23:03 +01:00
Axel Dörfler
3c8ac782d5 Network/SSHService: Moved base ServiceView into its own file.
* SSHServiceView now subclasses it for SSH specific functionality.
2015-03-27 13:23:02 +01:00
Axel Dörfler
aaca49df8d Network: removed now superfluous interface add-on.
* IPv4/IPv6 add-ons completely replace its functionality.
2015-03-27 13:23:02 +01:00
Axel Dörfler
8af390cab2 Network: SSH service add-on now creates sshd user.
* If it does not exist yet, the sshd user is created upon enabling
  the service.
* Also, it now uses kMsgIsServiceRunning to determine the current
  label/function of the enable/disable button.
2015-03-27 13:23:01 +01:00
Axel Dörfler
c3ef93915b net_server: Clients can now check if a service is running.
* Using the new kMsgIsServiceRunning command.
2015-03-27 13:23:01 +01:00
Axel Dörfler
1f94cdcdff BNetworkServiceSettings: Added missing functions/constructor. 2015-03-27 13:23:00 +01:00
Axel Dörfler
83941255ad net_server: cleaned up Services.h, no functional change. 2015-03-27 13:23:00 +01:00
Axel Dörfler
bafce3df67 Network: first steps to an SSH service add-on. 2015-03-27 13:22:56 +01:00
Axel Dörfler
7ca40f60bc BNetworkSettings: made service stuff writable.
* And added the ability to disable a service without losing its
  configuration.
2015-03-27 13:22:30 +01:00