History log of /haiku/src/preferences/time/NetworkTimeView.h
Revision Date Author Comments
# 1520fffa 31-Mar-2014 John Scipione <jscipione@gmail.com>

Time prefs: Use button label symbols & relayout

Add becomes +, Remove becomes −, the current button labels "Add" and "Remove"
are used as tool tips. Relayout the controls so that they fit nicely with the
buttons:

The add button is placed left of the server text control showing that it
adds new server names while the remove button is placed next to the list
view showing that it removes server names from the list.

The reset button is placed next to the "Synchronize" button at the bottom of
the tab group and is renamed "Reset to default server list".

This makes the window a bit taller.


# deda8cad 31-Mar-2014 John Scipione <jscipione@gmail.com>

Time prefs: Set text colors in constructor


# 15cc2a1f 31-Mar-2014 John Scipione <jscipione@gmail.com>

Time prefs: Set pointer NULL, delete in destructor

... avoiding potential memory leak.


# 8fbf8d56 31-Mar-2014 John Scipione <jscipione@gmail.com>

Time prefs: Enable add button if server name valid

* Add button is disabled initially (as the server name is blank)
* Use B_FAILURE_COLOR when server name is invalid instead of hardcoding red
* Some code refactoring
* Some style fixes


# 14d75221 26-Mar-2014 John Scipione <jscipione@gmail.com>

Time: Style fixes to NetworkTimeView


# a2a9adaf 11-Jun-2011 leavengood <leavengood@a95241bf-73f2-0310-859d-f6bbb57e9c96>

Change value of constant to better reflect the name. It had a different name
when I first added it to the code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42100 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d2d65a82 11-Jun-2011 leavengood <leavengood@a95241bf-73f2-0310-859d-f6bbb57e9c96>

Fix #7672 by applying humdinger's patch then adding more:

The server name is checked while typing and if it is not valid the text is made
red. Invalid entries cannot be added to the list.

Also made the server add message be the invoking message so that the enter key
works to add a server.

After adding a valid server the text is cleared.

Valid servers names are alpha-numeric with periods, dashes and underscores.
Could need some things added but that should cover 99% of the cases.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42097 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 323ba9b7 04-Jun-2011 Ryan Leavengood <leavengood@gmail.com>

Apply Hamish Morrison's patch from #2412, with a few small style changes and
merging my fixes to ntp.cpp from the NetworkTime source.

This makes Time use the layout system as well as support updating time through
the network.

I tried very hard to catch and fix any new style violations, though in general
Hamish did quite well.

After some testing this could be put in Alpha3, but I won't mark it as such
yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41930 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1520fffa4fd13aee78688ae7ea106eb99bad4773 31-Mar-2014 John Scipione <jscipione@gmail.com>

Time prefs: Use button label symbols & relayout

Add becomes +, Remove becomes −, the current button labels "Add" and "Remove"
are used as tool tips. Relayout the controls so that they fit nicely with the
buttons:

The add button is placed left of the server text control showing that it
adds new server names while the remove button is placed next to the list
view showing that it removes server names from the list.

The reset button is placed next to the "Synchronize" button at the bottom of
the tab group and is renamed "Reset to default server list".

This makes the window a bit taller.


# deda8cad48ba3b49cc3f9cc3f0a1c4309ebe2a88 31-Mar-2014 John Scipione <jscipione@gmail.com>

Time prefs: Set text colors in constructor


# 15cc2a1fad4c67ece238f5f20c9bae4607cf7c05 31-Mar-2014 John Scipione <jscipione@gmail.com>

Time prefs: Set pointer NULL, delete in destructor

... avoiding potential memory leak.


# 8fbf8d56f65dad4161b3e6ff939b79ceda8a6416 31-Mar-2014 John Scipione <jscipione@gmail.com>

Time prefs: Enable add button if server name valid

* Add button is disabled initially (as the server name is blank)
* Use B_FAILURE_COLOR when server name is invalid instead of hardcoding red
* Some code refactoring
* Some style fixes


# 14d7522197234439d6f4441a3e263d3af0e143cf 26-Mar-2014 John Scipione <jscipione@gmail.com>

Time: Style fixes to NetworkTimeView


# a2a9adafa2d70ebb69a518ae4b2279088420b55b 11-Jun-2011 leavengood <leavengood@a95241bf-73f2-0310-859d-f6bbb57e9c96>

Change value of constant to better reflect the name. It had a different name
when I first added it to the code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42100 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d2d65a82c839e4596b5f303c3a9f18aec8450930 11-Jun-2011 leavengood <leavengood@a95241bf-73f2-0310-859d-f6bbb57e9c96>

Fix #7672 by applying humdinger's patch then adding more:

The server name is checked while typing and if it is not valid the text is made
red. Invalid entries cannot be added to the list.

Also made the server add message be the invoking message so that the enter key
works to add a server.

After adding a valid server the text is cleared.

Valid servers names are alpha-numeric with periods, dashes and underscores.
Could need some things added but that should cover 99% of the cases.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42097 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 323ba9b7fb40975a7c28fb985b30c3a38352b4e9 04-Jun-2011 Ryan Leavengood <leavengood@gmail.com>

Apply Hamish Morrison's patch from #2412, with a few small style changes and
merging my fixes to ntp.cpp from the NetworkTime source.

This makes Time use the layout system as well as support updating time through
the network.

I tried very hard to catch and fix any new style violations, though in general
Hamish did quite well.

After some testing this could be put in Alpha3, but I won't mark it as such
yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41930 a95241bf-73f2-0310-859d-f6bbb57e9c96