Commit graph

39 commits

Author SHA1 Message Date
Dan Stillman
2b68113fd7 - Fix search bar drop-down on Linux
- Increase padding slightly next to non-menu toolbar buttons
- Tweak alignment of sync icon
2011-06-14 03:24:21 +00:00
Simon Kornblith
b874641bf9 - show correct gradients for between focused, selected, and inactive tree items in collections tree on OS X
- use -moz-linear-gradient instead of images
2011-06-07 06:26:12 +00:00
Simon Kornblith
d7e4ae3620 Add some new menu items 2011-06-03 05:14:48 +00:00
Simon Kornblith
fbdb7d5526 add missed files from previous commit 2011-05-31 06:50:52 +00:00
Simon Kornblith
1b1af48be0 add Help menu items and About dialog 2011-05-31 06:34:21 +00:00
Simon Kornblith
3ce92c3690 closes #1775, Window hiding on Mac OS X 2011-05-31 05:32:45 +00:00
Dan Stillman
3856885e6d Closes #1004, Add menu to quicksearch bar to change search modes
Initial version -- needs additional refinement

Not yet tested on Windows/Linux, and won't look right in Fx3.6
2011-04-25 15:27:49 +00:00
Simon Kornblith
b8e213b629 fix Mac CSS typo 2011-03-08 05:25:15 +00:00
Simon Kornblith
e84ef616d4 fix appearance on Windows (still need to test on Linux) 2011-03-08 05:23:01 +00:00
Dan Stillman
393a6d87fe Unless we find anything better, use stack of papers for Unfiled Items icon 2011-02-14 07:11:06 +00:00
Simon Kornblith
4d7c1238b0 virtual treesource, rev. 4 2011-02-14 05:50:41 +00:00
Simon Kornblith
e8cdb543e9 virtual saved search, rev. 3 2011-02-14 05:48:27 +00:00
Simon Kornblith
2f616a84d8 restore to previous icon 2011-02-14 05:39:30 +00:00
Simon Kornblith
d97d60a675 mac virtual saved search icon, second possibility 2011-02-14 05:37:14 +00:00
Simon Kornblith
da0bba1358 icon for OS X virtual saved search, rev. 1 2011-02-14 05:28:14 +00:00
Simon Kornblith
1908001230 - get rid of svg toolbar glow, which wasn't working before anyway
- use icons with higher contrast edges in some cases on OS X
2011-02-13 23:51:50 +00:00
Simon Kornblith
d8966467dc - show title in separate notes window
- fix issues entering new tags into tags popup
- add back left/right tinymce borders on non-OS X
2011-02-13 08:50:24 +00:00
Simon Kornblith
e381b552d0 Modifications to notes and attachments box appearances:
- attachment notes box is now located at bottom, with linked items options above it
- notes no longer display the parent item title. I think this is a waste of space, but if someone wants it back, I can do that
- notes editor spans entire pane
- notes editor does not have gray borders on left or right
- metadata display in notes and attachments boxes is consistent with metadata display in item pane
2011-02-13 06:16:06 +00:00
Simon Kornblith
fd9e25fa29 - Put all Zotero buttons in one contiguous toolbar. This seems to be the only way to get a unified window on OS X. It also means that if the window is too small, the search box pushes over the metadata pane buttons, instead of getting truncated.
- Firefox 3.6 fixes
2011-02-13 03:51:24 +00:00
Simon Kornblith
9312300420 ignore active attribute on Firefox 3.6 in Zotero Tab 2011-02-13 02:35:57 +00:00
Simon Kornblith
c8478f02f8 tweak OS X Zotero tab appearance 2011-02-13 02:29:00 +00:00
Simon Kornblith
51c119ae8a control selected appearance on clicky based on tree focus, not window focus 2011-02-12 21:22:01 +00:00
Simon Kornblith
5edcc84cf9 pad top of itembox on OS X 2011-02-12 20:31:52 +00:00
Simon Kornblith
e5a4d4a1ee fix activated/deactivated appearance in Fx 4 2011-02-12 19:56:13 +00:00
Simon Kornblith
ecf0f3397c Zotero as a tab. This may need to be backed out for 2.1 depending on the amount of trouble it generates. 2011-01-30 09:44:01 +00:00
Simon Kornblith
1a3d616c2d - add support for Zotero as a separate tab (currently only via loading chrome://zotero/content/tab.xul)
- tweak twisty appearance on OS X (highlight-on-click is gone, but this seems preferable to the previous behavior)
- simplify chrome.manifest for standalone
2011-01-24 10:29:36 +00:00
Simon Kornblith
e0e84bc22a - eliminate for each in future cross-browser code
- move itemTypeExists, getCreatorsForType, and getLocalizedCreatorType back under ZU
- modify OpenURL code to use ZU.itemTypeExists
2010-10-27 02:10:45 +00:00
Dan Stillman
fe6713b358 Fix CSS parsing errors (which possibly meant the affected rules aren't necessary) 2010-08-27 19:16:29 +00:00
Dan Stillman
84cf9d8cbe Closes #1037, Remove Firefox 2.0/3.0–specific code 2010-07-09 20:10:43 +00:00
Dan Stillman
94e279e034 ECL 1.0 -> GPLv3 2009-12-28 09:47:49 +00:00
Simon Kornblith
2b019c4427 fix tab weirdness in FF 3.6 2009-11-17 19:15:41 +00:00
Dan Stillman
83781293da - Display more helpful message for "(NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" error when a remotely modified file is in use locally on Windows
- Fix a potential NS_ERROR_TARGET_FILE_EXISTS error from a recent commit
- Fix alignment of sync error icon
2009-10-01 20:26:31 +00:00
Simon Kornblith
e828ea6fa6 fix uneven field mode toggle highlight 2009-09-14 19:20:29 +00:00
Dan Stillman
1e2a71666e - Restore item pane and tag selector font size to default
- Decrease space between metadata columns
- Increase metadata pane left padding
2009-09-14 06:58:59 +00:00
Simon Kornblith
f26f3a654d disable glow on attachment button on OS X 2009-09-14 04:28:37 +00:00
Simon Kornblith
a611706f86 fix appearance on FF3.0 for Mac 2009-09-08 22:23:37 +00:00
Simon Kornblith
4f5feb98a2 UI improvements on OS X
still need to work out the appropriate opacity for the glow on each individual toolbar button, and to make some similar changes for Windows
2009-09-02 08:26:24 +00:00
Dan Stillman
3de1789f26 Initial Zotero 1.5 Megacommit
Apologies for the massive (and, due to data_access.js splitting, difficult-to-follow) commit. Please note that external code that accesses the data layer may need to be tweaked for compatibility. Here's a comprehensive-as-possible changelog:

- Added server sync functionality (incomplete)
- Overhaul of data layer
  - Split data_access.js into separate files (item.js, items.js, creator.js, etc.)
  - Made creators and collections first-class objects, similar to items
  - Constructors now take id as first parameter, e.g. new Zotero.Item(1234, 'book'), to allow explicit id setting and id changing
  - Made various data layer operations (including attachment fields) require a save() rather than making direct DB changes
  - Better handling of unsaved objects
    - Item.setCreator() now takes creator objects instead of creator ids, and Item.save() will auto-save unsaved creators
    - clone() now works on unsaved objects
  - Newly created object instances are now disabled after save() to force refetch of globally accessible instance using Zotero.(Items|Creators|etc.).get()
  - Added secondary lookup key to data objects
  - Deprecated getID() and getItemType() methods in favor of .id and .itemTypeID properties
  - toArray() deprecated in favor of serialize(), which has a somewhat modified format
  - Added support for multiple creators with identical data -- currently unimplemented in interface and most of data layer
  - Added Item.diff() for comparing item metadata
- Database changes
  - Added SQLite triggers to enforce foreign key constraints
  - Added Zotero.DB.transactionVacuum flag to run a VACUUM after a transaction
  - Added Zotero.DB.transactionDate, .transactionDateTime, and transactionTimestamp to retrieve consistent timestamps for entire transaction
  - Properly store 64-bit integers
  - Set PRAGMA locking_mode=EXCLUSIVE on database
  - Set SQLite page size to 4096 on new databases
  - Set SQLite page cache to 8MB
  - Do some database cleanup and integrity checking on migration from 1.0 branch
  - Removed IF NOT EXISTS from userdata.sql CREATE statements -- userdata.sql is now processed only on DB initialization
  - Removed itemNoteTitles table and moved titles into itemNotes
- Abstracted metadata edit box and note box into flexible XBL bindings with various modes, including read-only states
- Massive speed-up of item tree view
- Several fixes from 1.0 branch for Fx3 compatibility
- Added Notifier observer to log delete events for syncing
- Zotero.Utilities changes
  - New methods getSQLDataType() and md5()
  - Removed onError from Zotero.Utilities.HTTP.doGet()
  - Don't display more than 1024 characters in doPost() debug output
  - Don't display passwords in doPost() debug output
- Added Zotero.Notifier.untrigger() -- currently unused
- Added Zotero.reloadDataObjects() to reset all in-memory objects
- Added |chars| parameter to Zotero.randomString(len, chars)
- Added Zotero.Date.getUnixTimestamp() and Date.toUnixTimestamp(JSDate)
- Adjusted zotero-service.js to simplify file inclusion

Various things (such as tags) are temporarily broken.
2008-05-04 08:32:48 +00:00
Dan Stillman
35ff52f2e8 Merged 1.0 branch back to trunk 2007-10-23 07:11:59 +00:00