Commit Graph

43103 Commits

Author SHA1 Message Date
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
Fredrik Modéen
1615cec9cc Fixing #7984 and some code guidelines. 2012-07-24 00:07:19 +00:00
Ingo Weinhold
48b4d20480 Debugger CLI: Add "threads" command
It just lists the team's thread.
2012-07-23 23:52:46 +02:00
Ingo Weinhold
533a73766d Debugger: Create UiUtils helper class
Currently only a method to get a description for a thread state lives
there (code pulled from ThreadListView).
2012-07-23 23:52:46 +02:00
Ingo Weinhold
a6de32b06c Debugger CLI: Pull QuitCommand out of CommandLineUserInterface 2012-07-23 23:52:46 +02:00
Ingo Weinhold
d0ef75400b Debugger CLI: Start to imbue CliContext with life 2012-07-23 23:52:45 +02:00
Ingo Weinhold
abbcb2caf5 Debugger: Use readline in the CLI
This is a bit hacky, since gdb's readline is used. It would probably be
best to prepare an optional build package.
2012-07-23 23:52:45 +02:00
Philippe Saint-Pierre
c082e8f2e2 Tracker: Variation between Saved and Restored widths
When restored, an overlap was wrongly detected in offsets for
failure to take into account the width of the border line.

This was causing the horizontal scrollbar to show unnecessarily.
2012-07-23 17:05:57 -04:00
Philippe Saint-Pierre
50d739dee5 Tracker: Regression fix
A crash of Tracker was triggered when accessing AddOn menu (by
shortcut or context-menu) for Pose on Desktop, because of it's
incapacity to read the mime type list (that wasn't built in
those cases).
2012-07-23 16:15:19 -04:00
Adrien Destugues - PulkoMandy
dae0a4e0ab WIP version of SerialConnect. Not working, but added to the tree anyway so :
* You can code review it
 * You can help developping
Uses libvterm as the backend for parsing ANSI escape sequences. The lib was
changed slightly to build with GCC2. It could be used by Terminal as well as
it seems cleaner and more reliable than our current parser.
2012-07-23 21:36:40 +02:00
Adrien Destugues - PulkoMandy
fc3f40765a Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-23 21:32:24 +02:00
Philippe Saint-Pierre
5cdd07a814 Tracker: Optimisation of AddonMenu menu construction
1. Build the list of mimetypes of files in selection only once and
reuse it for all further tests.

2. Fix a regression introduced in hrev44384 where the MimeType()
wouldn't get recognized when just changed by tracker (by that same
right click).  It would be on subsequent clicks.

3. Rename the static map variable to better fit our coding style
and be more understandable.
2012-07-23 14:47:24 -04:00
Philippe Saint-Pierre
b6a70ecba9 ProcessController: fix display of CPU bars for systems having 3 cores
Generalize the drawing of separator lines for every number of cores
requesting them.

Fix the layout for 3 cores systems.

Should fix #8763.
2012-07-23 10:16:37 -04:00
Philippe Saint-Pierre
516cac7817 Tracker: Coding style violations fixes and typos
No functional changes, thanks Axel!
2012-07-23 08:21:43 -04:00
Philippe Saint-Pierre
674ff0df2f Tracker: Various sorting issues in Tracker
When sorting files by Modified dates, right clicking on a file was leading
to a sorting issue where files were changing positions (without reason).

1. Any changes to stats (size, modification, creation, mode) was triggering
the sorting. Now only stats fields currently used as a Sort criteria will
trigger such event.

2. The Mimeset of file was set (in case of unknown file format) once per checked
add-on when building AddOn Menu. Now it's checked once per file in selection.
(so, once per file, rather then once per file, per add-on).

3. Now rely on registrar to force the mimeset (to trigger the sniffer in case
the attribute already exist) rather than trying to duplicate the feature in Tracker.

4. When Sorting, if there is a old position known, check if it's working by looking
if you should come after the previous item, and before the following item.  Previously,
the item would be pushed at the top if the group of item all fitting the criteria
(same file size, same file kind, etc.. depending on the sorting criteria).

Fixes #8478.
2012-07-22 22:16:19 -04:00
John Scipione
8cf6d28f99 It is okay to delete dragMessage even if it is NULL. Not worth the branch. 2012-07-22 16:00:21 -04:00
John Scipione
8f29b6e639 indent break statements. Only delete dragMessage if not NULL. 2012-07-22 16:00:21 -04:00
John Scipione
47a394ec13 Replace calls to DragRegion() with fDragRegion avoiding a function call. Move variables in MouseMoved down to just before they are used. 2012-07-22 16:00:20 -04:00
Rene Gollent
d7ed9414a3 Fix #8523.
- When the message filter would receive and process a mouse moved message,
  if the message resulted in causing the deskbar to relocate or reorient
  itself, it was possible for the expando view to become detached from
  the looper. Consequently, if the intercepted mouse moved happened to have
  come from the latter, when returning out of the filter the view would no
  longer have a target looper, triggering a debugger condition in BLooper.
  In order to prevent this situation, we now dispatch a message asking for
  the layout change to occur asynchronously.
2012-07-22 15:53:19 -04:00
Alexander von Gluck IV
7e67ec90a4 usb_serial: Set option driver to use the last found port.
* Add a warning when >1 port is found (as we only use the
  last found serial port)
* Verified working, remove if 0.
2012-07-22 13:48:57 -05:00