Imported Upstream version 1.3.975.102
Nobuhiro Iwamatsu
12 years ago
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
30 | 30 | "breakpad_revision": "892", |
31 | 31 | "cygwin_in_chromium_revision": "66844", |
32 | 32 | "gtest_revision": "484", |
33 | "gyp_revision": "1034", | |
33 | "gyp_revision": "1167", | |
34 | 34 | "jsoncpp_revision": "230", |
35 | 35 | "memory_watcher_in_chromium_revision": "81926", |
36 | 36 | "protobuf_revision": "375", |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
35 | 35 | #include <fcntl.h> |
36 | 36 | #include <string.h> |
37 | 37 | #include <sys/stat.h> |
38 | #include <unistd.h> | |
38 | 39 | #endif |
39 | 40 | |
40 | 41 | #include <map> |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | #!/usr/bin/env python |
1 | 1 | # -*- coding: utf-8 -*- |
2 | # Copyright 2010-2011, Google Inc. | |
2 | # Copyright 2010-2012, Google Inc. | |
3 | 3 | # All rights reserved. |
4 | 4 | # |
5 | 5 | # Redistribution and use in source and binary forms, with or without |
426 | 426 | help='Use dynamically linked version of Qt. ' |
427 | 427 | 'Currently this flag is used only on Windows builds.') |
428 | 428 | |
429 | parser.add_option('--enable_cloud_sync', action='store_true', | |
430 | dest='enable_cloud_sync') | |
431 | parser.add_option('--disable_cloud_sync', action='store_false', | |
432 | dest='enable_cloud_sync', | |
433 | help='Intentionally enable or disable cloud sync feature ' | |
434 | 'with the CLOUD_SYNC macro defined in code. ' | |
435 | '--enable_cloud_sync enables it, and --disable_cloud_sync ' | |
436 | 'disables it. If both options are not set, enables the ' | |
437 | 'cloud sync feature according to the target environment ' | |
438 | 'and branding.') | |
439 | ||
429 | 440 | # TODO(yukawa): Remove this option when Zinnia can be built on Windows with |
430 | 441 | # enabling Unicode. |
431 | 442 | use_zinnia_default = True |
606 | 617 | options.channel_dev = version.IsDevChannel() |
607 | 618 | if options.channel_dev: |
608 | 619 | command_line.extend(['-D', 'channel_dev=1']) |
620 | ||
621 | # Check whether --enable_cloud_sync or --disable_cloud_sync are set. If | |
622 | # neither of them are set, enables the cloud sync feature according to the | |
623 | # target platform and branding. | |
624 | if options.enable_cloud_sync is None: | |
625 | if options.branding == 'GoogleJapaneseInput' and (IsWindows() or IsMac()): | |
626 | options.enable_cloud_sync = True | |
627 | else: | |
628 | options.enable_cloud_sync = False | |
629 | command_line.extend(['-D', 'enable_cloud_sync=%s' % | |
630 | (1 if options.enable_cloud_sync else 0)]) | |
609 | 631 | |
610 | 632 | command_line.extend(['-D', 'target_platform=%s' % options.target_platform]) |
611 | 633 |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
Binary diff not shown
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
235 | 235 | Performed_Conversion_Undo |
236 | 236 | Performed_Conversion_SegmentFocusLeft |
237 | 237 | Performed_Conversion_SegmentFocusRight |
238 | Performed_Conversion_SegmentFocusRightOrCommit | |
239 | 238 | Performed_Conversion_SegmentFocusFirst |
240 | 239 | Performed_Conversion_SegmentFocusLast |
241 | 240 | Performed_Conversion_SegmentWidthExpand |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
76 | 76 | </font> |
77 | 77 | </property> |
78 | 78 | <property name="text"> |
79 | <string>Copyright © 2011 Google Inc. All Rights Reserved.</string> | |
79 | <string>Copyright © 2012 Google Inc. All Rights Reserved.</string> | |
80 | 80 | </property> |
81 | 81 | <property name="alignment"> |
82 | 82 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
15 | 15 | </message> |
16 | 16 | <message utf8="true"> |
17 | 17 | <location filename="about_dialog.ui" line="80"/> |
18 | <source>Copyright © 2011 Google Inc. All Rights Reserved.</source> | |
18 | <source>Copyright © 2012 Google Inc. All Rights Reserved.</source> | |
19 | 19 | <translation type="unfinished"></translation> |
20 | 20 | </message> |
21 | 21 | <message> |
14 | 14 | </message> |
15 | 15 | <message utf8="true"> |
16 | 16 | <location filename="about_dialog.ui" line="80"/> |
17 | <source>Copyright © 2011 Google Inc. All Rights Reserved.</source> | |
17 | <source>Copyright © 2012 Google Inc. All Rights Reserved.</source> | |
18 | 18 | <translation type="unfinished"></translation> |
19 | 19 | </message> |
20 | 20 | <message> |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
289 | 289 | |
290 | 290 | #ifdef OS_WINDOWS |
291 | 291 | IMEHotKeyDisabledCheckBox->setChecked(WinUtil::GetIMEHotKeyDisabled()); |
292 | #else | |
293 | IMEHotKeyDisabledCheckBox->setVisible(false); | |
292 | 294 | #endif |
293 | 295 | |
294 | 296 | #ifdef CHANNEL_DEV |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
163 | 163 | <translation type="unfinished"></translation> |
164 | 164 | </message> |
165 | 165 | <message> |
166 | <location filename="config_dialog.ui" line="1310"/> | |
166 | <location filename="config_dialog.ui" line="1355"/> | |
167 | 167 | <source>Misc</source> |
168 | 168 | <translation type="unfinished"></translation> |
169 | 169 | </message> |
170 | 170 | <message> |
171 | <location filename="config_dialog.ui" line="1357"/> | |
171 | <location filename="config_dialog.ui" line="1402"/> | |
172 | 172 | <source>Logging level (debug only)</source> |
173 | 173 | <translation type="unfinished"></translation> |
174 | 174 | </message> |
175 | 175 | <message> |
176 | <location filename="config_dialog.ui" line="1386"/> | |
176 | <location filename="config_dialog.ui" line="1431"/> | |
177 | 177 | <source>Logging</source> |
178 | 178 | <translation type="unfinished"></translation> |
179 | 179 | </message> |
180 | 180 | <message> |
181 | <location filename="config_dialog.ui" line="1418"/> | |
181 | <location filename="config_dialog.ui" line="1463"/> | |
182 | 182 | <source>Administration</source> |
183 | 183 | <translation type="unfinished"></translation> |
184 | 184 | </message> |
185 | 185 | <message> |
186 | 186 | <location filename="config_dialog.ui" line="1113"/> |
187 | <location filename="config_dialog.ui" line="1456"/> | |
187 | <location filename="config_dialog.ui" line="1501"/> | |
188 | 188 | <source>Settings...</source> |
189 | 189 | <translation type="unfinished"></translation> |
190 | 190 | </message> |
191 | 191 | <message> |
192 | <location filename="config_dialog.ui" line="1476"/> | |
192 | <location filename="config_dialog.ui" line="1521"/> | |
193 | 193 | <source>Dictionary preloading and UAC settings</source> |
194 | 194 | <translation type="unfinished"></translation> |
195 | 195 | </message> |
384 | 384 | <translation type="unfinished"></translation> |
385 | 385 | </message> |
386 | 386 | <message> |
387 | <location filename="config_dialog.ui" line="1501"/> | |
387 | <location filename="config_dialog.ui" line="1317"/> | |
388 | <source>Allow Using Cloud Handwriting</source> | |
389 | <translation type="unfinished"></translation> | |
390 | </message> | |
391 | <message> | |
392 | <location filename="config_dialog.ui" line="1333"/> | |
393 | <source>Cloud servers</source> | |
394 | <translation type="unfinished"></translation> | |
395 | </message> | |
396 | <message> | |
397 | <location filename="config_dialog.ui" line="1546"/> | |
388 | 398 | <source>Check if Mozc is the default IME on startup</source> |
389 | 399 | <translation type="unfinished"></translation> |
390 | 400 | </message> |
391 | 401 | <message> |
392 | <location filename="config_dialog.ui" line="1325"/> | |
402 | <location filename="config_dialog.ui" line="1370"/> | |
393 | 403 | <source>Default IME</source> |
394 | 404 | <translation type="unfinished"></translation> |
395 | 405 | </message> |
396 | 406 | <message> |
397 | <location filename="config_dialog.ui" line="1511"/> | |
407 | <location filename="config_dialog.ui" line="1556"/> | |
398 | 408 | <source>Disable Keyboard layout hotkey (Ctrl+Shift)</source> |
399 | 409 | <translation type="unfinished"></translation> |
400 | 410 | </message> |
401 | 411 | <message> |
402 | <location filename="config_dialog.ui" line="1550"/> | |
412 | <location filename="config_dialog.ui" line="1595"/> | |
403 | 413 | <source>Reset to defaults</source> |
404 | 414 | <translation type="unfinished"></translation> |
405 | 415 | </message> |
684 | 694 | <location filename="config_dialog.cc" line="365"/> |
685 | 695 | <location filename="config_dialog.cc" line="379"/> |
686 | 696 | <location filename="config_dialog.cc" line="387"/> |
687 | <location filename="config_dialog.cc" line="673"/> | |
688 | <location filename="config_dialog.cc" line="687"/> | |
689 | <location filename="config_dialog.cc" line="697"/> | |
690 | <location filename="config_dialog.cc" line="709"/> | |
691 | <location filename="config_dialog.cc" line="719"/> | |
692 | <location filename="config_dialog.cc" line="731"/> | |
693 | <location filename="config_dialog.cc" line="804"/> | |
697 | <location filename="config_dialog.cc" line="675"/> | |
698 | <location filename="config_dialog.cc" line="689"/> | |
699 | <location filename="config_dialog.cc" line="699"/> | |
700 | <location filename="config_dialog.cc" line="711"/> | |
701 | <location filename="config_dialog.cc" line="721"/> | |
702 | <location filename="config_dialog.cc" line="733"/> | |
703 | <location filename="config_dialog.cc" line="806"/> | |
694 | 704 | <source>Mozc settings</source> |
695 | 705 | <translation type="unfinished"></translation> |
696 | 706 | </message> |
721 | 731 | </message> |
722 | 732 | <message> |
723 | 733 | <location filename="config_dialog.cc" line="552"/> |
724 | <location filename="config_dialog.cc" line="983"/> | |
734 | <location filename="config_dialog.cc" line="985"/> | |
725 | 735 | <source>Sync is not enabled</source> |
726 | 736 | <translation type="unfinished"></translation> |
727 | 737 | </message> |
728 | 738 | <message> |
729 | <location filename="config_dialog.cc" line="674"/> | |
739 | <location filename="config_dialog.cc" line="676"/> | |
730 | 740 | <source>Do you want to clear personalization data? Input history is not reset with this operation. Please open "suggestion" tab to remove input history data.</source> |
731 | 741 | <translation type="unfinished"></translation> |
732 | 742 | </message> |
733 | 743 | <message> |
734 | <location filename="config_dialog.cc" line="688"/> | |
735 | <location filename="config_dialog.cc" line="710"/> | |
744 | <location filename="config_dialog.cc" line="690"/> | |
745 | <location filename="config_dialog.cc" line="712"/> | |
736 | 746 | <source>Mozc Converter is not running. Settings were not saved.</source> |
737 | 747 | <translation type="unfinished"></translation> |
738 | 748 | </message> |
739 | 749 | <message> |
740 | <location filename="config_dialog.cc" line="698"/> | |
750 | <location filename="config_dialog.cc" line="700"/> | |
741 | 751 | <source>Do you want to clear all history data?</source> |
742 | 752 | <translation type="unfinished"></translation> |
743 | 753 | </message> |
744 | 754 | <message> |
745 | <location filename="config_dialog.cc" line="720"/> | |
755 | <location filename="config_dialog.cc" line="722"/> | |
746 | 756 | <source>Do you want to clear unused history data?</source> |
747 | 757 | <translation type="unfinished"></translation> |
748 | 758 | </message> |
749 | 759 | <message> |
750 | <location filename="config_dialog.cc" line="732"/> | |
760 | <location filename="config_dialog.cc" line="734"/> | |
751 | 761 | <source>Mozc Converter is not running. Operation was not executed.</source> |
752 | 762 | <translation type="unfinished"></translation> |
753 | 763 | </message> |
754 | 764 | <message> |
755 | <location filename="config_dialog.cc" line="805"/> | |
765 | <location filename="config_dialog.cc" line="807"/> | |
756 | 766 | <source>When you reset Mozc settings, any changes you've made will be reverted to the default settings. Do you want to reset settings? The following items are not reset with this operation. |
757 | 767 | - Personalization data |
758 | 768 | - Input history |
762 | 772 | <translation type="unfinished"></translation> |
763 | 773 | </message> |
764 | 774 | <message> |
765 | <location filename="config_dialog.cc" line="833"/> | |
775 | <location filename="config_dialog.cc" line="835"/> | |
766 | 776 | <source>Stop Sync</source> |
767 | 777 | <translation type="unfinished"></translation> |
768 | 778 | </message> |
769 | 779 | <message> |
770 | <location filename="config_dialog.cc" line="835"/> | |
780 | <location filename="config_dialog.cc" line="837"/> | |
771 | 781 | <source>Start Sync</source> |
772 | 782 | <translation type="unfinished"></translation> |
773 | 783 | </message> |
774 | 784 | <message> |
775 | <location filename="config_dialog.cc" line="851"/> | |
785 | <location filename="config_dialog.cc" line="853"/> | |
776 | 786 | <source>Stop sync and reset the auth token</source> |
777 | 787 | <translation type="unfinished"></translation> |
778 | 788 | </message> |
779 | 789 | <message> |
780 | <location filename="config_dialog.cc" line="852"/> | |
790 | <location filename="config_dialog.cc" line="854"/> | |
781 | 791 | <source>You are trying to stop sync and reset the auth token. To restart sync, you will need to get a new auth token. |
782 | 792 | Do you really want to continue?</source> |
783 | 793 | <translation type="unfinished"></translation> |
784 | 794 | </message> |
785 | 795 | <message> |
786 | <location filename="config_dialog.cc" line="936"/> | |
796 | <location filename="config_dialog.cc" line="938"/> | |
787 | 797 | <source>Not synced yet</source> |
788 | 798 | <translation type="unfinished"></translation> |
789 | 799 | </message> |
790 | 800 | <message> |
791 | <location filename="config_dialog.cc" line="940"/> | |
801 | <location filename="config_dialog.cc" line="942"/> | |
792 | 802 | <source>Last synced time: </source> |
793 | 803 | <translation type="unfinished"></translation> |
794 | 804 | </message> |
795 | 805 | <message> |
796 | <location filename="config_dialog.cc" line="980"/> | |
806 | <location filename="config_dialog.cc" line="982"/> | |
797 | 807 | <source>During synchronization</source> |
798 | 808 | <translation type="unfinished"></translation> |
799 | 809 | </message> |
800 | 810 | <message> |
801 | <location filename="config_dialog.cc" line="994"/> | |
811 | <location filename="config_dialog.cc" line="1000"/> | |
812 | <source>Authorization failed.</source> | |
813 | <translation type="unfinished"></translation> | |
814 | </message> | |
815 | <message> | |
816 | <location filename="config_dialog.cc" line="1003"/> | |
817 | <source>Cannot save dictionaries because Sync Dictionary exceeds its entry size limit.</source> | |
818 | <translation type="unfinished"></translation> | |
819 | </message> | |
820 | <message> | |
821 | <location filename="config_dialog.cc" line="1007"/> | |
822 | <source>Cannot save dictionaries because Sync Dictionary exceeds its binary size limit.</source> | |
823 | <translation type="unfinished"></translation> | |
824 | </message> | |
825 | <message> | |
826 | <location filename="config_dialog.cc" line="1011"/> | |
827 | <source>Cannot save dictionaries because the number of dictionaries for sync exceeds its limit.</source> | |
828 | <translation type="unfinished"></translation> | |
829 | </message> | |
830 | <message> | |
831 | <location filename="config_dialog.cc" line="1015"/> | |
832 | <source>Unknown error was found.</source> | |
833 | <translation type="unfinished"></translation> | |
834 | </message> | |
835 | <message> | |
836 | <location filename="config_dialog.cc" line="1028"/> | |
837 | <source>Authorization error</source> | |
838 | <translation type="unfinished"></translation> | |
839 | </message> | |
840 | <message> | |
841 | <location filename="config_dialog.cc" line="1033"/> | |
842 | <source>Dictionary sync error</source> | |
843 | <translation type="unfinished"></translation> | |
844 | </message> | |
845 | <message> | |
846 | <location filename="config_dialog.cc" line="1036"/> | |
847 | <source>Unknown sync error</source> | |
848 | <translation type="unfinished"></translation> | |
849 | </message> | |
850 | <message> | |
851 | <location filename="config_dialog.cc" line="1048"/> | |
802 | 852 | <source>Clear all sync data in Google servers</source> |
803 | 853 | <translation type="unfinished"></translation> |
804 | 854 | </message> |
805 | 855 | <message> |
806 | <location filename="config_dialog.cc" line="995"/> | |
856 | <location filename="config_dialog.cc" line="1049"/> | |
807 | 857 | <source>You are trying to clear all the data in the sync server. |
808 | 858 | Do you really want to continue?</source> |
809 | 859 | <translation type="unfinished"></translation> |
1047 | 1097 | <translation type="unfinished"></translation> |
1048 | 1098 | </message> |
1049 | 1099 | </context> |
1100 | <context> | |
1101 | <name>mozc::gui::WebServiceInfolistEditorDialog</name> | |
1102 | <message> | |
1103 | <location filename="webservice_infolist_editor.cc" line="99"/> | |
1104 | <source>New entry</source> | |
1105 | <translation type="unfinished"></translation> | |
1106 | </message> | |
1107 | <message> | |
1108 | <location filename="webservice_infolist_editor.cc" line="101"/> | |
1109 | <source>Remove selected entries</source> | |
1110 | <translation type="unfinished"></translation> | |
1111 | </message> | |
1112 | <message> | |
1113 | <location filename="webservice_infolist_editor.cc" line="104"/> | |
1114 | <source>Import from file...</source> | |
1115 | <translation type="unfinished"></translation> | |
1116 | </message> | |
1117 | <message> | |
1118 | <location filename="webservice_infolist_editor.cc" line="106"/> | |
1119 | <source>Export to file...</source> | |
1120 | <translation type="unfinished"></translation> | |
1121 | </message> | |
1122 | <message> | |
1123 | <location filename="webservice_infolist_editor.cc" line="109"/> | |
1124 | <source>Help...</source> | |
1125 | <translation type="unfinished"></translation> | |
1126 | </message> | |
1127 | <message> | |
1128 | <location filename="webservice_infolist_editor.cc" line="111"/> | |
1129 | <source>Mozc Web Service Usage Dictionary table editor</source> | |
1130 | <translation type="unfinished"></translation> | |
1131 | </message> | |
1132 | <message> | |
1133 | <location filename="webservice_infolist_editor.cc" line="123"/> | |
1134 | <source>Name</source> | |
1135 | <translation type="unfinished"></translation> | |
1136 | </message> | |
1137 | <message> | |
1138 | <location filename="webservice_infolist_editor.cc" line="123"/> | |
1139 | <source>URL</source> | |
1140 | <translation type="unfinished"></translation> | |
1141 | </message> | |
1142 | <message> | |
1143 | <location filename="webservice_infolist_editor.cc" line="124"/> | |
1144 | <source>Format type</source> | |
1145 | <translation type="unfinished"></translation> | |
1146 | </message> | |
1147 | <message> | |
1148 | <location filename="webservice_infolist_editor.cc" line="124"/> | |
1149 | <source>Xpath/Jsonpath</source> | |
1150 | <translation type="unfinished"></translation> | |
1151 | </message> | |
1152 | <message> | |
1153 | <location filename="webservice_infolist_editor.cc" line="188"/> | |
1154 | <source>Enter name of Web service</source> | |
1155 | <translation type="unfinished"></translation> | |
1156 | </message> | |
1157 | <message> | |
1158 | <location filename="webservice_infolist_editor.cc" line="189"/> | |
1159 | <source>Enter URL for of Web service. | |
1160 | "%s" is expanded to the candidate string. | |
1161 | "%r" is expanded to the all preedit string. | |
1162 | ||
1163 | Example: http://api.example.com/keyword/%s</source> | |
1164 | <translation type="unfinished"></translation> | |
1165 | </message> | |
1166 | <message> | |
1167 | <location filename="webservice_infolist_editor.cc" line="193"/> | |
1168 | <source>Select format type</source> | |
1169 | <translation type="unfinished"></translation> | |
1170 | </message> | |
1171 | <message> | |
1172 | <location filename="webservice_infolist_editor.cc" line="194"/> | |
1173 | <source>Enter Xpath or Jsonpath. | |
1174 | This query is used for extracting the content from URL. | |
1175 | ||
1176 | Example of Xpath: //content/node | |
1177 | Example of Jsonpath: $.content.node</source> | |
1178 | <translation type="unfinished"></translation> | |
1179 | </message> | |
1180 | <message> | |
1181 | <location filename="webservice_infolist_editor.cc" line="231"/> | |
1182 | <source>Mozc settings</source> | |
1183 | <translation type="unfinished"></translation> | |
1184 | </message> | |
1185 | <message> | |
1186 | <location filename="webservice_infolist_editor.cc" line="232"/> | |
1187 | <source>You can't have more than %1 entries</source> | |
1188 | <translation type="unfinished"></translation> | |
1189 | </message> | |
1190 | </context> | |
1050 | 1191 | </TS> |
Binary diff not shown
230 | 230 | <message> |
231 | 231 | <location filename="config_dialog.ui" line="1272"/> |
232 | 232 | <source>Clear all sync data in Google servers. To delete data completely, make sure there is no other machine which is running sync and stop sync on this machine after clearing the data.</source> |
233 | <translation>同期サーバーにあるデータを全て消去します。データを消去したままにするには、他のコンピュータで実行している同期をあらかじめ解除し、消去の実行後にこのコンピュータの同期も解除してください。 | |
234 | 実行しますか?</translation> | |
233 | <translation>同期サーバーにあるデータを全て消去します。データを消去したままにするには、他のコンピュータで実行している同期をあらかじめ解除し、消去の実行後にこのコンピュータの同期も解除してください。</translation> | |
235 | 234 | </message> |
236 | 235 | <message> |
237 | 236 | <location filename="config_dialog.ui" line="57"/> |
539 | 538 | <translation>最終同期時刻</translation> |
540 | 539 | </message> |
541 | 540 | <message> |
542 | <location filename="config_dialog.ui" line="1310"/> | |
541 | <location filename="config_dialog.ui" line="1355"/> | |
543 | 542 | <source>Misc</source> |
544 | 543 | <translation>その他</translation> |
545 | 544 | </message> |
546 | 545 | <message> |
547 | <location filename="config_dialog.ui" line="1357"/> | |
546 | <location filename="config_dialog.ui" line="1402"/> | |
548 | 547 | <source>Logging level (debug only)</source> |
549 | 548 | <translation>ログレベル(デバッグ)</translation> |
550 | 549 | </message> |
553 | 552 | <translation type="obsolete">プロトコル ログを有効にする(デバッグ)</translation> |
554 | 553 | </message> |
555 | 554 | <message> |
556 | <location filename="config_dialog.ui" line="1386"/> | |
555 | <location filename="config_dialog.ui" line="1431"/> | |
557 | 556 | <source>Logging</source> |
558 | 557 | <translation>ログ</translation> |
559 | 558 | </message> |
560 | 559 | <message> |
561 | <location filename="config_dialog.ui" line="1418"/> | |
560 | <location filename="config_dialog.ui" line="1463"/> | |
562 | 561 | <source>Administration</source> |
563 | 562 | <translation>管理</translation> |
564 | 563 | </message> |
565 | 564 | <message> |
566 | 565 | <location filename="config_dialog.ui" line="1113"/> |
567 | <location filename="config_dialog.ui" line="1456"/> | |
566 | <location filename="config_dialog.ui" line="1501"/> | |
568 | 567 | <source>Settings...</source> |
569 | 568 | <translation>設定変更...</translation> |
570 | 569 | </message> |
571 | 570 | <message> |
572 | <location filename="config_dialog.ui" line="1476"/> | |
571 | <location filename="config_dialog.ui" line="1521"/> | |
573 | 572 | <source>Dictionary preloading and UAC settings</source> |
574 | 573 | <translation>オンメモリ辞書とUACの設定</translation> |
575 | 574 | </message> |
599 | 598 | <translation>設定や同期用ユーザー辞書を、異なるコンピュータ間で安全に同期します</translation> |
600 | 599 | </message> |
601 | 600 | <message> |
602 | <location filename="config_dialog.ui" line="1501"/> | |
601 | <location filename="config_dialog.ui" line="1317"/> | |
602 | <source>Allow Using Cloud Handwriting</source> | |
603 | <translation type="unfinished"></translation> | |
604 | </message> | |
605 | <message> | |
606 | <location filename="config_dialog.ui" line="1333"/> | |
607 | <source>Cloud servers</source> | |
608 | <translation type="unfinished"></translation> | |
609 | </message> | |
610 | <message> | |
611 | <location filename="config_dialog.ui" line="1546"/> | |
603 | 612 | <source>Check if Mozc is the default IME on startup</source> |
604 | 613 | <translation>起動時に Mozcが既定の IME であるか確認する</translation> |
605 | 614 | </message> |
606 | 615 | <message> |
607 | <location filename="config_dialog.ui" line="1511"/> | |
616 | <location filename="config_dialog.ui" line="1556"/> | |
608 | 617 | <source>Disable Keyboard layout hotkey (Ctrl+Shift)</source> |
609 | 618 | <translation>ホットキー(Ctrl+Shift)による IME の切り替えを無効化する</translation> |
610 | 619 | </message> |
611 | 620 | <message> |
612 | <location filename="config_dialog.ui" line="1325"/> | |
621 | <location filename="config_dialog.ui" line="1370"/> | |
613 | 622 | <source>Default IME</source> |
614 | 623 | <translation>既定の IME</translation> |
615 | 624 | </message> |
616 | 625 | <message> |
617 | <location filename="config_dialog.ui" line="1550"/> | |
626 | <location filename="config_dialog.ui" line="1595"/> | |
618 | 627 | <source>Reset to defaults</source> |
619 | 628 | <translation>初期値に戻す</translation> |
620 | 629 | </message> |
1085 | 1094 | </message> |
1086 | 1095 | <message> |
1087 | 1096 | <location filename="config_dialog.cc" line="552"/> |
1088 | <location filename="config_dialog.cc" line="983"/> | |
1097 | <location filename="config_dialog.cc" line="985"/> | |
1089 | 1098 | <source>Sync is not enabled</source> |
1090 | 1099 | <translation>同期機能:オフ</translation> |
1091 | 1100 | </message> |
1092 | 1101 | <message> |
1093 | <location filename="config_dialog.cc" line="688"/> | |
1094 | <location filename="config_dialog.cc" line="710"/> | |
1102 | <location filename="config_dialog.cc" line="690"/> | |
1103 | <location filename="config_dialog.cc" line="712"/> | |
1095 | 1104 | <source>Mozc Converter is not running. Settings were not saved.</source> |
1096 | 1105 | <translation>変換サーバが反応していません。設定の反映に失敗しました。</translation> |
1097 | 1106 | </message> |
1098 | 1107 | <message> |
1099 | <location filename="config_dialog.cc" line="805"/> | |
1108 | <location filename="config_dialog.cc" line="807"/> | |
1100 | 1109 | <source>When you reset Mozc settings, any changes you've made will be reverted to the default settings. Do you want to reset settings? The following items are not reset with this operation. |
1101 | 1110 | - Personalization data |
1102 | 1111 | - Input history |
1111 | 1120 | - 管理者用設定</translation> |
1112 | 1121 | </message> |
1113 | 1122 | <message> |
1114 | <location filename="config_dialog.cc" line="833"/> | |
1123 | <location filename="config_dialog.cc" line="835"/> | |
1115 | 1124 | <source>Stop Sync</source> |
1116 | 1125 | <translation>同期の解除</translation> |
1117 | 1126 | </message> |
1118 | 1127 | <message> |
1119 | <location filename="config_dialog.cc" line="835"/> | |
1128 | <location filename="config_dialog.cc" line="837"/> | |
1120 | 1129 | <source>Start Sync</source> |
1121 | 1130 | <translation>同期する</translation> |
1122 | 1131 | </message> |
1123 | 1132 | <message> |
1124 | <location filename="config_dialog.cc" line="851"/> | |
1133 | <location filename="config_dialog.cc" line="853"/> | |
1125 | 1134 | <source>Stop sync and reset the auth token</source> |
1126 | 1135 | <translation>同期の解除と認証コードのクリア</translation> |
1127 | 1136 | </message> |
1128 | 1137 | <message> |
1129 | <location filename="config_dialog.cc" line="852"/> | |
1138 | <location filename="config_dialog.cc" line="854"/> | |
1130 | 1139 | <source>You are trying to stop sync and reset the auth token. To restart sync, you will need to get a new auth token. |
1131 | 1140 | Do you really want to continue?</source> |
1132 | 1141 | <translation>同期の解除と認証コードのクリアを行います。同期を再開するには、新しい認証コードを取得する必要があります。 |
1133 | 1142 | 実行しますか?</translation> |
1134 | 1143 | </message> |
1135 | 1144 | <message> |
1136 | <location filename="config_dialog.cc" line="936"/> | |
1145 | <location filename="config_dialog.cc" line="938"/> | |
1137 | 1146 | <source>Not synced yet</source> |
1138 | 1147 | <translation>同期されていません</translation> |
1139 | 1148 | </message> |
1140 | 1149 | <message> |
1141 | <location filename="config_dialog.cc" line="940"/> | |
1150 | <location filename="config_dialog.cc" line="942"/> | |
1142 | 1151 | <source>Last synced time: </source> |
1143 | 1152 | <translation>最終同期時刻: </translation> |
1144 | 1153 | </message> |
1145 | 1154 | <message> |
1146 | <location filename="config_dialog.cc" line="995"/> | |
1155 | <location filename="config_dialog.cc" line="1000"/> | |
1156 | <source>Authorization failed.</source> | |
1157 | <translation>認証に失敗しました。</translation> | |
1158 | </message> | |
1159 | <message> | |
1160 | <location filename="config_dialog.cc" line="1003"/> | |
1161 | <source>Cannot save dictionaries because Sync Dictionary exceeds its entry size limit.</source> | |
1162 | <translation>単語数の上限を超えたため同期用辞書をセーブできません。</translation> | |
1163 | </message> | |
1164 | <message> | |
1165 | <location filename="config_dialog.cc" line="1007"/> | |
1166 | <source>Cannot save dictionaries because Sync Dictionary exceeds its binary size limit.</source> | |
1167 | <translation>ファイルサイズの上限を超えたため同期用辞書をセーブできません。</translation> | |
1168 | </message> | |
1169 | <message> | |
1170 | <location filename="config_dialog.cc" line="1011"/> | |
1171 | <source>Cannot save dictionaries because the number of dictionaries for sync exceeds its limit.</source> | |
1172 | <translation>同期用辞書の数が上限を超えたため辞書をセーブできません。</translation> | |
1173 | </message> | |
1174 | <message> | |
1175 | <location filename="config_dialog.cc" line="1015"/> | |
1176 | <source>Unknown error was found.</source> | |
1177 | <translation>未知のエラーです。</translation> | |
1178 | </message> | |
1179 | <message> | |
1180 | <location filename="config_dialog.cc" line="1028"/> | |
1181 | <source>Authorization error</source> | |
1182 | <translation>認証失敗</translation> | |
1183 | </message> | |
1184 | <message> | |
1185 | <location filename="config_dialog.cc" line="1033"/> | |
1186 | <source>Dictionary sync error</source> | |
1187 | <translation>辞書同期エラー</translation> | |
1188 | </message> | |
1189 | <message> | |
1190 | <location filename="config_dialog.cc" line="1036"/> | |
1191 | <source>Unknown sync error</source> | |
1192 | <translation>未知の同期エラー</translation> | |
1193 | </message> | |
1194 | <message> | |
1195 | <location filename="config_dialog.cc" line="1049"/> | |
1147 | 1196 | <source>You are trying to clear all the data in the sync server. |
1148 | 1197 | Do you really want to continue?</source> |
1149 | 1198 | <translation>Google サーバー上の同期データを全て消去します。 |
1158 | 1207 | <translation type="obsolete">同期失敗</translation> |
1159 | 1208 | </message> |
1160 | 1209 | <message> |
1161 | <location filename="config_dialog.cc" line="980"/> | |
1210 | <location filename="config_dialog.cc" line="982"/> | |
1162 | 1211 | <source>During synchronization</source> |
1163 | 1212 | <translation>同期中です</translation> |
1164 | 1213 | </message> |
1165 | 1214 | <message> |
1166 | <location filename="config_dialog.cc" line="994"/> | |
1215 | <location filename="config_dialog.cc" line="1048"/> | |
1167 | 1216 | <source>Clear all sync data in Google servers</source> |
1168 | 1217 | <translation>Google サーバー上の同期データを全て消去する</translation> |
1169 | 1218 | </message> |
1172 | 1221 | <location filename="config_dialog.cc" line="365"/> |
1173 | 1222 | <location filename="config_dialog.cc" line="379"/> |
1174 | 1223 | <location filename="config_dialog.cc" line="387"/> |
1175 | <location filename="config_dialog.cc" line="673"/> | |
1176 | <location filename="config_dialog.cc" line="687"/> | |
1177 | <location filename="config_dialog.cc" line="697"/> | |
1178 | <location filename="config_dialog.cc" line="709"/> | |
1179 | <location filename="config_dialog.cc" line="719"/> | |
1180 | <location filename="config_dialog.cc" line="731"/> | |
1181 | <location filename="config_dialog.cc" line="804"/> | |
1224 | <location filename="config_dialog.cc" line="675"/> | |
1225 | <location filename="config_dialog.cc" line="689"/> | |
1226 | <location filename="config_dialog.cc" line="699"/> | |
1227 | <location filename="config_dialog.cc" line="711"/> | |
1228 | <location filename="config_dialog.cc" line="721"/> | |
1229 | <location filename="config_dialog.cc" line="733"/> | |
1230 | <location filename="config_dialog.cc" line="806"/> | |
1182 | 1231 | <source>Mozc settings</source> |
1183 | 1232 | <translation>Mozc プロパティ</translation> |
1184 | 1233 | </message> |
1203 | 1252 | <translation>設定の反映に失敗しました</translation> |
1204 | 1253 | </message> |
1205 | 1254 | <message> |
1206 | <location filename="config_dialog.cc" line="674"/> | |
1255 | <location filename="config_dialog.cc" line="676"/> | |
1207 | 1256 | <source>Do you want to clear personalization data? Input history is not reset with this operation. Please open "suggestion" tab to remove input history data.</source> |
1208 | 1257 | <translation>学習結果がリセットされます。実行しますか? 入力履歴データはリセットされません。入力履歴データのリセットは「サジェスト→全入力履歴の削除」で行えます。</translation> |
1209 | 1258 | </message> |
1210 | 1259 | <message> |
1211 | <location filename="config_dialog.cc" line="732"/> | |
1260 | <location filename="config_dialog.cc" line="734"/> | |
1212 | 1261 | <source>Mozc Converter is not running. Operation was not executed.</source> |
1213 | 1262 | <translation>Mozcコンバーターが起動していません。設定の反映に失敗しました。</translation> |
1214 | 1263 | </message> |
1215 | 1264 | <message> |
1216 | <location filename="config_dialog.cc" line="698"/> | |
1265 | <location filename="config_dialog.cc" line="700"/> | |
1217 | 1266 | <source>Do you want to clear all history data?</source> |
1218 | 1267 | <translation>すべての入力履歴が削除されます。実行しますか?</translation> |
1219 | 1268 | </message> |
1220 | 1269 | <message> |
1221 | <location filename="config_dialog.cc" line="720"/> | |
1270 | <location filename="config_dialog.cc" line="722"/> | |
1222 | 1271 | <source>Do you want to clear unused history data?</source> |
1223 | 1272 | <translation>サジェスト経由で入力されなかった履歴が削除されます。実行しますか?</translation> |
1224 | 1273 | </message> |
1465 | 1514 | <context> |
1466 | 1515 | <name>mozc::gui::WebServiceInfolistEditorDialog</name> |
1467 | 1516 | <message> |
1517 | <location filename="webservice_infolist_editor.cc" line="99"/> | |
1468 | 1518 | <source>New entry</source> |
1469 | <translation type="obsolete">新しいエントリー</translation> | |
1470 | </message> | |
1471 | <message> | |
1519 | <translation type="unfinished">新しいエントリー</translation> | |
1520 | </message> | |
1521 | <message> | |
1522 | <location filename="webservice_infolist_editor.cc" line="101"/> | |
1472 | 1523 | <source>Remove selected entries</source> |
1473 | <translation type="obsolete">選択されたエントリーを削除</translation> | |
1474 | </message> | |
1475 | <message> | |
1524 | <translation type="unfinished">選択されたエントリーを削除</translation> | |
1525 | </message> | |
1526 | <message> | |
1527 | <location filename="webservice_infolist_editor.cc" line="104"/> | |
1476 | 1528 | <source>Import from file...</source> |
1477 | <translation type="obsolete">インポート...</translation> | |
1478 | </message> | |
1479 | <message> | |
1529 | <translation type="unfinished">インポート...</translation> | |
1530 | </message> | |
1531 | <message> | |
1532 | <location filename="webservice_infolist_editor.cc" line="106"/> | |
1480 | 1533 | <source>Export to file...</source> |
1481 | <translation type="obsolete">エクスポート...</translation> | |
1534 | <translation type="unfinished">エクスポート...</translation> | |
1535 | </message> | |
1536 | <message> | |
1537 | <location filename="webservice_infolist_editor.cc" line="109"/> | |
1538 | <source>Help...</source> | |
1539 | <translation type="unfinished"></translation> | |
1540 | </message> | |
1541 | <message> | |
1542 | <location filename="webservice_infolist_editor.cc" line="111"/> | |
1543 | <source>Mozc Web Service Usage Dictionary table editor</source> | |
1544 | <translation type="unfinished"></translation> | |
1545 | </message> | |
1546 | <message> | |
1547 | <location filename="webservice_infolist_editor.cc" line="123"/> | |
1548 | <source>Name</source> | |
1549 | <translation type="unfinished"></translation> | |
1550 | </message> | |
1551 | <message> | |
1552 | <location filename="webservice_infolist_editor.cc" line="123"/> | |
1553 | <source>URL</source> | |
1554 | <translation type="unfinished"></translation> | |
1555 | </message> | |
1556 | <message> | |
1557 | <location filename="webservice_infolist_editor.cc" line="124"/> | |
1558 | <source>Format type</source> | |
1559 | <translation type="unfinished"></translation> | |
1560 | </message> | |
1561 | <message> | |
1562 | <location filename="webservice_infolist_editor.cc" line="124"/> | |
1563 | <source>Xpath/Jsonpath</source> | |
1564 | <translation type="unfinished"></translation> | |
1565 | </message> | |
1566 | <message> | |
1567 | <location filename="webservice_infolist_editor.cc" line="188"/> | |
1568 | <source>Enter name of Web service</source> | |
1569 | <translation type="unfinished"></translation> | |
1570 | </message> | |
1571 | <message> | |
1572 | <location filename="webservice_infolist_editor.cc" line="189"/> | |
1573 | <source>Enter URL for of Web service. | |
1574 | "%s" is expanded to the candidate string. | |
1575 | "%r" is expanded to the all preedit string. | |
1576 | ||
1577 | Example: http://api.example.com/keyword/%s</source> | |
1578 | <translation type="unfinished"></translation> | |
1579 | </message> | |
1580 | <message> | |
1581 | <location filename="webservice_infolist_editor.cc" line="193"/> | |
1582 | <source>Select format type</source> | |
1583 | <translation type="unfinished"></translation> | |
1584 | </message> | |
1585 | <message> | |
1586 | <location filename="webservice_infolist_editor.cc" line="194"/> | |
1587 | <source>Enter Xpath or Jsonpath. | |
1588 | This query is used for extracting the content from URL. | |
1589 | ||
1590 | Example of Xpath: //content/node | |
1591 | Example of Jsonpath: $.content.node</source> | |
1592 | <translation type="unfinished"></translation> | |
1593 | </message> | |
1594 | <message> | |
1595 | <location filename="webservice_infolist_editor.cc" line="231"/> | |
1596 | <source>Mozc settings</source> | |
1597 | <translation type="unfinished"></translation> | |
1598 | </message> | |
1599 | <message> | |
1600 | <location filename="webservice_infolist_editor.cc" line="232"/> | |
1601 | <source>You can't have more than %1 entries</source> | |
1602 | <translation type="unfinished">%1 個以上のエントリーは登録できません</translation> | |
1482 | 1603 | </message> |
1483 | 1604 | <message> |
1484 | 1605 | <source>Do you want to overwrite the current roman table?</source> |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
32 | 32 | #include <windows.h> |
33 | 33 | #include <imm.h> |
34 | 34 | #include <ime.h> |
35 | #elif OS_LINUX | |
36 | #define XK_MISCELLANY | |
37 | #include <X11/keysymdef.h> | |
35 | 38 | #endif |
36 | 39 | |
37 | 40 | #include <QtCore/QString> |
117 | 120 | { VK_DBE_DBCSCHAR, "Hankaku/Zenkaku" }, // Zenkaku/hankaku |
118 | 121 | // { VK_KANJI, "Kanji" }, // Do not support Kanji |
119 | 122 | }; |
123 | #elif OS_LINUX | |
124 | struct LinuxVirtualKeyEntry { | |
125 | uint16 virtual_key; | |
126 | const char *mozc_key_name; | |
127 | }; | |
128 | ||
129 | const LinuxVirtualKeyEntry kLinuxVirtualKeyModifierNonRequiredTable[] = { | |
130 | { XK_Muhenkan, "Muhenkan" }, | |
131 | { XK_Henkan, "Henkan" }, | |
132 | { XK_Hiragana, "Hiragana" }, | |
133 | { XK_Katakana, "Katakana" }, | |
134 | { XK_Eisu_toggle, "Eisu" }, | |
135 | { XK_Zenkaku_Hankaku, "Hankaku/Zenkaku" }, | |
136 | }; | |
120 | 137 | #endif |
121 | 138 | |
122 | 139 | // On Windows Hiragana/Eisu keys only emits KEY_DOWN event. |
366 | 383 | virtual_key) { |
367 | 384 | modifier_non_required_key_ = |
368 | 385 | kWinVirtualKeyModifierNonRequiredTable[i].mozc_key_name; |
386 | return Encode(result); | |
387 | } | |
388 | } | |
389 | #elif OS_LINUX | |
390 | // Handle JP109's Muhenkan/Henkan/katakana-hiragana and Zenkaku/Hankaku | |
391 | const uint16 virtual_key = key_event.nativeVirtualKey(); | |
392 | for (size_t i = 0; i < arraysize(kLinuxVirtualKeyModifierNonRequiredTable); | |
393 | ++i) { | |
394 | if (kLinuxVirtualKeyModifierNonRequiredTable[i].virtual_key == | |
395 | virtual_key) { | |
396 | modifier_non_required_key_ = | |
397 | kLinuxVirtualKeyModifierNonRequiredTable[i].mozc_key_name; | |
369 | 398 | return Encode(result); |
370 | 399 | } |
371 | 400 | } |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
93 | 93 | invisible_commands_.insert(kReportBugCommand); |
94 | 94 | // Old command name. |
95 | 95 | invisible_commands_.insert(kEditInsertCommand); |
96 | #if defined(OS_MACOSX) || defined(OS_LINUX) | |
97 | // On Mac/Linux, we cannot customize keybindings for IME ON/OFF | |
96 | #if defined(OS_MACOSX) | |
97 | // On Mac, we cannot customize keybindings for IME ON/OFF | |
98 | 98 | // So we do not show them. |
99 | 99 | // TODO(toshiyuki): remove them after implimenting IME ON/OFF for Mac |
100 | 100 | invisible_commands_.insert(kIMEOnCommand); |
101 | 101 | invisible_commands_.insert(kIMEOffCommand); |
102 | #endif // OS_MACOSX || OS_LINUX | |
102 | #endif // OS_MACOSX | |
103 | 103 | |
104 | 104 | invisible_modifiers_.insert(mozc::commands::KeyEvent::KEY_DOWN); |
105 | 105 | invisible_modifiers_.insert(mozc::commands::KeyEvent::KEY_UP); |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
Binary diff not shown
243 | 243 | <translation>Undo</translation> |
244 | 244 | </message> |
245 | 245 | <message> |
246 | <source>SegmentFocusRightOrCommit</source> | |
247 | <translation>Move segment focus right or commit segment</translation> | |
248 | </message> | |
249 | <message> | |
250 | 246 | <source>Reconvert</source> |
251 | 247 | <translation>Reconvert</translation> |
252 | 248 | </message> |
Binary diff not shown
243 | 243 | <translation>確定取り消し</translation> |
244 | 244 | </message> |
245 | 245 | <message> |
246 | <source>SegmentFocusRightOrCommit</source> | |
247 | <translation>文節を右に移動または確定</translation> | |
248 | </message> | |
249 | <message> | |
250 | 246 | <source>Reconvert</source> |
251 | 247 | <translation>再変換</translation> |
252 | 248 | </message> |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
136 | 136 | # (e.g. extra CFLAGS), also creates a new target in the src/chrome |
137 | 137 | # project file called "coverage". |
138 | 138 | 'coverage%': 0, |
139 | ||
140 | # enable_cloud_sync represents if cloud sync feature is enabled or not. | |
141 | 'enable_cloud_sync%': 0, | |
139 | 142 | |
140 | 143 | # The pkg-config command to get the cflags/ldflags for Linux |
141 | 144 | # builds. We make it customizable to allow building in a special |
196 | 199 | '<@(linux_ldflags)', |
197 | 200 | ], |
198 | 201 | }], |
202 | ['enable_cloud_sync==1', { | |
203 | 'defines': ['CLOUD_SYNC'], | |
204 | }], | |
199 | 205 | ], |
200 | 206 | }, |
201 | 207 | 'x86_Base': { |
230 | 236 | 'Optimization': '<(win_optimization_debug)', |
231 | 237 | 'PreprocessorDefinitions': ['_DEBUG'], |
232 | 238 | 'BasicRuntimeChecks': '3', |
233 | 'RuntimeLibrary': '<(win_debug_static_crt)', | |
239 | 'conditions': [ | |
240 | ['use_dynamically_linked_qt=="YES"', { | |
241 | # As a quick workaround, use dynamically-linked version of CRT | |
242 | # if 'use_dynamically_linked_qt' is specified. | |
243 | # As for GoogleJapaneseInput branding build, this is not enough | |
244 | # because we cannot completely depend on dynamic CRT as | |
245 | # described in b/2506385. We should use static CRT for the | |
246 | # following binaries. | |
247 | # - GoogleIMEJaCacheService.exe | |
248 | # - GoogleIMEJaInstallerHelper32.dll | |
249 | # - GoogleIMEJaInstallerHelper64.dll | |
250 | # - any artifacts build in 'build_mozc.py build_tools' | |
251 | # TODO(yukawa): Support GoogleJapaneseInput branding build. | |
252 | 'RuntimeLibrary': '<(win_debug_dynamic_crt)', | |
253 | }, { # else | |
254 | 'RuntimeLibrary': '<(win_debug_static_crt)', | |
255 | }], | |
256 | ], | |
234 | 257 | }, |
235 | 258 | 'VCResourceCompilerTool': { |
236 | 259 | 'PreprocessorDefinitions': ['_DEBUG'], |
272 | 295 | # are built with /O2. We use the same optimization option between |
273 | 296 | # Mozc and Qt just in case warning C4748 is true. |
274 | 297 | 'Optimization': '<(win_optimization_release)', |
275 | 'RuntimeLibrary': '<(win_release_static_crt)', | |
298 | 'conditions': [ | |
299 | ['use_dynamically_linked_qt=="YES"', { | |
300 | # As a quick workaround, use dynamically-linked version of CRT | |
301 | # if 'use_dynamically_linked_qt' is specified. | |
302 | # As for GoogleJapaneseInput branding build, this is not enough | |
303 | # because we cannot completely depend on dynamic CRT as | |
304 | # described in b/2506385. We should use static CRT for the | |
305 | # following binaries. | |
306 | # - GoogleIMEJaCacheService.exe | |
307 | # - GoogleIMEJaInstallerHelper32.dll | |
308 | # - GoogleIMEJaInstallerHelper64.dll | |
309 | # - any artifacts build in 'build_mozc.py build_tools' | |
310 | # TODO(yukawa): Support GoogleJapaneseInput branding build. | |
311 | 'RuntimeLibrary': '<(win_release_dynamic_crt)', | |
312 | }, { # else | |
313 | 'RuntimeLibrary': '<(win_release_static_crt)', | |
314 | }], | |
315 | ], | |
276 | 316 | }, |
277 | 317 | }, |
278 | 318 | 'conditions': [ |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
350 | 350 | } |
351 | 351 | if (new_mode != commands::NUM_OF_COMPOSITIONS) { |
352 | 352 | output->mutable_status()->set_mode(new_mode); |
353 | output->set_mode(new_mode); | |
353 | output->mutable_status()->set_activated(true); | |
354 | 354 | } |
355 | 355 | |
356 | 356 | DLOG(INFO) << command->DebugString(); |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
63 | 63 | }, |
64 | 64 | }; |
65 | 65 | |
66 | // The IMEOff state is not available in Chewing. | |
67 | const MozcEngineProperty *kMozcEnginePropertyIMEOffState = NULL; | |
66 | 68 | const size_t kMozcEnginePropertiesSize = arraysize(kMozcEngineProperties); |
67 | 69 | |
68 | 70 | const commands::CompositionMode kMozcEngineInitialCompositionMode = |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
392 | 392 | |
393 | 393 | candidates->set_focused_index(hanja_index_); |
394 | 394 | candidates->set_direction(commands::Candidates::HORIZONTAL); |
395 | candidates->set_position(0); | |
395 | 396 | } |
396 | 397 | |
397 | 398 | // TODO(nona): make backspace key customizable. |
819 | 820 | break; |
820 | 821 | } |
821 | 822 | hanja_lock_preedit_.clear(); |
823 | // status is never used in hangul, followin value is dummy. | |
824 | command->mutable_output()->mutable_status()->set_mode(commands::HIRAGANA); | |
825 | command->mutable_output()->mutable_status()->set_activated(true); | |
822 | 826 | break; |
823 | 827 | default: |
824 | 828 | // do nothing. |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
57 | 57 | }, |
58 | 58 | }; |
59 | 59 | |
60 | // The IMEOff state is not available in Hangul | |
61 | const MozcEngineProperty *kMozcEnginePropertyIMEOffState = NULL; | |
60 | 62 | const size_t kMozcEnginePropertiesSize = arraysize(kMozcEngineProperties); |
61 | 63 | |
62 | 64 | const commands::CompositionMode kMozcEngineInitialCompositionMode = |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
321 | 321 | working_area); |
322 | 322 | } |
323 | 323 | |
324 | DWORD set_windows_pos_flags = SWP_NOACTIVATE | SWP_SHOWWINDOW; | |
324 | const DWORD kSetWindowsPosFlags = SWP_NOACTIVATE | SWP_SHOWWINDOW; | |
325 | 325 | main_window_->SetWindowPos(HWND_TOPMOST, |
326 | 326 | main_window_rect.Left(), |
327 | 327 | main_window_rect.Top(), |
328 | 328 | main_window_rect.Width(), |
329 | 329 | main_window_rect.Height(), |
330 | set_windows_pos_flags); | |
330 | kSetWindowsPosFlags); | |
331 | 331 | // This trick ensures that the window is certainly shown as 'inactivated' |
332 | 332 | // in terms of visual effect on DWM-enabled desktop. |
333 | 333 | main_window_->SendMessageW(WM_NCACTIVATE, FALSE); |
358 | 358 | WindowUtil::GetWindowRectForInfolistWindow( |
359 | 359 | infolist_window_->GetLayoutSize(), |
360 | 360 | main_window_rect, working_area); |
361 | infolist_window_->MoveWindow(infolist_rect.Left(), | |
362 | infolist_rect.Top(), | |
363 | infolist_rect.Width(), | |
364 | infolist_rect.Height(), | |
365 | TRUE); | |
366 | infolist_window_->SetWindowPos(HWND_TOPMOST, 0, 0, 0, 0, | |
367 | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); | |
361 | infolist_window_->SetWindowPos(HWND_TOPMOST, | |
362 | infolist_rect.Left(), | |
363 | infolist_rect.Top(), | |
364 | infolist_rect.Width(), | |
365 | infolist_rect.Height(), | |
366 | kSetWindowsPosFlags); | |
368 | 367 | if (candidates.has_focused_index() && candidates.candidate_size() > 0) { |
369 | 368 | const int focused_row = |
370 | 369 | candidates.focused_index() - candidates.candidate(0).index(); |
417 | 416 | cascading_window_rect.Top(), |
418 | 417 | cascading_window_rect.Width(), |
419 | 418 | cascading_window_rect.Height(), |
420 | set_windows_pos_flags); | |
419 | kSetWindowsPosFlags); | |
421 | 420 | // This trick ensures that the window is certainly shown as 'inactivated' |
422 | 421 | // in terms of visual effect on DWM-enabled desktop. |
423 | 422 | cascading_window_->SendMessageW(WM_NCACTIVATE, FALSE); |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
85 | 85 | } |
86 | 86 | AddRewriter(new DateRewriter); |
87 | 87 | AddRewriter(new FortuneRewriter); |
88 | // AddRewriter(new CommandRewriter); | |
88 | // AddRewriter(new CommandRewriter); | |
89 | 89 | AddRewriter(new VersionRewriter); |
90 | 90 | #if defined(OS_MACOSX) || defined(OS_WINDOWS) || defined(OS_CHROMEOS) |
91 | 91 | // TODO(horo): Because infolist renderer window is implimented |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2012, Google Inc. | |
1 | // All rights reserved. | |
2 | // | |
3 | // Redistribution and use in source and binary forms, with or without | |
4 | // modification, are permitted provided that the following conditions are | |
5 | // met: | |
6 | // | |
7 | // * Redistributions of source code must retain the above copyright | |
8 | // notice, this list of conditions and the following disclaimer. | |
9 | // * Redistributions in binary form must reproduce the above | |
10 | // copyright notice, this list of conditions and the following disclaimer | |
11 | // in the documentation and/or other materials provided with the | |
12 | // distribution. | |
13 | // * Neither the name of Google Inc. nor the names of its | |
14 | // contributors may be used to endorse or promote products derived from | |
15 | // this software without specific prior written permission. | |
16 | // | |
17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
20 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
21 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
22 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
23 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
24 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
25 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
26 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
27 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | ||
29 | #include <string> | |
30 | ||
31 | #include "base/util.h" | |
32 | #include "converter/segments.h" | |
33 | #include "rewriter/rewriter_interface.h" | |
34 | #include "testing/base/public/gunit.h" | |
35 | #include "config/config_handler.h" | |
36 | #include "config/config.pb.h" | |
37 | ||
38 | DECLARE_string(test_tmpdir); | |
39 | ||
40 | namespace mozc { | |
41 | namespace { | |
42 | ||
43 | size_t CommandCandidatesSize(const Segment &segment) { | |
44 | size_t result = 0; | |
45 | for (int i = 0; i < segment.candidates_size(); ++i) { | |
46 | if (segment.candidate(i).attributes & | |
47 | Segment::Candidate::COMMAND_CANDIDATE) { | |
48 | result++; | |
49 | } | |
50 | } | |
51 | return result; | |
52 | } | |
53 | ||
54 | } // namespace | |
55 | ||
56 | class RewriterTest : public testing::Test { | |
57 | protected: | |
58 | virtual void SetUp() { | |
59 | Util::SetUserProfileDirectory(FLAGS_test_tmpdir); | |
60 | config::Config config; | |
61 | config::ConfigHandler::GetDefaultConfig(&config); | |
62 | config::ConfigHandler::SetConfig(config); | |
63 | } | |
64 | ||
65 | virtual void TearDown() { | |
66 | config::Config config; | |
67 | config::ConfigHandler::GetDefaultConfig(&config); | |
68 | config::ConfigHandler::SetConfig(config); | |
69 | } | |
70 | ||
71 | const RewriterInterface *GetRewriter() const { | |
72 | return RewriterFactory::GetRewriter(); | |
73 | } | |
74 | }; | |
75 | ||
76 | TEST_F(RewriterTest, CommandRewriterAvailability) { | |
77 | Segments segments; | |
78 | Segment *seg = segments.push_back_segment(); | |
79 | ||
80 | { | |
81 | Segment::Candidate *candidate = seg->add_candidate(); | |
82 | // seg->set_key("こまんど"); | |
83 | // candidate->value = "コマンド"; | |
84 | seg->set_key("\xE3\x81\x93\xE3\x81\xBE\xE3\x82\x93\xE3\x81\xA9"); | |
85 | candidate->value = "\xE3\x82\xB3\xE3\x83\x9E" | |
86 | "\xE3\x83\xB3\xE3\x83\x89"; | |
87 | EXPECT_TRUE(GetRewriter()->Rewrite(&segments)); | |
88 | EXPECT_EQ(2, CommandCandidatesSize(*seg)); | |
89 | seg->clear_candidates(); | |
90 | } | |
91 | ||
92 | { | |
93 | Segment::Candidate *candidate = seg->add_candidate(); | |
94 | // seg->set_key("さじぇすと"); | |
95 | // candidate->value = "サジェスト"; | |
96 | seg->set_key("\xE3\x81\x95\xE3\x81\x98\xE3\x81\x87" | |
97 | "\xE3\x81\x99\xE3\x81\xA8"); | |
98 | candidate->value = "\xE3\x82\xB5\xE3\x82\xB8\xE3\x82\xA7" | |
99 | "\xE3\x82\xB9\xE3\x83\x88"; | |
100 | EXPECT_TRUE(GetRewriter()->Rewrite(&segments)); | |
101 | EXPECT_EQ(1, CommandCandidatesSize(*seg)); | |
102 | seg->clear_candidates(); | |
103 | } | |
104 | } | |
105 | ||
106 | } // namespace mozc |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
51 | 51 | 'number_rewriter_test.cc', |
52 | 52 | 'normalization_rewriter_test.cc', |
53 | 53 | 'remove_redundant_candidate_rewriter_test.cc', |
54 | # 'rewriter_test.cc', | |
54 | 55 | 'symbol_rewriter_test.cc', |
55 | 56 | 'transliteration_rewriter_test.cc', |
56 | 57 | 'unicode_rewriter_test.cc', |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
565 | 565 | optional int32 length = 2; |
566 | 566 | }; |
567 | 567 | |
568 | // TODO(peria): Move this message to a new protobuf file. | |
569 | message CloudSyncStatus { | |
570 | enum SyncGlobalStatus { | |
571 | SYNC_SUCCESS = 0; | |
572 | SYNC_FAILURE = 1; | |
573 | INSYNC = 2; | |
574 | NOSYNC = 3; // no synchronisation is working. | |
575 | }; | |
576 | required SyncGlobalStatus global_status = 1; | |
577 | ||
578 | // Error types in sync feature. | |
579 | enum ErrorCode { | |
580 | // In case AuthToken is not accepted in OAuth2 authorization. | |
581 | AUTHORIZATION_FAIL = 0; | |
582 | // Any sync dictionaries have more entries than pre-defiend limit. | |
583 | USER_DICTIONARY_NUM_ENTRY_EXCEEDED = 1; | |
584 | // Sizes of any sync dictionaries are larger than pre-defiend limit. | |
585 | USER_DICTIONARY_BYTESIZE_EXCEEDED = 2; | |
586 | // The number of sync dictionaries exceeds pre-defined limit. | |
587 | USER_DICTIONARY_NUM_DICTIONARY_EXCEEDED = 3; | |
588 | }; | |
589 | message SyncError { | |
590 | required ErrorCode error_code = 1; | |
591 | optional int64 timestamp = 2 [default = -1]; | |
592 | }; | |
593 | // Error logs in sync feature. | |
594 | repeated SyncError sync_errors = 2; | |
595 | ||
596 | // We have no items numbered 3-5 for a historical reason. | |
597 | ||
598 | // Timestamp of the last successful sync. | |
599 | optional uint64 last_synced_timestamp = 6 [default = 0]; | |
600 | }; | |
568 | 601 | |
569 | 602 | message Output { |
570 | 603 | optional uint64 id = 1; |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
1117 | 1117 | bool Session::Revert(commands::Command *command) { |
1118 | 1118 | if (context_->state() == ImeContext::PRECOMPOSITION) { |
1119 | 1119 | context_->mutable_converter()->Revert(); |
1120 | return EchoBack(command); | |
1120 | return EchoBackAndClearUndoContext(command); | |
1121 | 1121 | } |
1122 | 1122 | |
1123 | 1123 | if (!(context_->state() & (ImeContext::COMPOSITION | |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
639 | 639 | |
640 | 640 | const size_t result_length = Util::CharsLen(result_.key()); |
641 | 641 | const size_t preedit_length = Util::CharsLen(preedit); |
642 | if (result_length < preedit_length) { | |
642 | bool use_partial_suggestion = false; | |
643 | if (use_partial_suggestion && (result_length < preedit_length)) { | |
643 | 644 | // A candidate was chosen from partial suggestion. |
644 | 645 | converter_->CommitPartialSuggestionSegmentValue( |
645 | 646 | segments_.get(), |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
2136 | 2136 | } |
2137 | 2137 | } |
2138 | 2138 | |
2139 | TEST_F(SessionTest, UndoForComposition) { | |
2140 | scoped_ptr<Session> session(new Session); | |
2141 | InitSessionToPrecomposition(session.get()); | |
2142 | ||
2143 | // Undo requires capability DELETE_PRECEDING_TEXT. | |
2144 | commands::Capability capability; | |
2145 | capability.set_text_deletion(commands::Capability::DELETE_PRECEDING_TEXT); | |
2146 | session->set_client_capability(capability); | |
2147 | ||
2148 | commands::Command command; | |
2149 | Segments segments; | |
2150 | ||
2151 | { // Undo for CommitFirstSuggestion | |
2152 | SetAiueo(&segments); | |
2153 | convertermock_->SetStartSuggestionWithComposer(&segments, true); | |
2154 | InsertCharacterChars("ai", session.get(), &command); | |
2155 | SetComposer(session.get(), &segments); | |
2156 | // "あい" | |
2157 | EXPECT_EQ("\xE3\x81\x82\xE3\x81\x84", GetComposition(command)); | |
2158 | ||
2159 | command.Clear(); | |
2160 | session->CommitFirstSuggestion(&command); | |
2161 | EXPECT_TRUE(command.output().has_result()); | |
2162 | EXPECT_FALSE(command.output().has_preedit()); | |
2163 | // "あいうえお" | |
2164 | EXPECT_EQ("\xE3\x81\x82\xE3\x81\x84\xE3\x81\x86\xE3\x81\x88\xE3\x81\x8A", | |
2165 | command.output().result().value()); | |
2166 | EXPECT_EQ(ImeContext::PRECOMPOSITION, session->context().state()); | |
2167 | ||
2168 | command.Clear(); | |
2169 | session->Undo(&command); | |
2170 | EXPECT_FALSE(command.output().has_result()); | |
2171 | EXPECT_TRUE(command.output().has_deletion_range()); | |
2172 | EXPECT_EQ(-5, command.output().deletion_range().offset()); | |
2173 | EXPECT_EQ(5, command.output().deletion_range().length()); | |
2174 | EXPECT_TRUE(command.output().has_preedit()); | |
2175 | // "あい" | |
2176 | EXPECT_EQ("\xE3\x81\x82\xE3\x81\x84", GetComposition(command)); | |
2177 | EXPECT_EQ(2, command.output().candidates().size()); | |
2178 | EXPECT_EQ(ImeContext::COMPOSITION, session->context().state()); | |
2179 | } | |
2180 | } | |
2181 | 2139 | |
2182 | 2140 | TEST_F(SessionTest, RequestUndo) { |
2183 | 2141 | scoped_ptr<Session> session(new Session); |
5284 | 5242 | EXPECT_TRUE(convertermock->revert_conversion_called()); |
5285 | 5243 | } |
5286 | 5244 | |
5245 | // Revert command must clear the undo context. | |
5246 | TEST_F(SessionTest, Issue5742293) { | |
5247 | scoped_ptr<Session> session(new Session); | |
5248 | InitSessionToPrecomposition(session.get()); | |
5249 | ||
5250 | // Undo requires capability DELETE_PRECEDING_TEXT. | |
5251 | commands::Capability capability; | |
5252 | capability.set_text_deletion(commands::Capability::DELETE_PRECEDING_TEXT); | |
5253 | session->set_client_capability(capability); | |
5254 | ||
5255 | config::Config config; | |
5256 | config.set_session_keymap(config::Config::MSIME); | |
5257 | SetConfig(config); | |
5258 | ||
5259 | SetUndoContext(session.get()); | |
5260 | ||
5261 | commands::Command command; | |
5262 | ||
5263 | // BackSpace key event issues Revert command, which should clear the undo | |
5264 | // context. | |
5265 | command.Clear(); | |
5266 | EXPECT_TRUE(SendKey("Backspace", session.get(), &command)); | |
5267 | ||
5268 | // Ctrl+BS should be consumed as UNDO. | |
5269 | command.Clear(); | |
5270 | EXPECT_TRUE(TestSendKey("Ctrl Backspace", session.get(), &command)); | |
5271 | ||
5272 | EXPECT_FALSE(command.output().consumed()); | |
5273 | } | |
5274 | ||
5287 | 5275 | TEST_F(SessionTest, AutoConversion) { |
5288 | 5276 | Segments segments; |
5289 | 5277 | SetAiueo(&segments); |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
43 | 43 | 'inprocess_service.cc', |
44 | 44 | 'learning_preference_adapter.cc', |
45 | 45 | 'learning_preference_sync_util.cc', |
46 | 'mock_syncer.cc', | |
46 | 47 | 'sync_handler.cc', |
48 | 'sync_status_manager.cc', | |
47 | 49 | 'sync_util.cc', |
48 | 'mock_syncer.cc', | |
49 | 50 | 'syncer.cc', |
50 | 51 | 'user_dictionary_adapter.cc', |
51 | 52 | 'user_dictionary_sync_util.cc', |
157 | 158 | 'oauth2_util_test.cc', |
158 | 159 | 'oauth2_token_util_test.cc', |
159 | 160 | 'sync_handler_test.cc', |
161 | 'sync_status_manager_test.cc', | |
160 | 162 | 'sync_util_test.cc', |
161 | 163 | 'syncer_test.cc', |
162 | 164 | 'user_dictionary_adapter_test.cc', |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
37 | 37 | #include "base/util.h" |
38 | 38 | #include "config/config_handler.h" |
39 | 39 | #include "ipc/named_event.h" |
40 | #include "storage/registry.h" | |
41 | 40 | #include "sync/oauth2_client.h" |
42 | 41 | #include "sync/oauth2_util.h" |
42 | #include "sync/sync_status_manager.h" | |
43 | 43 | #include "sync/syncer_interface.h" |
44 | 44 | #include "client/client_interface.h" |
45 | 45 | |
51 | 51 | |
52 | 52 | // TODO(taku) move it to base/const.h |
53 | 53 | const char kEventName[] = "sync"; |
54 | const char kLastSyncedDataKey[] = "sync.last_synced_data"; | |
55 | 54 | |
56 | 55 | bool SyncFromScheduler(void *) { |
57 | 56 | const config::Config &config = config::ConfigHandler::GetConfig(); |
121 | 120 | client->Reload(); |
122 | 121 | } |
123 | 122 | |
124 | void GetLastSyncedData(commands::CloudSyncStatus *cloud_sync_status) { | |
125 | DCHECK(cloud_sync_status); | |
126 | string value; | |
127 | if (!mozc::storage::Registry::Lookup(kLastSyncedDataKey, &value)) { | |
128 | LOG(WARNING) << "cannot read: " << kLastSyncedDataKey; | |
129 | cloud_sync_status->Clear(); | |
130 | cloud_sync_status->set_global_status(commands::CloudSyncStatus::NOSYNC); | |
131 | return; | |
132 | } | |
133 | cloud_sync_status->ParseFromArray(value.data(), value.size()); | |
134 | } | |
135 | ||
136 | void SetLastSyncedData(const commands::CloudSyncStatus &cloud_sync_status) { | |
137 | VLOG(1) << "setting last synced data"; | |
138 | if (!mozc::storage::Registry::Insert( | |
139 | kLastSyncedDataKey, cloud_sync_status.SerializeAsString())) { | |
140 | LOG(ERROR) << "cannot save: "<< kLastSyncedDataKey; | |
141 | } | |
142 | mozc::storage::Registry::Sync(); | |
143 | } | |
144 | ||
145 | 123 | class SyncerThread: public Thread { |
146 | 124 | public: |
147 | 125 | SyncerThread() |
148 | 126 | : oauth2_util_(OAuth2Client::GetDefaultClient()), |
149 | 127 | last_sync_timestamp_(0) { |
150 | 128 | SyncerFactory::SetOAuth2(&oauth2_util_); |
151 | GetLastSyncedData(&last_status_); | |
129 | ||
130 | // Singleton of SyncStatusManager is also used in each sync_adapter and | |
131 | // each sync_util. | |
132 | sync_status_manager_ = Singleton<SyncStatusManager>::get(); | |
152 | 133 | } |
153 | 134 | |
154 | 135 | virtual ~SyncerThread() { |
172 | 153 | // existing token may be valid. |
173 | 154 | oauth2_util_.RefreshAccessToken(); |
174 | 155 | |
156 | // Clear sync errors before stacking new errors in syncers' works. | |
157 | sync_status_manager_->NewSyncStatusSession(); | |
158 | ||
175 | 159 | switch (command_type_) { |
176 | 160 | case SYNC: |
177 | 161 | { |
178 | UpdateSyncStatusAtomically(commands::CloudSyncStatus::INSYNC); | |
162 | sync_status_manager_->SetSyncGlobalStatus( | |
163 | commands::CloudSyncStatus::INSYNC); | |
179 | 164 | |
180 | 165 | bool reload_required = false; |
181 | 166 | bool sync_succeed = true; |
191 | 176 | |
192 | 177 | { |
193 | 178 | scoped_lock lock(&status_mutex_); |
194 | last_status_.set_global_status( | |
179 | sync_status_manager_->SetSyncGlobalStatus( | |
195 | 180 | sync_succeed ? commands::CloudSyncStatus::SYNC_SUCCESS : |
196 | 181 | commands::CloudSyncStatus::SYNC_FAILURE); |
197 | 182 | if (sync_succeed) { |
198 | last_status_.set_last_synced_timestamp(current_timestamp); | |
183 | sync_status_manager_->SetLastSyncedTimestamp(current_timestamp); | |
199 | 184 | } |
200 | DLOG(INFO) << last_status_.DebugString(); | |
201 | SetLastSyncedData(last_status_); | |
202 | 185 | } |
203 | 186 | // Update last_sync_timestamp_ |
204 | 187 | last_sync_timestamp_ = current_timestamp; |
210 | 193 | // Invokes the clear command later in case of failure. |
211 | 194 | // AddJob just ignores if there's already the same job. |
212 | 195 | Scheduler::AddJob(kClearSyncJobSetting); |
213 | UpdateSyncStatusAtomically(commands::CloudSyncStatus::SYNC_FAILURE); | |
196 | sync_status_manager_->SetSyncGlobalStatus( | |
197 | commands::CloudSyncStatus::SYNC_FAILURE); | |
214 | 198 | |
215 | 199 | // Set the command type to SYNC to allow the next Clear() method. |
216 | 200 | command_type_ = SYNC; |
224 | 208 | commands::Input::AuthorizationInfo dummy_auth; |
225 | 209 | SetAuthorization(dummy_auth); |
226 | 210 | } |
227 | UpdateSyncStatusAtomically(commands::CloudSyncStatus::NOSYNC); | |
211 | sync_status_manager_->SetSyncGlobalStatus( | |
212 | commands::CloudSyncStatus::NOSYNC); | |
228 | 213 | Scheduler::RemoveJob(kClearSyncName); |
229 | 214 | // Update last_sync_timestamp_ |
230 | 215 | last_sync_timestamp_ = current_timestamp; |
234 | 219 | break; |
235 | 220 | } |
236 | 221 | |
222 | // Save the final sync status in registry | |
223 | sync_status_manager_->SaveSyncStatus(); | |
224 | ||
237 | 225 | // Emit a notification event to the caller of Sync|Clear method. |
238 | 226 | NotifyEvent(); |
239 | 227 | } |
255 | 243 | |
256 | 244 | if (!SyncerFactory::GetSyncer()->Start()) { |
257 | 245 | LOG(ERROR) << "SyncerInterface::Start() failed"; |
258 | UpdateSyncStatusAtomically(commands::CloudSyncStatus::SYNC_FAILURE); | |
246 | sync_status_manager_->SetSyncGlobalStatus( | |
247 | commands::CloudSyncStatus::SYNC_FAILURE); | |
259 | 248 | NotifyEvent(); |
260 | 249 | return false; |
261 | 250 | } |
302 | 291 | |
303 | 292 | void GetCloudSyncStatus(commands::CloudSyncStatus *cloud_sync_status) { |
304 | 293 | DCHECK(cloud_sync_status); |
305 | cloud_sync_status->Clear(); | |
306 | 294 | if (IsRunning()) { |
307 | cloud_sync_status->set_global_status(commands::CloudSyncStatus::INSYNC); | |
308 | return; | |
309 | } | |
310 | ||
311 | { | |
312 | scoped_lock lock(&status_mutex_); | |
313 | cloud_sync_status->CopyFrom(last_status_); | |
314 | } | |
295 | sync_status_manager_->SetSyncGlobalStatus( | |
296 | commands::CloudSyncStatus::INSYNC); | |
297 | } | |
298 | sync_status_manager_->GetLastSyncStatus(cloud_sync_status); | |
315 | 299 | } |
316 | 300 | |
317 | 301 | void SetAuthorization( |
320 | 304 | !authorization_info.auth_code().empty()) { |
321 | 305 | LOG(INFO) << authorization_info.DebugString(); |
322 | 306 | oauth2_util_.RequestAccessToken(authorization_info.auth_code()); |
323 | UpdateSyncStatusAtomically(commands::CloudSyncStatus::INSYNC); | |
307 | sync_status_manager_->SetSyncGlobalStatus( | |
308 | commands::CloudSyncStatus::INSYNC); | |
324 | 309 | } else { |
325 | 310 | oauth2_util_.Clear(); |
326 | UpdateSyncStatusAtomically(commands::CloudSyncStatus::NOSYNC); | |
311 | sync_status_manager_->SetSyncGlobalStatus( | |
312 | commands::CloudSyncStatus::NOSYNC); | |
327 | 313 | } |
328 | 314 | } |
329 | 315 | |
330 | 316 | private: |
331 | 317 | CommandType command_type_; |
332 | commands::CloudSyncStatus last_status_; | |
333 | 318 | Mutex status_mutex_; |
334 | 319 | OAuth2Util oauth2_util_; |
335 | 320 | uint64 last_sync_timestamp_; |
336 | ||
337 | void UpdateSyncStatusAtomically( | |
338 | commands::CloudSyncStatus::SyncGlobalStatus new_status) { | |
339 | scoped_lock lock(&status_mutex_); | |
340 | last_status_.set_global_status(new_status); | |
341 | } | |
321 | SyncStatusManagerInterface *sync_status_manager_; | |
342 | 322 | }; |
343 | 323 | } // namespace |
344 | 324 |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2012, Google Inc. | |
1 | // All rights reserved. | |
2 | // | |
3 | // Redistribution and use in source and binary forms, with or without | |
4 | // modification, are permitted provided that the following conditions are | |
5 | // met: | |
6 | // | |
7 | // * Redistributions of source code must retain the above copyright | |
8 | // notice, this list of conditions and the following disclaimer. | |
9 | // * Redistributions in binary form must reproduce the above | |
10 | // copyright notice, this list of conditions and the following disclaimer | |
11 | // in the documentation and/or other materials provided with the | |
12 | // distribution. | |
13 | // * Neither the name of Google Inc. nor the names of its | |
14 | // contributors may be used to endorse or promote products derived from | |
15 | // this software without specific prior written permission. | |
16 | // | |
17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
20 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
21 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
22 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
23 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
24 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
25 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
26 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
27 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | ||
29 | #include "sync/sync_status_manager.h" | |
30 | ||
31 | #include <string> | |
32 | #include "base/base.h" | |
33 | #include "base/util.h" | |
34 | #include "base/mutex.h" | |
35 | #include "base/process_mutex.h" | |
36 | #include "storage/registry.h" | |
37 | ||
38 | namespace mozc { | |
39 | namespace sync { | |
40 | ||
41 | namespace { | |
42 | const char kLastSyncedDataKey[] = "sync.last_synced_data"; | |
43 | } // namespace | |
44 | ||
45 | SyncStatusManager::SyncStatusManager() { | |
46 | scoped_lock lock(&mutex_); | |
47 | ||
48 | // Read the last status from registry or set default status. | |
49 | string value; | |
50 | if (storage::Registry::Lookup(kLastSyncedDataKey, &value)) { | |
51 | sync_status_.ParseFromArray(value.data(), value.size()); | |
52 | } else { | |
53 | LOG(WARNING) << "cannot read: " << kLastSyncedDataKey; | |
54 | sync_status_.Clear(); | |
55 | sync_status_.set_global_status(commands::CloudSyncStatus::NOSYNC); | |
56 | } | |
57 | } | |
58 | ||
59 | SyncStatusManager::~SyncStatusManager() { | |
60 | SaveSyncStatus(); | |
61 | } | |
62 | ||
63 | void SyncStatusManager::GetLastSyncStatus( | |
64 | commands::CloudSyncStatus *sync_status) { | |
65 | DCHECK(sync_status); | |
66 | scoped_lock lock(&mutex_); | |
67 | sync_status->CopyFrom(sync_status_); | |
68 | } | |
69 | ||
70 | void SyncStatusManager::SetLastSyncStatus( | |
71 | const commands::CloudSyncStatus &sync_status) { | |
72 | scoped_lock lock(&mutex_); | |
73 | sync_status_.CopyFrom(sync_status); | |
74 | } | |
75 | ||
76 | void SyncStatusManager::SaveSyncStatus() { | |
77 | scoped_lock lock(&mutex_); | |
78 | ||
79 | if (!storage::Registry::Insert( | |
80 | kLastSyncedDataKey, sync_status_.SerializeAsString())) { | |
81 | LOG(ERROR) << "cannot save: "<< kLastSyncedDataKey; | |
82 | } | |
83 | storage::Registry::Sync(); | |
84 | } | |
85 | ||
86 | void SyncStatusManager::SetLastSyncedTimestamp(const int64 timestamp) { | |
87 | scoped_lock lock(&mutex_); | |
88 | sync_status_.set_last_synced_timestamp(timestamp); | |
89 | } | |
90 | ||
91 | void SyncStatusManager::SetSyncGlobalStatus( | |
92 | const commands::CloudSyncStatus::SyncGlobalStatus global_status) { | |
93 | scoped_lock lock(&mutex_); | |
94 | sync_status_.set_global_status(global_status); | |
95 | } | |
96 | ||
97 | void SyncStatusManager::AddSyncError( | |
98 | const commands::CloudSyncStatus::ErrorCode error_code) { | |
99 | scoped_lock lock(&mutex_); | |
100 | commands::CloudSyncStatus::SyncError *error = sync_status_.add_sync_errors(); | |
101 | error->set_error_code(error_code); | |
102 | error->set_timestamp(Util::GetTime()); | |
103 | } | |
104 | ||
105 | void SyncStatusManager::NewSyncStatusSession() { | |
106 | scoped_lock lock(&mutex_); | |
107 | sync_status_.mutable_sync_errors()->Clear(); | |
108 | } | |
109 | ||
110 | } // namespace sync | |
111 | } // namespace mozc |
0 | // Copyright 2010-2012, Google Inc. | |
1 | // All rights reserved. | |
2 | // | |
3 | // Redistribution and use in source and binary forms, with or without | |
4 | // modification, are permitted provided that the following conditions are | |
5 | // met: | |
6 | // | |
7 | // * Redistributions of source code must retain the above copyright | |
8 | // notice, this list of conditions and the following disclaimer. | |
9 | // * Redistributions in binary form must reproduce the above | |
10 | // copyright notice, this list of conditions and the following disclaimer | |
11 | // in the documentation and/or other materials provided with the | |
12 | // distribution. | |
13 | // * Neither the name of Google Inc. nor the names of its | |
14 | // contributors may be used to endorse or promote products derived from | |
15 | // this software without specific prior written permission. | |
16 | // | |
17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
20 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
21 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
22 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
23 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
24 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
25 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
26 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
27 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | ||
29 | // Functions defined in sync_status_manager.(h|cc) manage the status of sync | |
30 | // feature, mainly stocking errors occured in the last sync. | |
31 | // Public methods are thread-safe, so you can call them without caring threads, | |
32 | // and notify about race condition to edit these methods. | |
33 | ||
34 | #ifndef MOZC_SYNC_SYNC_STATUS_MANAGER_H_ | |
35 | #define MOZC_SYNC_SYNC_STATUS_MANAGER_H_ | |
36 | ||
37 | #include "base/mutex.h" | |
38 | #include "sync/sync_status_manager_interface.h" | |
39 | ||
40 | namespace mozc { | |
41 | namespace sync { | |
42 | ||
43 | class SyncStatusManager : public SyncStatusManagerInterface { | |
44 | public: | |
45 | SyncStatusManager(); | |
46 | virtual ~SyncStatusManager(); | |
47 | ||
48 | virtual void GetLastSyncStatus(commands::CloudSyncStatus *sync_status); | |
49 | virtual void SetLastSyncStatus(const commands::CloudSyncStatus &sync_status); | |
50 | ||
51 | // Save current sync status in registry obviously. | |
52 | virtual void SaveSyncStatus(); | |
53 | ||
54 | // Each method below updates a part of sync status. | |
55 | // Set in |last_synced_timestamp|. | |
56 | virtual void SetLastSyncedTimestamp(const int64 timestamp); | |
57 | ||
58 | // Set in |sync_global_status|. | |
59 | virtual void SetSyncGlobalStatus( | |
60 | const commands::CloudSyncStatus::SyncGlobalStatus global_status); | |
61 | ||
62 | // Add a |sync_error| item, with error_code and a timestamp. | |
63 | virtual void AddSyncError( | |
64 | const commands::CloudSyncStatus::ErrorCode error_code); | |
65 | ||
66 | // Clear everything other than |sync_global_status| and | |
67 | // |last_synced_timestamp|. | |
68 | // TODO(peria): Stack whole status before clearing. | |
69 | virtual void NewSyncStatusSession(); | |
70 | ||
71 | // TODO(peria): Stack sync_status for few syncs, and make methods to access | |
72 | // or to operate with old statuses. | |
73 | ||
74 | private: | |
75 | commands::CloudSyncStatus sync_status_; | |
76 | Mutex mutex_; | |
77 | }; | |
78 | ||
79 | } // namespace sync | |
80 | } // namespace mozc | |
81 | ||
82 | #endif // MOZC_SYNC_SYNC_STATUS_MANGER_H_ |
0 | // Copyright 2010-2012, Google Inc. | |
1 | // All rights reserved. | |
2 | // | |
3 | // Redistribution and use in source and binary forms, with or without | |
4 | // modification, are permitted provided that the following conditions are | |
5 | // met: | |
6 | // | |
7 | // * Redistributions of source code must retain the above copyright | |
8 | // notice, this list of conditions and the following disclaimer. | |
9 | // * Redistributions in binary form must reproduce the above | |
10 | // copyright notice, this list of conditions and the following disclaimer | |
11 | // in the documentation and/or other materials provided with the | |
12 | // distribution. | |
13 | // * Neither the name of Google Inc. nor the names of its | |
14 | // contributors may be used to endorse or promote products derived from | |
15 | // this software without specific prior written permission. | |
16 | // | |
17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
20 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
21 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
22 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
23 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
24 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
25 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
26 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
27 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | ||
29 | #ifndef MOZC_SYNC_SYNC_STATUS_MANAGER_INTERFACE_H_ | |
30 | #define MOZC_SYNC_SYNC_STATUS_MANAGER_INTERFACE_H_ | |
31 | ||
32 | #include "session/commands.pb.h" | |
33 | ||
34 | namespace mozc { | |
35 | namespace sync { | |
36 | ||
37 | class SyncStatusManagerInterface { | |
38 | public: | |
39 | virtual ~SyncStatusManagerInterface() {} | |
40 | ||
41 | virtual void GetLastSyncStatus(commands::CloudSyncStatus *sync_status) = 0; | |
42 | ||
43 | // Updates the sync status as the one in the argument. | |
44 | virtual void SetLastSyncStatus( | |
45 | const commands::CloudSyncStatus &sync_status) = 0; | |
46 | ||
47 | // Save on-memory status into registry. | |
48 | virtual void SaveSyncStatus() = 0; | |
49 | ||
50 | // Each method below updates a part of sync status. | |
51 | // Set in |last_synced_timestamp|. | |
52 | virtual void SetLastSyncedTimestamp(const int64 timestamp) = 0; | |
53 | ||
54 | // Set in |sync_global_status|. | |
55 | virtual void SetSyncGlobalStatus( | |
56 | const commands::CloudSyncStatus::SyncGlobalStatus global_status) = 0; | |
57 | ||
58 | // Add a |sync_error| item, with error_code and a timestamp. | |
59 | virtual void AddSyncError( | |
60 | const commands::CloudSyncStatus::ErrorCode error_code) = 0; | |
61 | ||
62 | // Clear everything other than |sync_global_status| and | |
63 | // |last_synced_timestamp|. | |
64 | // TODO(peria): Stack whole status before clearing. | |
65 | virtual void NewSyncStatusSession() = 0; | |
66 | ||
67 | // TODO(peria): Stack sync_status for few syncs, and make methods to access | |
68 | // or to operate with old statuses. | |
69 | ||
70 | protected: | |
71 | SyncStatusManagerInterface() {} | |
72 | }; | |
73 | ||
74 | } // namespace sync | |
75 | } // namespace mozc | |
76 | ||
77 | #endif // MOZC_SYNC_SYNC_STATUS_MANAGER_INTERFACE_H_ |
0 | // Copyright 2010-2012, Google Inc. | |
1 | // All rights reserved. | |
2 | // | |
3 | // Redistribution and use in source and binary forms, with or without | |
4 | // modification, are permitted provided that the following conditions are | |
5 | // met: | |
6 | // | |
7 | // * Redistributions of source code must retain the above copyright | |
8 | // notice, this list of conditions and the following disclaimer. | |
9 | // * Redistributions in binary form must reproduce the above | |
10 | // copyright notice, this list of conditions and the following disclaimer | |
11 | // in the documentation and/or other materials provided with the | |
12 | // distribution. | |
13 | // * Neither the name of Google Inc. nor the names of its | |
14 | // contributors may be used to endorse or promote products derived from | |
15 | // this software without specific prior written permission. | |
16 | // | |
17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
20 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
21 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
22 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
23 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
24 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
25 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
26 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
27 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | ||
29 | #include "sync/sync_status_manager.h" | |
30 | ||
31 | #include "base/base.h" | |
32 | #include "base/util.h" | |
33 | #include "storage/registry.h" | |
34 | #include "session/commands.pb.h" | |
35 | #include "testing/base/public/gunit.h" | |
36 | ||
37 | DECLARE_string(test_tmpdir); | |
38 | ||
39 | namespace mozc { | |
40 | namespace sync { | |
41 | namespace { | |
42 | const int kNumSyncGlobalStatus = 4; | |
43 | const int kNumSyncError = 4; | |
44 | } // namespace | |
45 | ||
46 | class SyncStatusManagerTest : public testing::Test { | |
47 | protected: | |
48 | virtual void SetUp() { | |
49 | manager_.reset(new SyncStatusManager()); | |
50 | } | |
51 | ||
52 | scoped_ptr<SyncStatusManager> manager_; | |
53 | }; | |
54 | ||
55 | TEST_F(SyncStatusManagerTest, GetSetLastSyncStatus) { | |
56 | // Set up test environment. | |
57 | Util::SetUserProfileDirectory(FLAGS_test_tmpdir); | |
58 | ||
59 | for (int i = 0; i < 10; ++i) { | |
60 | commands::CloudSyncStatus status_org; | |
61 | const uint64 t = Util::Random(1 << 30); | |
62 | status_org.set_global_status(commands::CloudSyncStatus::SYNC_SUCCESS); | |
63 | status_org.set_last_synced_timestamp(t); | |
64 | manager_->SetLastSyncStatus(status_org); | |
65 | ||
66 | commands::CloudSyncStatus status_new; | |
67 | status_new.set_global_status(commands::CloudSyncStatus::INSYNC); | |
68 | EXPECT_NE(t, status_new.last_synced_timestamp()); | |
69 | EXPECT_NE(commands::CloudSyncStatus::SYNC_SUCCESS, | |
70 | status_new.global_status()); | |
71 | ||
72 | manager_->GetLastSyncStatus(&status_new); | |
73 | EXPECT_EQ(t, status_new.last_synced_timestamp()); | |
74 | EXPECT_EQ(commands::CloudSyncStatus::SYNC_SUCCESS, | |
75 | status_new.global_status()); | |
76 | } | |
77 | } | |
78 | ||
79 | TEST_F(SyncStatusManagerTest, UpdateSyncStatus) { | |
80 | // Set up test environment. | |
81 | Util::SetUserProfileDirectory(FLAGS_test_tmpdir); | |
82 | ||
83 | for (int i = 0; i < 10; ++i) { | |
84 | commands::CloudSyncStatus status; | |
85 | commands::CloudSyncStatus::SyncGlobalStatus global = | |
86 | static_cast<commands::CloudSyncStatus::SyncGlobalStatus>( | |
87 | Util::Random(kNumSyncGlobalStatus)); | |
88 | manager_->SetSyncGlobalStatus(global); | |
89 | manager_->GetLastSyncStatus(&status); | |
90 | EXPECT_EQ(global, status.global_status()); | |
91 | } | |
92 | } | |
93 | ||
94 | TEST_F(SyncStatusManagerTest, StackOfSyncErrors) { | |
95 | // Set up test environment. | |
96 | Util::SetUserProfileDirectory(FLAGS_test_tmpdir); | |
97 | ||
98 | commands::CloudSyncStatus status; | |
99 | // global_status has no mean in this test, but it is required. | |
100 | status.set_global_status(commands::CloudSyncStatus::INSYNC); | |
101 | for (size_t i = 0; i < 10; ++i) { | |
102 | commands::CloudSyncStatus::ErrorCode error = | |
103 | static_cast<commands::CloudSyncStatus::ErrorCode>( | |
104 | Util::Random(kNumSyncError)); | |
105 | manager_->AddSyncError(error); | |
106 | manager_->GetLastSyncStatus(&status); | |
107 | EXPECT_EQ(i + 1, status.sync_errors_size()); | |
108 | EXPECT_EQ(error, status.sync_errors(i).error_code()); | |
109 | } | |
110 | ||
111 | // Clean up sync_errors. | |
112 | manager_->NewSyncStatusSession(); | |
113 | manager_->GetLastSyncStatus(&status); | |
114 | EXPECT_EQ(0, status.sync_errors_size()); | |
115 | } | |
116 | ||
117 | } // namespace sync | |
118 | } // namespace mozc |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
35 | 35 | #include "base/base.h" |
36 | 36 | #include "base/mmap.h" |
37 | 37 | #include "base/mutex.h" |
38 | #include "base/singleton.h" | |
38 | 39 | #include "dictionary/user_dictionary_storage.h" |
40 | #include "sync/sync_status_manager.h" | |
39 | 41 | #include "sync/sync_util.h" |
40 | 42 | |
41 | 43 | namespace mozc { |
402 | 404 | bool UserDictionarySyncUtil::LockAndSaveStorage( |
403 | 405 | UserDictionaryStorage *storage) { |
404 | 406 | DCHECK(storage); |
407 | ||
408 | // Check dictionary storage condition. | |
409 | for (int i = 0; i < storage->dictionaries_size(); ++i) { | |
410 | const UserDictionary &dict = storage->dictionaries(i); | |
411 | if (dict.syncable() && | |
412 | dict.entries_size() > UserDictionaryStorage::max_sync_entry_size()) { | |
413 | // This singleton is also used in sync_handler.cc. | |
414 | Singleton<SyncStatusManager>::get()->AddSyncError( | |
415 | commands::CloudSyncStatus::USER_DICTIONARY_NUM_ENTRY_EXCEEDED); | |
416 | LOG(ERROR) << "a sync dictionary has " << dict.entries_size() | |
417 | << " entries which exceeds the limit."; | |
418 | return false; | |
419 | } | |
420 | } | |
421 | ||
405 | 422 | if (!storage->Lock()) { |
406 | 423 | LOG(ERROR) << "cannot lock the storage: " << storage->filename(); |
407 | 424 | return false; |
415 | 432 | return true; |
416 | 433 | } |
417 | 434 | |
418 | } // sync | |
419 | } // mozc | |
435 | } // namespace sync | |
436 | } // namespace mozc |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
30 | 30 | |
31 | 31 | #include <string> |
32 | 32 | #include "base/base.h" |
33 | #include "base/clock_mock.h" | |
33 | 34 | #include "base/file_stream.h" |
34 | 35 | #include "base/freelist.h" |
36 | #include "base/singleton.h" | |
35 | 37 | #include "base/util.h" |
36 | 38 | #include "dictionary/user_dictionary_storage.h" |
39 | #include "sync/sync_status_manager.h" | |
37 | 40 | #include "sync/sync_util.h" |
38 | 41 | #include "testing/base/public/gunit.h" |
42 | ||
43 | DECLARE_string(test_tmpdir); | |
39 | 44 | |
40 | 45 | namespace mozc { |
41 | 46 | namespace sync { |
187 | 192 | CHECK_GT(storage->dictionaries_size(), 0); |
188 | 193 | } |
189 | 194 | } // namespace |
195 | ||
196 | TEST(UserDictionarySyncUtilTest, NumEntryExceedsTest) { | |
197 | const int kMaxNumEntry = UserDictionaryStorage::max_sync_entry_size(); | |
198 | const uint64 kSecond = 123; | |
199 | const uint32 kMicroSecond = 456789; | |
200 | scoped_ptr<Util::ClockInterface> | |
201 | mock_clock(new ClockMock(kSecond, kMicroSecond)); | |
202 | Util::SetClockHandler(mock_clock.get()); | |
203 | SyncStatusManagerInterface *manager = Singleton<SyncStatusManager>::get(); | |
204 | ||
205 | // Set up test environment. | |
206 | Util::SetUserProfileDirectory(FLAGS_test_tmpdir); | |
207 | ||
208 | // Actual test. | |
209 | UserDictionaryStorage storage(Util::JoinPath(FLAGS_test_tmpdir, "test.db")); | |
210 | EXPECT_TRUE(storage.EnsureSyncDictionaryExists()); | |
211 | UserDictionarySyncUtil::UserDictionary *dic = storage.mutable_dictionaries(0); | |
212 | EXPECT_TRUE(dic->syncable()); | |
213 | EXPECT_EQ(0, dic->entries_size()); | |
214 | for (int i = 0; i < kMaxNumEntry; ++i) { | |
215 | UserDictionarySyncUtil::UserDictionaryEntry *entry = dic->add_entries(); | |
216 | entry->set_key("key" + Util::SimpleItoa(i)); | |
217 | entry->set_value("value" + Util::SimpleItoa(i)); | |
218 | } | |
219 | ||
220 | commands::CloudSyncStatus status; | |
221 | manager->GetLastSyncStatus(&status); | |
222 | EXPECT_EQ(0, status.sync_errors_size()); | |
223 | EXPECT_TRUE(UserDictionarySyncUtil::LockAndSaveStorage(&storage)); | |
224 | ||
225 | // Check error log | |
226 | manager->GetLastSyncStatus(&status); | |
227 | EXPECT_EQ(0, status.sync_errors_size()); | |
228 | ||
229 | // Newly add a few etnries, to exceed maximum number of entry. | |
230 | for (int i = 0; i < 10; ++i) { | |
231 | UserDictionarySyncUtil::UserDictionaryEntry *entry = dic->add_entries(); | |
232 | entry->set_key("key" + Util::SimpleItoa(i + kMaxNumEntry)); | |
233 | entry->set_value("value" + Util::SimpleItoa(i + kMaxNumEntry)); | |
234 | } | |
235 | EXPECT_FALSE(UserDictionarySyncUtil::LockAndSaveStorage(&storage)); | |
236 | ||
237 | // Check error log | |
238 | manager->GetLastSyncStatus(&status); | |
239 | EXPECT_EQ(1, status.sync_errors_size()); | |
240 | EXPECT_EQ(commands::CloudSyncStatus::USER_DICTIONARY_NUM_ENTRY_EXCEEDED, | |
241 | status.sync_errors(0).error_code()); | |
242 | EXPECT_EQ(kSecond, status.sync_errors(0).timestamp()); | |
243 | ||
244 | // Unset clock handler | |
245 | Util::SetClockHandler(NULL); | |
246 | } | |
190 | 247 | |
191 | 248 | TEST(UserDictionarySyncUtilTest, CreateAndMergeTest) { |
192 | 249 | UserDictionaryStorage storage_orig(""); |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | ;; Copyright 2010-2011, Google Inc. | |
0 | ;; Copyright 2010-2012, Google Inc. | |
1 | 1 | ;; All rights reserved. |
2 | 2 | ;; |
3 | 3 | ;; Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
304 | 304 | prop_root_(NULL), |
305 | 305 | prop_composition_mode_(NULL), |
306 | 306 | prop_mozc_tool_(NULL), |
307 | current_composition_mode_(kMozcEngineInitialCompositionMode), | |
307 | original_composition_mode_(kMozcEngineInitialCompositionMode), | |
308 | is_activated_(true), | |
308 | 309 | preedit_method_(config::Config::ROMAN), |
309 | 310 | ignore_reset_for_deletion_range_workaround_(false) { |
310 | 311 | // |sub_prop_list| is a radio menu which is shown when a button in the |
559 | 560 | } |
560 | 561 | |
561 | 562 | VLOG(2) << key.DebugString(); |
562 | if ((current_composition_mode_ == commands::DIRECT) && | |
563 | if (!is_activated_ && !config::ImeSwitchUtil::IsTurnOnInDirectMode(key)) { | |
563 | 564 | // We DO consume keys that enable Mozc such as Henkan even when in the |
564 | 565 | // DIRECT mode. |
565 | !config::ImeSwitchUtil::IsTurnOnInDirectMode(key)) { | |
566 | 566 | return FALSE; |
567 | 567 | } |
568 | 568 | |
569 | key.set_mode(current_composition_mode_); | |
569 | key.set_mode(original_composition_mode_); | |
570 | 570 | |
571 | 571 | commands::Output output; |
572 | 572 | if (!client_->SendKey(key, &output)) { |
586 | 586 | IBusEngine *engine, commands::CompositionMode composition_mode) { |
587 | 587 | commands::SessionCommand command; |
588 | 588 | commands::Output output; |
589 | if (composition_mode == commands::DIRECT) { | |
590 | // Commit a preedit string. | |
591 | command.set_type(commands::SessionCommand::SUBMIT); | |
592 | client_->SendCommand(command, &output); | |
589 | ||
590 | // In the case of Mozc, there are two state values of IME, IMEOn/IMEOff and | |
591 | // composition_mode. However in IBus we can only control composition mode, not | |
592 | // IMEOn/IMEOff. So we use one composition state as IMEOff and the others as | |
593 | // IMEOn. This setting can be configured with setting | |
594 | // kMozcEnginePropertyIMEOffState. If kMozcEnginePropertyIMEOffState is NULL, | |
595 | // it means current IME should not be off. | |
596 | if (kMozcEnginePropertyIMEOffState | |
597 | && is_activated_ | |
598 | && composition_mode == kMozcEnginePropertyIMEOffState->composition_mode) { | |
599 | commands::KeyEvent key; | |
600 | key.set_special_key(mozc::commands::KeyEvent::OFF); | |
601 | client_->SendKey(key, &output); | |
593 | 602 | } else { |
594 | 603 | command.set_type(commands::SessionCommand::SWITCH_INPUT_MODE); |
595 | 604 | command.set_composition_mode(composition_mode); |
596 | 605 | client_->SendCommand(command, &output); |
597 | // To esacpe infinity loop, remove mode entry. | |
598 | output.clear_mode(); | |
599 | } | |
600 | current_composition_mode_ = composition_mode; | |
606 | } | |
607 | DCHECK(output.has_status()); | |
608 | original_composition_mode_ = output.status().mode(); | |
609 | is_activated_ = output.status().activated(); | |
610 | ||
601 | 611 | UpdateAll(engine, output); |
602 | 612 | } |
603 | 613 | |
634 | 644 | const MozcEngineProperty *entry = |
635 | 645 | reinterpret_cast<const MozcEngineProperty*>( |
636 | 646 | g_object_get_data(G_OBJECT(prop), kGObjectDataKey)); |
637 | DCHECK(entry); | |
638 | if (entry) { | |
639 | // Update Mozc state. | |
640 | SetCompositionMode(engine, entry->composition_mode); | |
641 | // Update the language panel. | |
642 | ibus_property_set_icon(prop_composition_mode_, | |
643 | GetIconPath(entry->icon).c_str()); | |
644 | } | |
645 | // Update the radio menu item. | |
646 | ibus_property_set_state(prop, PROP_STATE_CHECKED); | |
647 | } else { | |
648 | ibus_property_set_state(prop, PROP_STATE_UNCHECKED); | |
649 | } | |
650 | // No need to call unref since ibus_prop_list_get does not add ref. | |
651 | } | |
652 | ibus_engine_update_property(engine, prop_composition_mode_); | |
647 | SetCompositionMode(engine, entry->composition_mode); | |
648 | UpdateCompositionModeIcon(engine, entry->composition_mode); | |
649 | break; | |
650 | } | |
651 | } | |
653 | 652 | } |
654 | 653 | |
655 | 654 | void MozcEngine::PropertyHide(IBusEngine *engine, |
844 | 843 | UpdateResult(engine, output); |
845 | 844 | UpdatePreedit(engine, output); |
846 | 845 | UpdateCandidates(engine, output); |
847 | if (output.has_mode()) { | |
848 | UpdateCompositionMode(engine, output.mode()); | |
846 | ||
847 | if (output.has_status() && | |
848 | (output.status().activated() != is_activated_ || | |
849 | output.status().mode() != original_composition_mode_)) { | |
850 | if (output.status().activated()) { | |
851 | UpdateCompositionModeIcon(engine, output.status().mode()); | |
852 | } else { | |
853 | DCHECK(kMozcEnginePropertyIMEOffState); | |
854 | UpdateCompositionModeIcon( | |
855 | engine, kMozcEnginePropertyIMEOffState->composition_mode); | |
856 | } | |
857 | is_activated_ = output.status().activated(); | |
858 | original_composition_mode_ = output.status().mode(); | |
849 | 859 | } |
850 | 860 | LaunchTool(output); |
851 | 861 | ExecuteCallback(engine, output); |
1071 | 1081 | } |
1072 | 1082 | #endif // OS_CHROMEOS |
1073 | 1083 | |
1074 | void MozcEngine::UpdateCompositionMode( | |
1084 | void MozcEngine::UpdateCompositionModeIcon( | |
1075 | 1085 | IBusEngine *engine, const commands::CompositionMode new_composition_mode) { |
1076 | if (current_composition_mode_ == new_composition_mode) { | |
1077 | return; | |
1078 | } | |
1086 | ||
1087 | const MozcEngineProperty *entry = NULL; | |
1079 | 1088 | for (size_t i = 0; i < kMozcEnginePropertiesSize; ++i) { |
1080 | const MozcEngineProperty &entry = kMozcEngineProperties[i]; | |
1081 | if (entry.composition_mode == new_composition_mode) { | |
1082 | PropertyActivate(engine, entry.key, PROP_STATE_CHECKED); | |
1083 | } | |
1084 | } | |
1089 | if (kMozcEngineProperties[i].composition_mode == new_composition_mode) { | |
1090 | entry = &(kMozcEngineProperties[i]); | |
1091 | break; | |
1092 | } | |
1093 | } | |
1094 | DCHECK(entry); | |
1095 | ||
1096 | size_t i = 0; | |
1097 | IBusProperty *prop = NULL; | |
1098 | while ((prop = ibus_prop_list_get(prop_composition_mode_->sub_props, i++))) { | |
1099 | if (!g_strcmp0(entry->key, prop->key)) { | |
1100 | // Update the language panel. | |
1101 | ibus_property_set_icon(prop_composition_mode_, | |
1102 | GetIconPath(entry->icon).c_str()); | |
1103 | // Update the radio menu item. | |
1104 | ibus_property_set_state(prop, PROP_STATE_CHECKED); | |
1105 | } else { | |
1106 | ibus_property_set_state(prop, PROP_STATE_UNCHECKED); | |
1107 | } | |
1108 | // No need to call unref since ibus_prop_list_get does not add ref. | |
1109 | } | |
1110 | ibus_engine_update_property(engine, prop_composition_mode_); | |
1085 | 1111 | } |
1086 | 1112 | |
1087 | 1113 | void MozcEngine::UpdatePreeditMethod() { |
1119 | 1145 | } |
1120 | 1146 | |
1121 | 1147 | void MozcEngine::RevertSession(IBusEngine *engine) { |
1122 | const commands::CompositionMode original_composition_mode = | |
1123 | current_composition_mode_; | |
1124 | ||
1125 | 1148 | commands::SessionCommand command; |
1126 | 1149 | command.set_type(commands::SessionCommand::REVERT); |
1127 | 1150 | commands::Output output; |
1129 | 1152 | LOG(ERROR) << "RevertSession() failed"; |
1130 | 1153 | return; |
1131 | 1154 | } |
1132 | UpdateAll(engine, output); // may update |current_composition_mode_|. | |
1133 | ||
1134 | // If the original composition mode is DIRECT, we should resume the setting. | |
1135 | if (original_composition_mode == commands::DIRECT) { | |
1136 | UpdateCompositionMode(engine, original_composition_mode); | |
1137 | } | |
1155 | UpdateAll(engine, output); | |
1138 | 1156 | } |
1139 | 1157 | |
1140 | 1158 | bool MozcEngine::ExecuteCallback(IBusEngine *engine, |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
157 | 157 | bool LaunchTool(const commands::Output &output) const; |
158 | 158 | |
159 | 159 | // Updates the composition mode based on the content of |output|. |
160 | void UpdateCompositionMode( | |
160 | void UpdateCompositionModeIcon( | |
161 | 161 | IBusEngine *engine, const commands::CompositionMode new_composition_mode); |
162 | 162 | // Updates internal preedit_method (Roman/Kana) state |
163 | 163 | void UpdatePreeditMethod(); |
183 | 183 | IBusPropList *prop_root_; |
184 | 184 | IBusProperty *prop_composition_mode_; |
185 | 185 | IBusProperty *prop_mozc_tool_; |
186 | commands::CompositionMode current_composition_mode_; | |
186 | commands::CompositionMode original_composition_mode_; | |
187 | bool is_activated_; | |
187 | 188 | config::Config::PreeditMethod preedit_method_; |
188 | 189 | |
189 | 190 | // Unique IDs of candidates that are currently shown. |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
82 | 82 | }, |
83 | 83 | }; |
84 | 84 | |
85 | const MozcEngineProperty *kMozcEnginePropertyIMEOffState | |
86 | = &kMozcEngineProperties[0]; | |
85 | 87 | const size_t kMozcEnginePropertiesSize = arraysize(kMozcEngineProperties); |
86 | 88 | COMPILE_ASSERT(commands::NUM_OF_COMPOSITIONS == kMozcEnginePropertiesSize, |
87 | 89 | bad_number_of_props); |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
48 | 48 | extern const MozcEngineProperty kMozcEngineProperties[]; |
49 | 49 | extern const size_t kMozcEnginePropertiesSize; |
50 | 50 | |
51 | // If kMozcEnginePropertiesIMEOffState is NULL, it means IME should be always | |
52 | // On. | |
53 | extern const MozcEngineProperty *kMozcEnginePropertyIMEOffState; | |
54 | ||
51 | 55 | extern const commands::CompositionMode kMozcEngineInitialCompositionMode; |
52 | 56 | |
53 | 57 | struct MozcEngineToolProperty { |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | mozc (1.3.975.102) lucid; urgency=low | |
1 | ||
2 | * Ver. 1.3.975.102 on 2012-01-24 | |
3 | * Fixed IME On/Off state change related issue.(Issue 113, Issue 114) | |
4 | * Support Japanese misc keys on GUI keybinding editor dialog. | |
5 | * Fixed the crash bug triggered by CommitFirstSuggestion command. | |
6 | ||
7 | -- Seigo Nonaka <nona> Tue, 24 Jan 2012 20:34:28 +0900 | |
8 | ||
0 | 9 | mozc (1.3.931.102) lucid; urgency=low |
1 | 10 | |
2 | 11 | * Ver. 1.3.931.102 on 2011-12-21 |
0 | 0 | # -*- coding: utf-8 -*- |
1 | # Copyright 2010-2011, Google Inc. | |
1 | # Copyright 2010-2012, Google Inc. | |
2 | 2 | # All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | # Copyright 2010-2011, Google Inc. | |
0 | # Copyright 2010-2012, Google Inc. | |
1 | 1 | # All rights reserved. |
2 | 2 | # |
3 | 3 | # Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |
0 | // Copyright 2010-2011, Google Inc. | |
0 | // Copyright 2010-2012, Google Inc. | |
1 | 1 | // All rights reserved. |
2 | 2 | // |
3 | 3 | // Redistribution and use in source and binary forms, with or without |