1 2011-10-11 Ben Konrath <ben@bagu.org>
3 Enable the open navigation button when the data has been set.
5 This avoids having active buttons that don't do anything when the data
8 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
10 2011-10-11 Ben Konrath <ben@bagu.org>
12 Use IsWidget interface for FlowTableItem.
14 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: Change
15 FlowTableItem.getWidget() to asWidget() from the IsWidget interface.
17 2011-10-11 Ben Konrath <ben@bagu.org>
19 Remove GWT styling from open button in details view.
21 There are still some issues with how the details cell is arranged but
22 this should be made to match Glom 1.20. I'm going to leave fixing this
23 until I have Glom 1.20 up and running.
25 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Set
26 style name on open button.
27 * src/main/webapp/style.css: Move and edit details-navigation class.
28 Re-arrange some classes to make them appear in the same order as the
31 2011-10-07 Ben Konrath <ben@bagu.org>
35 * .gitignore: Ignore new cache directory.
36 * .settings/com.google.gwt.eclipse.core.prefs: Update Eclipse settting.
37 * pom.xml: Change GWT and maven plugin to 2.4.0.
38 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Update doctype for
40 * src/main/java/org/glom/web/client/ClientFactory.java:
41 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
42 * src/main/java/org/glom/web/client/OnlineGlom.java:
43 Update source for API changes.
44 * utils/build-onlineglom-war.sh: Remove cache directory before the
47 2011-10-07 Ben Konrath <ben@bagu.org>
49 Add navigation buttons in the details view.
51 This isn't finished but I thought I'd commit what I have as it's a
52 pretty good start. I still need to:
54 1. Change the style so that it fits better into the current theme
55 2. Adjust the details cell to expand as much as possible.
57 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
58 click handlers to navigation buttons in the DetailsCells. Create a
59 refreshData() method to get just the data from the server without the
61 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
62 Update the tableSelector and browser title when the table name
63 changes without using the tableSelector.
64 * src/main/java/org/glom/web/client/ui/DetailsView.java:
65 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
66 getDetailsCells() to getCells(). Update variable names.
67 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java: Add
68 method to set click handler on navigation button. Rename a few
69 variables. Add navigation buttons where needed.
70 * src/main/java/org/glom/web/client/ui/details/Group.java: Rename a few
71 variables and methods.
72 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Set the
73 navigation boolean and navigation table as required in the
75 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
76 variables for navigation along with getter/setter methods.
78 2011-10-07 Ben Konrath <ben@bagu.org>
80 Rename Field to DetailsCell.
82 This is a refactor-only commit. No functionality has been added or
85 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
86 Update variable and method names.
87 * src/main/java/org/glom/web/client/ui/DetailsView.java:
88 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update
89 variable and method names.
90 * src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
92 * src/main/java/org/glom/web/client/ui/details/Group.java: Update
93 variable and method names.
95 2011-10-07 Ben Konrath <ben@bagu.org>
97 Create separate methods for layout and data the details view.
99 This is a refactor-only commit. No functionality has been added or
102 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: New
103 private methods: setData(), createLayout().
105 2011-10-07 Ben Konrath <ben@bagu.org>
107 Don't use TableSelectorImpl implementation details in TableSelectorActivity.
109 This is part of a change to get navigation buttons in the details view
110 but it should have been done this way from the start.
112 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
113 for method name change in TableSelectionView.
114 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
115 Create TableChangeEvent and set the browser title using the
116 TableSelectionView API.
117 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
118 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
119 Change getSelectedTable() to getSelectedTableName(). Add
120 getSelectedTableTitle().
122 2011-10-07 Ben Konrath <ben@bagu.org>
124 Use primaryKeyValue naming convention in constructor of DetailsPlace.
126 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
128 2011-10-07 Ben Konrath <ben@bagu.org>
130 Update TableChangeEvent to use newTableName naming convention.
132 This makes the class more consistent with GWT naming conventions.
134 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
135 Update for method name change in TableChangeEvent.
136 * src/main/java/org/glom/web/client/activity/ListActivity.java: Update
137 for method name change in TableChangeEvent.
138 * src/main/java/org/glom/web/client/event/TableChangeEvent.java: Update
139 newTableName variable and getter method. Make toDebugString()
142 2011-09-30 Ben Konrath <ben@bagu.org>
144 Disable the pager in the list tables when the data row count is less than the minimum.
146 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
147 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
149 2011-09-30 Ben Konrath <ben@bagu.org>
151 Add empty rows to the end of related list and list view tables.
153 I also extracted the cell rendering classes from the ListTable because
154 the code was becoming a little crazy with all the anonymous inner
155 classes. My plan is to use these cell rendering classes in the details
156 view as well so this refactor will be needed for that change.
158 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Only
159 set the row count in related list tables if the data has more rows
160 than the minimum number of rows visible.
161 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Only set the
162 row count in list view tables if the data has more rows than the
163 minimum number of rows visible.
164 * src/main/java/org/glom/web/client/ui/cell/BooleanCell.java: New class
165 for rendering TYPE_BOOLEAN cells. The code was extracted from the
167 * src/main/java/org/glom/web/client/ui/cell/NumericCell.java: New class
168 for rendering TYPE_NUMERIC cells. The code was extracted from the
170 * src/main/java/org/glom/web/client/ui/cell/OpenButtonCell.java: New
171 class for rendering cells with buttons in list views. The code was
172 extracted from the ListTable class.
173 * src/main/java/org/glom/web/client/ui/cell/TextCell.java: New class
174 for rendering TYPE_TEXT cells. The code was extracted from the
176 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
177 Add empty rows to the end of the data if required. Implement
178 ListTable.getMinNumVisibleRows().
179 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Extract
180 cell renderer code to public classes. Return null in
181 Column.getValue() for empty rows. Add new abstract method:
182 getMinNumVisibleRows(). Move code to set the row count of the list view
183 table to ListViewImpl.
184 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java: Add
185 empty rows to the end of the data if required. Implement
186 ListTable.getMinNumVisibleRows().
189 2011-09-27 Ben Konrath <ben@bagu.org>
191 Use GWT.log for client-side debugging statements.
193 These are optimized out when deployed so I should have used this method
194 in the first place. These statements will eventually be replaced with some sort
195 of notification in the browser.
197 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
198 * src/main/java/org/glom/web/client/activity/ListActivity.java:
199 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
200 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
201 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
203 2011-09-27 Ben Konrath <ben@bagu.org>
205 Put tableselector on the right, back to list link on right.
207 The idea is that the table selector is acting like a label for the
208 currently displayed table so it should be placed below the document title. This
209 puts the table title in a similar position to where it is in Glom.
211 * mockups/details-contacts.html:
212 * mockups/details-projects.html:
213 * mockups/listview-contacts.html:
214 * mockups/listview-projects.html:
216 Update mockups to match how the interfaces currently look.
217 * src/main/webapp/style.css: Swap positions of backlink with the table
218 selector. Add some space on the left side of the table selector to
219 line things up with the document title.
221 2011-09-27 Ben Konrath <ben@bagu.org>
223 Add field colouring to details view.
225 This change re-works how field colouring works. The colour formatting
226 information is now set to the client with the layout information instead of
227 with the data. This eliminates the need to send the same colour strings for
228 data in list view column when colour information is set.
230 In order to set an alternate colour for negative numeric values, the
231 number is now sent to client and formatted with the GWT NumberFormat class.
233 This change also fixes:
235 https://bugzilla.gnome.org/show_bug.cgi?id=659752
237 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
238 internationalization framework which is needed for client side numeric
240 * src/main/java/org/glom/web/client/Utils.java: New file for some
241 client static utility methods.
242 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
243 the DataItem object to the Field class. Use a utility method to
244 create the foreignKeyValue string.
245 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
246 alignment and text colours in the constructor. Add setData(DataItem)
247 method. Remove setText(String) method.
248 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
249 colour information to GlomTextCell. Create and use GlomNumberCell for
250 rendering numbers. Use utility method to get the string for the
251 primary key of the key provider. Re-work how the horizontal alignment
253 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
254 formatting to layout information. Methods for converting the libglom
255 formatting information were moved from DBAccess.
256 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
257 numeric formatting (it's now done on the client side). Don't set text
258 colours in DataItem. Move libglom formatting conversion methods to
260 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
261 getters/setters for text colour information.
262 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
263 for transferring the libglom NumericFormat information to the client.
264 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
265 and getters/setters for: GlomNumericFormat, background colour and
266 foreground colour strings.
268 2011-09-26 Ben Konrath <ben@bagu.org>
270 Simplify code that iterates through the LayoutGroup.
272 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
274 2011-09-26 Ben Konrath <ben@bagu.org>
276 Accept Eclipse formatting for OnlineGlomServiceAsync.
278 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
280 2011-09-26 Ben Konrath <ben@bagu.org>
282 Don't use the ListDBAccess classes to get the primary key layout information.
284 This was causing a bug where the wrong index for the hidden primary key
285 was being sent to the client.
287 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
288 primary key while creating the LayoutGroup DTO. Create a
289 LayoutItemField DTO for hidden primary keys. Don't use the
290 RelatedListDBAccess because it was only used for getting the primary
292 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
293 access modifier from public to protected for getPrimaryKeyField() and
294 getPrimaryKeyLayoutItemField().
295 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
296 abstract method getExpectedResultSize() because RelatedListDBAccess
297 doesn't have enough info to implement it.
298 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
299 Remove @Override for getExpectedResultSize().
300 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
301 Remove method getExpectedResultSize().
303 2011-09-23 Ben Konrath <ben@bagu.org>
305 Log which layout (list or details) the ignored item is from.
307 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
309 2011-09-23 Ben Konrath <ben@bagu.org>
311 Remove annotations that turn off code formatting in DataItem.
313 * src/main/java/org/glom/web/shared/DataItem.java:
315 2011-09-23 Ben Konrath <ben@bagu.org>
317 Rename GlomField to DataItem and update associated methods.
319 This is a rename-only refactor. No functionality has been added or
322 * src/main/java/org/glom/web/client/OnlineGlomService.java:
323 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
324 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
325 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
326 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
327 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
328 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
329 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
330 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
331 * src/main/java/org/glom/web/server/database/DBAccess.java:
332 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
333 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
334 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
335 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
336 * src/main/java/org/glom/web/shared/DataItem.java:
337 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
338 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
340 2011-09-23 Ben Konrath <ben@bagu.org>
342 Rename GlomDocument to DocumentInfo and update associated methods.
344 This is a rename-only refactor. No functionality has been added or
347 * src/main/java/org/glom/web/client/OnlineGlomService.java:
348 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
349 * src/main/java/org/glom/web/client/activity/ListActivity.java:
350 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
351 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
352 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
353 * src/main/java/org/glom/web/shared/DocumentInfo.java:
355 2011-09-20 Ben Konrath <ben@bagu.org>
357 Require java-libglom 1.17.3.
359 This picks up the fix for the seg fault problem with the Scenes table
360 in the Openismus Film Manager example.
364 2011-09-20 Ben Konrath <ben@bagu.org>
366 Change the way sort clause is added for primary key when no sort clause is requested.
368 The primary key is now added to the LayoutFieldVector (fieldsToGet)
369 before the sort clause is created. When a sort clause is not requested, the
370 sort clause is created by finding the primary key in the LayoutFieldVector
373 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
375 2011-09-20 Ben Konrath <ben@bagu.org>
377 Log error message if no documents are found in the configured directory.
379 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
380 Extract the glom file extension string to a private static final class
381 variable (mostly as syntactic sugar). Accept a minor formatting change.
382 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
383 the example glom.document.directory configuration property to make it
384 more clear that it can any directory, not just the home directory.
386 2011-09-18 Ben Konrath <ben@bagu.org>
388 Add related lists to details view.
390 The related list table has support for paging and sorting just like the
391 table in the list view.
393 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
394 SQL queries for the related list tables.
395 * src/main/java/org/glom/web/client/OnlineGlomService.java:
396 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
397 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
398 Rename getList methods to getListView and add comments. Remove
399 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
400 it being unused. Add methods: getDetailsLayoutAndData(),
401 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
402 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
403 Create the layout and set the data for the fields in one async call
404 instead of two. Create related lists where appropriate.
405 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
406 for method name changes in OnlineGlomService.
407 * src/main/java/org/glom/web/client/ui/DetailsView.java:
408 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
409 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
411 * src/main/java/org/glom/web/client/ui/ListView.java:
412 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
413 tableName from setCellTable(). Create a ListViewTable instead of
415 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
416 represent a data field in the details view.
417 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
418 from addDetailsCell() to Field class. Keep track of the Fields and
419 Portals in the details view.
420 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
421 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
422 and add a method to get it. Add method to set the contents of the
424 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
425 New class for related list tables. This class has the data provider
426 for the related list table.
427 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
428 abstract class which is the base class for the ListViewTable and the
430 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
431 New class for list view tables. This class has the data provider for
433 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
434 methods for related list tables. Add more information to the
435 LayoutItemField and LayoutItemPortal DTOs.
436 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
437 Remove debugging print statement.
438 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
439 Remove debugging print statements. Add primary key field to SQL count
441 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
442 Remove unnecessary LayoutFieldVector parameter from
443 getResultSizeOfSQLQuery() method.
444 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
445 New class for related list table database access.
446 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
447 class that is a wrapper DTO for details view layout and data.
448 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
449 new 'fromField' string to this DTO.
450 * src/main/webapp/style.css: Remove bottom margin and override top
453 2011-09-15 Ben Konrath <ben@bagu.org>
455 Breakup the OnlineGlomServiceImpl class to make it more manageable.
457 This sets things up to make it easier to add the data retrieval for
458 related lists (portals). No user noticeable changes were made with
461 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
462 class has the code to retrieve the layouts and access the
463 database using the new database helper classes.
464 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
465 Most of the functionality has been removed from this class. This
466 class now represents the public interface for the client side
467 code. It also deals with configuring the servlet and cleaning
468 things up when the servlet is stopped.
469 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
470 of static methods into this utility class.
471 * src/main/java/org/glom/web/server/database/DBAccess.java:
472 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
473 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
474 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
475 These classes have the database retrieval code. The class hierarchy
476 has been setup to make it easy to reuse code for similar
479 2011-09-06 Ben Konrath <ben@bagu.org>
481 Create separate classes for list table code and the data provider.
483 As part of this refactor, I also split up the code a bit to make it
486 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
487 table code to two new classes (below).
488 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
489 with code from ListViewImpl.
490 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
491 New file with code from ListViewImpl.
493 2011-09-06 Ben Konrath <ben@bagu.org>
495 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
497 This fixes the LayoutItemPortal DTO to match the libglom layout object
500 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
502 2011-09-01 Ben Konrath <ben@bagu.org>
504 Set title of Portals in the Details View.
506 * pom.xml: Bump required version of java-libglom to 1.17.1.
507 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
508 widget creation to its own class. Add comments to constructor.
509 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
510 The code is mostly from the Group class with the title now set.
511 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
512 title of Portal. Update some comments. Fix some code formatting.
514 2011-09-01 Ben Konrath <ben@bagu.org>
516 Remove TODO comment for the flow table column width.
518 The flow table column width is working correctly and doesn't need to be
519 changed. See this mailing list post for more info:
521 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
523 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
525 2011-08-27 Ben Konrath <ben@bagu.org>
527 Add document title (database name) to top of the browser page.
529 I added the document title to the TableSelecitonView but that will
530 change if / when we add a view that doesn't require table selection.
532 * mockups/details-contacts.html:
533 * mockups/details-projects.html:
534 * mockups/listview-contacts.html:
535 * mockups/listview-projects.html:
536 * mockups/style.css: Add document title to mockups to keep things
538 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
539 sizes to account for the document title.
540 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
541 Set the document title when it has been retrieved from the server.
542 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
543 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
544 and implement setDocumentTitle(String) method.
545 * src/main/webapp/style.css: Add ID for document title style.
547 2011-08-25 Ben Konrath <ben@bagu.org>
549 Add NavigationType enum to LayoutItemPortal DTO.
551 This is the start of adding support for Portals to the Details View.
553 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
554 LayoutItem_Portal.navigation_type enum from libglom to
555 LayoutItemPortal.NavigationType enum.
556 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
557 NavigationType enum, field for storing the NavigationType and getter
560 2011-08-25 Ben Konrath <ben@bagu.org>
562 Implement the flow table layout in the Details View.
564 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
565 FlowTable to Group to account for the renamed class.
566 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
567 File. This is a container widget that implements the Glom details view
568 flow table behaviour.
569 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
570 org/glom/web/client/ui/FlowTable.java.
571 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
572 so that the size of the subgroups are a closer match to the size of
573 the Glom subgroups. This makes the flowtable layout match the layout
574 in Glom for the Music Collection example file.
576 2011-08-16 Ben Konrath <ben@bagu.org>
578 Create container element for LayoutItemPortal in Details View.
580 This will help me develop the layout for the FlowTable.
582 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
583 fieldPanel variable to detailsCell.
585 2011-08-15 Ben Konrath <ben@bagu.org>
587 Set the height of the data element in the Details View.
589 I changed the InlineLabels (text in a span element) to Labels (text in
590 a div element) so that I could set the height of the details-data
591 elements instead of the details-cell parent elements. This allows the
592 the details-data element to display the correct height if style is
593 applied that shows the height.
595 This change has the added benefit of allowing the order of the labels
596 and data elements to be changed for right-to-left languages.
598 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
599 InlineLabels to Labels.
600 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
601 InlineLabels to Labels. Set the height of the data element.
602 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
603 multiline text height in the Formatting DTO.
604 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
605 for multiline height along with getter and setter methods.
606 * src/main/webapp/style.css: Adjust style to account for the change
607 from span elements to div elements in the details cell.
609 2011-08-15 Ben Konrath <ben@bagu.org>
611 Make the List View appearance match the mockups.
613 It doesn't match exactly but it's much better than it was.
615 * mockups/listview-contacts.html: Remove unused css classes.
616 * mockups/listview-projects.html: Remove unused css classes.
617 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
618 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
619 for mainPanel instead of VerticalPanel (table). Set style name on
620 CellTable. Set style name on Details column. Right-align Details
622 * src/main/webapp/style.css: Adjust properties to match the mockups.
624 2011-08-12 Ben Konrath <ben@bagu.org>
626 Add better support for subgroups in the details view.
628 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
629 changed FlowTable constructor.
630 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
631 support for subgroups and subgroup-titles.
632 * src/main/webapp/style.css: Add CSS class for subgroups and
635 2011-08-12 Ben Konrath <ben@bagu.org>
637 Return the top level LayoutGroup title.
639 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
641 2011-08-11 Ben Konrath <ben@bagu.org>
643 Make the TableSelector header match the mockup.
645 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
646 the layout panel. Properly lineup the table selection header with
647 the list and details view.
648 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
649 margin around the details view.
650 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
651 Rename listBox variable to tableSelector. Set id for the style sheet.
652 Use a FlowPanel instead of a HorizontalPanel.
653 * src/main/webapp/style.css: Add properties to make the TableSelector
654 box match the mockups.
656 2011-07-13 Ben Konrath <ben@bagu.org>
658 Update install script for java-libglom version change.
660 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
663 2011-07-13 Ben Konrath <ben@bagu.org>
665 Add support sub-group in the details view.
667 I also removed the code that special-cased the default details view
670 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
672 I still have to make a proper flowtable.
674 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
675 Don't special-case default details view layout.
676 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
677 addLayoutField() as I'm going to use it.
678 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
679 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
681 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
682 extracted from DetailsViewImpl.GroupPanel. Add support for
684 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
685 column count when getting the details layout.
687 2011-07-12 Ben Konrath <ben@bagu.org>
689 Set browser title with database and table titles.
691 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
692 Set the browser title when the table changes and when the activity
694 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
695 title when retrieving document info (the GlomDocument object).
696 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
697 with getter and setter methods. Remove unused convenience constructor.
698 Use default code formatting.
700 2011-07-12 Ben Konrath <ben@bagu.org>
702 Ignore LayoutItemPortals in the details view.
704 I added a new DTO for the LayoutItemPortal so that I can ignore it in
707 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
708 LayoutItemPortal layout objects.
709 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
710 LayoutItemPortal objects when retrieving the details layout.
711 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
712 file. This is an empty class and just used to get type information for
715 2011-07-12 Ben Konrath <ben@bagu.org>
717 Use java-libglom 1.17.0.
721 2011-07-11 Ben Konrath <ben@bagu.org>
723 Remove "Table:" label from table selector.
725 This matches a recent change in the Glom UI.
727 * mockups/details-contacts.html:
728 * mockups/details-projects.html:
729 * mockups/listview-contacts.html:
730 * mockups/listview-projects.html: Remove the "Table:" label from the
732 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
734 2011-07-11 Ben Konrath <ben@bagu.org>
736 Add main groups to the details view.
738 This makes things look a little nicer in the details view. The next step
739 is to implement the flowtable.
741 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
742 resources from the standard gwt css theme. Standard.css is now
743 included in OnlineGlom.html so that the online glom css rules have
744 precedence over the gwt theme.
745 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
746 the whole LayoutGroup to the DetailsView instead of just the titles.
747 * src/main/java/org/glom/web/client/ui/DetailsView.java:
748 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
749 details layout with a helper class (GroupPanel). I might extract this
750 class when I make the full flowtable.
751 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
752 string as default so I don't have to worry about NPEs when processing
754 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
755 note beside OnlineGlom.gwt.xml above).
756 * src/main/webapp/style.css: Add default font-size to body to override
757 the font-size set by the standard theme. Don't use h2 tags for
758 group-title. Create new details-cell class.
760 2011-07-08 Murray Cumming <murrayc@murrayc.com>
762 ConfiguredDocument: Set the port number too.
764 * src/main/java/org/glom/web/server/ConfiguredDocument.java
765 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
766 Glom document. Presumably this worked sometimes so far because there is a
769 2011-07-08 Murray Cumming <murrayc@murrayc.com>
771 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
773 * src/main/java/org/glom/web/server/ConfiguredDocument.java
774 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
775 correct, though we should throw an exception too.
777 2011-07-08 Murray Cumming <murrayc@murrayc.com>
779 Fix a addDocuemnt typo.
781 * src/main/java/org/glom/web/shared/Documents.java
782 (Documents.addDocuemnt): Rename to addDocument().
783 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
784 (OnlineGlomServiceImpl.getDocuments): Adapt.
786 2011-07-08 Murray Cumming <murrayc@murrayc.com>
788 Slightly improved log output when connection fails.
790 * src/main/java/org/glom/web/server/ConfiguredDocument.java
791 (ConfiguredDocument.setUsernameAndPassword):
792 We don't know for sure if it' the username/password that's wrong, so
793 rephrase the message.
794 Also ouput the exception message, though it's generic in this case.
796 2011-07-08 Ben Konrath <ben@bagu.org>
800 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
801 added braces to a one line if statement because the Eclipse formatter
802 was getting confused.
804 2011-07-07 Ben Konrath <ben@bagu.org>
806 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
808 These should really be two separate tasks but I counldn't get things to
809 work with GWT 2.2.0 and Eclipse 3.7.
813 * .settings/org.eclipse.jdt.core.prefs:
814 * .settings/org.eclipse.jdt.ui.prefs:
815 * .settings/org.eclipse.ltk.core.refactoring.prefs:
816 * .settings/org.eclipse.m2e.core.prefs:
817 Add new config files. Update current files. Remove references to the
818 webtools plugins as we're not using any of the webtools features.
819 * .gitignore: Add logs directory which is created when running with
821 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
822 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
823 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
825 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
827 2011-07-07 Murray Cumming <murrayc@murrayc.com>
829 onlineglom.properties: Add explanatory comments.
831 * src/main/resources/onlineglom.properties: Also change the default user
832 from ben to someuser, to avoid the risk of people thinking we just
833 stupidly hard-coded a locale path, when they see that on stderr or in a log.
835 2011-06-28 Ben Konrath <ben@bagu.org>
837 Use filename in Log for incorrect passwords.
839 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
840 getFileName(String) method to get the filename from the URI.
842 2011-06-28 Ben Konrath <ben@bagu.org>
844 Add the table name to the URL token for the ListPlace.
846 This makes things consistent between the DetailsPlace and the
847 ListPlace. It also allows the the ListPlace to be bookmarked.
849 * src/main/java/org/glom/web/client/OnlineGlomService.java:
850 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
851 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
852 Remove getDefaultListLayout(). The default layout is now returned
853 by the getListLayout() method when the table name is an empty string.
854 * src/main/java/org/glom/web/client/activity/ListActivity.java:
855 Add table name field. Change to a new ListPlace when the table
856 has been changed. Use getListLayout() for getting the default
858 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
859 Add table name field. Set the correct table name in the list box
860 when loading from bookmark. This corrects a problem for the
862 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
863 Move table name to super-class (HasSelectableTable). Move document
864 and table URL keys to super-class in HasSelectableTable.
865 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
866 Add table name field. Add Tokenizer class with URL key common to
867 the subclasses (DetailsPlace and ListPlace).
868 * src/main/java/org/glom/web/client/place/ListPlace.java:
869 Add table name. Add code to parse the URL token.
870 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
871 Update ListPlace construction with empty table name string.
872 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
873 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
874 Change setTableSelectedIndex(int) to setSelectedTableName(String).
875 Update ListPlace construction with table name string.
876 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
877 Change defaultTableName field to tableName to reflect how it's now
878 used. Update the getter and setter methods.
880 2011-06-28 Ben Konrath <ben@bagu.org>
882 Enable the table selector in the DetailsView.
884 * src/main/java/org/glom/web/client/OnlineGlomService.java:
885 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
886 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
887 Remove getDefaultDetailsLayout(). The default layout is now returned
888 by the getDetailsLayout() method when the table name is an empty
890 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
891 event handler for table change event. Change to using
892 getDetailsLayout() for the default details layout.
893 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
895 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
896 when navigating to the details place.
898 2011-06-27 Ben Konrath <ben@bagu.org>
900 Use filename based unique document ID in URL and for RPC.
902 The document ID is the glom document name with spaces (' ') replaced
903 with pluses ('+') and without the .glom extension.
905 This change is mostly a string substitution of 'documentTitle' for
906 'documentID'. The only code change is the addition of a Documents DTO to get the
907 filename to document title mappings as indicated below.
909 * src/main/java/org/glom/web/client/OnlineGlomService.java:
910 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
911 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
912 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
913 Use Documents DTO to create the document links in the document
915 * src/main/java/org/glom/web/client/activity/ListActivity.java:
916 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
917 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
918 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
919 * src/main/java/org/glom/web/client/place/ListPlace.java:
920 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
921 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
922 * src/main/java/org/glom/web/client/ui/ListView.java:
923 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
924 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
925 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
926 * src/main/java/org/glom/web/server/Log.java:
927 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
928 getDocumentTitles() to getDocuments() and return the Documents DTO.
929 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
930 transferring the filename to document title mappings.
932 2011-06-25 Ben Konrath <ben@bagu.org>
934 Make the authentication popup work again.
936 This bug was introduced when I extracted ConfiguredDocument to its own class.
938 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
939 correct success / fail status in setUsernameAndPassword().
941 2011-06-25 Ben Konrath <ben@bagu.org>
943 Use filename as unique key for configuring database usernames and passwords.
945 This replaces the use of the Glom document title which could change
946 depending on the locale. Thanks to Murray Cumming for pointing out this
949 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
950 * src/main/resources/onlineglom.properties:
952 2011-06-24 Ben Konrath <ben@bagu.org>
954 Pass primary key value to DetailsView.
956 This enables the DetailsView to load the correct data.
958 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
959 primary key value field and set in constructor. Pass primary key
960 value to getDetailsData().
961 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
962 variables for document title and primary key value.
963 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
964 key value to the DetailsPlace.
966 2011-06-24 Ben Konrath <ben@bagu.org>
968 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
970 This allows the primary key to be retrieved by the Details button. This
971 functionality has not been implemented yet but it's in the works.
973 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
974 the LayoutGroup result to ListView.setCellTable instead of all of its
976 * src/main/java/org/glom/web/client/ui/ListView.java:
977 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
978 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
979 get the primary key for the table.
980 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
981 index of the primary key in the LayoutGroup accounting for hidden
982 primary keys. Rename getJavaNumberFormat() to
983 convertToJavaNumberFormat() for consistency. Cleanup / add some
985 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
986 field for primary key index and a field to indicate whether the
987 primary key is hidden or not.
989 2011-06-23 Ben Konrath <ben@bagu.org>
991 Rename getTableData methods to getListData.
993 This is a rename refactor for consistency with other methods.
995 * src/main/java/org/glom/web/client/OnlineGlomService.java:
996 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
997 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
998 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1000 2011-06-23 Ben Konrath <ben@bagu.org>
1002 Extract the ConfiguredDocument innerclass into its own class.
1004 This makes the servlet code more object oriented.
1006 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
1007 from private ConfiguredDocument class in OnlineGlomServiceImpl.
1008 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
1009 new ConfiguredDocument class.
1011 2011-06-21 Ben Konrath <ben@bagu.org>
1013 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
1015 This makes things more inline with how libglom works and reduces code
1016 duplication. This refactor lays the groundwork for adding the primary key to
1017 the LayoutGroup object.
1019 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1020 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1021 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1022 Change method names to getListLayout and getDefaultListLayout for
1023 consistency. Use LayoutGroup as the DTO for the list layout instead of
1024 ColumnInfo and LayoutListTable.
1025 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
1026 new method names along with the LayoutGroup object for transferring the
1028 * src/main/java/org/glom/web/client/ui/ListView.java:
1029 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1030 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
1031 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
1033 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
1034 Replaced with LayoutGroup.
1035 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
1036 expectedResultSize and defaultTableName fields which are needed for
1038 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
1039 type field which is needed for the list layout but will also be
1040 useful for the details layout as things progress.
1041 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1042 Make class abstract. Remove the unnecessary
1043 getFormattingHorizontalAlignment method. Add setFormatting method.
1045 2011-06-16 Ben Konrath <ben@bagu.org>
1047 Add scripts for building and installing war.
1049 These will help when updating OnlineGlom but they're also good
1050 supplemental documentation of the build and deployment proceeding.
1052 * utils/build-onlineglom-war.sh: New file.
1053 * utils/install-onlineglom-war.sh: New file.
1055 2011-06-16 Ben Konrath <ben@bagu.org>
1057 Create wrapper class to create consistent log messages.
1059 I wrapped methods in the Log class of gwt-log to add the method names
1060 from the servlet and create consistent formatting of the document title
1061 and table names in the log messages.
1063 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
1064 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
1065 log methods to use methods from wrapped Log class.
1067 2011-06-16 Ben Konrath <ben@bagu.org>
1069 Remove superfluous conditional return.
1071 Thanks to Murray Cumming for pointing this out!
1073 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1075 2011-06-15 Ben Konrath <ben@bagu.org>
1077 Return an ArrayList of LayoutGroups for the Details layout.
1079 This corrects a problem with the details layout as it can have more
1080 than one top level LayoutGroup.
1082 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1083 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
1084 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
1085 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
1086 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
1087 with ArrayList of LayoutGroups for the details view layout.
1088 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1089 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
1090 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
1091 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
1092 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
1093 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
1095 2011-06-14 Ben Konrath <ben@bagu.org>
1097 Use cast_dynamic method to determine the libglom LayoutItem type.
1099 This is better than finding the LayoutItem type by using the string
1100 returned from the get_part_type_name() method.
1102 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1104 2011-06-14 Ben Konrath <ben@bagu.org>
1106 Add method names to log entries in the servlet.
1108 This helps when tracking down deployment problems.
1110 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1112 2011-06-14 Ben Konrath <ben@bagu.org>
1114 Add data to the DetailsView using a hard-coded primary key value.
1116 The layout and functionality of the DetailsView is not complete. This
1117 is just a checkpoint so the patch doesn't get too big.
1119 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1120 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1121 Add getDetailsData() servlet method.
1122 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1123 Add RPC to getDetailsData(). Change the way the LayoutGroups and
1124 LayoutFields are added to the DetailsView.
1125 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1126 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1127 Add setData() method. Change addLayoutGroup() and addLayoutField() to
1128 take the string for the title instead of the object.
1129 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1130 Add implementation getDetailsData() along with some private helper
1132 * src/main/webapp/style.css: Add padding to details-data class. Add a
1133 details-label class with the same padding as the details-data class.
1135 2011-06-03 Ben Konrath <ben@bagu.org>
1137 Use presenter.goTo() to change to the DetailsPlace.
1139 This will make things easier when we need to open the DetailsView with
1140 data specific to the row that was clicked.
1142 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1144 2011-06-02 Ben Konrath <ben@bagu.org>
1146 Add CSS file from mockups.
1148 I'm adding this now because it's going to be useful to have when
1149 developing the DetailsView. The TableSelectionView and ListView aren't
1152 * src/main/webapp/OnlineGlom.html:
1153 * src/main/webapp/style.css:
1155 2011-06-02 Ben Konrath <ben@bagu.org>
1157 Use String.isEmpty() to check for empty string.
1159 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1161 2011-06-02 Ben Konrath <ben@bagu.org>
1163 Display main layout group titles in the DetailsView.
1165 This is the start of the DetailsActivity/DetailsView implementation.
1167 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1168 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1169 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
1170 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1171 Get the layout information for the details view from the server and set
1172 the main layout group titles.
1173 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1174 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1175 Add addLayoutGroup() and addLayoutField() methods. This are just
1176 temporary methods for creating the the details view that will change
1178 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1179 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
1181 * src/main/java/org/glom/web/shared/layout/Formatting.java:
1182 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
1183 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
1184 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
1185 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
1186 Data Transfer Objects that mimic the libglom object structure. These are
1187 used for transferring the details layout but could also be used for
1188 transferring the list layout.
1190 2011-05-27 Ben Konrath <ben@bagu.org>
1192 Reset the AuthenticationPopup when clearing the ListView.
1194 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1196 2011-05-27 Ben Konrath <ben@bagu.org>
1198 Fix problem with onlineglom.properties file loading.
1200 The old way worked in Eclipse but not on the server. Loading the
1201 onlineglom.properties file now works in Eclipse and on the server.
1203 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1205 2011-05-24 Ben Konrath <ben@bagu.org>
1207 Update gwt-log from 3.1.0 to 3.1.2.
1209 Gwt-log 3.1.0 has been marked as depreciated.
1213 2011-05-24 Ben Konrath <ben@bagu.org>
1215 Add comment to ListActivity.goTo() method.
1217 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1219 2011-05-24 Ben Konrath <ben@bagu.org>
1221 Remove FIXME in convertGdkColorToHtmlColour()
1223 The Gdk::Color value returned by libglom is 16-bits per channel on both
1224 64 and 32-bit platforms.
1226 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1228 2011-05-19 Ben Konrath <ben@bagu.org>
1230 Improve performance of initial ListView load.
1232 I removed a round trip to the server for getting the default table name
1233 and then requesting information about that table. This also removes a potential
1234 problem with the table change handler not being setup in time to receive the
1235 table change event from the ListActivity.
1237 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1238 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1239 getDefaultLayoutListTable() method. Improve comments.
1240 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1241 getDefaultLayoutListTable() method instead of firing a table change
1242 event to get the table to load.
1243 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1244 implementation of getDefaultLayoutListTable() method.
1245 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1248 2011-05-19 Ben Konrath <ben@bagu.org>
1250 Override toDebugString() in TableChangeEvent.
1252 This is useful to have for debugging.
1254 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1256 2011-05-19 Ben Konrath <ben@bagu.org>
1258 Add a "Back to List" link when at the DetailsPlace.
1260 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1261 Populate the CellTable based on the selected table of the ListBox if
1262 it's set otherwise use the default table. This allows the "Back to
1264 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1265 Remove Place from constructors. Add a setPlace() method. Add
1266 goToPlace() method. Set class as presenter for TableSelectionView.
1267 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1268 Use the same TableSelectionActivity when switching between the List and
1270 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1271 Subclass the new HasSelectableTablePlace. This removes some duplicate
1273 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1274 New class to represent Places that display the TableSelectionView.
1275 * src/main/java/org/glom/web/client/place/ListPlace.java:
1276 Subclass the new HasSelectableTablePlace. This removes some duplicate
1278 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1279 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1280 Add Presenter interface. Add setBackLinkVisible() method. Add
1281 setBackLink() method.
1283 2011-05-18 Ben Konrath <ben@bagu.org>
1285 Enable the "Details" buttons.
1287 Right now only an empty details view is displayed.
1289 * src/main/java/org/glom/web/client/ClientFactory.java:
1290 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1291 Add DetailsView to ClientFactory.
1292 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1293 A basic activity for the details view.
1294 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1295 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1297 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1298 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1300 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1301 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1302 unnecessary super() in constructor.
1303 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1304 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1305 really shouldn't create a new TableSelectionActivity for both the ListPlace
1306 and the DetailsPlace so this should be considered a temporary solution.
1307 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1308 New file. Represents a URL for the details view.
1309 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1310 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1311 A basic details view interface and implementation.
1312 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1313 Enable the "Details" buttons.
1315 2011-05-12 Ben Konrath <ben@bagu.org>
1317 Use a LayoutPanel with multiple display areas for main layout.
1319 This is mostly a refactor in that there are no changes from the user
1320 point of view. These changes are required so that we can swap out the list view
1321 with the details view when the user clicks the "Details" button.
1323 * src/main/java/org/glom/web/client/ClientFactory.java:
1324 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1325 OnlineGlomView. Add TableSelectionView, ListView and
1326 AuthenticationPopup.
1327 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1328 for main layout. Add display regions for main activities. Add
1329 activity manager for for main activities.
1330 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1331 file from parts of the deleted OnlineGlomActivity.
1332 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1333 New file from parts of the deleted OnlineGlomActivity.
1334 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1335 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1336 New files for app wide table change event.
1337 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1338 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1339 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1340 Activity mappers for the main activities replace the deleted app-wide
1342 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1343 Fix a spelling error in he comment.
1344 * src/main/java/org/glom/web/client/ui/ListView.java:
1345 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1346 Renamed from LayoutListView and modified for MVP. This still not a
1347 proper dumb view as prescribed by the MVP pattern but it works for now.
1348 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1349 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1350 New widget stripped out of the deleted OnlineGlomView.
1351 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1352 Remove hack that is fixed by this patch.
1354 2011-05-06 Ben Konrath <ben@bagu.org>
1356 Rename OnlineGlomPlace to ListPlace.
1358 The only change besides the rename is that url will now display #list
1359 instead of #Document.
1361 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1362 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1363 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1364 * src/main/java/org/glom/web/client/place/ListPlace.java:
1365 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1367 2011-05-06 Ben Konrath <ben@bagu.org>
1369 Use Presenter for app navigation.
1371 This is the proper way to deal with Place (URL) changes with the MVP
1374 * src/main/java/org/glom/web/client/ClientFactory.java:
1375 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1376 PlaceHistoryMapper and PlaceHistoryHandler.
1377 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1378 PlaceHistoryMapper and PlaceHistoryHandler.
1379 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1380 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1381 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1382 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1383 Add Presenter interface and setPresenter methods. Rename addHyperLink
1384 to addDocumentLink taking only the document title as a parameter.
1386 2011-04-14 Ben Konrath <ben@bagu.org>
1388 Prompt for db username/password if they haven't been set.
1390 This is implemented with a popup widget that is contained within the
1391 OnlineGlomView and managed by the OnlineGlomActivity.
1393 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1394 methods for checking and setting the database username and password.
1395 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1396 new methods for checking and setting the database username and
1398 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1399 Display authentication popup if the JDBC connection to the database
1400 has not been authenticated.
1401 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1403 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1404 for dealing with the authentication popup.
1405 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1406 Implement the methods for dealing with the authentication popup.
1407 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1408 try to executed queries if the database connection hasn't been
1409 authenticated. Implement methods for checking and setting the
1410 database username and password.
1412 2011-04-12 Ben Konrath <ben@bagu.org>
1414 Make log messages a little clearer.
1416 Add a dash betweeen the document title and the table name.
1418 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1420 2011-04-12 Ben Konrath <ben@bagu.org>
1422 Protect against NPEs when cleaning up database resources.
1424 While this isn't strictly necessary because the exception is caught,
1425 not protecting against the NPEs makes it harder to find the real error
1428 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1430 2011-04-12 Ben Konrath <ben@bagu.org>
1432 Move configuration of the servlet to the constructor.
1434 The servlet will be initialized even if the database authentication
1435 information is not set or correct. I still need to add the UI for prompting
1436 the user for the authentication information when it's required.
1438 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1439 javadocs for getDocumentTitles() method.
1440 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1441 Set error message when RPC fails.
1442 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1443 glom files directory from the configuration file. Try to set the
1444 database authentication information for the specific document if it's
1445 set and works otherwise try to use the global authentication
1446 information set for the directory.
1447 * src/main/resources/onlineglom.properties: Moved from
1448 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1449 Added detailed comments for the new keys.
1451 2011-04-11 Ben Konrath <ben@bagu.org>
1453 Remove unnecessary @Override in DocumentSelectionViewImpl.
1455 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1457 2011-04-11 Ben Konrath <ben@bagu.org>
1459 Remove center alignment in DocumentSelectionView.
1461 The title element is still centred but the document titles and bottom
1462 sentence are both left-aligned.
1464 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1466 2011-04-11 Ben Konrath <ben@bagu.org>
1468 Change 'Demo' naming convention to 'Document'.
1470 This is just a rename refactor with no functional changes to the code.
1472 * src/main/java/org/glom/web/client/ClientFactory.java:
1473 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1474 * src/main/java/org/glom/web/client/OnlineGlom.java:
1475 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1476 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1477 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1478 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1479 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1480 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1481 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1482 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1483 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1484 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1486 2011-04-08 Ben Konrath <ben@bagu.org>
1488 Remove FIXME from safeLongToInt() method.
1490 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1493 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1495 2011-04-08 Ben Konrath <ben@bagu.org>
1497 Display an error if no glom documents are found in the specified directory.
1499 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1500 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1501 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1502 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1504 2011-04-08 Ben Konrath <ben@bagu.org>
1506 Add copyright header to one more file ... oops.
1508 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1510 2011-04-08 Ben Konrath <ben@bagu.org>
1512 Add copyright header to files without it.
1514 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1515 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1516 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1517 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1518 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1519 * src/main/java/org/glom/web/shared/GlomField.java:
1521 2011-04-08 Ben Konrath <ben@bagu.org>
1523 Add support for accessing multiple glom documents in the servlet.
1525 This completes the demo selection functionality.
1527 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1528 document title to methods.
1529 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1530 document title to methods.
1531 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1532 Set browser window title when the activity starts. Correct name of
1533 document title variable.
1534 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1535 Set browser window title when the activity starts. Set the table
1536 selector change handler after table selector has been set. Clear the
1537 OnlineGlomView when the activity has been stopped.
1538 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1539 document title as the place token. Use "#Document:" instead of
1540 "#OnlineGlomPlace:" in the URL.
1541 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1542 Change heading to "Online Glom"
1543 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1544 document title in RPC methods.
1545 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1546 setDocumentTitle() method. Add clear() method.
1547 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1548 setDocumentTitle() method. Implement clear() method which removes the
1549 change handler on the ListBox, clears the ListBox and clears the
1551 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1552 Implement methods with document title. Keep track for the configured
1553 glom documents and their corresponding JDBC configurations in a hash
1554 table. This information is retrieved using the document title as the
1555 key in the hash table.
1556 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1557 document title field as it's no longer needed.
1559 2011-04-08 Ben Konrath <ben@bagu.org>
1561 Update the Eclipse JDT configuration.
1563 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1564 methods. Automatically add the copyright header to new files.
1566 2011-04-05 Ben Konrath <ben@bagu.org>
1568 Add new page for demo selection.
1570 This patch adds all the components required to view and start an
1571 OnlineGlom demo by clicking on the desired hyperlink. The user is
1572 able to return to the demo selection page with the browser's back
1573 button. I still need to modify the servlet to work with multiple
1574 documents so all demo links will load the file defined in the
1575 OnlineGlom.properties.
1577 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1578 This is only useful during development so we don't need to save it.
1579 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1580 get a reference to the DemoSelectionView.
1581 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1582 method to get a reference to the DemoSelectionView.
1583 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1584 default view to DemoSelectionView.
1585 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1586 to get glom document titles for glom files in a hard-coded directory.
1587 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1588 method to get glom document titles for glom files in a hard-coded
1590 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1591 Presenter for DemoSelectionView.
1592 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1593 for DemoSelectionView.
1594 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1595 Update for DemoSelectionView.
1596 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1597 Basic 'Place' implementation for the DemoSelectionView.
1598 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1599 The interface for the DemoSelectionView.
1600 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1601 The implementation of the DemoSelectionView.
1602 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1603 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1604 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1605 implementation of method to get glom document titles for glom files
1606 in a hard-coded directory.
1607 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1608 on longer being used.
1609 * src/main/webapp/glom.png: Glom logo.
1611 2011-04-05 Ben Konrath <ben@bagu.org>
1613 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1615 This is the forth and final commit of a refactor that will allow
1616 OnlineGlom to be used with multiple documents.
1618 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1619 Move RPC code from OnlineGlomViewImpl to this class.
1620 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1622 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1623 RPC code to the presenter class (the P in MVP).
1625 2011-04-04 Ben Konrath <ben@bagu.org>
1627 Start moving the existing OnlineGlom code to MVP.
1629 This work is based on the GWT MVP framework that is documented here:
1631 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1633 This is the third commit of a refactor that will allow OnlineGlom to
1634 be used with multiple documents.
1636 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1637 Interface for client factory which is used to get instances of various
1638 classes throughout the app.
1639 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1640 Implementation of client factory.
1641 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1642 initialize the MVP framework.
1643 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1644 New file. Activity manager for the main container widget. This is the
1646 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1647 Maps place (URL) to its corresponding activity.
1648 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1649 New file. This is just a place holder for a generated file.
1650 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1651 New file. Represents the URL for the main Online Glom app.
1652 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1653 for changes in LayoutListViewImpl.
1654 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1655 interface for View. Move code to OnlineGlomViewImpl class.
1656 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1657 file. Implementation of OnlineGlomView.
1658 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1659 Place resources. Use ClientFactoryImpl by default.
1661 2011-04-04 Ben Konrath <ben@bagu.org>
1663 Move View classes to their own package.
1665 This is the second commit of a refactor that will allow OnlineGlom to
1666 be used with multiple documents.
1668 * src/main/java/org/glom/web/client/OnlineGlom.java:
1669 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1670 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1672 2011-04-02 Ben Konrath <ben@bagu.org>
1674 Move UI code from the main module to its own class.
1676 This is the first commit of a refactor that will allow OnlineGlom to be
1677 used with multiple documents.
1679 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1680 references to OnlineGlom to OnlineGlomView.
1681 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1682 OnlineGlomView and instantiate it here.
1683 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1684 represents the main OnlineGlomView with one document.
1686 2011-04-01 Ben Konrath <ben@bagu.org>
1688 Fix formatting of gwt.xml and add DTD.
1690 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1692 2011-03-30 Ben Konrath <ben@bagu.org>
1694 Propperly convert gdkColor string to html colour string.
1696 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1698 2011-03-28 Ben Konrath <ben@bagu.org>
1700 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1702 This implementation matches
1703 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1704 readable and is not tied to Swig.
1706 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1708 2011-03-28 Ben Konrath <ben@bagu.org>
1710 Use read-only checkboxes for boolean field types.
1712 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1713 in the CellTable based on the field type. It currently only
1714 distinguishes between boolean and text columns but I'll need to add
1715 support for more types.
1716 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1717 column type in the ColumnInfo object. Add method to convert between the
1718 glom field type enum in ColumnInfo and the glom field type in libglom.
1719 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1721 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1722 getting and setting booleans.
1724 2011-03-25 Ben Konrath <ben@bagu.org>
1726 Don't get the Date twice from the ResultSet.
1728 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1730 2011-03-25 Ben Konrath <ben@bagu.org>
1732 Cleanup code in the servlet.
1734 * TODO: Remove item about row count. Add item about testing row count
1735 query with large number of rows.
1736 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1737 spelling mistakes, change method parameter to be consistent with
1740 2011-03-25 Ben Konrath <ben@bagu.org>
1742 Add server side logging with the gwt-log library.
1744 * .gitignore: Ignore the log file we're now producing.
1745 * TODO: Add a couple TODO item for logging.
1746 * pom.xml: Add gwt-log and log4j as a dependency.
1747 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1748 logging of errors, warnings and some important info.
1749 * src/main/resources/log4j.properties: New file to configure log4j.
1751 2011-03-24 Ben Konrath <ben@bagu.org>
1753 Add a disable button for the Details view.
1755 * src/main/java/org/glom/web/client/LayoutListView.java:
1757 2011-03-22 Ben Konrath <ben@bagu.org>
1759 Use a count query to get the number of rows for the list view pager.
1761 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1763 2011-03-22 Ben Konrath <ben@bagu.org>
1765 Add more TODO information about CellTable pager positioning.
1769 2011-03-19 Ben Konrath <ben@bagu.org>
1771 Add TODO item about CellTable pager positioning.
1775 2011-03-18 Ben Konrath <ben@bagu.org>
1777 Remove unneeded GlomFieldColumn class.
1779 This is just a small code cleanup.
1781 * src/main/java/org/glom/web/client/LayoutListView.java:
1783 2011-03-18 Ben Konrath <ben@bagu.org>
1785 Use cursor mode in the query that gets data for the list view.
1787 I still need to fix the potential memory problem when getting the row
1788 count for the list view.
1790 * TODO: Add note about testing memory usage with large data sets. Add
1791 item about fixing row counting with large data sets.
1792 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1793 PostgreSQL JDBC driver into cursor mode when getting data for the
1796 2011-03-15 Ben Konrath <ben@bagu.org>
1798 Remove the GWT Container from the Eclipse build classpath.
1800 The GWT dependencies are set by Maven so this isn't needed.
1804 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1806 Added some earlier mockups to git, but not to the tarball dist.
1808 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1809 Openismus. These hopefully show how we might structure the HTML so that
1810 it can be styled easily with CSS. However, we probably need to adapt them
1811 for the CSS structure that GWT dictates for common widgets.
1813 2011-03-14 Ben Konrath <ben@bagu.org>
1815 Locate OnlineGlom.properties using the ServletContext.
1817 This is required to be able to locate the file in the deployed servlet.
1819 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1820 Configure the database and glom document in in a helper method so
1821 that the ServletContext can be used to locate OnlineGlom.properties.
1822 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1823 src/main/webapp. This is the proper location for .properites files.
1825 2011-03-12 Ben Konrath <ben@bagu.org>
1827 Add note to README about why we're compiling down to obfuscated JavaScript.
1831 2011-03-11 Ben Konrath <ben@bagu.org>
1833 Use properties file to configure servlet.
1835 This allows people to change the glom file path, db username and db
1836 password without recompiling the code.
1838 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1839 * src/main/webapp/OnlineGlom.properties:
1841 2011-03-11 Ben Konrath <ben@bagu.org>
1843 Use table fields in layout list view if the layout list is not defined.
1845 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1846 Manually create a LayoutFieldVector for the query builder using the
1847 table fields when a layout list is not defined in the glom file.
1849 2011-03-11 Ben Konrath <ben@bagu.org>
1851 Only show FIXME string for images when there's an image.
1853 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1854 in this change are some small code cleanups.
1856 2011-03-11 Ben Konrath <ben@bagu.org>
1858 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1860 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1862 2011-03-11 Ben Konrath <ben@bagu.org>
1864 Correctly set the index of the default table.
1866 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1867 Correctly set the index of the default table. Add commented out example
1870 2011-03-10 Ben Konrath <ben@bagu.org>
1872 Add comment to pom.xml about the previous change.
1874 * pom.xml: Add comment about the deployment issue so that it's obvious
1875 why java-libglom is set to the provided scope.
1877 2011-03-10 Ben Konrath <ben@bagu.org>
1879 Change java-libglom dependency from compile to provided in pom.xml.
1881 Since java-libglom uses jni it can only be loaded once and therefore
1882 must be placed in $CATALINA_HOME/lib and not included in each war.
1883 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1884 More information about this issue can be found in the Tomcat 6 release
1885 notes in the "JNI Based Applications" section:
1887 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1889 * README: Remove note about this issue. Deployment info should really
1890 be on the wiki anyway so I'll add it right now.
1891 * pom.xml: Change java-libglom dependency from compile to provided so
1892 that it's copied in to the packaged war.
1894 2011-03-09 Ben Konrath <ben@bagu.org>
1896 Change to using a neutral locale for currency, date and time formatting.
1898 This solves the problem of currency values being represented without a
1899 space between the currency code and the number (e.g. "EUR5.89" is now
1900 represented as "EUR 5.89"). More work is required when we implement
1901 a locale preference setting.
1903 * TODO: Add note about currency formatting issues with different
1905 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1906 to using the neutral ROOT locale.
1908 2011-03-09 Ben Konrath <ben@bagu.org>
1910 Add support for currency codes that are not ISO 4217 codes.
1912 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1913 the currency code defined in the glom file when it's not 3 characters
1914 long or when Java doesn't recognize the string as an ISO 4217 code.
1916 2011-03-08 Ben Konrath <ben@bagu.org>
1918 Remove test classes, launch configurations and configuration.
1920 The test stuff was getting in the way when creating the war. To make
1921 the war file you can now do 'mvn clean package'. The packaged war file
1922 will be in the target directory.
1924 * .classpath: Remove unused classpathentry for tests and i18n.
1925 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1926 property. Don't run test or i18n goals when packaging the war.
1927 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1932 * OnlineGlomTest-dev.launch:
1933 * OnlineGlomTest-prod.launch:
1934 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1935 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1937 2011-03-07 Ben Konrath <ben@bagu.org>
1939 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1941 These fixes allow me to use 'mvn deploy' to create the war file.
1943 * .classpath: This generated config has been updated by Eclipse. This
1944 change was probably triggered by me updating from Eclipse 3.6.1 to
1946 * .gitignore: Add entry to ignore the directory
1947 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1948 * .project: The generated config has been updated by Eclipse. This
1949 change was probably triggered by me updating from Eclipse 3.6.1 to
1951 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1952 so that Eclipse doesn't complain
1953 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1954 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1955 'tests' directory to 'client' directory. This is the new
1956 gwt-maven-plugin convension.
1957 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1958 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1960 2011-03-07 Ben Konrath <ben@bagu.org>
1962 Add support for horizontal alignment in the LayoutList columns.
1964 * TODO: Remove item about horizontal alignment. Add item about
1965 improvements to ColumnInfo.
1966 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1967 alignment on the columns. Use ColumnInfo RPC object get the column
1968 title and horizontal alignment.
1969 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1970 LayoutListView creation with ColumnInfo RPC object.
1971 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1972 a ColumnInfo object for every LayoutList columnn. Convert the
1973 FieldFormatting.HorizontalAlignment to the correct
1974 ColumnnInfo.HorizontatlAlignment with the new
1975 getColumnInfoHorizontalAlignment helper method.
1976 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1977 to encapsulate column information like alignment and title. This
1978 could be used to set the colour instead of on a per cell field basis.
1979 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1980 column title storage and retrieval with ColumnInfo.
1982 2011-03-04 Ben Konrath <ben@bagu.org>
1984 Add support for column sorting.
1986 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1987 AsynDataProvider to be an anonymous inner class. Use new
1988 getSortedTableData RPC method when column sort is requested. Set all
1989 columns sortable and add an AsyncHandler to activate sorting in the
1991 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1992 method getSortedTableData(). Cleanup other method signatures.
1993 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1994 new method getSortedTableData(). Cleanup other method signatures.
1995 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1996 Implement getSortedTableData() and getTableData() methods by using a
1997 private helper method with the appropriate parameters filled in. Use
1998 user supplied sort clause when supplied, otherwise fall back to
1999 sorting by the primary key. Move destroy() method to be underneath
2000 constructor for readability. Cleanup comments.
2002 2011-03-03 Ben Konrath <ben@bagu.org>
2004 Add support for colour text and colour backgrounds to the layout list cells.
2006 Only the cell backgrounds are coloured which leaves a gap between the
2007 cells that isn't coloured. I need to figure out a way to set
2008 'style=background-colour:' on the whole column rather than just the
2011 * TODO: Add a note about colouring the background of the whole column.
2012 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
2013 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
2014 render the coloured text and backgrounds. Use GlomField[] for the row type.
2015 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
2017 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
2018 GlomField[] for the row type.
2019 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
2020 GlomField[] for the row type. Set the text, text colour and background
2021 colour in the GlomField objects as specified in the glom document. Add
2022 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
2023 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
2024 the glom field text, foreground colour and background colour.
2026 2011-03-02 Ben Konrath <ben@bagu.org>
2028 Don't display hidden tables in the combo box.
2030 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
2032 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2033 code to ignore hidden tables using ArrayLists for the table names and
2035 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
2036 tableNames to use ArrayLists instead of String[]. Update getter and setter
2039 2011-03-01 Ben Konrath <ben@bagu.org>
2041 Add support for Date and Time number types.
2043 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2044 Implement formatting for Date and Time values. Change the default glom
2045 file to small business example.
2047 2011-03-01 Ben Konrath <ben@bagu.org>
2049 Add support for formatting glom types as specified in the glom file.
2051 Formatting isn't finished yet - I still need to add support for Date
2054 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
2055 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
2056 checks for null values in JDBC cleanup code and catch all exceptions
2057 instead of just SQLExceptions.
2058 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
2061 2011-03-01 Ben Konrath <ben@bagu.org>
2063 Use GWT 2.2.0 instead of 2.1.1.
2065 * pom.xml: Change GWT version numbers.
2067 2011-03-01 Ben Konrath <ben@bagu.org>
2069 A few small code cleanups.
2071 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
2073 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
2074 unnecessary object creation in constructor.
2075 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
2076 unnecessary object creation in constructor.
2078 2011-02-28 Ben Konrath <ben@bagu.org>
2080 Add file for TODO list.
2084 2011-02-18 Ben Konrath <ben@bagu.org>
2086 Enable the CellTable Pager when more than 20 rows need to be viewed.
2088 The Pager will automatically become active when the results are larger
2089 than the CellTable size which is currently set to 20 lines.
2091 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
2092 name on debug statment in RPC call in LayoutListDataProvider, add
2093 numRows parameter to LayoutListView constructor, propperly set rowCount
2095 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
2096 name on debug statment in RPC call, use LayoutListTable object in RPC
2097 calls, pass rowCount to LayoutListView.
2098 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
2099 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
2101 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
2102 interface for changes in OnlineGlomService.
2103 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
2104 getLayoutListHeaders() to getLayoutListTable() and return
2105 LayoutListTable. Using this object allows me to pass other information
2106 about the LayoutList like the expected number of rows in the result set.
2107 The Connection object from the connection pool is now propperly closed.
2108 Only the requested number of lines are returned to the client in
2110 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
2111 GlomTable and add columnTitles and numRows.
2113 2011-02-18 Ben Konrath <ben@bagu.org>
2115 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
2117 This is a small performance boost. I'll use GlomTable to get the required
2118 layoutlist information.
2120 * src/main/java/org/glom/web/client/OnlineGlom.java:
2121 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2122 * src/main/java/org/glom/web/shared/GlomDocument.java:
2124 2011-02-18 Ben Konrath <ben@bagu.org>
2126 Add option to turn off formatting in JDT formatter preferences.
2128 * .settings/org.eclipse.jdt.core.prefs:
2130 2011-02-18 Ben Konrath <ben@bagu.org>
2132 Rename LayoutList to LayoutListView.
2134 I'm working towards setting things up to easily use MVP when the time
2137 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
2139 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
2142 2011-02-17 Ben Konrath <ben@bagu.org>
2144 Move LayoutListDataProvider class into LayoutList.java.
2146 * src/main/java/org/glom/web/client/LayoutList.java:
2148 2011-02-17 Ben Konrath <ben@bagu.org>
2150 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
2152 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
2154 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
2155 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
2156 from LibGlomServer.java.
2157 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
2158 Rename from LibGlomServiceAsync.java.
2159 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
2160 Rename from LibGlomServiceImpl.java.
2161 * src/main/webapp/WEB-INF/web.xml: Update configuration.
2163 2011-02-17 Ben Konrath <ben@bagu.org>
2165 Update JDT settings.
2167 * .settings/org.eclipse.jdt.core.prefs:
2169 2011-02-17 Ben Konrath <ben@bagu.org>
2171 Move GWT-RPC objects to shared package (where they should be).
2173 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
2174 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
2175 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
2176 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
2177 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
2178 org.glom.web.shared package.
2179 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
2180 org.glom.web.shared package.
2181 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
2182 directory in compilation to javascript.
2184 2011-02-16 Ben Konrath <ben@bagu.org>
2186 Add sort clause to the sql query that grabs table information.
2188 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2189 if one of the columns is a primary key.
2191 2011-02-16 Ben Konrath <ben@bagu.org>
2193 Disable generateAsync feature of gwt-maven.
2195 The generated interface does not correctly match the methods in LibGlomService
2196 and the generated singleton Util inner-class doesn't respect the servlet
2199 * pom.xml: Turn off generateAsync feature.
2200 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2201 with singleton Util inner-class.
2203 2011-02-14 Ben Konrath <ben@bagu.org>
2205 Add LGPL v3 licence notices.
2207 Followed directions listed here:
2208 http://www.gnu.org/licenses/gpl-howto.html
2210 * COPYING: This file is a copy of the GPL v3.
2211 * COPYING.LESSER: This file is a copy of the LGPL v3.
2212 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2214 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2216 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2218 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2220 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2222 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2224 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2227 2011-02-14 Ben Konrath <ben@bagu.org>
2229 Use ArrayList instead of Array in GWT-RPC calls.
2231 Apparently this gives a slight performance boost to the compiled
2234 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2236 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2239 2011-02-14 Ben Konrath <ben@bagu.org>
2241 Access data from a postgres db rather than the example glom file.
2243 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2244 compile down to obfuscated javascript.
2245 * pom.xml: Add c3p0 and postgres JDBC libraries.
2246 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2247 using a postgres db accessed through the c3p0 connection pooling library.
2249 2011-02-14 Ben Konrath <ben@bagu.org>
2251 Update Java formatter settings.
2253 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2255 2011-02-02 Ben Konrath <ben@bagu.org>
2257 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2259 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2261 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2262 the compiled webapp directory that Eclipse uses as we're using Maven now.
2263 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2264 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2266 * pom.xml: Format file, change target Java version to 1.6.
2268 2011-02-02 Ben Konrath <ben@bagu.org>
2270 Add information about a deployment related issue.
2272 * README: Add Notes section with the problem outlined.
2274 2011-02-02 Ben Konrath <ben@bagu.org>
2276 Call Glom.libglom_deinit() when the servlet is shutdown.
2278 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2279 Glom.libglom_deinit() to destroy() method.
2281 2011-01-28 Ben Konrath <ben@bagu.org>
2283 Use generated Util class to get the RPC Async interface.
2285 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2287 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2288 getInstance() method to get a reference to the RPC Async interface.
2289 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2290 getInstance() method to get a reference to the RPC Async interface, remove
2291 the now unused getLibGlomServiceProxy() method.
2293 2011-01-27 Ben Konrath <ben@bagu.org>
2295 Cleanup ChangeLog entry from previous commit.
2297 * ChangeLog: Group logical changes together and add comments.
2299 2011-01-25 Ben Konrath <ben@bagu.org>
2301 Convert to gwt-maven project.
2303 * .gitignore: Update for new project structure.
2304 * README: New file with a link to the online documentation.
2305 * pom.xml: The generated maven configuration file with some tweaks.
2307 Add / update Eclipse settings. These files are a merge of the files that
2308 were generated with the gwt-maven plugin and the files we were previously
2312 * .settings/.jsdtscope:
2313 * .settings/com.google.gdt.eclipse.core.prefs:
2314 * .settings/com.google.gwt.eclipse.core.prefs:
2315 * .settings/org.eclipse.jdt.core.prefs:
2316 * .settings/org.eclipse.wst.common.component:
2317 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2318 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2319 * .settings/org.maven.ide.eclipse.prefs:
2320 * OnlineGlomTest-dev.launch:
2321 * OnlineGlomTest-prod.launch:
2323 Java source files moved from the 'src' directory to the directory structure
2325 * src/main/java/org/glom/web/client/GlomDocument.java:
2326 * src/main/java/org/glom/web/client/GlomTable.java:
2327 * src/main/java/org/glom/web/client/LayoutList.java:
2328 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2329 * src/main/java/org/glom/web/client/LibGlomService.java:
2330 * src/main/java/org/glom/web/client/OnlineGlom.java:
2331 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2333 Non-functional property file used for translations. I included this as
2334 reminder that it's something I need to sort out.
2335 * src/main/resources/org/glom/web/client/Messages.properties:
2337 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2338 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2340 The servlet configuration files moved from the 'war' directory.
2341 * src/main/webapp/OnlineGlom.css:
2342 * src/main/webapp/OnlineGlom.html:
2343 * src/main/webapp/WEB-INF/web.xml:
2345 Generated test files with most of the code commented out. I included these
2346 so that it's easy to add tests when we're ready for them.
2347 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2348 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2350 2011-01-25 Ben Konrath <ben@bagu.org>
2352 Remove unused println.
2354 * src/org/glom/web/server/LibGlomServiceImpl.java:
2356 2011-01-25 Ben Konrath <ben@bagu.org>
2358 Add project specific JDT settings.
2360 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2361 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2363 2011-01-25 Ben Konrath <ben@bagu.org>
2365 Populate celltable with example data.
2367 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2368 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2369 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2370 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2371 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2372 asynchronously gets the example data.
2373 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2374 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2375 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2376 curently selected table to be retrieved by other widgets.
2377 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2378 implement getTableData() in a hacky way. This method needs to be updated
2379 to grab information from the database when database creating is
2382 2011-01-20 Ben Konrath <ben@bagu.org>
2384 Set table headers when table dropBox changes.
2386 * src/org/glom/web/client/GlomDocument.java: Correct some method
2388 * src/org/glom/web/client/LibGlomService.java: Add method
2389 to get list layout field names.
2390 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2391 to get list layout field names.
2392 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2393 widget for list layout table.
2394 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2395 the table drop box and add new updateTable() method to asynchronously
2396 get the layout list field names for the currently selected table.
2397 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2398 implementation of getLayoutListHeaders() method.
2399 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2401 2011-01-18 Ben Konrath <ben@bagu.org>
2403 Make a listBox with table titles instead of the flexTable demo.
2405 This is the start of something more useful.
2407 * .classpath: Exclude a bunch of packages from the JVM that are
2408 getting in the way of the Eclipse content assist.
2409 * src/org/glom/web/client/GlomDocument.java:
2410 * src/org/glom/web/client/GlomTable.java:
2411 * src/org/glom/web/client/LibGlomService.java:
2412 * src/org/glom/web/client/LibGlomServiceAsync.java:
2413 * src/org/glom/web/client/OnlineGlom.java:
2414 * src/org/glom/web/server/LibGlomServiceImpl.java:
2415 * war/OnlineGlom.html:
2416 * war/WEB-INF/web.xml:
2418 211-01-13 Ben Konrath <ben@bagu.org>
2420 Update to new java-libglom API.
2422 * .gitignore: Ignore OnlineGlom.war.
2423 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2425 2010-12-20 Ben Konrath <ben@bagu.org>
2427 Add some basic style to the table listing.
2429 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2430 header, print useful error message on async callback failure.
2431 * war/OnlineGlom.css: Add style for table header, remove defaults
2432 provided by the Eclipse project wizard.
2434 2010-12-20 Ben Konrath <ben@bagu.org>
2436 Load example file from installed glom dir.
2438 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2439 provided by java-libglom to find the example file.
2441 2010-12-20 Ben Konrath <ben@bagu.org>
2443 Update Eclipse settings.
2446 * .settings/com.google.gdt.eclipse.core.prefs:
2447 * .settings/com.google.gwt.eclipse.core.prefs:
2449 2010-12-17 Ben Konrath <ben@bagu.org>
2453 * .classpath: New file.
2454 * .gitignore: New file.
2455 * .project: New file.
2456 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2457 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2458 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2459 * src/org/glom/web/client/GlomTable.java: New file.
2460 * src/org/glom/web/client/OnlineGlom.java: New file.
2461 * src/org/glom/web/client/TableNameService.java: New file.
2462 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2463 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2464 * war/OnlineGlom.css: New file.
2465 * war/OnlineGlom.html: New file.
2466 * war/WEB-INF/web.xml: New file.
2467 * war/images/glom.png: New file.