John Scipione
9d41bc18bb
GIFTranslator: Combine nested if statements
...
...into single conditional
2014-03-06 16:50:29 -05:00
John Scipione
78bfaa98e1
GIFTranslator: try hard to not throw an exception
...
... by calling new(std::nothrow)
Also try really hard not to leak any memory in the process.
Lots of error checking added to check if reads and writes fail
returning B_IO_ERROR and if initialization fails returning B_NO_MEMORY
2014-03-06 16:48:48 -05:00
John Scipione
33ef87cd9e
GIFTranslator: style fixes
2014-03-06 16:38:41 -05:00
John Scipione
ead17dec08
GIFTranslator: Style fix, rename cs to colorSpace
2014-03-06 16:19:50 -05:00
John Scipione
7b46114834
GIFTranslator: call new(std::nothrow) BBitmap again
...
... to prevent throwing a std::bad_alloc exception if there isn't
enough memory to allocate a new BBitmap.
This effectively reverts 116e78d4d4
Thanks Axel and AnEvilYak and sorry for the noise.
2014-03-06 16:19:48 -05:00
Humdinger
15791c196f
Sentence casing "Low latency" and "Power saving".
2014-03-06 17:31:32 +01:00
Adrien Destugues
9f487be84b
Add vim 7.4 package.
2014-03-06 11:18:07 +01:00
David Höppner
fe309ca2a3
setarch: list available architectures
...
Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
2014-03-06 09:27:43 +01:00
Adrien Destugues
0009559ca3
Style fixes.
2014-03-06 08:59:04 +01:00
Sean Thames
54e1893c41
Changed enable notification button to a checkb Changed variable names to more appropriate names. Fixed a potential issue with fNotificationBox getting out of sync. Fixed a potential issue of starting the Notification Server more than once.
...
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2014-03-06 08:59:03 +01:00
John Scipione
01be25aefe
GIFTranslator: Refactor filling out BBitmap
...
* Remove the NULL check since BBitmaps don't return NULL but check
that it IsValid() instead.
* Fill out the *out pointer directly instead of creating a temporary
bitmap pointer.
* Rename err to result.
* Return B_OK unconditionally if we get to the end of the function.
Thanks again Jérôme
2014-03-05 15:36:10 -05:00
John Scipione
c030befbf9
GIFTranslator: Reorder includes
...
Thanks Jérôme
2014-03-05 15:36:04 -05:00
John Scipione
5adf9d6ee5
Use doxygen style comments as per guidelines
...
Thanks Axel!
2014-03-05 15:34:53 -05:00
Ingo Weinhold
5b5f099fc0
Fix DebugAnalyzer gcc 4 build
2014-03-05 21:05:15 +01:00
Adrien Destugues
8e0b2cb0f4
Add various useful packages for x86 part of gcc2hybrid.
...
Some steps towards libpak...
2014-03-05 20:11:35 +01:00
Adrien Destugues
2580b20edd
WebPositive: fix cmd+esc handling
...
* Don't show the menu in MenusBeginning, this is invoked for all
shortcuts, so cmd+C and others would show the menu. Fixes #9186 .
* Instead, show the interface specifically for the CMD+ESC case. Also,
send that key event to the default window handler so the menu opens.
Before, this was mistakenly sent to the "stop" button. Fixes #10523 .
2014-03-05 17:21:17 +01:00
François Revol
8e8f7748d3
Update the HardwareChecker script
...
to work post-PM, however nothing makes any use of it yet.
2014-03-05 02:06:55 +01:00
John Scipione
75d4568c15
DebugNow: Shrink the text a bit, fixes #8170
2014-03-04 18:13:29 -05:00
John Scipione
782f6a4fae
DebugNow: Internationalize text
...
Translation instructions are "keep it short and all uppercase,
5 characters or less".
Now non-English languages can join the fun:
DEBUG JETZT
DEBUG AHORA
DEBUG ORA
DEBUG が現在
... this might be a bit of a challenge for some languages.
2014-03-04 18:11:51 -05:00
John Scipione
0f7a8c1da4
DebugNow: Style fixes, export class def to header
...
Update copyright header, make colors static const, * goes with type
2014-03-04 18:05:21 -05:00
John Scipione
008f676344
Add gif, jpeg, and png mimetype support to WebPositive
2014-03-04 16:31:47 -05:00
John Scipione
6283e77947
BSeparatorItem: horizontal, not vertical line
2014-03-04 14:34:43 -05:00
John Scipione
5d10a74cfb
BSeparatorItem: Style fix, rename archive to data
...
... missed it in a few places, trying to make variables names consistent.
Update hrev in docs
2014-03-04 14:28:20 -05:00
John Scipione
379ede58af
Style fixes to BMenuItem::GetContentSize and update docs
...
Rename width and height to _width and _height matching the header.
Update the documentation for this method as well.
2014-03-04 14:17:46 -05:00
John Scipione
9b39e22db2
Add BSeparatorItem class documentation
2014-03-04 14:15:45 -05:00
John Scipione
4479c8fda7
Style fixes to BSeparatorItem class.
...
Mostly meant for documentation with a few other style corrections as well.
Update copyright header.
2014-03-04 14:15:20 -05:00
Adrien Destugues
217f090f9e
malloc_debug: align allocations
...
* Align all allocations of more than 8 bytes to 8-byte.
* Avoids hitting ASSERTs in WebKit when built in debug mode (it assumes
at least 8 byte alignment)
2014-03-04 17:29:30 +01:00
John Scipione
81abd9ed03
GIFTranslator: gifSave not gitSave, habit
...
Also move comment before function. No functional change intended.
2014-03-04 01:47:43 -05:00
John Scipione
f4b507313b
GIFTranslator: error if out of bounds
...
Error out if we're trying to access an out-of-bounds array index
(which should never happen, but let's check just in case.)
2014-03-04 01:22:55 -05:00
John Scipione
2dcb2d8684
GIFTranslator: Increase ENTRY_COUNT to 4354
...
Fixes #10618
Why 4354?
4354 = 4096 + 256 + 1 + 1
4096 for the image data, 256 for the color codes,
1 for the clear code, 1 for the end code
2014-03-04 01:22:55 -05:00
John Scipione
9504d99506
GIFTranslator: rename cs and size to codeSize
2014-03-04 01:22:54 -05:00
John Scipione
4389d32381
GIFTranslator: Read the left and top image coordinates
2014-03-04 01:22:53 -05:00
John Scipione
5a7193d558
GIFTranslator: Replace magic constants
...
Introduce GIFPrivate.h to define these magic constants
Also, make sure that we don't go over LZ_MAX_CODE bits
2014-03-04 01:22:53 -05:00
John Scipione
c14b552e41
GIFTranslator: check if NULL before accessing member
2014-03-04 01:22:52 -05:00
John Scipione
4ac43a1be4
GIFTranslator: use ENTRY_COUNT define instead of 4096
2014-03-04 01:22:52 -05:00
John Scipione
5b53a45a94
GIFTranslator: Use array notation instead of pointer
2014-03-04 01:22:51 -05:00
John Scipione
84bff75245
GIFTranslator: Log info messages with LOG_INFO not LOG_ERR
2014-03-04 01:22:50 -05:00
John Scipione
6ff3ca264d
GIFTranslator: Style change, uchar => unsigned char
2014-03-04 01:22:50 -05:00
John Scipione
071f3a6ea0
GIFTranslator: don't call an implicit constructor for Memblock
2014-03-04 01:22:49 -05:00
John Scipione
116e78d4d4
GIFTranslator: Remove unneeded BBitmap checks
2014-03-04 01:22:46 -05:00
John Scipione
5e4c29a6b7
GIFTranslator: Style fixes
2014-03-04 01:22:43 -05:00
Jérôme Duval
0ae983528e
Update gawk package, disabling multibyte support.
2014-03-03 00:29:20 +01:00
Rene Gollent
1c62b9ce99
x86: Update webkit to 1.2.4.
2014-03-02 18:20:59 -05:00
Philippe Saint-Pierre
ff5711ee19
LaunchBox: Add missing curly brackets (CID #991345 )
2014-03-02 17:00:36 -05:00
Rene Gollent
34a7841a39
x86: Update gcc and binutils packages.
...
- Mainly needed to enable C++11 support in gcc.
2014-03-02 16:09:00 -05:00
Oliver Tappe
66bd70a983
Update gcc4 version in haikuports.cross repository.
2014-03-02 21:55:26 +01:00
Oliver Tappe
0b0fd9ee93
Correct typos (wrong primary architecture) in comment.
2014-03-02 21:55:26 +01:00
Oliver Tappe
8219739b06
Put curl on every image, as it is required by the haiku package.
2014-03-02 21:55:26 +01:00
Oliver Tappe
dbc5041b9f
Add curl to bootstrap package list for x86_64.
2014-03-02 21:55:26 +01:00
Oliver Tappe
82e975d7d2
Add libnetwork.so to stage1 of bootstrap build.
2014-03-02 21:55:25 +01:00