Web Design and Development

Introduction to Swift Playgrounds

The Flash Blog - Sat, 10/25/2014 - 19:29


 New video tutorial showing you how to use the new live scripting environments called Playgrounds in Xcode 6.

Drupal.org Maintenance: Oct 23rd 14:00 PDT (21:00 UTC)

Drupal - Wed, 10/22/2014 - 09:58

Drupal.org will be affected by maintenance Thursday, October 23rd 14:00 PDT, 21:00 UTC.

An increase of the MySQL innodb_buffer_pool_size will cause a short downtime for Drupal.org while MySQL is restarted. We plan on a 30 minute window of potential instability, though the actual outage should be 5 minutes or less.

Please follow the @drupal_infra Twitter account for any issues encountered during the maintenance window.

Thanks for your patience!

Prepping Icons for Yosemite Dark Mode

The Flash Blog - Sun, 10/19/2014 - 10:24

Now that Yosemite (OS X 10.10) is in the wild, you may or may not have tried the new dark ui mode. All this really means is that it will make your dock and menu bar black. You can switch to dark mode by checking off the option in the General section of System Preferences as shown below.

Once you switch to dark mode you may notice that a lot of icons either are invisible or look like crap. For example, the Wallpaper by Behance app that we recently released shows no icon when in dark mode.

The fix doesn’t involve providing an alternate icon for dark mode. The solution is actually ridiculously easy. You simply need to set your status bar icon to be a template image. When you do this OS X will take care of adjusting your icon to different visual modes. Here is some code that shows how to do this:

// Load icon var icon = NSImage(named: "statusIcon") // Fixes dark mode icon.setTemplate(true) // Create status item var statusItem = NSStatusBar.systemStatusBar().statusItemWithLength(NSVariableStatusItemLength) // Set with tempalte image statusItem.image = icon

So with that one line of code added you can see that the Behance icon is now inverted whenever the user is in dark mode.

If you are using a custom view instead of an image for the menu bar icon then you will have to do some logic in your drawRect method.

Drupal 7.32 released

Drupal - Wed, 10/15/2014 - 05:47

Drupal 7.32, a maintenance release which contain fixes for security vulnerabilities, is now available for download. See the Drupal 7.32 release notes for further information.

Download Drupal 7.32

Upgrading your existing Drupal 7 is strongly recommended. There are no new features or non-security-related bug fixes in this release. For more information about the Drupal 7.x release series, consult the Drupal 7.0 release announcement.

Security information

We have a security announcement mailing list and a history of all security advisories, as well as an RSS feed with the most recent security advisories. We strongly advise Drupal administrators to sign up for the list.

Drupal 7 and 6 include the built-in Update Status module (renamed to Update Manager in Drupal 7), which informs you about important updates to your modules and themes.

Bug reports

Both Drupal 7.x and 6.x are being maintained, so given enough bug fixes (not just bug reports) more maintenance releases will be made available, according to our monthly release cycle.

Changelog

Drupal 7.32 is a security release only. For more details, see the 7.32 release notes. A complete list of all bug fixes in the stable 7.x branch can be found in the git commit log.

Security vulnerabilities

Drupal 7.32 was released in response to the discovery of critical security vulnerabilities. Details can be found in the official security advisory:

To fix the security problem, please upgrade to Drupal 7.32.

Known issues

None.

Front page news: Planet DrupalDrupal version: Drupal 7.x

Pages