1 2011-10-07 Ben Konrath <ben@bagu.org>
3 Rename Field to DetailsCell.
5 This is a refactor-only commit. No functionality has been added or
8 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
9 Update variable and method names.
10 * src/main/java/org/glom/web/client/ui/DetailsView.java:
11 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
12 variable and method names.
13 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
15 * src/main/java/org/glom/web/client/ui/details/Group.java: Update
16 variable and method names.
18 2011-10-07 Ben Konrath <ben@bagu.org>
20 Create separate methods for layout and data the details view.
22 This is a refactor-only commit. No functionality has been added or
25 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
26 private methods: setData(), createLayout().
28 2011-10-07 Ben Konrath <ben@bagu.org>
30 Don't use TableSelectorImpl implementation details in TableSelectorActivity.
32 This is part of a change to get navigation buttons in the details view
33 but it should have been done this way from the start.
35 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
36 for method name change in TableSelectionView.
37 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
38 Create TableChangeEvent and set the browser title using the
39 TableSelectionView API.
40 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
41 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
42 Change getSelectedTable() to getSelectedTableName(). Add
43 getSelectedTableTitle().
45 2011-10-07 Ben Konrath <ben@bagu.org>
47 Use primaryKeyValue naming convention in constructor of DetailsPlace.
49 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
51 2011-10-07 Ben Konrath <ben@bagu.org>
53 Update TableChangeEvent to use newTableName naming convention.
55 This makes the class more consistent with GWT naming conventions.
57 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
58 Update for method name change in TableChangeEvent.
59 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
60 for method name change in TableChangeEvent.
61 * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
62 newTableName variable and getter method. Make toDebugString()
65 2011-09-30 Ben Konrath <ben@bagu.org>
67 Disable the pager in the list tables when the data row count is less than the minimum.
69 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
70 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
72 2011-09-30 Ben Konrath <ben@bagu.org>
74 Add empty rows to the end of related list and list view tables.
76 I also extracted the cell rendering classes from the ListTable because
77 the code was becoming a little crazy with all the anonymous inner
78 classes. My plan is to use these cell rendering classes in the details
79 view as well so this refactor will be needed for that change.
81 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
82 set the row count in related list tables if the data has more rows
83 than the minimum number of rows visible.
84 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
85 row count in list view tables if the data has more rows than the
86 minimum number of rows visible.
87 * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
88 for rendering TYPE_BOOLEAN cells. The code was extracted from the
90 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
91 for rendering TYPE_NUMERIC cells. The code was extracted from the
93 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
94 class for rendering cells with buttons in list views. The code was
95 extracted from the ListTable class.
96 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
97 for rendering TYPE_TEXT cells. The code was extracted from the
99 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
100 Add empty rows to the end of the data if required. Implement
101 ListTable.getMinNumVisibleRows().
102 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
103 cell renderer code to public classes. Return null in
104 Column.getValue() for empty rows. Add new abstract method:
105 getMinNumVisibleRows(). Move code to set the row count of the list view
106 table to ListViewImpl.
107 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
108 empty rows to the end of the data if required. Implement
109 ListTable.getMinNumVisibleRows().
112 2011-09-27 Ben Konrath <ben@bagu.org>
114 Use GWT.log for client-side debugging statements.
116 These are optimized out when deployed so I should have used this method
117 in the first place. These statements will eventually be replaced with some sort
118 of notification in the browser.
120 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
121 * src/main/java/org/glom/web/client/activity/ListActivity.java:
122 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
123 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
124 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
126 2011-09-27 Ben Konrath <ben@bagu.org>
128 Put tableselector on the right, back to list link on right.
130 The idea is that the table selector is acting like a label for the
131 currently displayed table so it should be placed below the document title. This
132 puts the table title in a similar position to where it is in Glom.
134 * mockups/details-contacts.html:
135 * mockups/details-projects.html:
136 * mockups/listview-contacts.html:
137 * mockups/listview-projects.html:
139 Update mockups to match how the interfaces currently look.
140 * src/main/webapp/style.css: Swap positions of backlink with the table
141 selector. Add some space on the left side of the table selector to
142 line things up with the document title.
144 2011-09-27 Ben Konrath <ben@bagu.org>
146 Add field colouring to details view.
148 This change re-works how field colouring works. The colour formatting
149 information is now set to the client with the layout information instead of
150 with the data. This eliminates the need to send the same colour strings for
151 data in list view column when colour information is set.
153 In order to set an alternate colour for negative numeric values, the
154 number is now sent to client and formatted with the GWT NumberFormat class.
156 This change also fixes:
158 https://bugzilla.gnome.org/show_bug.cgi?id=659752
160 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
161 internationalization framework which is needed for client side numeric
163 * src/main/java/org/glom/web/client/Utils.java: New file for some
164 client static utility methods.
165 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
166 the DataItem object to the Field class. Use a utility method to
167 create the foreignKeyValue string.
168 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
169 alignment and text colours in the constructor. Add setData(DataItem)
170 method. Remove setText(String) method.
171 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
172 colour information to GlomTextCell. Create and use GlomNumberCell for
173 rendering numbers. Use utility method to get the string for the
174 primary key of the key provider. Re-work how the horizontal alignment
176 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
177 formatting to layout information. Methods for converting the libglom
178 formatting information were moved from DBAccess.
179 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
180 numeric formatting (it's now done on the client side). Don't set text
181 colours in DataItem. Move libglom formatting conversion methods to
183 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
184 getters/setters for text colour information.
185 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
186 for transferring the libglom NumericFormat information to the client.
187 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
188 and getters/setters for: GlomNumericFormat, background colour and
189 foreground colour strings.
191 2011-09-26 Ben Konrath <ben@bagu.org>
193 Simplify code that iterates through the LayoutGroup.
195 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
197 2011-09-26 Ben Konrath <ben@bagu.org>
199 Accept Eclipse formatting for OnlineGlomServiceAsync.
201 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
203 2011-09-26 Ben Konrath <ben@bagu.org>
205 Don't use the ListDBAccess classes to get the primary key layout information.
207 This was causing a bug where the wrong index for the hidden primary key
208 was being sent to the client.
210 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
211 primary key while creating the LayoutGroup DTO. Create a
212 LayoutItemField DTO for hidden primary keys. Don't use the
213 RelatedListDBAccess because it was only used for getting the primary
215 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
216 access modifier from public to protected for getPrimaryKeyField() and
217 getPrimaryKeyLayoutItemField().
218 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
219 abstract method getExpectedResultSize() because RelatedListDBAccess
220 doesn't have enough info to implement it.
221 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
222 Remove @Override for getExpectedResultSize().
223 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
224 Remove method getExpectedResultSize().
226 2011-09-23 Ben Konrath <ben@bagu.org>
228 Log which layout (list or details) the ignored item is from.
230 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
232 2011-09-23 Ben Konrath <ben@bagu.org>
234 Remove annotations that turn off code formatting in DataItem.
236 * src/main/java/org/glom/web/shared/DataItem.java:
238 2011-09-23 Ben Konrath <ben@bagu.org>
240 Rename GlomField to DataItem and update associated methods.
242 This is a rename-only refactor. No functionality has been added or
245 * src/main/java/org/glom/web/client/OnlineGlomService.java:
246 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
247 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
248 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
249 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
250 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
251 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
252 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
253 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
254 * src/main/java/org/glom/web/server/database/DBAccess.java:
255 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
256 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
257 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
258 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
259 * src/main/java/org/glom/web/shared/DataItem.java:
260 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
261 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
263 2011-09-23 Ben Konrath <ben@bagu.org>
265 Rename GlomDocument to DocumentInfo and update associated methods.
267 This is a rename-only refactor. No functionality has been added or
270 * src/main/java/org/glom/web/client/OnlineGlomService.java:
271 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
272 * src/main/java/org/glom/web/client/activity/ListActivity.java:
273 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
274 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
275 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
276 * src/main/java/org/glom/web/shared/DocumentInfo.java:
278 2011-09-20 Ben Konrath <ben@bagu.org>
280 Require java-libglom 1.17.3.
282 This picks up the fix for the seg fault problem with the Scenes table
283 in the Openismus Film Manager example.
287 2011-09-20 Ben Konrath <ben@bagu.org>
289 Change the way sort clause is added for primary key when no sort clause is requested.
291 The primary key is now added to the LayoutFieldVector (fieldsToGet)
292 before the sort clause is created. When a sort clause is not requested, the
293 sort clause is created by finding the primary key in the LayoutFieldVector
296 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
298 2011-09-20 Ben Konrath <ben@bagu.org>
300 Log error message if no documents are found in the configured directory.
302 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
303 Extract the glom file extension string to a private static final class
304 variable (mostly as syntactic sugar). Accept a minor formatting change.
305 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
306 the example glom.document.directory configuration property to make it
307 more clear that it can any directory, not just the home directory.
309 2011-09-18 Ben Konrath <ben@bagu.org>
311 Add related lists to details view.
313 The related list table has support for paging and sorting just like the
314 table in the list view.
316 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
317 SQL queries for the related list tables.
318 * src/main/java/org/glom/web/client/OnlineGlomService.java:
319 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
320 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
321 Rename getList methods to getListView and add comments. Remove
322 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
323 it being unused. Add methods: getDetailsLayoutAndData(),
324 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
325 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
326 Create the layout and set the data for the fields in one async call
327 instead of two. Create related lists where appropriate.
328 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
329 for method name changes in OnlineGlomService.
330 * src/main/java/org/glom/web/client/ui/DetailsView.java:
331 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
332 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
334 * src/main/java/org/glom/web/client/ui/ListView.java:
335 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
336 tableName from setCellTable(). Create a ListViewTable instead of
338 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
339 represent a data field in the details view.
340 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
341 from addDetailsCell() to Field class. Keep track of the Fields and
342 Portals in the details view.
343 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
344 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
345 and add a method to get it. Add method to set the contents of the
347 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
348 New class for related list tables. This class has the data provider
349 for the related list table.
350 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
351 abstract class which is the base class for the ListViewTable and the
353 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
354 New class for list view tables. This class has the data provider for
356 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
357 methods for related list tables. Add more information to the
358 LayoutItemField and LayoutItemPortal DTOs.
359 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
360 Remove debugging print statement.
361 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
362 Remove debugging print statements. Add primary key field to SQL count
364 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
365 Remove unnecessary LayoutFieldVector parameter from
366 getResultSizeOfSQLQuery() method.
367 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
368 New class for related list table database access.
369 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
370 class that is a wrapper DTO for details view layout and data.
371 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
372 new 'fromField' string to this DTO.
373 * src/main/webapp/style.css: Remove bottom margin and override top
376 2011-09-15 Ben Konrath <ben@bagu.org>
378 Breakup the OnlineGlomServiceImpl class to make it more manageable.
380 This sets things up to make it easier to add the data retrieval for
381 related lists (portals). No user noticeable changes were made with
384 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
385 class has the code to retrieve the layouts and access the
386 database using the new database helper classes.
387 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
388 Most of the functionality has been removed from this class. This
389 class now represents the public interface for the client side
390 code. It also deals with configuring the servlet and cleaning
391 things up when the servlet is stopped.
392 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
393 of static methods into this utility class.
394 * src/main/java/org/glom/web/server/database/DBAccess.java:
395 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
396 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
397 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
398 These classes have the database retrieval code. The class hierarchy
399 has been setup to make it easy to reuse code for similar
402 2011-09-06 Ben Konrath <ben@bagu.org>
404 Create separate classes for list table code and the data provider.
406 As part of this refactor, I also split up the code a bit to make it
409 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
410 table code to two new classes (below).
411 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
412 with code from ListViewImpl.
413 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
414 New file with code from ListViewImpl.
416 2011-09-06 Ben Konrath <ben@bagu.org>
418 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
420 This fixes the LayoutItemPortal DTO to match the libglom layout object
423 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
425 2011-09-01 Ben Konrath <ben@bagu.org>
427 Set title of Portals in the Details View.
429 * pom.xml: Bump required version of java-libglom to 1.17.1.
430 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
431 widget creation to its own class. Add comments to constructor.
432 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
433 The code is mostly from the Group class with the title now set.
434 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
435 title of Portal. Update some comments. Fix some code formatting.
437 2011-09-01 Ben Konrath <ben@bagu.org>
439 Remove TODO comment for the flow table column width.
441 The flow table column width is working correctly and doesn't need to be
442 changed. See this mailing list post for more info:
444 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
446 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
448 2011-08-27 Ben Konrath <ben@bagu.org>
450 Add document title (database name) to top of the browser page.
452 I added the document title to the TableSelecitonView but that will
453 change if / when we add a view that doesn't require table selection.
455 * mockups/details-contacts.html:
456 * mockups/details-projects.html:
457 * mockups/listview-contacts.html:
458 * mockups/listview-projects.html:
459 * mockups/style.css: Add document title to mockups to keep things
461 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
462 sizes to account for the document title.
463 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
464 Set the document title when it has been retrieved from the server.
465 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
466 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
467 and implement setDocumentTitle(String) method.
468 * src/main/webapp/style.css: Add ID for document title style.
470 2011-08-25 Ben Konrath <ben@bagu.org>
472 Add NavigationType enum to LayoutItemPortal DTO.
474 This is the start of adding support for Portals to the Details View.
476 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
477 LayoutItem_Portal.navigation_type enum from libglom to
478 LayoutItemPortal.NavigationType enum.
479 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
480 NavigationType enum, field for storing the NavigationType and getter
483 2011-08-25 Ben Konrath <ben@bagu.org>
485 Implement the flow table layout in the Details View.
487 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
488 FlowTable to Group to account for the renamed class.
489 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
490 File. This is a container widget that implements the Glom details view
491 flow table behaviour.
492 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
493 org/glom/web/client/ui/FlowTable.java.
494 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
495 so that the size of the subgroups are a closer match to the size of
496 the Glom subgroups. This makes the flowtable layout match the layout
497 in Glom for the Music Collection example file.
499 2011-08-16 Ben Konrath <ben@bagu.org>
501 Create container element for LayoutItemPortal in Details View.
503 This will help me develop the layout for the FlowTable.
505 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
506 fieldPanel variable to detailsCell.
508 2011-08-15 Ben Konrath <ben@bagu.org>
510 Set the height of the data element in the Details View.
512 I changed the InlineLabels (text in a span element) to Labels (text in
513 a div element) so that I could set the height of the details-data
514 elements instead of the details-cell parent elements. This allows the
515 the details-data element to display the correct height if style is
516 applied that shows the height.
518 This change has the added benefit of allowing the order of the labels
519 and data elements to be changed for right-to-left languages.
521 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
522 InlineLabels to Labels.
523 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
524 InlineLabels to Labels. Set the height of the data element.
525 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
526 multiline text height in the Formatting DTO.
527 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
528 for multiline height along with getter and setter methods.
529 * src/main/webapp/style.css: Adjust style to account for the change
530 from span elements to div elements in the details cell.
532 2011-08-15 Ben Konrath <ben@bagu.org>
534 Make the List View appearance match the mockups.
536 It doesn't match exactly but it's much better than it was.
538 * mockups/listview-contacts.html: Remove unused css classes.
539 * mockups/listview-projects.html: Remove unused css classes.
540 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
541 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
542 for mainPanel instead of VerticalPanel (table). Set style name on
543 CellTable. Set style name on Details column. Right-align Details
545 * src/main/webapp/style.css: Adjust properties to match the mockups.
547 2011-08-12 Ben Konrath <ben@bagu.org>
549 Add better support for subgroups in the details view.
551 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
552 changed FlowTable constructor.
553 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
554 support for subgroups and subgroup-titles.
555 * src/main/webapp/style.css: Add CSS class for subgroups and
558 2011-08-12 Ben Konrath <ben@bagu.org>
560 Return the top level LayoutGroup title.
562 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
564 2011-08-11 Ben Konrath <ben@bagu.org>
566 Make the TableSelector header match the mockup.
568 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
569 the layout panel. Properly lineup the table selection header with
570 the list and details view.
571 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
572 margin around the details view.
573 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
574 Rename listBox variable to tableSelector. Set id for the style sheet.
575 Use a FlowPanel instead of a HorizontalPanel.
576 * src/main/webapp/style.css: Add properties to make the TableSelector
577 box match the mockups.
579 2011-07-13 Ben Konrath <ben@bagu.org>
581 Update install script for java-libglom version change.
583 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
586 2011-07-13 Ben Konrath <ben@bagu.org>
588 Add support sub-group in the details view.
590 I also removed the code that special-cased the default details view
593 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
595 I still have to make a proper flowtable.
597 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
598 Don't special-case default details view layout.
599 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
600 addLayoutField() as I'm going to use it.
601 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
602 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
604 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
605 extracted from DetailsViewImpl.GroupPanel. Add support for
607 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
608 column count when getting the details layout.
610 2011-07-12 Ben Konrath <ben@bagu.org>
612 Set browser title with database and table titles.
614 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
615 Set the browser title when the table changes and when the activity
617 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
618 title when retrieving document info (the GlomDocument object).
619 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
620 with getter and setter methods. Remove unused convenience constructor.
621 Use default code formatting.
623 2011-07-12 Ben Konrath <ben@bagu.org>
625 Ignore LayoutItemPortals in the details view.
627 I added a new DTO for the LayoutItemPortal so that I can ignore it in
630 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
631 LayoutItemPortal layout objects.
632 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
633 LayoutItemPortal objects when retrieving the details layout.
634 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
635 file. This is an empty class and just used to get type information for
638 2011-07-12 Ben Konrath <ben@bagu.org>
640 Use java-libglom 1.17.0.
644 2011-07-11 Ben Konrath <ben@bagu.org>
646 Remove "Table:" label from table selector.
648 This matches a recent change in the Glom UI.
650 * mockups/details-contacts.html:
651 * mockups/details-projects.html:
652 * mockups/listview-contacts.html:
653 * mockups/listview-projects.html: Remove the "Table:" label from the
655 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
657 2011-07-11 Ben Konrath <ben@bagu.org>
659 Add main groups to the details view.
661 This makes things look a little nicer in the details view. The next step
662 is to implement the flowtable.
664 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
665 resources from the standard gwt css theme. Standard.css is now
666 included in OnlineGlom.html so that the online glom css rules have
667 precedence over the gwt theme.
668 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
669 the whole LayoutGroup to the DetailsView instead of just the titles.
670 * src/main/java/org/glom/web/client/ui/DetailsView.java:
671 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
672 details layout with a helper class (GroupPanel). I might extract this
673 class when I make the full flowtable.
674 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
675 string as default so I don't have to worry about NPEs when processing
677 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
678 note beside OnlineGlom.gwt.xml above).
679 * src/main/webapp/style.css: Add default font-size to body to override
680 the font-size set by the standard theme. Don't use h2 tags for
681 group-title. Create new details-cell class.
683 2011-07-08 Murray Cumming <murrayc@murrayc.com>
685 ConfiguredDocument: Set the port number too.
687 * src/main/java/org/glom/web/server/ConfiguredDocument.java
688 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
689 Glom document. Presumably this worked sometimes so far because there is a
692 2011-07-08 Murray Cumming <murrayc@murrayc.com>
694 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
696 * src/main/java/org/glom/web/server/ConfiguredDocument.java
697 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
698 correct, though we should throw an exception too.
700 2011-07-08 Murray Cumming <murrayc@murrayc.com>
702 Fix a addDocuemnt typo.
704 * src/main/java/org/glom/web/shared/Documents.java
705 (Documents.addDocuemnt): Rename to addDocument().
706 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
707 (OnlineGlomServiceImpl.getDocuments): Adapt.
709 2011-07-08 Murray Cumming <murrayc@murrayc.com>
711 Slightly improved log output when connection fails.
713 * src/main/java/org/glom/web/server/ConfiguredDocument.java
714 (ConfiguredDocument.setUsernameAndPassword):
715 We don't know for sure if it' the username/password that's wrong, so
716 rephrase the message.
717 Also ouput the exception message, though it's generic in this case.
719 2011-07-08 Ben Konrath <ben@bagu.org>
723 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
724 added braces to a one line if statement because the Eclipse formatter
725 was getting confused.
727 2011-07-07 Ben Konrath <ben@bagu.org>
729 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
731 These should really be two separate tasks but I counldn't get things to
732 work with GWT 2.2.0 and Eclipse 3.7.
736 * .settings/org.eclipse.jdt.core.prefs:
737 * .settings/org.eclipse.jdt.ui.prefs:
738 * .settings/org.eclipse.ltk.core.refactoring.prefs:
739 * .settings/org.eclipse.m2e.core.prefs:
740 Add new config files. Update current files. Remove references to the
741 webtools plugins as we're not using any of the webtools features.
742 * .gitignore: Add logs directory which is created when running with
744 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
745 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
746 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
748 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
750 2011-07-07 Murray Cumming <murrayc@murrayc.com>
752 onlineglom.properties: Add explanatory comments.
754 * src/main/resources/onlineglom.properties: Also change the default user
755 from ben to someuser, to avoid the risk of people thinking we just
756 stupidly hard-coded a locale path, when they see that on stderr or in a log.
758 2011-06-28 Ben Konrath <ben@bagu.org>
760 Use filename in Log for incorrect passwords.
762 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
763 getFileName(String) method to get the filename from the URI.
765 2011-06-28 Ben Konrath <ben@bagu.org>
767 Add the table name to the URL token for the ListPlace.
769 This makes things consistent between the DetailsPlace and the
770 ListPlace. It also allows the the ListPlace to be bookmarked.
772 * src/main/java/org/glom/web/client/OnlineGlomService.java:
773 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
774 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
775 Remove getDefaultListLayout(). The default layout is now returned
776 by the getListLayout() method when the table name is an empty string.
777 * src/main/java/org/glom/web/client/activity/ListActivity.java:
778 Add table name field. Change to a new ListPlace when the table
779 has been changed. Use getListLayout() for getting the default
781 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
782 Add table name field. Set the correct table name in the list box
783 when loading from bookmark. This corrects a problem for the
785 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
786 Move table name to super-class (HasSelectableTable). Move document
787 and table URL keys to super-class in HasSelectableTable.
788 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
789 Add table name field. Add Tokenizer class with URL key common to
790 the subclasses (DetailsPlace and ListPlace).
791 * src/main/java/org/glom/web/client/place/ListPlace.java:
792 Add table name. Add code to parse the URL token.
793 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
794 Update ListPlace construction with empty table name string.
795 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
796 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
797 Change setTableSelectedIndex(int) to setSelectedTableName(String).
798 Update ListPlace construction with table name string.
799 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
800 Change defaultTableName field to tableName to reflect how it's now
801 used. Update the getter and setter methods.
803 2011-06-28 Ben Konrath <ben@bagu.org>
805 Enable the table selector in the DetailsView.
807 * src/main/java/org/glom/web/client/OnlineGlomService.java:
808 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
809 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
810 Remove getDefaultDetailsLayout(). The default layout is now returned
811 by the getDetailsLayout() method when the table name is an empty
813 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
814 event handler for table change event. Change to using
815 getDetailsLayout() for the default details layout.
816 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
818 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
819 when navigating to the details place.
821 2011-06-27 Ben Konrath <ben@bagu.org>
823 Use filename based unique document ID in URL and for RPC.
825 The document ID is the glom document name with spaces (' ') replaced
826 with pluses ('+') and without the .glom extension.
828 This change is mostly a string substitution of 'documentTitle' for
829 'documentID'. The only code change is the addition of a Documents DTO to get the
830 filename to document title mappings as indicated below.
832 * src/main/java/org/glom/web/client/OnlineGlomService.java:
833 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
834 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
835 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
836 Use Documents DTO to create the document links in the document
838 * src/main/java/org/glom/web/client/activity/ListActivity.java:
839 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
840 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
841 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
842 * src/main/java/org/glom/web/client/place/ListPlace.java:
843 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
844 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
845 * src/main/java/org/glom/web/client/ui/ListView.java:
846 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
847 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
848 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
849 * src/main/java/org/glom/web/server/Log.java:
850 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
851 getDocumentTitles() to getDocuments() and return the Documents DTO.
852 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
853 transferring the filename to document title mappings.
855 2011-06-25 Ben Konrath <ben@bagu.org>
857 Make the authentication popup work again.
859 This bug was introduced when I extracted ConfiguredDocument to its own class.
861 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
862 correct success / fail status in setUsernameAndPassword().
864 2011-06-25 Ben Konrath <ben@bagu.org>
866 Use filename as unique key for configuring database usernames and passwords.
868 This replaces the use of the Glom document title which could change
869 depending on the locale. Thanks to Murray Cumming for pointing out this
872 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
873 * src/main/resources/onlineglom.properties:
875 2011-06-24 Ben Konrath <ben@bagu.org>
877 Pass primary key value to DetailsView.
879 This enables the DetailsView to load the correct data.
881 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
882 primary key value field and set in constructor. Pass primary key
883 value to getDetailsData().
884 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
885 variables for document title and primary key value.
886 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
887 key value to the DetailsPlace.
889 2011-06-24 Ben Konrath <ben@bagu.org>
891 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
893 This allows the primary key to be retrieved by the Details button. This
894 functionality has not been implemented yet but it's in the works.
896 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
897 the LayoutGroup result to ListView.setCellTable instead of all of its
899 * src/main/java/org/glom/web/client/ui/ListView.java:
900 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
901 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
902 get the primary key for the table.
903 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
904 index of the primary key in the LayoutGroup accounting for hidden
905 primary keys. Rename getJavaNumberFormat() to
906 convertToJavaNumberFormat() for consistency. Cleanup / add some
908 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
909 field for primary key index and a field to indicate whether the
910 primary key is hidden or not.
912 2011-06-23 Ben Konrath <ben@bagu.org>
914 Rename getTableData methods to getListData.
916 This is a rename refactor for consistency with other methods.
918 * src/main/java/org/glom/web/client/OnlineGlomService.java:
919 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
920 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
921 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
923 2011-06-23 Ben Konrath <ben@bagu.org>
925 Extract the ConfiguredDocument innerclass into its own class.
927 This makes the servlet code more object oriented.
929 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
930 from private ConfiguredDocument class in OnlineGlomServiceImpl.
931 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
932 new ConfiguredDocument class.
934 2011-06-21 Ben Konrath <ben@bagu.org>
936 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
938 This makes things more inline with how libglom works and reduces code
939 duplication. This refactor lays the groundwork for adding the primary key to
940 the LayoutGroup object.
942 * src/main/java/org/glom/web/client/OnlineGlomService.java:
943 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
944 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
945 Change method names to getListLayout and getDefaultListLayout for
946 consistency. Use LayoutGroup as the DTO for the list layout instead of
947 ColumnInfo and LayoutListTable.
948 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
949 new method names along with the LayoutGroup object for transferring the
951 * src/main/java/org/glom/web/client/ui/ListView.java:
952 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
953 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
954 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
956 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
957 Replaced with LayoutGroup.
958 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
959 expectedResultSize and defaultTableName fields which are needed for
961 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
962 type field which is needed for the list layout but will also be
963 useful for the details layout as things progress.
964 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
965 Make class abstract. Remove the unnecessary
966 getFormattingHorizontalAlignment method. Add setFormatting method.
968 2011-06-16 Ben Konrath <ben@bagu.org>
970 Add scripts for building and installing war.
972 These will help when updating OnlineGlom but they're also good
973 supplemental documentation of the build and deployment proceeding.
975 * utils/build-onlineglom-war.sh: New file.
976 * utils/install-onlineglom-war.sh: New file.
978 2011-06-16 Ben Konrath <ben@bagu.org>
980 Create wrapper class to create consistent log messages.
982 I wrapped methods in the Log class of gwt-log to add the method names
983 from the servlet and create consistent formatting of the document title
984 and table names in the log messages.
986 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
987 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
988 log methods to use methods from wrapped Log class.
990 2011-06-16 Ben Konrath <ben@bagu.org>
992 Remove superfluous conditional return.
994 Thanks to Murray Cumming for pointing this out!
996 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
998 2011-06-15 Ben Konrath <ben@bagu.org>
1000 Return an ArrayList of LayoutGroups for the Details layout.
1002 This corrects a problem with the details layout as it can have more
1003 than one top level LayoutGroup.
1005 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1006 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
1007 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
1008 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
1009 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
1010 with ArrayList of LayoutGroups for the details view layout.
1011 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1012 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
1013 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
1014 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
1015 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
1016 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
1018 2011-06-14 Ben Konrath <ben@bagu.org>
1020 Use cast_dynamic method to determine the libglom LayoutItem type.
1022 This is better than finding the LayoutItem type by using the string
1023 returned from the get_part_type_name() method.
1025 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1027 2011-06-14 Ben Konrath <ben@bagu.org>
1029 Add method names to log entries in the servlet.
1031 This helps when tracking down deployment problems.
1033 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1035 2011-06-14 Ben Konrath <ben@bagu.org>
1037 Add data to the DetailsView using a hard-coded primary key value.
1039 The layout and functionality of the DetailsView is not complete. This
1040 is just a checkpoint so the patch doesn't get too big.
1042 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1043 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1044 Add getDetailsData() servlet method.
1045 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1046 Add RPC to getDetailsData(). Change the way the LayoutGroups and
1047 LayoutFields are added to the DetailsView.
1048 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1049 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1050 Add setData() method. Change addLayoutGroup() and addLayoutField() to
1051 take the string for the title instead of the object.
1052 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1053 Add implementation getDetailsData() along with some private helper
1055 * src/main/webapp/style.css: Add padding to details-data class. Add a
1056 details-label class with the same padding as the details-data class.
1058 2011-06-03 Ben Konrath <ben@bagu.org>
1060 Use presenter.goTo() to change to the DetailsPlace.
1062 This will make things easier when we need to open the DetailsView with
1063 data specific to the row that was clicked.
1065 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1067 2011-06-02 Ben Konrath <ben@bagu.org>
1069 Add CSS file from mockups.
1071 I'm adding this now because it's going to be useful to have when
1072 developing the DetailsView. The TableSelectionView and ListView aren't
1075 * src/main/webapp/OnlineGlom.html:
1076 * src/main/webapp/style.css:
1078 2011-06-02 Ben Konrath <ben@bagu.org>
1080 Use String.isEmpty() to check for empty string.
1082 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1084 2011-06-02 Ben Konrath <ben@bagu.org>
1086 Display main layout group titles in the DetailsView.
1088 This is the start of the DetailsActivity/DetailsView implementation.
1090 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1091 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1092 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1093 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1094 Get the layout information for the details view from the server and set
1095 the main layout group titles.
1096 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1097 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1098 Add addLayoutGroup() and addLayoutField() methods. This are just
1099 temporary methods for creating the the details view that will change
1101 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1102 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1104 * src/main/java/org/glom/web/shared/layout/Formatting.java:
1105 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1106 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1107 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1108 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1109 Data Transfer Objects that mimic the libglom object structure. These are
1110 used for transferring the details layout but could also be used for
1111 transferring the list layout.
1113 2011-05-27 Ben Konrath <ben@bagu.org>
1115 Reset the AuthenticationPopup when clearing the ListView.
1117 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1119 2011-05-27 Ben Konrath <ben@bagu.org>
1121 Fix problem with onlineglom.properties file loading.
1123 The old way worked in Eclipse but not on the server. Loading the
1124 onlineglom.properties file now works in Eclipse and on the server.
1126 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1128 2011-05-24 Ben Konrath <ben@bagu.org>
1130 Update gwt-log from 3.1.0 to 3.1.2.
1132 Gwt-log 3.1.0 has been marked as depreciated.
1136 2011-05-24 Ben Konrath <ben@bagu.org>
1138 Add comment to ListActivity.goTo() method.
1140 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1142 2011-05-24 Ben Konrath <ben@bagu.org>
1144 Remove FIXME in convertGdkColorToHtmlColour()
1146 The Gdk::Color value returned by libglom is 16-bits per channel on both
1147 64 and 32-bit platforms.
1149 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1151 2011-05-19 Ben Konrath <ben@bagu.org>
1153 Improve performance of initial ListView load.
1155 I removed a round trip to the server for getting the default table name
1156 and then requesting information about that table. This also removes a potential
1157 problem with the table change handler not being setup in time to receive the
1158 table change event from the ListActivity.
1160 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1161 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1162 getDefaultLayoutListTable() method. Improve comments.
1163 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1164 getDefaultLayoutListTable() method instead of firing a table change
1165 event to get the table to load.
1166 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1167 implementation of getDefaultLayoutListTable() method.
1168 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1171 2011-05-19 Ben Konrath <ben@bagu.org>
1173 Override toDebugString() in TableChangeEvent.
1175 This is useful to have for debugging.
1177 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1179 2011-05-19 Ben Konrath <ben@bagu.org>
1181 Add a "Back to List" link when at the DetailsPlace.
1183 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1184 Populate the CellTable based on the selected table of the ListBox if
1185 it's set otherwise use the default table. This allows the "Back to
1187 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1188 Remove Place from constructors. Add a setPlace() method. Add
1189 goToPlace() method. Set class as presenter for TableSelectionView.
1190 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1191 Use the same TableSelectionActivity when switching between the List and
1193 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1194 Subclass the new HasSelectableTablePlace. This removes some duplicate
1196 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1197 New class to represent Places that display the TableSelectionView.
1198 * src/main/java/org/glom/web/client/place/ListPlace.java:
1199 Subclass the new HasSelectableTablePlace. This removes some duplicate
1201 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1202 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1203 Add Presenter interface. Add setBackLinkVisible() method. Add
1204 setBackLink() method.
1206 2011-05-18 Ben Konrath <ben@bagu.org>
1208 Enable the "Details" buttons.
1210 Right now only an empty details view is displayed.
1212 * src/main/java/org/glom/web/client/ClientFactory.java:
1213 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1214 Add DetailsView to ClientFactory.
1215 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1216 A basic activity for the details view.
1217 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1218 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1220 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1221 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1223 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1224 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1225 unnecessary super() in constructor.
1226 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1227 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1228 really shouldn't create a new TableSelectionActivity for both the ListPlace
1229 and the DetailsPlace so this should be considered a temporary solution.
1230 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1231 New file. Represents a URL for the details view.
1232 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1233 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1234 A basic details view interface and implementation.
1235 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1236 Enable the "Details" buttons.
1238 2011-05-12 Ben Konrath <ben@bagu.org>
1240 Use a LayoutPanel with multiple display areas for main layout.
1242 This is mostly a refactor in that there are no changes from the user
1243 point of view. These changes are required so that we can swap out the list view
1244 with the details view when the user clicks the "Details" button.
1246 * src/main/java/org/glom/web/client/ClientFactory.java:
1247 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1248 OnlineGlomView. Add TableSelectionView, ListView and
1249 AuthenticationPopup.
1250 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1251 for main layout. Add display regions for main activities. Add
1252 activity manager for for main activities.
1253 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1254 file from parts of the deleted OnlineGlomActivity.
1255 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1256 New file from parts of the deleted OnlineGlomActivity.
1257 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1258 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1259 New files for app wide table change event.
1260 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1261 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1262 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1263 Activity mappers for the main activities replace the deleted app-wide
1265 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1266 Fix a spelling error in he comment.
1267 * src/main/java/org/glom/web/client/ui/ListView.java:
1268 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1269 Renamed from LayoutListView and modified for MVP. This still not a
1270 proper dumb view as prescribed by the MVP pattern but it works for now.
1271 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1272 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1273 New widget stripped out of the deleted OnlineGlomView.
1274 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1275 Remove hack that is fixed by this patch.
1277 2011-05-06 Ben Konrath <ben@bagu.org>
1279 Rename OnlineGlomPlace to ListPlace.
1281 The only change besides the rename is that url will now display #list
1282 instead of #Document.
1284 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1285 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1286 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1287 * src/main/java/org/glom/web/client/place/ListPlace.java:
1288 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1290 2011-05-06 Ben Konrath <ben@bagu.org>
1292 Use Presenter for app navigation.
1294 This is the proper way to deal with Place (URL) changes with the MVP
1297 * src/main/java/org/glom/web/client/ClientFactory.java:
1298 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1299 PlaceHistoryMapper and PlaceHistoryHandler.
1300 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1301 PlaceHistoryMapper and PlaceHistoryHandler.
1302 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1303 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1304 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1305 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1306 Add Presenter interface and setPresenter methods. Rename addHyperLink
1307 to addDocumentLink taking only the document title as a parameter.
1309 2011-04-14 Ben Konrath <ben@bagu.org>
1311 Prompt for db username/password if they haven't been set.
1313 This is implemented with a popup widget that is contained within the
1314 OnlineGlomView and managed by the OnlineGlomActivity.
1316 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1317 methods for checking and setting the database username and password.
1318 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1319 new methods for checking and setting the database username and
1321 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1322 Display authentication popup if the JDBC connection to the database
1323 has not been authenticated.
1324 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1326 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1327 for dealing with the authentication popup.
1328 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1329 Implement the methods for dealing with the authentication popup.
1330 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1331 try to executed queries if the database connection hasn't been
1332 authenticated. Implement methods for checking and setting the
1333 database username and password.
1335 2011-04-12 Ben Konrath <ben@bagu.org>
1337 Make log messages a little clearer.
1339 Add a dash betweeen the document title and the table name.
1341 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1343 2011-04-12 Ben Konrath <ben@bagu.org>
1345 Protect against NPEs when cleaning up database resources.
1347 While this isn't strictly necessary because the exception is caught,
1348 not protecting against the NPEs makes it harder to find the real error
1351 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1353 2011-04-12 Ben Konrath <ben@bagu.org>
1355 Move configuration of the servlet to the constructor.
1357 The servlet will be initialized even if the database authentication
1358 information is not set or correct. I still need to add the UI for prompting
1359 the user for the authentication information when it's required.
1361 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1362 javadocs for getDocumentTitles() method.
1363 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1364 Set error message when RPC fails.
1365 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1366 glom files directory from the configuration file. Try to set the
1367 database authentication information for the specific document if it's
1368 set and works otherwise try to use the global authentication
1369 information set for the directory.
1370 * src/main/resources/onlineglom.properties: Moved from
1371 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1372 Added detailed comments for the new keys.
1374 2011-04-11 Ben Konrath <ben@bagu.org>
1376 Remove unnecessary @Override in DocumentSelectionViewImpl.
1378 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1380 2011-04-11 Ben Konrath <ben@bagu.org>
1382 Remove center alignment in DocumentSelectionView.
1384 The title element is still centred but the document titles and bottom
1385 sentence are both left-aligned.
1387 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1389 2011-04-11 Ben Konrath <ben@bagu.org>
1391 Change 'Demo' naming convention to 'Document'.
1393 This is just a rename refactor with no functional changes to the code.
1395 * src/main/java/org/glom/web/client/ClientFactory.java:
1396 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1397 * src/main/java/org/glom/web/client/OnlineGlom.java:
1398 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1399 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1400 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1401 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1402 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1403 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1404 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1405 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1406 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1407 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1409 2011-04-08 Ben Konrath <ben@bagu.org>
1411 Remove FIXME from safeLongToInt() method.
1413 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1416 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1418 2011-04-08 Ben Konrath <ben@bagu.org>
1420 Display an error if no glom documents are found in the specified directory.
1422 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1423 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1424 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1425 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1427 2011-04-08 Ben Konrath <ben@bagu.org>
1429 Add copyright header to one more file ... oops.
1431 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1433 2011-04-08 Ben Konrath <ben@bagu.org>
1435 Add copyright header to files without it.
1437 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1438 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1439 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1440 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1441 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1442 * src/main/java/org/glom/web/shared/GlomField.java:
1444 2011-04-08 Ben Konrath <ben@bagu.org>
1446 Add support for accessing multiple glom documents in the servlet.
1448 This completes the demo selection functionality.
1450 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1451 document title to methods.
1452 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1453 document title to methods.
1454 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1455 Set browser window title when the activity starts. Correct name of
1456 document title variable.
1457 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1458 Set browser window title when the activity starts. Set the table
1459 selector change handler after table selector has been set. Clear the
1460 OnlineGlomView when the activity has been stopped.
1461 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1462 document title as the place token. Use "#Document:" instead of
1463 "#OnlineGlomPlace:" in the URL.
1464 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1465 Change heading to "Online Glom"
1466 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1467 document title in RPC methods.
1468 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1469 setDocumentTitle() method. Add clear() method.
1470 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1471 setDocumentTitle() method. Implement clear() method which removes the
1472 change handler on the ListBox, clears the ListBox and clears the
1474 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1475 Implement methods with document title. Keep track for the configured
1476 glom documents and their corresponding JDBC configurations in a hash
1477 table. This information is retrieved using the document title as the
1478 key in the hash table.
1479 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1480 document title field as it's no longer needed.
1482 2011-04-08 Ben Konrath <ben@bagu.org>
1484 Update the Eclipse JDT configuration.
1486 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1487 methods. Automatically add the copyright header to new files.
1489 2011-04-05 Ben Konrath <ben@bagu.org>
1491 Add new page for demo selection.
1493 This patch adds all the components required to view and start an
1494 OnlineGlom demo by clicking on the desired hyperlink. The user is
1495 able to return to the demo selection page with the browser's back
1496 button. I still need to modify the servlet to work with multiple
1497 documents so all demo links will load the file defined in the
1498 OnlineGlom.properties.
1500 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1501 This is only useful during development so we don't need to save it.
1502 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1503 get a reference to the DemoSelectionView.
1504 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1505 method to get a reference to the DemoSelectionView.
1506 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1507 default view to DemoSelectionView.
1508 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1509 to get glom document titles for glom files in a hard-coded directory.
1510 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1511 method to get glom document titles for glom files in a hard-coded
1513 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1514 Presenter for DemoSelectionView.
1515 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1516 for DemoSelectionView.
1517 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1518 Update for DemoSelectionView.
1519 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1520 Basic 'Place' implementation for the DemoSelectionView.
1521 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1522 The interface for the DemoSelectionView.
1523 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1524 The implementation of the DemoSelectionView.
1525 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1526 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1527 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1528 implementation of method to get glom document titles for glom files
1529 in a hard-coded directory.
1530 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1531 on longer being used.
1532 * src/main/webapp/glom.png: Glom logo.
1534 2011-04-05 Ben Konrath <ben@bagu.org>
1536 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1538 This is the forth and final commit of a refactor that will allow
1539 OnlineGlom to be used with multiple documents.
1541 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1542 Move RPC code from OnlineGlomViewImpl to this class.
1543 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1545 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1546 RPC code to the presenter class (the P in MVP).
1548 2011-04-04 Ben Konrath <ben@bagu.org>
1550 Start moving the existing OnlineGlom code to MVP.
1552 This work is based on the GWT MVP framework that is documented here:
1554 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1556 This is the third commit of a refactor that will allow OnlineGlom to
1557 be used with multiple documents.
1559 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1560 Interface for client factory which is used to get instances of various
1561 classes throughout the app.
1562 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1563 Implementation of client factory.
1564 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1565 initialize the MVP framework.
1566 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1567 New file. Activity manager for the main container widget. This is the
1569 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1570 Maps place (URL) to its corresponding activity.
1571 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1572 New file. This is just a place holder for a generated file.
1573 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1574 New file. Represents the URL for the main Online Glom app.
1575 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1576 for changes in LayoutListViewImpl.
1577 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1578 interface for View. Move code to OnlineGlomViewImpl class.
1579 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1580 file. Implementation of OnlineGlomView.
1581 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1582 Place resources. Use ClientFactoryImpl by default.
1584 2011-04-04 Ben Konrath <ben@bagu.org>
1586 Move View classes to their own package.
1588 This is the second commit of a refactor that will allow OnlineGlom to
1589 be used with multiple documents.
1591 * src/main/java/org/glom/web/client/OnlineGlom.java:
1592 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1593 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1595 2011-04-02 Ben Konrath <ben@bagu.org>
1597 Move UI code from the main module to its own class.
1599 This is the first commit of a refactor that will allow OnlineGlom to be
1600 used with multiple documents.
1602 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1603 references to OnlineGlom to OnlineGlomView.
1604 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1605 OnlineGlomView and instantiate it here.
1606 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1607 represents the main OnlineGlomView with one document.
1609 2011-04-01 Ben Konrath <ben@bagu.org>
1611 Fix formatting of gwt.xml and add DTD.
1613 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1615 2011-03-30 Ben Konrath <ben@bagu.org>
1617 Propperly convert gdkColor string to html colour string.
1619 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1621 2011-03-28 Ben Konrath <ben@bagu.org>
1623 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1625 This implementation matches
1626 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1627 readable and is not tied to Swig.
1629 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1631 2011-03-28 Ben Konrath <ben@bagu.org>
1633 Use read-only checkboxes for boolean field types.
1635 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1636 in the CellTable based on the field type. It currently only
1637 distinguishes between boolean and text columns but I'll need to add
1638 support for more types.
1639 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1640 column type in the ColumnInfo object. Add method to convert between the
1641 glom field type enum in ColumnInfo and the glom field type in libglom.
1642 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1644 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1645 getting and setting booleans.
1647 2011-03-25 Ben Konrath <ben@bagu.org>
1649 Don't get the Date twice from the ResultSet.
1651 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1653 2011-03-25 Ben Konrath <ben@bagu.org>
1655 Cleanup code in the servlet.
1657 * TODO: Remove item about row count. Add item about testing row count
1658 query with large number of rows.
1659 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1660 spelling mistakes, change method parameter to be consistent with
1663 2011-03-25 Ben Konrath <ben@bagu.org>
1665 Add server side logging with the gwt-log library.
1667 * .gitignore: Ignore the log file we're now producing.
1668 * TODO: Add a couple TODO item for logging.
1669 * pom.xml: Add gwt-log and log4j as a dependency.
1670 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1671 logging of errors, warnings and some important info.
1672 * src/main/resources/log4j.properties: New file to configure log4j.
1674 2011-03-24 Ben Konrath <ben@bagu.org>
1676 Add a disable button for the Details view.
1678 * src/main/java/org/glom/web/client/LayoutListView.java:
1680 2011-03-22 Ben Konrath <ben@bagu.org>
1682 Use a count query to get the number of rows for the list view pager.
1684 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1686 2011-03-22 Ben Konrath <ben@bagu.org>
1688 Add more TODO information about CellTable pager positioning.
1692 2011-03-19 Ben Konrath <ben@bagu.org>
1694 Add TODO item about CellTable pager positioning.
1698 2011-03-18 Ben Konrath <ben@bagu.org>
1700 Remove unneeded GlomFieldColumn class.
1702 This is just a small code cleanup.
1704 * src/main/java/org/glom/web/client/LayoutListView.java:
1706 2011-03-18 Ben Konrath <ben@bagu.org>
1708 Use cursor mode in the query that gets data for the list view.
1710 I still need to fix the potential memory problem when getting the row
1711 count for the list view.
1713 * TODO: Add note about testing memory usage with large data sets. Add
1714 item about fixing row counting with large data sets.
1715 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1716 PostgreSQL JDBC driver into cursor mode when getting data for the
1719 2011-03-15 Ben Konrath <ben@bagu.org>
1721 Remove the GWT Container from the Eclipse build classpath.
1723 The GWT dependencies are set by Maven so this isn't needed.
1727 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1729 Added some earlier mockups to git, but not to the tarball dist.
1731 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1732 Openismus. These hopefully show how we might structure the HTML so that
1733 it can be styled easily with CSS. However, we probably need to adapt them
1734 for the CSS structure that GWT dictates for common widgets.
1736 2011-03-14 Ben Konrath <ben@bagu.org>
1738 Locate OnlineGlom.properties using the ServletContext.
1740 This is required to be able to locate the file in the deployed servlet.
1742 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1743 Configure the database and glom document in in a helper method so
1744 that the ServletContext can be used to locate OnlineGlom.properties.
1745 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1746 src/main/webapp. This is the proper location for .properites files.
1748 2011-03-12 Ben Konrath <ben@bagu.org>
1750 Add note to README about why we're compiling down to obfuscated JavaScript.
1754 2011-03-11 Ben Konrath <ben@bagu.org>
1756 Use properties file to configure servlet.
1758 This allows people to change the glom file path, db username and db
1759 password without recompiling the code.
1761 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1762 * src/main/webapp/OnlineGlom.properties:
1764 2011-03-11 Ben Konrath <ben@bagu.org>
1766 Use table fields in layout list view if the layout list is not defined.
1768 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1769 Manually create a LayoutFieldVector for the query builder using the
1770 table fields when a layout list is not defined in the glom file.
1772 2011-03-11 Ben Konrath <ben@bagu.org>
1774 Only show FIXME string for images when there's an image.
1776 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1777 in this change are some small code cleanups.
1779 2011-03-11 Ben Konrath <ben@bagu.org>
1781 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1783 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1785 2011-03-11 Ben Konrath <ben@bagu.org>
1787 Correctly set the index of the default table.
1789 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1790 Correctly set the index of the default table. Add commented out example
1793 2011-03-10 Ben Konrath <ben@bagu.org>
1795 Add comment to pom.xml about the previous change.
1797 * pom.xml: Add comment about the deployment issue so that it's obvious
1798 why java-libglom is set to the provided scope.
1800 2011-03-10 Ben Konrath <ben@bagu.org>
1802 Change java-libglom dependency from compile to provided in pom.xml.
1804 Since java-libglom uses jni it can only be loaded once and therefore
1805 must be placed in $CATALINA_HOME/lib and not included in each war.
1806 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1807 More information about this issue can be found in the Tomcat 6 release
1808 notes in the "JNI Based Applications" section:
1810 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1812 * README: Remove note about this issue. Deployment info should really
1813 be on the wiki anyway so I'll add it right now.
1814 * pom.xml: Change java-libglom dependency from compile to provided so
1815 that it's copied in to the packaged war.
1817 2011-03-09 Ben Konrath <ben@bagu.org>
1819 Change to using a neutral locale for currency, date and time formatting.
1821 This solves the problem of currency values being represented without a
1822 space between the currency code and the number (e.g. "EUR5.89" is now
1823 represented as "EUR 5.89"). More work is required when we implement
1824 a locale preference setting.
1826 * TODO: Add note about currency formatting issues with different
1828 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1829 to using the neutral ROOT locale.
1831 2011-03-09 Ben Konrath <ben@bagu.org>
1833 Add support for currency codes that are not ISO 4217 codes.
1835 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1836 the currency code defined in the glom file when it's not 3 characters
1837 long or when Java doesn't recognize the string as an ISO 4217 code.
1839 2011-03-08 Ben Konrath <ben@bagu.org>
1841 Remove test classes, launch configurations and configuration.
1843 The test stuff was getting in the way when creating the war. To make
1844 the war file you can now do 'mvn clean package'. The packaged war file
1845 will be in the target directory.
1847 * .classpath: Remove unused classpathentry for tests and i18n.
1848 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1849 property. Don't run test or i18n goals when packaging the war.
1850 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1855 * OnlineGlomTest-dev.launch:
1856 * OnlineGlomTest-prod.launch:
1857 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1858 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1860 2011-03-07 Ben Konrath <ben@bagu.org>
1862 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1864 These fixes allow me to use 'mvn deploy' to create the war file.
1866 * .classpath: This generated config has been updated by Eclipse. This
1867 change was probably triggered by me updating from Eclipse 3.6.1 to
1869 * .gitignore: Add entry to ignore the directory
1870 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1871 * .project: The generated config has been updated by Eclipse. This
1872 change was probably triggered by me updating from Eclipse 3.6.1 to
1874 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1875 so that Eclipse doesn't complain
1876 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1877 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1878 'tests' directory to 'client' directory. This is the new
1879 gwt-maven-plugin convension.
1880 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1881 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1883 2011-03-07 Ben Konrath <ben@bagu.org>
1885 Add support for horizontal alignment in the LayoutList columns.
1887 * TODO: Remove item about horizontal alignment. Add item about
1888 improvements to ColumnInfo.
1889 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1890 alignment on the columns. Use ColumnInfo RPC object get the column
1891 title and horizontal alignment.
1892 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1893 LayoutListView creation with ColumnInfo RPC object.
1894 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1895 a ColumnInfo object for every LayoutList columnn. Convert the
1896 FieldFormatting.HorizontalAlignment to the correct
1897 ColumnnInfo.HorizontatlAlignment with the new
1898 getColumnInfoHorizontalAlignment helper method.
1899 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1900 to encapsulate column information like alignment and title. This
1901 could be used to set the colour instead of on a per cell field basis.
1902 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1903 column title storage and retrieval with ColumnInfo.
1905 2011-03-04 Ben Konrath <ben@bagu.org>
1907 Add support for column sorting.
1909 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1910 AsynDataProvider to be an anonymous inner class. Use new
1911 getSortedTableData RPC method when column sort is requested. Set all
1912 columns sortable and add an AsyncHandler to activate sorting in the
1914 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1915 method getSortedTableData(). Cleanup other method signatures.
1916 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1917 new method getSortedTableData(). Cleanup other method signatures.
1918 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1919 Implement getSortedTableData() and getTableData() methods by using a
1920 private helper method with the appropriate parameters filled in. Use
1921 user supplied sort clause when supplied, otherwise fall back to
1922 sorting by the primary key. Move destroy() method to be underneath
1923 constructor for readability. Cleanup comments.
1925 2011-03-03 Ben Konrath <ben@bagu.org>
1927 Add support for colour text and colour backgrounds to the layout list cells.
1929 Only the cell backgrounds are coloured which leaves a gap between the
1930 cells that isn't coloured. I need to figure out a way to set
1931 'style=background-colour:' on the whole column rather than just the
1934 * TODO: Add a note about colouring the background of the whole column.
1935 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1936 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1937 render the coloured text and backgrounds. Use GlomField[] for the row type.
1938 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1940 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1941 GlomField[] for the row type.
1942 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1943 GlomField[] for the row type. Set the text, text colour and background
1944 colour in the GlomField objects as specified in the glom document. Add
1945 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1946 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1947 the glom field text, foreground colour and background colour.
1949 2011-03-02 Ben Konrath <ben@bagu.org>
1951 Don't display hidden tables in the combo box.
1953 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1955 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1956 code to ignore hidden tables using ArrayLists for the table names and
1958 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1959 tableNames to use ArrayLists instead of String[]. Update getter and setter
1962 2011-03-01 Ben Konrath <ben@bagu.org>
1964 Add support for Date and Time number types.
1966 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1967 Implement formatting for Date and Time values. Change the default glom
1968 file to small business example.
1970 2011-03-01 Ben Konrath <ben@bagu.org>
1972 Add support for formatting glom types as specified in the glom file.
1974 Formatting isn't finished yet - I still need to add support for Date
1977 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1978 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1979 checks for null values in JDBC cleanup code and catch all exceptions
1980 instead of just SQLExceptions.
1981 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1984 2011-03-01 Ben Konrath <ben@bagu.org>
1986 Use GWT 2.2.0 instead of 2.1.1.
1988 * pom.xml: Change GWT version numbers.
1990 2011-03-01 Ben Konrath <ben@bagu.org>
1992 A few small code cleanups.
1994 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1996 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1997 unnecessary object creation in constructor.
1998 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1999 unnecessary object creation in constructor.
2001 2011-02-28 Ben Konrath <ben@bagu.org>
2003 Add file for TODO list.
2007 2011-02-18 Ben Konrath <ben@bagu.org>
2009 Enable the CellTable Pager when more than 20 rows need to be viewed.
2011 The Pager will automatically become active when the results are larger
2012 than the CellTable size which is currently set to 20 lines.
2014 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
2015 name on debug statment in RPC call in LayoutListDataProvider, add
2016 numRows parameter to LayoutListView constructor, propperly set rowCount
2018 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
2019 name on debug statment in RPC call, use LayoutListTable object in RPC
2020 calls, pass rowCount to LayoutListView.
2021 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
2022 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
2024 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
2025 interface for changes in OnlineGlomService.
2026 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2027 getLayoutListHeaders() to getLayoutListTable() and return
2028 LayoutListTable. Using this object allows me to pass other information
2029 about the LayoutList like the expected number of rows in the result set.
2030 The Connection object from the connection pool is now propperly closed.
2031 Only the requested number of lines are returned to the client in
2033 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2034 GlomTable and add columnTitles and numRows.
2036 2011-02-18 Ben Konrath <ben@bagu.org>
2038 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2040 This is a small performance boost. I'll use GlomTable to get the required
2041 layoutlist information.
2043 * src/main/java/org/glom/web/client/OnlineGlom.java:
2044 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2045 * src/main/java/org/glom/web/shared/GlomDocument.java:
2047 2011-02-18 Ben Konrath <ben@bagu.org>
2049 Add option to turn off formatting in JDT formatter preferences.
2051 * .settings/org.eclipse.jdt.core.prefs:
2053 2011-02-18 Ben Konrath <ben@bagu.org>
2055 Rename LayoutList to LayoutListView.
2057 I'm working towards setting things up to easily use MVP when the time
2060 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2062 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2065 2011-02-17 Ben Konrath <ben@bagu.org>
2067 Move LayoutListDataProvider class into LayoutList.java.
2069 * src/main/java/org/glom/web/client/LayoutList.java:
2071 2011-02-17 Ben Konrath <ben@bagu.org>
2073 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2075 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2077 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2078 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2079 from LibGlomServer.java.
2080 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2081 Rename from LibGlomServiceAsync.java.
2082 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2083 Rename from LibGlomServiceImpl.java.
2084 * src/main/webapp/WEB-INF/web.xml: Update configuration.
2086 2011-02-17 Ben Konrath <ben@bagu.org>
2088 Update JDT settings.
2090 * .settings/org.eclipse.jdt.core.prefs:
2092 2011-02-17 Ben Konrath <ben@bagu.org>
2094 Move GWT-RPC objects to shared package (where they should be).
2096 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2097 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2098 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2099 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2100 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2101 org.glom.web.shared package.
2102 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2103 org.glom.web.shared package.
2104 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2105 directory in compilation to javascript.
2107 2011-02-16 Ben Konrath <ben@bagu.org>
2109 Add sort clause to the sql query that grabs table information.
2111 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2112 if one of the columns is a primary key.
2114 2011-02-16 Ben Konrath <ben@bagu.org>
2116 Disable generateAsync feature of gwt-maven.
2118 The generated interface does not correctly match the methods in LibGlomService
2119 and the generated singleton Util inner-class doesn't respect the servlet
2122 * pom.xml: Turn off generateAsync feature.
2123 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2124 with singleton Util inner-class.
2126 2011-02-14 Ben Konrath <ben@bagu.org>
2128 Add LGPL v3 licence notices.
2130 Followed directions listed here:
2131 http://www.gnu.org/licenses/gpl-howto.html
2133 * COPYING: This file is a copy of the GPL v3.
2134 * COPYING.LESSER: This file is a copy of the LGPL v3.
2135 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2137 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2139 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2141 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2143 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2145 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2147 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2150 2011-02-14 Ben Konrath <ben@bagu.org>
2152 Use ArrayList instead of Array in GWT-RPC calls.
2154 Apparently this gives a slight performance boost to the compiled
2157 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2159 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2162 2011-02-14 Ben Konrath <ben@bagu.org>
2164 Access data from a postgres db rather than the example glom file.
2166 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2167 compile down to obfuscated javascript.
2168 * pom.xml: Add c3p0 and postgres JDBC libraries.
2169 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2170 using a postgres db accessed through the c3p0 connection pooling library.
2172 2011-02-14 Ben Konrath <ben@bagu.org>
2174 Update Java formatter settings.
2176 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2178 2011-02-02 Ben Konrath <ben@bagu.org>
2180 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2182 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2184 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2185 the compiled webapp directory that Eclipse uses as we're using Maven now.
2186 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2187 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2189 * pom.xml: Format file, change target Java version to 1.6.
2191 2011-02-02 Ben Konrath <ben@bagu.org>
2193 Add information about a deployment related issue.
2195 * README: Add Notes section with the problem outlined.
2197 2011-02-02 Ben Konrath <ben@bagu.org>
2199 Call Glom.libglom_deinit() when the servlet is shutdown.
2201 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2202 Glom.libglom_deinit() to destroy() method.
2204 2011-01-28 Ben Konrath <ben@bagu.org>
2206 Use generated Util class to get the RPC Async interface.
2208 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2210 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2211 getInstance() method to get a reference to the RPC Async interface.
2212 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2213 getInstance() method to get a reference to the RPC Async interface, remove
2214 the now unused getLibGlomServiceProxy() method.
2216 2011-01-27 Ben Konrath <ben@bagu.org>
2218 Cleanup ChangeLog entry from previous commit.
2220 * ChangeLog: Group logical changes together and add comments.
2222 2011-01-25 Ben Konrath <ben@bagu.org>
2224 Convert to gwt-maven project.
2226 * .gitignore: Update for new project structure.
2227 * README: New file with a link to the online documentation.
2228 * pom.xml: The generated maven configuration file with some tweaks.
2230 Add / update Eclipse settings. These files are a merge of the files that
2231 were generated with the gwt-maven plugin and the files we were previously
2235 * .settings/.jsdtscope:
2236 * .settings/com.google.gdt.eclipse.core.prefs:
2237 * .settings/com.google.gwt.eclipse.core.prefs:
2238 * .settings/org.eclipse.jdt.core.prefs:
2239 * .settings/org.eclipse.wst.common.component:
2240 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2241 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2242 * .settings/org.maven.ide.eclipse.prefs:
2243 * OnlineGlomTest-dev.launch:
2244 * OnlineGlomTest-prod.launch:
2246 Java source files moved from the 'src' directory to the directory structure
2248 * src/main/java/org/glom/web/client/GlomDocument.java:
2249 * src/main/java/org/glom/web/client/GlomTable.java:
2250 * src/main/java/org/glom/web/client/LayoutList.java:
2251 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2252 * src/main/java/org/glom/web/client/LibGlomService.java:
2253 * src/main/java/org/glom/web/client/OnlineGlom.java:
2254 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2256 Non-functional property file used for translations. I included this as
2257 reminder that it's something I need to sort out.
2258 * src/main/resources/org/glom/web/client/Messages.properties:
2260 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2261 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2263 The servlet configuration files moved from the 'war' directory.
2264 * src/main/webapp/OnlineGlom.css:
2265 * src/main/webapp/OnlineGlom.html:
2266 * src/main/webapp/WEB-INF/web.xml:
2268 Generated test files with most of the code commented out. I included these
2269 so that it's easy to add tests when we're ready for them.
2270 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2271 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2273 2011-01-25 Ben Konrath <ben@bagu.org>
2275 Remove unused println.
2277 * src/org/glom/web/server/LibGlomServiceImpl.java:
2279 2011-01-25 Ben Konrath <ben@bagu.org>
2281 Add project specific JDT settings.
2283 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2284 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2286 2011-01-25 Ben Konrath <ben@bagu.org>
2288 Populate celltable with example data.
2290 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2291 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2292 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2293 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2294 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2295 asynchronously gets the example data.
2296 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2297 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2298 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2299 curently selected table to be retrieved by other widgets.
2300 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2301 implement getTableData() in a hacky way. This method needs to be updated
2302 to grab information from the database when database creating is
2305 2011-01-20 Ben Konrath <ben@bagu.org>
2307 Set table headers when table dropBox changes.
2309 * src/org/glom/web/client/GlomDocument.java: Correct some method
2311 * src/org/glom/web/client/LibGlomService.java: Add method
2312 to get list layout field names.
2313 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2314 to get list layout field names.
2315 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2316 widget for list layout table.
2317 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2318 the table drop box and add new updateTable() method to asynchronously
2319 get the layout list field names for the currently selected table.
2320 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2321 implementation of getLayoutListHeaders() method.
2322 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2324 2011-01-18 Ben Konrath <ben@bagu.org>
2326 Make a listBox with table titles instead of the flexTable demo.
2328 This is the start of something more useful.
2330 * .classpath: Exclude a bunch of packages from the JVM that are
2331 getting in the way of the Eclipse content assist.
2332 * src/org/glom/web/client/GlomDocument.java:
2333 * src/org/glom/web/client/GlomTable.java:
2334 * src/org/glom/web/client/LibGlomService.java:
2335 * src/org/glom/web/client/LibGlomServiceAsync.java:
2336 * src/org/glom/web/client/OnlineGlom.java:
2337 * src/org/glom/web/server/LibGlomServiceImpl.java:
2338 * war/OnlineGlom.html:
2339 * war/WEB-INF/web.xml:
2341 211-01-13 Ben Konrath <ben@bagu.org>
2343 Update to new java-libglom API.
2345 * .gitignore: Ignore OnlineGlom.war.
2346 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2348 2010-12-20 Ben Konrath <ben@bagu.org>
2350 Add some basic style to the table listing.
2352 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2353 header, print useful error message on async callback failure.
2354 * war/OnlineGlom.css: Add style for table header, remove defaults
2355 provided by the Eclipse project wizard.
2357 2010-12-20 Ben Konrath <ben@bagu.org>
2359 Load example file from installed glom dir.
2361 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2362 provided by java-libglom to find the example file.
2364 2010-12-20 Ben Konrath <ben@bagu.org>
2366 Update Eclipse settings.
2369 * .settings/com.google.gdt.eclipse.core.prefs:
2370 * .settings/com.google.gwt.eclipse.core.prefs:
2372 2010-12-17 Ben Konrath <ben@bagu.org>
2376 * .classpath: New file.
2377 * .gitignore: New file.
2378 * .project: New file.
2379 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2380 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2381 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2382 * src/org/glom/web/client/GlomTable.java: New file.
2383 * src/org/glom/web/client/OnlineGlom.java: New file.
2384 * src/org/glom/web/client/TableNameService.java: New file.
2385 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2386 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2387 * war/OnlineGlom.css: New file.
2388 * war/OnlineGlom.html: New file.
2389 * war/WEB-INF/web.xml: New file.
2390 * war/images/glom.png: New file.