History log of /haiku/src/apps/people/PersonView.h
Revision Date Author Comments
# 964b6e80 30-Oct-2023 Humdinger <humdinger@mailbox.org>

People: Accept initial values

Besides the entry_ref to an existing Person file as argv, also
accept a BMessage containing values for attributes and set those
in the new window.

The specifier name in the BMessage needs to be the same as the
attribute name used by the People app, e.g. "META:email".

Needed to let the Mail app create a new Person file with the email
address already filled in.

Fixes #14766

Change-Id: I637200b08d5c1b7cf52d7cf3f56dab93ce1a6ec5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7085
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


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

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


# 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


# 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


# 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


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

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


# 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


# 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


# 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