Source Activity

Syndicate content
Haiku's main repository
Updated: 41 min 48 sec ago

Debugger: Add rename event for Team.

Sun, 2015-07-26 16:57
Team: - Add listener hook and event type for rename events. These occur on exec() since at this point we're running a different executable. TeamWindow: - Factor out code for generating window title into a helper, and use from both window initialization and newly implemented rename listener hook. Team: - Add listener hook and event type for rename events. These occur on exec() since at this point we're running a different executable. TeamWindow: - Factor out code for generating window title into a helper, and use from both window initialization and newly implemented rename listener hook.
Categories: Development

test/kits/net: Fix build of cookie_test

Sun, 2015-07-26 14:55
Categories: Development

test/kits/net: Fix build of NetEndpointTest

Sun, 2015-07-26 14:47
Categories: Development

PVS 122,123: useless checks.

Sun, 2015-07-26 13:38
Categories: Development

PVS 114: useless check.

Sun, 2015-07-26 13:35
We return a few line above if err is != 0. We return a few line above if err is != 0.
Categories: Development

PVS 112: check result of memcmp against 0.

Sun, 2015-07-26 13:33
Categories: Development

PVS 109: useless check

Sun, 2015-07-26 13:31
error was already checked one line above. error was already checked one line above.
Categories: Development

PVS 170: use boolean for if comparison

Sun, 2015-07-26 13:13
Direct use of strcmp result in if is against our coding style. Direct use of strcmp result in if is against our coding style.
Categories: Development

PVS 104: duplicate if check.

Sun, 2015-07-26 13:09
Categories: Development

PVS 95-103: useless error checks

Sun, 2015-07-26 13:06
These conditions were always true, remove them. These conditions were always true, remove them.
Categories: Development

PVS 78-85: useless checks

Sun, 2015-07-26 13:02
* These were always true, so remove them. * These were always true, so remove them.
Categories: Development

PVS76: useless check of null pointer

Sun, 2015-07-26 12:58
Refactor BResources::WriteResource to return early in case of errors, instead of checking permanently if (error == B_OK). Makes the code more readable and removes some useless checks. Refactor BResources::WriteResource to return early in case of errors, instead of checking permanently if (error == B_OK). Makes the code more readable and removes some useless checks.
Categories: Development

Correctly show normal-sized preview after returning from a very wide one

Sun, 2015-07-26 11:21
If the height had been reduced due to a very wide window being shown, it was not reset to its full value when switching back to a more narrow preview. Fix this by relayouting the window. Signed-off-by: Augustin Cavalier If the height had been reduced due to a very wide window being shown, it was not reset to its full value when switching back to a more narrow preview. Fix this by relayouting the window. Signed-off-by: Augustin Cavalier
Categories: Development

glibc: replace extern __inline with __extern_inline.

Sun, 2015-07-26 08:09
* this helps to comply with C99. As a reminder, some of these headers are also used by x86_gcc2 src/libs/stdc++. * this helps to comply with C99. As a reminder, some of these headers are also used by x86_gcc2 src/libs/stdc++.
Categories: Development

Debugger: Implement #9783.

Sat, 2015-07-25 21:18
TeamDebugger: - When we're notified that the target team has called exec(), take all necessary steps to prepare. These include saving settings for the old team, clearing out breakpoints, resetting signal dispositions, and removing the old team's image list. Also set a flag indicating an exec is pending for later processing. - On image load notification, if the pending flag is set, check if the new image is the app image, and if so update the team's name to the new image, load that respective team's settings, and set a temporary breakpoint in its main() so the user has a chance to perform any additional desired actions before starting execution in the new executable. TeamDebugger: - When we're notified that the target team has called exec(), take all necessary steps to prepare. These include saving settings for the old team, clearing out breakpoints, resetting signal dispositions, and removing the old team's image list. Also set a flag indicating an exec is pending for later processing. - On image load notification, if the pending flag is set, check if the new image is the app image, and if so update the team's name to the new image, load that respective team's settings, and set a temporary breakpoint in its main() so the user has a chance to perform any additio