Commit Graph

52560 Commits

Author SHA1 Message Date
Markus Himmel 70dc2e27e9 Add BTranslatorRoster documentation 2015-01-03 01:20:35 +01:00
Markus Himmel b9e01b33ed Fixup BTranslator documentation 2015-01-03 01:20:28 +01:00
François Revol 02bdb5db9a Add libtranslation group definition to doxygen stuff 2015-01-03 01:05:27 +01:00
John Scipione 4536c6033b Update BToolTip class docs, added credit.
with remarks from Axel and PulkoMandy, thanks guys.
2015-01-02 18:15:25 -05:00
Humdinger 985d0a7b8a Updated QuickLaunch package. 2015-01-02 13:45:39 +01:00
Rene Gollent 4d9388f389 Debugger: Adjustments to syntax highlighter.
SyntaxHighlighter/CLanguageFamilySyntaxHighlighter/SourceView:
- TeamTypeInformation is now passed as a parameter when requesting parsing,
  so highlighters can make use of it to identify types. Adjust callers.

CLanguageFamilySyntaxHighlightInfo:
- Use TeamTypeInformation to check if identifiers map to types, and highlight
  accordingly if they do.
2015-01-01 17:49:02 -05:00
Rene Gollent d21bcbb0ac Debugger: Extend TeamTypeInformation interface.
TeamTypeInformation:
- Add interface function to allow simply querying for whether a
  type is known to exist by a name + constraints, without actually
  requesting that it be instantiated, and implement in TeamDebugInfo.

GlobalTypeLookup:
- Add analogous type lookup function to the above, and implement in
  TeamDebugInfo.

{Specific,Debugger,Dwarf}ImageDebugInfo:
- Add function for type existence query, and implement in subclasses.
2015-01-01 17:49:01 -05:00
Rene Gollent 492a649b19 Debugger: Optimize type lookups.
DwarfImageDebugInfo:
- On initialization, we now walk the list of compilation units and
  build a hash table of all of their contained types. The table is then
  used by GetType() to quickly find the subset of DIEType objects that
  match the requested name, and then compare only those to the
  given constraints to find the best match.

For a more complex image such as libbe or Debugger itself, this reduces
the time for an uncached type lookup from around 50 msec to < 10 usec on
my i7.
2015-01-01 17:44:36 -05:00
Automatic Committer 5b690a810c Update pci.ids from pciids.sourceforge.net 2015-01-01 05:20:21 +01:00
Alexander von Gluck IV 8495ff9b7a apps/glteapot: Don't lock, then issue BGLView::Resize
* BGLView has it's own locking, this isn't the correct
  behaviour as you only lock for gl* calls
* Resolves problems with window not scaling properly
  on proper llvmpipe
2014-12-31 21:47:05 +00:00
Markus Himmel 27c555cb7b Fix #8881: Add color drops to Backgrounds
- The Backgrounds preferences app will now accept color drops.
- The Backgrounds app will update if a color drop to the desktop
has changed its color due to a direct color drop

Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2014-12-31 19:05:06 +01:00
Adrien Destugues 23873c705c Missing braces in BMessageFormat format string.
Fixes #11678.
2014-12-30 22:32:51 +01:00
Markus Himmel 29608b033c Fix BTranslator documentation formatting
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

GCI2014 task https://www.google-melange.com/gci/task/view/google/gci2014/5830218824548352
2014-12-30 22:28:19 +01:00
François Revol d7c90b6275 Add doxygen file for BTranslator class.
By Markus Himmel (GCI2014).
2014-12-30 04:54:19 +01:00
Jérôme Duval 38606bbb1c Mixer: Interpolating sampler is number 2. 2014-12-29 20:59:11 +01:00
Jérôme Duval 2ece930012 libsolv_bootstrap: bump and sync version with haikuports.cross 2014-12-29 18:48:27 +01:00
Jérôme Duval 3f8e2902e1 Updated libsolv packages 2014-12-29 15:24:24 +01:00
Jérôme Duval d1ff72af97 Sync gcc and binutils bootstrap versions with HaikuPorts recipes. 2014-12-29 11:37:45 +01:00
Axel Dörfler d854d71111 PowerStatus: hide obviously invalid probes.
* When we get bogus values back as the current battery state, there
  is little reason to present this to the user when we can detect it.
* While it would be nice to solve the underlying bug, too (if there is
  one, this should make the new low battery notification feature a lot
  nicer in practice.
2014-12-29 11:17:27 +01:00
Axel Dörfler f1bfd2dff3 PowerStatus: minor cleanup.
* Moved low battery notification code into its own method.
* Slightly changed low battery notification text.
2014-12-29 11:17:26 +01:00
Axel Dörfler 7ccbecc056 Sudoku: added "set all hints" help item.
* Sets all the hints for all the fields.
2014-12-29 11:17:25 +01:00
Axel Dörfler fe7fe2666d libtracker: delete folder cleanup.
* Removed a number of superfluous BDirectory::Rewind() calls.
* Renamed some variables.
2014-12-29 11:17:23 +01:00
Rene Gollent a146bd7784 Debugger: Expression evaluator optimization.
- When resolving an identifier, first attempt to match it against
  frame variable if applicable, and only attempt to look it up as a
  type name if the former comes up empty. The type lookup is
  significantly more expensive since if it doesn't match an already
  known type, it currently needs to search through all DIEs trying
  to find a candidate. This would significantly slow down expression
  evaluation involving identifier names, and was particularly noticeable
  for breakpoint condition processing.
2014-12-28 23:43:57 -05:00
Rene Gollent 6e724034a3 Debugger: ThreadHandler cleanup.
- When evaluating a breakpoint condition, there's no need to change
  the thread state unless the condition is actually met. This would
  lead to lots of unnecessary state switching and associated overhead
  in the GUI.
2014-12-28 23:43:57 -05:00
Rene Gollent 15852b070a Debugger: Fix tokenizer bug.
- When detecting a possible start of string literal, ensure that a
  terminator was actually found, otherwise simply consider it as a
  single character token. Otherwise, cases such as an apostrophe in
  a C-style comment that spanned a single line would result in us
  missing the token for the comment close, and highlighting all
  subsequent lines until such a token was encountered as comments.
2014-12-28 23:43:56 -05:00
Stephan Aßmus 9c3e96bfb7 HaikuDepot: Keep same tab when updating package info 2014-12-29 00:04:46 +01:00
Stephan Aßmus 89e4ba17d0 HaikuDepot: Update package info after rating package
Let Model::PopulatePackage() have a mode where it forces the update on a
package that has already been populated. Trigger populating from success
code path in RatePackageWindow. Fixes #11638.
2014-12-28 23:51:23 +01:00
Stephan Aßmus 056d423c39 HaikuDepot: Mark installed featured packages...
... with a checkmark icon.
2014-12-28 23:35:42 +01:00
Rene Gollent 0f45a48087 Debugger: Fix #11669.
SourceView:
- When calculating line widths for scrollbar calculation purposes, tabstop
  offsets weren't being correctly taken into account, which would result
  in lines being computed as shorter than they actually were. Depending
  on the content of the file, the horizontal scrollbar would consequently
  be configured improperly in some cases.
2014-12-28 17:20:05 -05:00
Stephan Aßmus ee13e7f8dd HaikuDepot: Hide up/down rating votes UI
These are not implemented yet at all.
2014-12-28 22:33:55 +01:00
Stephan Aßmus 7b206268ab HaikuDepot: Hide Size column until it can be implemented
Fixes #10394.
2014-12-28 22:33:54 +01:00
Jérôme Duval 5c120e2364 Updated gcc package for x86_64. 2014-12-28 18:28:17 +01:00
Jérôme Duval e00738c28d userlandfs: typeid isn't available in kernel mode. 2014-12-28 14:05:36 +01:00
Jérôme Duval c69fc48c60 Updated binutils packages. 2014-12-28 14:01:41 +01:00
Stephan Aßmus 12107be2ec HaikuDepot: Search all packages when showing featured
The intention was that typing search terms searches all packages, not only
the featured ones. This didn't actually work in Model::CreatePackageList().
2014-12-27 22:25:19 +01:00
Stephan Aßmus 75ba9dbfc3 HaikuDepot: Lock model when selecting a package 2014-12-27 22:25:18 +01:00
Jérôme Duval e1816b5a12 Updated libxml2 package for x86_64. 2014-12-27 21:44:22 +01:00
Jérôme Duval caa9e0d114 libedit: remove obsolete UseHeaders. 2014-12-27 14:01:54 +01:00
Jérôme Duval 56973fc338 Drop autotools and libtool from HaikuPortsCross
for arm, ppc, x86 and x86_gcc2. Moves bash to 4.3.30.
2014-12-27 14:00:45 +01:00
Stephan Aßmus 93a7cf94a3 HaikuDepot: Clear package info view if package not listed
If the visible packages list does not contain the currently showing package
anymore after filter parameters have changed, clear the package info area.
This also means that when installed packages are turned off, which means
a package will disappear from the list after being installed, the package
will no longer keep showing in the info area. This situation is less likely
with the change that installed packages will now show by default and the
user has to explicitly turn them off.
2014-12-27 09:38:28 +01:00
Stephan Aßmus 0c6df5d52e HaikuDepot: Fixed regression: selecting featured packages
Since the fVisiblePackages list in MainWindow is now also filtered by
featured packages, and since the "featured" status of packages is collected
asynchronously, the list needs to be updated in the package changed
notification. Also, the package should only be added to the featured packages
view if it is now in the visible list. Other filter criteria would not be
taken into account otherwise. Fixes #11663
2014-12-27 09:38:26 +01:00
autonielx ff18d61427 Update translations from Pootle 2014-12-27 06:30:40 +01:00
Rene Gollent cf629b09f9 debug_server: Fix #11659.
- If we're asked to debug a team graphically, check if Debugger is already
  running. If so, send it a message asking it to debug the team rather than
  trying to invoke it by command line, as the latter will simply result in
  a B_SILENT_RELAUNCH message, and won't actually process the request properly.
2014-12-26 23:27:23 -05:00
Rene Gollent edf74e6ca8 Debugger: Cleanups.
General:
- Move all smaller prompt/edit windows to a dedicated subfolder.

Debugger/TeamsWindow/StartTeamWindow:
- Move management of StartTeamWindow to application, rather than
  Teams window.

TeamWindow:
- Add top level menu item for commands that aren't specific to the
  current team. This currently consists of requesting that the
  Teams window be shown, and directly starting a new team.

Fixes part of #11659 (no way to start additional teams if Debugger was
initially started with a specific team).
2014-12-26 22:45:01 -05:00
Stephan Aßmus 1986ab9f31 HaikuDepot: Sync the selection between normal and featured list 2014-12-26 22:42:11 +01:00
Stephan Aßmus b2843daed7 HaikuDepot: Added PackagesListView::Select(PackageInfo)
which also scrolls the row into view (if it exists).
2014-12-26 22:41:10 +01:00
Stephan Aßmus ede65a8f9b HaikuDepot: Handle NULL PackageInfoRef in FeaturedPackagesView::Select() 2014-12-26 22:40:24 +01:00
Stephan Aßmus 7b434ea483 HaikuDepot: SharedBitmap: Enlarge maximum stream size
This is used for screenshots and some are larger than 128KiB.
2014-12-26 22:38:54 +01:00
Stephan Aßmus 2997e05b4f HaikuDepot: All "Show" settings are persistent now. 2014-12-26 22:20:27 +01:00
Stephan Aßmus 4fade61ff8 HaikuDepot: Change when featured packages are shown
* Renamed the "Option" menu to "Show", removed the now redundant "Show" from
   the items in that menu.
 * Add an "Only featured packages" item in the Show menu. This item is disabled
   as soon as the user types something in the search terms field. Othetwise,
   this setting is respected, i.e. one can combine the featured setting with
   other settings, i.e. show all featured packages of a certain depot and in a
   certain category.
 * Added PackageInfo::IsProminent() and removed the respective method from
   the MainWindow (which only considered a package prominent if it was not
   yet installed).
 * "Show -> Installed packages" now defaults to on. There have been complaints
   on Trac and I guess rightfully so. The use-cases in which one starts
   HaikuDepot and wants to know about installed packages are just as likely
   as the use-case where one wants to install new software.
2014-12-26 22:08:08 +01:00