History log of /haiku/src/preferences/time/TimeMessages.h
Revision Date Author Comments
# 31c0024d 07-Nov-2012 John Scipione <jscipione@gmail.com>

Add Deskbar clock settings to Time Preferences

* Added a new Clock tab to the Time preflet. Added Clock related
controls there. They all function by communicating with Deskbar.
* Put controls in a BBox controlled by the Show clock checkbox.
This more clearly shows that all the clock settings are dependent
on the show clock setting since it doesn't matter what your clock
settings are if you don't show the clock.
* Make revert work.
* Split clock settings into it's own file and struct.
* Re-add the time zone setting.
* Remove the clock settings from the Deskbar preference window, they
are in Time now.
* Make Locale preferences accepts B_LOCALE_CHANGED message, although
not used.


# 20cc8cc8 05-Nov-2011 Ryan Leavengood <leavengood@gmail.com>

Remove unneeded code after Adrien's improvements.


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


# f3b7dcd4 01-Nov-2011 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Remove the now unneeded Message-logic for hiding and showing the preview
* Put the clock mode radio buttons above the preview
Also makes hiding hte preview work again.


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


# f64b502d 29-Oct-2011 Ryan Leavengood <leavengood@gmail.com>

Hide the time zone preview in the Time preflet when the BIOS clock is set to
local time.

Fixes #6743.

I tried to mimic existing message constant naming, but may come back and fix
them all to our coding style. Is there some backwards compatible reason for
some of the constants being what they are?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42990 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


# 6d6408d6 28-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup, no functional change
* coding style adjustements
* fixed all warnings

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


# 4ae5a452 26-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Rewrote the timezone selection part of the time preflet to make use of ICU instead of our custom TZData.
* Not completely working yet, hte POSIX API isn't very happy about ICU timezone names.


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


# 3e58fe9e 21-Nov-2008 Stephan Aßmus <superstippi@gmx.de>

patch by Clemens Zeidler:
* Support dragging the clock hour and minute hands to set the time.
* Improved keyboard support for the time and date controls.

Thanks a lot!


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


# 1cae077a 26-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Applied patch by Philippe Saint-Pierre with some changes by myself:
* Added Revert button and Revert feature. The time at which the preflet
is started is remembered, the uptime of the preflet is calculated
via system_time().

TODO: Better placement for the Revert button. Currently it looks like it can
only revert date changes.


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


# dc7de148 20-Oct-2007 Karsten Heimrich <host.haiku@gmx.de>

* save and load the window position inside window class, center on first start

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


# 3ad1de3b 14-Oct-2007 Karsten Heimrich <host.haiku@gmx.de>

* implemented gmt/ local time switch, not working atm but will investigate

note: i think it should be enough to only call _kern_set_tzfilename(..) as the timezone offset and
dst would have been set by clockconfig on boot or from the time prefs panel while switching the
timezone. so the comment in _user_set_tzfilename should not be count and no update would
be needed. it should only take the sIsGmt boolean take into account when getting the time.

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


# 00826781 14-Oct-2007 Karsten Heimrich <host.haiku@gmx.de>

* implemented Time, Date, DateTime classes to be used in CalendarView
* implemented new Calendarview, capable to show/hide week numbers and day names
weekstart sunday/monday and getting the current selected date etc...

* updated mail addresses
* make use of the new calendar view in time prefs
* changed required classes to use the new date, time classes
* gmt/ local time change implementation is missing atm, will come next

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


# fd7c0c2e 14-Sep-2007 Stephan Aßmus <superstippi@gmx.de>

patch by Julun:
* fixed more style issues
* fixed small memory leaks
* refactoring
+ some small changes by myself, added back Michael Berg and Andrew McCall as
likely authors of most files which had no author information


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


# 42b3a11f 12-Sep-2007 Stephan Aßmus <superstippi@gmx.de>

patch by Julun:
* further cleanup of code to apply style guide
* removed now obsolete clock bitmaps
* some restructuring of the code
* adjusted layout of the time zone pane


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


# 53d9356e 07-Sep-2007 Stephan Aßmus <superstippi@gmx.de>

* applied another large patch to cleanup and refactor code by Julun (aka HOST)
* Julun also fixed some font sensitivity issues
* Julun already replaced the bitmap clock with resizable clock rendering,
I took this as a base and tried to make it visually pleasing



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


# 55475b64 10-Aug-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Changed signature to match r5's one. Fixes bug 629


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


# a10cf76e 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


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


# 31c0024d1b271b0b671c77432cce0be483b366f0 07-Nov-2012 John Scipione <jscipione@gmail.com>

Add Deskbar clock settings to Time Preferences

* Added a new Clock tab to the Time preflet. Added Clock related
controls there. They all function by communicating with Deskbar.
* Put controls in a BBox controlled by the Show clock checkbox.
This more clearly shows that all the clock settings are dependent
on the show clock setting since it doesn't matter what your clock
settings are if you don't show the clock.
* Make revert work.
* Split clock settings into it's own file and struct.
* Re-add the time zone setting.
* Remove the clock settings from the Deskbar preference window, they
are in Time now.
* Make Locale preferences accepts B_LOCALE_CHANGED message, although
not used.


# 20cc8cc800bb13748d94ba340dc857d5c963e83d 05-Nov-2011 Ryan Leavengood <leavengood@gmail.com>

Remove unneeded code after Adrien's improvements.


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


# f3b7dcd4d293221e7cb3f11fadbd30cfd8116f55 01-Nov-2011 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Remove the now unneeded Message-logic for hiding and showing the preview
* Put the clock mode radio buttons above the preview
Also makes hiding hte preview work again.


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


# f64b502da072e041cba79dd7d2ae764f10c21246 29-Oct-2011 Ryan Leavengood <leavengood@gmail.com>

Hide the time zone preview in the Time preflet when the BIOS clock is set to
local time.

Fixes #6743.

I tried to mimic existing message constant naming, but may come back and fix
them all to our coding style. Is there some backwards compatible reason for
some of the constants being what they are?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42990 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


# 6d6408d6bc3f988fdfcca33ebe35d8930e629497 28-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup, no functional change
* coding style adjustements
* fixed all warnings

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


# 4ae5a4522056245eaf4a6340d8f21d7617bd9ad8 26-Jul-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Rewrote the timezone selection part of the time preflet to make use of ICU instead of our custom TZData.
* Not completely working yet, hte POSIX API isn't very happy about ICU timezone names.


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


# 3e58fe9e70709527da3672ed1f8d8e6935da2c54 21-Nov-2008 Stephan Aßmus <superstippi@gmx.de>

patch by Clemens Zeidler:
* Support dragging the clock hour and minute hands to set the time.
* Improved keyboard support for the time and date controls.

Thanks a lot!


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


# 1cae077af90d277902626fb74f34c2239351d4f0 26-Apr-2008 Stephan Aßmus <superstippi@gmx.de>

Applied patch by Philippe Saint-Pierre with some changes by myself:
* Added Revert button and Revert feature. The time at which the preflet
is started is remembered, the uptime of the preflet is calculated
via system_time().

TODO: Better placement for the Revert button. Currently it looks like it can
only revert date changes.


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


# dc7de148c3be9339fbab75663b248b929b690d08 20-Oct-2007 Karsten Heimrich <host.haiku@gmx.de>

* save and load the window position inside window class, center on first start

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


# 3ad1de3b5ad87c6a4676f75701c1bec336cc28ed 14-Oct-2007 Karsten Heimrich <host.haiku@gmx.de>

* implemented gmt/ local time switch, not working atm but will investigate

note: i think it should be enough to only call _kern_set_tzfilename(..) as the timezone offset and
dst would have been set by clockconfig on boot or from the time prefs panel while switching the
timezone. so the comment in _user_set_tzfilename should not be count and no update would
be needed. it should only take the sIsGmt boolean take into account when getting the time.

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


# 00826781d4b5f07e130c9ed6d8d1b05eb57cab3a 14-Oct-2007 Karsten Heimrich <host.haiku@gmx.de>

* implemented Time, Date, DateTime classes to be used in CalendarView
* implemented new Calendarview, capable to show/hide week numbers and day names
weekstart sunday/monday and getting the current selected date etc...

* updated mail addresses
* make use of the new calendar view in time prefs
* changed required classes to use the new date, time classes
* gmt/ local time change implementation is missing atm, will come next

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


# fd7c0c2ed7da4e121fc5a97385bed6cff67c0e9e 14-Sep-2007 Stephan Aßmus <superstippi@gmx.de>

patch by Julun:
* fixed more style issues
* fixed small memory leaks
* refactoring
+ some small changes by myself, added back Michael Berg and Andrew McCall as
likely authors of most files which had no author information


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


# 42b3a11f1960a3ccac0a1c00c2811f0f37baca0d 12-Sep-2007 Stephan Aßmus <superstippi@gmx.de>

patch by Julun:
* further cleanup of code to apply style guide
* removed now obsolete clock bitmaps
* some restructuring of the code
* adjusted layout of the time zone pane


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


# 53d9356e967d34552894e58b5cd824cf83623004 07-Sep-2007 Stephan Aßmus <superstippi@gmx.de>

* applied another large patch to cleanup and refactor code by Julun (aka HOST)
* Julun also fixed some font sensitivity issues
* Julun already replaced the bitmap clock with resizable clock rendering,
I took this as a base and tried to make it visually pleasing



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


# 55475b649336a598d9cc507deb384afa966f418b 10-Aug-2006 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Changed signature to match r5's one. Fixes bug 629


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


# a10cf76ef5b9e8c726ebc47183abd6943023cf8f 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


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