History log of /haiku/src/apps/people/PersonView.cpp
Revision Date Author Comments
# d63ed584 15-Jan-2017 Adrien Destugues <pulkomandy@pulkomandy.tk>

People: revert window spacing changes

Revert changes from d0ac609964842f8cdb6d54b3c539c6c15293e172

The People window include a dark grey stripe, which must be next to the
window border with no spacing. The spacing was properly done inside the
main view.

Thanks to Diver for noticing the issue.


# d0ac6099 07-Nov-2015 Humdinger <humdingerb@gmail.com>

Use B_USE_WINDOW_SPACING

Use B_USE_WINDOW_SPACING as inset from contents to window border.
Some whitespace cleanup.


# 89d2bf3a 23-Jun-2013 Philippe Saint-Pierre <stpere@gmail.com>

People: allocate BFile on stack


# a09c983c 22-Jun-2013 Philippe Saint-Pierre <stpere@gmail.com>

People: open files in READ_WRITE mode only when necessary. (#5791)


# 14b32de1 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

People: some 64 bit fixes


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 89aa6cbe 21-Mar-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix #7300:
* When saving, the internal bitmap wasn't detached from stream, which then
deleted it, paving the road to a crash at next bitmap access.
* When saved, notify PictureView that current and original pictures are
the same.

Also, add support for bitmap paste (needs more improvement) and
to avoid reloading picture on B_STAT_CHANGED after our own save operation.


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


# e5dca0c2 02-Mar-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

* Scale down a bit the picture view, now using the same ration than
official (passport, ID card) photos
* Add a tooltip to give user some hints on the picture "field"


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


# f22fe14c 28-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

* Implement "Load Image" popup menu.
* Implement B_COPY_TARGET drop event. People is not (yet) ready to
to be itself such target (copying a person picture to another one),
though.
* Remember the source type and MIME and use them to save the picture in same
format when possible.
* Avoid flickering when only focus is changing.



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


# b2435cc0 24-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Save picture in JPEG format instead of PNG, for space consideration.
Small style fix.


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


# 0f5f1701 24-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed previously hardcoded strip width computation.


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


# 84627497 23-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Add a new feature to People app: a picture can now be stored in Person file,
besides attributes.


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


# fd44ef42 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Initialize fGroups, since that is used in BuildGroupMenu() called by the window.
If the user removed the groups attribute from the Person MIME type, People would
crash when trying to open any menu. (untested)


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


# 968ec77e 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Renamed PeopleWindow/View to PersonWindow/View, since they only show one person at a time.


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


# 89d2bf3aa73d4479920cf065c69ad71770a34494 23-Jun-2013 Philippe Saint-Pierre <stpere@gmail.com>

People: allocate BFile on stack


# a09c983cc63b6d50c46a0f2a872fb1adbffcc363 22-Jun-2013 Philippe Saint-Pierre <stpere@gmail.com>

People: open files in READ_WRITE mode only when necessary. (#5791)


# 14b32de1d5efe99b4c6d4ef8c25df47eb009cf0f 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

People: some 64 bit fixes


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 89aa6cbe13fc6e078cfc6046e1ca7893d903222c 21-Mar-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix #7300:
* When saving, the internal bitmap wasn't detached from stream, which then
deleted it, paving the road to a crash at next bitmap access.
* When saved, notify PictureView that current and original pictures are
the same.

Also, add support for bitmap paste (needs more improvement) and
to avoid reloading picture on B_STAT_CHANGED after our own save operation.


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


# e5dca0c2c0d01d85b61762fb110c81ea06612707 02-Mar-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

* Scale down a bit the picture view, now using the same ration than
official (passport, ID card) photos
* Add a tooltip to give user some hints on the picture "field"


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


# f22fe14c4c6596df63b7bd811da69923d8c84972 28-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

* Implement "Load Image" popup menu.
* Implement B_COPY_TARGET drop event. People is not (yet) ready to
to be itself such target (copying a person picture to another one),
though.
* Remember the source type and MIME and use them to save the picture in same
format when possible.
* Avoid flickering when only focus is changing.



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


# b2435cc0219acf6685525dc984df08fe798d619c 24-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Save picture in JPEG format instead of PNG, for space consideration.
Small style fix.


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


# 0f5f1701c940abbda139a2056a71f2bf7c56d478 24-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed previously hardcoded strip width computation.


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


# 84627497fb50f0217c24d3c8af4b68f5566b4e6d 23-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Add a new feature to People app: a picture can now be stored in Person file,
besides attributes.


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


# fd44ef42117c1f14167ee3a376516d34628835c3 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Initialize fGroups, since that is used in BuildGroupMenu() called by the window.
If the user removed the groups attribute from the Person MIME type, People would
crash when trying to open any menu. (untested)


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


# 968ec77e1f783265bc393eae565c5166c5a13bd8 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Renamed PeopleWindow/View to PersonWindow/View, since they only show one person at a time.


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