1 2011-08-12 Ben Konrath <ben@bagu.org>
3 Return the top level LayoutGroup title.
5 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
7 2011-08-11 Ben Konrath <ben@bagu.org>
9 Make the TableSelector header match the mockup.
11 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
12 the layout panel. Properly lineup the table selection header with
13 the list and details view.
14 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
15 margin around the details view.
16 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
17 Rename listBox variable to tableSelector. Set id for the style sheet.
18 Use a FlowPanel instead of a HorizontalPanel.
19 * src/main/webapp/style.css: Add properties to make the TableSelector
20 box match the mockups.
22 2011-07-13 Ben Konrath <ben@bagu.org>
24 Update install script for java-libglom version change.
26 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
29 2011-07-13 Ben Konrath <ben@bagu.org>
31 Add support sub-group in the details view.
33 I also removed the code that special-cased the default details view
36 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
38 I still have to make a proper flowtable.
40 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
41 Don't special-case default details view layout.
42 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
43 addLayoutField() as I'm going to use it.
44 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
45 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
47 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
48 extracted from DetailsViewImpl.GroupPanel. Add support for
50 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
51 column count when getting the details layout.
53 2011-07-12 Ben Konrath <ben@bagu.org>
55 Set browser title with database and table titles.
57 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
58 Set the browser title when the table changes and when the activity
60 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
61 title when retrieving document info (the GlomDocument object).
62 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
63 with getter and setter methods. Remove unused convenience constructor.
64 Use default code formatting.
66 2011-07-12 Ben Konrath <ben@bagu.org>
68 Ignore LayoutItemPortals in the details view.
70 I added a new DTO for the LayoutItemPortal so that I can ignore it in
73 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
74 LayoutItemPortal layout objects.
75 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
76 LayoutItemPortal objects when retrieving the details layout.
77 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
78 file. This is an empty class and just used to get type information for
81 2011-07-12 Ben Konrath <ben@bagu.org>
83 Use java-libglom 1.17.0.
87 2011-07-11 Ben Konrath <ben@bagu.org>
89 Remove "Table:" label from table selector.
91 This matches a recent change in the Glom UI.
93 * mockups/details-contacts.html:
94 * mockups/details-projects.html:
95 * mockups/listview-contacts.html:
96 * mockups/listview-projects.html: Remove the "Table:" label from the
98 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
100 2011-07-11 Ben Konrath <ben@bagu.org>
102 Add main groups to the details view.
104 This makes things look a little nicer in the details view. The next step
105 is to implement the flowtable.
107 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
108 resources from the standard gwt css theme. Standard.css is now
109 included in OnlineGlom.html so that the online glom css rules have
110 precedence over the gwt theme.
111 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
112 the whole LayoutGroup to the DetailsView instead of just the titles.
113 * src/main/java/org/glom/web/client/ui/DetailsView.java:
114 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
115 details layout with a helper class (GroupPanel). I might extract this
116 class when I make the full flowtable.
117 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
118 string as default so I don't have to worry about NPEs when processing
120 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
121 note beside OnlineGlom.gwt.xml above).
122 * src/main/webapp/style.css: Add default font-size to body to override
123 the font-size set by the standard theme. Don't use h2 tags for
124 group-title. Create new details-cell class.
126 2011-07-08 Murray Cumming <murrayc@murrayc.com>
128 ConfiguredDocument: Set the port number too.
130 * src/main/java/org/glom/web/server/ConfiguredDocument.java
131 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
132 Glom document. Presumably this worked sometimes so far because there is a
135 2011-07-08 Murray Cumming <murrayc@murrayc.com>
137 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
139 * src/main/java/org/glom/web/server/ConfiguredDocument.java
140 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
141 correct, though we should throw an exception too.
143 2011-07-08 Murray Cumming <murrayc@murrayc.com>
145 Fix a addDocuemnt typo.
147 * src/main/java/org/glom/web/shared/Documents.java
148 (Documents.addDocuemnt): Rename to addDocument().
149 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
150 (OnlineGlomServiceImpl.getDocuments): Adapt.
152 2011-07-08 Murray Cumming <murrayc@murrayc.com>
154 Slightly improved log output when connection fails.
156 * src/main/java/org/glom/web/server/ConfiguredDocument.java
157 (ConfiguredDocument.setUsernameAndPassword):
158 We don't know for sure if it' the username/password that's wrong, so
159 rephrase the message.
160 Also ouput the exception message, though it's generic in this case.
162 2011-07-08 Ben Konrath <ben@bagu.org>
166 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
167 added braces to a one line if statement because the Eclipse formatter
168 was getting confused.
170 2011-07-07 Ben Konrath <ben@bagu.org>
172 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
174 These should really be two separate tasks but I counldn't get things to
175 work with GWT 2.2.0 and Eclipse 3.7.
179 * .settings/org.eclipse.jdt.core.prefs:
180 * .settings/org.eclipse.jdt.ui.prefs:
181 * .settings/org.eclipse.ltk.core.refactoring.prefs:
182 * .settings/org.eclipse.m2e.core.prefs:
183 Add new config files. Update current files. Remove references to the
184 webtools plugins as we're not using any of the webtools features.
185 * .gitignore: Add logs directory which is created when running with
187 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
188 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
189 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
191 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
193 2011-07-07 Murray Cumming <murrayc@murrayc.com>
195 onlineglom.properties: Add explanatory comments.
197 * src/main/resources/onlineglom.properties: Also change the default user
198 from ben to someuser, to avoid the risk of people thinking we just
199 stupidly hard-coded a locale path, when they see that on stderr or in a log.
201 2011-06-28 Ben Konrath <ben@bagu.org>
203 Use filename in Log for incorrect passwords.
205 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
206 getFileName(String) method to get the filename from the URI.
208 2011-06-28 Ben Konrath <ben@bagu.org>
210 Add the table name to the URL token for the ListPlace.
212 This makes things consistent between the DetailsPlace and the
213 ListPlace. It also allows the the ListPlace to be bookmarked.
215 * src/main/java/org/glom/web/client/OnlineGlomService.java:
216 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
217 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
218 Remove getDefaultListLayout(). The default layout is now returned
219 by the getListLayout() method when the table name is an empty string.
220 * src/main/java/org/glom/web/client/activity/ListActivity.java:
221 Add table name field. Change to a new ListPlace when the table
222 has been changed. Use getListLayout() for getting the default
224 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
225 Add table name field. Set the correct table name in the list box
226 when loading from bookmark. This corrects a problem for the
228 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
229 Move table name to super-class (HasSelectableTable). Move document
230 and table URL keys to super-class in HasSelectableTable.
231 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
232 Add table name field. Add Tokenizer class with URL key common to
233 the subclasses (DetailsPlace and ListPlace).
234 * src/main/java/org/glom/web/client/place/ListPlace.java:
235 Add table name. Add code to parse the URL token.
236 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
237 Update ListPlace construction with empty table name string.
238 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
239 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
240 Change setTableSelectedIndex(int) to setSelectedTableName(String).
241 Update ListPlace construction with table name string.
242 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
243 Change defaultTableName field to tableName to reflect how it's now
244 used. Update the getter and setter methods.
246 2011-06-28 Ben Konrath <ben@bagu.org>
248 Enable the table selector in the DetailsView.
250 * src/main/java/org/glom/web/client/OnlineGlomService.java:
251 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
252 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
253 Remove getDefaultDetailsLayout(). The default layout is now returned
254 by the getDetailsLayout() method when the table name is an empty
256 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
257 event handler for table change event. Change to using
258 getDetailsLayout() for the default details layout.
259 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
261 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
262 when navigating to the details place.
264 2011-06-27 Ben Konrath <ben@bagu.org>
266 Use filename based unique document ID in URL and for RPC.
268 The document ID is the glom document name with spaces (' ') replaced
269 with pluses ('+') and without the .glom extension.
271 This change is mostly a string substitution of 'documentTitle' for
272 'documentID'. The only code change is the addition of a Documents DTO to get the
273 filename to document title mappings as indicated below.
275 * src/main/java/org/glom/web/client/OnlineGlomService.java:
276 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
277 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
278 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
279 Use Documents DTO to create the document links in the document
281 * src/main/java/org/glom/web/client/activity/ListActivity.java:
282 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
283 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
284 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
285 * src/main/java/org/glom/web/client/place/ListPlace.java:
286 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
287 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
288 * src/main/java/org/glom/web/client/ui/ListView.java:
289 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
290 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
291 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
292 * src/main/java/org/glom/web/server/Log.java:
293 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
294 getDocumentTitles() to getDocuments() and return the Documents DTO.
295 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
296 transferring the filename to document title mappings.
298 2011-06-25 Ben Konrath <ben@bagu.org>
300 Make the authentication popup work again.
302 This bug was introduced when I extracted ConfiguredDocument to its own class.
304 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
305 correct success / fail status in setUsernameAndPassword().
307 2011-06-25 Ben Konrath <ben@bagu.org>
309 Use filename as unique key for configuring database usernames and passwords.
311 This replaces the use of the Glom document title which could change
312 depending on the locale. Thanks to Murray Cumming for pointing out this
315 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
316 * src/main/resources/onlineglom.properties:
318 2011-06-24 Ben Konrath <ben@bagu.org>
320 Pass primary key value to DetailsView.
322 This enables the DetailsView to load the correct data.
324 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
325 primary key value field and set in constructor. Pass primary key
326 value to getDetailsData().
327 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
328 variables for document title and primary key value.
329 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
330 key value to the DetailsPlace.
332 2011-06-24 Ben Konrath <ben@bagu.org>
334 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
336 This allows the primary key to be retrieved by the Details button. This
337 functionality has not been implemented yet but it's in the works.
339 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
340 the LayoutGroup result to ListView.setCellTable instead of all of its
342 * src/main/java/org/glom/web/client/ui/ListView.java:
343 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
344 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
345 get the primary key for the table.
346 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
347 index of the primary key in the LayoutGroup accounting for hidden
348 primary keys. Rename getJavaNumberFormat() to
349 convertToJavaNumberFormat() for consistency. Cleanup / add some
351 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
352 field for primary key index and a field to indicate whether the
353 primary key is hidden or not.
355 2011-06-23 Ben Konrath <ben@bagu.org>
357 Rename getTableData methods to getListData.
359 This is a rename refactor for consistency with other methods.
361 * src/main/java/org/glom/web/client/OnlineGlomService.java:
362 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
363 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
364 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
366 2011-06-23 Ben Konrath <ben@bagu.org>
368 Extract the ConfiguredDocument innerclass into its own class.
370 This makes the servlet code more object oriented.
372 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
373 from private ConfiguredDocument class in OnlineGlomServiceImpl.
374 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
375 new ConfiguredDocument class.
377 2011-06-21 Ben Konrath <ben@bagu.org>
379 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
381 This makes things more inline with how libglom works and reduces code
382 duplication. This refactor lays the groundwork for adding the primary key to
383 the LayoutGroup object.
385 * src/main/java/org/glom/web/client/OnlineGlomService.java:
386 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
387 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
388 Change method names to getListLayout and getDefaultListLayout for
389 consistency. Use LayoutGroup as the DTO for the list layout instead of
390 ColumnInfo and LayoutListTable.
391 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
392 new method names along with the LayoutGroup object for transferring the
394 * src/main/java/org/glom/web/client/ui/ListView.java:
395 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
396 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
397 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
399 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
400 Replaced with LayoutGroup.
401 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
402 expectedResultSize and defaultTableName fields which are needed for
404 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
405 type field which is needed for the list layout but will also be
406 useful for the details layout as things progress.
407 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
408 Make class abstract. Remove the unnecessary
409 getFormattingHorizontalAlignment method. Add setFormatting method.
411 2011-06-16 Ben Konrath <ben@bagu.org>
413 Add scripts for building and installing war.
415 These will help when updating OnlineGlom but they're also good
416 supplemental documentation of the build and deployment proceeding.
418 * utils/build-onlineglom-war.sh: New file.
419 * utils/install-onlineglom-war.sh: New file.
421 2011-06-16 Ben Konrath <ben@bagu.org>
423 Create wrapper class to create consistent log messages.
425 I wrapped methods in the Log class of gwt-log to add the method names
426 from the servlet and create consistent formatting of the document title
427 and table names in the log messages.
429 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
430 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
431 log methods to use methods from wrapped Log class.
433 2011-06-16 Ben Konrath <ben@bagu.org>
435 Remove superfluous conditional return.
437 Thanks to Murray Cumming for pointing this out!
439 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
441 2011-06-15 Ben Konrath <ben@bagu.org>
443 Return an ArrayList of LayoutGroups for the Details layout.
445 This corrects a problem with the details layout as it can have more
446 than one top level LayoutGroup.
448 * src/main/java/org/glom/web/client/OnlineGlomService.java:
449 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
450 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
451 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
452 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
453 with ArrayList of LayoutGroups for the details view layout.
454 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
455 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
456 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
457 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
458 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
459 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
461 2011-06-14 Ben Konrath <ben@bagu.org>
463 Use cast_dynamic method to determine the libglom LayoutItem type.
465 This is better than finding the LayoutItem type by using the string
466 returned from the get_part_type_name() method.
468 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
470 2011-06-14 Ben Konrath <ben@bagu.org>
472 Add method names to log entries in the servlet.
474 This helps when tracking down deployment problems.
476 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
478 2011-06-14 Ben Konrath <ben@bagu.org>
480 Add data to the DetailsView using a hard-coded primary key value.
482 The layout and functionality of the DetailsView is not complete. This
483 is just a checkpoint so the patch doesn't get too big.
485 * src/main/java/org/glom/web/client/OnlineGlomService.java:
486 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
487 Add getDetailsData() servlet method.
488 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
489 Add RPC to getDetailsData(). Change the way the LayoutGroups and
490 LayoutFields are added to the DetailsView.
491 * src/main/java/org/glom/web/client/ui/DetailsView.java:
492 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
493 Add setData() method. Change addLayoutGroup() and addLayoutField() to
494 take the string for the title instead of the object.
495 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
496 Add implementation getDetailsData() along with some private helper
498 * src/main/webapp/style.css: Add padding to details-data class. Add a
499 details-label class with the same padding as the details-data class.
501 2011-06-03 Ben Konrath <ben@bagu.org>
503 Use presenter.goTo() to change to the DetailsPlace.
505 This will make things easier when we need to open the DetailsView with
506 data specific to the row that was clicked.
508 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
510 2011-06-02 Ben Konrath <ben@bagu.org>
512 Add CSS file from mockups.
514 I'm adding this now because it's going to be useful to have when
515 developing the DetailsView. The TableSelectionView and ListView aren't
518 * src/main/webapp/OnlineGlom.html:
519 * src/main/webapp/style.css:
521 2011-06-02 Ben Konrath <ben@bagu.org>
523 Use String.isEmpty() to check for empty string.
525 * src/main/java/org/glom/web/client/activity/ListActivity.java:
527 2011-06-02 Ben Konrath <ben@bagu.org>
529 Display main layout group titles in the DetailsView.
531 This is the start of the DetailsActivity/DetailsView implementation.
533 * src/main/java/org/glom/web/client/OnlineGlomService.java:
534 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
535 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
536 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
537 Get the layout information for the details view from the server and set
538 the main layout group titles.
539 * src/main/java/org/glom/web/client/ui/DetailsView.java:
540 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
541 Add addLayoutGroup() and addLayoutField() methods. This are just
542 temporary methods for creating the the details view that will change
544 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
545 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
547 * src/main/java/org/glom/web/shared/layout/Formatting.java:
548 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
549 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
550 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
551 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
552 Data Transfer Objects that mimic the libglom object structure. These are
553 used for transferring the details layout but could also be used for
554 transferring the list layout.
556 2011-05-27 Ben Konrath <ben@bagu.org>
558 Reset the AuthenticationPopup when clearing the ListView.
560 * src/main/java/org/glom/web/client/activity/ListActivity.java:
562 2011-05-27 Ben Konrath <ben@bagu.org>
564 Fix problem with onlineglom.properties file loading.
566 The old way worked in Eclipse but not on the server. Loading the
567 onlineglom.properties file now works in Eclipse and on the server.
569 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
571 2011-05-24 Ben Konrath <ben@bagu.org>
573 Update gwt-log from 3.1.0 to 3.1.2.
575 Gwt-log 3.1.0 has been marked as depreciated.
579 2011-05-24 Ben Konrath <ben@bagu.org>
581 Add comment to ListActivity.goTo() method.
583 * src/main/java/org/glom/web/client/activity/ListActivity.java:
585 2011-05-24 Ben Konrath <ben@bagu.org>
587 Remove FIXME in convertGdkColorToHtmlColour()
589 The Gdk::Color value returned by libglom is 16-bits per channel on both
590 64 and 32-bit platforms.
592 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
594 2011-05-19 Ben Konrath <ben@bagu.org>
596 Improve performance of initial ListView load.
598 I removed a round trip to the server for getting the default table name
599 and then requesting information about that table. This also removes a potential
600 problem with the table change handler not being setup in time to receive the
601 table change event from the ListActivity.
603 * src/main/java/org/glom/web/client/OnlineGlomService.java:
604 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
605 getDefaultLayoutListTable() method. Improve comments.
606 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
607 getDefaultLayoutListTable() method instead of firing a table change
608 event to get the table to load.
609 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
610 implementation of getDefaultLayoutListTable() method.
611 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
614 2011-05-19 Ben Konrath <ben@bagu.org>
616 Override toDebugString() in TableChangeEvent.
618 This is useful to have for debugging.
620 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
622 2011-05-19 Ben Konrath <ben@bagu.org>
624 Add a "Back to List" link when at the DetailsPlace.
626 * src/main/java/org/glom/web/client/activity/ListActivity.java:
627 Populate the CellTable based on the selected table of the ListBox if
628 it's set otherwise use the default table. This allows the "Back to
630 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
631 Remove Place from constructors. Add a setPlace() method. Add
632 goToPlace() method. Set class as presenter for TableSelectionView.
633 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
634 Use the same TableSelectionActivity when switching between the List and
636 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
637 Subclass the new HasSelectableTablePlace. This removes some duplicate
639 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
640 New class to represent Places that display the TableSelectionView.
641 * src/main/java/org/glom/web/client/place/ListPlace.java:
642 Subclass the new HasSelectableTablePlace. This removes some duplicate
644 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
645 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
646 Add Presenter interface. Add setBackLinkVisible() method. Add
647 setBackLink() method.
649 2011-05-18 Ben Konrath <ben@bagu.org>
651 Enable the "Details" buttons.
653 Right now only an empty details view is displayed.
655 * src/main/java/org/glom/web/client/ClientFactory.java:
656 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
657 Add DetailsView to ClientFactory.
658 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
659 A basic activity for the details view.
660 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
661 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
663 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
664 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
666 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
667 Create a new DetailsActivity when a DetailsPlace is requested. Remove
668 unnecessary super() in constructor.
669 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
670 Create a new TableSelectionActivity when a DetailsPlace is requested. We
671 really shouldn't create a new TableSelectionActivity for both the ListPlace
672 and the DetailsPlace so this should be considered a temporary solution.
673 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
674 New file. Represents a URL for the details view.
675 * src/main/java/org/glom/web/client/ui/DetailsView.java:
676 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
677 A basic details view interface and implementation.
678 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
679 Enable the "Details" buttons.
681 2011-05-12 Ben Konrath <ben@bagu.org>
683 Use a LayoutPanel with multiple display areas for main layout.
685 This is mostly a refactor in that there are no changes from the user
686 point of view. These changes are required so that we can swap out the list view
687 with the details view when the user clicks the "Details" button.
689 * src/main/java/org/glom/web/client/ClientFactory.java:
690 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
691 OnlineGlomView. Add TableSelectionView, ListView and
693 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
694 for main layout. Add display regions for main activities. Add
695 activity manager for for main activities.
696 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
697 file from parts of the deleted OnlineGlomActivity.
698 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
699 New file from parts of the deleted OnlineGlomActivity.
700 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
701 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
702 New files for app wide table change event.
703 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
704 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
705 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
706 Activity mappers for the main activities replace the deleted app-wide
708 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
709 Fix a spelling error in he comment.
710 * src/main/java/org/glom/web/client/ui/ListView.java:
711 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
712 Renamed from LayoutListView and modified for MVP. This still not a
713 proper dumb view as prescribed by the MVP pattern but it works for now.
714 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
715 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
716 New widget stripped out of the deleted OnlineGlomView.
717 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
718 Remove hack that is fixed by this patch.
720 2011-05-06 Ben Konrath <ben@bagu.org>
722 Rename OnlineGlomPlace to ListPlace.
724 The only change besides the rename is that url will now display #list
725 instead of #Document.
727 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
728 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
729 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
730 * src/main/java/org/glom/web/client/place/ListPlace.java:
731 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
733 2011-05-06 Ben Konrath <ben@bagu.org>
735 Use Presenter for app navigation.
737 This is the proper way to deal with Place (URL) changes with the MVP
740 * src/main/java/org/glom/web/client/ClientFactory.java:
741 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
742 PlaceHistoryMapper and PlaceHistoryHandler.
743 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
744 PlaceHistoryMapper and PlaceHistoryHandler.
745 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
746 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
747 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
748 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
749 Add Presenter interface and setPresenter methods. Rename addHyperLink
750 to addDocumentLink taking only the document title as a parameter.
752 2011-04-14 Ben Konrath <ben@bagu.org>
754 Prompt for db username/password if they haven't been set.
756 This is implemented with a popup widget that is contained within the
757 OnlineGlomView and managed by the OnlineGlomActivity.
759 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
760 methods for checking and setting the database username and password.
761 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
762 new methods for checking and setting the database username and
764 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
765 Display authentication popup if the JDBC connection to the database
766 has not been authenticated.
767 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
769 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
770 for dealing with the authentication popup.
771 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
772 Implement the methods for dealing with the authentication popup.
773 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
774 try to executed queries if the database connection hasn't been
775 authenticated. Implement methods for checking and setting the
776 database username and password.
778 2011-04-12 Ben Konrath <ben@bagu.org>
780 Make log messages a little clearer.
782 Add a dash betweeen the document title and the table name.
784 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
786 2011-04-12 Ben Konrath <ben@bagu.org>
788 Protect against NPEs when cleaning up database resources.
790 While this isn't strictly necessary because the exception is caught,
791 not protecting against the NPEs makes it harder to find the real error
794 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
796 2011-04-12 Ben Konrath <ben@bagu.org>
798 Move configuration of the servlet to the constructor.
800 The servlet will be initialized even if the database authentication
801 information is not set or correct. I still need to add the UI for prompting
802 the user for the authentication information when it's required.
804 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
805 javadocs for getDocumentTitles() method.
806 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
807 Set error message when RPC fails.
808 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
809 glom files directory from the configuration file. Try to set the
810 database authentication information for the specific document if it's
811 set and works otherwise try to use the global authentication
812 information set for the directory.
813 * src/main/resources/onlineglom.properties: Moved from
814 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
815 Added detailed comments for the new keys.
817 2011-04-11 Ben Konrath <ben@bagu.org>
819 Remove unnecessary @Override in DocumentSelectionViewImpl.
821 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
823 2011-04-11 Ben Konrath <ben@bagu.org>
825 Remove center alignment in DocumentSelectionView.
827 The title element is still centred but the document titles and bottom
828 sentence are both left-aligned.
830 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
832 2011-04-11 Ben Konrath <ben@bagu.org>
834 Change 'Demo' naming convention to 'Document'.
836 This is just a rename refactor with no functional changes to the code.
838 * src/main/java/org/glom/web/client/ClientFactory.java:
839 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
840 * src/main/java/org/glom/web/client/OnlineGlom.java:
841 * src/main/java/org/glom/web/client/OnlineGlomService.java:
842 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
843 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
844 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
845 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
846 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
847 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
848 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
849 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
850 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
852 2011-04-08 Ben Konrath <ben@bagu.org>
854 Remove FIXME from safeLongToInt() method.
856 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
859 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
861 2011-04-08 Ben Konrath <ben@bagu.org>
863 Display an error if no glom documents are found in the specified directory.
865 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
866 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
867 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
868 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
870 2011-04-08 Ben Konrath <ben@bagu.org>
872 Add copyright header to one more file ... oops.
874 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
876 2011-04-08 Ben Konrath <ben@bagu.org>
878 Add copyright header to files without it.
880 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
881 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
882 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
883 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
884 * src/main/java/org/glom/web/shared/ColumnInfo.java:
885 * src/main/java/org/glom/web/shared/GlomField.java:
887 2011-04-08 Ben Konrath <ben@bagu.org>
889 Add support for accessing multiple glom documents in the servlet.
891 This completes the demo selection functionality.
893 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
894 document title to methods.
895 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
896 document title to methods.
897 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
898 Set browser window title when the activity starts. Correct name of
899 document title variable.
900 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
901 Set browser window title when the activity starts. Set the table
902 selector change handler after table selector has been set. Clear the
903 OnlineGlomView when the activity has been stopped.
904 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
905 document title as the place token. Use "#Document:" instead of
906 "#OnlineGlomPlace:" in the URL.
907 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
908 Change heading to "Online Glom"
909 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
910 document title in RPC methods.
911 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
912 setDocumentTitle() method. Add clear() method.
913 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
914 setDocumentTitle() method. Implement clear() method which removes the
915 change handler on the ListBox, clears the ListBox and clears the
917 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
918 Implement methods with document title. Keep track for the configured
919 glom documents and their corresponding JDBC configurations in a hash
920 table. This information is retrieved using the document title as the
921 key in the hash table.
922 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
923 document title field as it's no longer needed.
925 2011-04-08 Ben Konrath <ben@bagu.org>
927 Update the Eclipse JDT configuration.
929 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
930 methods. Automatically add the copyright header to new files.
932 2011-04-05 Ben Konrath <ben@bagu.org>
934 Add new page for demo selection.
936 This patch adds all the components required to view and start an
937 OnlineGlom demo by clicking on the desired hyperlink. The user is
938 able to return to the demo selection page with the browser's back
939 button. I still need to modify the servlet to work with multiple
940 documents so all demo links will load the file defined in the
941 OnlineGlom.properties.
943 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
944 This is only useful during development so we don't need to save it.
945 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
946 get a reference to the DemoSelectionView.
947 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
948 method to get a reference to the DemoSelectionView.
949 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
950 default view to DemoSelectionView.
951 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
952 to get glom document titles for glom files in a hard-coded directory.
953 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
954 method to get glom document titles for glom files in a hard-coded
956 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
957 Presenter for DemoSelectionView.
958 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
959 for DemoSelectionView.
960 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
961 Update for DemoSelectionView.
962 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
963 Basic 'Place' implementation for the DemoSelectionView.
964 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
965 The interface for the DemoSelectionView.
966 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
967 The implementation of the DemoSelectionView.
968 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
969 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
970 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
971 implementation of method to get glom document titles for glom files
972 in a hard-coded directory.
973 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
974 on longer being used.
975 * src/main/webapp/glom.png: Glom logo.
977 2011-04-05 Ben Konrath <ben@bagu.org>
979 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
981 This is the forth and final commit of a refactor that will allow
982 OnlineGlom to be used with multiple documents.
984 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
985 Move RPC code from OnlineGlomViewImpl to this class.
986 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
988 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
989 RPC code to the presenter class (the P in MVP).
991 2011-04-04 Ben Konrath <ben@bagu.org>
993 Start moving the existing OnlineGlom code to MVP.
995 This work is based on the GWT MVP framework that is documented here:
997 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
999 This is the third commit of a refactor that will allow OnlineGlom to
1000 be used with multiple documents.
1002 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1003 Interface for client factory which is used to get instances of various
1004 classes throughout the app.
1005 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1006 Implementation of client factory.
1007 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1008 initialize the MVP framework.
1009 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1010 New file. Activity manager for the main container widget. This is the
1012 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1013 Maps place (URL) to its corresponding activity.
1014 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1015 New file. This is just a place holder for a generated file.
1016 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1017 New file. Represents the URL for the main Online Glom app.
1018 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1019 for changes in LayoutListViewImpl.
1020 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1021 interface for View. Move code to OnlineGlomViewImpl class.
1022 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1023 file. Implementation of OnlineGlomView.
1024 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1025 Place resources. Use ClientFactoryImpl by default.
1027 2011-04-04 Ben Konrath <ben@bagu.org>
1029 Move View classes to their own package.
1031 This is the second commit of a refactor that will allow OnlineGlom to
1032 be used with multiple documents.
1034 * src/main/java/org/glom/web/client/OnlineGlom.java:
1035 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1036 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1038 2011-04-02 Ben Konrath <ben@bagu.org>
1040 Move UI code from the main module to its own class.
1042 This is the first commit of a refactor that will allow OnlineGlom to be
1043 used with multiple documents.
1045 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1046 references to OnlineGlom to OnlineGlomView.
1047 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1048 OnlineGlomView and instantiate it here.
1049 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1050 represents the main OnlineGlomView with one document.
1052 2011-04-01 Ben Konrath <ben@bagu.org>
1054 Fix formatting of gwt.xml and add DTD.
1056 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1058 2011-03-30 Ben Konrath <ben@bagu.org>
1060 Propperly convert gdkColor string to html colour string.
1062 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1064 2011-03-28 Ben Konrath <ben@bagu.org>
1066 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1068 This implementation matches
1069 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1070 readable and is not tied to Swig.
1072 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1074 2011-03-28 Ben Konrath <ben@bagu.org>
1076 Use read-only checkboxes for boolean field types.
1078 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1079 in the CellTable based on the field type. It currently only
1080 distinguishes between boolean and text columns but I'll need to add
1081 support for more types.
1082 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1083 column type in the ColumnInfo object. Add method to convert between the
1084 glom field type enum in ColumnInfo and the glom field type in libglom.
1085 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1087 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1088 getting and setting booleans.
1090 2011-03-25 Ben Konrath <ben@bagu.org>
1092 Don't get the Date twice from the ResultSet.
1094 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1096 2011-03-25 Ben Konrath <ben@bagu.org>
1098 Cleanup code in the servlet.
1100 * TODO: Remove item about row count. Add item about testing row count
1101 query with large number of rows.
1102 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1103 spelling mistakes, change method parameter to be consistent with
1106 2011-03-25 Ben Konrath <ben@bagu.org>
1108 Add server side logging with the gwt-log library.
1110 * .gitignore: Ignore the log file we're now producing.
1111 * TODO: Add a couple TODO item for logging.
1112 * pom.xml: Add gwt-log and log4j as a dependency.
1113 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1114 logging of errors, warnings and some important info.
1115 * src/main/resources/log4j.properties: New file to configure log4j.
1117 2011-03-24 Ben Konrath <ben@bagu.org>
1119 Add a disable button for the Details view.
1121 * src/main/java/org/glom/web/client/LayoutListView.java:
1123 2011-03-22 Ben Konrath <ben@bagu.org>
1125 Use a count query to get the number of rows for the list view pager.
1127 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1129 2011-03-22 Ben Konrath <ben@bagu.org>
1131 Add more TODO information about CellTable pager positioning.
1135 2011-03-19 Ben Konrath <ben@bagu.org>
1137 Add TODO item about CellTable pager positioning.
1141 2011-03-18 Ben Konrath <ben@bagu.org>
1143 Remove unneeded GlomFieldColumn class.
1145 This is just a small code cleanup.
1147 * src/main/java/org/glom/web/client/LayoutListView.java:
1149 2011-03-18 Ben Konrath <ben@bagu.org>
1151 Use cursor mode in the query that gets data for the list view.
1153 I still need to fix the potential memory problem when getting the row
1154 count for the list view.
1156 * TODO: Add note about testing memory usage with large data sets. Add
1157 item about fixing row counting with large data sets.
1158 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1159 PostgreSQL JDBC driver into cursor mode when getting data for the
1162 2011-03-15 Ben Konrath <ben@bagu.org>
1164 Remove the GWT Container from the Eclipse build classpath.
1166 The GWT dependencies are set by Maven so this isn't needed.
1170 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1172 Added some earlier mockups to git, but not to the tarball dist.
1174 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1175 Openismus. These hopefully show how we might structure the HTML so that
1176 it can be styled easily with CSS. However, we probably need to adapt them
1177 for the CSS structure that GWT dictates for common widgets.
1179 2011-03-14 Ben Konrath <ben@bagu.org>
1181 Locate OnlineGlom.properties using the ServletContext.
1183 This is required to be able to locate the file in the deployed servlet.
1185 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1186 Configure the database and glom document in in a helper method so
1187 that the ServletContext can be used to locate OnlineGlom.properties.
1188 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1189 src/main/webapp. This is the proper location for .properites files.
1191 2011-03-12 Ben Konrath <ben@bagu.org>
1193 Add note to README about why we're compiling down to obfuscated JavaScript.
1197 2011-03-11 Ben Konrath <ben@bagu.org>
1199 Use properties file to configure servlet.
1201 This allows people to change the glom file path, db username and db
1202 password without recompiling the code.
1204 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1205 * src/main/webapp/OnlineGlom.properties:
1207 2011-03-11 Ben Konrath <ben@bagu.org>
1209 Use table fields in layout list view if the layout list is not defined.
1211 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1212 Manually create a LayoutFieldVector for the query builder using the
1213 table fields when a layout list is not defined in the glom file.
1215 2011-03-11 Ben Konrath <ben@bagu.org>
1217 Only show FIXME string for images when there's an image.
1219 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1220 in this change are some small code cleanups.
1222 2011-03-11 Ben Konrath <ben@bagu.org>
1224 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1226 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1228 2011-03-11 Ben Konrath <ben@bagu.org>
1230 Correctly set the index of the default table.
1232 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1233 Correctly set the index of the default table. Add commented out example
1236 2011-03-10 Ben Konrath <ben@bagu.org>
1238 Add comment to pom.xml about the previous change.
1240 * pom.xml: Add comment about the deployment issue so that it's obvious
1241 why java-libglom is set to the provided scope.
1243 2011-03-10 Ben Konrath <ben@bagu.org>
1245 Change java-libglom dependency from compile to provided in pom.xml.
1247 Since java-libglom uses jni it can only be loaded once and therefore
1248 must be placed in $CATALINA_HOME/lib and not included in each war.
1249 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1250 More information about this issue can be found in the Tomcat 6 release
1251 notes in the "JNI Based Applications" section:
1253 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1255 * README: Remove note about this issue. Deployment info should really
1256 be on the wiki anyway so I'll add it right now.
1257 * pom.xml: Change java-libglom dependency from compile to provided so
1258 that it's copied in to the packaged war.
1260 2011-03-09 Ben Konrath <ben@bagu.org>
1262 Change to using a neutral locale for currency, date and time formatting.
1264 This solves the problem of currency values being represented without a
1265 space between the currency code and the number (e.g. "EUR5.89" is now
1266 represented as "EUR 5.89"). More work is required when we implement
1267 a locale preference setting.
1269 * TODO: Add note about currency formatting issues with different
1271 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1272 to using the neutral ROOT locale.
1274 2011-03-09 Ben Konrath <ben@bagu.org>
1276 Add support for currency codes that are not ISO 4217 codes.
1278 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1279 the currency code defined in the glom file when it's not 3 characters
1280 long or when Java doesn't recognize the string as an ISO 4217 code.
1282 2011-03-08 Ben Konrath <ben@bagu.org>
1284 Remove test classes, launch configurations and configuration.
1286 The test stuff was getting in the way when creating the war. To make
1287 the war file you can now do 'mvn clean package'. The packaged war file
1288 will be in the target directory.
1290 * .classpath: Remove unused classpathentry for tests and i18n.
1291 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1292 property. Don't run test or i18n goals when packaging the war.
1293 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1298 * OnlineGlomTest-dev.launch:
1299 * OnlineGlomTest-prod.launch:
1300 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1301 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1303 2011-03-07 Ben Konrath <ben@bagu.org>
1305 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1307 These fixes allow me to use 'mvn deploy' to create the war file.
1309 * .classpath: This generated config has been updated by Eclipse. This
1310 change was probably triggered by me updating from Eclipse 3.6.1 to
1312 * .gitignore: Add entry to ignore the directory
1313 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1314 * .project: The generated config has been updated by Eclipse. This
1315 change was probably triggered by me updating from Eclipse 3.6.1 to
1317 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1318 so that Eclipse doesn't complain
1319 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1320 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1321 'tests' directory to 'client' directory. This is the new
1322 gwt-maven-plugin convension.
1323 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1324 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1326 2011-03-07 Ben Konrath <ben@bagu.org>
1328 Add support for horizontal alignment in the LayoutList columns.
1330 * TODO: Remove item about horizontal alignment. Add item about
1331 improvements to ColumnInfo.
1332 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1333 alignment on the columns. Use ColumnInfo RPC object get the column
1334 title and horizontal alignment.
1335 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1336 LayoutListView creation with ColumnInfo RPC object.
1337 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1338 a ColumnInfo object for every LayoutList columnn. Convert the
1339 FieldFormatting.HorizontalAlignment to the correct
1340 ColumnnInfo.HorizontatlAlignment with the new
1341 getColumnInfoHorizontalAlignment helper method.
1342 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1343 to encapsulate column information like alignment and title. This
1344 could be used to set the colour instead of on a per cell field basis.
1345 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1346 column title storage and retrieval with ColumnInfo.
1348 2011-03-04 Ben Konrath <ben@bagu.org>
1350 Add support for column sorting.
1352 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1353 AsynDataProvider to be an anonymous inner class. Use new
1354 getSortedTableData RPC method when column sort is requested. Set all
1355 columns sortable and add an AsyncHandler to activate sorting in the
1357 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1358 method getSortedTableData(). Cleanup other method signatures.
1359 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1360 new method getSortedTableData(). Cleanup other method signatures.
1361 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1362 Implement getSortedTableData() and getTableData() methods by using a
1363 private helper method with the appropriate parameters filled in. Use
1364 user supplied sort clause when supplied, otherwise fall back to
1365 sorting by the primary key. Move destroy() method to be underneath
1366 constructor for readability. Cleanup comments.
1368 2011-03-03 Ben Konrath <ben@bagu.org>
1370 Add support for colour text and colour backgrounds to the layout list cells.
1372 Only the cell backgrounds are coloured which leaves a gap between the
1373 cells that isn't coloured. I need to figure out a way to set
1374 'style=background-colour:' on the whole column rather than just the
1377 * TODO: Add a note about colouring the background of the whole column.
1378 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1379 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1380 render the coloured text and backgrounds. Use GlomField[] for the row type.
1381 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1383 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1384 GlomField[] for the row type.
1385 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1386 GlomField[] for the row type. Set the text, text colour and background
1387 colour in the GlomField objects as specified in the glom document. Add
1388 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1389 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1390 the glom field text, foreground colour and background colour.
1392 2011-03-02 Ben Konrath <ben@bagu.org>
1394 Don't display hidden tables in the combo box.
1396 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1398 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1399 code to ignore hidden tables using ArrayLists for the table names and
1401 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1402 tableNames to use ArrayLists instead of String[]. Update getter and setter
1405 2011-03-01 Ben Konrath <ben@bagu.org>
1407 Add support for Date and Time number types.
1409 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1410 Implement formatting for Date and Time values. Change the default glom
1411 file to small business example.
1413 2011-03-01 Ben Konrath <ben@bagu.org>
1415 Add support for formatting glom types as specified in the glom file.
1417 Formatting isn't finished yet - I still need to add support for Date
1420 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1421 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1422 checks for null values in JDBC cleanup code and catch all exceptions
1423 instead of just SQLExceptions.
1424 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1427 2011-03-01 Ben Konrath <ben@bagu.org>
1429 Use GWT 2.2.0 instead of 2.1.1.
1431 * pom.xml: Change GWT version numbers.
1433 2011-03-01 Ben Konrath <ben@bagu.org>
1435 A few small code cleanups.
1437 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1439 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1440 unnecessary object creation in constructor.
1441 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1442 unnecessary object creation in constructor.
1444 2011-02-28 Ben Konrath <ben@bagu.org>
1446 Add file for TODO list.
1450 2011-02-18 Ben Konrath <ben@bagu.org>
1452 Enable the CellTable Pager when more than 20 rows need to be viewed.
1454 The Pager will automatically become active when the results are larger
1455 than the CellTable size which is currently set to 20 lines.
1457 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1458 name on debug statment in RPC call in LayoutListDataProvider, add
1459 numRows parameter to LayoutListView constructor, propperly set rowCount
1461 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1462 name on debug statment in RPC call, use LayoutListTable object in RPC
1463 calls, pass rowCount to LayoutListView.
1464 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1465 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1467 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1468 interface for changes in OnlineGlomService.
1469 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1470 getLayoutListHeaders() to getLayoutListTable() and return
1471 LayoutListTable. Using this object allows me to pass other information
1472 about the LayoutList like the expected number of rows in the result set.
1473 The Connection object from the connection pool is now propperly closed.
1474 Only the requested number of lines are returned to the client in
1476 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1477 GlomTable and add columnTitles and numRows.
1479 2011-02-18 Ben Konrath <ben@bagu.org>
1481 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1483 This is a small performance boost. I'll use GlomTable to get the required
1484 layoutlist information.
1486 * src/main/java/org/glom/web/client/OnlineGlom.java:
1487 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1488 * src/main/java/org/glom/web/shared/GlomDocument.java:
1490 2011-02-18 Ben Konrath <ben@bagu.org>
1492 Add option to turn off formatting in JDT formatter preferences.
1494 * .settings/org.eclipse.jdt.core.prefs:
1496 2011-02-18 Ben Konrath <ben@bagu.org>
1498 Rename LayoutList to LayoutListView.
1500 I'm working towards setting things up to easily use MVP when the time
1503 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1505 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1508 2011-02-17 Ben Konrath <ben@bagu.org>
1510 Move LayoutListDataProvider class into LayoutList.java.
1512 * src/main/java/org/glom/web/client/LayoutList.java:
1514 2011-02-17 Ben Konrath <ben@bagu.org>
1516 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1518 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1520 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1521 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1522 from LibGlomServer.java.
1523 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1524 Rename from LibGlomServiceAsync.java.
1525 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1526 Rename from LibGlomServiceImpl.java.
1527 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1529 2011-02-17 Ben Konrath <ben@bagu.org>
1531 Update JDT settings.
1533 * .settings/org.eclipse.jdt.core.prefs:
1535 2011-02-17 Ben Konrath <ben@bagu.org>
1537 Move GWT-RPC objects to shared package (where they should be).
1539 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1540 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1541 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1542 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1543 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1544 org.glom.web.shared package.
1545 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1546 org.glom.web.shared package.
1547 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1548 directory in compilation to javascript.
1550 2011-02-16 Ben Konrath <ben@bagu.org>
1552 Add sort clause to the sql query that grabs table information.
1554 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1555 if one of the columns is a primary key.
1557 2011-02-16 Ben Konrath <ben@bagu.org>
1559 Disable generateAsync feature of gwt-maven.
1561 The generated interface does not correctly match the methods in LibGlomService
1562 and the generated singleton Util inner-class doesn't respect the servlet
1565 * pom.xml: Turn off generateAsync feature.
1566 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1567 with singleton Util inner-class.
1569 2011-02-14 Ben Konrath <ben@bagu.org>
1571 Add LGPL v3 licence notices.
1573 Followed directions listed here:
1574 http://www.gnu.org/licenses/gpl-howto.html
1576 * COPYING: This file is a copy of the GPL v3.
1577 * COPYING.LESSER: This file is a copy of the LGPL v3.
1578 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1580 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1582 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1584 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1586 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1588 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1590 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1593 2011-02-14 Ben Konrath <ben@bagu.org>
1595 Use ArrayList instead of Array in GWT-RPC calls.
1597 Apparently this gives a slight performance boost to the compiled
1600 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1602 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1605 2011-02-14 Ben Konrath <ben@bagu.org>
1607 Access data from a postgres db rather than the example glom file.
1609 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1610 compile down to obfuscated javascript.
1611 * pom.xml: Add c3p0 and postgres JDBC libraries.
1612 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1613 using a postgres db accessed through the c3p0 connection pooling library.
1615 2011-02-14 Ben Konrath <ben@bagu.org>
1617 Update Java formatter settings.
1619 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1621 2011-02-02 Ben Konrath <ben@bagu.org>
1623 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1625 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1627 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1628 the compiled webapp directory that Eclipse uses as we're using Maven now.
1629 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1630 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1632 * pom.xml: Format file, change target Java version to 1.6.
1634 2011-02-02 Ben Konrath <ben@bagu.org>
1636 Add information about a deployment related issue.
1638 * README: Add Notes section with the problem outlined.
1640 2011-02-02 Ben Konrath <ben@bagu.org>
1642 Call Glom.libglom_deinit() when the servlet is shutdown.
1644 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1645 Glom.libglom_deinit() to destroy() method.
1647 2011-01-28 Ben Konrath <ben@bagu.org>
1649 Use generated Util class to get the RPC Async interface.
1651 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1653 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1654 getInstance() method to get a reference to the RPC Async interface.
1655 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1656 getInstance() method to get a reference to the RPC Async interface, remove
1657 the now unused getLibGlomServiceProxy() method.
1659 2011-01-27 Ben Konrath <ben@bagu.org>
1661 Cleanup ChangeLog entry from previous commit.
1663 * ChangeLog: Group logical changes together and add comments.
1665 2011-01-25 Ben Konrath <ben@bagu.org>
1667 Convert to gwt-maven project.
1669 * .gitignore: Update for new project structure.
1670 * README: New file with a link to the online documentation.
1671 * pom.xml: The generated maven configuration file with some tweaks.
1673 Add / update Eclipse settings. These files are a merge of the files that
1674 were generated with the gwt-maven plugin and the files we were previously
1678 * .settings/.jsdtscope:
1679 * .settings/com.google.gdt.eclipse.core.prefs:
1680 * .settings/com.google.gwt.eclipse.core.prefs:
1681 * .settings/org.eclipse.jdt.core.prefs:
1682 * .settings/org.eclipse.wst.common.component:
1683 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1684 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1685 * .settings/org.maven.ide.eclipse.prefs:
1686 * OnlineGlomTest-dev.launch:
1687 * OnlineGlomTest-prod.launch:
1689 Java source files moved from the 'src' directory to the directory structure
1691 * src/main/java/org/glom/web/client/GlomDocument.java:
1692 * src/main/java/org/glom/web/client/GlomTable.java:
1693 * src/main/java/org/glom/web/client/LayoutList.java:
1694 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1695 * src/main/java/org/glom/web/client/LibGlomService.java:
1696 * src/main/java/org/glom/web/client/OnlineGlom.java:
1697 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1699 Non-functional property file used for translations. I included this as
1700 reminder that it's something I need to sort out.
1701 * src/main/resources/org/glom/web/client/Messages.properties:
1703 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1704 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1706 The servlet configuration files moved from the 'war' directory.
1707 * src/main/webapp/OnlineGlom.css:
1708 * src/main/webapp/OnlineGlom.html:
1709 * src/main/webapp/WEB-INF/web.xml:
1711 Generated test files with most of the code commented out. I included these
1712 so that it's easy to add tests when we're ready for them.
1713 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1714 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1716 2011-01-25 Ben Konrath <ben@bagu.org>
1718 Remove unused println.
1720 * src/org/glom/web/server/LibGlomServiceImpl.java:
1722 2011-01-25 Ben Konrath <ben@bagu.org>
1724 Add project specific JDT settings.
1726 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1727 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1729 2011-01-25 Ben Konrath <ben@bagu.org>
1731 Populate celltable with example data.
1733 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1734 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1735 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1736 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1737 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1738 asynchronously gets the example data.
1739 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1740 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1741 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1742 curently selected table to be retrieved by other widgets.
1743 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1744 implement getTableData() in a hacky way. This method needs to be updated
1745 to grab information from the database when database creating is
1748 2011-01-20 Ben Konrath <ben@bagu.org>
1750 Set table headers when table dropBox changes.
1752 * src/org/glom/web/client/GlomDocument.java: Correct some method
1754 * src/org/glom/web/client/LibGlomService.java: Add method
1755 to get list layout field names.
1756 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1757 to get list layout field names.
1758 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1759 widget for list layout table.
1760 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1761 the table drop box and add new updateTable() method to asynchronously
1762 get the layout list field names for the currently selected table.
1763 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1764 implementation of getLayoutListHeaders() method.
1765 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1767 2011-01-18 Ben Konrath <ben@bagu.org>
1769 Make a listBox with table titles instead of the flexTable demo.
1771 This is the start of something more useful.
1773 * .classpath: Exclude a bunch of packages from the JVM that are
1774 getting in the way of the Eclipse content assist.
1775 * src/org/glom/web/client/GlomDocument.java:
1776 * src/org/glom/web/client/GlomTable.java:
1777 * src/org/glom/web/client/LibGlomService.java:
1778 * src/org/glom/web/client/LibGlomServiceAsync.java:
1779 * src/org/glom/web/client/OnlineGlom.java:
1780 * src/org/glom/web/server/LibGlomServiceImpl.java:
1781 * war/OnlineGlom.html:
1782 * war/WEB-INF/web.xml:
1784 211-01-13 Ben Konrath <ben@bagu.org>
1786 Update to new java-libglom API.
1788 * .gitignore: Ignore OnlineGlom.war.
1789 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1791 2010-12-20 Ben Konrath <ben@bagu.org>
1793 Add some basic style to the table listing.
1795 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1796 header, print useful error message on async callback failure.
1797 * war/OnlineGlom.css: Add style for table header, remove defaults
1798 provided by the Eclipse project wizard.
1800 2010-12-20 Ben Konrath <ben@bagu.org>
1802 Load example file from installed glom dir.
1804 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1805 provided by java-libglom to find the example file.
1807 2010-12-20 Ben Konrath <ben@bagu.org>
1809 Update Eclipse settings.
1812 * .settings/com.google.gdt.eclipse.core.prefs:
1813 * .settings/com.google.gwt.eclipse.core.prefs:
1815 2010-12-17 Ben Konrath <ben@bagu.org>
1819 * .classpath: New file.
1820 * .gitignore: New file.
1821 * .project: New file.
1822 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1823 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1824 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1825 * src/org/glom/web/client/GlomTable.java: New file.
1826 * src/org/glom/web/client/OnlineGlom.java: New file.
1827 * src/org/glom/web/client/TableNameService.java: New file.
1828 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1829 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1830 * war/OnlineGlom.css: New file.
1831 * war/OnlineGlom.html: New file.
1832 * war/WEB-INF/web.xml: New file.
1833 * war/images/glom.png: New file.