Commit graph

150 commits

Author SHA1 Message Date
Dirk Dougherty
882bbe1489 Merge commit '5db40c6db73db3f4433dd3456107efb4468a4a99' into manualmergeDroiddoc 2009-07-24 20:31:36 -07:00
Scott Main
1aa2380c95 AI 150428: update the jquery library to version 1.3.2.
the incentive is to utilize an improvement made in the :hidden selector (for the videos page);
  this update should also hopefully improve some performance, but it is otherwise the same
  as before and this file still includes the core library, plus the UI core and resizable libraries

Automated import of CL 150428
2009-07-24 18:39:20 -07:00
Scott Main
8576132a38 AI 150393: edit the reference's navtree highlighting logic to handle intl/ directories
BUG=1790234

Automated import of CL 150393
2009-07-24 18:39:20 -07:00
Dirk Dougherty
1cb43f69d4 AI 150389: Fix handling of cookie writes for intl pages.
BUG=1790234

Automated import of CL 150389
2009-07-24 18:39:20 -07:00
Dirk Dougherty
233bc0b84a AI 150370: Add localized content infrastructure in droiddoc templates, javascript, and css. DocFile.java - instead of FileReader, use InputStreamReader with UTF-8 encoding. ClearPage.java - add UTF-8 output encoding to FileOutputStreamWriter. Note: this change also up-integrates gerrit 2146 (smain).
BUG=1910893

Automated import of CL 150370
2009-07-24 18:39:20 -07:00
Android (Google) Code Review
e85be87ee6 Merge change 3175 into donut
* changes:
  page load perfomance improvements... remove the lists.js file from the <head>, which slows down page load a lot (over 300K), and instead load it dynamically on page load. also remove navtree_data.js from the <head>, which also slows the load and is only used in the reference when in tree view. This file is now loaded during the initialization of the nav tree.
2009-07-24 16:04:56 -07:00
Jesse Wilson
289d80eee4 Adding version information to DroidDoc. Rather than pulling the version from
@since tags in the code, it's pulled from the API XML files also used by
apicheck.

The code now reads the apicheck XML, and applies it's versions to the DroidDoc
class models. The models output the version to HDF, and that's picked up by
the CS templates.

The clearsilver templates will be changed to be pretty in a follow up change.

Conflicts:
	tools/droiddoc/src/DroidDoc.java
2009-07-21 18:09:39 -07:00
Scott Main
5db40c6db7 AI 150594: change the homepage markup and styles to allow variable height in
the carousel bulletin items
  also move the IO announcement into the carousel and add an ADC2 announcement
  ALSO change the carousel script to write all bulletins to the DOM right away and show/hide them, instead of reading from the JSON and writing to the DOM each time on the fly

Automated import of CL 150594
2009-07-21 10:52:11 -07:00
Dirk Dougherty
efdcda4f90 AI 150537: Add support for language-specific tabs in android developer's blog. Pass the current language pref as an hl=lang url query.
BUG=1910893

Automated import of CL 150537
2009-07-15 16:41:48 -07:00
Scott Main
3ba448c7f0 AI 150535: add the Videos page to the site
Automated import of CL 150535
2009-07-15 15:38:17 -07:00
Scott Main
33beffba52 AI 150428: update the jquery library to version 1.3.2.
the incentive is to utilize an improvement made in the :hidden selector (for the videos page);
  this update should also hopefully improve some performance, but it is otherwise the same
  as before and this file still includes the core library, plus the UI core and resizable libraries

Automated import of CL 150428
2009-07-09 16:27:06 -07:00
Scott Main
4cb0b458b0 AI 150398: fix the sdk build break
BUG=1790234

Automated import of CL 150398
2009-07-08 15:14:05 -07:00
Scott Main
8ebeb52cb0 AI 150393: edit the reference's navtree highlighting logic to handle intl/ directories
BUG=1790234

Automated import of CL 150393
2009-07-08 14:45:58 -07:00
Dirk Dougherty
c13d04594c AI 150389: Fix handling of cookie writes for intl pages.
BUG=1790234

Automated import of CL 150389
2009-07-08 14:39:31 -07:00
Dirk Dougherty
4405a23258 AI 150370: Add localized content infrastructure in droiddoc templates, javascript, and css. DocFile.java - instead of FileReader, use InputStreamReader with UTF-8 encoding. ClearPage.java - add UTF-8 output encoding to FileOutputStreamWriter. Note: this change also up-integrates gerrit 2146 (smain).
BUG=1910893

Automated import of CL 150370
2009-07-07 17:43:27 -07:00
Scott Main
398814fa75 am 5eb58327: AI 149839: make the home page\'s announcement block expandable... primarily, this is to handle various lengths of text due to translations, but also allows us to be more flexible WRT the content for the top section.
Merge commit '5eb5832751cad87021b9f1ad77f1c26952030884' into donut

* commit '5eb5832751cad87021b9f1ad77f1c26952030884':
  AI 149839: make the home page's announcement block expandable...
2009-06-14 20:45:16 -07:00
Scott Main
5eb5832751 AI 149839: make the home page's announcement block expandable...
primarily, this is to handle various lengths of text due to translations,
  but also allows us to be more flexible WRT the content for the top section.

Automated import of CL 149839
2009-06-12 14:02:40 -07:00
Scott Main
ed3a2d303d am 88ee3f4e: AI 149729: fix search functionatilty for offline docs... the file references weren\'t using the local root. BUG=1909300
Merge commit '88ee3f4e032ba9fd0377b80b916dcc39b2ce1bf1' into donut

* commit '88ee3f4e032ba9fd0377b80b916dcc39b2ce1bf1':
  AI 149729: fix search functionatilty for offline docs...
2009-06-11 00:01:30 -07:00
Scott Main
88ee3f4e03 AI 149729: fix search functionatilty for offline docs...
the file references weren't using the local root.
  BUG=1909300

Automated import of CL 149729
2009-06-10 23:40:24 -07:00
Scott Main
5b53cd78cd page load perfomance improvements...
remove the lists.js file from the <head>, which slows down page
load a lot (over 300K), and instead load it dynamically on page load.
also remove navtree_data.js from the <head>, which also slows the load
and is only used in the reference when in tree view. This file is now
loaded during the initialization of the nav tree.
2009-06-05 13:54:06 -07:00
Android (Google) Code Review
39528d6bac Merge change 3004 into donut
* changes:
  fix the SDK build for real this time. the missing macros weren't declared in the proper order last time.
2009-06-02 23:20:15 -07:00
Scott Main
653726a40a fix the SDK build for real this time.
the missing macros weren't declared in the proper order last time.
2009-06-02 20:58:23 -07:00
Android (Google) Code Review
34780ee3b6 Merge change 2982 into donut
* changes:
  fix build break by reincluding empty method calls that were moved to macros.cs
2009-06-02 17:38:23 -07:00
Scott Main
a0f9bd1ef8 fix build break by reincluding empty method calls
that were moved to macros.cs
2009-06-02 17:35:25 -07:00
Android (Google) Code Review
31dae454b6 Merge change 2146 into donut
* changes:
  Implements the basic structure for providing localized documentation; the site tabs are now in a separate file to ease the translation process, the language selection menu has been added to the header, scripts have been added to dynamically switch the language of the site tabs and dev guide side navigation and save the language preference in a browser cookie, and some of the functions in macro.cs have moved into customization.cs.
2009-06-02 11:36:55 -07:00
Scott Main
1043da9c95 Implements the basic structure for providing localized documentation;
the site tabs are now in a separate file to ease the translation process,
the language selection menu has been added to the header,
scripts have been added to dynamically switch the language of the
site tabs and dev guide side navigation and save the language
preference in a browser cookie,
and some of the functions in macro.cs have moved into customization.cs.

patch 2:
revised the logic for changing tab and nav languages so that,
in the event that a SPAN node exists for the newly selected language
but the translation has not actually been put there, it will not be selected
and the previously selected language will remain for that node.

patch 3:
revised the logic introduced in patch 2, which, when loading a new page
would actually reveal all languages if the selected language had no
translation. Now, we must loop through each occurance and check whether
a translation is available. If not, then we hide it and show English.

patch 4:
small error fix
2009-06-02 10:24:41 -07:00
Dirk Dougherty
29eafdea34 AI 149251: Add 1.x Icon Guidelines doc and template pack.
BUG=1790234

Automated import of CL 149251
2009-05-26 08:40:40 -07:00
Gaurav Mathur
ee6df9b4fe AI 148870: Pinging Ryan for Dr No approval.
---
  Cloned from CL 147240 by 'g4 patch'.
  Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50.
  "Making PDK work in SDK environment."
  This CL should be pretty straight forward and should be touching only PDK
  related templates, etc. Turns out we no longer need to touch the highlightNav
  code.

Automated import of CL 148870
2009-05-14 16:02:22 -07:00
Scott Main
9b54792d70 AI 148820: adjust the "nolist" class to add bottom-spacing and refine list item padding;
add vertical padding to quickview list items so that items are distinguishable when the text wraps-around the line
  BUG=1790235

Automated import of CL 148820
2009-05-13 17:50:33 -07:00
Dirk Dougherty
4e4c919539 AI 148759: Add download page for NDK 1.5 r1.
BUG=1790234

Automated import of CL 148759
2009-05-12 15:32:35 -07:00
Dirk Dougherty
12741f56ac AI 147874: Fix format and link errors in docs.
BUG=1790234

Automated import of CL 147874
2009-04-27 18:13:09 -07:00
Dirk Dougherty
099403d15d AI 147796: Add widget design guidelines to new UI Guidelines area in dev guide.
BUG=1790234

Automated import of CL 147796
2009-04-25 23:09:51 -07:00
Scott Main
6190dfe937 AI 147615: remove sdk version in parentheses from page title
BUG=1790234

Automated import of CL 147615
2009-04-23 23:08:46 -07:00
Dirk Dougherty
82ed8f8c5e AI 147053: Add -hdf primer vars for the platform and release ID associated with the current (most recent) SDK.
Currently, the docs that are specific to each SDK release -- downloading, installing, upgrading, requirements -- are stored in a directory with release-derived name, such as "1.1_r1". This change lets documents use generic links to point into the most recent version specific docs, eg href="{@docRoot}sdk/{sdkCurrent}/installing.html" instead of href="{@docRoot}sdk/1.1_r1/installing.html".
  BUG=1790234

Automated import of CL 147053
2009-04-20 17:54:49 -07:00
Scott Main
9e54130f3d AI 146951: CSS edits for docs;
remove preliminary watermark;
  remove red color text for warnings;
  delete the caution class;
  use 1em top-margin only for elements nested in a DD, elements nested in regular
  LIs should only be a half em.
  BUG=1798190

Automated import of CL 146951
2009-04-20 11:15:26 -07:00
Dirk Dougherty
a744f1b5a5 AI 146344: g4 integrate -t -i -b platform-1_0-to-cupcake @143529,143529 (doc change)
BUG=1675368

Automated import of CL 146344
2009-04-15 11:32:45 -07:00
Dirk Dougherty
18467173e5 AI 146342: g4 integrate -t -i -b platform-1_0-to-cupcake @141805,141805 (doc change)
BUG=1675368

Automated import of CL 146342
2009-04-15 11:31:36 -07:00
The Android Open Source Project
fdd3a1020c auto import from //branches/cupcake/...@137873 2009-03-11 12:11:54 -07:00
The Android Open Source Project
2f31293ba7 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:11 -07:00
The Android Open Source Project
88b607994a auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
The Android Open Source Project
05806d7af6 auto import from //depot/cupcake/@135843 2009-03-03 18:28:14 -08:00
The Android Open Source Project
094268cf8c auto import from //depot/cupcake/@132589 2009-03-03 14:03:52 -08:00
The Android Open Source Project
a9b2249753 auto import from //depot/cupcake/@137055 2009-03-02 22:54:15 -08:00
The Android Open Source Project
41977d7cd2 auto import from //branches/cupcake/...@132276 2009-02-19 10:57:29 -08:00
The Android Open Source Project
dca10d536d auto import from //branches/cupcake/...@131421 2009-02-13 12:57:48 -08:00
The Android Open Source Project
475fa12ade auto import from //branches/cupcake/...@130745 2009-02-10 15:43:57 -08:00
The Android Open Source Project
ed18741e07 auto import from //branches/cupcake/...@127101 2009-01-20 14:03:55 -08:00
The Android Open Source Project
4f85cc54b3 auto import from //branches/cupcake/...@125939 2009-01-09 17:50:54 -08:00
The Android Open Source Project
dcc08f073b Code drop from //branches/cupcake/...@124589 2008-12-17 18:03:49 -08:00
The Android Open Source Project
b6c1cf6de7 Initial Contribution 2008-10-21 07:00:00 -07:00