Commit Graph

52577 Commits

Author SHA1 Message Date
Adrien Destugues
71c761d99b HttpRequest: rewind the input data before sending it
* This is needed for redirects to work as expected.
* It makes it harder to send data starting from the middle of a
BPositionIO (you now need a wrapper object), but that is an uncommon
feature so it is acceptable.

Fixes #11687.
2015-01-05 16:22:55 +01:00
Adrien Destugues
b5832c1759 Appearance: don't send kMsgUpdate on ATTRIBUTE_CHOSEN
As discussed in #11698, selecting an item in the list needs an update of
the selected color, but doesn't need a check for changes and status of
the "revert" button.
2015-01-05 15:51:41 +01:00
Adrien Destugues
a17012ab11 Clipboard: style fixes. 2015-01-05 15:49:52 +01:00
Adrien Destugues
569a7bfc3c Notification: align title with text. 2015-01-05 13:06:21 +01:00
Augustin Cavalier
0de25abadc bash_completion: delete from tree.
This was an old version of bash_completion and not included in the
image. An haikuports recipe is available if you need it.

Fixes #11660.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 12:03:45 +01:00
Adrien Destugues
62ede2e6a2 BMessage: avoid code duplication in Unflatten
The buffer version of Unflatten can be implemented by wrapping the
buffer in a BMemoryIO. This allows sharing more code, and the BDataIO
version of Unflatten has some extra error checks.

Fixes #11670.
2015-01-05 11:53:07 +01:00
Adrien Destugues
0622135673 RTFTranslator: don't accept translations with no RTF involved.
Fixes #11650.
Thanks to TwoFx for investigating the issue.
2015-01-05 11:34:01 +01:00
Adrien Destugues
e7cf3254ad Appearance: enable Revert when a color is dropped
Fixes #11698.
2015-01-05 11:25:43 +01:00
luroh
1d5b36cee2 Clean up FreeType outsourcing leftovers
- Remove obsolete FreeType docs
  - Remove obsolete FreeType license
  - Update FreeType license and copyrights in AboutSystem

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #11697
2015-01-05 11:23:02 +01:00
Adrien Destugues
7bc8111cd2 AboutSystem: update localization credits.
* Reorder the languages to match the order used in Pootle, making this
easier to do.
* Remove Diver from hungarian translation on request from him.
* Add some missing languages from Pootle (commented out for now as they
are not exported yet)
2015-01-05 10:43:22 +01:00
Puck Meerburg
8e948cb398 CID 1224785: unsafe EOF detection.
Fixes #11691.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 08:57:53 +01:00
luroh
73b2a864b9 Fix atftp copyright typo in AboutSystem
Fixes #11699

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 08:44:27 +01:00
Humdinger
c50f8331de Add app2png package
In order we can fill the Haiku Depot Server with icons for old apps.
2015-01-04 09:31:38 +01:00
Stephan Aßmus
2afa3f3b8b HaikuDepot: Improved screen shot window
* Black background
 * Auto-resize to fit new screen shot, re-center on screen
2015-01-03 22:07:31 +01:00
Rene Gollent
7f10f053c5 x86: Package updates.
- Add package for ninja.
- Update haikuwebkit to 1.4.8.
2015-01-03 15:02:43 -05:00
Markus Himmel
ef69f5d941 DiskProbe: Make block offset and file offset editable
Fix #4046

Signed-off-by: François Revol <revol@free.fr>

GCI2014 task https://www.google-melange.com/gci/task/view/google/gci2014/5488784896425984
2015-01-03 17:36:22 +01:00
autonielx
d35b138450 Update translations from Pootle 2015-01-03 06:38:47 +01:00
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