1 2011-09-27 Ben Konrath <ben@bagu.org>
3 Use GWT.log for client-side debugging statements.
5 These are optimized out when deployed so I should have used this method
6 in the first place. These statements will eventually be replaced with some sort
7 of notification in the browser.
9 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
10 * src/main/java/org/glom/web/client/activity/ListActivity.java:
11 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
12 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
13 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
15 2011-09-27 Ben Konrath <ben@bagu.org>
17 Put tableselector on the right, back to list link on right.
19 The idea is that the table selector is acting like a label for the
20 currently displayed table so it should be placed below the document title. This
21 puts the table title in a similar position to where it is in Glom.
23 * mockups/details-contacts.html:
24 * mockups/details-projects.html:
25 * mockups/listview-contacts.html:
26 * mockups/listview-projects.html:
28 Update mockups to match how the interfaces currently look.
29 * src/main/webapp/style.css: Swap positions of backlink with the table
30 selector. Add some space on the left side of the table selector to
31 line things up with the document title.
33 2011-09-27 Ben Konrath <ben@bagu.org>
35 Add field colouring to details view.
37 This change re-works how field colouring works. The colour formatting
38 information is now set to the client with the layout information instead of
39 with the data. This eliminates the need to send the same colour strings for
40 data in list view column when colour information is set.
42 In order to set an alternate colour for negative numeric values, the
43 number is now sent to client and formatted with the GWT NumberFormat class.
45 This change also fixes:
47 https://bugzilla.gnome.org/show_bug.cgi?id=659752
49 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Add the GWT
50 internationalization framework which is needed for client side numeric
52 * src/main/java/org/glom/web/client/Utils.java: New file for some
53 client static utility methods.
54 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
55 the DataItem object to the Field class. Use a utility method to
56 create the foreignKeyValue string.
57 * src/main/java/org/glom/web/client/ui/details/Field.java: Set
58 alignment and text colours in the constructor. Add setData(DataItem)
59 method. Remove setText(String) method.
60 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Add the
61 colour information to GlomTextCell. Create and use GlomNumberCell for
62 rendering numbers. Use utility method to get the string for the
63 primary key of the key provider. Re-work how the horizontal alignment
65 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
66 formatting to layout information. Methods for converting the libglom
67 formatting information were moved from DBAccess.
68 * src/main/java/org/glom/web/server/database/DBAccess.java: Remove
69 numeric formatting (it's now done on the client side). Don't set text
70 colours in DataItem. Move libglom formatting conversion methods to
72 * src/main/java/org/glom/web/shared/DataItem.java: Remove fields and
73 getters/setters for text colour information.
74 * src/main/java/org/glom/web/shared/GlomNumericFormat.java: New file
75 for transferring the libglom NumericFormat information to the client.
76 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add fields
77 and getters/setters for: GlomNumericFormat, background colour and
78 foreground colour strings.
80 2011-09-26 Ben Konrath <ben@bagu.org>
82 Simplify code that iterates through the LayoutGroup.
84 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
86 2011-09-26 Ben Konrath <ben@bagu.org>
88 Accept Eclipse formatting for OnlineGlomServiceAsync.
90 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
92 2011-09-26 Ben Konrath <ben@bagu.org>
94 Don't use the ListDBAccess classes to get the primary key layout information.
96 This was causing a bug where the wrong index for the hidden primary key
97 was being sent to the client.
99 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Find the
100 primary key while creating the LayoutGroup DTO. Create a
101 LayoutItemField DTO for hidden primary keys. Don't use the
102 RelatedListDBAccess because it was only used for getting the primary
104 * src/main/java/org/glom/web/server/database/DBAccess.java: Change the
105 access modifier from public to protected for getPrimaryKeyField() and
106 getPrimaryKeyLayoutItemField().
107 * src/main/java/org/glom/web/server/database/ListDBAccess.java: Remove
108 abstract method getExpectedResultSize() because RelatedListDBAccess
109 doesn't have enough info to implement it.
110 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
111 Remove @Override for getExpectedResultSize().
112 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
113 Remove method getExpectedResultSize().
115 2011-09-23 Ben Konrath <ben@bagu.org>
117 Log which layout (list or details) the ignored item is from.
119 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
121 2011-09-23 Ben Konrath <ben@bagu.org>
123 Remove annotations that turn off code formatting in DataItem.
125 * src/main/java/org/glom/web/shared/DataItem.java:
127 2011-09-23 Ben Konrath <ben@bagu.org>
129 Rename GlomField to DataItem and update associated methods.
131 This is a rename-only refactor. No functionality has been added or
134 * src/main/java/org/glom/web/client/OnlineGlomService.java:
135 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
136 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
137 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
138 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
139 * src/main/java/org/glom/web/client/ui/list/ListTable.java:
140 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
141 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
142 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
143 * src/main/java/org/glom/web/server/database/DBAccess.java:
144 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
145 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
146 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
147 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
148 * src/main/java/org/glom/web/shared/DataItem.java:
149 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java:
150 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
152 2011-09-23 Ben Konrath <ben@bagu.org>
154 Rename GlomDocument to DocumentInfo and update associated methods.
156 This is a rename-only refactor. No functionality has been added or
159 * src/main/java/org/glom/web/client/OnlineGlomService.java:
160 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
161 * src/main/java/org/glom/web/client/activity/ListActivity.java:
162 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
163 * src/main/java/org/glom/web/server/ConfiguredDocument.java:
164 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
165 * src/main/java/org/glom/web/shared/DocumentInfo.java:
167 2011-09-20 Ben Konrath <ben@bagu.org>
169 Require java-libglom 1.17.3.
171 This picks up the fix for the seg fault problem with the Scenes table
172 in the Openismus Film Manager example.
176 2011-09-20 Ben Konrath <ben@bagu.org>
178 Change the way sort clause is added for primary key when no sort clause is requested.
180 The primary key is now added to the LayoutFieldVector (fieldsToGet)
181 before the sort clause is created. When a sort clause is not requested, the
182 sort clause is created by finding the primary key in the LayoutFieldVector
185 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
187 2011-09-20 Ben Konrath <ben@bagu.org>
189 Log error message if no documents are found in the configured directory.
191 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also:
192 Extract the glom file extension string to a private static final class
193 variable (mostly as syntactic sugar). Accept a minor formatting change.
194 * src/main/resources/onlineglom.properties: Add '/glomfile' to end of
195 the example glom.document.directory configuration property to make it
196 more clear that it can any directory, not just the home directory.
198 2011-09-18 Ben Konrath <ben@bagu.org>
200 Add related lists to details view.
202 The related list table has support for paging and sorting just like the
203 table in the list view.
205 * pom.xml: Require java-libglom 1.17.2 for the new methods to build the
206 SQL queries for the related list tables.
207 * src/main/java/org/glom/web/client/OnlineGlomService.java:
208 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
209 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
210 Rename getList methods to getListView and add comments. Remove
211 getDetailsLayout() as it's not used anymore. Add note to getDetailsData() about
212 it being unused. Add methods: getDetailsLayoutAndData(),
213 getSortedRelatedListData(), getRelatedListData(), getRelatedListRowCount()
214 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
215 Create the layout and set the data for the fields in one async call
216 instead of two. Create related lists where appropriate.
217 * src/main/java/org/glom/web/client/activity/ListActivity.java: Changes
218 for method name changes in OnlineGlomService.
219 * src/main/java/org/glom/web/client/ui/DetailsView.java:
220 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Rename
221 addLayoutGroup() to addGroup(). Add methods to get the DTOs for the
223 * src/main/java/org/glom/web/client/ui/ListView.java:
224 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Remove
225 tableName from setCellTable(). Create a ListViewTable instead of
227 * src/main/java/org/glom/web/client/ui/details/Field.java: New class to
228 represent a data field in the details view.
229 * src/main/java/org/glom/web/client/ui/details/Group.java: Move to code
230 from addDetailsCell() to Field class. Keep track of the Fields and
231 Portals in the details view.
232 * src/main/java/org/glom/web/client/ui/details/Portal.java: Make portal
233 a little bigger to match Glom. Keep track of the LayoutItemPortal DTO
234 and add a method to get it. Add method to set the contents of the
236 * src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
237 New class for related list tables. This class has the data provider
238 for the related list table.
239 * src/main/java/org/glom/web/client/ui/list/ListTable.java: Change to
240 abstract class which is the base class for the ListViewTable and the
242 * src/main/java/org/glom/web/client/ui/list/ListViewTable.java:
243 New class for list view tables. This class has the data provider for
245 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
246 methods for related list tables. Add more information to the
247 LayoutItemField and LayoutItemPortal DTOs.
248 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
249 Remove debugging print statement.
250 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
251 Remove debugging print statements. Add primary key field to SQL count
253 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
254 Remove unnecessary LayoutFieldVector parameter from
255 getResultSizeOfSQLQuery() method.
256 * src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
257 New class for related list table database access.
258 * src/main/java/org/glom/web/shared/DetailsLayoutAndData.java: New
259 class that is a wrapper DTO for details view layout and data.
260 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
261 new 'fromField' string to this DTO.
262 * src/main/webapp/style.css: Remove bottom margin and override top
265 2011-09-15 Ben Konrath <ben@bagu.org>
267 Breakup the OnlineGlomServiceImpl class to make it more manageable.
269 This sets things up to make it easier to add the data retrieval for
270 related lists (portals). No user noticeable changes were made with
273 * src/main/java/org/glom/web/server/ConfiguredDocument.java: This
274 class has the code to retrieve the layouts and access the
275 database using the new database helper classes.
276 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
277 Most of the functionality has been removed from this class. This
278 class now represents the public interface for the client side
279 code. It also deals with configuring the servlet and cleaning
280 things up when the servlet is stopped.
281 * src/main/java/org/glom/web/server/Utils.java: Extract a couple
282 of static methods into this utility class.
283 * src/main/java/org/glom/web/server/database/DBAccess.java:
284 * src/main/java/org/glom/web/server/database/DetailsDBAccess.java:
285 * src/main/java/org/glom/web/server/database/ListDBAccess.java:
286 * src/main/java/org/glom/web/server/database/ListViewDBAccess.java:
287 These classes have the database retrieval code. The class hierarchy
288 has been setup to make it easy to reuse code for similar
291 2011-09-06 Ben Konrath <ben@bagu.org>
293 Create separate classes for list table code and the data provider.
295 As part of this refactor, I also split up the code a bit to make it
298 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Move list
299 table code to two new classes (below).
300 * src/main/java/org/glom/web/client/ui/list/ListTable.java: New file
301 with code from ListViewImpl.
302 * src/main/java/org/glom/web/client/ui/list/ListTableDataProvider.java:
303 New file with code from ListViewImpl.
305 2011-09-06 Ben Konrath <ben@bagu.org>
307 Change the LayoutItemPortal DTO to extend LayoutGroup instead of LayoutItem.
309 This fixes the LayoutItemPortal DTO to match the libglom layout object
312 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java:
314 2011-09-01 Ben Konrath <ben@bagu.org>
316 Set title of Portals in the Details View.
318 * pom.xml: Bump required version of java-libglom to 1.17.1.
319 * src/main/java/org/glom/web/client/ui/details/Group.java: Move Portal
320 widget creation to its own class. Add comments to constructor.
321 * src/main/java/org/glom/web/client/ui/details/Portal.java: New file.
322 The code is mostly from the Group class with the title now set.
323 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
324 title of Portal. Update some comments. Fix some code formatting.
326 2011-09-01 Ben Konrath <ben@bagu.org>
328 Remove TODO comment for the flow table column width.
330 The flow table column width is working correctly and doesn't need to be
331 changed. See this mailing list post for more info:
333 https://mail.gnome.org/archives/glom-devel-list/2011-August/msg00017.html
335 * src/main/java/org/glom/web/client/ui/details/FlowTable.java:
337 2011-08-27 Ben Konrath <ben@bagu.org>
339 Add document title (database name) to top of the browser page.
341 I added the document title to the TableSelecitonView but that will
342 change if / when we add a view that doesn't require table selection.
344 * mockups/details-contacts.html:
345 * mockups/details-projects.html:
346 * mockups/listview-contacts.html:
347 * mockups/listview-projects.html:
348 * mockups/style.css: Add document title to mockups to keep things
350 * src/main/java/org/glom/web/client/OnlineGlom.java: Adjust LayoutPanel
351 sizes to account for the document title.
352 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
353 Set the document title when it has been retrieved from the server.
354 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
355 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java: Add
356 and implement setDocumentTitle(String) method.
357 * src/main/webapp/style.css: Add ID for document title style.
359 2011-08-25 Ben Konrath <ben@bagu.org>
361 Add NavigationType enum to LayoutItemPortal DTO.
363 This is the start of adding support for Portals to the Details View.
365 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert
366 LayoutItem_Portal.navigation_type enum from libglom to
367 LayoutItemPortal.NavigationType enum.
368 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: Add
369 NavigationType enum, field for storing the NavigationType and getter
372 2011-08-25 Ben Konrath <ben@bagu.org>
374 Implement the flow table layout in the Details View.
376 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
377 FlowTable to Group to account for the renamed class.
378 * src/main/java/org/glom/web/client/ui/details/FlowTable.java: New
379 File. This is a container widget that implements the Glom details view
380 flow table behaviour.
381 * src/main/java/org/glom/web/client/ui/details/Group.java: Moved from
382 org/glom/web/client/ui/FlowTable.java.
383 * src/main/webapp/style.css: Adjust bottom margin of the subgroup-title
384 so that the size of the subgroups are a closer match to the size of
385 the Glom subgroups. This makes the flowtable layout match the layout
386 in Glom for the Music Collection example file.
388 2011-08-16 Ben Konrath <ben@bagu.org>
390 Create container element for LayoutItemPortal in Details View.
392 This will help me develop the layout for the FlowTable.
394 * src/main/java/org/glom/web/client/ui/FlowTable.java: Also rename
395 fieldPanel variable to detailsCell.
397 2011-08-15 Ben Konrath <ben@bagu.org>
399 Set the height of the data element in the Details View.
401 I changed the InlineLabels (text in a span element) to Labels (text in
402 a div element) so that I could set the height of the details-data
403 elements instead of the details-cell parent elements. This allows the
404 the details-data element to display the correct height if style is
405 applied that shows the height.
407 This change has the added benefit of allowing the order of the labels
408 and data elements to be changed for right-to-left languages.
410 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Change
411 InlineLabels to Labels.
412 * src/main/java/org/glom/web/client/ui/FlowTable.java: Change
413 InlineLabels to Labels. Set the height of the data element.
414 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
415 multiline text height in the Formatting DTO.
416 * src/main/java/org/glom/web/shared/layout/Formatting.java: Add field
417 for multiline height along with getter and setter methods.
418 * src/main/webapp/style.css: Adjust style to account for the change
419 from span elements to div elements in the details cell.
421 2011-08-15 Ben Konrath <ben@bagu.org>
423 Make the List View appearance match the mockups.
425 It doesn't match exactly but it's much better than it was.
427 * mockups/listview-contacts.html: Remove unused css classes.
428 * mockups/listview-projects.html: Remove unused css classes.
429 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Display 15
430 rows instead of 20. Rename vPanel to mainPanel. Use FlowPanel (div)
431 for mainPanel instead of VerticalPanel (table). Set style name on
432 CellTable. Set style name on Details column. Right-align Details
434 * src/main/webapp/style.css: Adjust properties to match the mockups.
436 2011-08-12 Ben Konrath <ben@bagu.org>
438 Add better support for subgroups in the details view.
440 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
441 changed FlowTable constructor.
442 * src/main/java/org/glom/web/client/ui/FlowTable.java: Add better
443 support for subgroups and subgroup-titles.
444 * src/main/webapp/style.css: Add CSS class for subgroups and
447 2011-08-12 Ben Konrath <ben@bagu.org>
449 Return the top level LayoutGroup title.
451 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
453 2011-08-11 Ben Konrath <ben@bagu.org>
455 Make the TableSelector header match the mockup.
457 * src/main/java/org/glom/web/client/OnlineGlom.java: Add a margin to
458 the layout panel. Properly lineup the table selection header with
459 the list and details view.
460 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Remove the
461 margin around the details view.
462 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
463 Rename listBox variable to tableSelector. Set id for the style sheet.
464 Use a FlowPanel instead of a HorizontalPanel.
465 * src/main/webapp/style.css: Add properties to make the TableSelector
466 box match the mockups.
468 2011-07-13 Ben Konrath <ben@bagu.org>
470 Update install script for java-libglom version change.
472 * utils/install-onlineglom-war.sh: Also exit if 'make check' in
475 2011-07-13 Ben Konrath <ben@bagu.org>
477 Add support sub-group in the details view.
479 I also removed the code that special-cased the default details view
482 http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html
484 I still have to make a proper flowtable.
486 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
487 Don't special-case default details view layout.
488 * src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
489 addLayoutField() as I'm going to use it.
490 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
491 GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
493 * src/main/java/org/glom/web/client/ui/FlowTable.java: New class
494 extracted from DetailsViewImpl.GroupPanel. Add support for
496 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
497 column count when getting the details layout.
499 2011-07-12 Ben Konrath <ben@bagu.org>
501 Set browser title with database and table titles.
503 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
504 Set the browser title when the table changes and when the activity
506 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
507 title when retrieving document info (the GlomDocument object).
508 * src/main/java/org/glom/web/shared/GlomDocument.java: Add title field
509 with getter and setter methods. Remove unused convenience constructor.
510 Use default code formatting.
512 2011-07-12 Ben Konrath <ben@bagu.org>
514 Ignore LayoutItemPortals in the details view.
516 I added a new DTO for the LayoutItemPortal so that I can ignore it in
519 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Ignore
520 LayoutItemPortal layout objects.
521 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
522 LayoutItemPortal objects when retrieving the details layout.
523 * src/main/java/org/glom/web/shared/layout/LayoutItemPortal.java: New
524 file. This is an empty class and just used to get type information for
527 2011-07-12 Ben Konrath <ben@bagu.org>
529 Use java-libglom 1.17.0.
533 2011-07-11 Ben Konrath <ben@bagu.org>
535 Remove "Table:" label from table selector.
537 This matches a recent change in the Glom UI.
539 * mockups/details-contacts.html:
540 * mockups/details-projects.html:
541 * mockups/listview-contacts.html:
542 * mockups/listview-projects.html: Remove the "Table:" label from the
544 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
546 2011-07-11 Ben Konrath <ben@bagu.org>
548 Add main groups to the details view.
550 This makes things look a little nicer in the details view. The next step
551 is to implement the flowtable.
553 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Inherit only the
554 resources from the standard gwt css theme. Standard.css is now
555 included in OnlineGlom.html so that the online glom css rules have
556 precedence over the gwt theme.
557 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Pass
558 the whole LayoutGroup to the DetailsView instead of just the titles.
559 * src/main/java/org/glom/web/client/ui/DetailsView.java:
560 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Create the
561 details layout with a helper class (GroupPanel). I might extract this
562 class when I make the full flowtable.
563 * src/main/java/org/glom/web/shared/layout/LayoutItem.java: Add empty
564 string as default so I don't have to worry about NPEs when processing
566 * src/main/webapp/OnlineGlom.html: Add the gwt standard css file (see
567 note beside OnlineGlom.gwt.xml above).
568 * src/main/webapp/style.css: Add default font-size to body to override
569 the font-size set by the standard theme. Don't use h2 tags for
570 group-title. Create new details-cell class.
572 2011-07-08 Murray Cumming <murrayc@murrayc.com>
574 ConfiguredDocument: Set the port number too.
576 * src/main/java/org/glom/web/server/ConfiguredDocument.java
577 (ConfiguredDocument.ConfiguredDocument): Get the port number from the
578 Glom document. Presumably this worked sometimes so far because there is a
581 2011-07-08 Murray Cumming <murrayc@murrayc.com>
583 ConfiguredDocument: Warn that sqlite and self-hosting are not supported.
585 * src/main/java/org/glom/web/server/ConfiguredDocument.java
586 (ConfiguredDocument.ConfiguredDocument): Check that the hosting mode is
587 correct, though we should throw an exception too.
589 2011-07-08 Murray Cumming <murrayc@murrayc.com>
591 Fix a addDocuemnt typo.
593 * src/main/java/org/glom/web/shared/Documents.java
594 (Documents.addDocuemnt): Rename to addDocument().
595 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
596 (OnlineGlomServiceImpl.getDocuments): Adapt.
598 2011-07-08 Murray Cumming <murrayc@murrayc.com>
600 Slightly improved log output when connection fails.
602 * src/main/java/org/glom/web/server/ConfiguredDocument.java
603 (ConfiguredDocument.setUsernameAndPassword):
604 We don't know for sure if it' the username/password that's wrong, so
605 rephrase the message.
606 Also ouput the exception message, though it's generic in this case.
608 2011-07-08 Ben Konrath <ben@bagu.org>
612 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
613 added braces to a one line if statement because the Eclipse formatter
614 was getting confused.
616 2011-07-07 Ben Konrath <ben@bagu.org>
618 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
620 These should really be two separate tasks but I counldn't get things to
621 work with GWT 2.2.0 and Eclipse 3.7.
625 * .settings/org.eclipse.jdt.core.prefs:
626 * .settings/org.eclipse.jdt.ui.prefs:
627 * .settings/org.eclipse.ltk.core.refactoring.prefs:
628 * .settings/org.eclipse.m2e.core.prefs:
629 Add new config files. Update current files. Remove references to the
630 webtools plugins as we're not using any of the webtools features.
631 * .gitignore: Add logs directory which is created when running with
633 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
634 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
635 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
637 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
639 2011-07-07 Murray Cumming <murrayc@murrayc.com>
641 onlineglom.properties: Add explanatory comments.
643 * src/main/resources/onlineglom.properties: Also change the default user
644 from ben to someuser, to avoid the risk of people thinking we just
645 stupidly hard-coded a locale path, when they see that on stderr or in a log.
647 2011-06-28 Ben Konrath <ben@bagu.org>
649 Use filename in Log for incorrect passwords.
651 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
652 getFileName(String) method to get the filename from the URI.
654 2011-06-28 Ben Konrath <ben@bagu.org>
656 Add the table name to the URL token for the ListPlace.
658 This makes things consistent between the DetailsPlace and the
659 ListPlace. It also allows the the ListPlace to be bookmarked.
661 * src/main/java/org/glom/web/client/OnlineGlomService.java:
662 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
663 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
664 Remove getDefaultListLayout(). The default layout is now returned
665 by the getListLayout() method when the table name is an empty string.
666 * src/main/java/org/glom/web/client/activity/ListActivity.java:
667 Add table name field. Change to a new ListPlace when the table
668 has been changed. Use getListLayout() for getting the default
670 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
671 Add table name field. Set the correct table name in the list box
672 when loading from bookmark. This corrects a problem for the
674 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
675 Move table name to super-class (HasSelectableTable). Move document
676 and table URL keys to super-class in HasSelectableTable.
677 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
678 Add table name field. Add Tokenizer class with URL key common to
679 the subclasses (DetailsPlace and ListPlace).
680 * src/main/java/org/glom/web/client/place/ListPlace.java:
681 Add table name. Add code to parse the URL token.
682 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
683 Update ListPlace construction with empty table name string.
684 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
685 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
686 Change setTableSelectedIndex(int) to setSelectedTableName(String).
687 Update ListPlace construction with table name string.
688 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
689 Change defaultTableName field to tableName to reflect how it's now
690 used. Update the getter and setter methods.
692 2011-06-28 Ben Konrath <ben@bagu.org>
694 Enable the table selector in the DetailsView.
696 * src/main/java/org/glom/web/client/OnlineGlomService.java:
697 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
698 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
699 Remove getDefaultDetailsLayout(). The default layout is now returned
700 by the getDetailsLayout() method when the table name is an empty
702 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
703 event handler for table change event. Change to using
704 getDetailsLayout() for the default details layout.
705 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
707 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
708 when navigating to the details place.
710 2011-06-27 Ben Konrath <ben@bagu.org>
712 Use filename based unique document ID in URL and for RPC.
714 The document ID is the glom document name with spaces (' ') replaced
715 with pluses ('+') and without the .glom extension.
717 This change is mostly a string substitution of 'documentTitle' for
718 'documentID'. The only code change is the addition of a Documents DTO to get the
719 filename to document title mappings as indicated below.
721 * src/main/java/org/glom/web/client/OnlineGlomService.java:
722 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
723 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
724 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
725 Use Documents DTO to create the document links in the document
727 * src/main/java/org/glom/web/client/activity/ListActivity.java:
728 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
729 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
730 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
731 * src/main/java/org/glom/web/client/place/ListPlace.java:
732 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
733 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
734 * src/main/java/org/glom/web/client/ui/ListView.java:
735 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
736 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
737 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
738 * src/main/java/org/glom/web/server/Log.java:
739 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
740 getDocumentTitles() to getDocuments() and return the Documents DTO.
741 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
742 transferring the filename to document title mappings.
744 2011-06-25 Ben Konrath <ben@bagu.org>
746 Make the authentication popup work again.
748 This bug was introduced when I extracted ConfiguredDocument to its own class.
750 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
751 correct success / fail status in setUsernameAndPassword().
753 2011-06-25 Ben Konrath <ben@bagu.org>
755 Use filename as unique key for configuring database usernames and passwords.
757 This replaces the use of the Glom document title which could change
758 depending on the locale. Thanks to Murray Cumming for pointing out this
761 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
762 * src/main/resources/onlineglom.properties:
764 2011-06-24 Ben Konrath <ben@bagu.org>
766 Pass primary key value to DetailsView.
768 This enables the DetailsView to load the correct data.
770 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
771 primary key value field and set in constructor. Pass primary key
772 value to getDetailsData().
773 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
774 variables for document title and primary key value.
775 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
776 key value to the DetailsPlace.
778 2011-06-24 Ben Konrath <ben@bagu.org>
780 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
782 This allows the primary key to be retrieved by the Details button. This
783 functionality has not been implemented yet but it's in the works.
785 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
786 the LayoutGroup result to ListView.setCellTable instead of all of its
788 * src/main/java/org/glom/web/client/ui/ListView.java:
789 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
790 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
791 get the primary key for the table.
792 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
793 index of the primary key in the LayoutGroup accounting for hidden
794 primary keys. Rename getJavaNumberFormat() to
795 convertToJavaNumberFormat() for consistency. Cleanup / add some
797 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
798 field for primary key index and a field to indicate whether the
799 primary key is hidden or not.
801 2011-06-23 Ben Konrath <ben@bagu.org>
803 Rename getTableData methods to getListData.
805 This is a rename refactor for consistency with other methods.
807 * src/main/java/org/glom/web/client/OnlineGlomService.java:
808 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
809 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
810 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
812 2011-06-23 Ben Konrath <ben@bagu.org>
814 Extract the ConfiguredDocument innerclass into its own class.
816 This makes the servlet code more object oriented.
818 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
819 from private ConfiguredDocument class in OnlineGlomServiceImpl.
820 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
821 new ConfiguredDocument class.
823 2011-06-21 Ben Konrath <ben@bagu.org>
825 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
827 This makes things more inline with how libglom works and reduces code
828 duplication. This refactor lays the groundwork for adding the primary key to
829 the LayoutGroup object.
831 * src/main/java/org/glom/web/client/OnlineGlomService.java:
832 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
833 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
834 Change method names to getListLayout and getDefaultListLayout for
835 consistency. Use LayoutGroup as the DTO for the list layout instead of
836 ColumnInfo and LayoutListTable.
837 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
838 new method names along with the LayoutGroup object for transferring the
840 * src/main/java/org/glom/web/client/ui/ListView.java:
841 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
842 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
843 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
845 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
846 Replaced with LayoutGroup.
847 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
848 expectedResultSize and defaultTableName fields which are needed for
850 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
851 type field which is needed for the list layout but will also be
852 useful for the details layout as things progress.
853 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
854 Make class abstract. Remove the unnecessary
855 getFormattingHorizontalAlignment method. Add setFormatting method.
857 2011-06-16 Ben Konrath <ben@bagu.org>
859 Add scripts for building and installing war.
861 These will help when updating OnlineGlom but they're also good
862 supplemental documentation of the build and deployment proceeding.
864 * utils/build-onlineglom-war.sh: New file.
865 * utils/install-onlineglom-war.sh: New file.
867 2011-06-16 Ben Konrath <ben@bagu.org>
869 Create wrapper class to create consistent log messages.
871 I wrapped methods in the Log class of gwt-log to add the method names
872 from the servlet and create consistent formatting of the document title
873 and table names in the log messages.
875 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
876 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
877 log methods to use methods from wrapped Log class.
879 2011-06-16 Ben Konrath <ben@bagu.org>
881 Remove superfluous conditional return.
883 Thanks to Murray Cumming for pointing this out!
885 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
887 2011-06-15 Ben Konrath <ben@bagu.org>
889 Return an ArrayList of LayoutGroups for the Details layout.
891 This corrects a problem with the details layout as it can have more
892 than one top level LayoutGroup.
894 * src/main/java/org/glom/web/client/OnlineGlomService.java:
895 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
896 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
897 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
898 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
899 with ArrayList of LayoutGroups for the details view layout.
900 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
901 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
902 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
903 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
904 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
905 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
907 2011-06-14 Ben Konrath <ben@bagu.org>
909 Use cast_dynamic method to determine the libglom LayoutItem type.
911 This is better than finding the LayoutItem type by using the string
912 returned from the get_part_type_name() method.
914 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
916 2011-06-14 Ben Konrath <ben@bagu.org>
918 Add method names to log entries in the servlet.
920 This helps when tracking down deployment problems.
922 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
924 2011-06-14 Ben Konrath <ben@bagu.org>
926 Add data to the DetailsView using a hard-coded primary key value.
928 The layout and functionality of the DetailsView is not complete. This
929 is just a checkpoint so the patch doesn't get too big.
931 * src/main/java/org/glom/web/client/OnlineGlomService.java:
932 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
933 Add getDetailsData() servlet method.
934 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
935 Add RPC to getDetailsData(). Change the way the LayoutGroups and
936 LayoutFields are added to the DetailsView.
937 * src/main/java/org/glom/web/client/ui/DetailsView.java:
938 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
939 Add setData() method. Change addLayoutGroup() and addLayoutField() to
940 take the string for the title instead of the object.
941 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
942 Add implementation getDetailsData() along with some private helper
944 * src/main/webapp/style.css: Add padding to details-data class. Add a
945 details-label class with the same padding as the details-data class.
947 2011-06-03 Ben Konrath <ben@bagu.org>
949 Use presenter.goTo() to change to the DetailsPlace.
951 This will make things easier when we need to open the DetailsView with
952 data specific to the row that was clicked.
954 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
956 2011-06-02 Ben Konrath <ben@bagu.org>
958 Add CSS file from mockups.
960 I'm adding this now because it's going to be useful to have when
961 developing the DetailsView. The TableSelectionView and ListView aren't
964 * src/main/webapp/OnlineGlom.html:
965 * src/main/webapp/style.css:
967 2011-06-02 Ben Konrath <ben@bagu.org>
969 Use String.isEmpty() to check for empty string.
971 * src/main/java/org/glom/web/client/activity/ListActivity.java:
973 2011-06-02 Ben Konrath <ben@bagu.org>
975 Display main layout group titles in the DetailsView.
977 This is the start of the DetailsActivity/DetailsView implementation.
979 * src/main/java/org/glom/web/client/OnlineGlomService.java:
980 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
981 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
982 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
983 Get the layout information for the details view from the server and set
984 the main layout group titles.
985 * src/main/java/org/glom/web/client/ui/DetailsView.java:
986 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
987 Add addLayoutGroup() and addLayoutField() methods. This are just
988 temporary methods for creating the the details view that will change
990 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
991 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
993 * src/main/java/org/glom/web/shared/layout/Formatting.java:
994 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
995 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
996 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
997 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
998 Data Transfer Objects that mimic the libglom object structure. These are
999 used for transferring the details layout but could also be used for
1000 transferring the list layout.
1002 2011-05-27 Ben Konrath <ben@bagu.org>
1004 Reset the AuthenticationPopup when clearing the ListView.
1006 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1008 2011-05-27 Ben Konrath <ben@bagu.org>
1010 Fix problem with onlineglom.properties file loading.
1012 The old way worked in Eclipse but not on the server. Loading the
1013 onlineglom.properties file now works in Eclipse and on the server.
1015 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1017 2011-05-24 Ben Konrath <ben@bagu.org>
1019 Update gwt-log from 3.1.0 to 3.1.2.
1021 Gwt-log 3.1.0 has been marked as depreciated.
1025 2011-05-24 Ben Konrath <ben@bagu.org>
1027 Add comment to ListActivity.goTo() method.
1029 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1031 2011-05-24 Ben Konrath <ben@bagu.org>
1033 Remove FIXME in convertGdkColorToHtmlColour()
1035 The Gdk::Color value returned by libglom is 16-bits per channel on both
1036 64 and 32-bit platforms.
1038 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1040 2011-05-19 Ben Konrath <ben@bagu.org>
1042 Improve performance of initial ListView load.
1044 I removed a round trip to the server for getting the default table name
1045 and then requesting information about that table. This also removes a potential
1046 problem with the table change handler not being setup in time to receive the
1047 table change event from the ListActivity.
1049 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1050 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1051 getDefaultLayoutListTable() method. Improve comments.
1052 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
1053 getDefaultLayoutListTable() method instead of firing a table change
1054 event to get the table to load.
1055 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1056 implementation of getDefaultLayoutListTable() method.
1057 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
1060 2011-05-19 Ben Konrath <ben@bagu.org>
1062 Override toDebugString() in TableChangeEvent.
1064 This is useful to have for debugging.
1066 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1068 2011-05-19 Ben Konrath <ben@bagu.org>
1070 Add a "Back to List" link when at the DetailsPlace.
1072 * src/main/java/org/glom/web/client/activity/ListActivity.java:
1073 Populate the CellTable based on the selected table of the ListBox if
1074 it's set otherwise use the default table. This allows the "Back to
1076 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1077 Remove Place from constructors. Add a setPlace() method. Add
1078 goToPlace() method. Set class as presenter for TableSelectionView.
1079 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1080 Use the same TableSelectionActivity when switching between the List and
1082 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1083 Subclass the new HasSelectableTablePlace. This removes some duplicate
1085 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
1086 New class to represent Places that display the TableSelectionView.
1087 * src/main/java/org/glom/web/client/place/ListPlace.java:
1088 Subclass the new HasSelectableTablePlace. This removes some duplicate
1090 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1091 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1092 Add Presenter interface. Add setBackLinkVisible() method. Add
1093 setBackLink() method.
1095 2011-05-18 Ben Konrath <ben@bagu.org>
1097 Enable the "Details" buttons.
1099 Right now only an empty details view is displayed.
1101 * src/main/java/org/glom/web/client/ClientFactory.java:
1102 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1103 Add DetailsView to ClientFactory.
1104 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
1105 A basic activity for the details view.
1106 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1107 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
1109 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1110 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
1112 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1113 Create a new DetailsActivity when a DetailsPlace is requested. Remove
1114 unnecessary super() in constructor.
1115 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1116 Create a new TableSelectionActivity when a DetailsPlace is requested. We
1117 really shouldn't create a new TableSelectionActivity for both the ListPlace
1118 and the DetailsPlace so this should be considered a temporary solution.
1119 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
1120 New file. Represents a URL for the details view.
1121 * src/main/java/org/glom/web/client/ui/DetailsView.java:
1122 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
1123 A basic details view interface and implementation.
1124 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1125 Enable the "Details" buttons.
1127 2011-05-12 Ben Konrath <ben@bagu.org>
1129 Use a LayoutPanel with multiple display areas for main layout.
1131 This is mostly a refactor in that there are no changes from the user
1132 point of view. These changes are required so that we can swap out the list view
1133 with the details view when the user clicks the "Details" button.
1135 * src/main/java/org/glom/web/client/ClientFactory.java:
1136 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1137 OnlineGlomView. Add TableSelectionView, ListView and
1138 AuthenticationPopup.
1139 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
1140 for main layout. Add display regions for main activities. Add
1141 activity manager for for main activities.
1142 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
1143 file from parts of the deleted OnlineGlomActivity.
1144 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
1145 New file from parts of the deleted OnlineGlomActivity.
1146 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
1147 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
1148 New files for app wide table change event.
1149 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
1150 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
1151 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
1152 Activity mappers for the main activities replace the deleted app-wide
1154 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
1155 Fix a spelling error in he comment.
1156 * src/main/java/org/glom/web/client/ui/ListView.java:
1157 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
1158 Renamed from LayoutListView and modified for MVP. This still not a
1159 proper dumb view as prescribed by the MVP pattern but it works for now.
1160 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
1161 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
1162 New widget stripped out of the deleted OnlineGlomView.
1163 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1164 Remove hack that is fixed by this patch.
1166 2011-05-06 Ben Konrath <ben@bagu.org>
1168 Rename OnlineGlomPlace to ListPlace.
1170 The only change besides the rename is that url will now display #list
1171 instead of #Document.
1173 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1174 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1175 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1176 * src/main/java/org/glom/web/client/place/ListPlace.java:
1177 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1179 2011-05-06 Ben Konrath <ben@bagu.org>
1181 Use Presenter for app navigation.
1183 This is the proper way to deal with Place (URL) changes with the MVP
1186 * src/main/java/org/glom/web/client/ClientFactory.java:
1187 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
1188 PlaceHistoryMapper and PlaceHistoryHandler.
1189 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
1190 PlaceHistoryMapper and PlaceHistoryHandler.
1191 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1192 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
1193 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1194 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1195 Add Presenter interface and setPresenter methods. Rename addHyperLink
1196 to addDocumentLink taking only the document title as a parameter.
1198 2011-04-14 Ben Konrath <ben@bagu.org>
1200 Prompt for db username/password if they haven't been set.
1202 This is implemented with a popup widget that is contained within the
1203 OnlineGlomView and managed by the OnlineGlomActivity.
1205 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
1206 methods for checking and setting the database username and password.
1207 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
1208 new methods for checking and setting the database username and
1210 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1211 Display authentication popup if the JDBC connection to the database
1212 has not been authenticated.
1213 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
1215 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1216 for dealing with the authentication popup.
1217 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
1218 Implement the methods for dealing with the authentication popup.
1219 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
1220 try to executed queries if the database connection hasn't been
1221 authenticated. Implement methods for checking and setting the
1222 database username and password.
1224 2011-04-12 Ben Konrath <ben@bagu.org>
1226 Make log messages a little clearer.
1228 Add a dash betweeen the document title and the table name.
1230 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1232 2011-04-12 Ben Konrath <ben@bagu.org>
1234 Protect against NPEs when cleaning up database resources.
1236 While this isn't strictly necessary because the exception is caught,
1237 not protecting against the NPEs makes it harder to find the real error
1240 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1242 2011-04-12 Ben Konrath <ben@bagu.org>
1244 Move configuration of the servlet to the constructor.
1246 The servlet will be initialized even if the database authentication
1247 information is not set or correct. I still need to add the UI for prompting
1248 the user for the authentication information when it's required.
1250 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1251 javadocs for getDocumentTitles() method.
1252 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1253 Set error message when RPC fails.
1254 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
1255 glom files directory from the configuration file. Try to set the
1256 database authentication information for the specific document if it's
1257 set and works otherwise try to use the global authentication
1258 information set for the directory.
1259 * src/main/resources/onlineglom.properties: Moved from
1260 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
1261 Added detailed comments for the new keys.
1263 2011-04-11 Ben Konrath <ben@bagu.org>
1265 Remove unnecessary @Override in DocumentSelectionViewImpl.
1267 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1269 2011-04-11 Ben Konrath <ben@bagu.org>
1271 Remove center alignment in DocumentSelectionView.
1273 The title element is still centred but the document titles and bottom
1274 sentence are both left-aligned.
1276 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1278 2011-04-11 Ben Konrath <ben@bagu.org>
1280 Change 'Demo' naming convention to 'Document'.
1282 This is just a rename refactor with no functional changes to the code.
1284 * src/main/java/org/glom/web/client/ClientFactory.java:
1285 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
1286 * src/main/java/org/glom/web/client/OnlineGlom.java:
1287 * src/main/java/org/glom/web/client/OnlineGlomService.java:
1288 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1289 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
1290 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
1291 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1292 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
1293 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
1294 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
1295 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
1296 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1298 2011-04-08 Ben Konrath <ben@bagu.org>
1300 Remove FIXME from safeLongToInt() method.
1302 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
1305 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1307 2011-04-08 Ben Konrath <ben@bagu.org>
1309 Display an error if no glom documents are found in the specified directory.
1311 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1312 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1313 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1314 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1316 2011-04-08 Ben Konrath <ben@bagu.org>
1318 Add copyright header to one more file ... oops.
1320 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1322 2011-04-08 Ben Konrath <ben@bagu.org>
1324 Add copyright header to files without it.
1326 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1327 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1328 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1329 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1330 * src/main/java/org/glom/web/shared/ColumnInfo.java:
1331 * src/main/java/org/glom/web/shared/GlomField.java:
1333 2011-04-08 Ben Konrath <ben@bagu.org>
1335 Add support for accessing multiple glom documents in the servlet.
1337 This completes the demo selection functionality.
1339 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
1340 document title to methods.
1341 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1342 document title to methods.
1343 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1344 Set browser window title when the activity starts. Correct name of
1345 document title variable.
1346 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1347 Set browser window title when the activity starts. Set the table
1348 selector change handler after table selector has been set. Clear the
1349 OnlineGlomView when the activity has been stopped.
1350 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
1351 document title as the place token. Use "#Document:" instead of
1352 "#OnlineGlomPlace:" in the URL.
1353 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1354 Change heading to "Online Glom"
1355 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
1356 document title in RPC methods.
1357 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
1358 setDocumentTitle() method. Add clear() method.
1359 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
1360 setDocumentTitle() method. Implement clear() method which removes the
1361 change handler on the ListBox, clears the ListBox and clears the
1363 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1364 Implement methods with document title. Keep track for the configured
1365 glom documents and their corresponding JDBC configurations in a hash
1366 table. This information is retrieved using the document title as the
1367 key in the hash table.
1368 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1369 document title field as it's no longer needed.
1371 2011-04-08 Ben Konrath <ben@bagu.org>
1373 Update the Eclipse JDT configuration.
1375 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
1376 methods. Automatically add the copyright header to new files.
1378 2011-04-05 Ben Konrath <ben@bagu.org>
1380 Add new page for demo selection.
1382 This patch adds all the components required to view and start an
1383 OnlineGlom demo by clicking on the desired hyperlink. The user is
1384 able to return to the demo selection page with the browser's back
1385 button. I still need to modify the servlet to work with multiple
1386 documents so all demo links will load the file defined in the
1387 OnlineGlom.properties.
1389 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
1390 This is only useful during development so we don't need to save it.
1391 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
1392 get a reference to the DemoSelectionView.
1393 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
1394 method to get a reference to the DemoSelectionView.
1395 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
1396 default view to DemoSelectionView.
1397 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
1398 to get glom document titles for glom files in a hard-coded directory.
1399 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1400 method to get glom document titles for glom files in a hard-coded
1402 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
1403 Presenter for DemoSelectionView.
1404 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
1405 for DemoSelectionView.
1406 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1407 Update for DemoSelectionView.
1408 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
1409 Basic 'Place' implementation for the DemoSelectionView.
1410 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
1411 The interface for the DemoSelectionView.
1412 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
1413 The implementation of the DemoSelectionView.
1414 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
1415 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
1416 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1417 implementation of method to get glom document titles for glom files
1418 in a hard-coded directory.
1419 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
1420 on longer being used.
1421 * src/main/webapp/glom.png: Glom logo.
1423 2011-04-05 Ben Konrath <ben@bagu.org>
1425 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
1427 This is the forth and final commit of a refactor that will allow
1428 OnlineGlom to be used with multiple documents.
1430 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1431 Move RPC code from OnlineGlomViewImpl to this class.
1432 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
1434 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
1435 RPC code to the presenter class (the P in MVP).
1437 2011-04-04 Ben Konrath <ben@bagu.org>
1439 Start moving the existing OnlineGlom code to MVP.
1441 This work is based on the GWT MVP framework that is documented here:
1443 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
1445 This is the third commit of a refactor that will allow OnlineGlom to
1446 be used with multiple documents.
1448 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
1449 Interface for client factory which is used to get instances of various
1450 classes throughout the app.
1451 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
1452 Implementation of client factory.
1453 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
1454 initialize the MVP framework.
1455 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
1456 New file. Activity manager for the main container widget. This is the
1458 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
1459 Maps place (URL) to its corresponding activity.
1460 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
1461 New file. This is just a place holder for a generated file.
1462 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
1463 New file. Represents the URL for the main Online Glom app.
1464 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
1465 for changes in LayoutListViewImpl.
1466 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
1467 interface for View. Move code to OnlineGlomViewImpl class.
1468 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
1469 file. Implementation of OnlineGlomView.
1470 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
1471 Place resources. Use ClientFactoryImpl by default.
1473 2011-04-04 Ben Konrath <ben@bagu.org>
1475 Move View classes to their own package.
1477 This is the second commit of a refactor that will allow OnlineGlom to
1478 be used with multiple documents.
1480 * src/main/java/org/glom/web/client/OnlineGlom.java:
1481 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
1482 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
1484 2011-04-02 Ben Konrath <ben@bagu.org>
1486 Move UI code from the main module to its own class.
1488 This is the first commit of a refactor that will allow OnlineGlom to be
1489 used with multiple documents.
1491 * src/main/java/org/glom/web/client/LayoutListView.java: Update
1492 references to OnlineGlom to OnlineGlomView.
1493 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
1494 OnlineGlomView and instantiate it here.
1495 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
1496 represents the main OnlineGlomView with one document.
1498 2011-04-01 Ben Konrath <ben@bagu.org>
1500 Fix formatting of gwt.xml and add DTD.
1502 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1504 2011-03-30 Ben Konrath <ben@bagu.org>
1506 Propperly convert gdkColor string to html colour string.
1508 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1510 2011-03-28 Ben Konrath <ben@bagu.org>
1512 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
1514 This implementation matches
1515 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
1516 readable and is not tied to Swig.
1518 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1520 2011-03-28 Ben Konrath <ben@bagu.org>
1522 Use read-only checkboxes for boolean field types.
1524 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
1525 in the CellTable based on the field type. It currently only
1526 distinguishes between boolean and text columns but I'll need to add
1527 support for more types.
1528 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
1529 column type in the ColumnInfo object. Add method to convert between the
1530 glom field type enum in ColumnInfo and the glom field type in libglom.
1531 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
1533 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
1534 getting and setting booleans.
1536 2011-03-25 Ben Konrath <ben@bagu.org>
1538 Don't get the Date twice from the ResultSet.
1540 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1542 2011-03-25 Ben Konrath <ben@bagu.org>
1544 Cleanup code in the servlet.
1546 * TODO: Remove item about row count. Add item about testing row count
1547 query with large number of rows.
1548 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
1549 spelling mistakes, change method parameter to be consistent with
1552 2011-03-25 Ben Konrath <ben@bagu.org>
1554 Add server side logging with the gwt-log library.
1556 * .gitignore: Ignore the log file we're now producing.
1557 * TODO: Add a couple TODO item for logging.
1558 * pom.xml: Add gwt-log and log4j as a dependency.
1559 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1560 logging of errors, warnings and some important info.
1561 * src/main/resources/log4j.properties: New file to configure log4j.
1563 2011-03-24 Ben Konrath <ben@bagu.org>
1565 Add a disable button for the Details view.
1567 * src/main/java/org/glom/web/client/LayoutListView.java:
1569 2011-03-22 Ben Konrath <ben@bagu.org>
1571 Use a count query to get the number of rows for the list view pager.
1573 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1575 2011-03-22 Ben Konrath <ben@bagu.org>
1577 Add more TODO information about CellTable pager positioning.
1581 2011-03-19 Ben Konrath <ben@bagu.org>
1583 Add TODO item about CellTable pager positioning.
1587 2011-03-18 Ben Konrath <ben@bagu.org>
1589 Remove unneeded GlomFieldColumn class.
1591 This is just a small code cleanup.
1593 * src/main/java/org/glom/web/client/LayoutListView.java:
1595 2011-03-18 Ben Konrath <ben@bagu.org>
1597 Use cursor mode in the query that gets data for the list view.
1599 I still need to fix the potential memory problem when getting the row
1600 count for the list view.
1602 * TODO: Add note about testing memory usage with large data sets. Add
1603 item about fixing row counting with large data sets.
1604 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1605 PostgreSQL JDBC driver into cursor mode when getting data for the
1608 2011-03-15 Ben Konrath <ben@bagu.org>
1610 Remove the GWT Container from the Eclipse build classpath.
1612 The GWT dependencies are set by Maven so this isn't needed.
1616 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1618 Added some earlier mockups to git, but not to the tarball dist.
1620 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1621 Openismus. These hopefully show how we might structure the HTML so that
1622 it can be styled easily with CSS. However, we probably need to adapt them
1623 for the CSS structure that GWT dictates for common widgets.
1625 2011-03-14 Ben Konrath <ben@bagu.org>
1627 Locate OnlineGlom.properties using the ServletContext.
1629 This is required to be able to locate the file in the deployed servlet.
1631 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1632 Configure the database and glom document in in a helper method so
1633 that the ServletContext can be used to locate OnlineGlom.properties.
1634 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1635 src/main/webapp. This is the proper location for .properites files.
1637 2011-03-12 Ben Konrath <ben@bagu.org>
1639 Add note to README about why we're compiling down to obfuscated JavaScript.
1643 2011-03-11 Ben Konrath <ben@bagu.org>
1645 Use properties file to configure servlet.
1647 This allows people to change the glom file path, db username and db
1648 password without recompiling the code.
1650 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1651 * src/main/webapp/OnlineGlom.properties:
1653 2011-03-11 Ben Konrath <ben@bagu.org>
1655 Use table fields in layout list view if the layout list is not defined.
1657 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1658 Manually create a LayoutFieldVector for the query builder using the
1659 table fields when a layout list is not defined in the glom file.
1661 2011-03-11 Ben Konrath <ben@bagu.org>
1663 Only show FIXME string for images when there's an image.
1665 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1666 in this change are some small code cleanups.
1668 2011-03-11 Ben Konrath <ben@bagu.org>
1670 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1672 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1674 2011-03-11 Ben Konrath <ben@bagu.org>
1676 Correctly set the index of the default table.
1678 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1679 Correctly set the index of the default table. Add commented out example
1682 2011-03-10 Ben Konrath <ben@bagu.org>
1684 Add comment to pom.xml about the previous change.
1686 * pom.xml: Add comment about the deployment issue so that it's obvious
1687 why java-libglom is set to the provided scope.
1689 2011-03-10 Ben Konrath <ben@bagu.org>
1691 Change java-libglom dependency from compile to provided in pom.xml.
1693 Since java-libglom uses jni it can only be loaded once and therefore
1694 must be placed in $CATALINA_HOME/lib and not included in each war.
1695 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1696 More information about this issue can be found in the Tomcat 6 release
1697 notes in the "JNI Based Applications" section:
1699 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1701 * README: Remove note about this issue. Deployment info should really
1702 be on the wiki anyway so I'll add it right now.
1703 * pom.xml: Change java-libglom dependency from compile to provided so
1704 that it's copied in to the packaged war.
1706 2011-03-09 Ben Konrath <ben@bagu.org>
1708 Change to using a neutral locale for currency, date and time formatting.
1710 This solves the problem of currency values being represented without a
1711 space between the currency code and the number (e.g. "EUR5.89" is now
1712 represented as "EUR 5.89"). More work is required when we implement
1713 a locale preference setting.
1715 * TODO: Add note about currency formatting issues with different
1717 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1718 to using the neutral ROOT locale.
1720 2011-03-09 Ben Konrath <ben@bagu.org>
1722 Add support for currency codes that are not ISO 4217 codes.
1724 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1725 the currency code defined in the glom file when it's not 3 characters
1726 long or when Java doesn't recognize the string as an ISO 4217 code.
1728 2011-03-08 Ben Konrath <ben@bagu.org>
1730 Remove test classes, launch configurations and configuration.
1732 The test stuff was getting in the way when creating the war. To make
1733 the war file you can now do 'mvn clean package'. The packaged war file
1734 will be in the target directory.
1736 * .classpath: Remove unused classpathentry for tests and i18n.
1737 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1738 property. Don't run test or i18n goals when packaging the war.
1739 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1744 * OnlineGlomTest-dev.launch:
1745 * OnlineGlomTest-prod.launch:
1746 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1747 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1749 2011-03-07 Ben Konrath <ben@bagu.org>
1751 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1753 These fixes allow me to use 'mvn deploy' to create the war file.
1755 * .classpath: This generated config has been updated by Eclipse. This
1756 change was probably triggered by me updating from Eclipse 3.6.1 to
1758 * .gitignore: Add entry to ignore the directory
1759 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1760 * .project: The generated config has been updated by Eclipse. This
1761 change was probably triggered by me updating from Eclipse 3.6.1 to
1763 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1764 so that Eclipse doesn't complain
1765 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1766 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1767 'tests' directory to 'client' directory. This is the new
1768 gwt-maven-plugin convension.
1769 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1770 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1772 2011-03-07 Ben Konrath <ben@bagu.org>
1774 Add support for horizontal alignment in the LayoutList columns.
1776 * TODO: Remove item about horizontal alignment. Add item about
1777 improvements to ColumnInfo.
1778 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1779 alignment on the columns. Use ColumnInfo RPC object get the column
1780 title and horizontal alignment.
1781 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1782 LayoutListView creation with ColumnInfo RPC object.
1783 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1784 a ColumnInfo object for every LayoutList columnn. Convert the
1785 FieldFormatting.HorizontalAlignment to the correct
1786 ColumnnInfo.HorizontatlAlignment with the new
1787 getColumnInfoHorizontalAlignment helper method.
1788 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1789 to encapsulate column information like alignment and title. This
1790 could be used to set the colour instead of on a per cell field basis.
1791 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1792 column title storage and retrieval with ColumnInfo.
1794 2011-03-04 Ben Konrath <ben@bagu.org>
1796 Add support for column sorting.
1798 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1799 AsynDataProvider to be an anonymous inner class. Use new
1800 getSortedTableData RPC method when column sort is requested. Set all
1801 columns sortable and add an AsyncHandler to activate sorting in the
1803 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1804 method getSortedTableData(). Cleanup other method signatures.
1805 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1806 new method getSortedTableData(). Cleanup other method signatures.
1807 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1808 Implement getSortedTableData() and getTableData() methods by using a
1809 private helper method with the appropriate parameters filled in. Use
1810 user supplied sort clause when supplied, otherwise fall back to
1811 sorting by the primary key. Move destroy() method to be underneath
1812 constructor for readability. Cleanup comments.
1814 2011-03-03 Ben Konrath <ben@bagu.org>
1816 Add support for colour text and colour backgrounds to the layout list cells.
1818 Only the cell backgrounds are coloured which leaves a gap between the
1819 cells that isn't coloured. I need to figure out a way to set
1820 'style=background-colour:' on the whole column rather than just the
1823 * TODO: Add a note about colouring the background of the whole column.
1824 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1825 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1826 render the coloured text and backgrounds. Use GlomField[] for the row type.
1827 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1829 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1830 GlomField[] for the row type.
1831 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1832 GlomField[] for the row type. Set the text, text colour and background
1833 colour in the GlomField objects as specified in the glom document. Add
1834 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1835 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1836 the glom field text, foreground colour and background colour.
1838 2011-03-02 Ben Konrath <ben@bagu.org>
1840 Don't display hidden tables in the combo box.
1842 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1844 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1845 code to ignore hidden tables using ArrayLists for the table names and
1847 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1848 tableNames to use ArrayLists instead of String[]. Update getter and setter
1851 2011-03-01 Ben Konrath <ben@bagu.org>
1853 Add support for Date and Time number types.
1855 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1856 Implement formatting for Date and Time values. Change the default glom
1857 file to small business example.
1859 2011-03-01 Ben Konrath <ben@bagu.org>
1861 Add support for formatting glom types as specified in the glom file.
1863 Formatting isn't finished yet - I still need to add support for Date
1866 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1867 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1868 checks for null values in JDBC cleanup code and catch all exceptions
1869 instead of just SQLExceptions.
1870 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1873 2011-03-01 Ben Konrath <ben@bagu.org>
1875 Use GWT 2.2.0 instead of 2.1.1.
1877 * pom.xml: Change GWT version numbers.
1879 2011-03-01 Ben Konrath <ben@bagu.org>
1881 A few small code cleanups.
1883 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1885 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1886 unnecessary object creation in constructor.
1887 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1888 unnecessary object creation in constructor.
1890 2011-02-28 Ben Konrath <ben@bagu.org>
1892 Add file for TODO list.
1896 2011-02-18 Ben Konrath <ben@bagu.org>
1898 Enable the CellTable Pager when more than 20 rows need to be viewed.
1900 The Pager will automatically become active when the results are larger
1901 than the CellTable size which is currently set to 20 lines.
1903 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1904 name on debug statment in RPC call in LayoutListDataProvider, add
1905 numRows parameter to LayoutListView constructor, propperly set rowCount
1907 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1908 name on debug statment in RPC call, use LayoutListTable object in RPC
1909 calls, pass rowCount to LayoutListView.
1910 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1911 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1913 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1914 interface for changes in OnlineGlomService.
1915 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1916 getLayoutListHeaders() to getLayoutListTable() and return
1917 LayoutListTable. Using this object allows me to pass other information
1918 about the LayoutList like the expected number of rows in the result set.
1919 The Connection object from the connection pool is now propperly closed.
1920 Only the requested number of lines are returned to the client in
1922 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1923 GlomTable and add columnTitles and numRows.
1925 2011-02-18 Ben Konrath <ben@bagu.org>
1927 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1929 This is a small performance boost. I'll use GlomTable to get the required
1930 layoutlist information.
1932 * src/main/java/org/glom/web/client/OnlineGlom.java:
1933 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1934 * src/main/java/org/glom/web/shared/GlomDocument.java:
1936 2011-02-18 Ben Konrath <ben@bagu.org>
1938 Add option to turn off formatting in JDT formatter preferences.
1940 * .settings/org.eclipse.jdt.core.prefs:
1942 2011-02-18 Ben Konrath <ben@bagu.org>
1944 Rename LayoutList to LayoutListView.
1946 I'm working towards setting things up to easily use MVP when the time
1949 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1951 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1954 2011-02-17 Ben Konrath <ben@bagu.org>
1956 Move LayoutListDataProvider class into LayoutList.java.
1958 * src/main/java/org/glom/web/client/LayoutList.java:
1960 2011-02-17 Ben Konrath <ben@bagu.org>
1962 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1964 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1966 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1967 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1968 from LibGlomServer.java.
1969 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1970 Rename from LibGlomServiceAsync.java.
1971 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1972 Rename from LibGlomServiceImpl.java.
1973 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1975 2011-02-17 Ben Konrath <ben@bagu.org>
1977 Update JDT settings.
1979 * .settings/org.eclipse.jdt.core.prefs:
1981 2011-02-17 Ben Konrath <ben@bagu.org>
1983 Move GWT-RPC objects to shared package (where they should be).
1985 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1986 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1987 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1988 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1989 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1990 org.glom.web.shared package.
1991 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1992 org.glom.web.shared package.
1993 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1994 directory in compilation to javascript.
1996 2011-02-16 Ben Konrath <ben@bagu.org>
1998 Add sort clause to the sql query that grabs table information.
2000 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
2001 if one of the columns is a primary key.
2003 2011-02-16 Ben Konrath <ben@bagu.org>
2005 Disable generateAsync feature of gwt-maven.
2007 The generated interface does not correctly match the methods in LibGlomService
2008 and the generated singleton Util inner-class doesn't respect the servlet
2011 * pom.xml: Turn off generateAsync feature.
2012 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
2013 with singleton Util inner-class.
2015 2011-02-14 Ben Konrath <ben@bagu.org>
2017 Add LGPL v3 licence notices.
2019 Followed directions listed here:
2020 http://www.gnu.org/licenses/gpl-howto.html
2022 * COPYING: This file is a copy of the GPL v3.
2023 * COPYING.LESSER: This file is a copy of the LGPL v3.
2024 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
2026 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
2028 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
2030 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
2032 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
2034 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
2036 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2039 2011-02-14 Ben Konrath <ben@bagu.org>
2041 Use ArrayList instead of Array in GWT-RPC calls.
2043 Apparently this gives a slight performance boost to the compiled
2046 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
2048 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
2051 2011-02-14 Ben Konrath <ben@bagu.org>
2053 Access data from a postgres db rather than the example glom file.
2055 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
2056 compile down to obfuscated javascript.
2057 * pom.xml: Add c3p0 and postgres JDBC libraries.
2058 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
2059 using a postgres db accessed through the c3p0 connection pooling library.
2061 2011-02-14 Ben Konrath <ben@bagu.org>
2063 Update Java formatter settings.
2065 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
2067 2011-02-02 Ben Konrath <ben@bagu.org>
2069 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
2071 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
2073 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
2074 the compiled webapp directory that Eclipse uses as we're using Maven now.
2075 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
2076 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
2078 * pom.xml: Format file, change target Java version to 1.6.
2080 2011-02-02 Ben Konrath <ben@bagu.org>
2082 Add information about a deployment related issue.
2084 * README: Add Notes section with the problem outlined.
2086 2011-02-02 Ben Konrath <ben@bagu.org>
2088 Call Glom.libglom_deinit() when the servlet is shutdown.
2090 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
2091 Glom.libglom_deinit() to destroy() method.
2093 2011-01-28 Ben Konrath <ben@bagu.org>
2095 Use generated Util class to get the RPC Async interface.
2097 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
2099 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
2100 getInstance() method to get a reference to the RPC Async interface.
2101 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
2102 getInstance() method to get a reference to the RPC Async interface, remove
2103 the now unused getLibGlomServiceProxy() method.
2105 2011-01-27 Ben Konrath <ben@bagu.org>
2107 Cleanup ChangeLog entry from previous commit.
2109 * ChangeLog: Group logical changes together and add comments.
2111 2011-01-25 Ben Konrath <ben@bagu.org>
2113 Convert to gwt-maven project.
2115 * .gitignore: Update for new project structure.
2116 * README: New file with a link to the online documentation.
2117 * pom.xml: The generated maven configuration file with some tweaks.
2119 Add / update Eclipse settings. These files are a merge of the files that
2120 were generated with the gwt-maven plugin and the files we were previously
2124 * .settings/.jsdtscope:
2125 * .settings/com.google.gdt.eclipse.core.prefs:
2126 * .settings/com.google.gwt.eclipse.core.prefs:
2127 * .settings/org.eclipse.jdt.core.prefs:
2128 * .settings/org.eclipse.wst.common.component:
2129 * .settings/org.eclipse.wst.common.project.facet.core.xml:
2130 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
2131 * .settings/org.maven.ide.eclipse.prefs:
2132 * OnlineGlomTest-dev.launch:
2133 * OnlineGlomTest-prod.launch:
2135 Java source files moved from the 'src' directory to the directory structure
2137 * src/main/java/org/glom/web/client/GlomDocument.java:
2138 * src/main/java/org/glom/web/client/GlomTable.java:
2139 * src/main/java/org/glom/web/client/LayoutList.java:
2140 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
2141 * src/main/java/org/glom/web/client/LibGlomService.java:
2142 * src/main/java/org/glom/web/client/OnlineGlom.java:
2143 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
2145 Non-functional property file used for translations. I included this as
2146 reminder that it's something I need to sort out.
2147 * src/main/resources/org/glom/web/client/Messages.properties:
2149 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
2150 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
2152 The servlet configuration files moved from the 'war' directory.
2153 * src/main/webapp/OnlineGlom.css:
2154 * src/main/webapp/OnlineGlom.html:
2155 * src/main/webapp/WEB-INF/web.xml:
2157 Generated test files with most of the code commented out. I included these
2158 so that it's easy to add tests when we're ready for them.
2159 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
2160 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
2162 2011-01-25 Ben Konrath <ben@bagu.org>
2164 Remove unused println.
2166 * src/org/glom/web/server/LibGlomServiceImpl.java:
2168 2011-01-25 Ben Konrath <ben@bagu.org>
2170 Add project specific JDT settings.
2172 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
2173 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
2175 2011-01-25 Ben Konrath <ben@bagu.org>
2177 Populate celltable with example data.
2179 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
2180 * src/org/glom/web/client/GlomTable.java: Correct formatting.
2181 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
2182 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
2183 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
2184 asynchronously gets the example data.
2185 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
2186 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
2187 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
2188 curently selected table to be retrieved by other widgets.
2189 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
2190 implement getTableData() in a hacky way. This method needs to be updated
2191 to grab information from the database when database creating is
2194 2011-01-20 Ben Konrath <ben@bagu.org>
2196 Set table headers when table dropBox changes.
2198 * src/org/glom/web/client/GlomDocument.java: Correct some method
2200 * src/org/glom/web/client/LibGlomService.java: Add method
2201 to get list layout field names.
2202 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
2203 to get list layout field names.
2204 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
2205 widget for list layout table.
2206 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
2207 the table drop box and add new updateTable() method to asynchronously
2208 get the layout list field names for the currently selected table.
2209 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
2210 implementation of getLayoutListHeaders() method.
2211 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
2213 2011-01-18 Ben Konrath <ben@bagu.org>
2215 Make a listBox with table titles instead of the flexTable demo.
2217 This is the start of something more useful.
2219 * .classpath: Exclude a bunch of packages from the JVM that are
2220 getting in the way of the Eclipse content assist.
2221 * src/org/glom/web/client/GlomDocument.java:
2222 * src/org/glom/web/client/GlomTable.java:
2223 * src/org/glom/web/client/LibGlomService.java:
2224 * src/org/glom/web/client/LibGlomServiceAsync.java:
2225 * src/org/glom/web/client/OnlineGlom.java:
2226 * src/org/glom/web/server/LibGlomServiceImpl.java:
2227 * war/OnlineGlom.html:
2228 * war/WEB-INF/web.xml:
2230 211-01-13 Ben Konrath <ben@bagu.org>
2232 Update to new java-libglom API.
2234 * .gitignore: Ignore OnlineGlom.war.
2235 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
2237 2010-12-20 Ben Konrath <ben@bagu.org>
2239 Add some basic style to the table listing.
2241 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
2242 header, print useful error message on async callback failure.
2243 * war/OnlineGlom.css: Add style for table header, remove defaults
2244 provided by the Eclipse project wizard.
2246 2010-12-20 Ben Konrath <ben@bagu.org>
2248 Load example file from installed glom dir.
2250 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
2251 provided by java-libglom to find the example file.
2253 2010-12-20 Ben Konrath <ben@bagu.org>
2255 Update Eclipse settings.
2258 * .settings/com.google.gdt.eclipse.core.prefs:
2259 * .settings/com.google.gwt.eclipse.core.prefs:
2261 2010-12-17 Ben Konrath <ben@bagu.org>
2265 * .classpath: New file.
2266 * .gitignore: New file.
2267 * .project: New file.
2268 * .settings/com.google.gdt.eclipse.core.prefs: New file.
2269 * .settings/com.google.gwt.eclipse.core.prefs: New file.
2270 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
2271 * src/org/glom/web/client/GlomTable.java: New file.
2272 * src/org/glom/web/client/OnlineGlom.java: New file.
2273 * src/org/glom/web/client/TableNameService.java: New file.
2274 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
2275 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
2276 * war/OnlineGlom.css: New file.
2277 * war/OnlineGlom.html: New file.
2278 * war/WEB-INF/web.xml: New file.
2279 * war/images/glom.png: New file.