Commit Graph

43142 Commits

Author SHA1 Message Date
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
Alexander von Gluck IV
8899214980 usb_serial: Fix typo, set up endpoints properly
* Can successfully send data to Option USB serial device now
  (I need to do some testing before turning it on though)
2012-07-22 12:06:27 -05:00
Alexander von Gluck IV
52b7ccf49e usb_serial: Probe for USB endpoints on Option device
* More then one serial port is common, for now we only
  work off of the first one detected.
* Still disabled as some setup is needed.
2012-07-22 11:57:25 -05:00
Alexander von Gluck IV
b3b04af940 usb_serial: Add new Option driver
* Option devices are generally WWAN serial
  devices for 3G or lower.
* Picks up my CMOTECH Sprint 3G adaptor, need
  to wire up endpoints so disabled for now.
2012-07-22 11:06:48 -05:00
Philippe Saint-Pierre
1236c746af Tracker: a file leaving Trash won't appear in QueryPoseView
Fixing #1592.

A feedback FSNotification()->EntryMoved->PendingNodeMonitorCache->FSNotification
was seemingly introducing some race condition, as it was working 1 time
on several tries.
2012-07-21 22:09:45 -04:00
Rene Gollent
55d6e32c7d Fix name generation for void pointer parameters. 2012-07-21 17:34:31 -04:00
Michael Lotz
7050e3cd84 Fix wrong assignment. CID 702303. 2012-07-21 19:27:06 +02:00
Philippe Saint-Pierre
5cf20610e1 FontDemo: Further cleanup
the strlen was used also in _AddShapes.  Widen use of BString.

Sorry for the noise!
2012-07-21 12:58:05 -04:00
Philippe Saint-Pierre
c5e8e32acd FontDemo: Cleanup of previous UTF-8 compliancy fix
Avoid using the private API, rather use the public BString. Thanks mmlr.
2012-07-21 12:23:18 -04:00
Philippe Saint-Pierre
6b0362305f FontDemo: make it multibyte chars compliant (UTF-8)
fixes #8146.
2012-07-21 11:17:41 -04:00
Alex Smith
e6e6f56ccf Include compat/sys/kernel.h rather than "kernel.h".
Using "kernel.h" was pulling in the private kernel.h header instead,
which was causing a build failure on my branch since arch_cpu.h is
C++-only there.
2012-07-21 14:09:08 +01:00
Ingo Weinhold
0a592099a9 Debugger: Rework CLI setup to no longer create a BApplication
The main thread does now serve the CLI input loop.
2012-07-21 09:19:18 +02:00