Commit Graph

44621 Commits

Author SHA1 Message Date
Philippe Saint-Pierre
aa18b83504 udf kernel add-on: memory leak fix (CID 743820). 2012-11-26 20:59:28 -05:00
Philippe Saint-Pierre
6fc6cc0c57 Canna: incorrect strlen calculation (CID 602178). 2012-11-26 20:03:50 -05:00
André Hentschel
a8fe6dad7e Fix header protection for the beagle board 2012-11-26 17:59:53 +01:00
Alex Smith
afd0470932 Disable DEBUG in x86emu Jamfile rather than in x86emui.h. 2012-11-26 15:17:47 +00:00
Oliver Tappe
c077f5002f Fix #9217 - BTextView should clamp given offsets to avoid crashes
* applied patch provided with ticket, thanks!
* extended patch to implement offset clamping for all public methods
  of BTextView and remove some checks from private methods to define
  a clear baseline for sanity of offsets used in the code
2012-11-26 11:36:22 +01:00
Philippe Saint-Pierre
1a58fe65ee fwcontrol: initialize the string before using it, and style fixes
CID 702202.
2012-11-25 23:31:32 -05:00
Philippe Saint-Pierre
02ca2d82d6 ZombieReplicantView: Dereferrence before NULL check (CID 743868) 2012-11-25 21:44:09 -05:00
Philippe Saint-Pierre
815ae79848 StackAndTile: deferencing occuring before null check (CID 743845) 2012-11-25 21:05:17 -05:00
Philippe Saint-Pierre
923d64efa1 Tracker: Prevent TextWidget to start editing twice
It was possible to confuse TextWidget to start editing twice (clicking on the widget and during the wait,
pressing F2) and confusing the states of the TextWidget.
2012-11-25 20:35:40 -05:00
Philippe Saint-Pierre
d6a17f3d78 Tracker: fix memory leak in OpenWithFilter. (CID #715684) 2012-11-25 20:35:39 -05:00
Philippe Saint-Pierre
dbe3088153 Tracker: Tracker crashes in KeyDown() if there are no models associated with the PoseView.
Happens in special windows, such as OpenWith Window, that do have a PoseView not associated
with a model.  Fixes #8160.
2012-11-25 20:35:39 -05:00
Oliver Tappe
52cdfde04b Fix relying on order of static object destruction in Locale Kit.
* use only a single static object (MutableLocaleRoster) instead of
  two, which avoids any problems if the order of static object
  destruction would destroy RosterData before MutableLocaleRoster
* rename BPrivate::RosterData to BPrivate::LocaleRosterData and move
  it into a header and implementation file of its own
This should hopefully fix problems encountered with a clang-compiled
Locale Kit.
2012-11-26 01:19:27 +01:00
Oliver Tappe
a22e8c6fe2 Cleanup: respect 80 chars/line limit. 2012-11-26 01:19:24 +01:00
Matt Madia
2510baa468 Add x86_64 to IOP 2012-11-25 16:28:52 -05:00
Matt Madia
9d833d3147 Add newline at end of file. 2012-11-25 15:07:48 -05:00
Niels Sascha Reedijk
59cf63d71a Update translations from Pootle 2012-11-25 19:09:51 +01:00
Adrien Destugues - PulkoMandy
f139447d0a Fix catalogs stored in resources
We used the hash of the language code as a key for identifying catalogs.
However, hash do collide, and in particular, "en" and "fi" have the same hash.
Identify catalog resources by name instead.
2012-11-24 22:05:26 +01:00
Rene Gollent
f1ea2af3e7 Check that both state and reason are the same.
- If a thread was already in a stopped state, but we received
  an update that indicated something more specific, it would be
  ignored, i.e. changing
  from simply being in a debugged state to specifying a debugger
  call + message. We now check both state and reason before ignoring
  the update. Fixes debug reports not receiving the debugger call
  message properly when intercepting an actual crash as opposed to
  an app running inside the debugger.
2012-11-24 12:49:07 -05:00
John Scipione
e1fb666f81 While I'm at it update Tracker preferences ListView.
* Use be_control_look->DefaultLabelSpacing() instead of hard-coding 4px.
* Use pre-generated system colors.
* Indicate a pane is revertable by making the font bold instead of
  blue. This makes the revertable setting orthogonal with the
  selected setting (can be both bold and selected color).
2012-11-24 11:37:51 -05:00
John Scipione
63881c3a88 Update StringItem use be_control_look->DefaultLabelSpacing()
Also update the Update() method to take into account the added
spacing.

Thanks Axel and Stippi.
2012-11-24 11:37:50 -05:00
Alexander von Gluck IV
7018b3c67e Rpi: Convert start.c to cpp
* Wrap _start in extern "C" to prevent
  symbol mangling.
* Thanks mmlr for reminding me of this! :)
2012-11-24 08:11:26 -06:00
Rene Gollent
dc074b4512 Include stop reason in report if available. 2012-11-24 09:05:55 -05:00
Alexander von Gluck IV
bbe04a83e0 Rpi: Fix build of Raspberry Pi.
* Raspberry Pi is broken now after
  the other recent arm work... needs
  more investigation.
* Comment out stage2 header as it
  links to headers with c++ code.
  Need to verify entry.s can call
  c++ code (I think it's mangled to
  the assembly or something)
* Fix naming of code entry to match
  other arm code.
2012-11-24 07:49:04 -06:00
Rene Gollent
a540b98527 Notify user in GUI when debug report has been written. 2012-11-24 00:53:25 -05:00
Rene Gollent
5fe3a57c43 Fix handling of automatic debug reports.
- CommandLineUserInterface is now a team listener. Consequently, when asked
  to generate a debug report on startup without running the input loop,
  it now waits for receipt of the debug report event to terminate.

- Style fixes.
2012-11-24 00:53:09 -05:00
Rene Gollent
248c2ff45c Rework control flow for debug report generator.
- DebugReportGenerator is now its own BLooper that generates reports asynchronously
  instead of in TeamDebugger's message loop.
- If a stack trace isn't yet available, DebugReportGenerator now waits for it to
  be generated.
- Extended Team to add a listener event for report generation completing. DebugReportGenerator
  now generates such an event when it has finished writing a report.
2012-11-24 00:44:00 -05:00
John Scipione
793d00f975 Remove obsolete time update checking code.
This was put into OpenDeskbar a long long time ago (2001):

http://opentracker.cvs.sourceforge.net/viewvc/opentracker/opentracker/deskbar/TimeView.cpp?r1=1.2&r2=1.3

However, this trick will no longer work because we use a localized
time string from the Locale Kit that might not have a ':' as a
time separator anymore. Also with day of week we don't know the
position of the time separator either.
2012-11-23 23:02:03 -05:00
John Scipione
d7e572eb57 Remove MPEG2 transport stream (mp2t) sniffer rule
The rule is too general matching any unidentified file whose
contents start with the letter 'G' because 'G' = 0x47.

This fixes #9193
2012-11-23 21:37:53 -05:00
John Scipione
4807bf0849 Move StringItem text over 4 pixels.
This is so that it does not get draw flush to the edge of the
list view and there is just a bit of padding between the left
edge and where the text starts. The 4 pixels matches other
places that override the DrawItem() method (like Tracker prefs).
2012-11-23 21:32:49 -05:00
Ithamar R. Adema
1d5e2248f2 Add modeline for 1366x768 resolution
This is the native resolution for my Sony Vaio laptop, but somehow is
not properly picked up automatically.
2012-11-24 02:50:01 +00:00
John Scipione
f496c69cb5 Adjust time zone spacing so that the window doesn't resize.
Adjust the spacing of the time zone settings in Time prefs so that
switching between Local time and GMT time won't resize the window
when hiding and showing the current and preview times. This means
that the Time preferences window always stays a constant height
without any tricks needed to adjust it after the fact. Before this
change the Time preferences window would change height depending
on the setting, which while not terrible, was probably not
what the author intended.

As a side note I adjusted the window to use B_USE_DEFAULT_SPACING
instead of hardcoded 5px so that the window spacing will adjust to
font size changes.
2012-11-23 18:38:18 -05:00
Oliver Tappe
7c3985c617 Fix build of gcc2 on BSD (with bsdmake)
* apparently, -j1 doesn't work as intended with bsdmake, so we drop
  any multiple-job specification from MAKEFLAGS, instead
2012-11-23 21:10:24 +01:00
Rene Gollent
4e156d9a78 Allow saving a crash report from debug_server.
- When debug_server is built to use the graphical debugger as its
  crash handler, also present the option to save a report instead
  of debugging the app. Doesn't work 100% correctly yet though since
  the report generator needs to wait for stack traces to be generated
  if they aren't yet ready.
2012-11-23 13:23:24 -05:00
Rene Gollent
6799de315e Add command line option to ask Debugger to save a report.
- When invoked, starts up the CLI such that it bypasses waiting for
  input and instead save a crash report of the running team, then exits.
  Mainly intended to be used by debug_server.
2012-11-23 13:04:49 -05:00
Rene Gollent
137bb1e2aa Extend CLI debug report command to optionally accept a report path. 2012-11-23 12:45:40 -05:00
Rene Gollent
ae10992d0e Fix order. 2012-11-23 11:57:23 -05:00
Rene Gollent
0bbe873d9e Add some basic system information to the report header. 2012-11-23 10:56:06 -05:00
Rene Gollent
e03ee8ba35 Add missing include. 2012-11-23 10:55:50 -05:00
Rene Gollent
bb7d146c64 Add CLI command for saving debug reports. 2012-11-22 23:41:34 -05:00
Rene Gollent
53342f94c9 Factor out report name generation as a utility function. 2012-11-22 23:41:11 -05:00
Ithamar R. Adema
53a59cd99a Fix minor typo 2012-11-22 22:58:24 +01:00
Ithamar R. Adema
0f16abe379 Update todo notes 2012-11-22 21:30:54 +01:00
Ithamar R. Adema
99d027cd02 ARM/ltrace: add stubs 2012-11-22 20:09:10 +01:00
Ithamar R. Adema
79a34d6fc6 ARM/debug: add ARM stubs 2012-11-22 20:09:09 +01:00
Ithamar R. Adema
2beda3bb5b ARM/runtime_loader: add stub to make it compile 2012-11-22 20:09:09 +01:00
Ithamar R. Adema
b190a54c40 activitymonitor: remove B_MAX_CPU_COUNT reference
It has no use, since we don't know its value and the list of colors
might be longer (for example, for ARM currently B_MAX_CPU_COUNT is
only 1). The modula operator later on makes sure we keep within the
bounds of the kColors array anyway.
2012-11-22 20:09:09 +01:00
Rene Gollent
ba71ae7552 Prompt user for location to save report to. 2012-11-22 12:09:46 -05:00
Rene Gollent
2bf866783c Cleanups. 2012-11-22 11:44:20 -05:00
Rene Gollent
19ea0235be Formatting tweaks to loaded image output. 2012-11-22 10:57:11 -05:00
Rene Gollent
3d09339ddd Added convenience formatting function for image types. 2012-11-22 10:56:26 -05:00