Commit Graph

52586 Commits

Author SHA1 Message Date
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
Jérôme Duval
1514783a71 Added stage0 packages for m68k. 2014-12-26 18:54:15 +01:00
Automatic Committer
36dab6bc25 Update pci.ids from pciids.sourceforge.net 2014-12-25 05:20:23 +01:00
Adrien Destugues
234ac3f191 FileTypes: Avoid useless call to ReplaceRef
Don't replace the ref with itself in the most common case where the
scanned file is not a symlink. Save a lot of useless memory copies and
ref flattening in BMessage.
2014-12-24 11:52:04 +01:00
Adrien Destugues
a6f1bc984d BMessage::ReplaceData: potential corruption on realloc fail
The method would update the field offsets first, and would not restore
them in case of realloc failure, leaving them pointing to the wrong
place.
2014-12-24 11:52:02 +01:00
Adrien Destugues
4c0fbf2e52 linprog test: fix build. 2014-12-24 11:52:01 +01:00
John Scipione
d87c6913ec Add preliminary BToolTip docs 2014-12-23 17:32:05 -05:00
Stephan Aßmus
474b9e090d HaikuDepot: Check if package_daemon runs and offer to start it
Fixes ticket #9967.
2014-12-23 22:22:06 +01:00
Alexander von Gluck IV
e2523ea3f2 tests/egl: Add egl test code.
* Early EGL support has been pushed into mesa
  thanks to the GCI work of Adrián Arroyo Calle.
* No, this isn't hardware rendering :-)
2014-12-23 15:42:02 -05:00
Jérôme Duval
6519e4be6c Updated subversion packages for x86_gcc2 and x86_64. 2014-12-23 19:37:21 +01:00
Jérôme Duval
d6aaebc757 x86: added two MSR definitions. 2014-12-23 19:14:52 +01:00
Jérôme Duval
a818f2ca23 Updated libpng and libpng16 packages. 2014-12-23 18:55:29 +01:00
Jérôme Duval
58f8992f1d Updated gcc_x86 package for x86_gcc2 2014-12-23 18:11:13 +01:00
Adrien Destugues
83cd453019 Remove unrar and lp_solve from AboutSystem.
These were outsourced and are not Haiku dependencies anymore.
This list may need some more cleanup: I'm not sure why we credit Bullet
Physics, for example.
2014-12-23 16:59:00 +01:00
Adrien Destugues
c0c891c5b7 Move the "raw audio" format to the WAV format family.
It doesn't work well in AVI and MPEG.
2014-12-23 15:50:53 +01:00
Adrien Destugues
974595bc46 MediaConverter: let the encoder make changes to the format
If the encoder decides to change the media format, we need to tell the
encoder as well so it uses the same format.
2014-12-23 15:50:11 +01:00
Adrien Destugues
5e0e16894d ffmpeg plugin: improve encoding format negociation
The ffmpeg encoders are restricted on which raw formats they accept
(each with different constraints). When asked to encode something, the
ffmpeg encoder now checks the codec capabilities and if the suggested
input format does not match, modifies it to something the codec can
actually handle.

Enable "experimental" codecs, as this is needed for AAC support in ffmpeg 0.10.

This allows format negociation to work properly, and as a result we can
enable several new audio formats: AAC (for MPEG family only), AC3, and
raw audio. Declare MKV as B_ANY_FORMAT_FAMILY since it is designed to be
a generic container (so it is possible to put AAC in MKV). Also remove
duplicate entries for AC3.
2014-12-23 15:50:10 +01:00
Stephan Aßmus
ca747629f9 HaikuDepot: Fix drawing bugs of count view
The packages count view centers its label. It therefore needs a full update
on resize. Also optimize SetItemCount() by trying to avoid unneccessary
layout invalidations.
2014-12-23 14:57:27 +01:00
Adrien Destugues
b65265eb5c MediaConverter: fix off-by-one frame limit
This would lead to an attempt to read beyond the track end, making
MediaTrack return an error, and finally causing MediaConverter to not
flush the end of the encoded file to disk properly.
2014-12-23 11:28:28 +01:00
Adrien Destugues
62ee6b76e2 Update beam to avoid triggering #6400. 2014-12-23 10:33:01 +01:00
Adrien Destugues
177cb657e4 Add %e in the terminal tab format tooltip.
Since it works, we may as well advertise it.
2014-12-23 09:54:36 +01:00
Adrien Destugues
0d523bddbc [Terminal] add encoding to tab title if it differs from default
Fixes #11642.
2014-12-23 09:46:14 +01:00
Adrien Destugues
907ea782aa DiskProbe: convert ImageView to layout kit.
Fixes #11653.
2014-12-23 09:44:07 +01:00
Adrien Destugues
c05324e8b7 Revert "CID1108404: missing array inintialization"
This reverts commit cd06fa402b.
2014-12-22 18:27:34 +01:00
Adrien Destugues
cd06fa402b CID1108404: missing array inintialization
BuildReportList checks that the array does not already holds the reports
before adding them. If one of the uninitialized elements happened to be
the address of one of the reports, it would not get added again,
possibly leading to items in the array being in the wrong order. Just be
safe and clear the array.

Fixes #10221, patch there not used as it cluttered the code more than
needed.
2014-12-22 17:58:11 +01:00