Commit Graph

43172 Commits

Author SHA1 Message Date
Alex Smith
e715eca04c Worked around broken GCC 2 on OS X hosts.
GCC 2 built for OS X 10.7/10.8 was broken, the Haiku build would fail
with some strange errors. Forcing compilation of GCC 2 in 32-bit mode
results in a working GCC.
2012-07-29 21:03:14 +01:00
John Scipione
1ac528017d Refactor IconUtils.cpp
Mostly style changes, some functional changes although there is no
change in functionality for the success case, just cleaner code.
2012-07-29 13:07:45 -04:00
Rene Gollent
224f75100b Implement support for separate debug info files.
- When loading an image, we now check if it has a .gnu_debuglink section.
  If so, we try to load the linked file for our symbolic debugging information.
  The file is searched for with the following rules:
    1) If self-contained app, app image is looked for in ./debug while
       library/add-on images are looked for in ../debug/.
    2) If the image in question is in one of the global locations
       (/boot/{common,system,home/config}/{lib,add-ons}), we search
       in develop/debug for the corresponding global dir.

  Implements #8135.
2012-07-29 07:12:49 -04:00
Humdinger
200dec066f Adjust strings to the Haiku style. 2012-07-29 10:47:10 +02:00
Ryan Leavengood
6a03786cc9 Draw menus using the user chosen colors. 2012-07-28 23:02:17 -04:00
John Scipione
1510ac0081 Refactor icon scaling, fix off-by-one error.
Refactor the icon scaling code in IconUtils.cpp to avoid code
duplication. Basically create and delete the temp bitmap to
convert from B_CMAP8 to B_RGBA32 for scale2x/scale3x/scale4x
just one time instead of 3.

There was an off-by-one error in Deskbar which was causing
it to scale up the 16x16 Bitmap icon to 32x32 instead of just
using the 32x32 icon. This only affected BeOS bitmap-based
icons, not Haiku HVIF icons.
2012-07-28 22:00:22 -04:00
Ryan Leavengood
688e878807 Don't check for double click if it was a right mouse click.
Fixes #8714.
2012-07-28 19:58:28 -04:00
Ingo Weinhold
d266c87d17 Debugger: CliContext: Introduce the notion of events
* The input loop can now wait on abstract events, which other threads
  (or even the input loop thread itself) can signal.
* Use the new mechanism in QuitSession().
* Also (with the exception of the SIGINT part) implement
  WaitForThreadOrUser().
2012-07-29 00:28:56 +02:00
Ingo Weinhold
4d8eaa5b11 Debugger: UserInterface.h: style cleanup 2012-07-29 00:28:56 +02:00
Ingo Weinhold
726d557c9e Debugger CLI: Wait for TeamDebugger thread to die before exit() 2012-07-29 00:28:56 +02:00
John Scipione
e51854a127 Add 96x96 and 128x128 icon sizes to tracker including scaling of BeOS icons using scale3x and scale4x algorithms. 2012-07-28 14:07:43 -04:00
John Scipione
ea001e585a Round 2 of style changes to Tracker
* focused on 80-char limit fixes.
* also some whitespace and case statement indentation fixes
2012-07-28 14:02:35 -04:00
John Scipione
a51764c53e WIP: Yet more style fixes, mostly 80 char violations. 2012-07-28 14:02:34 -04:00
Alex Smith
0d47dc5dd2 Fixed incorrect variable name in generated BuildConfig. 2012-07-28 16:26:07 +01:00
Niels Sascha Reedijk
343892dc2d Update translations from Pootle 2012-07-28 06:23:24 +02:00
Niels Sascha Reedijk
9468090b43 Update translations from Pootle 2012-07-28 06:23:24 +02:00
John Scipione
96a1e39a63 An error while emptying trash is not that dramatic. 2012-07-27 20:46:48 -04:00
John Scipione
caaec0198e A for loop with just an end condition is better as a while loop. 2012-07-27 20:46:48 -04:00
John Scipione
b05aa8b5b1 Style changes in Tracker, no functional change.
Manual whitespace cleanup
Change instances of const char * to const char*
Convert /* */ C style comments to // C++ style comments
2012-07-27 20:46:47 -04:00
Ingo Weinhold
8fe9f8b2d0 Debugger CLI: Move more stuff to and extend CliContext
* Move the libedit interface there and provide nicer to use methods.
* Also start adding utility methods for the input loop. It is going to
  manage all interactions of the input loop with outside events.
* Fix the "quit" command. The user is now prompted what to do with the
  debugged team and the input loop thread avoids reentering the input
  loop.
2012-07-27 23:42:01 +02:00
Ingo Weinhold
eba38eb503 Debugger: Change user interface quit and ask user semantics
* UserInterface::SynchronouslyAskUser() is now allowed to return -1 to
  indicate that the user cannot be asked at this point for whatever
  reason. The caller needs to handle that case.
* UserInterfaceListener::UserInterfaceQuitRequested(): Add new parameter
  "quitOption" to specify what is supposed to happen. The previous
  behavior (ask user) is only one of the options. The others are to kill
  the debugged team or to resume it.
2012-07-27 23:42:01 +02:00
Ingo Weinhold
f58478507c Debugger: In CLI mode block SIGINT in all threads
It is supposed to be handled in the input loop thread only (eventually).
2012-07-27 23:42:00 +02:00
Ingo Weinhold
71e5d26b5f Debugger: Add utility class SignalSet 2012-07-27 23:42:00 +02:00
Niels Sascha Reedijk
8c663339c8 Update translations from Pootle 2012-07-27 09:14:49 +02:00
Ryan Leavengood
1484de58a8 Focus the Team Monitor list view on Show(). Fixes #8775. 2012-07-26 22:51:45 -04:00
Philippe Houdoin
47b44bbedb Fix SerialConnect gcc4 build. 2012-07-26 23:55:39 +02:00
Philippe Houdoin
a3b73ff9d1 Fix insets 2012-07-26 23:31:57 +02:00
Adrien Destugues - PulkoMandy
a2021beee2 Fix display for basic stuff. 2012-07-26 23:16:47 +02:00
Niels Sascha Reedijk
059d39f1b9 Localize strings in the GLife screensaver 2012-07-26 18:37:40 +02:00
Niels Sascha Reedijk
aabe9c1b92 Generate translation catalogs for WebPositive
Change suggested by Rene Gollent
2012-07-26 17:06:35 +02:00
Niels Sascha Reedijk
910d677e3e Update translations from Pootle 2012-07-26 10:02:14 +02:00
Niels Sascha Reedijk
429212969e Update translations from Pootle 2012-07-26 09:24:15 +02:00
Alexander von Gluck IV
48e4132e28 efi: Correct Haiku UUID in hrev44405
* I was working off of an old mailing list post
* This is the *final* Haiku BFS1 UUID
2012-07-25 21:08:53 -05:00
Adrien Destugues - PulkoMandy
f441fd03b6 Working serial connection.
Still need some work on displaying the right chars at the right place.
2012-07-25 23:24:22 +02:00
Humdinger
bed0d7384b Pulling declarations back into loop, plus small style change.
Pointed out by Jérô and John. Thanks,
2012-07-25 20:24:00 +02:00
Humdinger
48249b2064 Stylefixes, no functional change. 2012-07-25 19:16:11 +02:00
Humdinger
a736c8aa6b Patch by x-ist, thanks! Fixes non-terminating ReplaceAll, #8141. 2012-07-25 18:48:24 +02:00
Alexander von Gluck IV
f081f8b731 efi: Add more GPT partition GUID's
* Create a new Haiku GPT GUID (BeOS type not defined atm)
* Haiku BFS UUID by Andre Braga circa 2009 ML post
  "Defining the Haiku UUID for GPT and other uses"
* I'm putting this GUID on wikipedia and pushing to
  the linux gpt partition tools... should be a good
  way to kickstart it in the ecosystem
2012-07-25 08:26:07 -05:00
Rene Gollent
542ee07706 Slight cleanup of previous commit. 2012-07-24 19:23:39 -04:00
Rene Gollent
003dedca93 Fix #8768.
- When invoking ProcessController's menu, we now only show the "Live in Deskbar"
  menu item if we're either running within Deskbar itself or from PC's standalone
  window. This allows replicant PC instances to be usable in the case where
  Deskbar is deadlocked for whatever reason (previously it would hang while trying
  to query for the deskbar item's presence/status).
2012-07-24 19:09:53 -04:00
Fredrik Modéen
e2c343a22a Fixing #6913.
* Checking and setting a default value if both icon and text are false.
2012-07-25 00:49:30 +00:00
Ingo Weinhold
aacf2782d8 Debugger: Switch from readline to libedit 2012-07-25 00:11:14 +02:00
Philippe Saint-Pierre
b866f1fa54 Tracker: Files created from templates are now monitored
fixes #2796.
2012-07-24 14:53:57 -04:00
Axel Dörfler
846b2f90f6 Changed the kernel's file_map.cpp to be usable from the fs_shell as well.
* This should reduce our maintenance burden a tiny bit :-)
* It also fixes a bug in the fs_shell, see hrev43395.
2012-07-24 16:00:22 +02:00
Philippe Saint-Pierre
4c45f003ed Tracker: Right clicking on Pose triggered Rename prompts
Right clicking on a Pose to get the contextual menu would quite often
trigger a rename action of that pose. Don't allow to rename a pose
by releasing the secondary mouse button.
2012-07-23 22:38:44 -04:00
Philippe Saint-Pierre
e32c26f1c7 Notification preflet: add margin to views in TabView 2012-07-23 21:53:33 -04:00
Scott McCreary
dc321a67d6 Fixed pair of typos in hgrep script. 2012-07-23 22:23:41 +00:00
Philippe Saint-Pierre
fb678bc3d0 Tracker: Sorting in filtered view led to crash
Fixes #6992.
2012-07-23 19:06:08 -04:00
Ingo Weinhold
f4b1ddb580 Debugger: Coding style: normalize naming, some whitespace fixes
* TeamUISettings[Factory] -> TeamUiSettings[Factory]
* GUITeamUISettings -> GuiTeamUiSettings
* GUISettingsUtils -> GuiSettingsUtils
2012-07-24 00:28:37 +02:00
Scott McCreary
2c1dcd1fee Added hgrep and lgrep as OptionalPackages, this fixes #3376. 2012-07-23 21:52:41 +00:00