]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f9d8cb96990d9432dd08ca3988138a865184f56e
[lyx.git] / src / ChangeLog
1 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2
3         * text.C (backspace): fix the "zombie characters"
4
5 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
6
7         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
8
9 2003-10-27  André Pönitz  <poenitz@gmx.net>
10
11         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
12
13         * factory.C: handle new InsetPagebreak, InsetLine
14
15         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
16         and move handling into new InsetPagebreak, InsetLine
17
18         * BufferView_pimpl.C:
19         * LyXAction.C:
20         * ParagraphParameters.C:
21         * ParameterStruct.h:
22         * lyxfunc.C:
23         * lyxtext.h:
24         * paragraph.C:
25         * paragraph.h:
26         * paragraph_funcs.C:
27         * paragraph_pimpl.C:
28         * rowpainter.C:
29         * text.C:
30         * text2.C:
31         * text3.C: adjust
32
33 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
34
35         * text.C: 
36         * lyxrow_funcs.[Ch]: 
37         * Bidi.C: 
38         * paragraph.C: 
39         * lyxtext.h: 
40         * rowpainter.C: 
41         * text2.C: 
42         * text3.C: remove lastPos uses in favour of Row::endpos
43
44 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
45
46         * undo.C (performUndoOrRedo): fix two crashes by setting a
47         cursor by hand and reordering some calls. Use bv->lockInset instead
48         of inset->edit because the latter loses cursor information
49
50 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
51
52         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested 
53         by Martin
54         (rowBreakPoint): fix width. change point to point + 1. 
55         Add a missing check.
56
57 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
58
59         * MenuBackend.C:
60         * lyxfunc.C: fix (at least partly) the problems
61         with the Nav menu and headers inside branch insets
62         reported by Kayvan
63
64 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
65
66         * paragraph.C (getChar): add strong asserts
67
68         * lyxrow_funcs.C (lastPos): remove hideous hack
69
70         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
71         (fill): adjust to that (avoid an infinite loop)
72
73 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
74
75         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
76
77 2003-10-23  André Pönitz  <poenitz@gmx.net>
78         
79         * RowList_fwd.h: change list<> to vector<> to gain speed
80         after suggestion from Alfredo
81
82 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
83
84         * lyxtext.h: move the bidi stuff from here...
85         * text.C: and here
86         * text2.C: and here
87         * Bidi.[Ch]: ... to here
88
89 2003-10-23  André Pönitz  <poenitz@gmx.net>
90
91         * lyxtext.h:
92         * text.C (isLastRow, isFirstRow): new functions
93
94         * paragraph.h: new width cache member
95
96         * rowpainter.C: replace RowList::iterator with Row & where possible
97
98         * lyxfunc.C: replace several view()->text with a single call
99
100         * toc.C: fix 'unused' warning
101
102 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
103
104         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
105         when woring with stream::pos_type
106         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
107
108 2003-10-22  André Pönitz  <poenitz@gmx.net>
109
110         * lyxtext.h:
111         * text.C: use Row & instead of RowList::iterator
112
113         * lyxrow.h: rename end() to endpos()
114
115         * rowpainter.C:
116         * text.C:
117         * text2.C: adjust
118
119 2003-10-22  Angus Leeming  <leeming@lyx.org>
120
121         * buffer.[Ch] (fully_loaded): new member function, returning true
122         only when the file has been loaded fully.
123         Used to prevent the premature generation of previews and by the
124         citation inset to prevent computation of the natbib-style label.
125
126         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
127         templates are all set up.
128
129         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
130
131 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
132
133         * text.C: fixed an "oops" in the "is a bit silly"
134         bug fix
135
136 2003-10-21  André Pönitz  <poenitz@gmx.net>
137
138         * FuncStatus.[Ch]: small stuff, whitespace
139
140         * lyxfont.[Ch]: operator<<() for debug reasons
141
142         * lyxfunc.C:
143         * lyxrow_funcs.C:
144         * lyxtext.h: whitespace, spelling
145
146         * paragraph.C: naming of variables
147
148         * text.C:
149         * text2.C: small stuff
150
151
152 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * text.C: (1) finish off the inset display() work;
155         (2) fix the "is a bit silly" bug (accessing char
156         past end of par).
157
158 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
159
160         * text.C: re-introduce display() for insets, fixing the
161         various bugs (stretch of line above, math inset
162         positioning, ...)
163
164 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
165
166         * text.C (rightMargin): remove spurious semicolon
167
168         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
169         1415)
170
171 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
172
173         * text3.C: fix one crash due to wrong cursor def
174
175 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
176
177         * vc-backend.C (scanMaster): make the regex static
178
179         * LaTeX.C (scanAuxFile): make the regexs static
180
181         * text3.C (doInsertInset, dispatch, dispatch):
182         * text2.C (cursorUp, cursorDown):
183         * text.C (selectNextWordToSpellcheck):
184         * BufferView_pimpl.C (dispatch):
185         * lyxfunc.C (dispatch):  localDispatch -> dispatch
186
187 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * lyxsocket.C: include <cerrno>
190
191 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
192
193         * lyxfunc.C (dispatch): remove textcache stuff
194
195         * bufferlist.C (release): remove textcache stuff
196         (closeAll): ditto
197
198         * TextCache.C: delete file
199         * TextCache.h: delete file
200
201         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
202
203         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
204         delete of the bv_->text.
205         (resizeCurrentBuffer): remove texcache stuff
206         (workAreaResize): ditto
207
208 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
209
210         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
211         action.
212
213 2003-10-16  André Pönitz  <poenitz@gmx.net>
214
215         * lyxrow.[Ch]:
216         * paragraph.h:
217         * rowpainter.C:
218         * text.C:
219         * text2.C:
220         * text3.C: speed up by storing y positions per paragraph plus per-row
221         offset instead of having a 'full' y position in the row.
222
223 2003-10-15  André Pönitz  <poenitz@gmx.net>
224
225         * iterators.[Ch]:
226         * iterators.[Ch]:
227         * undo.[Ch]: make undo aware of inner insets
228
229 2003-10-14  Angus Leeming  <leeming@lyx.org>
230
231         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
232         static member functions LyX::ref() and LyX::cref.
233         (lastfiles): new accessor functions for the new lastfiles_ member var.
234         (addLyXView, views_): add a new LyXView to the list of views_.
235         (updateInset): loop over all LyXViews to call their own updateInset
236         member function, returning a pointer to the Buffer owning the inset.
237
238         * BufferView_pimpl.C (loadLyXFile):
239         * MenuBackend.C (expandLastfiles):
240         * bufferlist.C (MenuWrite, QuitLyX):
241         lastfiles is no longer a global variable.
242         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
243
244         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
245         static function. Access through LyX::cref().emergencyCleanup().
246
247 2003-10-14  André Pönitz  <poenitz@gmx.net>
248
249         * iterators.[Ch]: new direct access to innermost LyXText and Inset
250
251         * undo.[Ch]: restoring part of 'undo in insets'
252
253         * Makefile.am:
254         * undo_funcs.[Ch]: merge with undo.[Ch]
255
256         * tabular.C: small cleansing stuff
257
258 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
259
260         * paragraph_funcs.C (readParToken): report unknown insets as error
261         boxes. Use the outer paragraph as location (also for unknown
262         tokens).
263
264         * factory.C (readInset): do not abort on reading an unknown inset.
265         Eat it and return 0.
266
267 2003-10-13  Angus Leeming  <leeming@lyx.org>
268
269         * lyx_main.C (LyX): remove call to setDisplayTranslator().
270
271         * lyxrc.C: displayTranslator is now a function,
272         declared in GraphicsTypes.h.
273
274 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
275
276         * format.C: new placeholder $$a to pass the socket address.
277
278         * bufferlist.[Ch]: new function getBufferFromTmp.
279
280         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
281           files in the temporary dir.
282
283 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
284
285         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
286
287         * Makefile.am: add lyxsocket.[Ch].
288
289         * lyx_main.C (error_handler): handle SIGPIPE.
290
291 2003-10-13  André Pönitz  <poenitz@gmx.net>
292
293         * BufferView_pimpl.C:
294         * lyxtext.h:
295         * text.C:
296         * text2.C:
297         * text3.C:
298         * undo_funcs.[Ch]: use paroffset_type instead of
299           ParagraphList::iterators to prevent multiple conversion
300           (and get a more robust interface)
301
302 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
303
304         * lyxfunc.C (dispatch): RESULT -> dispatch_result
305         * lyxtext.h: ditto
306         * text3.C (dispatch): ditto
307
308 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
309
310         * LaTeX.C (handleFoundFile): move the static to smaller scope,
311         move the onlyfile, use onlyfile instead of foundfile in a couple
312         of places.
313
314         * DepTable.C (update): flush the error stream a bit more
315
316 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
317
318         * lyxserver.C (callback): adjust
319
320         * lyxfunc.C (getStatus): add a missing brace in commented code
321         (ensureBufferClean): reindent
322         (dispatch): delete version taking a string
323
324 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
325
326         * LaTeX.C (deplog): move found file handlig from here...
327         (handleFoundFile): .. to new function here.
328         (deplog): make sure to discover several files mentioned on the
329         same log line.
330
331 2003-10-10  André Pönitz  <poenitz@gmx.net>
332
333         * lyxfunc.C:
334         * lyxtext.h:
335         * tabular.C:
336         * text.C:
337         * text2.C:
338         * text3.C: fix some of the tabular crashes
339
340 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
341
342         * MenuBackend.C (binding): put debug message into Debug::KBMAP
343
344         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
345
346 2003-10-09  André Pönitz  <poenitz@gmx.net>
347
348         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
349
350         * BufferView.C:
351         * BufferView_pimpl.C:
352         * bufferview_funcs.C:
353         * lyx_cb.C:
354         * lyxcursor.C:
355         * lyxfind.C:
356         * lyxfunc.C:
357         * lyxtext.h:
358         * text.C:
359         * text2.C:
360         * text3.C:
361         * text_funcs.[Ch]:
362         * textcursor.[Ch]:
363         * undo_funcs.C: adjust
364
365 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
366
367         * text2.C (incrementItemDepth): new function, use a backtracking
368         algorithm to discover the correct item depth.
369         (resetEnumCounterIfNeeded): new function, use a backtracking
370         algorithm to discover if counter reset is needed.
371         (setCounter): use them. Simplify a bit. Add different labels for
372         different item depths for itemize.
373
374         * paragraph.C (Paragraph): remove initialization of enumdepth
375         (operator=): ditto
376
377         * paragraph.h: get rid of enumdepth, and use itemdepth both for
378         enumerate and itemize. Change the type of itemdepth to signed char.
379
380 2003-10-08  André Pönitz  <poenitz@gmx.net>
381
382         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
383           thing assignable.
384         * text.C:
385         * text2.C: adjust
386
387         * tabular.[Ch]: fix crash after 'row-insert'
388
389 2003-10-08  Angus Leeming  <leeming@lyx.org>
390
391         Fix doxygen warnings.
392
393         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
394         Remove CutAndPaste:: prefix from header file declaration.
395
396         * LColor.h (fill): remove LColor:: prefix from declaration.
397
398         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
399         use lyx::depth_type rather than Paragraph::depth_type so that
400         header file and .C file match.
401
402         * converter.h (intToFormat): remove Converters:: prefix from declaration.
403
404         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
405         * aspell.C: \file aspell_local.C -> \file aspell.C
406         * gettext.C: \file gettext.C -> \file src/gettext.C
407         * gettext.h: \file gettext.h -> \file src/gettext.h
408         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
409         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
410         * text.C: \file text.C -> \file src/text.C
411
412         * toc.C: move comment so that doxygen is not confused.
413
414 2003-10-07  Angus Leeming  <leeming@lyx.org>
415
416         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
417
418 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
419
420         * aspell.C:
421         * aspell_local.h: add forgotten std::string's.
422
423 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
424
425         * LaTeXFeatures.C:
426         * LyXAction.C:
427         * factory.C:
428         * lfuns.h:
429         * lyxfunc.C:
430         * text3.C: The Box patch. Fancybox support, minipage, parbox
431
432 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
433
434         * CutAndPaste.h:
435         * DepTable.h:
436         * FloatList.h:
437         * LaTeXFeatures.h:
438         * ParagraphParameters.h:
439         * TextCache.h:
440         * Thesaurus.h:
441         * bufferlist.h:
442         * exporter.h:
443         * importer.h:
444         * lastfiles.h:
445         * lyxfind.h:
446         * lyxfont.h:
447         * lyxlex.h:
448         * lyxtextclasslist.h:
449         * messages.h:
450         * paragraph.h:
451         * paragraph_pimpl.C:
452         * textcursor.h: add <string> and other small fixes to make Lars'
453         std::string patch compile with STLport.
454
455 2003-10-06  Angus Leeming  <leeming@lyx.org>
456
457         * LColor.h: Add missing #include <string>.
458
459 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
460
461         * All most all file in all subdirs: Make <string> be the prefered
462         way of getting to std::string, add using declarations.
463
464 2003-10-06  André Pönitz  <poenitz@gmx.net>
465
466         * metricsinfo.C: initialize LyXFont before changing attribute.
467         (fixes the 'math in \emph is upright' bug)
468
469 2003-10-06  André Pönitz  <poenitz@gmx.net>
470
471         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
472
473 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
474
475         * graph.C:
476         * paragraph_pimpl.C: Small fixes to build using STLport
477
478 2003-10-02  André Pönitz  <poenitz@gmx.net>
479
480         * lyxfunc.C:
481         * text3.C: move handling of LFUN_DEPTH *; fix #1360
482
483 2003-10-01  André Pönitz  <poenitz@gmx.net>
484
485         * factory.C: assert early
486
487 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
488
489         * lyx_main.C: remove the global debug object
490
491         * debug.h: adjust for new debugstream
492
493         * debug.C: adjust for new debugstream and keep the global debug
494         object here.
495
496 2003-09-22  Angus Leeming  <leeming@lyx.org>
497
498         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
499         of g++ which otherwise complain that the scoped_ptr destructor can't delete
500         an incomplete class LyXFont.
501
502 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * factory.C: bug fix in branches
505
506 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
507
508         * lyxfunc.C (processKeySym): adjust
509         (dispatch): adjust
510         (dispatch): change arg name from ev to func, adjust
511         (sendDispatchMessage): ditto
512
513         * lyx_main.C (defaultKeyBindings): adjust keybindings
514         (deadKeyBindings): ditto
515
516         * kbsequence.C (addkey): return a FuncRequest
517
518         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
519
520         * kbmap.C (bind): take a FuncRequest as arg, adjust
521         (read): adjust
522         (lookup): adjust
523         (defkey): change to take a FuncRequest as arg, adjust
524         (findbinding): take a FuncRequest as arg, adjust.
525
526         * funcrequest.h (operator=): added
527
528         * funcrequest.C (FuncRequest): default kb_action changed from
529         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
530
531         * buffer.C (dispatch): simplify
532         (dispatch): adjust to take a FuncRequest as arg, adjust
533
534         * boost.C (assertion_failed): change assertion message slightly
535
536         * ToolbarBackend.C (read): simplify
537
538         * MenuBackend.C (binding): adjust call to findbinding, add a
539         message if no binding is found.
540         (read): simplify
541         (expandToc): correct by adding a empty FuncRequest
542
543         * LyXAction.C: include <boost/assert.hpp>
544         (isPseudoAction): delete function
545         (LookupFunc): change name to...
546         (lookupFunc): this. change return type to FuncRequest.
547         (getActionName): take kb_action as arg, simplify
548         (funcHasFlag): add an assert, simplify.
549
550 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
551
552         * toc.C (action): return a FuncRequest, simplify
553
554         * lyxfunc.C (processKeySym): adjust
555         (getStatus): delete version that takes an int.
556         (getStatus): adjust
557         (dispatch): delete version that takes action as int
558         (dispatch): adjust
559         (sendDispatchMessage): simplify and adjust
560
561         * funcrequest.C (getArg): take unsigned int as arg
562
563         * ToolbarBackend.C (read): adjust
564         (add): delete version that takes func as a string.
565         (getIton): take a FuncRequest as arg
566
567         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
568         action.
569
570         * MenuBackend.C (MenuItem): add a new construct that only takes a
571         Kind, simplify the constructor use for submenus.
572         (add): adjust
573         (expandLastfiles): adjust
574         (expandDocuments): adjust
575         (expandFormats): adjust
576         (expandFloatListInsert): adjust
577         (expandFloatInsert): adjust
578         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
579
580         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
581         Remove class variables lyx_pseudo_map and lyx_arg_map
582
583         * LyXAction.C (searchActionArg): delete function
584         (getPseudoAction): delete function
585         (retrieveActionArg): delete function
586         (LookupFunc): make it return kb_action, simplify.
587         (getActionName): simplify
588
589         * factory.C (createInset): fix new bug
590
591 2003-09-19  Angus Leeming  <leeming@lyx.org>
592
593         * CutAndPaste.C (pasteSelection): remove fudge used to set the
594         masterFilename_ parameter in the include inset.
595
596         * factory.C (createInset): changes due to the changes to InsetInclude.
597
598 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
599
600         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
601
602 2003-09-18  Angus Leeming  <leeming@lyx.org>
603
604         * buffer.C:
605         * BufferView.C: pass the buffer when calling Inset::getLabelList,
606         Inset::fillWithBibKeys.
607         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
608
609 2003-09-18  Angus Leeming  <leeming@lyx.org>
610
611         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
612         variables.
613         (ctor): pass and store a 'Buffer const &'
614         (buffer): new member function.
615
616         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
617         '*this' to the LaTeXFeatures ctor.
618
619 2003-09-18  Angus Leeming  <leeming@lyx.org>
620
621         * LColor.h:
622         * lyxfont.C:
623         * lyxfont.h:
624         * lyxtext.h:
625         * text.C: rename EnumLColor as LColor_color.
626
627 2003-09-18  Angus Leeming  <leeming@lyx.org>
628
629         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
630         remove #include "insets/insetbase.h" from cursor.h.
631
632 2003-09-18  Angus Leeming  <leeming@lyx.org>
633
634         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
635         InsetOld_code to remove #include "inset.h".
636
637         * iterators.C: add #include "insets/inset.h"
638
639 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
640
641         * BufferView.C: remove more locking stuff that apparently doesn't
642         do anything sensible.
643
644 2003-09-16  André Pönitz  <poenitz@gmx.net>
645
646         * paragraph.[Ch]:
647         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
648           performance boost.
649
650 2003-09-16  Angus Leeming  <leeming@lyx.org>
651
652         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
653
654         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
655         arg/return type.
656
657         * paragraph.h: remove #include "lyxfont.h". Forward declare
658         LyXFont_size.
659
660 2003-09-16  Angus Leeming  <leeming@lyx.org>
661
662         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
663         of support/textutils.h.
664         (isWord): move the contents of support/textutils.h's IsWordChar here.
665
666         * buffer.C:
667         * lyxfind.C:
668         * rowpainter.C:
669         * text.C:
670         * text2.C: add #include "paragraph.h".
671
672         * rowpainter.C:
673         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
674
675 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
676
677         * main.C:
678         * lyx_main.C:
679         * lyx_cb.C:
680         * buffer.C:
681         * LaTeX.C: use namespace alias for lyx::support::os
682
683 2003-09-16  Angus Leeming  <leeming@lyx.org>
684
685         * bufferparams.C:
686         * bufferview_funcs.C:
687         * factory.C:
688         * lyxfunc.C:
689         * paragraph_pimpl.C:
690         * rowpainter.C:
691         * text.C: add #include "LColor.h".
692
693 2003-09-16  Angus Leeming  <leeming@lyx.org>
694
695         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
696         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
697         return LyXFont &.
698         Store the FontBits::color variable as an int rather than as an
699         LColor::colorso that we can move LColor.h out of the lyxfont.h header
700         file.
701
702         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
703         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
704         string calls together.
705
706         * lyxrc.C: add #include "LColor.h".
707
708 2003-09-15  Angus Leeming  <leeming@lyx.org>
709
710         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
711         a cow_ptr.
712
713 2003-09-15  Angus Leeming  <leeming@lyx.org>
714
715         * LColor.h: add an EnumLColor wrapper for LColor::color.
716
717         * lyxfont.[Ch] (color, setColor, realColor):
718         * lyxtext.h, text.C (backgroundColor):
719         pass EnumLColor args to/from the functions, rather than LColor::color
720         ones.
721
722         * lyxfont.h:
723         * lyxtext.h: forward declare EnumLColor.
724
725         * lyx_main.C: add #include "LColor.h".
726
727 2003-09-15  Angus Leeming  <leeming@lyx.org>
728
729         * .cvsignore: add lyx-gtk.
730
731 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
732
733         * Chktex.C
734         * LaTeX.C
735         * LaTeXFeatures.C
736         * ParagraphParameters.C
737         * Spacing.C
738         * buffer.C
739         * bufferparams.C
740         * bufferview_funcs.C
741         * chset.C
742         * counters.C
743         * funcrequest.C
744         * lyxfont.C
745         * lyxgluelength.C
746         * lyxlength.C
747         * paragraph.C
748         * paragraph_funcs.C
749         * text3.C
750         * vc-backend.C: remove usage of STRCONV
751
752 2003-09-15  Angus Leeming  <leeming@lyx.org>
753
754         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
755         explicitly define the color passed to the painter.
756
757 2003-09-15  Angus Leeming  <leeming@lyx.org>
758
759         * bufferparams.C (BufferParams): reorder member initializers to avoid
760         compiler warning.
761
762 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
763
764         * CutAndPaste.C (pasteSelection): remove an outdated #warning
765         * text.C (updateRowPositions): remove an unusual nop
766
767 2003-09-12  André Pönitz  <poenitz@gmx.net>
768
769         * BufferView_pimpl.C:
770         * Bullet.C:
771         * layout.h:
772         * lyxfunc.C:
773         * lyxlayout.[Ch]:
774         * lyxtextclass.C:
775         * rowpainter.C:
776         * text.C:
777         * text2.C:
778         * Counters.[Ch]: finish the 'automatic counters' job
779
780 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
781
782         * aspell.C: include <boost/assert.cpp> (compile fix)
783
784 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
785
786         * boost.C (assertion_failed): use lyx::support::abort instead of
787         assert.
788
789 2003-09-10  Angus Leeming  <leeming@lyx.org>
790
791         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
792         with their _fwd progeny.
793
794 2003-09-09  Angus Leeming  <leeming@lyx.org>
795
796         134 files throughtout the source tree: replace 'using namespace abc;'
797         directives with the appropriate 'using abc::xyz;' declarations.
798
799 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
800
801         * boost.C (emergencyCleanup): moved here from LAssert.c
802         (assertion_failed): new function, called by BOOST_ASSERT
803
804         * several files: change Assert to BOOST_ASSERT
805
806 2003-09-09  Angus Leeming  <leeming@lyx.org>
807
808         * buffer.[Ch]: Add an Impl class and move Buffer's member
809         variables into it. As a result move several header files out of
810         buffer.h.
811
812         Add header files to lots of .C files all over the tree as a result.
813
814 2003-09-09  Angus Leeming  <leeming@lyx.org>
815
816         * buffer.[Ch]: make Buffer's member variables private. Add
817         accessor functions.
818
819         Lots of changes all over the tree as a result.
820
821 2003-09-08  Angus Leeming  <leeming@lyx.org>
822
823         * graph.C: #include <config.h>.
824
825 2003-09-08  Angus Leeming  <leeming@lyx.org>
826
827         * BranchList.C:
828         * BufferView.C:
829         * BufferView_pimpl.C:
830         * CutAndPaste.C:
831         * DepTable.C:
832         * LaTeX.C:
833         * LaTeXFeatures.C:
834         * LyXAction.C:
835         * MenuBackend.C:
836         * TextCache.C:
837         * aspell.C:
838         * buffer.C:
839         * bufferlist.C:
840         * changes.C:
841         * chset.C:
842         * converter.C:
843         * counters.C:
844         * debug.C:
845         * graph.C:
846         * ispell.C:
847         * lyx_cb.C:
848         * lyxfind.C:
849         * lyxfunc.C:
850         * lyxlex_pimpl.C:
851         * lyxrc.C:
852         * lyxrow.C:
853         * paragraph.C:
854         * rowpainter.C:
855         * texrow.C:
856         * text.C:
857         * text2.C:
858         * toc.C: remove redundant using directives.
859
860 2003-09-07  Angus Leeming  <leeming@lyx.org>
861
862         * LaTeXFeatures.h: remove #include "support/types.h".
863         * ToolbarBackend.h: remove #include <algorithm>.
864         * changes.h: remove #include <ctime>.
865         * debug.h: remove #include <iosfwd>.
866         * graph.h: remove #include "support/std_string.h".
867         * lyx_main.h: remove #include <csignal>.
868         * lyxlex_pimpl.h: remove #include <fstream>.
869         * sgml.h: remove #include <algorithm>, <utility>.
870         * toc.h: remove #include "support/std_ostream.h".
871         Add #include <iosfwd>.
872
873 2003-09-07  Angus Leeming  <leeming@lyx.org>
874
875         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
876
877         * converter.h: forward declare LatexRunParams.
878         * encoding.h: remove #include "lyxrc.h".
879         * lyxtext.h: remove #include "LColor.h".
880         * lyxtextclass.h: remove #include "support/types.h".
881         * trans.h: remove #include "tex-accent.h".
882         * trans_mgr.h: remove #include "tex-accent.h".
883         * insets/inset.h: remove #include "support/types.h", <vector>.
884         * insets/insetcollapsable.h: remove #include "LColor.h".
885         * insets/insetinclude.h: remove #include "dimension.h".
886         * insets/insetlatexaccent.h: remove #include "dimension.h".
887         * insets/insetoptarg.h:: remove #include "insettext.h".
888         * insets/insettext.h: remove #include "dimension.h",
889         <boost/shared_ptr.hpp>
890
891         * insets/renderers.h: add #include "dimension.h".
892         * insets/updatableinset.h: add #include "support/types.h".
893
894         * many .C files: Associated changes.
895
896 2003-09-06  Angus Leeming  <leeming@lyx.org>
897
898         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
899         one, inside testInvariant.
900
901         * PrinterParams.C: new file.
902         * PrinterParams.[Ch]: move the function bodies out of line.
903
904 2003-09-06  Angus Leeming  <leeming@lyx.org>
905
906         * ParagraphParameters.h: forward declare ParameterStruct rather than
907         including its header file.
908         (depth): moved out-of-line.
909
910 2003-09-06  Angus Leeming  <leeming@lyx.org>
911
912         * BufferView_pimpl.h:
913         * kbmap.h:
914         * kbsequence.h:
915         * lyxfunc.h: forward declare LyXKeySym rather than
916         #include "frontends/LyXKeySym.h".
917
918         * BufferView_pimpl.C:
919         * kbmap.C:
920         * kbsequence.C:
921         * lyxfunc.C: associated changes.
922
923 2003-09-06  Angus Leeming  <leeming@lyx.org>
924
925         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
926         As a result, can remove the #include "insets/inset.h" from BufferView.h
927
928 2003-09-06  Angus Leeming  <leeming@lyx.org>
929
930         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
931         As a result, can remove the #include "insets/inset.h" from BufferView.h
932
933 2003-09-06  Angus Leeming  <leeming@lyx.org>
934
935         * buffer_funcs.C:
936         * buffer.h:
937         * bufferlist.C:
938         * BufferView.C:
939         * bufferview_funcs.C:
940         * BufferView_pimpl.C:
941         * CutAndPaste.C:
942         * lyx_cb.C:
943         * lyxfunc.C:
944         * paragraph.h:
945         * ParagraphParameters.C:
946         * tabular.C:
947         * text3.C:
948         * toc.C:
949         * undo_funcs.C:
950         * frontends/controllers/ControlDocument.C:
951         * insets/insetcaption.C: rearrange the #includes into some sort of
952         coherent order.
953
954         * buffer.h: remove #includes ErrorList.h, undo.h
955
956 2003-09-06  Angus Leeming  <leeming@lyx.org>
957
958         * support/types.h: add a 'depth_type' typedef, used to store the
959         nesting depth of a paragraph.
960
961         * paragraph.h:
962         * ParameterStruct.h: use this lyx::depth_type typedef rather than
963         defining explicitly.
964
965         * buffer.h:
966         * paragraph_funcs.h:
967         * ParagraphParameters.h:
968         * sgml.h: use lyx::depth_type rather than Paragraph or
969         ParameterStruct's depth_type.
970
971         * buffer.h
972         * paragraph_funcs.h: no need to #include paragraph.h anymore.
973
974         * BufferView.C:
975         * BufferView_pimpl.C:
976         * CutAndPaste.C:
977         * ParagraphParameters.C:
978         * buffer_funcs.C:
979         * bufferlist.C:
980         * bufferview_funcs.C:
981         * lyx_cb.C:
982         * lyxfunc.C:
983         * tabular.C:
984         * text3.C:
985         * toc.C:
986         * undo_funcs.C:
987         * frontends/LyXView.C:
988         * frontends/controllers/ControlDocument.C:
989         * frontends/controllers/ControlErrorList.C:
990         * insets/insetbibitem.C:
991         * insets/insetbranch.C:
992         * insets/insetcaption.C:
993         * insets/insetcollapsable.C:
994         * insets/insetenv.C:
995         * insets/insetert.C:
996         * insets/insetfloat.C:
997         * insets/insetfoot.C:
998         * insets/insetfootlike.C:
999         * insets/insetnewline.C:
1000         * insets/insetquotes.C:
1001         * insets/insettabular.C:
1002         * insets/insettext.C:
1003         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1004
1005         * frontends/controllers/ControlChanges.C: #include "changes.h".
1006
1007 2003-09-06  Angus Leeming  <leeming@lyx.org>
1008
1009         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1010         than #including paragraph.h.
1011
1012         * ParagraphList.h:
1013         * RowList.h: deleted. Superfluous.
1014
1015         * CutAndPaste.h:
1016         * iterators.h:
1017         * lyxcursor.h:
1018         * lyxtext.h:
1019         * text_funcs.h:
1020         * undo.h:
1021         * undo_funcs.h:
1022         * insets/inset.h:
1023         * insets/insettext.h: use ParagraphList_fwd.h rather than
1024         ParagraphList.h.
1025
1026         * paragraph.h: don't forward declare ParagraphList.
1027
1028         * buffer.h:
1029         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1030         rather than ParagraphList.h. paragraph.h is still needed for the
1031         Paragraph::depth_type parameters.
1032
1033         * textcursor.h: enable it to compile stand-alone in light of the
1034         above changes.
1035
1036         * bufferview_funcs.C:
1037         * iterators.C:
1038         * lyxfunc.C:
1039         * lyxrow_funcs.C:
1040         * paragraph.C:
1041         * rowpainter.C:
1042         * text.C:
1043         * text2.C:
1044         * text3.C:
1045         * text_funcs.C:
1046         * textcursor.C:
1047         * undo.C:
1048         * frontends/controllers/ControlParagraph.C:
1049         * frontends/controllers/ControlTabular.C:
1050         * insets/insetmarginal.C:
1051         * insets/insetminipage.C:
1052         * insets/insetnote.C:
1053         * insets/insetoptarg.C: add header files needed to compile again.
1054
1055 2003-09-06  Angus Leeming  <leeming@lyx.org>
1056
1057         * RowList_fwd.h: new file, forward-declaring Row rather than
1058         #including lyxrow.h.
1059
1060         * lyxrow_funcs.h:
1061         * lyxtext.h:
1062         * paragraph.h:
1063         * insets/insettext.h: use it instead of RowList.h
1064
1065         * bufferview_funcs.C:
1066         * lyxfunc.C:
1067         * lyxrow_funcs.C:
1068         * paragraph.C:
1069         * rowpainter.C:
1070         * text.C:
1071         * text2.C:
1072         * text3.C: #include "RowList.h".
1073
1074 2003-09-05  Angus Leeming  <leeming@lyx.org>
1075
1076         * factory.C (createInset):
1077         * vspace.C (c-tor): replace sscanf call with an istringstream.
1078         * ispell.C: re-add missing HP/UX headers.
1079         * lyxserver.C: re-add missing  os2 headers.
1080
1081 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * BranchList.C:
1084         * graph.C:
1085         * ispell.C:
1086         * lastfiles.C:
1087         * lyx_cb.C:
1088         * lyxserver.C:
1089         * texrow.C:
1090         * text3.C: re-add missing system headers, needed for 2.95.2.
1091
1092 2003-09-05  Angus Leeming  <leeming@lyx.org>
1093
1094         Changes most place everywhere due to the removal of using directives
1095         from support/std_sstream.h.
1096
1097 2003-09-05  Angus Leeming  <leeming@lyx.org>
1098
1099         Replace LString.h with support/std_string.h,
1100         Lsstream.h with support/std_sstream.h,
1101         support/LIstream.h with support/std_istream.h,
1102         support/LOstream.h with support/std_ostream.h.
1103
1104         Changes resulting throughout the tree.
1105
1106 2003-09-05  Angus Leeming  <leeming@lyx.org>
1107
1108         * sgml.h: ensure that the header file can be compiled stand-alone.
1109         * *.C: strip out redundant #includes. (320 in total.)
1110
1111 2003-09-04  Angus Leeming  <leeming@lyx.org>
1112
1113         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1114         here (from getPackages).
1115
1116         * debug.[Ch]: add a new EXTERNAL tag.
1117
1118 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1119
1120         * text2.C (cursorEnd): simplify
1121         (setCursor): adjust
1122         (getColumnNearX): adjust
1123
1124         * text.C (computeBidiTables): adjust
1125         (fill): adjust
1126
1127         * rowpainter.C (paintChars): adjust
1128         (paintSelection): adjust
1129         (paintChangeBar): adjust
1130         (paintText): adjust
1131
1132         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1133         lastPos instead.
1134         (numberOfSeparators): adjust
1135
1136 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1137
1138         * LyXAction.C:
1139         * box.[Ch]:
1140         * lfuns.h:
1141         * lyxfunc.C:
1142         * text3.C: Restricts the mouse click functionality
1143         of insets like bibtex, include, toc and floatlist to the visible
1144         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1145         up the dialogs. Cursor has to be in front of the inset (i.e.
1146         start of row) for this to function.
1147
1148 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1149
1150         * bufferview_funcs.C (currentState): output row information
1151
1152 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1153
1154         * bufferview_funcs.C (currentState): output paragraph position
1155
1156 2003-09-04  Angus Leeming  <leeming@lyx.org>
1157
1158         * FloatList.h: move out #include "Floating.h".
1159         * LaTeX.h: move out #include "DepTable.h".
1160         * LyXAction.h: move out #include "funcrequest.h".
1161         * buffer.h: move out #include "author.h", "iterators.h".
1162         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1163         * lyx_main.h: move out #include "errorlist.h".
1164         * lyxfunc.h: move out #include "FuncStatus.h".
1165         * lyxtext: move out #include "lyxcursor.h".
1166         * paragraph_pimpl.h: move out #include "counters.h".
1167
1168 2003-09-03  Angus Leeming  <leeming@lyx.org>
1169
1170         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1171         preamble_snippets list, enabling us to add snippets to the preamble
1172         only if the snippet was not there already.
1173
1174 2003-09-04  Angus Leeming  <leeming@lyx.org>
1175
1176         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1177
1178 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1179
1180         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1181         update
1182
1183 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1184
1185         * BranchList.C: point fix, earlier forgotten
1186
1187 2003-09-02  Angus Leeming  <leeming@lyx.org>
1188
1189         * box.C (contains): renamed from 'contained' after a fantastic
1190         amount of hot air.
1191
1192 2003-09-02  John Levon  <levon@movementarian.org>
1193
1194         * BufferView.C:
1195         * lyxcursor.h:
1196         * lyxcursor.C:
1197         * lyxfunc.C:
1198         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1199
1200 2003-09-02  John Levon  <levon@movementarian.org>
1201
1202         * text2.C: simplification of cursorEnd(), including partial
1203         fix for bug 1376
1204
1205 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1206
1207         * buffer.C (readFile): add a space
1208
1209 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1210
1211         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1212
1213 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1214
1215         * buffer.C (readFile): new function, take a filename and a
1216         ParagraphList::iterator
1217         (readFile): adjust
1218         (readFile): adjust, make it private. don't use setStream, make
1219         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1220         always contain the filename.
1221
1222         * BufferView.C (insertLyXFile): simplify and make it work for
1223         gzipped files.
1224
1225 2003-08-30  John Levon  <levon@movementarian.org>
1226
1227         * Makefile.am: fix dist (from Kayvan)
1228
1229 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1230
1231         * most files: change to use const Buffer refs
1232
1233 2003-08-27  André Pönitz  <poenitz@gmx.net>
1234
1235         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1236         on top of ownerPar().
1237
1238 2003-08-27  John Levon  <levon@movementarian.org>
1239
1240         * funcrequest.C: properly initialise POD members
1241
1242 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1243
1244         * lyxtext.h (top_y): move top_y from here
1245         * text.C:
1246         * text2.C:
1247         * text3.C:
1248         * BufferView.[Ch]:
1249         * BufferView_pimpl.[Ch]: to here
1250         * frontends/screen.C:
1251         * insets/insettabular.C:
1252         * insets/insettext.C: adjust
1253         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1254
1255 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1256
1257         * BufferView.[Ch]:
1258         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1259
1260 2003-08-26  André Pönitz  <poenitz@gmx.net>
1261
1262         * paragraph_func.[Ch] (outerPar): new function
1263
1264         * paragraph.C:
1265         * paragraph_funcs.C:
1266         * paragraph_funcs.h:
1267         * paragraph_pimpl.C:
1268         * text2.C: remove Inset::par_owner
1269
1270 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1271
1272         * lyxrow_funcs.C:
1273         * lyxtext.h:
1274         * text.C:
1275         * text2.C: eliminates the needFullRow/display() stuff
1276         altogether, putting the logic in metrics/draw in the insets.
1277
1278 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1279
1280         * text2.C (redoParagraphInternal, redoParagraphs):
1281         * text.C (redoParagraph): add a call to updateRowPositions at the
1282         end of each 'metrics-like' call. Remove all others.
1283         (getRow): remove the 'y-computing' version.
1284         (getRowNearY): do not compute nor return the real y. Solve the
1285         'y < 0' problem and simplify.
1286
1287 2003-08-22  Angus Leeming  <leeming@lyx.org>
1288
1289         * *.[Ch]: clean-up of licence and author blurbs.
1290         Also move config.h out of a few .h files and into a few .C files.
1291
1292 2003-08-22  André Pönitz  <poenitz@gmx.net>
1293
1294         * lyxrow.[Ch]: add x_ and *fill_ members
1295
1296         * lyxtext.h:
1297         * text.C:
1298         * rowpainter.C:
1299         * text2.C: adjust/remove prepareToPrint() calls
1300
1301 2003-08-22  André Pönitz  <poenitz@gmx.net>
1302
1303         * lyxrow.[Ch]: add  end_ member
1304
1305         * lyxrow_funcs.C: use LyXRow::end_
1306
1307         * lyxtext.h (singleWidth): add LyXFont parameter
1308
1309         * rowpainter.C:
1310         * text2.C: adjust LyXText::singleWidth() calls
1311
1312         * text.C (redoParagraph): simplify row breaking logic
1313
1314
1315 2003-08-19  André Pönitz  <poenitz@gmx.net>
1316
1317         * funcrequest.C: initialize button_ member
1318
1319         * text3.C:
1320         * rowpainter.[Ch]: interface consolidation
1321
1322 2003-08-18  André Pönitz  <poenitz@gmx.net>
1323
1324         * BufferView.C:
1325         * BufferView_pimpl.C:
1326         * lyxfind.C:
1327         * paragraph_funcs.C:
1328         * rowpainter.C:
1329         * text3.C: remove LyXScreen::draw() and fitCursor calls
1330
1331         * BranchList.h: remove spurious semicolons
1332
1333         * MenuBackend.C: fix branchlist related crash
1334
1335 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1336
1337         * BranchList.[Ch]:
1338         * InsetList.[Ch]:
1339         * LColor.[Ch]:
1340         * LyXAction.C:
1341         * Makefile.am:
1342         * MenuBackend.[Ch]:
1343         * bufferparams.[Ch]:
1344         * factory.C:
1345         * lfuns.h:
1346         * lyxfunc.C:
1347         * text3.C: implements the 'branch inset'
1348         idea. This allows the output of various versions of a document
1349         from a single source version, selectively outputing or suppressing
1350         output of parts of the text.
1351         This implementation contains a 'branch list editor' in a separate
1352         tab of the document settings dialog. Branches are user definable
1353         and have a "display colour" to distinguish them on-screen.
1354
1355         ColorHandler was somewhat cleaned up.
1356         (1) make possible a dynamically growing LColor list by allowing
1357         the graphic context cache to grow along (vector);
1358         (2) eliminate an IMHO unnecessary step in colour allocation.
1359
1360 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1361
1362         * BufferView_pimpl.C: compile fix
1363
1364 2003-08-15  André Pönitz  <poenitz@gmx.net>
1365
1366         * rowpainter.C: remove extra metrics calls
1367
1368         * lyxtext.h: merge the two constructors into a single one,
1369           pass reference to owner's par list
1370
1371         * BufferView_pimpl.C:
1372         * text.C:
1373         * text2.C: adjust
1374
1375 2003-08-15  André Pönitz  <poenitz@gmx.net>
1376
1377         * lyxrow_funcs.[Ch]:
1378         * lyxtext.h:
1379         * paragraph.h:
1380         * paragraph_funcs.C:
1381         * rowpainter.C:
1382         * text.C:
1383         * text2.C:
1384         * text3.C:
1385         * text_funcs.C: split LyXText::rowlist_ into individual
1386         Paragraph::rows_ chunks
1387
1388         * BufferView.[Ch]:
1389         * BufferView_pimpl.[Ch]:
1390         * lyxfind.C:
1391         * lyxtext.h:
1392         * text3.C: remove toggleSelection()
1393
1394 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1395
1396         * bufferlist.C: beautify two alerts (shorter text of buttons)
1397         * buffer.C: Remove redundant ' ' from message
1398         * tabular.h:
1399         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1400         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1401         rename VALIGN_CENTER to VALIGN_MIDDLE
1402
1403 2003-08-11  André Pönitz  <poenitz@gmx.net>
1404
1405         * lyxtext.h (getPar):
1406         * text.C: new function
1407
1408 2003-08-11  André Pönitz  <poenitz@gmx.net>
1409
1410         * Makefile.am:
1411         * tracer.[Ch]: remove unneeded files
1412
1413         * InsetList.[Ch]: remove resizeInsetsLyXText()
1414
1415         * lyxtext.h:
1416         * text.C:
1417         * text2.C:
1418         * text3.C: merge insertParagraphs() and appendParagraph()
1419         remove breakAgain(), update()
1420
1421         * BufferView_pimpl.[Ch]:
1422         * bufferview_funcs.[Ch]:
1423         * lyxfunc.C:
1424         * paragraph.[Ch]:
1425         * rowpainter.C:
1426         * tabular.C: adjust after text & InsetList changes.
1427
1428 2003-08-08  André Pönitz  <poenitz@gmx.net>
1429
1430         * text.C (insertChar, backspace): replace rowlist fiddling
1431         with rebreak of full par
1432
1433         * lyxtext.h:
1434         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1435         checkParagraph, updateInset): removed
1436
1437 2003-08-07  André Pönitz  <poenitz@gmx.net>
1438
1439         * paragraph.C:
1440         * text3.C: merge some LFUN handlers, remove dead code
1441
1442 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443
1444         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1445
1446 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1447
1448         * text2.C (DEPM): fix part of bug 1255 and 1256
1449
1450 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1451
1452         * BufferView_pimpl.C (workAreaDispatch): change to use
1453         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1454         that are no mouse related.
1455
1456 2003-08-05  André Pönitz  <poenitz@gmx.net>
1457
1458         * BufferView.[Ch]:
1459         * BufferView_pimpl.[Ch]:
1460         * bufferview_funcs.C:
1461         * text2.C:
1462         * text3.C: rip out "deep update"
1463
1464         * textcursor.[Ch] (last_sel_cursor): remove unused member
1465
1466 2003-08-04  André Pönitz  <poenitz@gmx.net>
1467
1468         * BufferView.[Ch]:
1469         * BufferView_pimpl.[Ch]:
1470         * ParagraphParameters.C:
1471         * bufferview_funcs.C:
1472         * lyx_cb.C:
1473         * lyxfind.C:
1474         * lyxfunc.C:
1475         * text.C:
1476         * text2.C:
1477         * text3.C: replace "complicated" BufferView::update(...) calls with
1478         simpler ones.
1479
1480         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1481
1482 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1483
1484         * Makefile.am (lyx_SOURCES): add paper.h
1485
1486 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1487
1488         * Makefile.am: move things around so that both lyx-qt and
1489         lyx-xforms can be built (according to --with-frontend). Then lyx
1490         is a symbolic link to lyx-[firstfrontend]
1491
1492 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1493
1494         * Always use std::endl with lyxerr
1495
1496 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1497
1498         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1499
1500 2003-08-01  André Pönitz  <poenitz@gmx.net>
1501
1502         * BufferView.[Ch]:
1503         * BufferView_pimpl.[Ch]:
1504         * lyxfunc.C:
1505         * text3.C: merge BufferView::repaint() and BufferView::update()
1506
1507 2003-08-01  José Matos  <jamatos@lyx.org>
1508
1509         * buffer.[Ch]: file_format is no longer a buffer data element.
1510
1511 2003-08-01  André Pönitz  <poenitz@gmx.net>
1512
1513         * BufferView.C:
1514         * lyxtext.h:
1515         * text.C:
1516         * text2.C: make redoParagraph more independent of current cursor
1517
1518         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1519         * text.C:
1520         * text2.C: remove unneeded members
1521
1522 2003-07-30  André Pönitz  <poenitz@gmx.net>
1523
1524         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1525
1526         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1527           create a single function...
1528
1529         * paragraph_funcs.C (moveItem): ... here.
1530
1531         * text.C:
1532           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1533
1534 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1535
1536         * LColor.[Ch]: Add comment and greyedout logical colors.
1537
1538 2003-07-30  André Pönitz  <poenitz@gmx.net>
1539
1540         * tabular.C: don't use Assert too heavily. This crashes where it
1541           shouldn't
1542
1543 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1544
1545         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1546         is disabled (bug 1232)
1547
1548 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1549
1550         * factory.C: limited 'arg' scope
1551
1552 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1553
1554         * factory.C: fixed Note submenu issues
1555
1556 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1557
1558         * factory.C: submenu for Note/Comment/Greyedout
1559
1560 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1561
1562         * lyx_main.C (LyX):
1563         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1564
1565 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1566
1567         * LaTeXFeatures.C:
1568         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1569         greyedout. Patch provided by Jürgen Spitzmüller.
1570
1571 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1572
1573         * kbmap.C (read): fix error message when reading bind files
1574
1575 2003-07-29  Angus Leeming  <leeming@lyx.org>
1576
1577         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1578         certainly does not do what it purports to do. I am doing it, and
1579         us, a favour by killing it.
1580
1581 2003-07-28  José Matos  <jamatos@lyx.org>
1582
1583         * buffer.C (readBody, do_writeFile):
1584         * paragraph.C(readParagraph): \end_document replaces \the_end.
1585
1586 2003-07-29  André Pönitz  <poenitz@gmx.net>
1587
1588         * BufferView.[Ch]:
1589         * BufferView_pimpl.[Ch]:
1590         * lyxfunc.C:
1591         * text2.C:
1592         * text3.C:
1593         * textcursor.[Ch]: remove toggleToggle & Co
1594
1595 2003-07-28  José Matos  <jamatos@fep.up.pt>
1596
1597         * buffer.C (readParagraph):
1598         * params_func (readParToken, readParagraph):
1599         * paragraph.C (write): \layout -> \begin_layout.
1600
1601 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1602
1603         * lyxlex_pimpl.C (setFile): clean up slightly.
1604
1605         * bufferparams.h: add compressed var
1606
1607         * buffer_funcs.C (readFile): adjust for LyXLex change
1608         (newFile): ditto + simplify
1609
1610         * buffer.C (writeFile): handle writing of compressed files
1611
1612         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1613         Check if the file is compressed and set a bufferparm if so.
1614
1615         * Makefile.am (lyx_LDADD): remove explicit -lz
1616
1617 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1618
1619         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1620         makeDocBookFile): put the real LyX version in the first line of
1621         the file
1622
1623         * version.h:
1624         * version.C.in: remove lyx_docversion
1625
1626         * tabular.C (write_attribute): add a template-based version to
1627         write enums properly
1628
1629 2003-07-28  André Pönitz  <poenitz@gmx.net>
1630
1631         * lyxtext.h:
1632         * text.C:
1633         * text2.C:
1634         * text3.C: use doubles again for x-coordinates. They are needed.
1635
1636 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1637
1638         * messages.C (getLocaleDir): use lyx_localedir()
1639
1640         * lyxlex_pimpl.C (setFile): compress stuff
1641
1642         * buffer.C (writeFile): add some compression stuff
1643         (do_writeFile): new func, dont call expliti close... will this
1644         breake anything?
1645
1646         * Makefile.am (lyx_LDADD): add -lz
1647
1648 2003-07-28  José Matos  <jamatos@fep.up.pt>
1649
1650         * buffer.C: increment file format.
1651         * paragraph_funcs (readParagraph, readParToken):
1652         * paragraph.C (readParagraph): add \end_layout.
1653
1654 2003-07-27  Angus Leeming  <leeming@lyx.org>
1655
1656         * Makefile.am: remove special casing for configure-time setting of
1657         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1658
1659         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1660         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1661
1662 2003-07-26  André Pönitz  <poenitz@gmx.net>
1663
1664         * paragraph_func.[Ch]:
1665         * paragraph.C (realizeFont): inline it whereever it is used
1666
1667         * rowpainter.C:
1668         * text.C:
1669         * text2.C:
1670         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1671
1672
1673 2003-07-26  André Pönitz  <poenitz@gmx.net>
1674
1675         *       lyxtext.h:
1676         * text.C:
1677         * text2.C: get rid of LyXText::need_break_row
1678
1679 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * toc.[Ch]: put namespace toc inside namespace lyx
1682
1683         * MenuBackend.C (expandToc2): adjust for lyx::toc
1684         (expandToc): ditto
1685
1686         * lyxfunc.C (dispatch): adjust for lyx::find
1687
1688         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1689         lyx::find instead. Reorganize a bit.
1690         (LyXReplace): rename to replace
1691         (LyXFind): rename to find
1692
1693         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1694         (dispatch): ditto
1695
1696 2003-07-26  André Pönitz  <poenitz@gmx.net>
1697
1698         * text.C (setHeightOfRow): restrict scope of temporary variable
1699
1700         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1701           code (never has been used?)
1702
1703 2003-07-27  Asger Alstrup  <alstrup@local>
1704
1705         * text.C (fill): Optimise algorithm to exploit that we can reuse
1706         the LyXFont for many characters.
1707         (setHeightOfRow): Same thing.
1708         (rowBreakPoint): Same thing.
1709
1710 2003-07-26  Asger Alstrup  <alstrup@local>
1711
1712         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1713
1714         * text.C (singleWidth): Spurious font copying in hot-spot
1715         singleWidth avoided. Reorder tests for arabic for efficiency.
1716
1717         * text.C (fill): handle empty paragraphs better.
1718
1719 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1720
1721         * ispell.C:
1722         * encoding.h: add includes
1723
1724         * lyxrc.C: remove reading of bind files
1725
1726         * lyx_main.C (init): setup bindings and menus only if we have a
1727         gui.
1728
1729         * kbmap.C (read): new method. Do the actual reading of bind
1730         files.
1731
1732         * converter.C (dvipdfm_options):
1733         * bufferparams.C:
1734         * lyxrc.C (read):
1735         (output): adapt PAPER_* enums.
1736
1737         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1738
1739         * bufferparams.h: remove paper-related enums from there
1740
1741         * paper.h: New file. A trivial header file to hold paper-related
1742         enums. It should later expand to contain many paper-related
1743         horrors access.
1744
1745         * lyxrc.C: declare extern displayTranslator
1746
1747 2003-07-27  José Matos  <jamatos@fep.up.pt>
1748
1749         * tabular.[Ch] (linuxdoc): add support for tables and figures
1750         (linuxdoc).
1751
1752 2003-07-27  José Matos  <jamatos@fep.up.pt>
1753
1754         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1755         consistency in both functions.
1756         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1757
1758 2003-07-26  Asger Alstrup  <alstrup@local>
1759
1760         * rowpainter.C (paintRows): Change algorithm to work directly on
1761         the insets rather than asking every character in the document
1762         whether its an inset.
1763
1764 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1765
1766         * buffer.C (openFileWrite): factorize some code
1767
1768 2003-07-26  Angus Leeming  <leeming@lyx.org>
1769
1770         * lyx_cb.C:
1771         * lyx_main.[Ch]: replace occurances of system_tempdir with
1772         os::getTmpDir().
1773
1774 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1775
1776         * rename Inset to InsetOld
1777
1778 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1779
1780         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1781         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1782         which I think is a bit clearer. EDIT is gone, since it was
1783         premature optimisation, and broken for mathed anyway.
1784         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1785         with cursor positioning in insets as well (math insets still do not
1786         work, but that's a different story anyway.) It mysteriously
1787         crashes sometimes with undo in the first paragraph, but I'm fairly
1788         confident that this is a compiler bug.
1789
1790 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1791
1792         * paragraph.C (Paragraph): adjust for new clone return type
1793         (operator==): ditto
1794         (copyIntoMinibuffer): ditto
1795
1796 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1797
1798         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1799         by not having a special case, and always doing a full rebreak of
1800         the document after undo.
1801
1802 2003-07-23  Angus Leeming  <leeming@lyx.org>
1803
1804         * factory.C (createInset): InsetExternal::setParams now takes a
1805         Buffer const * arg.
1806
1807 2003-07-23  Angus Leeming  <leeming@lyx.org>
1808
1809         * factory.C (createInset): changed interface to the external and
1810         graphics mailers' string2params functions.
1811
1812 2003-07-23  Angus Leeming  <leeming@lyx.org>
1813
1814         * factory.C (createInset): pass a
1815         Buffer const * parameter to InsetExternalMailer's string2params.
1816
1817 2003-07-22  John Levon  <levon@movementarian.org>
1818
1819         * Thesaurus.h: include the right aiksaurus header
1820
1821 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         * MenuBackend.C (expand): check menu shortcuts unconditionally
1824
1825 2003-07-21  Angus Leeming  <leeming@lyx.org>
1826
1827         * factory.C (createInset): pass a
1828         buffer_path parameter to InsetGraphicsMailer's string2params.
1829
1830 2003-07-21  Angus Leeming  <leeming@lyx.org>
1831
1832         * BufferView_pimpl.C (buffer):
1833         * buffer.C (d-tor):
1834         * lyx_main.C (LyX):
1835         * lyxfunc.C (dispatch):
1836         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1837         rather than the grfx shortcut.
1838
1839 2003-07-21  André Pönitz  <poenitz@gmx.net>
1840
1841         * rowpainter.C: remove unused variables
1842
1843         * tabular_funcs.C:
1844         * tabular_funcs.h: move to tabular.C
1845         * Makefile.am: adjust
1846
1847         * tabular.[Ch]: basic optical cleaning
1848
1849         * author.h: pass references, not values
1850
1851 2003-07-18  André Pönitz  <poenitz@gmx.net>
1852
1853         * lyxtext.h:
1854         * metricsinfo.C:
1855         * metricsinfo.h:
1856         * rowpainter.C:
1857         * text.C:
1858         * text2.C:
1859         * text3.C: two-phase drawing for InsetText and InsetTabular
1860         some float -> int changes.
1861
1862 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1863
1864         * lyx_main.C: fix the fix
1865
1866 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1867
1868         * lyx_main.C: fix a crash in batch mode if no files specified
1869         * converter.C: ws
1870
1871 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * format.[Ch] (papersize): moved to BufferParams
1874         * converter.[Ch] (dvips_options): moved to BufferParams
1875         (dvipdfm_options): moved to anon namespace
1876         * bufferparams.[Ch]: added above functions.
1877
1878 2003-07-17  André Pönitz  <poenitz@gmx.net>
1879
1880         * lyxtext.h:
1881         * rowpainter.C:
1882         * text2.C: don't call inset->update() anymore
1883
1884         * metricsinfo.[Ch]: add convenience constructor
1885
1886 2003-07-16  André Pönitz  <poenitz@gmx.net>
1887
1888         * lyxcursor.[Ch]:
1889         * lyxfunc.[Ch]:
1890         * text.C:
1891         * text2.C: replace the LyXCursor::irow_ member with
1892          on-demand computation of the value
1893
1894 2003-07-16  John Levon  <levon@movementarian.org>
1895
1896         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1897
1898 2003-07-15  André Pönitz  <poenitz@gmx.net>
1899
1900         * text.C:
1901         * text2.C: remove no more needed refresh_row
1902
1903 2003-07-15  André Pönitz  <poenitz@gmx.net>
1904
1905         * lyxtext.h:
1906         * rowpainter.C:
1907         * text2.C:
1908         * text3.C: refresh_status tristate -> need_update bool
1909
1910 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1911
1912         * lyxtext.h (init): remove reinit argument (act as if always true)
1913         * text2.C: adjust to that
1914
1915 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1916
1917         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1918         * text3.C: use it to delete selections in some cases
1919         (bugs 441, 673, 702, 954).
1920
1921 2003-07-14  André Pönitz  <poenitz@gmx.net>
1922
1923         * rowpainter.[Ch]: reduce interface
1924
1925 2003-07-14  André Pönitz  <poenitz@gmx.net>
1926
1927         * BufferView_pimpl.C:
1928         * text2.C: adjust after removing unused BufferView * argument
1929
1930 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1931
1932         * text2.C (init): fix a crash fired on resize
1933
1934 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1935
1936         * buffer.[Ch]: added new closing signal
1937         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1938         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1939         BufferView::Pimpl via the closing the signal
1940
1941 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1942
1943         * buffer.[Ch]: take out all bv-related from buffer
1944         * BufferView.C:
1945         * BufferView_pimpl.[Ch]: connect to new signals
1946         * CutAndPaste.C: removed useless asserts
1947         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1948         * lyxvc.[Ch]:
1949         * vc-backend.[Ch]:
1950         * lyxfunc.C: moved view-related funciontality from vc here
1951         * paragraph.C: removed outdated comments
1952         * text.C: ws
1953
1954 2003-07-10  André Pönitz  <poenitz@gmx.net>
1955
1956         * BufferView_pimpl.C:
1957         * tabular.h:
1958         * tabular_funcs.C:
1959         * text.C:
1960         * text2.C: remove InsetText::InnerCache, clean up consequences
1961
1962 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1963
1964         * ispell.C: fix two typos in error messages
1965
1966 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1967
1968         * Extend Note inset to other forms of annotation like Comment
1969         and Greyedout. Right button click gives dialog.
1970
1971         Files modified or added (+):
1972
1973         * insetnote.[Ch]
1974         * FormNote.[Ch]      +
1975         * ControlNote.[Ch]   +
1976         * form_note.fd       +
1977         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1978         frontends/controllers
1979         * xforms/Dialogs.C
1980         * factory.C
1981
1982 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1983
1984         * aspell.C: add missing namespace lyx::support
1985
1986 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1987
1988         * BufferView.[Ch] (newFile): Add
1989         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1990         * LaTeX.[Ch] (message): added this signal and use it
1991         * buffer.[Ch] (busy, message): added these signals and use them
1992         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1993         * converter.C:
1994         * exporter.C:
1995         * format.C:
1996         * importer.C: use buffer signals instead of direct bv calling
1997         * lyx_cb.[Ch] (ShowMessage): removed
1998         * lyx_main.C:
1999         * lyxfunc.C:
2000         * paragraph_funcs.C:
2001         * text2.C: use buffer signals
2002
2003 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2004
2005         * introduce namespace lyx::graphics
2006
2007 2003-07-02  André Pönitz  <poenitz@gmx.net>
2008
2009         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2010
2011 2003-07-01  André Pönitz  <poenitz@gmx.net>
2012
2013         * text.C:
2014         * text2.C:
2015         * text3.C:
2016         * text_funcs.[Ch]:
2017         * textcursor.h:
2018         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2019           text*.C to text_func.C
2020
2021 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2022
2023         * introduce namespace lyx::support
2024
2025 2003-06-30  André Pönitz  <poenitz@gmx.net>
2026
2027         * Chktex.C:
2028         * funcrequest.C:
2029         * lyxtext.h:
2030         * text.C: re-enable --with-included-string
2031
2032 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2033
2034         * textcursor.C: add <config.h>
2035
2036         * text.C (getWord): remove const from word_location arg
2037
2038         * lyxvc.C (getLogFile): fix const type order
2039
2040         * lyxtext.h: remove const from word_location arg, add arg name
2041
2042         * lyxlayout.h: currect type on labeltype.
2043
2044         * importer.C: correct \file
2045
2046         * converter.C (intToFormat): use std:: on ret val, ws changes
2047
2048         * bufferlist.h: correct \file
2049
2050         * buffer.C (makeLinuxDocFile): fix const type order
2051         (makeDocBookFile): ditto
2052         (fillWithBibKeys): use std:: on stdlib args.
2053
2054         * CutAndPaste.C: fix authors.
2055         (availableSelections): use std:: on return vector
2056
2057 2003-06-27  André Pönitz  <poenitz@gmx.net>
2058
2059         * BufferView_pimpl.C:
2060         * bufferview_funcs.C:
2061         * lyxcursor.C:
2062         * lyxcursor.h:
2063         * lyxfunc.C:
2064         * lyxtext.h:
2065         * rowpainter.C:
2066         * text.C:
2067         * text2.C:
2068         * text3.C: remove LyXCursor::row_ member
2069
2070         * lyxtext.h:
2071         * text.C: rename fullRebreak() to partialRebreak() and implement
2072           a fullRebreak() that really bereks fully
2073
2074         * textcursor.h: new struct for cursor-related data
2075
2076 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * lyx_main.C (LyX): get full path of document loaded on the
2079         command line
2080
2081 2003-06-26  André Pönitz  <poenitz@gmx.net>
2082
2083         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2084           remove unused/broken operator>,<,>=.
2085
2086         *       text.C: remove only use of broken operator<= in an Assert().
2087
2088 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2089
2090         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2091         moved errorlist_.clear to showErrorList
2092
2093 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * converter.C (scanLog, runLaTeX):
2096         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2097         move the bv->showErrorList call to the callers
2098         * lyxfunc.C: i.e. here...
2099         * text2.C: and here
2100         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2101         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2102         namespace, the second to...
2103         * buffer_funcs (BufferFormat, parseErrors): added
2104         * errorlist.C (ErrorList(TeXErrors const &)): removed
2105
2106 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2107
2108         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2109
2110 2003-06-24  "Garst R. Reese" <reese@isn.net>
2111
2112         * debug.C: fix typo
2113
2114 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2117
2118         * version.C.in: change docversion to 1.4
2119
2120 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2121
2122         * buffer.C: fix a bug just introduced
2123
2124 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2125
2126         * buffer.[Ch]: added the parseError signal and use it, removed
2127         sgmlError
2128         * BufferView.[Ch] (addError): moved to ...
2129         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2130         to the Buffer::parseError signal to catch (guess what) parse errors
2131         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2132
2133 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2134
2135         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2136         ability to create a buffer and to return an existing one from
2137         the list. Moved these functions to...
2138         * buffer_funcs.[Ch]: added
2139         * BufferView.[Ch] (loadLyXFile): added
2140         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2141         job removed from bufferlist::loadLyXFile.
2142         * buffer.C (setReadOnly): make it work without view
2143         (i.e added an if (users))
2144
2145 2003-06-19  Angus Leeming  <leeming@lyx.org>
2146
2147         * lfuns.h:
2148         * LyXAction.C (init):
2149         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2150         with LFUN_DIALOG_SHOW <name> <data>.
2151
2152 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * CutAndPaste.C (availableSelections): small compilation fix for
2155         ancient (gcc 2.9x) compilers
2156
2157 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2158
2159         * text3.C (cursorNext): add tmp var
2160
2161         * text2.C (updateCounters): for function calling out of for clause
2162         (replaceSelectionWithString): ditto
2163         (insertStringAsParagraphs): ditto
2164         (getColumnNearX): add tmp var
2165         (setCursorFromCoordinates): add tmp var
2166         (cursorDownParagraph): add tmp var
2167         (deleteEmptyParagraphMechanism): add tmp var
2168
2169         * text.C (insertChar): add tmp var
2170
2171         * rowpainter.C (paintDepthBar): add tmp var
2172
2173         * CutAndPaste.C (availableSelections): potentially check all
2174         paragraphs in a cut to fill the shown strings.
2175
2176 2003-06-18  André Pönitz  <poenitz@gmx.net>
2177
2178         * kbmap.[Ch]: use vector<> instead of list<>
2179
2180 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2181
2182         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2183         pasteSelection with index
2184
2185         * text2.C (pasteSelection): modify, call pasteSelection with index
2186
2187         * paragraph.C (asString): reimplement version with no interval to
2188         call the one with interval.
2189
2190         * lyxtext.h: add index arg to pasteSelection
2191
2192         * MenuBackend.C (MenuItem): handle PasteRecent
2193         (Menu::read::Menutags): add md_pasterecent
2194         (read): handle it
2195         (expandPasteRecent): new function
2196         (expand): use it
2197
2198         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2199
2200         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2201         the limited stack
2202         (availableSelections): new function
2203
2204 2003-06-17  Angus Leeming  <leeming@lyx.org>
2205
2206         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2207
2208 2003-06-17  Angus Leeming  <leeming@lyx.org>
2209
2210         * lfuns.h:
2211         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2212
2213         * lyxfunc.C (dispatch): invoke it.
2214
2215 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2216
2217         * iterators.C (operator++, ParPosition): reintroduce some
2218         const_cast for the benefit of older compilers.
2219
2220 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2221
2222         * text3.C (dispatch): do not modify clipboard when doing
2223         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2224         LFUN_DELETE_SKIP on a selection selection
2225
2226 2003-06-16  André Pönitz  <poenitz@gmx.net>
2227
2228         * BufferView.C:
2229         * buffer.C:
2230         * buffer.h:
2231         * paragraph.C:
2232         * tabular.[Ch]: IU of clone() and getLabelList();
2233
2234 2003-06-13  André Pönitz  <poenitz@gmx.net>
2235
2236         * tabular.h: compactification
2237
2238 2003-06-12  André Pönitz  <poenitz@gmx.net>
2239
2240         * tabular.C:
2241         * tabular.h:
2242         * tabular_funcs.h: some renaming plus whitespace
2243
2244 2003-06-12  André Pönitz  <poenitz@gmx.net>
2245
2246         * BufferView.C:
2247         * BufferView_pimpl.C:
2248         * CutAndPaste.C:
2249         * buffer.C:
2250         * iterators.[Ch]:
2251         * lyxfunc.C:
2252         * text.C:
2253         * toc.C: Return a Paragraph & for ParIterator::operator*()
2254
2255 2003-06-11  John Levon  <levon@movementarian.org>
2256
2257         * lyx_main.C:
2258         * ToolbarBackend.h:
2259         * ToolbarBackend.C: add "Toolbars" section and
2260         put the flags there
2261
2262 2003-06-10  Angus Leeming  <leeming@lyx.org>
2263
2264         * lfuns.h:
2265         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2266
2267         * lyxfunc.C (dispatch): invoke it.
2268
2269 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2270
2271         * main.C: protect <ios> with HAVE_IOS
2272         (main): protect sync_with_stdio with HAVE_IOS
2273
2274 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2275
2276         * text2.C (cutSelection): adjust
2277         (pasteSelection): adjust
2278
2279         * messages.C: handle get of empty string
2280
2281         * main.C (main): use sync_with_stdio(false)
2282
2283         * lyxfunc.C (dispatch): adjust
2284
2285         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2286         (WriteAs): remove unneeded BufferView arg.
2287
2288         * bufferparams.h: use correct types on papersize, papersize2 and
2289         paperpackage.
2290
2291         * bufferparams.C (readToken): adjust for type
2292         (writeLaTeX): add missing cases to switch.
2293
2294         * bufferlist.C (quitWriteBuffer): adjust
2295         (close): adjust
2296
2297         * buffer.C (asciiParagraph): remove some commented code.
2298
2299         * CutAndPaste.C: remove current_view extern variable.
2300         (cutSelection): add BufferParams arg.
2301         (eraseSelection): add BufferParams arg.
2302         (pasteSelection): add Buffer const & arg
2303
2304 2003-06-07  John Levon  <levon@movementarian.org>
2305
2306         * buffer.C:
2307         * paragraph_funcs.C:
2308         * paragraph_pimpl.C:
2309         * text.C:
2310         * text2.C:
2311         * paragraph.h:
2312         * paragraph.C: allow InsetERT to freely space lines,
2313         and some consolidation of code
2314
2315 2003-06-06  José Matos  <jamatos@fep.up.pt>
2316
2317         * buffer.C (makeDocBookFile): fix bug #821
2318
2319 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2320
2321         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2322
2323 2003-06-04  Angus Leeming  <leeming@lyx.org>
2324
2325         * buffer.C: bump format to 224.
2326
2327 2003-06-05  André Pönitz  <poenitz@gmx.net>
2328
2329         * text2.C (redoParagraphs): remove two const_cast<>
2330
2331 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2332
2333         * ParagraphList.h: remove last remnants of NO_STD_LIST
2334
2335 2003-06-03  Angus Leeming  <leeming@lyx.org>
2336
2337         * factory.C (createInset): small change to the way InsetExternal's params
2338         are set.
2339
2340 2003-06-04  André Pönitz  <poenitz@gmx.net>
2341
2342         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2343
2344         * paragraph_pimpl.h:
2345         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2346
2347         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2348
2349         * undo_funcs.C: make some simple cases of undo work again
2350
2351 2003-06-03  John Levon  <levon@movementarian.org>
2352
2353         * ispell.C: HPUX doesn't have sys/select.h
2354         (from Albert Chin)
2355
2356 2003-06-03  John Levon  <levon@movementarian.org>
2357
2358         * CutAndPaste.C: update tabular and include inset
2359         buffer references
2360
2361         * buffer.h:
2362         * paragraph.h:
2363         * paragraph.C: remove owningBuffer(), don't pass Buffer
2364         to clone()
2365
2366         * factory.C: insetGraphicsParams changed
2367
2368 2003-06-02  John Levon  <levon@movementarian.org>
2369
2370         * LyXAction.C:
2371         * factory.C:
2372         * lfuns.h:
2373         * lyxfunc.C:
2374         * text3.C: remove insetparent
2375
2376 2003-06-02  John Levon  <levon@movementarian.org>
2377
2378         * buffer.h:
2379         * buffer.C: fix inset_iterator.end(), move out of line
2380         (bug 1149)
2381
2382 2003-06-01  John Levon  <levon@movementarian.org>
2383
2384         * text3.C: use a proper cut/paste when doing inset
2385         insert (from Jürgen Spitzmüller)
2386
2387 2003-06-01  John Levon  <levon@movementarian.org>
2388
2389         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2390
2391 2003-05-30  André Pönitz  <poenitz@gmx.net>
2392
2393         * rowpainter.C: unify second drawing phase
2394
2395 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2396
2397         * trans_mgr.C: remove one case of current_view
2398
2399         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2400
2401         * paragraph_funcs.h: remove paragraph.h include
2402
2403         * paragraph.h: delete NO_STD_LIST stuff
2404
2405         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2406
2407         * buffer.h: remove paragraph.h include
2408
2409         * ParagraphList.C: delete file
2410
2411         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2412
2413         * toc.C (getTocList): adjust
2414
2415         * paragraph_pimpl.C (validate): adjust
2416
2417         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2418
2419         * paragraph.C (Paragraph): adjust
2420         (getPositionOfInset): use const_iterator, adjust
2421         (bibitem): use const_iterator, adjust
2422         (setInsetOwner): adjust
2423
2424         * iterators.C (operator++): adjust
2425
2426         * InsetList.[Ch]: Replace selfmade iterator with standard
2427         vector::iterator also introduce const_iterator. Remove getPos,
2428         getInset and setInset from InsetTable. Adjust accordingly.
2429
2430         * BufferView.C (lockInset): adjust
2431         (ChangeInsets): adjust
2432
2433         * tabular.[Ch]: delete commented same_id functions
2434
2435 2003-05-28  John Levon  <levon@movementarian.org>
2436
2437         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2438
2439 2003-05-28  André Pönitz  <poenitz@gmx.net>
2440
2441         * metricsinfo.[Ch]: remove 'fullredraw' member
2442
2443 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2444
2445         * lyxtextclass.C (operator): remove caching.
2446
2447 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2448
2449         * text3.C: adjust
2450
2451         * text2.C (cursorBottom): adjust
2452         (setCounter): use ParagraphList::find, adjust
2453
2454         * text.C (workWidth): use ParagraphList::find, adjust
2455
2456         * lyxcursor.C (LyXCursor): adjust
2457
2458         * buffer.C (inset_iterator): adjust
2459
2460         * ParagraphList.h: make iterator(value_type) private, make
2461         ParagraphList a friend of iterator.
2462
2463         * ParagraphList.C (find): new function
2464
2465         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2466
2467 2003-05-27  André Pönitz  <poenitz@gmx.net>
2468
2469         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2470
2471 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2472
2473         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2474
2475 2003-05-26  John Levon  <levon@movementarian.org>
2476
2477         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2478
2479 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2480
2481         * remove same_id from function signatures, adjust.
2482
2483 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2486
2487         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2488
2489         * paragraph.C (Paragraph): get rid of same_ids parameter
2490
2491         * ParagraphList.C (insert): adjust
2492         (push_back): adjust
2493
2494 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * paragraph_funcs.C (breakParagraph): adjust
2497         (breakParagraphConservative): adjust
2498
2499         * buffer.C (readParagraph): adjust
2500
2501         * ParagraphList.C (insert): take a reference instead of a pointer
2502         (insert): adjust
2503
2504         * paragraph.[Ch] (id): new function
2505
2506         * bufferlist.C (newFile): adjust
2507
2508         * ParagraphList.C (ParagraphList): adjust
2509         (assign): adjust
2510         (push_back): take a reference instead of a pointer.
2511
2512         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2513
2514         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2515         instead.
2516
2517         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2518         set else use old code.
2519
2520         * ParagraphList.C: remove all NO_NEXT code and only compile this
2521         code of NO_STD_LIST is set.
2522
2523 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2524
2525         * BufferView_pimpl.C:
2526         * TextCache.C:
2527         * TextCache.h:
2528         * bufferlist.C:
2529         * errorlist.h:
2530         * format.C:
2531         * format.h:
2532         * graph.C:
2533         * lyxfunc.C:
2534         * lyxrc.C:
2535         * graphics/GraphicsConverter.C:
2536         * graphics/PreviewLoader.C: header adjustment
2537
2538 2003-05-23  Angus Leeming  <leeming@lyx.org>
2539
2540         * LaTeXFeatures.[Ch] (useBabel): new method.
2541         * bufferparams.C (writeLaTeX): use it.
2542
2543 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * ParagraphList.h (set): remove unused function.
2546
2547 2003-05-23  André Pönitz  <poenitz@gmx.net>
2548
2549         * BufferView.C:
2550         * BufferView_pimpl.C:
2551         * buffer.C:
2552         * buffer.h:
2553         * lyxfunc.C:
2554         * undo_funcs.C: setUndo reworked
2555
2556         * iterators.[Ch]: add access to topmost ParagraphList
2557
2558         * lyxtext.[Ch] (workWidth): add a const
2559
2560 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2561
2562         * texrow.[Ch] (increasePos): remove function
2563         * exporter.C (export): removed unused var and outdated comment
2564
2565 2003-05-23  Angus Leeming  <leeming@lyx.org>
2566
2567         * latexrunparams.h: rename fragile as moving_arg.
2568         * paragraph.C (simpleTeXOnePar): ditto.
2569         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2570
2571 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2574         (createUndo): ditto
2575         (textUndoOrRedo): comment out a currently unused var.
2576
2577         * paragraph.h (NO_NEXT): enable NO_NEXT
2578
2579         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2580
2581         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2582
2583         * exporter.C (Export): adjust for removeAutoInsets removal.
2584
2585         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2586
2587         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2588
2589         * BufferView.[Ch] (removeAutoInsets): delete function
2590
2591 2003-05-22  Angus Leeming  <leeming@lyx.org>
2592
2593         * latexrunparams.h: add a free_spacing variable.
2594
2595         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2596         to pass moving_arg, as the data is stored in runparams.fragile.
2597
2598         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2599         to Inset::latexOptional or to simpleTeXOnePar.
2600
2601         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2602         free_spacing arg to Inset::latexOptional.
2603
2604         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2605         free_spacing arg.
2606
2607 2003-05-22  Angus Leeming  <leeming@lyx.org>
2608
2609         * latexrunparams.h: add fragile and use_babel variables.
2610
2611         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2612         * buffer.C (makeLaTeXFile): store this returned value in
2613         runparams.use_babel, thus passing it to the inset::latex methods.
2614
2615         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2616         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2617
2618         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2619         longer has a fragile arg, as it is stored in runparams.fragile.
2620
2621         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2622         moving_arg parameter as the data is stored in runparams.fragile.
2623
2624         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2625         a fragile parameter as the data is stored in runparams.fragile.
2626
2627 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2630
2631 2003-05-22  Angus Leeming  <leeming@lyx.org>
2632
2633         * latexrunparams.h: add a 'bool nice' which defaults to false.
2634
2635         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2636         now encapsulated within runparams.
2637
2638         * bufferlist.C (updateIncludedTeXfiles):
2639         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2640
2641 2003-05-22  Angus Leeming  <leeming@lyx.org>
2642
2643         * latexrunparams.h: new file containing struct LatexRunParams.
2644         * Makefile.am: add new file.
2645
2646         * LaTeX.[Ch] (c-tor, run):
2647         * buffer.[Ch] (makeLaTeXFile):
2648         * bufferlist.[Ch] (updateIncludedTeXfiles):
2649         * converter.C (convert, scanLog):
2650         * converter.[Ch] (runLaTeX):
2651         * exporter.C (Export):
2652         * paragraph.[Ch] (simpleTeXOnePar):
2653         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2654         * paragraph_funcs.[Ch] (latexParagraphs):
2655         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2656         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2657         pass around a LatexRunParams parameter.
2658
2659 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2660
2661         * paragraph.[Ch]: remove unused constructor
2662
2663         * ParagraphList.C (erase): new function, taking two iterators
2664
2665 2003-05-22  André Pönitz  <poenitz@gmx.net>
2666
2667         * undo_funcs.C: remove duplicated code
2668
2669         * iterator.[Ch]: operator=
2670
2671 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * tabular.C (SetMultiColumn): ws changes
2674
2675         * rowpainter.C (paintFirst): get rid of a ->previous
2676
2677         * lyx_cb.C (getPossibleLabel): parlist simplification
2678
2679         * BufferView.C (ChangeInsets): simplify slightly.
2680
2681 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2682
2683         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2684         * lfuns.h: new LFUN_SPACE
2685         * lyxfunc.C: protected space has a new lfun
2686         * paragraph_funcs.C: read new space insets
2687         * text3.C:
2688         * factory.C: handle new space insets
2689
2690 2003-05-22  André Pönitz  <poenitz@gmx.net>
2691
2692         * BufferView.C:
2693         * BufferView_pimpl.C:
2694         * buffer.[Ch]:
2695         * lyxfunc.C:
2696         * undo_funcs.C: return a ParIterator from getParFromID.
2697
2698         * iterators.[Ch]: add two const's
2699
2700 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2701
2702         * toc.C (getTocList): adjust
2703
2704         * iterators.[Ch]: rework for parlist
2705
2706         * buffer.C (par_iterator_begin): adjust
2707         (par_iterator_end): adjust
2708
2709         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2710
2711         * BufferView.C (removeAutoInsets): adjust
2712         (ChangeInsets): adjust
2713
2714 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2715
2716         * text.C (top_y): fix bug 1110
2717
2718 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * errorlist.[Ch]: added
2721         * buffer.C:
2722         * BufferView.[Ch]:
2723         * BufferView_pimpl.C:
2724         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2725         instead
2726
2727 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * Makefile.am: ensure that lyx is relinked upon changes to the
2730         various "convenience" libs.
2731
2732 2003-05-20  Angus Leeming  <leeming@lyx.org>
2733
2734         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2735         files are compiled in alphabetical order again.
2736
2737         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2738
2739 2003-05-19  Angus Leeming  <leeming@lyx.org>
2740
2741         * gettext.[Ch]: remove "char const * _(char const *)".
2742
2743 2003-05-19  André Pönitz  <poenitz@gmx.net>
2744
2745         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2746
2747         * Makefile.am:
2748         * BufferView.C:
2749         * DepTable.h:
2750         * LaTeXFeatures.C:
2751         * buffer.C:
2752         * lyxfont.C:
2753         * lyxlex.h:
2754         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2755
2756 2003-05-19  André Pönitz  <poenitz@gmx.net>
2757
2758         * buffer.C:
2759         * lyxlayout.[Ch]:
2760         * lyxtextclass.[Ch]:
2761         * paragraph.C:
2762         * paragraph_funcs.[Ch]:
2763         * text2.C:
2764         * text3.C: more insetenv work
2765
2766 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2767
2768         * ParagraphParameters.C (params2string): small bug fixed
2769
2770 2003-05-16  André Pönitz  <poenitz@gmx.net>
2771
2772         * debug.C:
2773         * bufferview_funcs.C: patch from Kornel Benko to prevent
2774           crash when _(...) is called twice in a statement
2775
2776 2003-05-16  André Pönitz  <poenitz@gmx.net>
2777
2778         * BufferView.C:
2779         * lyxfunc.C:
2780         * text.C:
2781         * text2.C:
2782         * text3.C:
2783         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2784
2785 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2786
2787         * lyx_main.C (init): remove spurious static_cast
2788
2789 2003-05-14  André Pönitz  <poenitz@gmx.net>
2790
2791         * BufferView.C: fix format string
2792
2793 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * BufferView.[Ch] (insertErrors): removed
2796         * BufferView.[Ch] (showErrorList): added
2797         * buffer.C (runChkTeX):
2798         * converter.C (scanLog): call showErrorList instead of inserterrors
2799
2800 2003-05-13  André Pönitz  <poenitz@gmx.net>
2801
2802         * BufferView_pimpl.C:
2803         * buffer.C:
2804         * bufferview_func.C:
2805         * MenuBackend.C:
2806         * lyxfunc.C:
2807         * lyxrc.C:
2808         * tex-accent.C:
2809         * text3.C:
2810         * toc.C:
2811         * tabular_funcs.h: tostr() from its own header
2812
2813         * ParagraphParameters.C:
2814         * ToolbarBackend.C:
2815         * bufferparams.C:
2816         * format.C:
2817         * lyxlex_pimpl.C:
2818         * text3.C: STRCONV()
2819
2820 2003-05-12  André Pönitz  <poenitz@gmx.net>
2821
2822         * BufferView.C:
2823         * BufferView_pimpl.C:
2824         * CutAndPaste.C:
2825         * LaTeX.C:
2826         * LaTeXFeatures.C:
2827         * ParagraphParameters.C:
2828         * buffer.C:
2829         * bufferlist.C:
2830         * bufferparams.C:
2831         * bufferview_funcs.C:
2832         * converter.C:
2833         * counters.C:
2834         * debug.C:
2835         * exporter.C:
2836         * format.C:
2837         * importer.C:
2838         * lyx_cb.C:
2839         * lyx_main.C:
2840         * lyxfont.C:
2841         * lyxfunc.C:
2842         * lyxvc.C:
2843         * paragraph.C:
2844         * paragraph_funcs.C:
2845         * tabular.C:
2846         * tabular_funcs.C:
2847         * text2.C:
2848         * text3.C:  boost::format -> bformat  all over the place
2849
2850
2851 2003-05-09  André Pönitz  <poenitz@gmx.net>
2852
2853         * LColor.[Ch]: Pimpl the #include <map> away
2854
2855 2003-05-09  John Levon  <levon@movementarian.org>
2856
2857         * bufferlist.C: never remove emergency saves
2858
2859 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2860
2861         * Makefile.am: better lib building
2862
2863 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2866         instead.
2867         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2868         (simpleTeXSpecialChars): adjust
2869         (simpleTeXSpecialChars): adjust
2870         * paragraph.C (simpleTeXOnePar): adjust
2871         * buffer.C (makeLaTeXFile): adjust
2872
2873         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2874
2875         * text2.C (changeDepth): parlist cleanup
2876         (getColumnNearX): ditto
2877
2878         * rowpainter.C (getLabelFont): parlist cleanup
2879
2880         * bufferlist.C (newFile): parlist cleanup
2881
2882         * CutAndPaste.C (eraseSelection): parlist cleanup
2883
2884         * BufferView_pimpl.C (trackChanges): parlist cleanup
2885         (dispatch): ditto
2886
2887         * BufferView.C (lockInset): parlist cleanup.
2888         (ChangeInsets): ditto
2889
2890 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2891
2892         * CutAndPaste.h: Update file header.
2893
2894         * CutAndPaste.C: Update file header.
2895         Store the parts cut out of the Document in a limited_stack.
2896         (copySelection): adjust
2897         (pasteSelection): new function, takes the index in the limited stack.
2898         (nrOfParagraphs): adjust
2899         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2900         simplify error inset insertion.
2901         (checkPastePossible): adjust
2902
2903 2003-05-06  John Levon  <levon@movementarian.org>
2904
2905         * text2.C: don't cast wrap inset to float
2906
2907 2003-05-05  André Pönitz  <poenitz@gmx.net>
2908
2909         * iterator.C:
2910         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2911
2912         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2913           few naked Paragraph *.
2914
2915 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2916
2917         * bufferparams.C: Output warning if a document with missing
2918         TeX document class is loaded
2919         * exporter.C: Disable TeX exports if the document class is missing
2920         * lyxtextclass.C:
2921         * lyxtextclass.h:
2922         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2923         isTeXClassAvailable()
2924
2925 2003-05-03  John Levon  <levon@movementarian.org>
2926
2927         * BufferView.h:
2928         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2929         explicit cursor show/hide
2930
2931         * BufferView_pimpl.h:
2932         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2933         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2934
2935         * lyxfunc.C: hide cursor before dispatching.
2936
2937         * lyx_cb.C:
2938         * lyxfind.C:
2939         * text.C:
2940         * text3.C: remove explicit cursor hides
2941
2942 2003-05-02  André Pönitz  <poenitz@gmx.net>
2943
2944         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2945
2946         * undo_funcs.C:
2947         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2948           linked lists
2949
2950         * text2.C: tiny whitespace
2951
2952 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2953
2954         * undo_funcs.C: almost only ws changes.
2955
2956         * ParagraphList.C (splice): just return if pl is empty.
2957
2958 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * ParagraphList.C (splice): new function.
2961
2962         * CutAndPaste.C (pasteSelection): use it
2963
2964 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2965
2966         * CutAndPaste.C (pasteSelection): remove the last next and
2967         previous from this file.
2968
2969 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2970
2971         * CutAndPaste.C (pasteSelection): more clean up, user proper
2972         ParagraphList functions for pasteing.
2973
2974         * ParagraphList.C (insert): new function, three arg insert
2975
2976 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2977
2978         * ParagraphList.C (insert): new function, three arg insert
2979
2980         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2981         not on paragraphs.
2982
2983 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2984
2985         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2986
2987 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2990
2991 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2994         (copySelection): clean up a bit.
2995         (pasteSelection): use make_pair
2996
2997         * ParagraphList.C (ParagraphList): implement copy constructor
2998         (operator=): implement, base on copy constructor.
2999         (assign): new func
3000
3001         * paragraph.C (erase): return a bool
3002
3003         * paragraph_pimpl.C (erasePos): remove function, move contents...
3004         (erase): ... here. Return a bool.
3005         (erase): call erase instead of erasePos.
3006
3007 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3008
3009         * ParagraphList.h: define PitPosPair
3010         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3011         ParagraphList, fix a bug on pasting multiple pars
3012         * text2.C: change interface to C&P
3013
3014 2003-04-30  André Pönitz  <poenitz@gmx.net>
3015
3016         * undo_func.C: revert part of yesterday's patch 2
3017
3018 2003-04-30  John Levon  <levon@movementarian.org>
3019
3020         * LColor.C: s/tabular/table/
3021
3022 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * text3.C (dispatch): do not convert iterator -> pointer
3025         * undo_funcs.C (setCursorParUndo): ditto
3026         * text_funcs.C (transposeChars): ditto
3027
3028         * text2.C (setLayout): ws changes only
3029
3030         * text.C (breakParagraph): do not convert iterator -> pointer
3031         (insertChar): ditto
3032         (acceptChange): ditto
3033         (rejectChange): ditto
3034         (changeCase): ditto
3035         (Delete): ditto
3036         (backspace): ditto
3037
3038         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3039         pointer
3040
3041 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3042
3043         * text3.C (gotoInset): YABG (yet another bad getChar)
3044
3045 2003-04-29  André Pönitz  <poenitz@gmx.net>
3046
3047         * paragraph.h: make operator= private unimplemented as long as
3048           it is unusable
3049
3050         * ParagraphList.C: whitespace
3051
3052         * paragraph.[Ch]:
3053         * paragraph_pimpl.[Ch]:
3054         * paragraph_funcs.C:
3055         * CutAndPaste.C:
3056         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3057
3058         * text2.C:
3059           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3060
3061 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3062
3063         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3064         * paragraph.[Ch] (erase):
3065         * paragraph_pimpl.[Ch] (erase): change return type and value
3066         * text2.C (cutSelection): some rework
3067
3068 2003-04-28  John Levon  <levon@movementarian.org>
3069
3070         * bufferlist.C: changes for unsaved changes dialog
3071
3072 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3073
3074         * bufferlist.C (newFile): set language (messages_) for new
3075         documents also.
3076
3077         * buffer.C (readFile): ws changes only.
3078
3079 2003-04-28  André Pönitz  <poenitz@gmx.net>
3080
3081         * undo_funcs.C:
3082         * lyxfunc.C:
3083         * buffer.[Ch]:
3084         * BufferView_pimpl.C:
3085         * BufferView.C: getParFromID related ParagraphList::iterator changes
3086
3087 2003-04-28  André Pönitz  <poenitz@gmx.net>
3088
3089         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3090           Changes
3091
3092 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * messages.C: remove one more localedir class variable.
3095
3096 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3097
3098         * messages.C (getLocaleDir): singleton generation function
3099         (Pimpl): use it.
3100         (Messages): add a default constructor.
3101
3102         * main.C (main): do not setup localedir here, do not call
3103         gettext_init.
3104
3105         * gettext.C (_): use it.
3106         (gettext_init): delete funciton
3107
3108 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3109
3110         * gettext.C (getLyXMessages): new singleton generating function.
3111
3112         * buffer.C (updateDocLang): adjust
3113
3114         * Makefile.am (messages.o): add target
3115         (main.o): remove target
3116
3117 2003-04-27  John Levon  <levon@movementarian.org>
3118
3119         * bufferlist.C:
3120         * lyx_cb.C:
3121         * lyxfunc.C:
3122         * lyxvc.C: specify cancel button in Alert::prompt
3123
3124 2003-04-26  John Levon  <levon@movementarian.org>
3125
3126         * text3.C:
3127         * lyxfunc.C:
3128         * lfuns.h:
3129         * LyXAction.C: add LFUN_INSET_SETTINGS
3130
3131         * lyxfunc.C: don't enable tabular-feature when there's
3132         just any locking inset
3133
3134 2003-04-26  John Levon  <levon@movementarian.org>
3135
3136         * bufferlist.C: re-add Cancel to buffer close question
3137
3138         * lyxfunc.C: fix import UI a bit
3139
3140 2003-04-25  John Levon  <levon@movementarian.org>
3141
3142         * gettext.C: remove the broken asserts for now
3143
3144 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * messages.C: make case where setlocale cannot comply work better.
3147
3148         * buffer.C (updateDocLang): new function
3149         (changeLanguage): use it
3150         (readFile): use it
3151
3152         * text2.C (setCounter): use B_ a bit.
3153
3154         * lyxlayout.C (Read): be sure to trim the label strings.
3155
3156         * messages.C (Messages): fix typo in comment
3157
3158         * buffer.C (readFile): set message_ after file is loaded.
3159         (makeDocBookFile): remove double return
3160         (changeLanguage): reset message_ upon language change.
3161         (B_): new func, use this to get translated buffer strings.
3162
3163         * main.C: add myself and Jean Marc as authors.
3164
3165 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3166
3167         * messages.[hC]: pimplify Messages, and three different pimpls to be
3168         used in different circumstances.
3169
3170         * gettext.[Ch]: change for use with new message code.
3171
3172 2003-04-24 André Pönitz <poenitz@gmx.net>
3173
3174         * factory.C: support for eqref
3175
3176 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3177
3178         * messages.[Ch]: add missing char
3179
3180         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3181
3182         * messages.[Ch]: New files
3183
3184 2003-04-18  John Levon  <levon@movementarian.org>
3185
3186         * BufferView.h:
3187         * BufferView.C:
3188         * BufferView_pimpl.C:
3189         * lfuns.h:
3190         * LyXAction.C:
3191         * lyxtext.h:
3192         * text2.C: remove layout-copy/paste (bug 778)
3193
3194 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3195
3196         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3197
3198 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3199
3200         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3201         if they succeed. Act accordingly.
3202
3203 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * text2.C (setCharFont): adjust
3206         (setCounter): adjust
3207         (insertStringAsLines): adjust
3208
3209         * text.C (leftMargin): adjust
3210         (setHeightOfRow): adjust
3211
3212         * rowpainter.C (paintFirst): adjust
3213         (paintLast): adjust
3214
3215         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3216         (outerHook): ditto
3217         (isFirstInSequence): ditto
3218         (getEndLabel): ditto
3219         (outerFont): adjust
3220
3221         * paragraph.C (getParLanguage): comment out some hard stuff.
3222
3223         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3224         (sgmlError): ditto
3225         (simpleDocBookOnePar): ditto
3226         (makeDocBookFile): use ParagraphList::iterator
3227
3228         * CutAndPaste.C (pasteSelection): adjust
3229
3230 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * text2.C (getFont): adjust
3233         (getLayoutFont): adjust
3234         (getLabelFont): adjust
3235
3236         * paragraph_funcs.C (TeXOnePar): adjust
3237
3238         * buffer.C (simpleLinuxDocOnePar): adjust
3239         (simpleDocBookOnePar): adjust
3240
3241         * CutAndPaste.C (pasteSelection): adjust
3242
3243         * BufferView.C (getEncoding): adjust
3244
3245         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3246
3247 2003-04-16  John Levon  <levon@movementarian.org>
3248
3249         * lyxfind.C: use parlist stuff for search/changes
3250
3251 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3254
3255         * text2.C (deleteEmptyParagraphMechanism): adjust
3256
3257         * text2.[Ch] (ownerParagraph): delete func (both of them
3258
3259 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3262
3263 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3264
3265         * ParagraphList.C: prepare for NO_NEXT
3266
3267 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3268
3269         * text2.C (getFont): adjust
3270         (getLayoutFont): adjust
3271         (getLabelFont): adjust
3272
3273         * paragraph.C (getFont): adjust
3274         (getLabelFont): adjust
3275         (getLayoutFont): adjust
3276
3277         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3278
3279 2003-04-15  John Levon  <levon@movementarian.org>
3280
3281         From Angus Leeming
3282
3283         * lyx_main.C: handle Include in .ui files
3284
3285 2003-04-15  John Levon  <levon@movementarian.org>
3286
3287         * MenuBackend.C: make the doc files length shorter
3288
3289         * ToolbarBackend.h:
3290         * ToolbarBackend.C: handle toolbar placement flags,
3291         Minibuffer
3292
3293 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3294
3295         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3296         adjust
3297
3298         * paragraph_funcs.C (TeXOnePar): adjust
3299
3300         * paragraph.C (getLabelFont): add outerfont arg, adjust
3301         (getLayoutFont): ditto
3302         (simpleTeXOnePar): adjust
3303
3304         * paragraph_pimpl.C (realizeFont): delete func
3305
3306 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3307
3308         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3309         row argument, constify cur argument.
3310
3311 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3312
3313         * text2.C (getFont): adjust
3314         (getLayoutFont): adjust
3315         (getLabelFont): adjust
3316
3317         * paragraph_funcs.C (TeXOnePar): adjust
3318         (outerFont): new func...
3319         (realizeFont): ...moved out from here, changed this to facilitate
3320         transition
3321
3322         * paragraph.C (getFont): take outerfont as arg, adjust
3323         (simpleTeXOnePar): add outerfont arg, adjust
3324
3325         * buffer.C (simpleLinuxDocOnePar): adjust
3326         (simpleDocBookOnePar): adjust
3327
3328         * CutAndPaste.C (pasteSelection): adjust
3329
3330         * BufferView.C (getEncoding): adjust
3331
3332 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3333
3334         * text2.C (setCharFont): adjust
3335         (setCounter): adjust
3336
3337         * text.C (leftMargin): adjust
3338         (setHeightOfRow): adjust
3339
3340         * rowpainter.C (paintFirst): adjust
3341         (paintLast): adjust
3342
3343         * paragraph_pimpl.C (realizeFont): adjust
3344
3345         * paragraph.C (isFirstInSequence): move from here...
3346         * paragraph_funcs.C (isFirstInSequence): ...to here
3347
3348         * paragraph.C (outerHook): move from here...
3349         * paragraph_funcs.C (outerHook): ...to here
3350
3351         * paragraph.C (depthHook): move from here...
3352         * paragraph_funcs.C (depthHook): ...to here
3353
3354         * paragraph.C (getEndLabel): move from here...
3355         * paragraph_funcs.C (getEndLabel): ...to here
3356
3357         * text2.C (realizeFont): move from here...
3358         * paragraph_funcs.C (realizeFont): ...to here
3359
3360 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3363
3364 2003-04-14  Angus Leeming  <leeming@lyx.org>
3365
3366         * LColor.[Ch]: scrap LColor mathcursor.
3367
3368 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * lyxlex.[Ch] (text): delete function
3371         * trans.C (Load): adjust
3372         * paragraph_funcs.C (readParToken): adjust
3373
3374 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3375
3376         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3377         vector<char> instead of a char[].
3378
3379         * lyxlex_pimpl.C (getString): adjust
3380         (next): adjust
3381         (lex): use getString
3382         (eatLine): adjust
3383         (nextToken): adjust
3384
3385         * lyxlex.C (text): use pimpl_->getString()
3386         (getBool): ditto
3387         (findToken): ditto
3388
3389 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3392         (makeFontEntriesLayoutSpecific): temp var for par.size()
3393         (setLayout): temp var for ownerParagraphs().end()
3394         (fullRebreak): temp var for rows().end()
3395         (selectionAsString): temp var for boost::next(startpit), realize
3396         that the while really is a regular for loop.
3397         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3398         setCursor in one place.
3399         (setParagraph): temp vr for ownerParagraphs().end()
3400         (updateCounters): make the while loop a for loop
3401         (cutSelection): temp var for ownerParagraphs().end()
3402         (updateInset): make the do {} while() a regular for loop
3403         (getCursorX): use temp vars
3404         (setCurrentFont): use temp vars
3405         (getColumnNearX): use temp vars
3406
3407 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * text.C (transformChar): use temp var for getChar
3410         (computeBidiTables): use temp var for row->par()
3411         (fill): move temp vars for row->par() and pit->layout() earlier in
3412         the function.
3413         (labelFill): use temp var for row->par()
3414         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3415         asc and desc, realize that pit never changes and that firstpit is
3416         just a duplicate and not needed. Exchange rit->par() with pit in a
3417         lot of places.
3418         (breakAgain): use a temp var for boost::next(rit)
3419         (breakAgainOneRow): ditto
3420         (breakParagraph): use a temp var for rows().begin()
3421         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3422         (cursorRightOneWord): use temp var for cursor.par() and
3423         cursor.pos(), remove usage of tmpcursor.
3424         (cursorLeftOneWord): use temp var for cursor.par() and
3425         cursor.pos() only set cur at end of function.
3426
3427 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3428
3429         * text.C, text2.C: exchange all usage of Paragraph::next with
3430         boost::next(ParagraphList::iterator)
3431
3432         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3433
3434         * text2.C (cursorTop): simplify implementation
3435         (cursorBottom): ditto
3436         (setParagraph): use ParagraphList::iterator
3437         (setCurrentFont): adjust
3438         (getColumnNearX): adjust
3439         (cursorRight): adjust
3440         (cursorLeft): remove usage of Paragraph::previous
3441         (cursorUpParagraph): ditto
3442         (deleteEmptyParagraphMechanism): slight cleanup
3443
3444         * text.C (isBoundary): take a Paragraph const & instead of a
3445         pointer as arg.
3446         (addressBreakPoint): ditto
3447         (leftMargin): remove usage of Paragraph::previous.
3448         (setHeightOfRow): ditto
3449         (cursorLeftOneWord): ditto
3450         (selectNextWordToSpellcheck): ditto
3451         (Delete): ditto
3452         (backspace): ditto
3453         (breakParagraph): remove one usage of Paragraph::next
3454         (redoParagraph): ditto
3455         (acceptChange): ditto
3456         (insertChar): adjust
3457         (rowBreakPoint): adjust
3458
3459         * bufferview_funcs.C (toggleAndShow): adjust
3460
3461 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3462
3463         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3464         methods to access it.
3465         * lyxtext.h:
3466         * text.C: Added updateRowPositions to compute all row positions.
3467         Make top_y and getRowNearY() to use the cached y position
3468
3469 2003-04-11  John Levon  <levon@movementarian.org>
3470
3471         * text.C (rowBreakPoint): reintroduce the labelEnd
3472         checks, code copied from the row fill stuff. Deep voodoo.
3473
3474         * text.C (fill): add a comment and debugging for the
3475         next poor soul.
3476
3477 2003-04-11  John Levon  <levon@movementarian.org>
3478
3479         * text.C: make sure fullrow insets get wrapped to the next line,
3480         even when they're in a manual label
3481
3482 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * text2.C (insertParagraph): make it take ParagraphList::iterator
3485         as arg.
3486         (setLayout): make it return ParagraphList::iterator
3487         (redoParagraphs): ditto
3488         (setCounter): ditto
3489         (checkParagraph): ditto
3490
3491         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3492
3493         * text2.C: adjust several funcs.
3494         (realizeFont): take a ParagraphList::iterator as arg.
3495         (getLayoutFont): ditto
3496         (getLabelFont): ditto
3497         (setCharFont): ditto
3498
3499         * text.C: adjust several funcs.
3500
3501 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3502
3503         * text.C (selectNextWordToSpellcheck): don't accidentally
3504         skip insets
3505
3506 2003-04-10  John Levon  <levon@movementarian.org>
3507
3508         * ToolbarBackend.C (getIcon): special handling for
3509         LFUN_MATH_DELIM
3510
3511 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * text2.C (cursorRight): a getChar assert fixed
3514
3515 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * text2.C (getFont): change to take a ParagraphList::iterator
3518         instead of Paragraph*
3519         Adjust several functions.
3520
3521         * text.C (transformChar): change to take a ParagraphList::iterator
3522         instead of Paragraph*
3523         (singleWidth): ditto
3524         Adjust several functions.
3525
3526         * rowpainter.C: adjust several functions
3527         * rowpainter.h:store a ParagraphList::iterator and not a
3528         Paragraph&.
3529
3530
3531 2003-04-09  John Levon  <levon@movementarian.org>
3532
3533         * lyxfunc.C:
3534         * lfuns.h:
3535         * LyXAction.h:
3536         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3537         and the "help" bits as well
3538
3539 2003-04-09  John Levon  <levon@movementarian.org>
3540
3541         * ToolbarBackend.h:
3542         * ToolbarBackend.C: allow multiple toolbars
3543
3544 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * undo_funcs.C (setCursorParUndo): adjust
3547
3548         * text_funcs.C (transposeChars): adjust
3549
3550         * text3.C (gotoNextInset): adjust
3551         (dispatch): adjust
3552
3553         * text2.C (setLayout): adjust
3554         (changeDepth): adjust
3555         (setFont): adjust
3556         (redoParagraphs): adjust
3557         (selectionAsString): adjust
3558         (setParagraph): adjust
3559         (insertInset): adjust
3560         (cutSelection): adjust
3561         (copySelection): adjust
3562         (pasteSelection): adjust
3563         (insertStringAsLines): adjust
3564         (updateInset): adjust
3565         (setCursor): change to take a ParagraphList::iterator parameter
3566         (setCursorIntern): change to take a ParagraphList::iterator parameter
3567         (setCurrentFont): adjust
3568         (cursorLeft): adjust
3569         (cursorRight): adjust
3570         (deleteEmptyParagraphMechanism): adjust
3571
3572         * text.C (breakParagraph): adjust
3573         (insertChar): adjust
3574         (acceptChange): adjust
3575         (rejectChange): adjust
3576         (selectNextWordToSpellcheck): adjust
3577         (changeCase): adjust
3578         (Delete): adjust
3579         (backspace): adjust
3580
3581         * lyxfind.C (SearchForward): adjust
3582         (SearchBackward): adjust
3583         (nextChange): adjust
3584
3585         * lyxcursor.C (par): adjust
3586
3587         * lyxcursor.h: store a ParagraphList::iterator instead of a
3588         Paragraph*
3589
3590         * lyx_cb.C (getPossibleLabel): adjust
3591
3592         * bufferview_funcs.C (toggleAndShow): adjust
3593
3594         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3595         (dispatch): adjust
3596
3597         * BufferView.C (removeAutoInsets): adjust
3598         (lockedInsetStoreUndo): adjust
3599
3600 2003-04-09  John Levon  <levon@movementarian.org>
3601
3602         * ToolbarBackend.C: try icon without argument
3603         if with argument fails
3604
3605 2003-04-08  John Levon  <levon@movementarian.org>
3606
3607         * ToolbarBackend.h:
3608         * ToolbarBackend.C: add getIcon(), handle tooltip,
3609         and change from "Icon" to "Item".
3610
3611 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3612
3613         * BufferView.C (lockInset): another bad getchar crunched
3614
3615 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3616
3617         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3618         again)
3619
3620 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3621
3622         * lyxfind.C (searchForward, searchBackwards): bug 782
3623
3624 2003-04-07  John Levon  <levon@movementarian.org>
3625
3626         * paragraph.C: remove dead comment
3627
3628         * text.C: remove troublesome depth-fiddling code
3629         in leftMargin() and rightMargin() (bug 1017)
3630
3631         * text.C: fix breaking of rows in nested lists
3632         (bug 1004)
3633
3634         * text2.C (updateCounters): fix up depth values
3635         (bug 1013)
3636
3637 2003-04-07  John Levon  <levon@movementarian.org>
3638
3639         * BufferView_pimpl.C: clear message when doc finishes resizing,
3640         and after a mouse event
3641
3642         * lyxfunc.C: clear message after exiting inset
3643
3644 2003-04-07  John Levon  <levon@movementarian.org>
3645
3646         * bufferview_funcs.C: show math status not outside
3647         status in the statusbar
3648
3649 2003-04-07  John Levon  <levon@movementarian.org>
3650
3651         * lyxfunc.C: note status changed after a depth change
3652
3653 2003-04-04  Angus Leeming  <leeming@lyx.org>
3654
3655         * LaTeX.h: move AuxInfo operator==, != out of line.
3656         Remove LaTeX virtual destructor; nothing derives from it.
3657         Move operator()() out of public area and rename it startscript().
3658         Change protected for private.
3659
3660 2003-04-04  Angus Leeming  <leeming@lyx.org>
3661
3662         * lyxfunc.C:
3663         * text2.C: remove unneeded #includes.
3664
3665 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * text2.C (dEPM): fix the heigth of the next row
3668
3669 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * text.C: squashed an invalid getChar requester + some ws changes
3672
3673 2003-04-03  John Levon  <levon@movementarian.org>
3674
3675         * bufferview_funcs.h:
3676         * bufferview_funcs.C:
3677         * lyxfunc.C:
3678         * lyxtext.h:
3679         * text2.C: make getStatus work for the env depth lfuns
3680
3681 2003-04-03  John Levon  <levon@movementarian.org>
3682
3683         * bufferview_funcs.h:
3684         * bufferview_funcs.C:
3685         * lyxfunc.C:
3686         * lyxtext.h:
3687         * text2.C: parlistize decDepth(), by merging it with incDepth()
3688
3689 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3690
3691         * lyxrow.h: store a ParagraphList::iterator instead of a
3692         Paragraph* and adjust other class functions to suit.
3693
3694         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3695         above.
3696
3697 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3698
3699         * text2.C (setCursor): do not anchor to cursor row for the time being
3700
3701 2003-04-02  John Levon  <levon@movementarian.org>
3702
3703         * LyXAction.C:
3704         * lfuns.h:
3705         * lyx_main.C:
3706         * lyxtext.h:
3707         * text.C:
3708         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3709
3710 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * paragraph.h: make ParagraphList and ParagraphList::iterator
3713         friends of Paragraph.
3714
3715         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3716
3717         * ParagraphList.C: Use the private next_ and previous_ from
3718         Paragraph.
3719
3720 2003-04-01  John Levon  <levon@movementarian.org>
3721
3722         * ToolbarBackend.h:
3723         * ToolbarBackend.C:
3724         * Makefile.am: rename, remove defaults gunk
3725
3726         * MenuBackend.h:
3727         * MenuBackend.C: remove defaults gunk
3728
3729         * Languages.h:
3730         * Languages.C: remove defaults gunk
3731
3732         * lyx_main.h:
3733         * lyx_main.C: error out if files couldn't be found.
3734
3735 2003-04-02  John Levon  <levon@movementarian.org>
3736
3737         * text2.C: make incDepth() use parlist
3738
3739 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3740
3741         * undo_funcs.C (firstUndoParagraph): adjust
3742
3743         * text3.C (gotoInset): adjust
3744         (dispatch): adjust, and rewrite loop.
3745
3746         * text2.C (init): adjust, and rewrite loop.
3747         (redoParagraphs): adjust
3748         (updateInset): adjust, and rewrite loop.
3749         (deleteEmptyParagraphMechanism): adjust
3750
3751         * tabular.C (LyXTabular): adjust
3752         (SetMultiColumn): adjust
3753         (TeXRow): adjust
3754
3755         * lyxtext.[Ch] (ownerParagraph): delete function
3756         (ownerParagraphs): new function returns a ParagraphList.
3757
3758         * BufferView.C (removeAutoInsets): adjust
3759         (insertErrors): adjust
3760         (setCursorFromRow): adjust
3761
3762 2003-04-01  Angus Leeming  <leeming@lyx.org>
3763
3764         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3765         in the frontends.
3766
3767 2003-04-02  John Levon  <levon@movementarian.org>
3768
3769         * lyxtext.h:
3770         * text.C:
3771         * Makefile.am:
3772         * text_funcs.h:
3773         * text_funcs.C: make transposeChars a free function
3774
3775         * lyxrow_funcs.C: remove wrong comment
3776
3777 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * lyxtext.h: adjust
3780         * rowpainter.C: adjust
3781         * text.C: adjust
3782         * text2.C: adjust
3783         * text3.C: adjust
3784
3785         * lyxrow_funcs. [Ch]: new files
3786
3787         * lyxrow.[Ch]: remove next and previous pointers
3788         (next,previous): remove accessor functions
3789         (isParEnd): move to lyxrow_funcs
3790         (lastPos): move to lyxrow_funcs
3791         (nextRowIsAllInset): move to lyxrow_funcs
3792         (lastPrintablePos): move to lyxrow_funcs
3793         (numberOfSeparators): move to lyxrow_funcs
3794         (numberOfHfills): move to lyxrow_funcs
3795         (numberOfLabelHfills): move to lyxrow_funcs
3796         (hfillExpansion): move to lyxrow_funcs
3797
3798         * lyxfunc.C: adjust
3799
3800         * bufferview_funcs.C (toggleAndShow): adjust
3801
3802         * RowList.h: Remove class RowList from file leave just a
3803         std::list<Row>.
3804
3805         * RowList.C: delete file
3806
3807         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3808         and lyxrow_funcs.h
3809
3810 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * text3.C (cursorPrevious): adjust
3813         (cursorNext): adjust
3814         (dispatch): adjust
3815
3816         * text2.C (redoHeightOfParagraph): adjust
3817         (redoDrawingOfParagraph): adjust
3818         (setCursor): adjust
3819
3820         * text.C (breakParagraph): adjust
3821         (insertChar): adjust
3822         (backspace): adjust
3823
3824         * rowpainter.C (RowPainter): adjust
3825         (leftMargin): simplify and adjust
3826         (most rowpainter functions): adjust.
3827
3828         * rowpainter.h: store the row as RowList::iterator not as Row*
3829
3830         * lyxcursor.C (row): taka RowList::iterator as arg
3831         (irow): ditto
3832
3833         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3834         of Row*.
3835
3836 2003-04-01  Angus Leeming  <leeming@lyx.org>
3837
3838         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3839         stuff like bool Bool.
3840
3841 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3842
3843         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3844         rewrite a loop
3845
3846 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3849         RowList::iterator.
3850
3851         * lyxtext.h (rows): drop one version and leve a const variant that
3852         returns a RowList::iterator.
3853
3854 2003-03-31  Angus Leeming  <leeming@lyx.org>
3855
3856         * text.C (fill): ensure that the signature is the same as that in the
3857         header file.
3858
3859 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3860
3861         * text2.C (redoParagraphs): adjust
3862         (updateCounters): adjust
3863         (checkParagraph): adjust
3864         (getColumnNearX): adjust and reformat a bit.
3865
3866         * text.C (top_y): adjust
3867         (workWidth): adjust
3868         (leftMargin): adjust
3869         (prepareToPrint): adjust
3870         (getRow): adjust
3871         (getRowNearY): adjust
3872
3873         * lyxtext.h: make rowlist_ mutable.
3874
3875         * RowList.h: add const_iterator
3876         * RowList.C: adjust for RowList::const_iterator.
3877
3878         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3879         adjust.
3880
3881 2003-03-31  John Levon  <levon@movementarian.org>
3882
3883         * lyxrc.h:
3884         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3885
3886         * lyx_main.C: set default fonts from using lyx_gui funcs
3887
3888         * exporter.C: pdf_mode moved from lyxrc
3889
3890         * lyx_cb.C:
3891         * lyxfunc.C: changes from above
3892
3893 2003-03-31  John Levon  <levon@movementarian.org>
3894
3895         * lyx_main.C: fix to the last fix
3896
3897 2003-03-31  John Levon  <levon@movementarian.org>
3898
3899         * bufferlist.C: "Load original" -> "Load Original"
3900
3901         * converter.C:
3902         * exporter.C:
3903         * importer.C:
3904         * lyx_main.C:
3905         * format.C: more Alert cleanups
3906
3907 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * text2.C (removeParagraph): make it take a RowList::iterator as
3910         arg, adjust.
3911         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3912         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3913
3914         * text.C (anchor_row): make it take a RowList::iterator as arg,
3915         adjust.
3916         (computeBidiTables): make it take a const reference to Row instead
3917         of Row pointer, adjust.
3918         (leftMargin): make it take a RowList::iterator as arg, adjust.
3919         (rowBreakPoint): adjust
3920         (breakAgainOneRow): make it take a RowList::iterator as arg,
3921         adjust.
3922         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3923
3924         * bufferview_funcs.C (toggleAndShow): adjust
3925
3926 2003-03-30  John Levon  <levon@movementarian.org>
3927
3928         * Makefile.am:
3929         * BoostFormat.h:
3930         * boost-inst.C: moved to support
3931
3932         * several files: changes as a result
3933
3934 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * text2.C (LyXText): adjust.
3937         (init): adjust
3938         (removeRow): make it take a RowList::iterator as arg, adjust.
3939         (fullRebreak): adjust
3940         (deleteEmptyParagraphMechanism): adjust
3941         (clearPaint): adjust
3942         (postPaint): adjust
3943
3944         * text.C (top_y): adjust
3945         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3946         (breakAgain): make it take a RowList::iterator as arg, adjust.
3947         (breakParagraph): adjust
3948         (insertChar): adjust
3949         (backspace): adjust
3950
3951         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3952         need_break_row, and refresh_row.
3953
3954         * text3.C (dispatch): adjust
3955
3956         * text2.C (checkParagraph): adjust
3957         (setCursor): adjust
3958         (setCursorFromCoordinates): adjust
3959
3960         * text.C (top_y): adjust
3961         (workWidth): adjust
3962         (getRow): make it return a RowList::iterator, adjust
3963         (getRowNearY): make it return a RowList::iterator, adjust
3964
3965         * text2.C (init): adjust
3966         (insertRow): remove function
3967         (insertParagraph): adjust
3968         (redoParagraphs): adjust
3969         (fullRebreak): adjust
3970         (updateCounters): adjust
3971
3972         * text.C (top_y): rewrite to use RowList iterators.
3973         (top_y): adjust
3974         (setHeightOfRow): rewrite to sue RowList iterators.
3975         (appendParagraph): adjust
3976         (breakAgain): adjust
3977         (breakAgainOneRow): adjust
3978         (breakParagraph): adjust
3979         (getRow): adjust
3980         (getRowNearY): adjust, and remove commented code.
3981
3982         * lyxtext.h (firstRow): delete function
3983         (lastRow): delete function
3984         (rows): new function (const and non-const versions.)
3985         (insertRow): delete function
3986
3987         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3988
3989 2003-03-29  John Levon  <levon@movementarian.org>
3990
3991         * BufferView_pimpl.C: always update scrollbar top
3992         because pasting text when we're anchored could mean we
3993         miss an update altogether
3994
3995 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * text2.C (init): use rowlist_.end() and not 0.
3998         (insertRow): change to take a RowList::iterator as arg, adjust
3999         for this.
4000         (insertParagraph): change to take a RowList::iterator as arg,
4001         adjust for this.
4002         (redoParagraphs): remove some debug msgs.
4003
4004         * text.C (appendParagraph): change to take a RowList::iterator
4005         arg, adjust for this.
4006         (breakAgain): add an assert
4007         (breakAgainOneRow): ditto
4008
4009 2003-03-29  John Levon  <levon@movementarian.org>
4010
4011         * text2.C: do not clear selection after inc/decDepth
4012         (bug 550)
4013
4014 2003-03-29  John Levon  <levon@movementarian.org>
4015
4016         * BufferView.C:
4017         * buffer.C: fix broken strerrors according to Lars
4018
4019 2003-03-29  John Levon  <levon@movementarian.org>
4020
4021         * converters.C: more Alert cleanups
4022
4023 2003-03-29  John Levon  <levon@movementarian.org>
4024
4025         * bufferview_funcs.C: remove pointless Alert
4026
4027         * buffer.C: fix confusing error message when
4028         a template is chmoded 000
4029
4030 2003-03-29  John Levon  <levon@movementarian.org>
4031
4032         * BufferView.C:
4033         * BufferView.h:
4034         * BufferView_pimpl.C: Alert fixes
4035
4036         * Makefile.am:
4037         * tabular.C:
4038         * tabular-old.C: remove unused table compat reading
4039
4040 2003-03-29  John Levon  <levon@movementarian.org>
4041
4042         * BufferView.C:
4043         * buffer.C:
4044         * lyx_cb.h:
4045         * lyx_cb.C: more Alert cleanups
4046
4047         * lyxfunc.C: don't allow chktex if not latex document
4048
4049 2003-03-29  John Levon  <levon@movementarian.org>
4050
4051         * lyx_cb.C:
4052         * BufferView.C:
4053         * buffer.C: warnings pushed down from support/,
4054         kill err_alert
4055
4056 2003-03-29  John Levon  <levon@movementarian.org>
4057
4058         * lyxfunc.C: safety check for C-r (revert)
4059
4060 2003-03-29  John Levon  <levon@movementarian.org>
4061
4062         * bufferlist.h:
4063         * bufferlist.C: several UI fixes using Alert::prompt.
4064         Fix the pointless looping quit code. Fix stupid revert
4065         behaviour (bug 938)
4066
4067         * lyxvc.h:
4068         * lyxvc.C:
4069         * lyx_cb.C: use Alert::prompt
4070
4071         * lyx_main.C: remove a silly question
4072
4073         * lyxfunc.C: remove a couple of silly questions,
4074         use Alert::prompt
4075
4076 2003-03-28  John Levon  <levon@movementarian.org>
4077
4078         * text2.C: fix bug 974 (End on empty par)
4079
4080 2003-03-28  John Levon  <levon@movementarian.org>
4081
4082         * BufferView_pimpl.C:
4083         * LyXAction.C:
4084         * lfuns.h: remove do-nothing math greek lfuns
4085
4086 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4087
4088         * lyxgluelength.h (isValidGlueLength): add default arg on
4089         parameter 2. Remove default arg from friend in class.
4090
4091         * lyxlength.h (isValidLength): add default arg on parameter 2.
4092         Remove default arg from friend in class.
4093
4094         * text2.C (LyXText): adjust, initialize refresh_row.
4095         (init): adjust
4096         (removeRow): adjust
4097         (insertRow): adjust
4098         (insertParagraph): adjst
4099         (redoParagraphs): adjust
4100         (fullRebreak): adjust
4101         (updateCounters): adjust
4102         (deleteEmptyParagraphMechanism): first attempt at fixing a
4103         crashing bug.
4104
4105         * text.C (top_y): adjust
4106         (setHeightOfRow): adjust
4107         (getRow): adjust
4108         (getRowNearY): adjust
4109
4110         * lyxtext.h: include RowList.h
4111         (~LyXText): not needed anymore, deleted.
4112         (firstRow): modify for RowList
4113         (lastRow): new function
4114         Delete firstrow and lastrow class variables, add a Rowlist
4115         rowlist_ class variable.
4116
4117         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4118         paragraph is empty.
4119
4120         * RowList.C (insert): fix case where it == begin().
4121
4122 2003-03-26  Angus Leeming  <leeming@lyx.org>
4123
4124         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4125         the thesaurus dialog.
4126
4127 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4130
4131         * RowList.[Ch]: new files
4132
4133         * ParagraphList.C (erase): handle the case where it == begin
4134         correctly.
4135
4136 2003-03-25  John Levon  <levon@movementarian.org>
4137
4138         * Makefile.am:
4139         * aspell_local.h:
4140         * aspell.C: add new aspell support
4141
4142         * lyxrc.h:
4143         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4144         have it accessible.
4145
4146 2003-03-25  Angus Leeming  <leeming@lyx.org>
4147
4148         * lfuns.h:
4149         * LyXAction.C (init): new LFUN_INSET_INSERT.
4150
4151         * BufferView_pimpl.C (dispatch): split out part of the
4152         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4153
4154         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4155         LFUN_INSET_APPLY.
4156
4157 2003-03-25  Angus Leeming  <leeming@lyx.org>
4158
4159         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4160
4161 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * text2.C:
4164         * text3.C: remove useless row->height(0)
4165
4166 2003-03-25  John Levon  <levon@movementarian.org>
4167
4168         * lyxtext.h:
4169         * text2.C:
4170         * text3.C: rename the refreshing stuff to better names
4171
4172 2003-03-24  John Levon  <levon@movementarian.org>
4173
4174         * BufferView_pimpl.h:
4175         * BufferView_pimpl.C: update layout choice on a mouse
4176         press/release
4177
4178 2003-03-23  John Levon  <levon@movementarian.org>
4179
4180         * Makefile.am: fix commandtags.h reference
4181
4182 2003-03-22  John Levon  <levon@movementarian.org>
4183
4184         * BufferView_pimpl.C:
4185         * lyxtext.h:
4186         * rowpainter.C:
4187         * rowpainter.h:
4188         * text.C:
4189         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4190
4191 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * lyxtext.h:
4194         * text.C: take the rtl methods out of line
4195
4196 2003-03-21 André Pönitz <poenitz@gmx.net>
4197
4198         * metricsinfo.[Ch]: new files containing structures to be passed around
4199         during the two-phase-drawing...
4200
4201 2003-03-21 André Pönitz <poenitz@gmx.net>
4202
4203         * lyxtextclass.C: read 'environment' tag.
4204
4205 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4206
4207         * text2.C (removeRow): fix bug 964
4208
4209 2003-03-20  John Levon  <levon@movementarian.org>
4210
4211         * rowpainter.C:
4212         * text.C:
4213         * text2.C: paint cleanups. Inset::update() dropped font
4214         parameter
4215
4216 2003-03-19  John Levon  <levon@movementarian.org>
4217
4218         * lyxfunc.C: only fitcursor/markDirty if available()
4219
4220 2003-03-19  John Levon  <levon@movementarian.org>
4221
4222         * commandtags.h: rename to ...
4223
4224         * lfuns.h: ... this, and renumber / cleanup
4225
4226 2003-03-19  John Levon  <levon@movementarian.org>
4227
4228         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4229         fit the cursor after an lfun
4230
4231         * BufferView.h:
4232         * BufferView.C:
4233         * BufferView_pimpl.h:
4234         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4235
4236         * LyXAction.C: layout-character should have ReadOnly
4237
4238         * ParagraphParameters.C:
4239         * buffer.C:
4240         * bufferview_funcs.C:
4241         * lyx_cb.C:
4242         * lyxfind.C:
4243         * lyxtext.h:
4244         * text.C:
4245         * text2.C:
4246         * text3.C:
4247         * undo_funcs.C: changes from above
4248
4249 2003-03-18  John Levon  <levon@movementarian.org>
4250
4251         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4252         remove it from update()
4253
4254         * lyxfunc.C: update layout choice after an lfun
4255
4256         * text3.C: remove extra updateLayoutChoice()s
4257
4258 2003-03-18  John Levon  <levon@movementarian.org>
4259
4260         * text.C: top_y change means full repaint, fix
4261         a drawing bug with cursor movement
4262
4263 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4264
4265         * lyxtext.h:
4266         * text.C:
4267         * text2.C: anchor row on setCursor
4268
4269 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4270
4271         * lyxtext.h: remove almost all mutable keywords
4272         * text.C:
4273         * text2.C:
4274         * text3.C: remove const keywords accordingly
4275
4276 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4279         anon namespace
4280         (TeXEnvironment): ditto
4281         (TeXOnePar): ditto
4282
4283 2003-03-17  John Levon  <levon@movementarian.org>
4284
4285         * text.C (rowBreakPoint): remove attempt to fix displayed
4286         math insets inside a manual label
4287
4288 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4289
4290         * lyxtext.h: remove BufferView* as first arg from almost all class
4291         functions.
4292         * other files: adjust.
4293
4294 2003-03-17  John Levon  <levon@movementarian.org>
4295
4296         * lyxtext.h:
4297         * undo_funcs.C:
4298         * text2.C: more paint cleanups
4299
4300         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4301
4302         * rowpainter.h:
4303         * rowpainter.C: remove "smart" background painting code
4304
4305 2003-03-16  John Levon  <levon@movementarian.org>
4306
4307         * lyxtext.h:
4308         * text.C:
4309         * text2.C:
4310         * text3.C: add helper functions for setting refresh_row/y
4311
4312 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4313
4314         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4315         newline inset which *can* get inserted in the pass_thru layouts.
4316         This is primarily for literate documents.
4317
4318 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4319
4320         * buffer.C: increment LYX_FORMAT to 223
4321
4322 2003-03-14 André Pönitz <poenitz@gmx.net>
4323
4324         * textclass.h: prepare for environment handling, ws changes
4325         * lyxlayout.C: read latexheader and latexfooter tags
4326
4327 2003-03-14  John Levon  <levon@movementarian.org>
4328
4329         * text2.C: rewrite ::status() a bit
4330
4331 2003-03-13  John Levon  <levon@movementarian.org>
4332
4333         * lyxtext.h: add some docs
4334
4335 2003-03-13  John Levon  <levon@movementarian.org>
4336
4337         * lyxtext.h:
4338         * text.C:
4339         * text2.C:
4340         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4341
4342 2003-03-13  John Levon  <levon@movementarian.org>
4343
4344         * text3.C: fix appendix redrawing
4345
4346 2003-03-13  John Levon  <levon@movementarian.org>
4347
4348         * text.C (setHeightOfRow):
4349         * rowpainter.h:
4350         * rowpainter.C: make appendix mark have the text
4351           "Appendix" so the user knows what it is
4352
4353         * LColor.h:
4354         * LColor.C: s/appendixline/appendix/ from above
4355
4356 2003-03-13  John Levon  <levon@movementarian.org>
4357
4358         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4359
4360         * text.C: fix a getChar(pos) bug properly
4361
4362 2003-03-13  Angus Leeming  <leeming@lyx.org>
4363
4364         * commandtags.h:
4365         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4366         Probably only temporary. Let's see how things pan out.
4367
4368         * BufferView.C (unlockInset):
4369         * BufferView_pimpl.C (fitCursor):
4370         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4371
4372         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4373         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4374
4375         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4376         new functions that convert ParagraphParameters to and from a string.
4377
4378         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4379         BufferView::Pimpl's dispatch.
4380         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4381
4382 2003-03-13 André Pönitz <poenitz@gmx.net>
4383
4384         * lyxfunc.C:
4385         * text3.C:
4386         * factory.C: make it aware of InsetEnv
4387
4388 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * text2.C (setCursor): never ask for one past last
4391         (setCursor): add some debugging messages.
4392
4393         * text.C (singleWidth): never ask for one past last
4394         (singleWidth): ditto
4395         (leftMargin): ditto
4396         (rightMargin): ditto
4397         (rowBreakPoint): ditto
4398         (setHeightOfRow): ditto
4399         (prepareToPrint): ditto
4400
4401         * rowpainter.C (paintBackground): never ask for one past last
4402         (paintText): never ask for one past last
4403
4404         * paragraph_pimpl.C (getChar): make the assert stricter, never
4405         allow the one past last pos to be taken
4406
4407         * paragraph.C (getChar): ws changes only
4408
4409         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4410         (numberOfSeparators): ditto
4411         (numberOfHfills): ditto
4412
4413 2003-03-12  John Levon  <levon@movementarian.org>
4414
4415         * author.h:
4416         * author.C:
4417         * bufferparams.h:
4418         * bufferparams.C:
4419         * paragraph_funcs.C: fix per-buffer authorlists
4420
4421 2003-03-12  John Levon  <levon@movementarian.org>
4422
4423         * text.C: fix newline in right address
4424
4425 2003-03-12  Angus Leeming  <leeming@lyx.org>
4426
4427         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4428         duplicate those in LyXFunc::dispatch.
4429
4430         * commandtags.h:
4431         * LyXAction.C:
4432         * ToolbarDefaults.C:
4433         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4434         Add LFUN_FONTFREE_UPDATE.
4435
4436         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4437         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4438
4439         * bufferview_func.[Ch]: several new functions to facilliate
4440         transfer of data to and from the character dialog.
4441
4442 2003-03-12  John Levon  <levon@movementarian.org>
4443
4444         * buffer.C:
4445         * paragraph.h:
4446         * paragraph.C:
4447         * paragraph_funcs.C:
4448         * paragraph_pimpl.C:
4449         * sgml.C:
4450         * tabular.C:
4451         * text.C:
4452         * text3.C: remove META_NEWLINE in favour of an inset
4453
4454         * rowpainter.h:
4455         * rowpainter.C: remove paintNewline (done by inset)
4456
4457 2003-03-12  John Levon  <levon@movementarian.org>
4458
4459         * paragraph_pimpl.C: complain about bad getChar()s
4460         for a while at least
4461
4462 2003-03-12  John Levon  <levon@movementarian.org>
4463
4464         * buffer.h:
4465         * buffer.C: move paragraph read into a separate function,
4466         a little renaming to reflect that.
4467
4468         * bufferparams.h:
4469         * bufferparams.C: remove the author_ids map, not necessary now
4470
4471         * factory.h:
4472         * factory.C: moved Buffer::readInset to here
4473
4474         * paragraph_funcs.h:
4475         * paragraph_funcs.C: readParagraph free function moved from
4476         buffer.C
4477
4478         * tabular.C: name change
4479
4480 2003-03-12  John Levon  <levon@movementarian.org>
4481
4482         * buffer.C:
4483         * ParagraphParameters.C: move par params input to
4484         a read() method
4485
4486         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4487         behave like a normal read from the stream wrt reading
4488         a line vs. a \\token
4489
4490 2003-03-12  John Levon  <levon@movementarian.org>
4491
4492         * paragraph.C:
4493         * ParagraphParameters.h:
4494         * ParagraphParameters.C: move output code to a
4495         ::write() method
4496
4497 2003-03-12  John Levon  <levon@movementarian.org>
4498
4499         * BufferView.C (insertLyXFile):
4500         * buffer.h:
4501         * buffer.C:
4502         * tabular.C: use a parlist iterator for creating the
4503           document.
4504
4505 2003-03-12  John Levon  <levon@movementarian.org>
4506
4507         * buffer.C: make current_change static local not
4508           static file-scope
4509
4510 2003-03-12  John Levon  <levon@movementarian.org>
4511
4512         * buffer.C: fix insertStringAsLines for change tracking
4513
4514 2003-03-12  John Levon  <levon@movementarian.org>
4515
4516         * BufferView.C:
4517         * tabular.C:
4518         * buffer.h:
4519         * buffer.C:
4520         * bufferparams.h:
4521         * bufferparams.C: move author list into params. Rename some
4522           functions. Move the header reading into a separate token
4523           loop. Move the header token reading into BufferParams.
4524
4525 2003-03-12  John Levon  <levon@movementarian.org>
4526
4527         * changes.C: put debug inside lyxerr.debugging() checks
4528
4529 2003-03-11 André Pönitz <poenitz@gmx.net>
4530
4531         * factory.C: make it aware of InsetHFill
4532
4533 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4534
4535         * buffer.C (latexParagraphs): move function from here...
4536         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4537         args.
4538
4539 2003-03-10  Angus Leeming  <leeming@lyx.org>
4540
4541         * LyXAction.C (init): fix bug in poplating array with multiple entries
4542         with the same LFUN (spotted by JMarc).
4543
4544 2003-03-10  John Levon  <levon@movementarian.org>
4545
4546         * text.C:
4547         * text2.C: move getColumnNearX() near its
4548         only call site
4549
4550 2003-03-10  John Levon  <levon@movementarian.org>
4551
4552         * text.C: fix break before a minipage
4553
4554 2003-03-10  John Levon  <levon@movementarian.org>
4555
4556         * text.C: fix the last commit
4557
4558 2003-03-09  John Levon  <levon@movementarian.org>
4559
4560         * lyxtext.h:
4561         * text.C:
4562         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4563         bug 365 (don't break before insets unless needed). Don't
4564         return a value > last under any circumstances.
4565
4566 2003-03-09  Angus Leeming  <leeming@lyx.org>
4567
4568         * BufferView_pimpl.C (trackChanges, dispatch): call
4569         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4570
4571 2003-03-09  Angus Leeming  <leeming@lyx.org>
4572
4573         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4574         than Dialogs::showAboutlyx().
4575
4576 2003-03-09  Angus Leeming  <leeming@lyx.org>
4577
4578         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4579         than Dialogs::showTabularCreate().
4580
4581 2003-03-09  John Levon  <levon@movementarian.org>
4582
4583         * lyxtext.h:
4584         * text.C:
4585         * text2.C: 3rd arg to nextBreakPoint was always the same.
4586           Use references.
4587
4588 2003-03-08  John Levon  <levon@movementarian.org>
4589
4590         * lyxrow.C:
4591         * paragraph.C:
4592         * paragraph.h:
4593         * rowpainter.C:
4594         * text.C:
4595         * text2.C: Remove the "main" bit from the "main body"
4596           notion.
4597
4598 2003-03-08  John Levon  <levon@movementarian.org>
4599
4600         * text.C (leftMargin): The left margin of an empty
4601         manual label paragraph should not include the label width
4602         string length.
4603
4604         * text.C (prepareToPrint): don't attempt to measure hfills
4605         for empty manual label paragraphs - the answer should be 0
4606
4607 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * CutAndPaste.C: remove commented code and reindent.
4610
4611 2003-03-08  John Levon  <levon@movementarian.org>
4612
4613         * lyxfunc.h:
4614         * lyxfunc.C: move reloadBuffer()
4615
4616         * BufferView.h:
4617         * BufferView.C: to here
4618
4619         * lyxvc.C: add comment
4620
4621         * vc-backend.h:
4622         * vc-backend.C: call bv->reload() to avoid
4623           getStatus() check on MENURELOAD
4624
4625 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4626
4627         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4628         to an old format .dep file.
4629
4630 2003-03-07  Angus Leeming  <leeming@lyx.org>
4631
4632         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4633         when the LFUN_MOUSE_RELEASE should have been handled by
4634         inset->localDispatch.
4635
4636 2003-03-07  Angus Leeming  <leeming@lyx.org>
4637
4638         * BufferView_pimpl.C (dispatch):
4639         * LyXAction.C (init):
4640         * ToolbarDefaults.C (init):
4641         * commandtags.h:
4642         * lyxfunc.C (getStatus):
4643         remove LFUN_INSET_GRAPHICS.
4644
4645         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4646
4647 2003-03-07  Angus Leeming  <leeming@lyx.org>
4648
4649         * commandtags.h:
4650         * LyXAction.C (init):
4651         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4652
4653         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4654
4655         * commandtags.h:
4656         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4657
4658         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4659         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4660
4661 2003-03-07  Angus Leeming  <leeming@lyx.org>
4662
4663         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4664         remove "ert".
4665
4666 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * ParagraphList.C (front): new function
4669         (back): implement
4670
4671 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4672
4673         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4674         and top_row_offset_. removed var first_y.
4675         * text.C (top_y):
4676         * text2.C (LyXText, removeRow):
4677         * text3.C:
4678         * BufferView_pimpl.C:
4679         use these methods instead of using first_y
4680
4681 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * text2.C (pasteSelection): adjust for checkPastePossible
4684
4685         * CutAndPaste.C: remove Paragraph * buf and replace with
4686         ParagraphList paragraphs.
4687         (DeleteBuffer): delete
4688         (cutSelection): change the tc type to textclass_type
4689         (copySelection): change the tc type to textclass_type
4690         (copySelection): adjust for ParagraphList
4691         (pasteSelection): change the tc type to textclass_type
4692         (pasteSelection): adjust for Paragraphlist
4693         (nrOfParagraphs): simplify for ParagraphList
4694         (checkPastePossible): simplify for ParagraphList
4695         (checkPastePossible): remove unused arg
4696
4697         * ParagraphList.C (insert): handle the case where there are no
4698         paragraphs yet.
4699
4700         * CutAndPaste.h: make CutAndPaste a namespace.
4701
4702         * text3.C (dispatch): adjust
4703
4704         * text.C (breakParagraph): add a ParagraphList as arg
4705
4706         * paragraph_funcs.C (breakParagraph): change to take a
4707         BufferParams and a ParagraphList as args.
4708         (breakParagraphConservative): ditto
4709         (mergeParagraph): ditto
4710         (TeXDeeper): add a ParagraphList arg
4711         (TeXEnvironment): ditto
4712         (TeXOnePar): ditto
4713
4714         * buffer.C (readLyXformat2): adjust
4715         (insertStringAsLines): adjust
4716         (latexParagraphs): adjust
4717
4718         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4719         (cutSelection): adjust
4720         (pasteSelection): adjust
4721
4722         * BufferView_pimpl.C (insertInset): adjust
4723
4724 2003-03-05  Angus Leeming  <leeming@lyx.org>
4725
4726         * commandtags.h:
4727         * LyXAction.C (init):
4728         * BufferView_pimpl.C (dispatch):
4729         * lyxfunc.C (getStatus):
4730         remove LFUN_CHILD_INSERT.
4731
4732         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4733
4734 2003-03-05  Angus Leeming  <leeming@lyx.org>
4735
4736         * commandtags.h:
4737         * LyXAction.C (init):
4738         * src/factory.C (createInset):
4739         * lyxfunc.C (getStatus):
4740         * text3.C (dispatch):
4741         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4742
4743         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4744
4745 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * ParagraphList.C (insert): handle insert right before end()
4748         (erase): fix cases where it can be first or last paragraph.
4749
4750 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4751
4752         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4753         Paragraph::next and Paragraph::previous
4754         (TeXOnePar): ditto
4755
4756         * text.C (breakParagraph): adjust
4757
4758         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4759         BufferParams& as arg.
4760         (breakParagraph): use ParagraphList::insert
4761         (breakParagraphConservative): take a Buffer* instead of a
4762         BufferParams& as arg.
4763         (breakParagraphConservative): use ParagraphList::insert.
4764
4765         * buffer.C (insertStringAsLines): un-const it
4766         (insertStringAsLines): adjust
4767
4768         * ParagraphList.C (insert): new function
4769
4770         * CutAndPaste.C (pasteSelection): adjust
4771
4772         * text.C (backspace): adjust
4773
4774         * tabular.C (SetMultiColumn): adjust
4775
4776         * CutAndPaste.C (cutSelection): adjust
4777         (pasteSelection): adjust
4778
4779         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4780         Buffer const * as arg
4781
4782         * ParagraphList.C (erase): new function
4783         * paragraph_funcs.C (mergeParagraph): use it
4784         (mergeParagraph): make it take a Buffer* instead of a
4785         BufferParams* as arg
4786
4787         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4788         as arg
4789         (breakParagraphConservative): ditto
4790
4791         * paragraph.h: remove the breakParagraph friend
4792
4793         * paragraph.C (eraseIntern): new function
4794         (setChange): new function
4795
4796         * paragraph_funcs.C (mergeParagraph): make it take a
4797         ParagraphList::iterator instead of a Paragraph *, adjust
4798         accordingly.
4799
4800         * paragraph.h: move an #endif so that the change tracking stuff
4801         also works in the NO_NEXT case.
4802
4803 2003-03-04  Angus Leeming  <leeming@lyx.org>
4804
4805         * commandtags.h:
4806         * LyXAction.C: new LFUN_INSET_MODIFY.
4807
4808         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4809         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4810
4811 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * several files: ws changes only
4814
4815         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4816         (TeXEnvironment): ditto
4817         (TeXDeeper): ditto
4818
4819         * buffer.C (makeLaTeXFile): adjust
4820         (latexParagraphs): make it take ParagraphList::iterator as args
4821
4822 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4823
4824         * buffer.C (latexParagraphs): adjust
4825
4826         * paragraph.C (TeXOnePar): move function...
4827         (optArgInset): move function...
4828         (TeXEnvironment): move function...
4829         * paragraph_pimpl.C (TeXDeeper): move function...
4830         * paragraph_funcs.C: ...here
4831
4832         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4833
4834 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * buffer.C (readInset): remove compability code for old Figure and
4837         InsetInfo insets
4838
4839 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * buffer.C: ws changes
4842         (readInset):
4843
4844         * BufferView_pimpl.C: ditto
4845         * author.C: ditto
4846         * buffer.h: ditto
4847         * bufferlist.h: ditto
4848         * changes.h: ditto
4849         * lyxfunc.C: ditto
4850
4851 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4852
4853         * converter.[Ch]: split into itself +
4854         * graph.[Ch]
4855         * format.[Ch]
4856         * Makefile.am: += graph.[Ch] + format.[Ch]
4857         * MenuBackend.C
4858         * buffer.C
4859         * exporter.C
4860         * importer.C
4861         * lyx_main.C
4862         * lyxfunc.C
4863         * lyxrc.C: added #include "format.h"
4864
4865 2003-02-27  Angus Leeming  <leeming@lyx.org>
4866
4867         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4868           a label.
4869
4870         * factory.C (createInset): add "label" to the factory.
4871
4872         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4873           string and do no more.
4874
4875 2003-02-27  Angus Leeming  <leeming@lyx.org>
4876
4877         * commandtags.h:
4878         * LyXAction.C (init):
4879         * factory.C (createInset):
4880         * BufferView_pimpl.C (dispatch):
4881           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4882
4883         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4884
4885         * lyxfunc.C (dispatch):
4886         * text3.C (dispatch): pass name to params2string.
4887
4888 2003-02-26  Angus Leeming  <leeming@lyx.org>
4889
4890         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4891           blocks together.
4892           Rearrange the ~includes. Strip out the unnecessary ones.
4893
4894         * factory.C (createInset): reformat.
4895           create new insets for the various LFUN_XYZ_APPLY lfuns.
4896
4897 2003-02-26  John Levon  <levon@movementarian.org>
4898
4899         * lyxrow.h:
4900         * lyxrow.C: add isParStart,isParEnd helpers
4901
4902         * paragraph.h: make isInserted/DeletedText take refs
4903
4904         * paragraph_funcs.h:
4905         * paragraph_funcs.C: remove #if 0'd code
4906
4907         * lyxtext.h:
4908         * text3.C:
4909         * text2.C:
4910         * text.C: use lyxrow helpers above.
4911           Move draw and paint routines to RowPainter.
4912           Make several methods use refs not pointers.
4913           Make backgroundColor() const.
4914           Add markChangeInDraw(), isInInset().
4915           Merge changeRegionCase into changeCase.
4916           Make workWidth() shouldn't-happen code into an Assert.
4917
4918         * rowpainter.h:
4919         * rowpainter.C: new class for painting a row.
4920
4921         * vspace.h:
4922         * vspace.C: make inPixels take a ref
4923
4924 2003-02-26  Angus Leeming  <leeming@lyx.org>
4925
4926         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4927         LFUN_REF_APPLY.
4928
4929 2003-02-25  John Levon  <levon@movementarian.org>
4930
4931         * ispell.C: give the forked command a more accurate name
4932
4933 2003-02-22  John Levon  <levon@movementarian.org>
4934
4935         * toc.h:
4936         * toc.C: make TocItem store an id not a Paragraph *
4937           (bug #913)
4938
4939 2003-02-21  Angus Leeming  <leeming@lyx.org>
4940
4941         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4942           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4943           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4944           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4945           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4946           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4947
4948         * BufferView_pimpl.C (dispatch):
4949         * LyXAction.C (init):
4950         * factory.C (createInset):
4951         * lyxfunc.C (getStatus, dispatch):
4952         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4953
4954 2003-02-21  Angus Leeming  <leeming@lyx.org>
4955
4956         * BufferView_pimpl.C (MenuInsertLyXFile):
4957         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4958         * lyxfunc.C (menuNew, open, doImport):
4959           no longer pass a LyXView & to fileDlg.
4960
4961 2003-02-21  Angus Leeming  <leeming@lyx.org>
4962
4963         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4964         * LyXAction.C: change, BIBKEY to BIBITEM.
4965         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4966         Change InsetBibKey to InsetBibitem.
4967         Change BIBKEY_CODE to BIBITEM_CODE.
4968         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4969         * factory.C: replace insetbib.h with insetbibitem.h.
4970         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4971         * paragraph.C: replace insetbib.h with insetbibitem.h.
4972         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4973         Change bibkey() to bibitem().
4974         * text.C: remove insetbib.h.
4975         * text2.C: replace insetbib.h with insetbibitem.h.
4976         change bibkey() to bibitem().
4977         * text3.C: remove insetbib.h.
4978         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4979
4980 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4981
4982         * lyxrc.C (output): enclose user email in quotes (in case there are
4983         several words)
4984
4985 2003-02-18  John Levon  <levon@movementarian.org>
4986
4987         * buffer.h: add std::
4988
4989 2003-02-17  John Levon  <levon@movementarian.org>
4990
4991         * SpellBase.h:
4992         * ispell.h:
4993         * ispell.C:
4994         * pspell.h:
4995         * pspell.C: reworking. Especially in ispell, a large
4996           number of clean ups and bug fixes.
4997
4998         * lyxfunc.C: fix revert to behave sensibly
4999
5000 2003-02-17 André Pönitz <poenitz@gmx.net>
5001
5002         * LyXAction.C:
5003         * commandtags.h: new LFUN_INSERT_BIBKEY
5004
5005         * layout.h:
5006         * lyxlayout.C:
5007         * buffer.C:
5008         * factory.C:
5009         * text.C:
5010         * text2.C:
5011         * text3.C:
5012         * paragraph.[Ch]:
5013         * paragraph_func.C: remove special bibkey handling
5014
5015 2003-02-17  John Levon  <levon@movementarian.org>
5016
5017         * text.C (Delete): fix case where delete at the end of
5018           the very first paragraph would not merge the pars
5019
5020 2003-02-17  John Levon  <levon@movementarian.org>
5021
5022         * lyxrow.C: fix lastPrintablePos()
5023
5024 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5025
5026         * bufferparams.C (writeLaTeX): add a std:here
5027
5028         * buffer.C: and remove a using directive there
5029
5030 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5031
5032         * buffer.C (makeLaTeXFile): move the code that generates the
5033           preamble...
5034
5035         * bufferparams.C (writeLaTeX): ... in this new method
5036
5037         * LaTeXFeatures.C (getEncodingSet): make const
5038           (getLanguages): make const
5039
5040         * MenuBackend.C (binding): returns the binding associated to this
5041           action
5042           (add): sets the status of each item by calling getStatus. Adds
5043           some intelligence.
5044           (read): add support for OptSubMenu
5045           (expand): remove extra separator at the end of expanded menu
5046
5047 2003-02-15  John Levon  <levon@movementarian.org>
5048
5049         * BufferView.C:
5050         * BufferView_pimpl.C:
5051         * bufferlist.h:
5052         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5053           inset code that had no actual effect. Remove unneeded status
5054           code.
5055
5056 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5057
5058         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5059           in preamble
5060
5061 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5062
5063         * text.C (drawLengthMarker): also draw an arrow marker for
5064           symbolic lengths (medskip...)
5065
5066 2003-02-14  John Levon  <levon@movementarian.org>
5067
5068         * tabular.h:
5069         * tabular.C: better method names
5070
5071 2003-02-14  John Levon  <levon@movementarian.org>
5072
5073         * BufferView_pimpl.C:
5074         * bufferlist.C:
5075         * buffer.C:
5076         * converter.C:
5077         * lyx_cb.C:
5078         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5079           it's a more accurate name. Remove some pointless uses.
5080
5081 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5082
5083         * text2.C (LyXText): change order of initilizers to shut off
5084           warnings
5085
5086 2003-02-14  John Levon  <levon@movementarian.org>
5087
5088         * buffer.C: use ParIterator for getParFromID()
5089
5090         * paragraph.h:
5091         * paragraph.C:
5092         * paragraph_pimpl.h:
5093         * paragraph_pimpl.C: remove unused getParFromID()
5094
5095 2003-02-14  John Levon  <levon@movementarian.org>
5096
5097         * buffer.C: remove some very old #if 0'd parse code
5098
5099 2003-02-13  John Levon  <levon@movementarian.org>
5100
5101         * text.h:
5102         * text.C:
5103         * text2.C: move hfillExpansion(), numberOfSeparators(),
5104           rowLast(), rowLastPrintable(), numberofHfills(),
5105           numberOfLabelHfills() ...
5106
5107         * lyxrow.h:
5108         * lyxrow.C: ... to member functions here.
5109
5110         * paragraph.h:
5111         * paragraph.C:
5112         * lyxtext.h:
5113         * text.C: remove LyXText::beginningOfMainBody(), and call
5114           p->beginningOfMainBody() directly. Move the check for
5115           LABEL_MANUAL into the latter.
5116
5117         * text.h:
5118         * text.C:
5119         * text2.C:
5120         * vspace.C:
5121         * BufferView.h:
5122         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5123
5124         * text.h:
5125         * text.C:
5126         * text2.C:
5127         * text3.C:
5128         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5129           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5130
5131 2003-02-13  John Levon  <levon@movementarian.org>
5132
5133         * CutAndPaste.C: remove debug
5134
5135 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5136
5137         * paragraph.C (asString): remove two unused variables
5138
5139         * lyxtextclass.C (readTitleType):
5140           (Read):
5141           (LyXTextClass): handle new members titletype_ and titlename_
5142
5143         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5144
5145 2003-02-09  John Levon  <levon@movementarian.org>
5146
5147         * buffer.h:
5148         * buffer.C: replace hand-coded list with a map for the dep clean
5149
5150 2003-02-08  John Levon  <levon@movementarian.org>
5151
5152         * LaTeX.C: consolidate code into showRunMessage() helper
5153
5154 2003-02-08  John Levon  <levon@movementarian.org>
5155
5156         * lyxfind.C:
5157         * lyxtext.h:
5158         * text2.C:
5159         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5160           and pass the size in explicitly
5161
5162         * BufferView_pimpl.h:
5163         * BufferView_pimpl.C:
5164         * BufferView.h:
5165         * BufferView.C: add getCurrentChange()
5166
5167         * BufferView_pimpl.h:
5168         * BufferView_pimpl.C: handle change lfuns
5169
5170         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5171           for changes. Mark pasted paragraphs as new.
5172
5173         * support/lyxtime.h:
5174         * support/lyxtime.C:
5175         * DepTable.C: abstract time_t as lyx::time_type
5176
5177         * LColor.h:
5178         * LColor.C: add colours for new text, deleted text, changebars
5179
5180         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5181           package use "usenames" option.
5182
5183         * commandtags.h:
5184         * lyxfunc.C:
5185         * LyXAction.C: add change lfuns
5186
5187         * Makefile.am:
5188         * author.h:
5189         * author.C: author handling
5190
5191         * buffer.h:
5192         * buffer.C: add a per-buffer author list, with first entry as
5193           current author. Handle new .lyx tokens for change tracking. Output
5194           author list to .lyx file. Output dvipost stuff to .tex preamble.
5195           Bump lyx format to 222.
5196
5197         * bufferlist.h:
5198         * bufferlist.C: add setCurrentAuthor() to reset current author details
5199           in all buffers.
5200
5201         * bufferparams.h:
5202         * bufferparams.C: add param for tracking
5203
5204         * bufferview_funcs.C: output change info in minibuffer
5205
5206         * Makefile.am:
5207         * changes.h:
5208         * changes.C: add change-tracking structure
5209
5210         * debug.h:
5211         * debug.C: add CHANGES debug flag
5212
5213         * lyxfind.h:
5214         * lyxfind.C: add code for finding the next change piece
5215
5216         * lyxrc.h:
5217         * lyxrc.C: add user_name and user_email
5218
5219         * lyxrow.h:
5220         * lyxrow.C: add a metric for the top of the text line
5221
5222         * lyxtext.h:
5223         * text.C: implement accept/rejectChange()
5224
5225         * lyxtext.h:
5226         * text.C: paint changebars. Paint new/deleted text in the chosen
5227         colours. Strike through deleted text.
5228
5229         * paragraph.h:
5230         * paragraph.C:
5231         * paragraph_pimpl.h:
5232         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5233           in the current change to the insert functions. Rework erase to
5234           mark text as deleted, adding an eraseIntern() and a range-based
5235           erase(). Implement per-paragraph change lookup and
5236           accept/reject.
5237
5238         * paragraph_funcs.C: Fixup paste for change tracking.
5239
5240         * tabular.C: mark added row/columns as new.
5241
5242         * text.C: fix rowLast() to never return -1. Don't allow
5243           spellchecking of deleted text. Track transpose changes. Don't
5244           allow paragraph break or merge where appropriate.
5245
5246         * text2.C: leave cursor at end of selection after a cut.
5247
5248 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5249
5250         * text.C (getLengthMarkerHeight):
5251         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5252         visible on screen too.
5253
5254 2003-02-07  John Levon  <levon@movementarian.org>
5255
5256         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5257
5258 2003-02-05  Angus Leeming  <leeming@lyx.org>
5259
5260         * lyxserver.C (read_ready): revert my patch of 11 September last year
5261         as it sends PC cpu through the roof. Presumably this means that
5262         the lyxserver will no longer run on an Alpha...
5263
5264 2003-01-30  Angus Leeming  <leeming@lyx.org>
5265
5266         * factory.C (createInset): create an InsetCommandParam of type "index"
5267         and use it to 'do the right thing'.
5268
5269         * text2.C (getStringToIndex): ensure that cursor position is always
5270         reset to the reset_cursor position.
5271
5272 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5273
5274         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5275         disabled.
5276
5277 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5278
5279         * bufferview.C:
5280         * lyxcb.C:
5281         * lyxfunc.C: Output messages with identical spelling, punctuation,
5282         and spaces
5283
5284 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5285
5286         * MenuBackend.C (expandFormats): List only viewable export formats
5287         in "View" menu
5288
5289         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5290         message
5291
5292         * lyxfunc.C (getStatus): Make sure that formats other than
5293         "fax" can also be disabled
5294
5295 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5296
5297         * text3.C (dispatch): put the lfuns that insert insets in 3
5298         groups, and call doInsertInset with appropriate arguments.
5299         (doInsertInset): new function, that creates an inset and inserts
5300         it according to some boolean parameters.
5301
5302 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5303
5304         * buffer.C (readFile): remember to pass on 'par' when calling
5305         readFile recursively.
5306
5307 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5308
5309         * MenuBackend.C (expandFormats): add "..." to import formats.
5310
5311 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5312
5313         * paragraph.C (asString): Remove XForms RTL hacks.
5314
5315 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5316         * buffer.C: fix typo
5317
5318 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * Makefile.am (LIBS): delete var
5321         (lyx_LDADD): add @LIBS@ here instead.
5322
5323 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5324
5325         * Clarify the meaning of "wheel mouse jump"
5326
5327 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5328
5329         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5330         tabular in a float
5331
5332 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5333
5334         * importer.C (Loaders): do not preallocate 3 elements in the
5335         vector, since one ends up with 6 elements otherwise
5336
5337 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5338
5339         * DepTable.C (write): write the file name as last element of the
5340         .dep file (because it may contain spaces)
5341         (read): read info in the right order
5342
5343 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5344
5345         * paragraph_pimpl.C (simpleTeXBlanks):
5346         (simpleTeXSpecialChars):
5347         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5348
5349         * tabular.C (latex): add some missing case statements. Reindent.
5350
5351         * MenuBackend.C (expandToc): remove unused variable.
5352
5353 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5354
5355         * LColor.C:
5356         * LaTeX.C:
5357         * LyXAction.C:
5358         * MenuBackend.C:
5359         * buffer.C:
5360         * exporter.C:
5361         * lyxfunc.C:
5362         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5363         and the like.
5364
5365 2003-01-05  John Levon  <levon@movementarian.org>
5366
5367         * BufferView.h:
5368         * BufferView.C: add getEncoding()
5369
5370         * kbsequence.h:
5371         * kbsequence.C: do not store last keypress
5372
5373         * lyxfunc.h:
5374         * lyxfunc.C: store last keypress here instead. Pass encoding
5375           to getISOEncoded()
5376
5377 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5378
5379         * lyx_main.C (init): remove annoying error message when following
5380         symbolic links (bug #780)
5381
5382 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5383
5384         * text.C (insertChar):
5385         * lyxrc.C (getDescription): remove extra spaces
5386
5387 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5388
5389         * lyxrc.C (getDescription): remove extra spaces
5390
5391 2002-12-20  John Levon  <levon@movementarian.org>
5392
5393         * text3.C: hack fix for page up/down across tall rows
5394
5395 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5396
5397         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5398         not been invoked
5399
5400 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5401
5402         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5403         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5404         thesaurus is not compiled in
5405
5406 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5407
5408         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5409
5410 2002-12-16  Angus Leeming  <leeming@lyx.org>
5411
5412         * lyxrc.[Ch]:
5413         * lyx_main.C (init): remove override_x_deadkeys stuff.
5414
5415 2002-12-12  John Levon  <levon@movementarian.org>
5416
5417         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5418           insert. Only remove shift modifier under strict
5419           circumstances.
5420
5421 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * MenuBackend.C (expandToc): fix crash.
5424
5425 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * MenuBackend.C (expandToc): gettext on float names.
5428
5429 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5430
5431         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5432         implement bool empty() [bug 490]
5433
5434 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5437
5438 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * several files: ws changes
5441
5442 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * text2.C (setCounter): clean up a bit, use boost.format.
5445         (updateCounters): initialize par upon declaration.
5446
5447         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5448         if the layout exists. We do not just store the layout any more.
5449         (SwitchLayoutsBetweenClasses): use boost.format
5450
5451 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5452
5453         * converter.C (convert): if from and to files are the same, use a
5454         temporary files as intermediary
5455
5456 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5457
5458         * commandtags.h:
5459         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5460
5461 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5462
5463         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5464
5465 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5466
5467         * tabular.C (asciiPrintCell): use string(size, char) instead of
5468         explicit loop.
5469
5470         * sgml.C (openTag): fix order of arguments to string constructor
5471         (closeTag): ditto
5472
5473         * lyxfunc.C (dispatch): use boost.format
5474
5475         * lots of files: change "c" -> 'c'
5476
5477 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5478
5479         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5480
5481 2002-11-25  Angus Leeming  <leeming@lyx.org>
5482
5483         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5484
5485         * lyx_main.C (init): compile fix.
5486
5487 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * lyx_cb.C (start): boost.formatify
5490         do not include <iostream>
5491
5492         * lengthcommon.C: ws only
5493
5494         * boost-inst.C,BoostFormat.h: add more explict instantations
5495
5496 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * lots of files: handle USE_BOOST_FORMAT
5499
5500 2002-11-21  John Levon  <levon@movementarian.org>
5501
5502         * pspell.C: fix compile
5503
5504 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5505
5506         * lyxfunc.C (dispatch): use boost::format
5507         (open): ditto
5508         (doImport): ditto
5509
5510         * lyxfont.C (stateText): use boost::format
5511
5512         * lyx_main.C (LyX): use boost::format
5513         (init): ditto
5514         (queryUserLyXDir): ditto
5515         (readRcFile): ditto
5516         (parse_dbg): ditto
5517         (typedef boost::function): use the recommened syntax.
5518
5519         * importer.C (Import): use boost::format
5520
5521         * debug.C (showLevel): use boost::format
5522
5523         * converter.C (view): use boost::format
5524         (convert): ditto
5525         (move): ditto
5526         (scanLog): ditto
5527
5528         * bufferview_funcs.C (currentState): use boost::format
5529
5530         * bufferlist.C (emergencyWrite): use boost::format
5531
5532         * buffer.C (readLyXformat2): use boost::format
5533         (parseSingleLyXformat2Token): ditto
5534
5535         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5536
5537         * LaTeX.C (run): use boost::format
5538
5539         * Chktex.C (scanLogFile): use boost::format
5540
5541         * BufferView_pimpl.C (savePosition): use boost::format
5542         (restorePosition): ditto
5543         (MenuInsertLyXFile): ditto
5544
5545         * BoostFormat.h: help file for explicit instation.
5546
5547 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5548
5549         * tabular.C (latex): Support for block alignment in fixed width
5550         columns.
5551
5552 2002-11-17  John Levon  <levon@movementarian.org>
5553
5554         * BufferView_pimpl.C:
5555         * lyx_cb.C:
5556         * lyxfunc.C: split filedialog into open/save
5557
5558 2002-11-08  Juergen Vigna  <jug@sad.it>
5559
5560         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5561         by my last patch (hopefully).
5562
5563 2002-11-08  John Levon  <levon@movementarian.org>
5564
5565         * iterators.h:
5566         * iterators.C:
5567         * buffer.h:
5568         * buffer.C:
5569         * paragraph.h:
5570         * paragraph.C:
5571         * toc.h:
5572         * toc.C: ParConstIterator, and use it (from Lars)
5573
5574 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5575
5576         * lyxtextclass.[Ch]: revise and add doxygen comments
5577
5578 2002-11-07  John Levon  <levon@movementarian.org>
5579
5580         * text.C: fix progress value for spellchecker
5581
5582         * toc.C: fix navigate menu for insetwrap inside minipage
5583
5584         * paragraph_funcs.C: added FIXME for suspect code
5585
5586 2002-11-07  John Levon  <levon@movementarian.org>
5587
5588         * BufferView_pimpl.C: fix redrawing of insets
5589           on buffer switch
5590
5591 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5592
5593         * text2.C (updateCounters): fix bug 668
5594
5595 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5596
5597         * text3.C (dispatch): Do not make the buffer dirty when moving the
5598         cursor.
5599
5600 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * vc-backend.C: STRCONV
5603         (scanMaster): ditto
5604
5605         * text2.C (setCounter): STRCONV
5606
5607         * paragraph.C (asString): STRCONV
5608
5609         * lyxlength.C (asString): STRCONV
5610         (asLatexString): ditto
5611
5612         * lyxgluelength.C (asString): STRCONV
5613         (asLatexString): ditto
5614
5615         * lyxfunc.C (dispatch): STRCONV
5616         (open): ditto
5617
5618         * lyxfont.C (stateText): STRCONV
5619
5620         * importer.C (Import): STRCONV
5621
5622         * counters.C (labelItem): STRCONV
5623         (numberLabel): ditto
5624         (numberLabel): remove unused ostringstream o
5625
5626         * chset.C: STRCONV
5627         (loadFile): ditto
5628
5629         * bufferview_funcs.C (currentState): STRCONV
5630
5631         * buffer.C (readFile): STRCONV
5632         (asciiParagraph): ditto
5633         (makeLaTeXFile): ditto
5634
5635         * Spacing.C (writeEnvirBegin): STRCONV
5636
5637         * LaTeXFeatures.C (getLanguages): STRCONV
5638         (getPackages): ditto
5639         (getMacros): ditto
5640         (getBabelOptions): ditto
5641         (getTClassPreamble): ditto
5642         (getLyXSGMLEntities): ditto
5643         (getIncludedFiles): ditto
5644
5645         * LaTeX.C: STRCONV
5646         (run): ditto
5647         (scanAuxFile): ditto
5648         (deplog): ditto
5649
5650         * LString.h: add the STRCONV macros
5651
5652         * BufferView_pimpl.C (savePosition): STRCONV
5653         (restorePosition): ditto
5654         (MenuInsertLyXFile): ditto
5655
5656         * vc-backend.C (scanMaster): change from submatch[...] to
5657         submatch.str(...)
5658
5659         * funcrequest.C: include config.h
5660
5661         * factory.C: include config.h
5662
5663         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5664
5665         * box.C: include config.h
5666
5667         * LaTeX.C (scanAuxFile): change from submatch[...] to
5668         submatch.str(...)
5669         (deplog): ditto
5670
5671 2002-10-25  Angus Leeming  <leeming@lyx.org>
5672
5673         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5674
5675         * ispell.[Ch] (setError): new method.
5676         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5677         Use setError() insetead of goto END.
5678
5679         * lyx_cb.C (AutoSave): move out child process into new class
5680         AutoSaveBuffer.
5681
5682 2002-10-30  John Levon  <levon@movementarian.org>
5683
5684         * text3.C: make start appendix undoable
5685
5686 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5687
5688         * lyxlength.C (inPixels): Fix returned value.
5689
5690         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5691         environment.
5692
5693 2002-10-24  Angus Leeming  <leeming@lyx.org>
5694
5695         * lyxgluelength.h: no need to forward declare BufferParams
5696         or BufferView, so don't.
5697
5698 2002-10-21  John Levon  <levon@movementarian.org>
5699
5700         * BufferView.C: menuUndo ->undo, redo
5701
5702         * BufferView.h: document, remove dead, make some methods private
5703
5704         * paragraph_funcs.h:
5705         * paragraph_funcs.C:
5706         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5707
5708         * buffer.h:
5709         * buffer.C:
5710         * sgml.h:
5711         * sgml.C: move sgml open/close tag into sgml.C
5712
5713         * bufferview_funcs.h: unused prototype
5714
5715         * lyxfunc.h:
5716         * lyxfunc.C: remove unused
5717
5718         * lyxtext.h:
5719         * text.C: remove unused
5720
5721 2002-10-21  John Levon  <levon@movementarian.org>
5722
5723         * BufferView.h:
5724         * BufferView.C:
5725         * BufferView_pimpl.h:
5726         * BufferView_pimpl.C: fix mouse wheel handling based on
5727           patch from Darren Freeman
5728
5729 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5730
5731         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5732
5733 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5734
5735         * lyxlength.C (inPixels): Fix hanfling of negative length.
5736         Fix LyXLength::MU case.
5737
5738 2002-10-16  John Levon  <levon@movementarian.org>
5739
5740         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5741
5742 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5743
5744         * converter.C (view): add support for $$i (file name) and $$p
5745         (file path) for the viewer command. If $$i is not specified, then
5746         it is appended to the command (for compatibility with old syntax)
5747
5748 2002-10-14  Juergen Vigna  <jug@sad.it>
5749
5750         * undo_funcs.C (textHandleUndo): alter the order in which the
5751         new undopar is added to the LyXText, as we have to set first
5752         the right prev/next and then add it as otherwise the rebuild of
5753         LyXText is not correct. Also reset the cursor to the right paragraph,
5754         with this IMO we could remove the hack in "redoParagraphs()".
5755
5756 2002-10-09  Angus Leeming  <leeming@lyx.org>
5757
5758         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5759         to turn off an optimisation if a new inset is to be inserted.
5760
5761 2002-10-11 André Pönitz <poenitz@gmx.net>
5762
5763         * lyxtext.h: make some functions public to allow access
5764         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5765
5766 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5767
5768         * text3.C (dispatch): when changing layout, avoid an infinite loop
5769         [bug #652]
5770
5771 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5772
5773         * lyxrc.C (read): treat a viewer or converter command of "none" as
5774         if it were empty.
5775
5776         * MenuBackend.C (expandFormats): for an update, also allow the
5777         formats that are not viewable
5778
5779         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5780         script if it is newer than the lyxrc.defaults in user directory
5781
5782 2002-10-07 André Pönitz <poenitz@gmx.net>
5783
5784         * text.C: Vitaly Lipatov's small i18n fix
5785
5786 2002-09-25  Angus Leeming  <leeming@lyx.org>
5787
5788         * ispell.h: doxygen fix.
5789
5790 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5791
5792         * buffer.h (readFile): Add a new argument to the method, to allow
5793         reading of old-format templates.
5794
5795 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5796
5797         * toc.C (getTocList): Get TOC from InsetWrap.
5798
5799 2002-09-16  John Levon  <levon@movementarian.org>
5800
5801         * lyxfunc.C: check tabular for cut/copy too
5802
5803 2002-09-12  John Levon  <levon@movementarian.org>
5804
5805         * LyXAction.C: tidy
5806
5807         * factory.h:
5808         * factory.C: add header
5809
5810         * paragraph_funcs.h:
5811         * paragraph_funcs.C: cleanup
5812
5813 2002-09-11  John Levon  <levon@movementarian.org>
5814
5815         * PrinterParams.h: odd/even default to true
5816
5817 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5818
5819         * PrinterParams.h: update printer parameters for new xforms dialog
5820
5821 2002-09-11  Angus Leeming  <leeming@lyx.org>
5822
5823         * lyxserver.C (read_ready): re-write to make it more transparent
5824         and to make it work in coherent fashion under Tru64 Unix.
5825
5826 2002-09-11  André Pönitz <poenitz@gmx.net>
5827
5828         * commandtags.h:
5829         * LyXAction.C:
5830         * text3.C: implement LFUN_WORDSEL
5831
5832 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5833
5834         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5835         make floatlist_ a boost::shared_ptr<FloatList>
5836
5837         * lyxtextclass.C: include FloatList.h
5838         (LyXTextClass): initialize floatlist_
5839         (TextClassTags): add TC_NOFLOAT
5840         (Read): match "nofloat" to TC_NOFLOAT and use it.
5841         (readFloat): modify call to floatlist_
5842         (floats): ditto
5843         (floats): ditto
5844
5845         * FloatList.[Ch] (FloatList): remove commented out float
5846         initialization.
5847         (erase): new function
5848
5849 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5850
5851         * MenuBackend.C (expandToc): fix crash when there is no document
5852         open
5853
5854 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5855
5856         * many files: Add insetwrap.
5857
5858 2002-09-09  John Levon  <levon@movementarian.org>
5859
5860         * text2.C: remove confusing and awkward depth wraparound
5861
5862 2002-09-09  John Levon  <levon@movementarian.org>
5863
5864         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5865
5866         * buffer.h:
5867         * buffer.C: remove getIncludeonlyList()
5868
5869         * paragraph.C:
5870         * lyxfunc.C: remove headers
5871
5872 2002-09-09  Juergen Vigna  <jug@sad.it>
5873
5874         * text.C (getColumnNearX): fix form Michael this is most
5875         probably a cut&paste bug.
5876
5877 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5880
5881         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5882         references, ws changes.
5883
5884         * text2.C (init): update counters after init
5885         (insertParagraph): no need to set counter on idividual paragraphs.
5886         (setCounter): access the counters object in the textclass object
5887         on in the buffer object.
5888         (updateCounters): ditto
5889
5890         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5891         shared_ptr<Counters> to avoid loading counters.h in all
5892         compilation units.
5893         (LyXTextClass): initialize ctrs_
5894         (TextClassTags): add TC_COUNTER, and ...
5895         (Read): use it here.
5896         (CounterTags): new tags
5897         (readCounter): new function
5898         (counters): new funtion
5899         (defaultLayoutName): return a const reference
5900
5901         * counters.C (Counters): remove contructor
5902         (newCounter): remove a couple of unneeded statements.
5903         (newCounter): simplify a bit.
5904         (numberLabel): some small formatting changes.
5905
5906         * buffer.[Ch]: remove all traces of counters, move the Counters
5907         object to the LyXTextClass.
5908
5909 2002-09-06  Alain Castera  <castera@in2p3.fr>
5910
5911         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5912         package to set the horizontal alignment on fixed width columns.
5913
5914         * lyx_sty.C:
5915         * lyx_sty.h: added tabularnewline macro def.
5916
5917         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5918
5919 2002-09-06  John Levon  <levon@movementarian.org>
5920
5921         * LyXAction.C: tooltips for sub/superscript
5922
5923         * MenuBackend.C: a bit more verbose
5924
5925         * lyxfunc.C: tiny clean
5926
5927         * undo_funcs.C: document undo_frozen
5928
5929 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * counters.C (Counters): add missing algorithm counter.
5932
5933         * text2.C (setCounter): lookup the counter with layouts latexname
5934         instead of by section number.
5935         (setCounter): use a hackish way to lookup the correct enum
5936         counter.
5937         a float name->type change
5938         reset enum couners with counter name directly instead of depth value.
5939
5940         * counters.C (Counters): remove the push_backs, change to use the
5941         float type not the float name.
5942         (labelItem): remove unused string, float name->type change
5943
5944         * counters.h: don't include vector, loose the enums and sects vectors
5945
5946 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5949         (Read): add float->TC_FLOAT to textclassTags
5950         (Read): and handle it in the switch
5951         (readFloat): new function
5952
5953         * FloatList.C (FloatList): comment out the hardcoded float
5954         definitions.
5955
5956         * lyxlayout.h: ws change.
5957
5958 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5959
5960         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5961
5962 2002-09-03  Angus Leeming  <leeming@lyx.org>
5963
5964         * BufferView_pimpl.h: qualified name is not allowed in member
5965         declaration: WorkArea & Pimpl::workarea() const;
5966
5967         * factory.C: added using std::endl directive.
5968
5969         * text3.C: added using std::find and std::vector directives.
5970
5971 2002-08-29  André Pönitz <poenitz@gmx.net>
5972
5973         * lyxtext.h:
5974         * text2.C: remove unused member number_of_rows
5975
5976         * Makefile.am:
5977         * BufferView2.C: remove file, move contents to...
5978         * BufferView.C: ... here
5979
5980         * BufferView_pimpl.C:
5981         * factory.C: move more inset creation to factory
5982
5983         * vspace.C: avoid direct usage of LyXText, ws changes
5984
5985         * BufferView.[Ch]:
5986                 don't provide direct access to WorkArea, use two simple
5987                 acessors haveSelction() and workHeight() instead
5988
5989
5990 2002-08-29  John Levon  <levon@movementarian.org>
5991
5992         * BufferView_pimpl.C (dispatch): do not continue when
5993           no buffer
5994
5995 2002-08-28  André Pönitz <poenitz@gmx.net>
5996
5997         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5998
5999         * BufferView.h:
6000         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6001
6002 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6003
6004         * buffer.C: increment LYX_FORMAT to 221
6005
6006         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6007         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6008
6009         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6010
6011         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6012
6013 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6014
6015         * factory.C (createInset): use LyXTextClass::floats
6016
6017         * MenuBackend.C (expandFloatListInsert):
6018         (expandFloatInsert):
6019         (expandToc):
6020
6021         * text2.C (setCounter):
6022
6023         * LaTeXFeatures.C (useFloat):
6024         (getFloatDefinitions):
6025
6026         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6027
6028         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6029         floatlist_, with accessor floats().
6030
6031         * FloatList.h: remove global FloatList
6032
6033 2002-08-26  André Pönitz <poenitz@gmx.net>
6034
6035         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6036
6037         * BufferView.h:
6038         * BufferView2.C:
6039         * BufferView_pimpl.C:
6040         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6041
6042 2002-08-25  John Levon  <levon@movementarian.org>
6043
6044         * LyXAction.C: fix margin note description
6045
6046 2002-08-24  John Levon  <levon@movementarian.org>
6047
6048         * buffer.C:
6049         * bufferlist.C:
6050         * bufferview_funcs.C:
6051         * lyxfont.C:
6052         * undo_funcs.C: cleanups
6053
6054         * lyxfunc.C: disable CUT/COPY when no selection
6055
6056 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6057
6058         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6059         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6060
6061         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6062         Add backward compatibility to "mono", "gray" and "no".
6063
6064 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6065
6066         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6067         (and file_format >= 200).
6068
6069 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6070
6071         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6072
6073 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6074
6075         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6076
6077 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6078
6079         * BufferView_pimpl.C:
6080         * LyXAction.C:
6081         * buffer.C:
6082         * commandtags.h:
6083         * lyxfunc.C:
6084         * paragraph.[Ch]:
6085         * text2.C:
6086         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6087         inset and code to make it  work with the paragraph code. The inset
6088         can be anywhere in the paragraph, but will only do the expected
6089         thing in LaTeX if the layout file contains the parameter line
6090                         OptionalArgs    1
6091         (or more generally, a nonzero value) for that layout.
6092
6093 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * paragraph.h: remove the declaration of undefined counters class
6096         function.
6097
6098 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6099
6100         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6101         Dr. Richard Hawkins.
6102
6103 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6104
6105         * paragraph_funcs.h: remove some unneeded includes
6106
6107         * text.C (backspace): pasteParagraph now in global scipe
6108
6109         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6110         (pasteSelection): ditto
6111
6112         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6113         * paragraph_funcs.C (pasteParagraph): ... here
6114
6115 2002-08-20  André Pönitz <poenitz@gmx.net>
6116
6117         * commandtags.h: new LFUNs for swapping/copying table row/colums
6118
6119         * LyXAction.C:
6120         * lyxfunc.C: support for new lfuns
6121
6122 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * tabular.C:
6125         * buffer.[Ch]: remove NO_COMPABILITY stuff
6126
6127 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * boost.C (throw_exception): new file, with helper function for
6130         boost compiled without exceptions.
6131
6132         * paragraph.h:
6133         * lyxlength.C:
6134         * buffer.C:
6135         * ParameterStruct.h:
6136         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6137
6138         * bufferlist.C (emergencyWriteAll): use boost bind
6139
6140         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6141
6142         * text.C: include paragraph_funcs.h
6143         (breakParagraph): breakParagraph is now in global scope
6144
6145         * paragraph_funcs.[Ch]: new files
6146
6147         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6148         global scope
6149
6150         * buffer.C: include paragraph_funcs.h
6151         (insertStringAsLines): breakParagraph is now in global scope
6152
6153         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6154         paragraph_funcs.C
6155
6156         * CutAndPaste.C: include paragraph_funcs.h
6157         (cutSelection): breakParagraphConservative is now in global scope
6158         (pasteSelection): ditto
6159
6160         * buffer.h: declare oprator== and operator!= for
6161         Buffer::inset_iterator
6162
6163         * bufferlist.C (emergencyWrite): don't use fmt(...)
6164
6165         * text3.C: add using std::endl
6166
6167         * BufferView.C (moveCursorUpdate): remove default arg
6168
6169 2002-08-20  André Pönitz <poenitz@gmx.net>
6170
6171         * buffer.[Ch]: move inline functions to .C
6172
6173         * BufferView2.C:
6174         * BufferView_pimpl.C:
6175         * text.C:
6176         * buffer.[Ch]: use improved inset_iterator
6177
6178         * buffer.C:
6179         * paragraph.[Ch]: write one paragraph at a time
6180
6181 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6182
6183         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6184         style if style is not specified.
6185
6186 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6187
6188         * text2.C (setCounter): when searching for right label for a
6189         caption, make sure to recurse to parent insets (so that a caption
6190         in a minipage in a figure float works) (bug #568)
6191
6192 2002-08-20  André Pönitz <poenitz@gmx.net>
6193
6194         * text3.C: new file for LyXText::dispatch() and helpers
6195
6196         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6197
6198         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6199
6200 2002-08-19  André Pönitz <poenitz@gmx.net>
6201
6202         * lyxtext.h:
6203         * text.C: new LyXText::dispatch()
6204
6205         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6206
6207 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6208
6209         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6210
6211         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6212         Hebrew text.
6213
6214 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6215
6216         * Makefile.am: use $(variables) instead of @substitutions@
6217
6218 2002-08-15  André Pönitz <poenitz@gmx.net>
6219
6220         * lyxfunc.C:
6221         * BufferView_pimpl.C: streamlining mathed <-> outer world
6222         interaction
6223
6224         * commandtags.h:
6225         * LyXAction.C: remove unused LFUN_MATH
6226
6227 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6230
6231 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * paragraph.C (Paragraph): reformat a bit
6234         (cutIntoMinibuffer): use builtin InsetList function instad of
6235         doing it manually.
6236         (getInset): ditto
6237
6238         * buffer.C: include boost/bind.hpp, add using std::for_each
6239         (writeFileAscii): use ParagraphList iterators
6240         (validate): use for_each for validate traversal of paragraphs
6241         (getBibkeyList): use ParagraphList iterators
6242         (resizeInsets): use for_each to resizeInsetsLyXText for all
6243         paragraphs.
6244         (getParFromID): use ParagraphList iterators
6245
6246         * BufferView2.C (lockInset): use paragraph list and iterators
6247
6248 2002-08-14  John Levon  <levon@movementarian.org>
6249
6250         * lyxserver.C: remove spurious xforms include
6251
6252 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6253
6254         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6255
6256 2002-08-13  André Pönitz <poenitz@gmx.net>
6257
6258         * LyXAction.[Ch]:
6259         * lyxfunc.C: further cleaning
6260
6261 2002-08-13  André Pönitz <poenitz@gmx.net>
6262
6263         * funcrequest.h: new constructor
6264
6265         * funcrequest.C: move stuff here from .h
6266
6267         * Makefile.am:
6268         * BufferView_pimpl.C:
6269         * LyXAction.C:
6270         * toc.C:
6271         * lyxfunc.C: subsequent changes
6272
6273         * lyxfunc.h: new view() member function
6274
6275         * lyxfunc.C: subsequent changes
6276
6277 2002-08-13  Angus Leeming  <leeming@lyx.org>
6278
6279         * BufferView2.C:
6280         * BufferView_pimpl.C:
6281         * buffer.C:
6282         * converter.C:
6283         * importer.C:
6284         * lyxfunc.C:
6285         * lyxvc.C:
6286         * toc.C:
6287         * vc-backend.C:
6288         changes due to the changed LyXView interface that now returns references
6289         to member variables not pointers.
6290
6291 2002-08-13  Angus Leeming  <leeming@lyx.org>
6292
6293         * WordLangTuple (word, lang_code): return references to strings,
6294         not strings.
6295
6296         * BufferView.h:
6297         * SpellBase.h:
6298         * lyxtext.h: forward-declare WordLangTuple.
6299
6300         * BufferView2.C:
6301         * ispell.C:
6302         * pspell.C:
6303         * text.C: #include "WordLangTuple.h".
6304
6305         * lyxtext.h:
6306         * text.C: (selectNextWordToSpellcheck): constify return type.
6307
6308 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6309
6310         * buffer.C:
6311         * buffer.h:
6312         * lyxtext.h:
6313         * paragraph.C:
6314         * paragraph_pimpl.h:
6315         * text.C:
6316         * text2.C:
6317         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6318         suggested by Angus.
6319         Made updateCounter always count from start of buffer, and removed
6320         second argument (par).
6321         Reverted floats number display to '#'. Perhaps I'll try again when the
6322         code base is sanitized a bit.
6323
6324 2002-08-12  Angus Leeming  <leeming@lyx.org>
6325
6326         * buffer.[Ch] (getLabelList): constify.
6327
6328 2002-08-07  André Pönitz <poenitz@gmx.net>
6329
6330         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6331
6332         * funcrequest.h: extension to keep mouse (x,y) position
6333
6334 2002-08-12  Juergen Vigna  <jug@sad.it>
6335
6336         * BufferView2.C (insertErrors): forbid undo when inserting error
6337         insets.
6338
6339         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6340
6341 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * ParagraphList.[Ch]: new files
6344
6345         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6346
6347         * BufferView2.C (lockInset): ParagraphList changes
6348         * toc.C: ditto
6349         * text2.C: ditto
6350         * bufferlist.C: ditto
6351         * buffer.h: ditto
6352         * buffer.C: ditto
6353
6354 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6357         unused class variable counter_,
6358
6359         * paragraph.[Ch] (getFirstCounter): delete unused function
6360
6361         * counters.C: include LAssert.h
6362         (reset): add a new function with no arg, change other version to
6363         not have def. arg and to not allow empty arg.
6364
6365         * text2.C (setCounter): remove empty arg from call to Counters::reset
6366
6367 2002-08-11  John Levon  <levon@movementarian.org>
6368
6369         * Makefile.am: add WordLangTuple.h
6370
6371 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6374         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6375
6376         * insets/insettext.C: InsetList changes
6377
6378         * graphics/GraphicsSupport.C (operator()): InsetList changes
6379
6380         * toc.C (getTocList): InsetList changes
6381
6382         * paragraph_pimpl.[Ch]: InsetList changes
6383
6384         * paragraph.[Ch]: InsetList changes
6385
6386         * buffer.C (inset_iterator): InsetList changes
6387         (setParagraph): ditto
6388         * buffer.h (inset_iterator): ditto
6389         * iterators.C (operator++): ditto
6390         * iterators.h: ditto
6391
6392         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6393
6394         * InsetList.[Ch]: new files, most InsetList handling moved out of
6395         paragraph.C.
6396
6397         * BufferView2.C (removeAutoInsets): InsetList changes
6398         (lockInset): ditto
6399         (ChangeInsets): ditto
6400
6401 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * paragraph_pimpl.h (empty): new function
6404
6405         * paragraph.[Ch] (empty): new function
6406
6407         * other files: use the new Paragraph::empty function
6408
6409 2002-08-09  John Levon  <levon@movementarian.org>
6410
6411         * lyxtext.h: remove unused refresh_height
6412
6413 2002-08-09  John Levon  <levon@movementarian.org>
6414
6415         * Makefile.am:
6416         * sgml.h:
6417         * sgml.C:
6418         * buffer.C:
6419         * paragraph.h:
6420         * paragraph.C: move sgml char escaping out of paragraph
6421
6422         * paragraph.h:
6423         * paragraph.C: remove id setter
6424
6425         * buffer.C:
6426         * paragraph.C:
6427         * paragraph_pimpl.C: remove dead tex_code_break_column
6428
6429         * bufferview_funcs.C: small cleanup
6430
6431         * lyxfunc.C: remove dead proto
6432
6433         * lyxtext.h: make some stuff private. Remove some dead stuff.
6434
6435         * lyxgluelength.C: make as[LyX]String() readable
6436
6437 2002-08-08  John Levon  <levon@movementarian.org>
6438
6439         * LyXAction.h:
6440         * LyXAction.C:
6441         * MenuBackend.C:
6442         * ToolbarDefaults.C:
6443         * lyxfunc.C:
6444         * lyxrc.C:
6445         * toc.C: lyxaction cleanup
6446
6447 2002-08-08  John Levon  <levon@movementarian.org>
6448
6449         * BufferView2.C: small cleanup
6450
6451         * lyxfind.h:
6452         * lyxfind.C: move unnecessary header into the .C
6453
6454 2002-08-08  John Levon  <levon@movementarian.org>
6455
6456         * funcrequest.h: just tedious nonsense
6457
6458         * lyx_main.h:
6459         * lyx_main.C: cleanups
6460
6461         * buffer.C:
6462         * vspace.C: remove dead header lyx_main.h
6463
6464 2002-08-07  Angus Leeming  <leeming@lyx.org>
6465
6466         * Paragraph.[Ch]:
6467         * paragraph_pimpl.h:
6468         Forward declare class Counters in paragraph.h by moving the ctrs member
6469         variable into Paragraph::Pimpl.
6470         (counters): new method, returning a reference to pimpl_->ctrs.
6471
6472         * text2.C: ensuing changes.
6473
6474 2002-08-07  John Levon  <levon@movementarian.org>
6475
6476         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6477
6478         * BufferView_pimpl.C: announce X selection on double/triple
6479           click
6480
6481         * lyx_main.C: use correct bool in batch dispatch
6482
6483         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6484
6485 2002-08-07  André Pönitz <poenitz@gmx.net>
6486
6487         * funcrequest.h: new class to wrap a kb_action and its argument
6488
6489         * BufferView.[Ch]:
6490         * BufferView_pimpl[Ch]:
6491         * LaTeX.C:
6492         * LyXAction.[Ch]:
6493         * lyxfunc.[Ch]:
6494         * lyxrc.C: subsequent changes
6495
6496
6497 2002-08-07  John Levon  <levon@movementarian.org>
6498
6499         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6500           document options change.
6501
6502 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6503
6504         * counters.[Ch]
6505         * text2.C
6506         * paragraph.[Ch]
6507         * makefile.am: move counters functionality over from
6508         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6509
6510 2002-08-06  John Levon  <levon@movementarian.org>
6511
6512         * WordLangTuple.h: new file for word + language code tuple
6513
6514         * SpellBase.h:
6515         * pspell.h:
6516         * pspell.C:
6517         * ispell.h:
6518         * ispell.C:
6519         * lyxtext.h:
6520         * text.C:
6521         * text2.C:
6522         * BufferView.h:
6523         * BufferView2.C: use WordLangTuple
6524
6525         * layout.h:
6526         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6527
6528 2002-08-06  John Levon  <levon@movementarian.org>
6529
6530         * lyx_main.C: fix cmdline batch handling
6531
6532 2002-08-06  André Pönitz <poenitz@gmx.net>
6533
6534         * lyxrc.C: set default for show_banner to true
6535
6536 2002-08-06  John Levon  <levon@movementarian.org>
6537
6538         * pspell.C: fix a crash, and allow new aspell to work
6539
6540 2002-08-06  John Levon  <levon@movementarian.org>
6541
6542         * lyxfunc.C:
6543         * kbmap.C: small cleanup
6544
6545         * vspace.h:
6546         * vspace.C: add const
6547
6548 2002-08-05  John Levon  <levon@movementarian.org>
6549
6550         * LyXAction.C: back to tabular-insert
6551
6552 2002-08-04  John Levon  <levon@movementarian.org>
6553
6554         * BufferView.h:
6555         * BufferView.C: cosmetic change
6556
6557         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6558
6559         * bufferlist.C:
6560         * buffer.h:
6561         * buffer.C:
6562         * lyxcb.h:
6563         * lyxcb.C:
6564         * lyxserver.C:
6565         * lyxvc.C:
6566         * vc-backend.C:
6567         * BufferView2.C: purge all "Lyx" not "LyX" strings
6568
6569         * lyxcursor.h:
6570         * lyxcursor.C: attempt to add some documentation
6571
6572         * lyxfunc.C:
6573         * commandtags.h:
6574         * LyXAction.C:
6575         * ToolbarDefaults.C:
6576         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6577           merge with LFUN_TABULAR_INSERT
6578
6579         * Makefile.am:
6580         * SpellBase.h:
6581         * ispell.h:
6582         * ispell.C:
6583         * pspell.h:
6584         * pspell.C: split up i/pspell implementations into separate
6585           files, many cleanups
6586
6587         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6588
6589         * text2.C: some cleanup
6590
6591         * lyxfunc.C: don't check for isp_command == "none" any more, it
6592           didn't make any sense
6593
6594 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6595
6596         * counters.[Ch]
6597         * text2.C
6598         * paragraph.[Ch]
6599         * makefile.am: move counters functionality over
6600         from text2.C/paragraph.[Ch] to counters.[Ch], and
6601         make proper C++.
6602 2002-08-02  John Levon  <levon@movementarian.org>
6603
6604         * buffer.C: s/lyxconvert/lyx2lyx/
6605
6606 2002-08-02  Angus Leeming  <leeming@lyx.org>
6607
6608         * lyxlex.C: revert John's change as it breaks reading of the user
6609         preamble.
6610
6611 2002-08-02  Angus Leeming  <leeming@lyx.org>
6612
6613         * importer.C (Import):
6614         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6615         changes due to LyXView::view() now returning a boost::shared_ptr.
6616
6617 2002-08-02  John Levon  <levon@movementarian.org>
6618
6619         * lyxlex.C: small cleanup
6620
6621 2002-08-02  John Levon  <levon@movementarian.org>
6622
6623         * text2.C (status): small cleanup, no logic change
6624
6625 2002-08-01  John Levon  <levon@movementarian.org>
6626
6627         * buffer.h:
6628         * buffer.C (writeFile): don't output alerts, caller
6629           handles this
6630
6631         * bufferlist.C:
6632         * lyx_cb.C: from above
6633
6634         * lyxfunc.C: allow to open non-existent files
6635
6636 2002-07-31  John Levon  <levon@movementarian.org>
6637
6638         * lyxserver.C: don't let incidental errors get
6639           in the way (errno)
6640
6641 2002-07-30  John Levon  <levon@movementarian.org>
6642
6643         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6644
6645 2002-07-30  John Levon  <levon@movementarian.org>
6646
6647         * lyxserver.h:
6648         * lyxserver.C: remove I/O callback too
6649
6650 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6651
6652         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6653         log.
6654
6655 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * many files: strip,frontStrip -> trim,ltrim,rtrim
6658
6659 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * PrinterParams.h: remove extern containsOnly, and include
6662         support/lstrings.h instead.
6663
6664         * LaTeX.C (scanAuxFile): modify because of strip changes
6665         (deplog): ditto
6666         * buffer.C (makeLaTeXFile): ditto
6667         * bufferparams.C (writeFile): ditt
6668         * lyxfont.C (stateText): ditto
6669         * lyxserver.C (read_ready): ditto
6670         * vc-backend.C (scanMaster): ditto
6671
6672         * BufferView_pimpl.h: ws changes
6673
6674         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6675
6676 2002-07-26  André Pönitz <poenitz@gmx.net>
6677
6678         * kb_sequence.C: remove unnedred usings
6679
6680 2002-07-26  Juergen Vigna  <jug@sad.it>
6681
6682         * lyxfind.C (LyXReplace): we have to check better if the returned
6683         text is not of theLockingInset()->getLockingInset().
6684
6685 2002-07-25  Juergen Vigna  <jug@sad.it>
6686
6687         * lyxfind.C (LyXReplace): don't replace if we don't get the
6688         right LyXText.
6689
6690         * undo_funcs.C (createUndo): remove debugging code.
6691
6692 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6693
6694         * buffer.C (parseSingleLyXformat2Token): Use default placement
6695         when reading old floats.
6696
6697         * FloatList.C (FloatList): Change the default placement of figure
6698         and tables to "tbp".
6699
6700 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6701
6702         * MenuBackend.C: using std::max
6703
6704 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6705
6706         * MenuBackend.C (expandToc):
6707         (expandToc2): code moved from xforms menu frontend. It is now
6708         generic and TOCs are transparent to menu frontends.
6709
6710 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6711
6712         * toc.C (getTocList): protect against buf=0
6713
6714         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6715         Menu as first parameter. Now, this calls itself recursively to
6716         expand a whole tree (this will be useful for TOC handling)
6717         (expandFloatInsert): remove 'wide' version of floats
6718
6719         * MenuBackend.h (submenuname): returns the name of the submenu.
6720         (submenu): returns the submenu itself, provided it has been
6721         created by MenuBackend::expand
6722
6723 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6724
6725         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6726         insets which have noFontChange == true. (bug #172)
6727
6728 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6729
6730         * BufferView_pimpl.C: add connection objects and use them...
6731         (Pimpl): here.
6732
6733 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6734
6735         * MenuBackend.C (expandLastfiles):
6736         (expandDocuments):
6737         (expandFormats):
6738         (expandFloatListInsert):
6739         (expandFloatInsert):
6740         (expand): split expand in parts
6741
6742 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6743
6744         * lyx_gui.C: use lyx_gui::exit()
6745
6746 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6747
6748         * LyXAction.C: show the failing pseudo action
6749
6750 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6751
6752         * buffer.C (readFile): Run the lyxconvert script in order to read
6753         old files.
6754
6755 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6756
6757         * LyXAction.C:
6758         * commandtags.h:
6759         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6760
6761 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6762
6763         * LyXAction.C:
6764         * commandtags.h:
6765         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6766
6767 2002-07-22  Herbert Voss  <voss@lyx.org>
6768
6769         * lengthcommon.C:
6770         * lyxlength.[Ch]: add support for the vertical lengths
6771
6772 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6773
6774         * toc.[Ch]: std:: fixes
6775
6776 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6777
6778         * lyxrc.C: do not include lyx_main.h
6779
6780         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6781         for layouts
6782
6783         * lyxrc.C:
6784         * encoding.C:
6785         * bufferlist.C:
6786         * BufferView2.C: include "lyxlex.h"
6787
6788         * tabular.h:
6789         * bufferparams.h: do not #include "lyxlex.h"
6790
6791         * lyxtextclasslist.C (Add): remove method
6792         (classlist): renamed to classlist_
6793
6794         * paragraph_pimpl.C:
6795         * paragraph.C:
6796         * text2.C:
6797         * CutAndPaste.C:
6798         * bufferview_funcs.C:
6799         * bufferlist.C:
6800         * text.C:
6801         * LaTeXFeatures.C:
6802         * buffer.C:
6803         * toc.C (getTocList): use BufferParams::getLyXTextClass
6804
6805         * toc.C (getTocList): use InsetFloat::addToToc
6806
6807         * toc.[Ch]: new files, containing helper functions to handle table
6808         of contents
6809
6810         * lyxfunc.C (dispatch): no need to remove spaces around command
6811         given as a string
6812         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6813         first command of the sequence; it is not very clever, but I do not
6814         have a better idea, actually
6815
6816         * LyXAction.C (LookupFunc): make sure to remove space at the
6817         beginning and end of the command
6818
6819 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6820
6821         * MenuBackend.C (getMenubar): new method: return the menubar of
6822         this menu set
6823         (read): treat differently reading of menu and menubar (in
6824         particular, the menubar has no name now)
6825         (Menu::menubar): remove
6826
6827         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6828         saving is finished
6829
6830 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6831
6832         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6833         a bibitem inset in a RTL paragraph.
6834
6835 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6836
6837         * paragraph_pimpl.C: constify
6838
6839         * BufferView_pimpl.C:
6840         * LaTeX.C:
6841         * lyxfunc.C: fix dispatch in a nicer way
6842
6843 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6844
6845         * lyxfunc.C (dispatch):
6846         * BufferView_pimpl.C:
6847         * BufferView_pimpl.h:
6848         * BufferView.C:
6849         * BufferView.h: rename Dispatch() to dispatch()
6850
6851         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6852
6853         * lyxlayout.C (Read): honor DependsOn tag
6854
6855         * lyxlayout.[Ch] (depends_on): new method
6856
6857         * version.C.in: update lyx_docversion
6858
6859         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6860
6861         * paragraph.C (validate): remove from here...
6862         * paragraph_pimpl.C (validate): ... and move here
6863         (isTextAt): make it const
6864
6865         * buffer.C (getLists): ws cleanup
6866
6867 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6868
6869         * language.C (read): Use iso8859-1 encoding in latex_lang
6870         (this prevents LyX from crashing when using iso10646-1 encoding).
6871
6872 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6873
6874         * text2.C (toggleInset): if cursor is inside an inset, close the
6875         inset and leave cursor _after_ it
6876
6877 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6878
6879         * lyxfunc.C: move minibuffer completion handling out of here
6880
6881 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6882
6883         * BufferView_pimpl.C:
6884         * LaTeX.C: fix dispatch calls
6885
6886 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6887
6888         * text.C (drawChars): Fix Arabic text rendering.
6889
6890 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6891
6892         * LyXAction.C:
6893         * commandtags.h:
6894         * lyxfunc.C: remove message-push/pop
6895
6896         * lyxserver.C:
6897         * lyxfunc.h:
6898         * lyxfunc.C: rationalise some code by removing verboseDispatch
6899           in favour of a bool argument to dispatch()
6900
6901 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6902
6903         * lyx_main.C (init): make sure to read symlinks as absolute paths
6904
6905 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6906
6907         * lyxfunc.h:
6908         * lyxfunc.C: no need for commandshortcut to be a member
6909
6910 2002-07-15  André Pönitz <poenitz@gmx.net>
6911
6912         * converter.C: add support for $$s (scripts from lib/scripts dir)
6913         * lyx_main.C: white space
6914
6915 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6916
6917         * bufferlist.C:
6918         * lyxrc.h:
6919         * lyxrc.C: remove second exit confirmation
6920
6921 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6922
6923         * BufferView.h:
6924         * BufferView.C:
6925         * BufferView2.C:
6926         * BufferView_pimpl.h:
6927         * BufferView_pimpl.C:
6928         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6929
6930 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6931
6932         * MenuBackend.C (expand): add numeric shortcuts to document menu
6933
6934         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6935
6936 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6937
6938         * lyxfont.C (setLyXFamily):
6939         (setLyXSeries):
6940         (setLyXShape):
6941         (setLyXSize):
6942         (setLyXMisc):
6943         (lyxRead):
6944         * debug.C (value):
6945         * buffer.C (asciiParagraph): use ascii_lowercase
6946
6947 2002-07-15  Mike Fabian  <mfabian@suse.de>
6948
6949         * lyxlex_pimpl.C (search_kw):
6950         * lyxlex.C (getLongString):
6951         * converter.h (operator<):
6952         * converter.C (operator<):
6953         * buffer.C (parseSingleLyXformat2Token):
6954         (asciiParagraph):
6955         * ToolbarDefaults.C (read):
6956         * MenuBackend.C (checkShortcuts):
6957         (read):
6958         * LColor.C (getFromGUIName):
6959         (getFromLyXName): use the compare_ascii_no_case instead of
6960         compare_no_case, because in turkish, 'i' is not the lowercase
6961         version of 'I', and thus turkish locale breaks parsing of tags.
6962
6963 2002-07-16  Angus Leeming  <leeming@lyx.org>
6964
6965         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6966         now takes a Buffer const & argument.
6967
6968 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6969
6970         * BufferView.C (resize): check there's a buffer to resize
6971
6972 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6973
6974         * lyxfunc.C: remove dead code
6975
6976         * lyxserver.h:
6977         * lyxserver.C: use lyx_guii::set_read_callback
6978
6979 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6980
6981         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6982         an inset in a RTL paragraph.
6983
6984 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6985
6986         * lyxfunc.C: repaint after a font size update
6987
6988 2002-07-15  André Pönitz <poenitz@gmx.net>
6989
6990         * lyxlength.C: inBP should be able to return negative values
6991
6992 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6993
6994         * lyxfunc.C: use lyx_gui::update_fonts()
6995
6996 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6997
6998         * lyxfunc.C: use lyx_gui::update_color()
6999
7000 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7001
7002         * bufferlist.C:
7003         * lyxfunc.h:
7004         * lyxfunc.C:
7005         * lyxrc.h:
7006         * lyxrc.C: remove file->new asks for name option, and let
7007           buffer-new take an argument
7008
7009 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7010
7011         * BufferView_pimpl.C: remove unneeded extra repaint()
7012
7013 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7014
7015         * LyXAction.C: allow command-sequence with NoBuffer
7016
7017         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7018
7019 2002-07-10  Angus Leeming  <leeming@lyx.org>
7020
7021         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7022
7023 2002-07-09  Angus Leeming  <leeming@lyx.org>
7024
7025         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7026
7027 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7028
7029         * lengthcommon.h: whitespace
7030
7031         * lyxfunc.C: update scrollbar after goto paragraph
7032
7033         * lyxtext.h: factor out page break drawing, and fix it so
7034           page break/added space paints as selected nicely
7035
7036 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7037
7038         * BufferView_pimpl.C: add FIXMEs, clean up a little
7039
7040 2002-07-09  André Pönitz <poenitz@gmx.net>
7041
7042         * lyxfont.[Ch]: support for wasy symbols
7043
7044 2002-07-08  André Pönitz <poenitz@gmx.net>
7045
7046         * BufferView_pimpl.C: apply John's patch for #93.
7047
7048 2002-07-05  Angus Leeming  <leeming@lyx.org>
7049
7050         * BufferView_pimpl.C (buffer): generate previews if desired.
7051
7052         * LColor.h: add "preview" to the color enum.
7053
7054         * LColor.C (LColor): add a corresponding entry to the items array.
7055
7056         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7057         with this buffer.
7058
7059 2002-07-05  Angus Leeming  <leeming@lyx.org>
7060
7061         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7062         The body of the code is now in the method that is passed an ostream &
7063         rather than a file name.
7064         Pass an additional only_preamble parameter, useful for the forthcoming
7065         preview stuff.
7066
7067 2002-07-03  André Pönitz <poenitz@gmx.net>
7068
7069         * lyxfunc.C: simplify getStatus() a bit for math stuff
7070
7071 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7072
7073         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7074
7075 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7076
7077         * text.C (changeRegionCase): do not change case of all the
7078         document when region ends at paragraph end (bug #461)
7079
7080 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7081
7082         * paragraph.C (startTeXParParams):
7083         (endTeXParParams): add \protect when necessary
7084
7085 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7086
7087         * BufferView_pimpl.C (workAreaExpose): remove warning
7088
7089 2002-06-27  Angus Leeming  <leeming@lyx.org>
7090
7091         * Makefile.am: add lyxlayout_ptr_fwd.h.
7092
7093 2002-06-26  André Pönitz <poenitz@gmx.net>
7094
7095         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7096
7097 2002-06-25  Angus Leeming  <leeming@lyx.org>
7098
7099         * lyxfunc.C (dispatch): Comment out the call to
7100         grfx::GCache::changeDisplay. The method no longer exists now that the
7101         pixmap generation part of the graphics loader has been moved into
7102         InsetGraphics.
7103
7104 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7105
7106         * text2.C: layout as layout
7107
7108         * text.C: layout as layout
7109
7110         * tabular.C (OldFormatRead): layout as layout
7111
7112         * paragraph_pimpl.C (TeXDeeper): layout as layout
7113         (realizeFont): layout as layout
7114
7115         * paragraph.C (writeFile): layout as layout
7116         (validate): layout as layout
7117         (getFont): layout as layout
7118         (getLabelFont): layout as layout
7119         (getLayoutFont): layout as layout
7120         (breakParagraph): layout as layout
7121         (stripLeadingSpaces): layout as layout
7122         (getEndLabel): layout as layout
7123         (getMaxDepthAfter): layout as layout
7124         (applyLayout): layout as layout
7125         (TeXOnePar): layout as layout
7126         (simpleTeXOnePar): layout as layout
7127         (TeXEnvironment): layout as layout
7128         (layout): layout as layout
7129         (layout): layout as layout
7130
7131         * lyxtextclass.C (compare_name): new functor to work with
7132         shared_ptr, layout as layout
7133         (Read): layout as layout
7134         (hasLayout): layout as layout
7135         (operator): layout as layout
7136         (delete_layout): layout as layout
7137         (defaultLayout): layout as layout
7138
7139         * lyxlayout_ptr_fwd.h: new file
7140
7141         * lyxlayout.C (Read): layout as layout
7142
7143         * lyx_cb.C (MenuInsertLabel): layout as layout
7144
7145         * bufferlist.C (newFile): layout as layout
7146
7147         * buffer.C (readLyXformat2): layout as layout
7148         (parseSingleLyXformat2Token): layout as layout
7149         (insertStringAsLines): layout as layout
7150         (asciiParagraph): layout as layout
7151         (latexParagraphs): layout as layout
7152         (makeLinuxDocFile): layout as layout
7153         (simpleLinuxDocOnePar): layout as layout
7154         (makeDocBookFile): layout as layout
7155         (simpleDocBookOnePar): layout as layout
7156         (getLists): layout as layout
7157
7158         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7159
7160         * CutAndPaste.C (cutSelection): layout as layout
7161         (pasteSelection): layout as layout
7162         (SwitchLayoutsBetweenClasses): layout as layout
7163
7164         * BufferView_pimpl.C (Dispatch): layout as layout
7165         (smartQuote): layout as layout
7166
7167         * BufferView2.C (unlockInset): layout as layout
7168
7169 2002-06-24  André Pönitz <poenitz@gmx.net>
7170
7171         * lyxfunc.C: fix #487
7172
7173 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7174
7175         * lyxrc.h:
7176         * lyxrc.C:
7177         * lyxfunc.C: remove display_shortcuts, show_banner
7178
7179 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7180
7181         * Buffer_pimpl.C: oops, update on resize
7182
7183 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7184
7185         * buffer.C:
7186         * converter.C:
7187         * exporter.C:
7188         * lyxfunc.C:
7189         * BufferView.h:
7190         * BufferView.C: use repaint()
7191
7192         * BufferView_pimpl.h:
7193         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7194           as it's a clearer description. Remove superfluous
7195           redraws.
7196
7197 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7198
7199         * text.C: fix bug 488. Not ideal, but getting
7200           getWord() to work properly for the insets that
7201           matter is more difficult ...
7202
7203 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7204
7205         * BufferView_pimpl.C:
7206         * LyXAction.C:
7207         * commandtags.h:
7208         * lyxfunc.C: remove the six million index lyxfuncs to just
7209           one, and DTRT (bug 458)
7210
7211 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7212
7213         * BufferView.h:
7214         * BufferView.C:
7215         * BufferView_pimpl.h:
7216         * BufferView_pimpl.C: clean up resize() stuff,
7217           and unnecessary updateScreen()s
7218
7219 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7220
7221         * BufferView.h:
7222         * BufferView.C:
7223         * BufferView_pimpl.h:
7224         * BufferView_pimpl.C:
7225         * lyxfind.h:
7226         * lyxfind.C:
7227         * minibuffer.C: remove focus management of workarea,
7228           not needed. Use screen's greyOut()
7229
7230 2002-06-17  Herbert Voss  <voss@lyx.org>
7231
7232         * converter.C: (convert) do not post a message, when converting
7233         fails, let the calling function decide what to do in this case
7234
7235 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7236
7237         * lyxfunc.C: tidy up a little
7238
7239 2002-06-16    <alstrup@diku.dk>
7240
7241         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7242         Got rid of FORMS_H_LOCATION include. Now we are
7243         GUII.
7244
7245 2002-06-15  LyX Development team  <lyx@rilke>
7246
7247         * buffer.[Ch] (sgmlOpenTag):
7248         (sgmlCloseTag): Added support for avoiding pernicious mixed
7249         content. Return number of lines written.
7250
7251         (makeLinuxDocFile):
7252         (makeDocBookFile): Fixed calls to sgml*Tag.
7253         Simple white space clean.
7254
7255         (simpleDocBookOnePar): Simple white space clean.
7256
7257         * tabular.[Ch] (docBook): Renamed to docbook and got another
7258         argument to related with the pernicious mixed content.
7259
7260         (docbookRow): Fixed calls for docbook inset method.
7261
7262 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7263
7264         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7265         so it's X11 independent.
7266
7267         * kb*.[Ch]: ditto.
7268
7269         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7270
7271 2002-06-15  Lyx Development team  <lyx@electronia>
7272
7273         * intl.h: Renamed getTrans to getTransManager.
7274
7275 2002-06-14  Angus Leeming  <leeming@lyx.org>
7276
7277         * Makefile.am: nuke forgotten stl_string_fwd.h.
7278
7279 2002-06-12  Angus Leeming  <leeming@lyx.org>
7280
7281         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7282
7283 2002-06-13  Angus Leeming  <leeming@lyx.org>
7284
7285         * LaTeX.C:
7286         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7287
7288 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7289
7290         * kbmap.C (getiso): add support for cyrillic and greek
7291
7292 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7293
7294         * BufferView.h:
7295         * BufferView.C:
7296         * BufferView_pimpl.h:
7297         * BufferView_pimpl.C: move bogus scrolling logic
7298           to xforms
7299
7300 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7301
7302         * lyxfunc.C:
7303         * BufferView_pimpl.C: view->resize() change
7304
7305 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * BufferView_pimpl.C: topCursorVisible
7308           prototype change
7309
7310 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7311
7312         * Makefile.am:
7313         * lyx_gui.h:
7314         * lyx_gui.C: move to frontends/
7315
7316         * main.C:
7317         * lyx_main.h:
7318         * lyx_main.C: changes from above
7319
7320 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7321
7322         * intl.C:
7323         * intl.h:
7324         * kbmap.C:
7325         * kbsequence.C:
7326         * lyx_cb.C:
7327         * lyx_main.C: minor tidy
7328
7329 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7330
7331         * BufferView_pimpl.h:
7332         * BufferView_pimpl.C:
7333         * BufferView.h:
7334         * BufferView.C: make painter() const,
7335           remove dead code
7336
7337         * BufferView2.C: use screen() accessor
7338
7339         * lyx_main.h:
7340         * lyx_main.C: some minor cleanup
7341
7342 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7343
7344         * BufferView_pimpl.h:
7345         * BufferView_pimpl.C: remove enter/leaveView,
7346           use workHeight()
7347
7348 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7349
7350         * BufferView.h:
7351         * BufferView.C:
7352         * BufferView2.C:
7353         * BufferView_pimpl.h:
7354         * BufferView_pimpl.C: only construct screen once,
7355           rename
7356
7357         * lyxrc.C: remove pointless comment
7358
7359 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * BufferView.h:
7362         * BufferView.C: remove active() and belowMouse()
7363
7364         * BufferView_pimpl.h:
7365         * BufferView_pimpl.C: use workarea() not workarea_,
7366           and make it use a scoped_ptr instead
7367
7368 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7369
7370         * lyx_gui.C: add debug message on BadWindow
7371
7372 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7373
7374         * sp_spell.C: fdopen is not part of the C++ standard.
7375
7376         * paragraph.C (InsetIterator): use >= instead of ==
7377
7378 2002-06-07  Angus Leeming  <leeming@lyx.org>
7379
7380         Fixes needed to compile with Compaq cxx 6.5.
7381         * BufferView_pimpl.C:
7382         * DepTable.C:
7383         * buffer.C:
7384         * converter.C:
7385         * encoding.C:
7386         * lyx_gui.C:
7387         * lyx_main.C:
7388         * lyxtextclasslist.C:
7389         * minibuffer.C:
7390         * sp_spell.C:
7391         * tabular_funcs.C:
7392         * vc-backend.C:
7393         all c-library variables have been moved into namespace std. Wrap
7394         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7395
7396         * lyxlength.C:
7397         * tabular-old.C:
7398         * tabular.C:
7399         Add a using std::abs declaration.
7400
7401         * kbmap.h (modifier_pair):
7402         * paragraph.h (InsetTable, InsetList):
7403         * lyxfont.h (FontBits):
7404         type definition made public.
7405
7406         * bufferlist.C (emergencyWriteAll): the compiler complains that
7407         there is more than one possible lyx::class_fun template to choose from.
7408         I re-named the void specialisation as lyx::void_class_fun.
7409
7410         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7411
7412         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7413         the compiler is is unable to find tostr in write_attribute.
7414
7415 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7416
7417         * buffer.C (sgmlError): hide #warning
7418
7419 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7420
7421         * xtl/*: get rid of xtl, which is not in use anyway
7422
7423         * LyXAction.C (init):
7424         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7425         were unimplemented xtl experimentation
7426
7427 2002-06-04  André Pönitz <poenitz@gmx.net>
7428
7429         * lyxfunc.C: disable array operation on simple formulae
7430
7431 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7432
7433         * converter.C: constify a bit
7434
7435 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7436
7437         * lyx_gui.C: check xforms version correctly
7438
7439 2002-04-30  Herbert Voss  <voss@lyx.org>
7440
7441         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7442         "keep" option
7443
7444 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7445
7446         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7447           attempt to register it with a VCS)
7448
7449 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7450
7451         * lyx_main.C (init): honor variables LYX_DIR_13x and
7452         LYX_USERDIR_13x
7453
7454 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7455
7456         * buffer.h:
7457         * buffer.C:
7458         * lyx_main.C: fix a crash on bad command line,
7459           and give a useful exit status on error
7460
7461         * lyxfunc.C (doImport): allow -i lyx to work
7462
7463 2002-03-30  André Pönitz <poenitz@gmx.net>
7464
7465         * lyxfunc.C: mathed font changes
7466
7467 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7468
7469         * LaTeX.C:
7470         * importer.h:
7471         * importer.C:
7472         * lyx_sty.h:
7473         * lyx_sty.C:
7474         * lyxlex.C:
7475         * lyxrow.h:
7476         * lyxtext.h:
7477         * paragraph.h:
7478         * paragraph.C:
7479         * texrow.h:
7480         * texrow.C:
7481         * text.C:
7482         * trans_mgr.h: srcdocs, and some minor cleanups
7483
7484 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7485
7486         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7487         call getFont all the time)
7488
7489 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7490
7491         * switch from SigC signals to boost::signals
7492
7493 2002-05-29  André Pönitz <poenitz@gmx.net>
7494
7495         * paragraph_pimpl.C (getChar): don't call size() too often...
7496
7497 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7498
7499         * paragraph_pimpl.C (insertChar): do not try to update tables when
7500         appending (pos == size())
7501
7502         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7503         in order to reduce drastically the number of comparisons needed to
7504         parse a large document
7505
7506 2002-05-29  André Pönitz <poenitz@gmx.net>
7507
7508         * text.C:
7509         * text2.C:
7510         * lyxtextclass.C:
7511         * sp_pspell.h:
7512         * textclasslist.[Ch]:
7513         * sp_ispell.h: whitespace change
7514
7515 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7516
7517         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7518         lyxaction directly now.
7519
7520 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7521
7522         * trans.C:
7523         * lyxfont.C:
7524         * lyxvc.C: remove unused headers
7525
7526 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7527
7528         * Makefile.am:
7529         * buffer.h:
7530         * undostack.h:
7531         * undostack.C:
7532         * undo_funcs.h:
7533         * undo_funcs.C: some cleanups. Use shared_ptr
7534           and a template for the undo stacks.
7535
7536 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7537
7538         * BufferView_pimpl.h:
7539         * BufferView_pimpl.C:
7540         * kbmap.h:
7541         * kbmap.C:
7542         * kbsequence.h:
7543         * kbsequence.C:
7544         * lyxfunc.h:
7545         * lyxfunc.C:
7546         * text2.C: use key_state/mouse_state
7547
7548 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7549
7550         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7551         and LSubstring
7552
7553         * chset.C: change include order
7554         (loadFile): use boost regex and get rid of LRegex and LSubstring
7555
7556         * Makefile.am (BOOST_LIBS): new variable
7557         (lyx_LDADD): use it
7558
7559         * LaTeX.C: change include order.
7560         (scanAuxFile): use boost regex and get rid of LRegex and
7561         LSubstring
7562         (deplog): ditto
7563
7564 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7565
7566         * ColorHandler.h:
7567         * ColorHandler.C:
7568         * FontInfo.h:
7569         * FontInfo.C: moved to frontends/xforms/
7570
7571         * FontLoader.h:
7572         * FontLoader.C: moved into frontends for GUIIzation
7573
7574         * Makefile.am:
7575         * lyx_gui.C:
7576         * lyxfont.C:
7577         * lyxfunc.C: changes from above
7578
7579 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * LColor.C: remove spurious X include
7582
7583         * BufferView_pimpl.C:
7584         * Makefile.am:
7585         * font.h:
7586         * font.C:
7587         * text.C:
7588         * text2.C: move font metrics to frontends/
7589
7590 2002-05-24  Juergen Vigna  <jug@sad.it>
7591
7592         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7593         setting the undo_cursor.
7594
7595         * ParagraphParameters.h: include local includes first.
7596
7597 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7598
7599         * BufferView_pimpl.C:
7600         * BufferView_pimpl.h:
7601         * Makefile.am:
7602         * WorkArea.h:
7603         * WorkArea.C:
7604         * screen.C: move WorkArea into frontends/
7605
7606         * lyxscreen.h:
7607         * screen.C:
7608         * text.C:
7609         * BufferView.C:
7610         * BufferView2.C: move LyXScreen into frontends/
7611
7612         * lyxlookup.h:
7613         * lyxlookup.C:
7614         * lyx_gui.C: move lyxlookup into frontends/xforms/
7615
7616 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7617
7618         * BufferView2.C:
7619         * BufferView_pimpl.C:
7620         * FontLoader.C:
7621         * LyXView.h:
7622         * LyXView.C:
7623         * Makefile.am:
7624         * WorkArea.C:
7625         * XFormsView.h:
7626         * XFormsView.C:
7627         * buffer.C:
7628         * bufferlist.C:
7629         * bufferview_funcs.C:
7630         * converter.C:
7631         * importer.C:
7632         * lyx_cb.C:
7633         * lyx_gui.C:
7634         * lyx_main.C:
7635         * lyx_find.C:
7636         * lyxfunc.C:
7637         * lyxvc.C:
7638         * minibuffer.C:
7639         * text.C:
7640         * text2.C:
7641         * trans.C:
7642         * vc-backend.C: move LyX/XFormsView into frontends/
7643
7644 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7645
7646         * Makefile.am:
7647         * PainterBase.C:
7648         * PainterBase.h:
7649         * Painter.C:
7650         * Painter.h:
7651         * WorkArea.C:
7652         * WorkArea.h:
7653         * screen.C:
7654         * tabular.C:
7655         * text.C:
7656         * text2.C: move Painter to frontends/
7657
7658 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7659
7660         * buffer.C: comment out some some code that depend upon lyx_format
7661         < 220
7662
7663         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7664         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7665
7666         * buffer.h (NO_COMPABILITY): turn off compability
7667
7668         * ColorHandler.C: include scoped_array.hpp
7669
7670         * font.C: Use more specific smart_ptr header.
7671         * Painter.C: ditto
7672         * gettext.C: ditto
7673         * ShareContainer.h: ditto
7674         * lyx_main.h: ditto
7675         * kbmap.h: ditto
7676         * FontInfo.h: ditto
7677         * BufferView_pimpl.h: ditto
7678         * ColorHandler.h: ditto
7679
7680         * kbmap.C (defkey): change call to shared_ptr::reset
7681
7682 2002-05-21  Juergen Vigna  <jug@sad.it>
7683
7684         * buffer.C (insertErtContents): fix to insert ert asis if it is
7685         non empty. Skip it completely if it contains only whitespaces.
7686
7687 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7688
7689         * BufferView_pimpl.C:
7690         * BufferView2.C: clear selection on paste (bug 393)
7691
7692 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7693
7694         * DepTable.C: include ctime
7695
7696 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7697
7698         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7699
7700 2002-05-14  Juergen Vigna  <jug@sad.it>
7701
7702         * text.C (breakParagraph): fixed function to honor the keepempty
7703         layout in the right maner and also to permit the right breaking
7704         algorithm on empty or non empyt keepempty paragraphs.
7705
7706         * paragraph.C (breakParagraph): we have to check also if the par
7707         is really empty (!size()) for isempty otherwise we do the wrong
7708         paragraph break.
7709
7710 2002-05-10  Juergen Vigna  <jug@sad.it>
7711
7712         * buffer.[Ch] : The following are only changes to the ert
7713         compatibility read reading old LaTeX layout and font stuff and
7714         convert it to ERTInsets.
7715
7716         * buffer.h: added isErtInset().
7717
7718         * buffer.C (struct ErtComp): add a fromlayout bool to check
7719         if we're inside a LaTeX layout.
7720         (isErtInset): new helper function.
7721         (insertErtContents): look for other ert insets before this one
7722         and insert the contents there, so that we don't have subsequent
7723         ERT insets with nothing between them. This way we create only one
7724         inset with multiple paragraphs. Also check if we don't insert only
7725         spaces ' ' as they are ignored anyway afterwards in the .tex file
7726         so if we have only spaces we will ignore this latex part in the
7727         new file.
7728         (parseSingleLyXformat2Token \\layout): better compatibility when
7729         reading layout-latex stuff.
7730         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7731         language tag.
7732         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7733         stuff after reading the inset only get the information back from
7734         the stack.
7735
7736 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7737
7738         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7739
7740         * LaTeXFeatures.C (getBabelOptions): New method.
7741
7742 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7743
7744         * BufferView_pimpl.C (Dispatch): work around missing argument for
7745         'layout'
7746
7747 2002-05-08  Juergen Vigna  <jug@sad.it>
7748
7749         * text.C (leftMargin): handle paragraph leftindent.
7750
7751         * paragraph.C (writeFile): write the new \\leftindent tag.
7752         (validate): handle leftindent code.
7753         (TeXEnvironment): handle paragraphleftindent code again.
7754
7755         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7756
7757         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7758         for paragrap_extra indent code and new token \\leftindent.
7759         (latexParagraphs): handle the leftindent as environment.
7760
7761         * ParameterStruct.h: added leftindent support.
7762
7763         * ParagraphParameters.C (leftIndent): added support functions for
7764         the paragraph left indent.
7765
7766         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7767         more appropriate.
7768
7769 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7770
7771         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7772         inside insetERT.
7773
7774         * text.C (computeBidiTables): No bidi in insetERT.
7775
7776         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7777         in RTL documents.
7778
7779 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7780
7781         * version.C.in: pre 5
7782
7783 2002-05-02  José Matos  <jamatos@fep.up.pt>
7784         * buffer.C (makeDocBookFile): white space changes, add newline to
7785         command styles.
7786         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7787
7788         * tabular.C (docBook): fix typo.
7789
7790 2002-05-03  Juergen Vigna  <jug@sad.it>
7791
7792         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7793         change in LyXText as we can not be sure it was not freed.
7794         (drawOneRow): remove unused code.
7795
7796         * text.C (drawInset): redo the calculation of the need_break_row as
7797         it could have a row which was already freed.
7798         (draw): look at the return value of drawInset and return false if
7799         it also returned false.
7800         (paintRowText): look at the return value of draw and return false if
7801         it also returned false.
7802
7803         * lyxtext.h: added bool return type to drawInset() and draw() so that
7804         if we have a change in the row so that the rowbreak has to be redone
7805         we abort drawing as it will be called again.
7806
7807 2002-05-02  Juergen Vigna  <jug@sad.it>
7808
7809         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7810         a change in the maintext also if we're inside an inset.
7811         (Dispatch): set the cursor again after a break line and after the
7812         screen has been updated as it could be we're in a different row.
7813
7814         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7815         to set the cursor behind the pargraph with > size().
7816         (setCursor): check also for the same paragraph when checking where
7817         to put the cursor if we have a NFR inset.
7818
7819         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7820         parts of layout read further up as it still was in the wrong
7821         position.
7822
7823 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7824
7825         * screen.C (drawFromTo): change sine fullRebreak always return
7826         true.
7827
7828         * buffer.C (parseSingleLyXformat2Token): reindent some
7829
7830         * BufferView_pimpl.C (update): change since fullRebreak always
7831         return true.
7832         (Dispatch): git rid of the last hardcoded "Standard"s.
7833
7834 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7835
7836         * text2.[Ch] (fullRebreak): make it return void now that we always
7837         returned true.
7838
7839 2002-04-30  Juergen Vigna  <jug@sad.it>
7840
7841         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7842         ert compatibility check for "latex" layout.
7843
7844 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7845
7846         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7847         minipages: use col% instead of p%, and also use the current font.
7848         (makeLaTeXFile): Fix use babel condition.
7849         (parseSingleLyXformat2Token): Correct font when reading old floats.
7850
7851 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7852
7853         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7854         inserting list of floats.
7855
7856 2002-04-25  Herbert Voss  <voss@lyx.org>
7857
7858         * MenuBackend.C (expand): don't add the graphics extensions to the
7859         export menu
7860
7861 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7862
7863         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7864         non-existing layout, do not complain if it was the default layout
7865         of the original class (bug #342)
7866
7867 2002-04-24  Juergen Vigna  <jug@sad.it>
7868
7869         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7870         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7871
7872 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7873
7874         * buffer.C (getBibkeyList): If using \bibliography, return the
7875         option field with the reference itself. Enables us to provide natbib
7876         support when using \bibliography.
7877
7878 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7879
7880         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7881
7882         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7883         natbib is provided by the LaTeX class.
7884
7885 2002-04-23  Juergen Vigna  <jug@sad.it>
7886
7887         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7888         Wakeup functions.
7889
7890         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7891
7892 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7893
7894         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7895
7896         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7897         ensuremath around textordmasculine, textordfeminine and
7898         textdegree.
7899
7900 2002-04-19  Juergen Vigna  <jug@sad.it>
7901
7902         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7903         reinitializing the buffer otherwise row-dimensions may be wrong.
7904         (update): reset also the selection cursors if they do exits otherwise
7905         their x/y positions may be wrong.
7906
7907         * text2.C (cursorDown): don't enter the inset if we came from a row
7908         above and are one row over the inset.
7909
7910         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7911         really leaving an inset.
7912
7913 2002-04-18  Juergen Vigna  <jug@sad.it>
7914
7915         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7916         of the selected paragraph does not have the selected layout also if
7917         the last one had!
7918
7919         * text2.C (setLayout): fixed bug which did not change last selected
7920         paragraph.
7921
7922         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7923         changed the read and substituted \\end_float with \\end_inset!
7924
7925         * BufferView_pimpl.C (cursorPrevious):
7926         (cursorNext): fixed to make it work with rows heigher than the work
7927         area without moving the cursor only the draw of the row.
7928         (workAreaMotionNotify): fix jumping over high rows.
7929
7930 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7931
7932         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7933         Ressler.
7934
7935 2002-04-16  Juergen Vigna  <jug@sad.it>
7936
7937         * text2.C (setCursor): set also the irow().
7938         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7939         (cursorUp):
7940         (cursorDown): support for locking an inset if the x_fix value goes
7941         inside it. That way I can transverse insets too with cursor up/down.
7942
7943         * lyxrow.h: added irow helper function same as other (i) functions.
7944
7945         * BufferView_pimpl.C (cursorPrevious):
7946         (cursorNext): fixed for insets!
7947
7948 2002-04-15  Juergen Vigna  <jug@sad.it>
7949
7950         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7951         position otherwise it is wrong in some cases.
7952
7953         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7954         inside the inset before the call.
7955
7956 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7957
7958         * buffer.[Ch] (getBibkeyList): make it const.
7959
7960 2002-04-12  Juergen Vigna  <jug@sad.it>
7961
7962         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7963
7964         * text2.C (getCursorX): new helper function
7965         (setCursor): compute also ix_
7966         (setCursorFromCoordinates): set also ix.
7967
7968         * lyxcursor.h: added ix_ and helper functions.
7969
7970         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7971
7972         * buffer.C (insertStringAsLines): dont break paragraph if the this
7973         paragraph is inside an inset which does not permit it!
7974
7975         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7976         also with no chars on this paragraph.
7977         (paintRowText): only paint stuff if it's inside the workarea!
7978
7979         * paragraph.C (breakParagraph): honor keepempty flag and break the
7980         paragraph always below not above.
7981
7982         * BufferView2.C (unlockInset): update the paragraph layout on inset
7983         unlock as we changed paragraph in such a case.
7984
7985         * lyxfind.C (LyXFind): clear the former selection if not found!
7986
7987         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7988         again called in insertChar().
7989
7990         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7991         an inset which uses the whole row!
7992         (rightMargin): ditto.
7993         (insertChar): force a rebreak if we inserted an inset!
7994
7995 2002-03-28  Herbert Voss  <voss@lyx.org>
7996
7997         * lyxlength.[Ch]: add inBP() to get the right PS-point
7998         units (BigPoint). With inPixels we have rounding errors
7999
8000 2002-04-11  Juergen Vigna  <jug@sad.it>
8001
8002         * text2.C (setCursorFromCoordinates): set iy to the right value.
8003         (setCursor): add check if row->previous exists!
8004
8005         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8006         an old float_type as this was the case in the old code!
8007
8008         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8009
8010         * BufferView2.C (showLockedInsetCursor): use iy
8011         (fitLockedInsetCursor): ditto
8012
8013         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8014         locked insets as there we have the right value now.
8015
8016         * lyxcursor.C: added iy_ variable and iy functions to set to the
8017         baseline of cursor-y of the locked inset.
8018
8019         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8020         (setCursor): fixed for insets which need a full row.
8021
8022         * text.C (rowLastPrintable): don't ignore the last space when before
8023         an inset which needs a full row.
8024         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8025         as last character of a row when before a inset which needs a full row.
8026
8027 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8028
8029         * version.C.in: update date
8030
8031         * text2.C (fullRebreak): try to always return true and see what
8032         happens...
8033
8034 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8035
8036         * MenuBackend.C (expand): use Floating::listName
8037
8038         * FloatList.C (FloatList): add listName argument to the built-in
8039         floats
8040
8041         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8042         text associated with the float.
8043
8044 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8045
8046         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8047
8048 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8049
8050         * ShareContainer.h: add a couple of missing typenames.
8051
8052 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8053
8054         * lyxrc.C (getDescription): use _() correctly rather than N_().
8055
8056 2002-03-28  Herbert Voss  <voss@lyx.org>
8057
8058         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8059         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8060
8061 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8062
8063         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8064         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8065
8066 2002-03-29  Juergen Vigna  <jug@sad.it>
8067
8068         * lyxfunc.C (dispatch): add a missing fitCursor call.
8069
8070         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8071         it was scrolled by a cursor move, so return the bool status.
8072
8073         * BufferView.C (fitCursor): return the bool flag also to the outside
8074         world as this is needed.
8075
8076         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8077
8078         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8079         call the edit() as it is not needed (and wrong) IMO.
8080         (workAreaButtonPress): set the screen_first variable before evt.
8081         unlock the inset as this may change screen_first and then we have
8082         a wrong y position for the click!
8083
8084 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8085
8086         * MenuBackend.C (expand): another translation that I missed
8087
8088 2002-03-28  Juergen Vigna  <jug@sad.it>
8089
8090         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8091
8092         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8093
8094 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8095
8096         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8097
8098         * MenuBackend.C (expand): fix export/view/update when there is no
8099         document open.
8100
8101 2002-03-27  Herbert Voss  <voss@lyx.org>
8102
8103         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8104         and text%
8105
8106 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8107
8108         * bufferview_funcs.C (currentState): only show paragraph number
8109         for is DEVEL_VERSION is set.
8110
8111         * lyxfunc.C (dispatch): put warning in INFO channel
8112
8113         * MenuBackend.C (expand): translate the name of floats
8114
8115         * FloatList.C (FloatList): mark the float names for translation
8116
8117         * converter.C (convert): use LibScriptSearch
8118
8119 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8120
8121         * MenuBackend.C (defaults): fix default menu (we might as well get
8122         rid of it...)
8123
8124 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8125
8126         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8127         directory.
8128
8129 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8130
8131         * lyxvc.C: reorder includes.
8132
8133 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8134
8135         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8136           properly
8137
8138 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8139
8140         * CutAndPaste.C: change layouts earlier on paste
8141           to avoid crashing when calling getFont()
8142
8143 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8144
8145         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8146         irritating #error.
8147
8148 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8149
8150         * WorkArea.C: remove 'Pending' debug message.
8151
8152         * most files: ws cleanup
8153
8154         * buffer.[Ch]: ws changes
8155
8156         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8157
8158 2002-03-21  Juergen Vigna  <jug@sad.it>
8159
8160         * tabular.C (SetMultiColumn): collapse also the contents of the
8161         cells and set the last border right. Added a Buffer const * param.
8162
8163 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8164
8165         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8166         linking or not.
8167
8168 2002-03-19  Juergen Vigna  <jug@sad.it>
8169
8170         * text2.C (clearSelection): reset also xsel_cache.
8171
8172         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8173         where it needs to be called (John tells us to do so too :)
8174         (selectionLost): reset sel_cache.
8175
8176         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8177
8178 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8179
8180         * text2.C (setCursorIntern): put debuging code in INSETS channel
8181
8182 2002-03-19  André Pönitz <poenitz@gmx.net>
8183
8184         * lyxfunc.C: tiny whitespace change
8185
8186 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8187
8188         * ToolbarDefaults.C (init):
8189         * LyXAction.C (init):
8190         * commandtags.h:
8191         * BufferView_pimpl.C (Dispatch):
8192         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8193
8194 2002-03-19  Allan Rae  <rae@lyx.org>
8195
8196         * exporter.C (Export): removeAutoInsets before doing anything else.
8197         While I've just introduced a dependency on BufferView this really is
8198         the best place to clean the buffer otherwise you need to cleanup in
8199         a dozen places before calling export or cleanup in a dozen functions
8200         that export calls.
8201
8202         * converter.C (runLaTeX):
8203         (scanLog): Better handling of removeAutoInsets and screen updates.
8204
8205         * lyxfunc.C (dispatch): small whitespace changes
8206
8207 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8208
8209         * WorkArea.C (C_WorkAreaEvent): return a value.
8210         (event_cb): return 1 if we handled the event, 0 otherwise.
8211
8212         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8213
8214 2002-03-18  Juergen Vigna  <jug@sad.it>
8215
8216         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8217         (GetAdditionalWidth): ditto.
8218         (RightLine): ditto.
8219         (LeftLine): ditto.
8220
8221         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8222         inset if we're there actually (probably not used right now but this
8223         is the direction to go for unifying code).
8224         (paste): disable code to clear the selection.
8225
8226         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8227         inside an InsetText and move the check further up as it is in the
8228         wrong place.
8229
8230         * text2.C (pasteSelection): set a selection over the pasted text.
8231
8232 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8233
8234         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8235         and libgraphics to build on Cygwin.
8236
8237 2002-03-15  Juergen Vigna  <jug@sad.it>
8238
8239         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8240         inserting an Inset into the paragraph. I know this is not the best
8241         fix but we already use current_view in CutAndPaste so we will remove
8242         all of it's using at the same time.
8243
8244         * buffer.C (sgmlError): deactivated function till it is rewritten in
8245         the right mode, now it can create problems.
8246
8247         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8248         before accessing it.
8249
8250 2002-03-14  Juergen Vigna  <jug@sad.it>
8251
8252         * undo_funcs.C (textHandleUndo): do the right thing when updating
8253         the inset after the undo/redo.
8254
8255         * text2.C (setCursor): just some testcode for #44 not ready yet.
8256
8257         * undo_funcs.C (textHandleUndo): set the next() and previous()
8258         pointers of the paragraph to 0 before deleting otherwise we have
8259         problems with the Paragraph::[destructor].
8260
8261         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8262         on a paragraph insertion.
8263
8264 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8265
8266         * buffer.C (asciiParagraph): use += operator for char append to
8267         string.
8268
8269         * paragraph.C (getFontSettings): compare >= not just >
8270         (highestFontInRange): ditto
8271         (setFont): ditto
8272
8273 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8274
8275         * paragraph.C: change several algorithm to be more appripriate for
8276         the problem domain. This is lookip in FontList and in the InsetList.
8277
8278 2002-03-13  André Pönitz <poenitz@gmx.net>
8279
8280         * commandtags.h:
8281         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8282
8283 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * commandtags.h:
8286         * LyXAction.C:
8287         * lyxfunc.C:
8288         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8289
8290 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8291
8292         * Painter.C (display): anon helper function, adjust code for this
8293         change.
8294         (pixmap): remove function.
8295
8296         * Painter.h: remove private display variable.
8297
8298         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8299
8300 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8301
8302         * WorkArea.[Ch]: remove figinset_canvas cruft.
8303
8304 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8305
8306         * lyxtextclass.C (operator): add one item cache optimization.
8307
8308         * bufferlist.h: doxy changes
8309
8310         * bufferlist.C: ws changes
8311
8312         * DepTable.[Ch] (ext_exist): place const in the right spot.
8313
8314         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8315         call resizeInsets.
8316         (workAreaExpose): call resizeInsets when the with BufferView changes.
8317         (Dispatch): adjust for protectedBlank removal
8318         (specialChar): call updateInset if the insert went ok.
8319
8320         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8321         specialChar instead.
8322
8323         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8324
8325         * BufferView.h: doxy change
8326
8327         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8328
8329         * lyxtextclass.C (operator[]): remove non-const version
8330         (defaultLayout): remove non-const version
8331
8332 2002-03-12  Juergen Vigna  <jug@sad.it>
8333
8334         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8335         did resize the LyXText too.
8336
8337         * buffer.C (readLyXformat2): set layout information on newly allocated
8338         paragraphs.
8339
8340         * tabular.C (OldFormatRead): set layout information on the paragraph.
8341
8342 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8343
8344         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8345
8346 2002-03-11  Juergen Vigna  <jug@sad.it>
8347
8348         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8349         plainly wrong.
8350         (resizeCurrentBuffer): force also the insets to resize themselfes.
8351         (moveCursorUpdate): fixed up for InsetText.
8352
8353 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8354
8355         * commandtags.h:
8356         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8357         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8358         value of Dialogs::tooltipsEnabled().
8359         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8360
8361 2002-03-08  Juergen Vigna  <jug@sad.it>
8362
8363         * BufferView_pimpl.C (updateInset): update inset inside inset also
8364         if it isn't inside theLockingInset().
8365
8366 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8367
8368         * buffer.C (asciiParagraph): redo some of the word and line length
8369         handling.
8370         (getLists): look for Caption instead of caption.
8371
8372 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8373
8374         * buffer.C (Buffer): initialize niceFile to true
8375         (makeLaTeXFile):
8376         (makeLinuxDocFile):
8377         (makeDocBookFile): make sure niceFile is true on exit
8378
8379 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8382
8383 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8384
8385         * LyXSendto.C: remove.
8386         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8387         * lyx_gui.C: remove now-redundant comment.
8388         * ColorHandler.h: remove forward declaration of class WorkArea.
8389         * lyxfunc.C: remove #include "WorkArea.h".
8390
8391 2002-03-07  Juergen Vigna  <jug@sad.it>
8392
8393         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8394         got moved away with the DEPM and also set the inset_owner always
8395         right which before could have been omitted.
8396
8397 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8398
8399         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8400         wanted layout is not found.
8401
8402 2002-03-07  Juergen Vigna  <jug@sad.it>
8403
8404         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8405
8406 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8407
8408         * paragraph.C (breakParagraph): use default layout not layout of
8409         prev paragraph.
8410         (Paragraph): clear ParagraphParameters.
8411
8412 2002-03-06  Juergen Vigna  <jug@sad.it>
8413
8414         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8415         otherwise it would not be a valid lenght. Fixed a special case in
8416         the minipage compatibility read where we end the document with a
8417         minipage.
8418
8419         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8420         was set as it could be 0 for InsetTexts first entry.
8421
8422 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8423
8424         * paragraph.C (writeFile): if layout is empty write out
8425         defaultLayoutName().
8426
8427         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8428         file without named layout we set layout to defaultLayoutName().
8429
8430 2002-03-06  Juergen Vigna  <jug@sad.it>
8431
8432         * CutAndPaste.C (copySelection): set layout for new paragraph.
8433
8434         * text.C (prepareToPrint): leave ERT inset left aligned
8435         (leftMargin): don't indent paragraphs inside ERT insets
8436
8437 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8438
8439         * paragraph.C (breakParagraph): dont call clear do the work manually
8440
8441         * paragraph.[Ch] (clear): remove function
8442
8443 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8444
8445         * paragraph.C (Paragraph): dont call clear, the work has already
8446         been done.
8447
8448         * lyxtextclass.C (operator): assert if n is empty
8449
8450         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8451         work manually instead.
8452
8453 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8454
8455         * BufferView_pimpl.C: protect selectionLost against text == 0
8456
8457 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8458
8459         * text.C (breakParagraph): fix a setting layout to '0' problem.
8460
8461 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8462
8463         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8464         final location of file, for the included files, and graphics.
8465
8466 2002-03-05  Juergen Vigna  <jug@sad.it>
8467
8468         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8469
8470 2002-03-04  Juergen Vigna  <jug@sad.it>
8471
8472         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8473
8474         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8475         last column of multicolumn cells.
8476         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8477
8478 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8479
8480         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8481         file if it doesn't go to a temporary file.
8482
8483         * buffer.C (sgmlOpenTag):
8484         (sgmlCloseTag):  remove extra newline insertion.
8485
8486 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8487
8488         * text.C (getRowNearY): comment out debug msg
8489
8490 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8491
8492         * text2.C: first -> first_y
8493
8494         * text.C (getRowNearY): add some attemts at a possible
8495         optimization, not working.
8496
8497         * tabular.[Ch]: add BufferParams to several function so that newly
8498         created paragraph can be initialized to he default layotu for the
8499         buffers textclass.
8500
8501         * tabular-old.C (ReadOld): add buf->params to call of Init
8502
8503         * screen.C: rename text->first to text->first_y
8504
8505         * paragraph.C (breakParagraph): always set layout in the broken
8506         paragraph
8507
8508         * lyxtextclass.C (Read): remove lowercase
8509         (hasLayout): ditto
8510         (operator): ditto
8511         (delete_layout): ditto
8512
8513         * lyxtext.h: rename first -> first_y
8514
8515         * lyxlayout.C (Read): remove lowercase
8516         (name): ditto
8517         (setName): ditto
8518         (obsoleted_by): ditto
8519
8520         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8521
8522         * buffer.C (insertErtContents): add params are to InsetERT
8523         (parseSingleLyXformat2Token): add code to check if a paragraphs
8524         layout really exist.
8525         (parseSingleLyXformat2Token): add params to several inset
8526         constructors
8527         (asciiParagraph): remove lowercase, do the layout comparisons with
8528         no_case
8529
8530         * BufferView_pimpl.C (cursorNext): first -> first_y
8531         (resizeCurrentBuffer): first -> first_y
8532         (updateScrollbar): first -> first_y
8533         (scrollCB): first -> first_y
8534         (workAreaMotionNotify): first -> first_y
8535         (workAreaButtonPress): first -> first_y
8536         (checkInsetHit): first -> first_y
8537         (cursorPrevious): first -> first_y
8538         (cursorNext): first -> first_y
8539         (Dispatch): add buffer_->params to severl inset contructors
8540
8541 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8542
8543         * lyxlayout.C (Read): remove some debug info that I forgot.
8544
8545         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8546         clean up the code slightly.
8547         (makeLinuxDocFile): ditto
8548         (makeDocBookFile): ditto
8549
8550         * text2.C: layout as string
8551
8552         * text.C: layout as string
8553
8554         * paragraph_pimpl.C: layout as string
8555
8556         * paragraph.[Ch]: layout as string
8557
8558         * lyxtextclasslist.[Ch]: layout as string
8559
8560         * lyxtextclass.[Ch]: layout as string
8561
8562         * lyxtext.h: layout as string
8563
8564         * lyxlayout.[Ch]: layout as string
8565
8566         * lyx_cb.C: layout as string
8567
8568         * bufferview_funcs.C: layout as string
8569
8570         * bufferparams.C: layout as string
8571
8572         * buffer.C: layout as string
8573
8574         * LyXView.[Ch]: layout as string
8575
8576         * LaTeXFeatures.[Ch]: layout as string
8577
8578         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8579
8580         * BufferView_pimpl.C: change current_layout to string, remove
8581         lyx::layout_type.
8582         (Dispatch):
8583         (smartQuote):
8584         (insertInset):
8585         (workAreaButtonRelease): layout as string
8586
8587         * BufferView2.C (unlockInset): adjust
8588
8589         * vspace.C (asLatexCommand): use an explict temp variable.
8590
8591 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8592
8593         * Makefile.am: use FRONTEND_*
8594
8595 2002-03-01  Juergen Vigna  <jug@sad.it>
8596
8597         * tabular.C (SetWidthOfMulticolCell): changed to something better
8598         I hope but still work in progress.
8599         (recalculateMulticolumnsOfColumn): renamed function from
8600         recalculateMulticolCells as it is more appropriate now.
8601         (SetWidthOfCell): calculate multicols better.
8602
8603 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8604
8605         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8606
8607         * lyxfunc.C (processKeySym): print sequence also if it is
8608         `deleted' (complete)
8609
8610         * kbsequence.C (print): print sequence even if it is deleted
8611         (complete would be a better word, actually).
8612
8613         * lyxfunc.C (dispatch): print complete options after a prefix key
8614
8615         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8616
8617 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8618
8619         * text2.C (setCharFont): eliminate setCharFont code duplication.
8620
8621 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8622
8623         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8624         LFUN_TABULAR_FEATURE (bug #177)
8625
8626 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8627
8628         * Makefile.am: remove figure.h
8629
8630 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8631
8632         * Bufferview_pimpl.C:
8633         * CutAndPasteC:
8634         * LaTeX.C:
8635         * LyXSendto.C:
8636         * buffer.C:
8637         * bufferlist.C:
8638         * converter.C:
8639         * language.C:
8640         * lyxfunc.C:
8641         * lyxvc.C:
8642         * paragraph.C:
8643         * text.C:
8644         * text2.C: remove #include "lyx_gui_misc.h".
8645
8646         * LaTeX.C: added #include <cstdio>
8647
8648 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8651         that the paragraph following this one can have.
8652
8653         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8654
8655         * vspace.C (asLatexCommand): fix bogus gcc warning
8656
8657         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8658
8659 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8660
8661         * text2.C (setLayout): get rid of redundant code
8662
8663 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8664
8665         * text2.C (incDepth): make sure depth cannot be increased beyond
8666         reasonable values.
8667
8668 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8669
8670         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8671         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8672
8673         * PainterBase.h (image):
8674         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8675         a LyXImage const *.
8676
8677 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8678
8679         * BufferView.C:
8680         * BufferView.h:
8681         * BufferView_pimpl.C:
8682         * BufferView_pimpl.h:
8683         * LaTeXFeatures.C:
8684         * LyXAction.C:
8685         * LyXView.C:
8686         * Makefile.am:
8687         * UpdateList.h:
8688         * UpdateList.C:
8689         * buffer.C:
8690         * figure.h:
8691         * figureForm.C:
8692         * figureForm.h:
8693         * figure_form.C:
8694         * figure_form.h:
8695         * lyx_cb.C:
8696         * lyx_gui.C:
8697         * lyx_gui_misc.C:
8698         * lyxfunc.C:
8699         * sp_base.h:
8700         * sp_ispell.h:
8701         * sp_pspell.h:
8702         * sp_spell.C: remove fig inset, and the crap house of
8703           cards that follows it
8704
8705 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8706
8707         * Makefile.am:
8708         * lyxserver.C:
8709         * os2_defines.h:
8710         * os2_errortable.h:
8711         * nt_defines.h: move .h into support/
8712
8713         * vms_defines.h: remove
8714
8715         * WorkArea.C: add space in debug output
8716
8717         * text2.C:
8718         * paragraph.C:
8719         * buffer.C: add WITH_WARNINGS
8720
8721         * vc-backend.h:
8722         * vc-backend.C:
8723         * bufferlist.C: s/retrive/retrieve/, add docs
8724
8725         * vspace.h:
8726         * vspace.C:
8727         * kbmap.h:
8728         * lyxlength.h:
8729         * lyxgluelength.h:
8730         * length_common.h:
8731         * chset.h:
8732         * chset.C: add docs
8733
8734         * lyxgui.C: add ID to X error handler
8735
8736         * lyxtestclass.c: fix typo
8737
8738 2002-02-26  Juergen Vigna  <jug@sad.it>
8739
8740         * tabular_funcs.C (write_attribute): changed so that some default
8741         attributes are not written at all.
8742         (getTokenValue): set default values before trying to read the
8743         value so we have the return value always set as default if we don't
8744         find the token we search for.
8745
8746         * tabular.C (Write): write bools as bools not as strings!
8747
8748 2002-02-22  Juergen Vigna  <jug@sad.it>
8749
8750         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8751         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8752
8753         * text.C (leftMargin): don't add an indent for paragraphs inside
8754         tabular cells (fix #208).
8755
8756 2002-02-21  José Matos  <jamatos@fep.up.pt>
8757
8758         * tabular.C (docBook): fixed support for long tables.
8759
8760 2002-02-20  Juergen Vigna  <jug@sad.it>
8761
8762         * text2.C (getFont): get the drawing font of the Inset if this
8763         paragraph is inside an inset (only important for InsetERT for now).
8764
8765         * buffer.C (insertErtContents): use new lanugage params in ERT
8766         constructor.
8767
8768         * CutAndPaste.C: commenting out seemingly uneeded code.
8769
8770 2002-02-19  Allan Rae  <rae@lyx.org>
8771
8772         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8773         Iterators might be simple to use but they also get invalidated.
8774         (removeAutoInsets): renamed saved cursor tracking variables and added
8775         some comments to clarify what everything does.
8776
8777 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8778
8779         * Chktex.C:
8780         * LaTeX.C:
8781         * LyXSendto.C:
8782         * converter.C:
8783         * lyx_cb.C:
8784         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8785         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8786
8787         * lyxfunc.C:
8788         * vc-backend.h: remove #include "support/syscall.h"
8789
8790         * LaTeX.C:
8791         * LyXSendto.C:
8792         * converter.C: rearrange #includes in Lars' approved fashion.
8793
8794         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8795         forward declare class Timeout in the header file.
8796
8797         * XFormsView.C: changes due to the above.
8798
8799         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8800         similar to LyXView.
8801
8802         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8803         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8804
8805 2002-02-18  José Matos  <jamatos@fep.up.pt>
8806
8807         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8808         insets contents.
8809
8810 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8811
8812         * a lot of small ws changes
8813         * add a lot of using std::XXX
8814         * use std construcs some places where approp.
8815         * use some exisint stuff from lyxfunctional where approp.
8816         * Make file changes to use partial linking (lets test this now...)
8817
8818 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8819
8820         * Chktex.C:
8821         * buffer.C:
8822         remove #include "support/syscontr.h" as it's redundant. Always has been.
8823
8824         * Chktex.C:
8825         * LaTeX.C:
8826         * LyXSendto.C:
8827         * converter.C:
8828         * lyx_cb.C:
8829         * vc-backend.C:
8830         change Systemcalls::System to Systemcalls::Wait and
8831         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8832         No change of functionality, just reflects the stripped down Systemcalls
8833         class.
8834
8835 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8836
8837         * debug.[Ch]: add a GRAPHICS type to the enum.
8838
8839 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8840
8841         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8842
8843         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8844         there is an inset.
8845
8846 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8847
8848         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8849         match the changes below.
8850
8851         * text2.C (toggleInset): if there is not editable inset at cursor
8852         position, try to see if cursor is _inside_ a collapsable inset
8853         and close it.
8854
8855 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8856
8857         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8858         document menu has a nice checkbox
8859
8860 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8861
8862         * lyxlength.C (asLatexString): change PW to output as percent of
8863         \textwidth.
8864
8865         * lengthcommon.C: change '%' to 't%'
8866
8867         * lyxfunc.C (dispatch): a few comments from Martin
8868
8869 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * WorkArea.h:
8872         * WorkArea.C:
8873         * BufferView_pimpl.h:
8874         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8875           the X selection.
8876
8877 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8878
8879         * vspace.C (inPixels): fix compiler warning
8880
8881 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8882
8883         * lyxfunc.C (getStatus): fix status message for disabled commands.
8884
8885 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8886
8887         * BufferView_pimpl.C: fix crash on close buffer
8888         during selection (#227)
8889
8890 2002-01-27  Herbert Voss  <voss@lyx.org>
8891
8892         * buffer.C: link old Figure to new graphic inset
8893
8894 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8895
8896         * FontLoader.C (getFontinfo): Change the latex font names in order
8897         to match the names of type1inst.
8898
8899 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8900
8901         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8902
8903         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8904         (extchanged): ditto
8905         (ext_exist): ditto
8906         (remove_files_with_extension): ditto
8907         (remove_file): ditto
8908         (write): ditto
8909
8910         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8911         document is smaller than the work area height. Do not initialize
8912         static variables to 0.
8913
8914 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8917
8918         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8919         LFUN_LAYOUT_PARAGRAPHS.
8920
8921         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8922         tabular. It is possible to provide a possible cell, which will
8923         typically be the actcell from the corresponding insettabular
8924
8925         * lyxfunc.C (getStatus): small cleanup; disable
8926         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8927         true
8928
8929 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8932
8933         * paragraph.C (startTeXParParams):
8934         (endTeXParParams): new methods. The LaTeX code to
8935         start/end paragraph formatting
8936         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8937         empty (fixes bug #200)
8938
8939         * vspace.C (inPixels): adapt to the change below
8940         (inPixels): [later] more cleanups (remove unused variables)
8941
8942         * lyxlength.C (inPixels): change to use a width and a height as
8943         parameter.
8944
8945 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8946
8947         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8948         Replaced with \paperwidth
8949
8950         * DepTable.C (insert): add std:: qualifier
8951
8952 2002-01-18  Allan Rae  <rae@lyx.org>
8953
8954         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8955         updated also?
8956
8957         * text.C (drawInset): Turned out I didn't know enough about how
8958         rebreaking worked.  This fixes most of the redraw problems.  I see
8959         an occasional cursor trail when a line is broken now and the cursor
8960         placement can seem out by a few pixels also after a rebreak.
8961
8962 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8963
8964         * buffer.C (parseSingleLyXformat2Token): update because minipage
8965         width is now a LyXLength
8966
8967         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8968
8969         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8970         math insets
8971
8972 2002-01-17  Juergen Vigna  <jug@sad.it>
8973
8974         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8975
8976         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8977         is set correctly and the inset is updated correctly.
8978
8979 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8980
8981         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8982         the beginning of the loop.
8983
8984 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8985
8986         * lyxrc.C: improve help for use_scalable_fonts
8987
8988 2002-01-17  Allan Rae  <rae@lyx.org>
8989
8990         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8991
8992 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8993
8994         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8995         make sure to set their inset_owner to the right value (bug #171)
8996
8997 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8998
8999         * DepTable.h
9000         * DepTable.C: Implement mtime checking to reduce time spent doing
9001         CRCs.
9002
9003 2002-01-16  Juergen Vigna  <jug@sad.it>
9004
9005         * tabular.C (GetAdditionalHeight): one of error fixed.
9006
9007         * lyxrc.C (output): small fix in writing use_pspell.
9008
9009 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9010
9011         * sp_base.h: #include LString.h
9012
9013 2002-01-16  Allan Rae  <rae@lyx.org>
9014
9015         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9016         Can someone check this please?
9017
9018         * text.C (drawInset): It was possible that p.row would be removed by
9019         breakAgainOneRow upsetting a few other settings.  There may be another
9020         small tweak possible by setting need_break_row = 0 when p.row has been
9021         removed but I don't know enough about the logic here.
9022
9023 2002-01-15  Allan Rae  <rae@lyx.org>
9024
9025         * text.C (insertChar): removed conditional truism.
9026
9027         * BufferView2.C (removeAutoInsets): More tweaks.
9028         cur_par_prev could be a stray pointer.  Check for trailing empty line
9029         in case last line was cur_par and only had an error inset on it.
9030
9031 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9032
9033         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9034         absolute
9035
9036         * vc-backend.C (most methods):
9037         * exporter.C (Export):
9038         * converter.C (convert):
9039         (runLaTeX):
9040         * LyXSendto.C (SendtoApplyCB):
9041         * lyxfunc.C (dispatch):
9042         (menuNew):
9043         (open):
9044         (doImport):
9045         * lyx_cb.C (AutoSave):
9046         (InsertAsciiFile):
9047         * BufferView_pimpl.C (MenuInsertLyXFile):
9048         * buffer.C (runChktex): use Buffer::filePath().
9049
9050         * buffer.h: rename filename to filename_; rename filepath to
9051         filepath_ and make it private
9052         (filePath): new method
9053
9054         * buffer.C (writeFile): use fileName()
9055         (getLatexName):
9056
9057         * lyx_main.C (init): fix starting  of LyX when the binary is a
9058         link from so,ewhere else.
9059
9060         * minibuffer.C: include <cctype> for isprint
9061
9062 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9063
9064         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9065         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9066         name clash with InsetCollapsable's width function.
9067
9068 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9069
9070         * lastfiles.C: include <iterator>
9071
9072 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9073
9074         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9075         std::count.
9076
9077         * buffer.C (makeLaTeXFile): ditto.
9078         Also make loop operation more transparent.
9079
9080 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9081
9082         * ToolbarDefaults.C: remove trailing comma closing namespace.
9083
9084         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9085
9086         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9087         as in WorkArea.
9088
9089         * trans.C (Load): comment out unused variable, allowed.
9090
9091 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9092
9093         * minibuffer.[Ch] (append_char): new method to recieve input from the
9094         drop-down completion browser. If a key was pressed, then recieve this
9095         char and append it to the existing string.
9096         (peek_event): modify the positioning data passed to the completion
9097         browser so that it can be placed above the minibuffer rather than below.
9098 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9099
9100         * LyXAction.C (init): alloe error-next for readonly documents.
9101
9102         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9103         count.
9104
9105 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9106
9107         * bufferlist.C (readFile): create the buffer _after_ checking that
9108         the file exists.
9109
9110         * lyxfunc.C (verboseDispatch): fix handling of arguments
9111
9112         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9113
9114         * lyxrc.C: use string::erase() instead of initializing to "".
9115
9116
9117 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9118
9119         * BufferView_pimpl.h:
9120         * BufferView_pimpl.C:
9121         * WorkArea.h:
9122         * WorkArea.C:
9123         * text2.C: tell X when we have made a selection for copying
9124
9125 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * BufferView_pimpl.C (MenuInsertLyXFile):
9128         * lyxfunc.C (menuNew):
9129         (open):
9130         (doImport): add shortcuts to directory buttons
9131
9132         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9133         open a float)
9134
9135         * lyxfunc.C (setStatusMessage):
9136         (getStatusMessage): new methods
9137         (getStatus):use setStatusMessage instead of setErrorMessage
9138         (dispatch): when function is disabled, set error message here
9139         [instead of in getStatus previously]
9140
9141         * BufferView_pimpl.C (workAreaButtonRelease): update
9142         toolbar/menubar here too.
9143
9144 2002-01-13  Allan Rae  <rae@lyx.org>
9145
9146         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9147         Now seems indestructible.  Remaining task is to audit all other
9148         code affected by deleteEmptyParagraphMechanism.  One small quirk
9149         left is that an empty document with an error in the preamble can
9150         be made to report an error but no error box appears.  I don't know
9151         where it goes.
9152         (removeAutoInsets): Improved comments.
9153
9154 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9155
9156         * Thesaurus.h:
9157         * Thesaurus.C: update for Aiksaurus 0.14
9158
9159 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9160
9161         * text2.C (firstParagraph): removed member function, all uses
9162         replaces with ownerParagraph
9163         (redoParagraphs): here
9164         (updateInset): here
9165         (toggleAppendix): here
9166         * BufferView2.C (insertErrors): here
9167         (setCursorFromRow): here
9168
9169 2002-01-13  Allan Rae  <rae@lyx.org>
9170
9171         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9172         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9173         There is still a way to segfault this although you may have to do this
9174         multiple times: Have an InsetERT with an unknown command in it.
9175         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9176         <down-arrow>, <Enter> again, View->DVI, BANG!
9177
9178         * text2.C (setCursor):
9179         (deleteEmptyParagraphMechanism):
9180         * lyxtext.h (setCursor):
9181         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9182         Making use of the return value may help fix other bugs.
9183
9184 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9185
9186         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9187
9188         * LyXView.C (updateMenubar): call MenuBar::update here
9189         (updateToolbar): but not here
9190         (showState): do not update toolbar/menubar
9191
9192         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9193         should need to care about that.
9194
9195         * lyxfunc.C (verboseDispatch): simplify a bit
9196         (getStatus): have a version which takes a pseudoaction, and
9197         another which requires a (kb_action,string).
9198
9199         * LyXAction.C (retrieveActionArg): make it work also when action
9200         is not a pseudo-action.
9201         (getActionName): simplify a bit
9202         (helpText):
9203
9204 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9205
9206         * lyxfunc.C (verboseDispatch): new families of methods with
9207         several ways to specify a command and a bool to indicate whether
9208         the command name and shortcut should be displayed in minibuffer
9209         (eventually, we could extend that to a finer bitmask like
9210         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9211         (dispatch): the pristine dispatch command which just, well,
9212         dispatchs! Note it still sets its result to minibuffer; I'm not
9213         sure we want that.
9214
9215         * lyxfunc.h: remove setHintMessage
9216
9217         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9218
9219 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * BufferView_pimpl.C (specialChar): delete new inset if we have
9222         not been able to insert it.
9223
9224         * kbmap.C: revert to using int instead of kb_action, since all we
9225         are dealing with is pseudo-actions.
9226
9227         * LyXAction.C (searchActionArg): change to return int instead of
9228         kb_action, since the result is a pseudoaction.
9229
9230 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9231
9232         * buffer.C (insertErtContents): Fix (partially) the font bug.
9233
9234 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9235
9236         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9237         as the other one is broken on my machine!
9238
9239 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9240
9241         * commandtags.h:
9242         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9243
9244 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9245
9246         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9247         reflect their actual use. Provide compatibility code for older lyxrc
9248         files.
9249
9250         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9251         FL_NORMAL_STYLE.
9252         change names of popup font variables in line with the changes to lyxrc.C
9253
9254 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9255
9256         * buffer.C (asciiParagraph): avoid outputing a word twice after
9257         an inset.
9258
9259         * lyxrc.C (getDescription): document that document_path and
9260         template_path can be empty.
9261
9262 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * LaTeXFeatures.C (getMacros):
9265         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9266
9267         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9268
9269         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9270         getPackages.
9271         (getPackages): rename feature "floats" to "float". Use an array to
9272         iterate over 'simple' features (i.e. just a \usepackage). Add
9273         handling of "amsmath" (renamed from "amsstyle").
9274
9275 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9276
9277         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9278         features list.
9279
9280 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9281
9282         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9283         FuncStaus::FuncStatus & FuncStaus::some_method().
9284
9285 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9286
9287         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9288         of the func_satus stuff. Edited and massaged in various ways by
9289         JMarc.
9290
9291         * lyxfunc.C (getStatus): use FuncStatus
9292
9293 2002-01-08  Juergen Vigna  <jug@sad.it>
9294
9295         * text.C (nextBreakPoint): use function Inset::isChar().
9296
9297         * paragraph.C (TeXOnePar): use function
9298         Inset::forceDefaultParagraphs.
9299
9300         * buffer.C (latexParagraphs): use function
9301         Inset::forceDefaultParagraphs.
9302
9303 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9304
9305         * lyx_gui.C (init): set the style of the menu popups to
9306         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9307
9308 2002-01-07  Juergen Vigna  <jug@sad.it>
9309
9310         * text.C (setHeightOfRow): small fix
9311         (prepareToPrint): don't look at alignment if we don't have the place
9312         for doing it.
9313
9314 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9315
9316         * box.C: New file. Move the Box methods and functions out of box.h,
9317         following Lars' suggestion.
9318
9319 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9320
9321         * box.h: #include "support/LOstream.h", needed for inlined function.
9322
9323         * lyxtextclass.C:
9324         * lyxtextclasslist.C: added some using std declarations.
9325
9326 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * box.h: make signed dimensions to allow insets wider than
9329           the screen (bug #162)
9330
9331         * BufferView_pimpl.C: add some insetHit debug
9332
9333 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9334
9335         * vc-backend.C: add FIXME
9336
9337 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9338
9339         * lyxfunc.C (getStatus): enable code for showing math font status
9340         in toolbar/menu.
9341
9342 2002-01-07  Juergen Vigna  <jug@sad.it>
9343
9344         * text.C (nextBreakPoint): removed debug output not needed anymore.
9345
9346 2002-01-06  Juergen Vigna  <jug@sad.it>
9347
9348         * text.C (nextBreakPoint): fixed up this function we had this bug
9349         since ever but now hopefully we break row better.
9350         (insertChar): we have to check if an inset is the next char as it
9351         could now happen that a large inset is causing a break.
9352
9353 2002-01-05  Juergen Vigna  <jug@sad.it>
9354
9355         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9356         if it doesn't like to be drawed.
9357
9358 2002-01-04  Juergen Vigna  <jug@sad.it>
9359
9360         * BufferView2.C (lockInset): forgot to set a cursor.
9361
9362         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9363
9364 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9365
9366         * FormMathsPanel.C:
9367         * FormMathsPanel.h
9368         * MathsSymbols.C:
9369         * form_maths_panel.C:
9370         * form_maths_panel.h:
9371         * form_maths_panel.fd: implemented sub- and super- buttons in math
9372         panel.
9373
9374         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9375         (or ^ space) to be used as in TeX (req'd by André).
9376
9377         * lyxfunc.C: Allow ^ and _ again to be used both as
9378         super/subscript (mathed) and as themselves (in text).
9379
9380 2002-01-03  Allan Rae  <rae@lyx.org>
9381
9382         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9383         "LyX" or the filename of the current buffer if it has one.  This is a
9384         modified form of John Levon's patch.
9385
9386         * XFormsView.C (setWindowTitle): also set icon title.
9387
9388         * LyXView.h (setWindowTitle): signature changed.
9389         * XFormsView.h (setWindowTitle): ditto.
9390
9391 2002-01-02  Juergen Vigna  <jug@sad.it>
9392
9393         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9394
9395 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9396
9397         * screen.C (topCursorVisible): introduce a temp var for
9398         text->cursor.row(), handle the case where this row is null. (kindo
9399         hachish)
9400
9401         * text2.C (setCursor): add a couple of asserts.
9402
9403         * paragraph.h (inset_iterator): add -> operator
9404
9405         * paragraph.[Ch] (autoDeleteInsets): remove member function
9406
9407         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9408         cursor pos correctly and handle inset deletion by itself.
9409         (insertErrors): move iterator declaration out of for expression
9410
9411         * lyxtextclass.C: add <algorithm>
9412
9413         * Makefile.am: added the new files to sources, removed layout.C
9414
9415         * layout.C: removed file
9416
9417         * layout.h: remove LYX_DUMMY_LAYOUT
9418
9419         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9420         layout.
9421
9422         * lyxlayout.[Ch]:
9423         * lyxtextclass.[Ch]:
9424         * lyxtextclasslist.[Ch]: new files
9425
9426         * include order changes to a lot of files, also changes because of
9427         the six new files.
9428
9429 2001-12-27  Juergen Vigna  <jug@sad.it>
9430
9431         * buffer.C (asciiParagraph): more fixes.
9432
9433         * tabular.C (ascii): make ascii export support export of only the
9434         data separated by a column-delimiter.
9435         (ascii): better support for ascii export.
9436
9437         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9438
9439 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9440
9441         * tabular_funcs.C: use a "using std::getline" instead of the
9442         previous fix from Angus (necessary for cxx + lyxstring)
9443
9444 2001-12-24  Juergen Vigna  <jug@sad.it>
9445
9446         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9447
9448         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9449         problems. First check a minipage also if we have some ert-contents
9450         (not only on par->size(), second set the right depth of the paragraph
9451         on the relink to the root-paragraph-list!
9452
9453         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9454         which then did not anymore update the main paragraphs on undo/redo!
9455
9456 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9457
9458         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9459         code. Support all font-changing funcs (even those which are not in
9460         menu currently). Support for reporting font settings in
9461         mathed (disabled until Andre provides a function on mathed's side).
9462
9463         * func_status.h (toggle): small helper function to set toggle
9464         state on a flag.
9465
9466 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9467
9468         * tabular_funcs.C: getline -> std::getline
9469
9470 2001-12-21  Juergen Vigna  <jug@sad.it>
9471
9472         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9473         accessed and could be 0 (I couldn't generate this but it seems
9474         Michael could!).
9475
9476 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9477
9478         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9479         * tabular_funcs.h: here and include iosfwd
9480
9481 2001-12-20  Juergen Vigna  <jug@sad.it>
9482
9483         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9484         inside inset but undo_par was.
9485
9486 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9487
9488         * Thesaurus.C: always include <config.h> in sources.
9489
9490         * Painter.h:
9491         * lyxlookup.h:
9492         * box.h: do not include <config.h> in header files
9493
9494         * text.C (paintLastRow): remove unused variable
9495
9496         * text.C (transformChar):
9497         (insertChar):
9498         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9499
9500         * Painter.C (text):
9501         * font.C (width): rewrite to use uppercase() instead of
9502         islower/toupper.
9503
9504         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9505
9506 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9507
9508         * lyxfind.C: clean up of find failure position change
9509
9510 2001-12-20  Juergen Vigna  <jug@sad.it>
9511
9512         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9513
9514         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9515         (TeXRow): added to LaTeX a single tabular row.
9516         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9517         (Latex): simplified and finally good LT-h/f support.
9518         (various_functions): just small adaptions for LT-h/f support.
9519
9520         * tabular_funcs.[hC]: added and moved here all not classfunctions
9521         of LyXTabular.
9522
9523 2001-12-19  Juergen Vigna  <jug@sad.it>
9524
9525         * tabular.[Ch]: better support for longtabular options (not finished
9526         yet!)
9527
9528 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9529
9530         * text.C (paintLastRow): use the label font instead of the font of
9531         the last character to compute the size of *_BOX. This makes more
9532         sense and avoids a crash with empty paragraphs.
9533         Use Painter::rectangle to draw EMPTY_BOX.
9534
9535 2001-12-19  Juergen Vigna  <jug@sad.it>
9536
9537         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9538         the paragraphs if the replaced paragraph is not the first one!
9539         Tried to delete not used paragraphs but does not work yet so for
9540         now it's inside #ifdef's and by default off!
9541
9542 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9543
9544         * MenuBackend.C: include "lyx_main.h" instead of declaring
9545         lastfiles (actually was declared as LastFiles* instead of a
9546         scoped_ptr).
9547
9548 2001-12-17  Juergen Vigna  <jug@sad.it>
9549
9550         * tabular.C (AppendColumn): applied John's fix
9551
9552 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9553
9554         * BufferView.h:
9555         * BufferView.C:
9556         * BufferView_pimpl.h:
9557         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9558
9559         * Makefile.am:
9560         * box.h: new start of class for above
9561
9562         * lyxfunc.C: ignore space-only minibuffer dispatches.
9563           Show the command name when it doesn't exist
9564
9565         * minibuffer.C: don't add empty lines to the history
9566
9567         * minibuffer.C: add a space on dropdown completion
9568
9569 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9570
9571         * text.C: fix line above/below drawing in insets
9572
9573 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9574
9575         * lyxlength.C (LyXLength): Initialize private variables.
9576
9577 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9578
9579         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9580         when inserting error insets.
9581
9582 2001-12-13  Juergen Vigna  <jug@sad.it>
9583
9584         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9585         actually sometimes the before-paragraph.
9586         (setUndo): don't clear the redostack if we're not actually undoing!
9587
9588 2001-12-06  Juergen Vigna  <jug@sad.it>
9589
9590         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9591         and fixed redoing of main paragraph, so we can use it now ;)
9592
9593         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9594
9595 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9598         Juergen's request
9599
9600 2001-12-13  André Pönitz <poenitz@gmx.net>
9601
9602         * undostack.[Ch]:
9603         * undo_func.C: minor cleanup
9604
9605 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9608         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9609         font in urw-fonts package which is marked as -urw-fontspecific and
9610         does not work (incidentally, changing the encoding in the
9611         fonts.dir of this package to -adobe-fontspecific fixes the
9612         problem).
9613
9614         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9615         is a crash when undoing first paragraph (Juergen, please take a
9616         look). THis does not mean the undo fix is wrong, just that it
9617         uncovers problems.
9618
9619         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9620         the (Paragraph*) version when needed instead of duplicating the
9621         code.
9622
9623         * text.C (workWidth): use Inset::parOwner to find out where the
9624         inset has been inserted. This is a huge performance gain for large
9625         documents with lots of insets. If Inset::parOwner is not set, fall
9626         back on the brute force method
9627
9628         * paragraph_pimpl.C (insertInset):
9629         * paragraph.C (Paragraph):
9630         (cutIntoMinibuffer): set parOwner of insets when
9631         inserting/removing them
9632
9633         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9634
9635 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9636
9637         * commandtags.h:
9638         * LyXAction.C:
9639         * lyx_main.C:
9640         * lyxfunc.C:
9641         * mathed/formulabase.C:
9642         * mathed/math_cursor.[Ch]:
9643         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9644
9645
9646 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9647
9648         * lyxlength.[Ch] (operator!=): new function
9649
9650 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * text.C (workWidth): use Inset::parOwner to find out where the
9653         inset has been inserted. This is a huge performance gain for large
9654         documents with lots of insets. If Inset::parOwner is not set, fall
9655         back on the brute force method
9656
9657         * paragraph_pimpl.C (insertInset):
9658         * paragraph.C (Paragraph):
9659         (cutIntoMinibuffer): set parOwner of insets when
9660         inserting/removing them
9661
9662         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9663
9664 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9665
9666         * tabular-old.C (getTokenValue):
9667         * tabular.C (getTokenValue):
9668         (write_attribute): new versions for LyXLength
9669         (everywhere): adjust the use of widths
9670
9671         * tabular.h: change the type of widths from string to LyXLength
9672
9673 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9674
9675         * paragraph.C: fixed missing line number count when exporting
9676         Environments to LaTeX file
9677
9678         * buffer.C: added informational message for checking line numbers.
9679
9680 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9683         paragraph, do the 'double space' part, but not the 'empty
9684         paragraph' one.
9685
9686         * text.C (workWidth): small optimization
9687         (getLengthMarkerHeight): use minimal size for negative lengths.
9688
9689 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9690
9691         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9692
9693         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9694
9695 2001-12-11  André Pönitz <poenitz@gmx.net>
9696
9697         * FontLoader.C:
9698         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9699
9700 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * text2.C: keep selection on a setFont()
9703
9704 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * lyx_cb.C: another bv->text misuse, from insert label
9707
9708 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * kbsequence.h:
9711         * kbsequence.C: re-instate nmodifier mask
9712
9713 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9714
9715         * lyx_main.h: make lyxGUI private.
9716
9717 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9718
9719         * lyxfind.C: place the cursor correctly on failed search
9720
9721 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * text.C (getLengthMarkerHeight): for small heights, the arrows
9724         are not always on top/bottom of the text
9725         (drawLengthMarker): smaller arrows; take the left margin in
9726         account; draw also vfills.
9727         (paintFirstRow):
9728         (paintLastRow): remove special code for vfill and standard spaces,
9729         since everything is handled in drawLengthMarker now.
9730
9731 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9732
9733         * buffer.C (insertErtContents): try to handle font and language
9734         interaction a bit better.g
9735
9736         * ColorHandler.C (updateColor): change the hash to cover the whole
9737         LColor enum, ws cleanup
9738         (getGCLinepars): ditto
9739         (getGCLinepars): only lookup in the linecache once.
9740
9741 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9742
9743         * iterators.C (operator++): Make the iterator more robust
9744
9745         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9746         (John's patch)
9747         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9748
9749 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9750
9751         * lyxtext.h:
9752         * text.C: better added space drawing
9753
9754 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * LyXView.C:
9757         * BufferView2.C: fix layout combo update on inset unlock
9758
9759 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * Makefile.am: don't compile unused files
9762
9763 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * lyxfunc.C:
9766         * commandtags.h:
9767         * LyXAction.C: remove old LFUN_LAYOUTNO
9768
9769 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9770
9771         * paragraph_pimpl.h:
9772         * paragraph_pimpl.C: isTextAt() doesn't need font param
9773
9774 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9775
9776         * lyxlex.h:
9777         * lyxlex.C: little cleanup
9778
9779 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9780
9781         * BufferView_pimpl.C: fix insertAscii for insets
9782
9783 2001-12-05  Juergen Vigna  <jug@sad.it>
9784
9785         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9786         set the right font on the "multi" paragraph paste!
9787
9788 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9789
9790         * trans_decl.h:
9791         * trans_mgr.[Ch]:
9792         * trans.[Ch]:
9793         * lyxgluelength.C:
9794         * lyxlength.C: remove out-commented code.
9795
9796         * BufferView_pimpl:
9797         * CutAndPaste.C:
9798         * DepTable.C:
9799         * buffer.C:
9800         * chset.C:
9801         * lastfiles.C:
9802         * lyxlex.C:
9803         * lyxlex_pimpl.C:
9804         * lyxserver.C:
9805         * screen.C:
9806         * tabular-old.C:
9807         * tabular.C:
9808         * text.C:
9809         * trans_mgr.C:
9810         * vc-backend.C: change "while(" to "while ("
9811
9812         * lyxlength.[Ch]: add zero function to check if length is zero or
9813         not
9814         * lyxgluelength.C: use it
9815
9816 2001-12-05  Allan Rae  <rae@lyx.org>
9817
9818         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9819         Works for 2.95.3, from what I understand of Garst's reports this should
9820         work for other g++ versions.  We're screwed if the abs(int) definition
9821         changed between bugfix releases of gcc.
9822
9823 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * text.C: fix chapter label offset !
9826
9827 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9828
9829         * lyxtext.h:
9830         * text.C: fix hfill at end of line, clean up
9831
9832 2001-12-04  Juergen Vigna  <jug@sad.it>
9833
9834         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9835         that we force an update of the inset and it's owners if neccessary.
9836
9837 2001-12-03  Juergen Vigna  <jug@sad.it>
9838
9839         * text.C (rowLast): simplified code
9840
9841 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * lyxfunc.C: fix show options on timeout
9844
9845 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9846
9847         * screen.C (topCursorVisible): scroll half a page when the cursor
9848         reached top of bottom of screen
9849
9850 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9851
9852         * minibuffer.C: deactivate on loss of focus
9853
9854 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9855
9856         * vspace.[Ch] (operator!=): add operator.
9857
9858 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9859
9860         * BufferView_pimpl.C: refuse to open an inset when
9861         there's a selection.
9862
9863 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9864
9865         * BufferView_pimpl.C: allow to click on RHS of full row insets
9866
9867 2001-11-30  Juergen Vigna  <jug@sad.it>
9868
9869         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9870         insets for undo reasons.
9871
9872 2001-11-28  André Pönitz <poenitz@gmx.net>
9873
9874         * vspace.[Ch]: cosmetical changes
9875
9876 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * LyXAction.h:
9879         * LyXAction.C:
9880         * lyxfunc.h:
9881         * lyxfunc.C:
9882         * kbmap.h:
9883         * kbmap.C:
9884         * lyxrc.C:
9885         * kbsequence.h:
9886         * kbsequence.C: part re-write of old kb code
9887
9888         * Painter.C:
9889         * WorkArea.C: remove Lgb_bug_find_hack
9890
9891 2001-11-30  José Matos <jamatos@fep.up.pt>
9892
9893         * buffer.C (makeDocBookFile): add a comment to point a hack.
9894         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9895         Fixed a double write of labels.
9896
9897 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9898
9899         * LaTeX.C:
9900         * LaTeX.h Fixed bug in LaTeX class where it would not
9901         re-run latex if no depfiles were changed, but the .dvi was removed.
9902
9903 2001-11-28  André Pönitz <poenitz@gmx.net>
9904
9905         * all the files from the change on 2001/11/26:
9906         use lyx::layout_type instead of LyXTextClass::size_type
9907         use lyx::textclass_type instead of LyXTextClassList::size_type
9908
9909 2001-11-29  Juergen Vigna  <jug@sad.it>
9910
9911         * text.C: added support for paragraph::isFreeSpacing()
9912
9913         * buffer.C: same as above
9914
9915         * paragraph.h: inserted isFreeSpacing() function to enable
9916         FreeSpacing inside InsetERT.
9917
9918         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9919         of the paragraph's in the cut/copy buffer to 0!
9920
9921         * text2.C (removeRow): remove the assert as it can!
9922
9923         * lyxtext.h: added helper function firstRow returning firstrow and
9924         made firstrow private again.
9925
9926         * BufferView2.C (lockInset): don't relock if we're already locked!
9927
9928         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9929         the only paragraph.
9930         (removeRow): added Assert::(firstrow)
9931
9932         * debug.C: forgot to add INSETTEXT here.
9933
9934 2001-11-28  Juergen Vigna  <jug@sad.it>
9935
9936         * sp_spell.C (initialize): changed error text to more general
9937         spellchecker command use (not only ispell!)
9938
9939         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9940
9941         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9942
9943 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9944
9945         * vspace.C: initialise lyxgluelength on failure
9946
9947 2001-11-28  Allan Rae  <rae@lyx.org>
9948
9949         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9950         declaration & definition that looks like a function declaration.
9951
9952 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9953
9954         * BufferView2.C (copy):
9955         (copyEnvironment): do not clear the selection when doing a copy.
9956
9957         * text.C (paintFirstRow): compilation fix
9958
9959 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9960
9961         * tabular.C (Latex): correct line count when writing latex.
9962
9963 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9964
9965         * paragraph_pimpl.h:
9966         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9967           bug a bit
9968
9969 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9970
9971         * text.C:
9972         * LColor.h:
9973         * LColor.C: change vfillline->added_space
9974
9975         * text.C: add markers and text for added space
9976
9977         * vspace.C: fix comment
9978
9979 2001-11-28  André Pönitz <poenitz@gmx.net>
9980
9981         * paragraph.C: whitespace changes
9982         * all the other files from the change on 2001/11/26:
9983         change *::pos_type into lyx::pos_type
9984
9985 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9986
9987         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9988         language of the document when inserting error insets.
9989
9990 2001-11-26  André Pönitz <poenitz@gmx.net>
9991
9992         * BufferView_pimpl.[Ch]:
9993         *       CutAndPaste.C:
9994         * buffer.[Ch]:
9995         * lyxcursor.[Ch]:
9996         * lyxfind.C:
9997         * lyxfunc.C:
9998         * lyxrow.[Ch]:
9999         * paragraph.[Ch]:
10000         * paragraph_pimpl.[Ch]:
10001         * sp_spell.C:
10002         * text.C:
10003         * text2.C: reduce header dependencies, introduce type for positions
10004
10005 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10006
10007         * <various>: change to use Alert.h
10008
10009 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10010
10011         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10012         when encountering an unknown token.
10013         (readLyXformat2): Show an error message if there were unknown tokens.
10014
10015 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10016
10017         * BufferView2.C:
10018         * BufferView_pimpl.C:
10019         * buffer.C:
10020         * paragraph.h:
10021         * text.C:
10022         * text2.C: use par->isInset()
10023
10024 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10025
10026         * paragraph_pimpl.h:
10027         * paragraph_pimpl.C: cleanup
10028
10029 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10030
10031         * text2.C (removeRow):
10032         * text.C (setHeightOfRow): remove useless (and costly) call to
10033         getRow.
10034
10035 2001-11-20  Allan Rae  <rae@lyx.org>
10036
10037         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10038         Now need Inset*::checkInsertChar() to return true for appropriate
10039         cases so that the characters in the minibuffer will actually be
10040         inserted.
10041
10042 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10043
10044         * text.C: change the order of the includes.
10045         (workWidth): initialize it at once.
10046         (workWidth): make maxw unsigned
10047         (setHeightOfRow): remove unused variable (inset)
10048         (selectSelectedWord): remove unused variable (inset)
10049         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10050
10051 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10052
10053         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10054         server is not running.
10055         (openConnection):
10056         (closeConnection): add debug info when server is disabled.
10057
10058         * ColorHandler.C (getGCForeground): send debug message to GUI
10059         channel.
10060
10061         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10062
10063         * kbmap.C (bind): modify because return conventions of
10064         kb_sequence::parse have changed.
10065
10066         * kbsequence.C (parse): only ignore spaces and not any stupid
10067         control character. This avoids tests like s[i] <= ' ', which are
10068         guaranteed to fail with 8bit characters and signed chars.
10069         Change return code to string::npos when there have been no error
10070         (0 was a bad idea when error is at first character)
10071
10072 2001-11-14  José Matos  <jamatos@fep.up.pt>
10073
10074         * buffer.h:
10075         * buffer.C (simpleDocBookOnePar): removed unused argument.
10076
10077 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10078
10079         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10080         insets which are part of a word. Paragraph::isLetter takes care of
10081         that now. Use Paragraph::isInset to identify insets.
10082         (selectSelectedWord): do not test for hyphenation break.
10083
10084         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10085         that protected spaces are considered as spaces.
10086
10087         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10088         Inset::isLetter.
10089
10090 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * lyxserver.h:
10093         * lyxserver.C: fix it. and small cleanup.
10094
10095 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * BufferView_pimpl.C: use inline helpers
10098
10099         * LaTeXFeatures.h:
10100         * LaTeXFeatures.C: fix typos
10101
10102         * Spacing.h:
10103         * Spacing.C: move spacing_string into class
10104
10105         * ToolbarDefaults.C: move stuff into namespace anon
10106
10107         * layout.h: update enum
10108
10109         * lyxfunc.C: use better debug
10110
10111         * minibuffer.h: fix typo
10112
10113         * debug.h:
10114         * debug.C:
10115         * WorkArea.C: add and use Debug::WORKAREA
10116
10117         * lyxtext.h:
10118         * text.C:
10119         * text2.C: code re-organisation, inline helpers
10120
10121 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10122
10123         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10124         std::vector.empty().
10125
10126 2001-11-09  Allan Rae  <rae@lyx.org>
10127
10128         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10129         '\n's after tables.  Tabular and ERT inset work now makes this no
10130         longer necessary.
10131
10132 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * minibuffer.h:
10135         * minibuffer.C: fix crash, improve drop-down completion
10136
10137 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxserver.h:
10140         * lyxserver.C: invalidate fd's when doing endPipe()
10141
10142 2001-11-08  José Matos  <jamatos@fep.up.pt>
10143
10144         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10145         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10146
10147         * paragraph.h:
10148         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10149
10150 2001-11-07  José Matos  <jamatos@fep.up.pt>
10151
10152         * buffer.h:
10153         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10154         const qualifier.
10155
10156         * buffer.C (sgmlOpenTag):
10157         * buffer.C (sgmlCloseTag): removed debug info.
10158
10159         * buffer.h (sgmlOpenTag):
10160         * buffer.h (sgmlCloseTag): made public.
10161
10162 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10163
10164         * buffer.C (saveParamsAsDefaults):
10165         * lyx_cb.C (MenuLayoutSave): remove
10166
10167         * LyXAction.C (init):
10168         * commandtags.h:
10169         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10170
10171 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10172
10173         * buffer.C (setPaperStuff): removed from here...
10174
10175         * bufferparams.C (setPaperStuff): ... and moved there.
10176
10177 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10178
10179         * minibuffer.h:
10180         * minibuffer.C:
10181         * XFormsView.C: add support for drop-down completion
10182
10183 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10184
10185         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10186         commands.
10187
10188 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10189
10190         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10191         disabled.
10192
10193 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * lyx_main.C: change ref to known bugs
10196
10197 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10198
10199         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10200         to work around older babel problems.
10201
10202 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10203
10204         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10205
10206 2001-10-24  Juergen Vigna  <jug@sad.it>
10207
10208         * tabular-old.C (ReadOld): below variable changes reflected.
10209
10210         * tabular.[Ch]: added ltType struct for longtable header/footer
10211         defines and changed all instances where they are used. Added
10212         future support for double top/bottom rows.
10213
10214 2001-10-24  José Matos  <jamatos@fep.up.pt>
10215
10216         * buffer.h (docbookHandleCaption):
10217         * buffer.C (docbookHandleCaption): removed unused function.
10218         (makeDocBookFile): moved docbook supported version to v4.1.
10219
10220 2001-10-24  José Matos  <jamatos@fep.up.pt>
10221
10222         * tabular.h:
10223         * tabular.C (docbookRow): new function to export docbook code of a row.
10224         (DocBook): now honors the longtable flags.
10225
10226 2001-10-23  José Matos  <jamatos@fep.up.pt>
10227
10228         * LaTeXFeatures.h:
10229         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10230         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10231
10232         * buffer.C (makeLinuxDocFile):
10233         (makeDocBookFile): reworked the preamble, more clean, and with
10234         support for lyx defined entities. Changed the document declaration
10235         to be more XML friendly.
10236
10237         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10238         if we need to output XML that should be done with a filter.
10239
10240 2001-10-22  Juergen Vigna  <jug@sad.it>
10241
10242         * sp_pspell.h (class PSpell): add alive function needed in the
10243         controller to see if the spellchecker could be started.
10244
10245 2001-10-22  Juergen Vigna  <jug@sad.it>
10246
10247         * buffer.C (insertStringAsLines): modify the font for inserting
10248         chars in certain conditions by calling checkInsertChar(font).
10249
10250 2001-10-19  Juergen Vigna  <jug@sad.it>
10251
10252         * text.C (workWidth): use getRow instead of wrong algorithm.
10253         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10254
10255 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * lyxserver.h:
10258         * lyxserver.C:
10259         * lyx_main.h:
10260         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10261
10262 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10263
10264         * text.C (workWidth): do not search for the exact row when
10265         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10266         optimization for big documents.
10267
10268 2001-10-18  Juergen Vigna  <jug@sad.it>
10269
10270         * text.C (workWidth): new function with added Inset * parameter.
10271
10272 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10273
10274         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10275
10276         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10277         change return type of getColumnNearX.
10278
10279
10280         * text.C (changeRegionCase): use uppercase/lowercase instead of
10281         toupper/tolower.
10282         (leftMargin):
10283         (rightMargin): simplify code by factoring out the uses of
10284         textclasslist.
10285         (labelFill):
10286         (numberOfHfills):
10287         (setHeightOfRow):
10288         (appendParagraph): use Paragraph::size_type
10289
10290 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10291
10292         * vspace.C (asLatexString): add a missing break
10293
10294 2001-10-15  Herbert Voss  <voss@perce.de>
10295
10296         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10297
10298 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10299
10300         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10301         is not available.
10302
10303 2001-10-10  André Pönitz <poenitz@gmx.net>
10304
10305         * lyxfunc.C: removed greek_kb_flag.
10306
10307 2001-10-10  Herbert Voss  <voss@perce.de>
10308
10309         * lyx_main.C: delete global string help_lyxdir.
10310
10311 2001-10-09  Herbert Voss  <voss@perce.de>
10312
10313         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10314
10315         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10316
10317         * lyx_main.C: added global string help_lyxdir.
10318
10319         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10320
10321 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10322
10323         * lyxrc.C (set_font_norm_type): support iso8859-4
10324
10325 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10326
10327         * LaTeX.C (deplog): add another regex for MikTeX
10328
10329 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10330
10331         * lyxrc.C (set_font_norm_type): support iso8859-3
10332
10333 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10334
10335         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10336
10337         * LaTeXFeatures.C: remove special case of french and index
10338
10339         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10340         before \begin{document}). This solves several incompatibilities.
10341
10342 2001-10-03  Garst Reese  <reese@isn.net>
10343
10344         * lyx_cb.C: change CheckTex error msg.
10345
10346 2001-10-03  José Matos  <jamatos@fep.up.pt>
10347
10348         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10349
10350 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10351
10352         * .cvsignore: update
10353
10354         * lyx_main.C (commandLineVersionInfo): use new style version info.
10355
10356         * buffer.C (writeFile):
10357         (makeLaTeXFile):
10358         (makeLinuxDocFile):
10359         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10360
10361         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10362
10363         * version.h: update to use stuff in version.C
10364
10365         * version.C.in: new file. Contains version information determined
10366         at compile time. This is a merging of version.h and
10367         version_info.h.in.
10368
10369 2001-10-03  Juergen Vigna  <jug@sad.it>
10370
10371         * BufferView_pimpl.C (update): don't change "dirty" status in
10372         updateInset call.
10373
10374 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10375
10376         * WorkArea.C (c-tor): re-position version string slightly.
10377
10378 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10379
10380         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10381         revert to previous code.
10382
10383         WorkArea.[Ch]: (show, destroySplash): methods removed.
10384
10385         WorkArea.C: rework code so that it's an amalgam of the codes before and
10386         after the splash screen was moved to WorkArea.
10387
10388 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10389
10390         * lyxrc.C (read):
10391         * vspace.C (inPixels):
10392         (lyx_advance):
10393         * kbmap.C (bind):
10394         * buffer.C (insertStringAsLines):
10395         (asciiParagraph): fix types to be large enough
10396
10397         * lyxlex_pimpl.h: change member status from short to int
10398
10399         * layout.h: fix type of endlabeltype
10400
10401         * kbmap.C (bind):
10402         * kbsequence.C (parse): change return type to string::size_type
10403
10404         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10405         variable
10406
10407         * Bullet.C (bulletSize):
10408         (bulletEntry): do not use short ints as parameters
10409
10410         * BufferView2.C (insertLyXFile): change a char to an int.
10411
10412         * WorkArea.C (WorkArea): remove unneeded floats in computation
10413
10414 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10415
10416         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10417
10418         * paragraph.C (asString): Do not ignore newline/hfill chars when
10419         copying to the clipboard.
10420
10421 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10422
10423         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10424         after a multi-line inset.
10425
10426 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10427
10428         * paragraph.C (validate): Set NeedLyXFootnoteCode
10429
10430 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10431
10432         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10433         and decrease-error to decrease.
10434
10435 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10436
10437         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10438         it more readable (should be equivalent)
10439
10440 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10441
10442         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10443
10444 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10445
10446         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10447         of a cursor (row, etc.) after a character has been deleted
10448         (deleteEmptyParagraphMechanism): call the method above on _all_
10449         cursors held by the LyXText when a double space has been
10450         detected/deleted.
10451
10452 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10453
10454         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10455         pixmap.
10456         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10457
10458         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10459         background. Use greyOut() and the new show() methods to toggle between
10460         the foreground and background. Add code to remove the splash after
10461         its initial showing.
10462
10463         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10464         (create_forms): no longer call Dialogs::showSplash.
10465
10466 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10467
10468         * .cvsignore: add version_info.h
10469
10470 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10471
10472         * version_info.h.in: new file
10473
10474         * Makefile.am: add version_info.h.in
10475
10476         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10477         version_info.h instead of VERSION_INFO
10478
10479 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10480
10481         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10482         The ERT inset now returns string().
10483
10484 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10485
10486         * lyxtext.h, text.C (selectNextWord): renamed as
10487         selectNextWordToSpellcheck.
10488
10489         * text.C (selectNextWordToSpellcheck): Modified to not select
10490         words inside an ERT inset.
10491
10492 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10493
10494         * lyx_cb.C (MenuLayoutSave): change a bit the question
10495
10496         * sp_base.h: include <sys/types.h>
10497
10498 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10499
10500         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10501
10502 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10503
10504         * several files: fix typos in user-visible strings
10505
10506 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10507
10508         * text2.C (pasteSelection): do not set the selection, since it
10509         will be cleared later. Actually, the intent was to fix the way the
10510         selection was set, but I figured rmoving the code was just as good.
10511
10512 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10513
10514         * FontLoader.C (available): Check if font is available without
10515         loading the font.
10516
10517 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10518
10519         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10520
10521 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10522
10523         * lyxrc.[Ch]: added display_graphics variable and associated code.
10524
10525 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10526
10527         * bufferparams.C (hasClassDefaults): new method. Returns true if
10528         the buffer parameters correspond to known class defaults
10529
10530 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10531
10532         * XFormsView.C (show): set minimum size to the main window.
10533
10534 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10535
10536         * text2.C (copySelection):
10537         (cutSelection):
10538         * lyxfind.C (LyXReplace):
10539         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10540         LyXText::selectionAsString.
10541
10542         * paragraph.C (asString): add "label" argument to the second form
10543
10544         * text2.C (selectionAsString): add "label" argument and pass it to
10545         Paragraph::asString.
10546
10547 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10548
10549         * lyx_main.C (commandLineHelp): remove version information
10550
10551 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10552
10553         * lyx_main.C: add -version commandline option
10554
10555 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * paragraph.h: make the optional constructor arg required instead.
10558         some modifications to other files because of this.
10559
10560         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10561
10562         * lyxserver.C (C_LyXComm_callback): make it static
10563
10564         * lyx_main.C (error_handler): make it static
10565
10566         * lyx_gui.C (LyX_XErrHandler): make it static
10567
10568         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10569
10570         * WorkArea.C: make the extern "C" methods static.
10571
10572         * Makefile.am (lyx_LDADD): simplify
10573
10574 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10575
10576         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10577         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10578
10579         * LyXAction.C (init):
10580         * lyxfunc.C (dispatch): associated code removal.
10581
10582 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10583
10584         * lyxfont.h (isSymbolFont): shut off warning
10585
10586         * text.C (setHeightOfRow):
10587         (getVisibleRow): fix crash with empty paragraphs which have a
10588         bottom line
10589
10590 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10591
10592         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10593         code.
10594
10595 2001-09-04  José Matos  <jamatos@fep.up.pt>
10596         * buffer.C
10597         * buffer.h
10598         * tabular.C (docbook): rename docBook method to docbook.
10599
10600 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10601
10602         * Makefile.am: add dependencies to main.o.
10603
10604 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10605
10606         * FontLoader.C (available): Return false if !lyxrc.use_gui
10607
10608 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10609
10610         * FontInfo.C (query):
10611         * converter.C (view):
10612         * importer.C (Import):
10613         * exporter.C (Export): Can not -> cannot.
10614
10615 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * BufferView_pimpl.C: allow to create index inset even if
10618           string is empty
10619
10620 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10621
10622         * buffer.C (getLists): replace boost::tie code with an explicit pair
10623         as boost::tie can break some compilers.
10624
10625         * iterators.h: Added a std:: declaration to the return type of
10626         ParIterator::size.
10627
10628 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10631           case.
10632
10633 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10634
10635         * iterators.[Ch]: New files. Provide paragraph iterators.
10636
10637         * buffer.C (changeLanguage): Use paragraph iterators.
10638         (isMultiLingual): ditto
10639
10640         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10641
10642 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10643
10644         * FontLoader.C: Support for cmr font.
10645
10646 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10647
10648         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10649         (available): New method.
10650
10651         * FontInfo.C (getFontname): Use scalable fonts even when
10652         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10653         found.
10654
10655 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10656
10657         * converter.C (Formats::view): reverted! Incorrect fix.
10658
10659 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10660
10661         * converter.C (Formats::view): only output the -paper option
10662         if the dvi viewer is xdvi, thereby fixing bug #233429.
10663
10664 2001-08-23  Herbert Voss  <voss@perce>
10665
10666         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10667
10668 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10669
10670         * Spacing.h (Spacing): Set space to Default on in the default
10671         constructor.
10672
10673 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10674
10675         * vc-backend.h (RCS::versionString): add RCS to version
10676         (CVS::versionString): add CVS to version
10677
10678         * vc-backend.C (scanMaster): do not add CVS to version.
10679         (scanMaster): do not add RCS to version
10680
10681         * lyxvc.C (versionString): new method
10682
10683         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10684
10685 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10686
10687         * Spacing.C (set): initialize fval
10688
10689 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10690
10691         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10692         " or \.
10693
10694 2001-08-16  Juergen Vigna  <jug@sad.it>
10695
10696         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10697
10698 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * BufferView_pimpl.C:
10701         * figureForm.C:
10702         * lyxtext.h:
10703         * text2.C: setParagraph takes linespacing now
10704
10705 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * LyxAction.C: add internal LFUN_CITATION_INSERT
10708
10709         * LyXView.C: actually apply fix
10710
10711         * bufferlist.C: fix open non-existent file
10712
10713         * lyxfind.C: fix indentation
10714
10715         * lyxfunc.C: remove unneeded assert, fix typo
10716
10717 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * MenuBackend.C: use "Floatname List"
10720
10721 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10722
10723         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10724         when converting LaTeX layout to insetERT.
10725         Generate a non-collapsed float when reading old float
10726
10727 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10728
10729         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10730         ERT insets.
10731
10732 2001-08-13  Juergen Vigna  <jug@sad.it>
10733
10734         * text.C (fill): return 0 instead of 20 as this seems to be the more
10735         correct value.
10736
10737 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10738
10739         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10740         lyxrc.font_norm.
10741
10742 2001-08-13  Juergen Vigna  <jug@sad.it>
10743
10744         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10745         casesensitive off.
10746         (SearchBackward): comment out the unlocking of the inset_owner this
10747         should not be needed!
10748
10749 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10750
10751         * Many files: Remove inherit_language, and add latex_language
10752
10753         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10754         collapsible insets.
10755
10756 2001-08-10  Juergen Vigna  <jug@sad.it>
10757
10758         * text.C (prepareToPrint): fixed hfill-width in draw!
10759
10760         * BufferView2.C (selectLastWord): save the selection cursor as this
10761         now is cleared in the function LyXText::clearSelection!
10762
10763 2001-08-08  Juergen Vigna  <jug@sad.it>
10764
10765         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10766         BACKSPACE type functions.
10767
10768         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10769         is only cutted from the document but not put in the cut-buffer, where
10770         still the old stuff should be.
10771
10772         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10773
10774         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10775
10776         * tabular.C (SetWidthOfCell): fixed special case where the width
10777         was not updated!
10778         (LeftLine): handle '|' in align_special.
10779         (RightLine): ditto
10780         (LeftAlreadyDrawed): ditto
10781         (SetWidthOfCell): ditto
10782
10783 2001-08-07  Juergen Vigna  <jug@sad.it>
10784
10785         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10786
10787 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10788
10789         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10790         * lyxlex.[hC]: ditto
10791
10792 2001-08-06  Juergen Vigna  <jug@sad.it>
10793
10794         * text.C (getVisibleRow): fix up row clearing a bit.
10795
10796 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10797
10798         * minibuffer.C: make sure the X server sees the changes in the input.
10799
10800 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10801
10802         * paragraph.C (getFont): split into...
10803         (getLabelFont): this
10804         (getLayoutFont): and this
10805         * paragraph_pimpl.C (realizeFont): calling this
10806
10807         * text2.C (getFont): split into...
10808         (getLayoutFont): this
10809         (getLabelFont): and this
10810         (realizeFont): all three calling this
10811
10812         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10813         files where used.
10814
10815 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10816
10817         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10818
10819 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10820
10821         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10822         layouts from the Quote inset insertion.
10823
10824 2001-08-03  Juergen Vigna  <jug@sad.it>
10825
10826         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10827
10828         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10829         only if status not is already CHANGED_IN_DRAW (second level).
10830
10831         * text.C (draw): don't set the need_break_row when inside an
10832         InsetText LyXText.
10833
10834 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10835
10836         * buffer.C (parseSingleLyXformat2Token): handle more latex
10837         conversion cases.
10838
10839         * bufferview_funcs.[hC]: change function names to
10840         begin with small char, adjust other files.
10841
10842 2001-08-02  André Pönitz <poenitz@gmx.net>
10843
10844         * lyxfunc.C:
10845         BufferView_pimpl.C: remove broken special code for math-greek
10846
10847 2001-08-02  Juergen Vigna  <jug@sad.it>
10848
10849         * BufferView_pimpl.C (update): redone this function so that we
10850         update the text again if there was a CHANGE_IN_DRAW.
10851
10852         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10853         (drawFromTo): added a new internal bool which is used by draw() and
10854         redraw() function.
10855         (general): some cursor drawing problems fixed.
10856
10857 2001-08-01  Juergen Vigna  <jug@sad.it>
10858
10859         * lyxfind.C (LyXFind): fixed
10860         (SearchForward): ditto
10861         (SearchBackward): ditto
10862
10863         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10864         spurius drawing of the cursor in the main area.
10865
10866         * text2.C (status): small fix which could lead to a segfault!
10867         (clearSelection): remove unneeded BufferView param.
10868
10869 2001-08-01  André Pönitz <poenitz@gmx.net>
10870
10871         * lyxfunc.C: small change due to changed mathed interface
10872
10873 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10874
10875         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10876
10877 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * lyxfunc.c: fail gracefully if file doesn't exist
10880
10881         * LyXSendto.C:
10882         * buffer.C:
10883         * lyxfunc.C:
10884         * BufferView_pimpl.C: IsDirWriteable() proto changed
10885
10886         * LyXView.C: fix updateWindowTitle() to store the last title
10887
10888 2001-07-31  Juergen Vigna  <jug@sad.it>
10889
10890         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10891         the font (wrong since using of Paragraph::highestFontInRange).
10892
10893         * paragraph.C (highestFontInRange): added a default_size parameter.
10894
10895         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10896         (setHeightOfRow): reformat
10897
10898 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10899
10900         * converter.[hC] + affected files: move to (inital-char)lowercase
10901         function names.
10902
10903         * ParagraphParameters.C (ParagraphParameters): remove commented code
10904
10905         * PainterBase.[Ch]: remove commented code
10906
10907         * LaTeXFeatures.h: add "bool floats" for float.sty
10908
10909         * LaTeXFeatures.C (LaTeXFeatures): init floats
10910         (require): handle float
10911         (getPackages): do it with floats
10912
10913 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10914
10915         * BufferView_pimpl.C (Dispatch): improve handling of
10916         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10917
10918         * commandtags.h: #include lyxfont.h here temporarily to avoid
10919         keybinding bug.
10920
10921         * bufferlist.h: include LString.h here.
10922
10923 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10924
10925         * text2.C (getStringToIndex): new method.
10926
10927 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10928
10929         * *: Reduced header file dependencies all over.
10930
10931 2001-07-30  Baruch Even  <baruch@lyx.org>
10932
10933         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10934
10935 2001-07-29  Baruch Even  <baruch@lyx.org>
10936
10937         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10938
10939 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10940
10941         * ParameterStruct.h (endif): add a default constructor to make
10942         sure that all variables is initialized.
10943
10944         * ParagraphParameters.C (ParagraphParameters): adjust
10945
10946 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10947
10948         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10949         index; also, check that there is something to index, and that it
10950         does not span over several paragraphs.
10951         (doubleClick): use WHOLE_WORD_STRICT for double click.
10952
10953         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10954
10955         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10956         scheme.
10957
10958 2001-07-26  Baruch Even  <baruch@lyx.org>
10959
10960         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10961         an InsetFig figure, backwards compatible reading of old figure code.
10962
10963 2001-07-27  Juergen Vigna  <jug@sad.it>
10964
10965         * text2.C: font.realize function adaption.
10966
10967         * text.C (draw): add a warnings lyxerr text if needed.
10968
10969         * layout.C: font.realize function adaption.
10970
10971         * language.C: add inherit_language and implement it's handlings
10972
10973         * bufferview_funcs.C (StyleReset): remove language parameter from
10974         font creation (should be language_inherit now).
10975
10976         * bufferparams.C (writeFile): handle ignore_language.
10977
10978         * paragraph.C (getFontSettings): the language has to be resolved
10979         otherwise we have problems in LyXFont!
10980
10981         * lyxfont.C (lyxWriteChanges): added document_language parameter
10982         (update): removed unneeded language parameter
10983
10984         * paragraph.C (validate): fixed wrong output of color-package when
10985         using interface colors for certain fonts in certain environments,
10986         which should not seen as that on the final output.
10987
10988 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10989
10990         * BufferView_pimpl.C:
10991         * Thesaurus.h:
10992         * Thesaurus.C:
10993         * Makefile.am:
10994         * commandtags.h:
10995         * LyXAction.C: add thesaurus support
10996
10997         * lyxfind.h:
10998         * lyxfind.C: add "once" parameter, for thesaurus, to not
10999           move to the next match
11000
11001 2001-07-26  Juergen Vigna  <jug@sad.it>
11002
11003         * lyxfont.C (realize): honor ignore_language too!
11004         (resolved): ditto.
11005
11006         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11007
11008         * text.C (draw): one place more for ignore_language to not draw
11009         itself!
11010
11011 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11012
11013         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11014
11015 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11016
11017         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11018         the minipage conversion problem.
11019
11020 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11021
11022         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11023         insert an inset.
11024
11025 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11026
11027         * BufferView.h: don't forward declare WorkArea
11028
11029         * BufferView.C: don't include WorkArea.h
11030
11031 2001-07-25  André Pönitz <poenitz@gmx.net>
11032
11033         * commandtags.h:
11034         * LyXAction.C:
11035         * lyxfunc.C:  new LFUN 'math-space'
11036
11037         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11038
11039 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11040
11041         * text2.C (toggleInset): call open/close
11042
11043 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11044
11045         * lyxfunc.C (dispatch): add debug for the disabled case
11046
11047         * font.C (buttonText): make similar to rectText
11048
11049         * buffer.C (readInset): comment out parsing of insetlist and
11050         insttheorem
11051
11052         * PainterBase.C (rectText): small correction
11053
11054         * BufferView_pimpl.C: comment out insettheorem and insetlist
11055         * LyXAction.C: ditto
11056         * commandtags.h: ditto
11057
11058 2001-07-24  Juergen Vigna  <jug@sad.it>
11059
11060         * text.C (draw): honor the ignore_language.
11061
11062         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11063
11064 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11065
11066         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11067         char inset.
11068
11069 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11070
11071         * lyxtext.h: remove unused (and unimplemented) methods
11072
11073 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11074
11075         * text.C (getVisibleRow): honor background color
11076
11077         * PainterBase.h:
11078         * Painter.h: remove default color argument for fillRectangle
11079
11080         * text.C (backgroundColor): new method
11081
11082 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11083
11084         * text.C (getVisibleRow): adjust
11085
11086         * font.[Ch] (rectText): new method, metrics
11087         (buttonText): new method, metrics
11088
11089         * PainterBase.[hC]: make rectText and buttonText always draw and take
11090         fewer paramteres.
11091
11092 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11093
11094         * ToolbarDefaults.C (read):
11095         * MenuBackend.C (read): allow escaping in all strings
11096
11097         * BufferView_pimpl.C (insertAndEditInset): new method.
11098         (Dispatch): use insertAndEditInset whenever appropriate.
11099
11100         * BufferView_pimpl.C (insertNote): removed
11101
11102         * BufferView_pimpl.C (smartQuote): new method, moved from
11103         BufferView; if an insetquote cannot be inserted, insert a '"'
11104         character instead.
11105
11106         * BufferView2.C: remove insertCorrectQuote();
11107
11108         * lyxfunc.C (getStatus): Add support for all remaingin
11109         inset-insert lfuns.
11110
11111         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11112
11113         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11114         command (necessary to pass " as parameter of self-insert.
11115
11116         * text.C (selectWordWhenUnderCursor):
11117         (selectWord): add word_location parameter
11118         (selectWordWhenUnderCursor): same + remove special code for word
11119         boundary.
11120         (selectNextWord): use kind() to guess type of insetspecialchar,
11121         not latex().
11122
11123         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11124         (insertErtContents): create ert insets as collapsed.
11125         (readInset): better compatibility code for Info inset.
11126
11127 2001-07-20  Juergen Vigna  <jug@sad.it>
11128
11129         * lyxfunc.C (dispatch): use always LyXFind now!
11130
11131         * text2.C (init): add a reinit flag so that the LyXText can be
11132         reinited instead of deleted and reallocated (used in InsetText).
11133
11134         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11135
11136         * text.C: ditto
11137
11138         * text2.C: ditto
11139
11140 2001-07-18  Juergen Vigna  <jug@sad.it>
11141
11142         * text.C (selectNextWord): handle insets inside inset by calling
11143         always the bv->text functions so that we can go up the_locking_inset!
11144
11145         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11146         in strange locations when inside an inset!
11147
11148         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11149         handling to include insets.
11150
11151         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11152
11153 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11154
11155         * LyXAction.C (init):
11156         * commandtags.h:
11157         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11158         LIGATURE_BREAK, since the name is so stupid.
11159
11160 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11161
11162         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11163         InsetInfos.
11164
11165         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11166
11167         * sp_form.[Ch]: remove.
11168
11169         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11170
11171         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11172         InsetInfo.
11173
11174         * src/buffer.C (readInset): ditto.
11175
11176 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11177
11178         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11179         menuSeparator(), endOfSentenceDot(), ldots() and
11180         hyphenationPoint(), which are therefore removed.
11181         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11182
11183         * LyXAction.C (init):
11184         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11185
11186         * paragraph.C (getWord): removed.
11187
11188         * BufferView_pimpl.C (Dispatch): use last word or selection for
11189         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11190
11191         * lyx_main.C (queryUserLyXDir): do not ask before creating
11192         user_dir, except if it has been named explicitely.
11193
11194 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11195
11196         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11197         a document of zero size.
11198
11199 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11200
11201         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11202         approriately in the c-tor and in require().
11203         (getPackages): output the appropriate LaTeX for natbib support.
11204
11205         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11206         variables "use_natbib" and "use_numerical_citations" when reading the
11207         LyX file.
11208         (readInset): read the various natbib cite commands.
11209         (validate): white-space change.
11210
11211         * bufferparams.[Ch]: new variables "bool use_natbib" and
11212         "bool use_numerical_citations".
11213         (writeFile): output them in the LyX file.
11214
11215 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11216
11217         * lyxfunc.C (getStatus): add support for all the inset insertion
11218         commands.
11219
11220         * text2.C (insertInset):
11221         * paragraph.C (insetAllowed):
11222         * BufferView_pimpl.C (insertInset): update to take in account the
11223         renaming of insertInsetAllowed
11224
11225         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11226
11227         * text2.C (getInset): new method. returns inset at cursor position.
11228
11229         * BufferView_pimpl.C (Dispatch): changes because of this.
11230
11231         * LyXAction.C (init): rename open-stuff to inset-toggle.
11232
11233         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11234
11235         * text2.C (toggleInset): renamed from openStuff; use
11236         Inset::open().
11237
11238 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11239
11240         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11241
11242         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11243
11244 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11245
11246         * buffer.C (readLyXformat2): Add filename to the error dialog
11247
11248 2001-07-18  Juergen Vigna  <jug@sad.it>
11249
11250         * tabular.C (GetCellNumber): put an assert here instead of the check!
11251
11252 2001-07-17  Juergen Vigna  <jug@sad.it>
11253
11254         * BufferView_pimpl.C (toggleSelection): adapted too.
11255
11256         * text.C (selectNextWord): adapted for use with insets.
11257         (selectSelectedWord): ditto
11258
11259 2001-07-17  Juergen Vigna  <jug@sad.it>
11260
11261         * sp_spell.C (PSpell): fix initialitation order.
11262
11263 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11264
11265         * paragraph.C: spacing
11266
11267 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11268
11269         * sp_spell.C: repair language selection for pspell
11270
11271 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11272
11273         * lyxfunc.h: change more methods to begin with lower char.
11274
11275 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11276
11277         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11278         for unknown layouts.
11279
11280 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11281
11282         * buffer.C (readLyXformat2): Generate an error dialog if there are
11283         unknown layouts.
11284
11285 2001-07-16  Juergen Vigna  <jug@sad.it>
11286
11287         * sp_spell.C: always compile ISpell part.
11288
11289         * lyxrc.C: added use_pspell entry and it's handling.
11290
11291 2001-07-13  Juergen Vigna  <jug@sad.it>
11292
11293         * sp_spell.C: removed double includes.
11294
11295 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11296
11297         Consistent use of Lsstream.h:
11298         * Lsstream.h: added using std::stringstream for consistencies sake.
11299
11300         * buffer.C: removed using std::stringstream
11301
11302         * lyxfont.C (stateText):
11303         * paragraph.C (asString):
11304         * text.C (selectNextWord, selectSelectedWord):
11305         * text2.C (setCounter):
11306         * vspace.C (asString, asLatexString):
11307         std::ostringstream -> ostringstream.
11308
11309 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11310
11311         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11312         * commandtags.h: add LFUN_HELP_ABOUTLYX
11313         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11314
11315 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11316
11317         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11318         cursorToggle()
11319         * lyx_gui_misc.C: remove spellchecker
11320         * lyxfunc.C: showSpellchecker
11321         * sp_base.h: added
11322         * sp_ispell.h: added
11323         * sp_pspell.h: added
11324         * sp_spell.C: added
11325         * sp_form.[Ch]: removed
11326         * spellchecker.[Ch]: removed
11327
11328 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11329
11330         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11331         is set.
11332         (simpleTeXSpecialChars): Simply print the input character without
11333         any special translation if pass_thru is set.
11334
11335         * layout.h: Added bool pass_thru to layout class for being able to
11336         implement pass through of a paragraph for Literate Programming.
11337
11338         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11339         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11340         * layout.C (Read): add "passthru" to list of layout tags and add
11341         code to set the pass_thru boolean when it is read.
11342
11343 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * trans_decl.h: remove allowed from KmodInfo
11346
11347         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11348         remove allowed code
11349         (Load): adjust
11350
11351         * paragraph_pimpl.C (erase): use boost::prior
11352
11353         * Painter.C (text): use data() instead of c_str() when length is
11354         also provided.
11355         * WorkArea.C (putClipboard): ditto
11356         * font.h (width): ditto
11357
11358         * BufferView2.C: use it-> instead of (*it). for iterators
11359         * texrow.C: ditto
11360         * paragraph_pimpl.C: ditto
11361         * paragraph.C: ditto
11362         * minibuffer.C: ditto
11363         * language.C: ditto
11364         * kbmap.C: ditto
11365         * encoding.C: ditto
11366         * counters.C: ditto
11367         * converter.C: ditto
11368         * chset.C: ditto
11369         * Variables.C: ditto
11370         * TextCache.C: ditto
11371         * MenuBackend.C: ditto
11372         * LyXAction.C: ditto
11373         * LColor.C: ditto
11374         * FloatList.C: ditto
11375         * DepTable.C: ditto
11376         * ColorHandler.C (LyXColorHandler): ditto
11377
11378 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11379
11380         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11381
11382         * text2.C (openStuff): reintroduce this method (which had been
11383         nuked in NEW_INSETS frenzy).
11384
11385         * lyxfunc.C (Dispatch): when an action has not been handled, use
11386         its name in the error message, not its number.
11387
11388         * paragraph.C (inInset): change method name to begin with lowercase.
11389
11390         * undo_funcs.C:
11391         * text2.C: updates because of this.
11392
11393 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11394
11395         * ToolbarDefaults.C (add): add spaces in error message
11396
11397 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11398
11399         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11400         (readLyXformat2): rename return_par to first_par, use lyxlex's
11401         pushToken and remove the manual push handling.
11402         (parseSingleLyXformat2Token): add another ert comp. variable:
11403         in_tabular, rename return_par to first_par. handle newlines better
11404
11405 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11406
11407         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11408
11409 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11410
11411         * text2.C (getParFromID): removed
11412
11413         * buffer.C (getParFromID): new method moved form lyxtext.
11414         * BufferView2.C (insertErrors): adjust
11415         (setCursorFromRow): adjust
11416         * BufferView_pimpl.C (restorePosition): adjust
11417         * lyxfunc.C (Dispatch): adjust
11418         * undo_funcs.C (textUndo): adjust
11419         (textRedo): adjust
11420         (textHandleUndo): adjust
11421         (textHandleUndo): adjust
11422
11423 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * buffer.C: up' the LYX_FORMAT
11426
11427         * lyxfont.h: turn NO_LATEX on as default
11428
11429         * buffer.C (insertErtContents): new methods of tex style compability.
11430         (parseSingleLyXformat2Token): use it several places.
11431         * tabular.C (OldFormatRead): and here
11432
11433 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11434
11435         * text2.C: remove some commented code.
11436         reindent file.
11437
11438         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11439         * trans.C: changes because of the above.
11440
11441 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11442
11443         * text2.C (setCounter): Fix counters bug with bibliography layout.
11444
11445 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11448         own member functions
11449         (simpleTeXSpecialChars): ditto
11450
11451 2001-07-06  Juergen Vigna  <jug@sad.it>
11452
11453         * a lot of files: changed the access to LyXText::status and the
11454         call of undo-functions.
11455
11456         * undo.[Ch]: added a inset_id to the undo informations.
11457
11458         * undo_funcs.[Ch]: added and moved here all undo functions.
11459
11460         * lyxtext.h: give the status enum a weight, made status_ a private
11461         variable and made accessor functions for it, removed the whole bunch
11462         of undo-functions as they are now in their own file, make some
11463         functions publically available. Added function ownerParagraph with
11464         int parameter.
11465
11466         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11467         made InInset() a const function, added getParFromID() function.
11468
11469         * buffer.[Ch]: added const version for inset_iterator functions,
11470         added getInsetFromID() function.
11471
11472         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11473         changed undo functions for new version.
11474
11475 2001-07-05  Juergen Vigna  <jug@sad.it>
11476
11477         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11478         unknow mechanism does not call the proper constructor but only this
11479         one also if I request the other!?
11480
11481 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11484
11485         * text2.C (LyXText): use initialization lists.
11486
11487         * lyxtext.h (Selection): initialize set_ and mark_
11488         (init): remove method
11489
11490 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11491
11492         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11493
11494 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * screen.[Ch]: change method names to begin with lowercase
11497
11498         * BufferView_pimpl.C (updateScrollbar): simplify further and
11499         hopefully make it a bit faster.
11500
11501 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11502
11503         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11504         calling directly xforms functions.
11505
11506         * Painter.C (Painter):
11507         * lyx_cb.C (MenuWrite):
11508         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11509         fl_display.
11510
11511         * lyx_gui.C: remove bogus guiruntime extern declaration.
11512
11513 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11516         in NEW_INSETS
11517         (redoDrawingOfParagraph): ditto
11518         (redoParagraphs): ditto
11519         (cutSelection): don't create a object for CutAndPaste use the
11520         static method directly
11521         (pasteSelection): ditto
11522
11523         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11524         LyXview (+ rename)
11525
11526 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11527
11528         * modifications to some other files because of this.
11529
11530         * Makefile.am (lyx_SOURCES): add XFormsView
11531
11532         * XFormsView.[Ch]: new files
11533
11534         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11535         the main window. Move the gui dependent stuff to XFormsView
11536
11537 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11538
11539         * tabular.C (GetCellInset): update cur_cell also in the row/col
11540         version of this function.
11541
11542         * lyxfunc.C: no need to include figure_form.h here.
11543
11544         * FontLoader.h:
11545         * lyxfunc.h:
11546         * lyxscreen.h:
11547         * text2.C:
11548         * lyxvc.C: no need to include forms.h here.
11549
11550 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11551
11552         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11553
11554         * lyxfunc.C (Dispatch):
11555         * Spacing.C (set):
11556         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11557         constructor argument.
11558
11559 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11560
11561         * paragraph.C (Paragraph): dont't clear, and just set layout.
11562         (makeSameLayout): use params's copy contructor.
11563
11564         * ParagraphParameters.[Ch] (makeSame): delete method
11565
11566 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * Variables.[Ch]: fix indentation, rename set to isSet
11569
11570 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11571
11572         * lyxfunc.C (Dispatch): fix typo
11573
11574 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11575
11576         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11577         upper_bound.
11578
11579         * bufferlist.C: include assert.h for emergencyWrite().
11580
11581 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11582
11583         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11584           give up at last (bug #425202) !
11585
11586 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * lyx_gui_misc.C:
11589         * sp_form.h:
11590         * sp_form.C:
11591         * spellchecker.h:
11592         * spellchecker.C: strip spellchecker options and bring up
11593           preferences tab instead
11594
11595 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11596
11597         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11598         the istringstream constructor
11599
11600 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11601
11602         * paragraph.C (getLayout): fix return value
11603
11604         * paragraph.h: do not declare getLayout as inline.
11605
11606         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11607
11608 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11609
11610         * lyxcursor.h (operator<): new func
11611         (operator>): new func
11612         (operator>=): new func
11613         (operator<=): new func
11614
11615         * text.C (changeCase): use selection.start and selection.end
11616         (changeRegionCase): require from to be <= to. Require par to be a
11617         valid paragraph.
11618
11619         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11620
11621 2001-06-27  Juergen Vigna  <jug@sad.it>
11622
11623         * text.C (cursorLeftOneWord): changed to return the cursor and added
11624         overlay with BufferView * parameter which calls this one.
11625         (getWord): added
11626         (selectWord): use new getWord function.
11627         (changeCase): renamed from changeWordCase as and extended to work
11628         also on selections.
11629
11630         * lyxtext.h: added enum word_location
11631
11632         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11633         changeCase as this operates now also on selections.
11634
11635 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11636
11637         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11638
11639         * many files: send debug output to Debug::INFO instead of
11640         Debug::ANY.
11641
11642         * converter.C (View):
11643         (Convert):
11644         (Move): send debug output to Debug::FILES instead of console.
11645
11646 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11647
11648         * lyxfunc.C (getStatus): use func_status
11649
11650         * func_status.h: new header, describing the results of
11651         LyXFunc::getStatus;
11652
11653         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11654         LFUN_MATH_HALIGN.
11655
11656 2001-06-25  The LyX Project  <jug@sad.it>
11657
11658         * buffer.C (sgmlOpenTag):
11659         (sgmlCloseTag):
11660         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11661
11662 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * text2.C: remove some dead code
11665
11666         * tabular.C (GetCellInset): store the last cell checked (gotten)
11667
11668         * tabular.h: add the helper for the speedup
11669
11670         * lyxtext.h: remove some dead code
11671
11672 2001-06-26  The LyX Project  <Asger>
11673
11674         * paragraph.C: Change export to LaTeX of alignment to
11675         \begin{center} and family for better roundtrip work with reLyX.
11676
11677         * Tune the math drawing a bit.
11678
11679 2001-06-25  The LyX Project  <Asger>
11680
11681         * LColor.C (LColor): New color for math background. New color
11682         for buttons.
11683
11684 2001-06-25  The LyX Project  <jug@sad.it>
11685
11686         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11687
11688         * lyxfunc.C (Open):
11689         * bufferlist.C (newFile): do not restrict to files ending with
11690         .lyx
11691
11692         * BufferView_pimpl.C (MenuInsertLyXFile):
11693
11694 2001-06-24  The LyX Project  <jug@sad.it>
11695
11696         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11697         of compare_no_case
11698
11699 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * lyxtext.h: rename most methods to begin with a small char.
11702         Lots of changes because of this.
11703
11704         * paragraph.C (Paragraph): do not call fitToSize
11705         (erase): call Pimpl::erase
11706         (insertChar): call Pimpl::insertChar
11707         (insertInset): call Pipl::insertInset
11708         (breakParagraph): do not call fitToSize
11709         (breakParagraphConservative): do not call fitToSize
11710         (fitToSize): remove method
11711
11712         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11713
11714 2001-06-24  The LyX Project  <Asger>
11715
11716         * Fix Qt compilation^2
11717
11718 2001-06-24  The LyX Project  <jug@sad.it>
11719
11720         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11721         depthHook(getDepth()-1).
11722
11723         * paragraph.h:
11724         * ParagraphParameters.h:
11725         * ParameterStruct.h: change type of depth to unsigned int ==
11726         depth_type. Many adaptations to other files before of that.
11727
11728 2001-06-24  The LyX Project  <Asger>
11729
11730         * Fix Qt compilation.
11731
11732 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11733
11734         * paragraph.h: renamed several methods to begin with small letter.
11735         several changes to many parts of the code because of this.
11736
11737 2001-06-23  The LyX Project  <jug@sad.it>
11738
11739         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11740         rewritten to discard all double spaces when KeepEmpty is off
11741         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11742         to only handle newlines but not fiddle with spaces and friends.
11743
11744         * lyxfunc.C (MenuNew): when doing 'new from template', use
11745         template_path as default directory
11746
11747 2001-06-23  The LyX Project  <Asger>
11748
11749         * Clean-up of header file includes all over
11750         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11751
11752 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * paragraph.h: renamed from lyxparagraph.h
11755
11756 2001-06-23  Asger  <lyx@violet.home.sad.it>
11757
11758         * Buffer.h: Removed Buffer::resize
11759         * BufferList.h: Removed BufferList::resize
11760         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11761         the document lazily when we change the width, or the font settings.
11762
11763 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11766
11767 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * buffer.h: remove out of date comment
11770
11771 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * lyxscreen.h:
11774         * screen.C: fix "theoretical" GC leak
11775
11776 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11777
11778         * LaTeX.C (scanAuxFile):
11779         (deplog): remove trailing \r when reading stream (useful under
11780         win32)
11781
11782 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11783
11784         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11785         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11786         and BufferView::theLockingInset(Inset*), so should use them and not
11787         access bv_->text->the_locking_inset directly.
11788
11789         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11790
11791 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11792
11793         * Makefile.am:
11794         * tex-defs.h: remove old unused file
11795
11796 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * BufferView_pimpl.C: fix typo, remove minibuffer message
11799           when buffer has loaded
11800
11801 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11802
11803         * lyxfunc.C (Dispatch): use stringstream
11804         (MenuNew): use stringstream
11805         (Open): use stringstream
11806
11807         * importer.C (Import): use stringstream
11808
11809         * bufferview_funcs.C (CurrentState): use stringstream
11810
11811         * LaTeX.C (run): use stringstream
11812
11813         * BufferView_pimpl.C (savePosition): use stringstream
11814         (restorePosition): use stringstream
11815         (MenuInsertLyXFile): use stringstream
11816
11817 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11818
11819         * BufferView.C:
11820         * Bullet.C:
11821         * ColorHandler.C:
11822         * FontInfo.C:
11823         * FontLoader.C:
11824         * LColor.C:
11825         * LaTeXFeatures.C:
11826         * Painter.C:
11827         * gettext.C:
11828         * lyx_gui_misc.C:
11829         * lyxserver.C:
11830         * vspace.C: removed // -*- C++ -*- as first line.
11831
11832         * lyxfind.h:
11833         * version.h: added // -*- C++ -*- as first line.
11834
11835 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11836
11837         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11838
11839         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11840         of string
11841
11842 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11845         of floats.
11846
11847 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11848
11849         * gettext.C: include LString.h even when --disable-nls is on.
11850
11851 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11852
11853         * converter.h (Get): changed argument type from int to
11854         FormatList::size_type to avoid unnecessary conversion.
11855
11856         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11857         before using it.
11858
11859 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11860
11861         * gettext.h: include LString.h even when --disable-nls is on.
11862
11863 2001-06-07  Juergen Vigna  <jug@sad.it>
11864
11865         * text.C (BreakAgain): subst spaces with tabs.
11866
11867         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11868         (resizeInsetsLyXText): set force on resizeLyXText.
11869
11870 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11871
11872         * gettext.h (gettext_init):
11873         (locale_init): use a real definition instead of a macro
11874
11875 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * Bufferview_pimpl.C:
11878         * LColor.h:
11879         * LColor.C: further lcolor tidies
11880
11881 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11882
11883         * BufferView_pimpl.C (updateScrollbar): simplify.
11884
11885         * BufferView2.C: don't include insets/insetinfo.h, change
11886         prototype for insertInset and call the Pimpl version. let
11887         updateInset call Pimpl version.
11888
11889         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11890         gotoInset to BufferView::Pimpl
11891
11892 2001-06-01  Juergen Vigna  <jug@sad.it>
11893
11894         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11895         inside a LockingInset (is the update needed at all?).
11896
11897 2001-05-31  Juergen Vigna  <jug@sad.it>
11898
11899         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11900         here not the old one otherwise how should we compare it afterwards
11901         if it's the same!
11902
11903 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11904
11905         * lyxfont.C:
11906         * tabular.C:
11907         * tabular-old.C:
11908         * FontInfo.C: bring C functions into global namespace when
11909         necessary
11910
11911 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * LString.h: make sure config.h has been loaded before LString.h.
11914
11915         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11916         (one for each char read by EatLine!).
11917
11918         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11919         variables.
11920
11921 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11924         to the same as the par we break from
11925
11926 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11929
11930         * MenuBackend.C (expand): also create menu entries for wide
11931         versions of the floats.
11932
11933         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11934
11935         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11936
11937         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11938         frontends/Makefile.am
11939
11940         * text2.C: adjust
11941         * text.C: adjust
11942
11943
11944         * tabular.C (getTokenValue): add std::
11945
11946         * tabular-old.C (getTokenValue): add std::
11947         (getTokenValue): ditto
11948         (getTokenValue): ditto
11949
11950         * screen.C (ToggleSelection): adjust
11951
11952         * lyxtext.h: put selection cursors inside a Selection struct.
11953
11954         * lyxfunc.C (moveCursorUpdate): adjust
11955
11956         * lyxfont.C (latexWriteStartChanges): add std::
11957
11958         * lyxfind.C: adjust
11959
11960         * font.h: delete with(char const *, LyXFont const &)
11961
11962         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11963
11964         * FontInfo.C (getFontname): add std::
11965
11966         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11967         (workAreaButtonPress): adjust
11968         (tripleClick): adjust
11969         (update): adjust
11970         (moveCursorUpdate): adjust
11971         (Dispatch): adjust
11972
11973         * BufferView2.C (gotoInset): adjust
11974
11975 2001-05-30  Juergen Vigna  <jug@sad.it>
11976
11977         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11978         to check pspell I add this as default as I now have new pspell
11979         libraries and they seem to use this.
11980
11981 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * text2.C (CutSelection): make the cursor valid before the call to
11984         ClearSelection.
11985
11986 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11987
11988         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11989         relied on 0 terminated strings and other horrors. Bug found due to
11990         the new assert in lyxstring!
11991
11992         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11993         KP_ keys.
11994
11995 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11998         to latinkeys.bind.
11999
12000         * lyxfunc.C (processKeySym): change method of getting to the
12001         self-insert char.
12002
12003         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12004         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12005         * BufferView_pimpl.[Ch]: here as private methods.
12006
12007 2001-05-28  Juergen Vigna  <jug@sad.it>
12008
12009         * text.C (SetHeightOfRow): added the update() call again as it is
12010         needed to initialize inset dimensions!
12011
12012 2001-05-16  Juergen Vigna  <jug@sad.it>
12013
12014         * text2.C (SetCharFont): Add new function with BufferView * and
12015         bool toggleall parameters for setting insets internal fonts.
12016         (SetFont): Freeze the undo as we may change fonts in Insets and
12017         all this change should be inside only one Undo!
12018
12019         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12020         setting font's in insets as for them we have the SetFont function!
12021
12022 2001-05-15  Juergen Vigna  <jug@sad.it>
12023
12024         * text2.C (ClearSelection): to be sure we REALLY don't have any
12025         selection anymore!
12026
12027         * tabular.C (TeXCellPreamble): fixed the left border problem for
12028         multicolumn cells.
12029
12030 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12031
12032         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12033         dependancy file
12034
12035 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12038         LFUN_BREAKPARAGRAPH.
12039
12040         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12041         help test to "internal only", similar for LFUN_INSERT_URL
12042
12043         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12044         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12045         auto_region_delete and deadkeys.
12046
12047 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * LColor.h:
12050         * LColor.C: remove some dead entries, tidy a little
12051
12052 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12055         commented code.
12056         (Dispatch): implement LFUN_ESCAPE
12057
12058         * commandtags.h: add LFUN_ESCAPE
12059
12060         * LyXAction.C (init): add entry for LFUN_ESCAPE
12061
12062         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12063         Remove commented code.
12064         (insertNote): moved here
12065         (open_new_inset): moved here
12066
12067         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12068         BufferView_pimpl
12069
12070 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12071
12072         * kbmap.C (findbinding): clean it up and make it work correctly.
12073
12074         * lyx_main.C (init): do not pass argc and argv as parameters
12075
12076 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12077
12078         * buffer.C: fix path for OS/2 & Win32
12079
12080         * lyx_gui.C:
12081         * lyx_main:
12082         * lyx_main.C: Added os:: class.
12083
12084         * os2_defines.h: update
12085
12086 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12089         better by trying again with reduced state.
12090
12091 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12092
12093         * lyxrc.C (read): print error about invalid key sequence only when
12094         debugging (because not all latinX keysyms are known to some X
12095         servers)
12096
12097         * kbsequence.C (getiso): add a few std:: qualifiers
12098         (getiso): comment out extra return statement.
12099
12100 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12101
12102         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12103         handling.
12104         (Dispatch): enhance the accent inset a bit. (not perfect)
12105
12106 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12109
12110 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12111
12112         * bufferlist.C (emergencyWrite): fix assert() call
12113
12114 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12115
12116         * text.C (InsertChar): Added trivial patch to only send the "you
12117         can not do multiple spaces this way" message once during a
12118         session.
12119
12120 2001-05-08  Baruch Even  <baruch@lyx.org>
12121
12122         * Makefile.am: Changed order of libraries to get LyX to link properly
12123         with the gnome frontend.
12124
12125 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12126
12127         * LaTeXFeatures.h: add a std:: qualifier
12128
12129 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * paragraph.C (String): use stringstream
12132
12133 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * paragraph.C (writeFile): remove footflag arg
12136
12137         * buffer.C (makeLaTeXFile): use stringstream
12138         (latexParagraphs): remove footnot gurba
12139
12140         * LaTeXFeatures.C (getPackages): use stringstream
12141         (getMacros): likewise
12142         (getTClassPreamble): likewise
12143         (getFloatDefinitions): new method
12144
12145         * paragraph.C (writeFile): reindent
12146         (Erase): reindent
12147
12148         * WorkArea.h: revert the xpos + etc changes.
12149
12150         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12151
12152         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12153
12154         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12155         (pasteSelection): likewise
12156         * text2.C (CreateUndo): likewise
12157
12158 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * minibuffer.C (peek_event): temporarily reduce the functionality
12161         of the minibuffer (to allow args on lfuns)
12162
12163         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12164         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12165
12166         * buffer.C (readInset): add compability reading of old float
12167         lists, add reading of new style float list.
12168         (readInset): avoid reevaluation of inscmd.getCmdName()
12169         (getLists): reindent
12170
12171         * MenuBackend.C (MenuItem): implement parsing of
12172         md_floatlistinsert and md_floatinsert.
12173         (expand::LastFiles): move initalizaton of iterators out of loop,
12174         avoid reevaluation.
12175         (expand::Documents): introduce typdedef vector<string> Strings,
12176         and use it.
12177         (expand::ExportFormats): introduce typedef vector<Format const *>
12178         Formats, and use it.
12179         (expand): implement FloatListInsert and FloatInsert.
12180
12181         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12182         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12183         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12184
12185         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12186         handling.
12187         (Dispatch::LFUN_FLOAT_LIST): implement
12188
12189 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12190
12191         * LaTeX.C (run): Fix problem with --export code.
12192
12193 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * BufferView.[Ch] (workarea): removed.
12196         (getClipboard) new method; wrapper for workarea()->getClipboard()
12197
12198         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12199         bug.
12200
12201         * WorkArea.h (width, height, xpos, ypos): These methods all
12202         returned the dimensions of the work_area sub-area of WorkArea,
12203         resulting in a position error if the WorkArea were resized. Now
12204         return the dimensions of the entire WorkArea.
12205
12206         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12207
12208 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12209
12210         * LaTeX.C (deplog): correct the syntax of regex reg1
12211
12212 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * undo.C: remove !NEW_INSETS cruft
12215
12216 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * text2.C: remove !NEW_INSETS cruft
12219
12220         * text.C: remove !NEW_INSETS cruft
12221
12222         * tabular.C: remove !NEW_INSETS cruft
12223
12224         * spellchecker.C: remove !NEW_INSETS cruft
12225
12226         * lyxtext.h: remove !NEW_INSETS cruft
12227
12228         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12229
12230         * lyxfunc.C: remove !NEW_INSETS cruft
12231
12232         * lyxfind.C: remove !NEW_INSETS cruft
12233
12234         * lyx_cb.C: remove !NEW_INSETS cruft
12235
12236         * figureForm.C: remove  !NEW_INSETS cruft
12237
12238         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12239
12240         * buffer.[Ch]: remove !NEW_INSETS cruft
12241
12242         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12243
12244         * CutAndPaste.C: remove !NEW_INSETS cruft
12245
12246         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12247
12248         * BufferView2.C: remove !NEW_INSETS cruft
12249
12250         * BufferView.h: remove !NEW_INSETS cruft
12251
12252 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12253
12254         * Lsstream.h: include LString.h before the sstream headers to
12255         fix problem with gcc 2.95.3 and lyxstring
12256
12257 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12258
12259         * lyx_main.C: add using directives when needed for C functions
12260         declared in std:: namespace.
12261
12262 2001-04-27  Juergen Vigna  <jug@sad.it>
12263
12264         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12265         (SetHeightOfRow): comment out the update call should not be needed!
12266
12267 2001-04-13  Juergen Vigna  <jug@sad.it>
12268
12269         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12270         (LyXTabular): tried to minimize operator= operations (and realized
12271         hopfully Lars wish).
12272
12273 2001-04-27  Juergen Vigna  <jug@sad.it>
12274
12275         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12276
12277 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12280
12281         * buffer.C (readInset): hack to make listof algorithm work
12282
12283         * BufferView_pimpl.C: hack to make listof algorithm work
12284
12285 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * LyXAction.C: removed all !NEW_INSETS cruft
12288         (init): moved lfun_item in method
12289
12290         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12291
12292 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12293
12294         * BufferView2.C (theLockingInset): white space.
12295
12296 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12297
12298         * minibuffer.C: include <iostream>
12299
12300         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12301
12302         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12303
12304         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12305
12306         * text.[Ch] (TransposeChars): new method
12307
12308 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * call message directly through LyXView instead of through LyXFunc
12311         * BufferView2.C: adjust
12312         * BufferView_pimpl.C: adjust
12313         * FontLoader.C: adjust
12314         * buffer.C: adjust
12315         * bufferview_funcs.C: adjust
12316         * converter.C: adjust
12317         * figureForm.C: adjust
12318         * importer.C: adjust
12319         * lyx_cb.C: adjust
12320         * lyx_gui_misc.C: adjust
12321         * lyxfunc.C: adjust
12322         * lyxvc.C: adjust
12323         * text2.C: adjust
12324         + more files in subdirs
12325
12326         * lyxparagraph.h (size): move up int file
12327         (GetLayout): ditto
12328
12329         * adjust all uses of Assert to lyx::Assert.
12330
12331         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12332         lyxfunctional in namespace lyx
12333         * layout.C (hasLayout): ditto
12334         (GetLayout): ditto
12335         (GetLayout): ditto
12336         (delete_layout): ditto
12337         (NumberOfClass): ditto
12338         * converter.C (GetFormat): ditto
12339         (GetNumber): ditto
12340         (Add): ditto
12341         (Delete): ditto
12342         (SetViewer): ditto
12343         * bufferlist.C (getFileNames): ditto
12344         (emergencyWriteAll): ditto
12345         (exists): ditto
12346         (getBuffer): ditto
12347         * MenuBackend.C (hasSubmenu): ditto
12348         (hasMenu): ditto
12349         (getMenu): ditto
12350         * BufferView_pimpl.C (getInsetByCode): ditto
12351
12352 2001-04-18  Juergen Vigna  <jug@sad.it>
12353
12354         * vspace.C (asLatexString): fixed the 100% problem.
12355
12356 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12357
12358         * lyxfunc.C (Dispatch):
12359         * minibuffer.C:
12360         * minibuffer.h: add a few std:: qualifiers
12361
12362 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * minibuffer.[Ch]: reimplement so that commands is initiated and
12365         run from lyxfunc, simplified som handling, and made the completion
12366         and history code for complete. wip.
12367
12368         * lyxfunc.C (processKeySym): call message
12369         (miniDispatch): new temporary method
12370         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12371         (LFUN_MESSAGE): implement
12372         (LFUN_MESSAGE_PUSH): implement
12373         (LFUN_MESSAGE_POP): implement
12374         (initMiniBuffer): the initial/defualt minibuffer message.
12375
12376         * lyxfont.[Ch]: inline some more getters
12377
12378         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12379
12380         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12381
12382         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12383         (AutoSave): use LFUN_MESSAGE
12384         (Reconfigure): ditto
12385
12386         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12387
12388         * figureForm.C: use LFUN_MESSAGE
12389
12390         * converter.C (runLaTeX): use LFUN_MESSAGE
12391
12392         * bufferview_funcs.C: use LFUN_MESSAGE
12393         (Melt): ditto
12394         (changeDepth): ditto
12395
12396         * bufferparams.h: use boost::
12397
12398         * bufferlist.h: inherit privately from noncopyable
12399
12400         * bufferlist.C (loadLyXFile): remove some commented code.
12401
12402         * buffer.C (runChktex): use LFUN_MESSAGE
12403
12404         * ShareContainer.h: inherit privately from noncopyable
12405
12406         * ParagraphParameters.[hC] (depth): inline it.
12407
12408         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12409         methods.
12410         (message): new method
12411         (messagePush): ditto
12412         (messagePop): ditto
12413         (show): init minibuffer
12414         (showState): direct call
12415
12416         * LaTeX.[Ch]: inherit privately from noncopyable
12417         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12418         instead of WriteStatus.
12419
12420         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12421
12422         * BufferView_pimpl.C (buffer): don't init minibuffer
12423         (workAreaButtonPress): use LFUN_MESSAGE
12424         (workAreaButtonRelease): ditto
12425         (savePosition): ditto
12426         (restorePosition): ditto
12427         (MenuInsertLyXFile): ditto
12428         (workAreaExpose): don't init minibuffer
12429         (update): remove commented code, simplify
12430
12431         * BufferView2.C (openStuff): use LFUN_MESSAGE
12432         (toggleFloat): ditto
12433         (menuUndo): ditto
12434         (menuRedo): ditto
12435         (copyEnvironment): ditto
12436         (pasteEnvironment): ditto
12437         (copy): ditto
12438         (cut): ditto
12439         (paste): ditto
12440         (gotoInset): ditto
12441         (updateInset): remove some commented code
12442
12443         * lastfiles.h: inherit privately from noncopyable
12444         * layout.h: ditto
12445         * lyx_gui.h: ditto
12446         * lyx_main.h: ditto
12447         * lyxlex.h: ditto
12448         * lyxlex_pimpl.h: ditto
12449
12450         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12451         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12452         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12453
12454         * LyXAction.h: inherit privately from noncopyable, add methods
12455         func_begin, func_end, returning iterators to the func map.
12456
12457         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12458         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12459         (func_begin): new method
12460         (func_end): new method
12461
12462         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12463         and not)
12464         (copySelection): ditto
12465         (pasteSelection): ditto
12466
12467         * BufferView.C: whitespace change
12468         * BufferView.h: inherit privately from noncopyable
12469
12470 2001-04-16  Allan Rae  <rae@lyx.org>
12471
12472         * tabular-old.C (l_getline):
12473         * spellchecker.C (sc_check_word):
12474         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12475         an unrecognised preprocessor directive.  So ensure they're wrapped.
12476
12477 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12478
12479         * src/exporter.C (Export): Give an error message when path to file
12480         contains spaces.
12481
12482 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12483
12484         * LaTeX.C (deplog): Always check that foundfile exists.
12485
12486 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12487
12488         * lyx_main.h:
12489         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12490
12491 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * tabular.[Ch] (getLabelList): implement new method
12494
12495         * minibuffer.h: comment ouf setTiimer
12496
12497         * minibuffer.C (ExecutingCB): constify res
12498         (peek_event): constify s
12499         (Set): constify ntext
12500         (Init): constify nicename
12501
12502         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12503
12504         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12505         (savePosition): use two params to Minibuffer::Set
12506         (restorePosition): ditto
12507
12508 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12509
12510         * lyx_main.C: include language.h
12511
12512         * Makefile.am (lyx_main.o): add language.h
12513
12514 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12515
12516         * exporter.C:
12517         * paragraph.C:
12518         * screen.C:
12519         * tabular.C:
12520         * CutAndPaste.C: include gettext.h
12521
12522         * lyxfont.h: remove old hack with ON and OFF.
12523
12524         * lyxparagraph.h:
12525         * lyxfont.h: do not include language.h...
12526
12527         * BufferView2.C:
12528         * LaTeXFeatures.C:
12529         * Painter.C:
12530         * bufferview_funcs.C:
12531         * font.C:
12532         * lyxfont.C:
12533         * text.C:
12534         * text2.C:
12535         * trans_mgr.C:
12536         * paragraph.C: ... but do it here instead
12537
12538 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12539
12540         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12541
12542         * tabular.C: small reformat
12543
12544         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12545         NEW_INSETS version
12546         (GetChar): ditto
12547         (BreakParagraph): ditto
12548         (SetOnlyLayout): ditto
12549         (SetLayout): ditto
12550
12551         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12552         with one arg less.
12553
12554         * lastfiles.C: removed most using decl, add std:: where needed
12555
12556         * buffer.C: ws changes
12557
12558         * MenuBackend.C (class compare_format): put into anon namespace
12559         (expand): constify label, names, action, action2
12560         (expand):
12561
12562         * text.C (SingleWidth): constify font
12563         (IsBoundary): constify rtl2
12564         (GetVisibleRow): constify ww
12565
12566         * LaTeX.C (deplog): constify logfile
12567
12568         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12569         start_x, end_x
12570         (workAreaExpose): constify widthChange, heightChange
12571
12572         * lyxrow.C (par): moved
12573         (height): moved
12574         (next): moved
12575         * lyxrow.h: as inlines here
12576
12577         * lyxfont.h (shape): moved from lyxfont.C
12578         (emph): moved from lyxfont.C
12579
12580         * lyxfont.C (LyXFont): use initialization list for all
12581         constructors
12582         (shape): move to lyxfont.h as inline
12583         (emph): move to lyxfont.h as inline
12584
12585
12586 2001-04-04  Juergen Vigna  <jug@sad.it>
12587
12588         * vspace.C: had to include stdio.h for use of sscanf
12589
12590 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12591
12592         * BufferView.h:
12593         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12594         independent of xforms.
12595
12596 2001-04-02  Juergen Vigna  <jug@sad.it>
12597
12598         * spellchecker.C: fixed namespace placing!
12599
12600 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12601
12602         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12603         the LyXParagraph * is 0.
12604
12605 2001-03-29  Juergen Vigna  <jug@sad.it>
12606
12607         * vspace.C: added support for %, c%, p%, l%.
12608         (stringFromUnit): added helper function.
12609         (asLatexString): changed to give right results for the %-values.
12610
12611         * buffer.C: convert the widthp in a width%.
12612
12613 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12614
12615         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12616         figureForm.[Ch].
12617
12618         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12619         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12620
12621         * lyx_cb.[Ch]: see above.
12622
12623         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12624         form1.[Ch].
12625
12626         * form1.[Ch]:
12627         * lyx.[Ch]: replaced by figure_form.[Ch].
12628
12629         * lyx_gui.C:
12630         * lyx_gui_misc.C:
12631         * lyxfunc.C: changed headers associated with above changes.
12632
12633 2001-03-27  Juergen Vigna  <jug@sad.it>
12634
12635         * BufferView_pimpl.C: set the temporary cursor right!
12636
12637 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12638
12639         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12640
12641 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12642
12643         * LString.h: removed "using std::getline"!
12644
12645         * BufferView_pimpl.C (Dispatch): changes due to changes in
12646         InsetInclude::Params.
12647
12648         * buffer.C (tag_name): removed redundant break statements as they were
12649         producing lots of warnings with my compiler.
12650
12651 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12652
12653         * LString.h: add "using std::getline" when using the real <string>.
12654
12655 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12656
12657         * buffer.C: removed bitset usage.
12658         PAR_TAG moved to an anonymous name space.
12659         (tag_name): new funtion, also in the anonymous namespace.
12660         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12661         (makeDocBookFile): clean code. Completed transition from string arrays
12662         to string vectors.
12663         (SimpleDocBookOnePar): code clean.
12664
12665 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12666
12667         * tabular.C: add some comments.
12668
12669 2001-03-22  Juergen Vigna  <jug@sad.it>
12670
12671         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12672         compatibility read a bit and fixed bug with minipage in different
12673         depth.
12674
12675 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12676
12677         * buffer.C (pop_tag): removed.
12678         (push_tag): removed.
12679         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12680         array replaced with vector. Added support for CDATA sections.
12681         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12682         at any nest level.
12683         (makeDocBookFile): XML conformant declaration of CDATA section,
12684         fixed bug related to <emphasis> in the first paragraph char.
12685         (sgmlOpenTag): exclude empty tags.
12686         (sgmlCloseTag): ditto.
12687
12688         * buffer.h (pop_tag): removed.
12689         (push_tag): removed.
12690
12691 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * language.h (Languages): added size_type and size().
12694
12695 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12696
12697         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12698         response on compability reading of minipages. One probliem is that
12699         the old usage of minipages was «flertydig»
12700
12701         * several files here and in subdirs: don't use static at file
12702         scope use anon namespaces instead.
12703
12704 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12705
12706         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12707         LaTeX output. This is necessary for Literate document
12708         processing.
12709
12710 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12711
12712         * buffer.C: insert hfill when needed.
12713
12714         * tabular.C (l_getline): use string::erase, small whitespace change.
12715
12716         * BufferView_pimpl.C: try the anon namespace.
12717         * WorkArea.C: ditto
12718
12719 2001-03-16  Juergen Vigna  <jug@sad.it>
12720
12721         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12722         otherwise it won't open options-dialogs.
12723
12724         * buffer.C: honor pextraWidth(p) on converting minipages.
12725
12726         * tabular.C (l_getline): changed the functions to strip trailing \r.
12727
12728 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12729
12730         * BufferView_pimpl.C:
12731         * minibuffer..C: added "using SigC::slot" declaration.
12732
12733 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12734
12735         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12736
12737         * text2.C: ditto
12738
12739         * text.C: ditto
12740
12741         * paragraph.C: ditto
12742
12743         * lyxtext.h: NO_PEXTRA
12744
12745         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12746
12747         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12748         * ParameterStruct.h: ditto
12749         * ParagraphParameters.h: ditto
12750         * lyxparagraph.h: ditto
12751
12752 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12753
12754         * buffer.C: add compability for minipage alignment.
12755         (latexParagraphs): remove unwanted pextra check.
12756
12757         * several files: remove CXX_WORKING_NAMESPACES
12758
12759         * buffer.C (pop_tag): tie is in namespace boost
12760
12761         * BufferView.h: noncopyable is in namespace boost
12762         * lyxlex.h: ditto
12763         * lyx_main.h: ditto
12764         * lyx_gui.h: ditto
12765         * layout.h: ditto
12766         * lastfiles.h: ditto
12767         * bufferlist.h: ditto
12768         * ShareContainer.h: ditto
12769         * LyXView.h: ditto
12770         * LyXAction.h: ditto
12771         * LaTeX.h: ditto
12772
12773 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12774
12775         * Merging changes from BRANCH_MVC back into HEAD.
12776
12777         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12778
12779 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * BufferView_pimpl.C: change from intl.C
12782
12783         * combox.h:
12784         * combox.C:
12785         * Makefile.am: move combox.*
12786
12787         * form1.h:
12788         * form1.C:
12789         * lyx_gui.C:
12790         * intl.h:
12791         * intl.C: remove dialog (covered by prefs)
12792
12793 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12794
12795         * lyxfunc.C (Dispatch): removed redundant break statement.
12796
12797 2001-03-14  Juergen Vigna  <jug@sad.it>
12798
12799         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12800
12801 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12802
12803         * buffer.C: add hack to fix compability reading of minipages.
12804
12805 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12806
12807         * buffer.C (getLists): Cleanup.
12808
12809 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12810
12811         * lyxfont.C (update): don't honor toggleall on font size.
12812
12813 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * bmtable.c:
12816         * bmtable.h:
12817         * Makefile.am: moved to frontends/xforms/
12818
12819         * lyx_gui_misc.C:
12820         * lyxfunc.C:
12821         * BufferView_pimpl.C: changes for moved mathpanel
12822
12823 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * gettext.h: fix gettext_init() in --disable-nls
12826
12827 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12830
12831 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12832
12833         * lyx.C:
12834         * lyx.h: strip external form
12835
12836 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12837
12838         * BufferView_pimpl.C: add comment, destroySplash()
12839
12840 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12841
12842         * BufferView_pimpl.C:
12843         * LyXAction.C:
12844         * buffer.C:
12845         * commandtags.h:
12846         * lyxfunc.C: use re-worked insetinclude
12847
12848 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12849
12850         * buffer.C: add using std::stringstream.
12851
12852         * lyx_cb.C: readd using std::ios.
12853
12854         * buffer.C: add using std::map.
12855
12856         * BufferView_pimpl.C: add using std::vector.
12857
12858         * ShareContainer.h: add std:: to swap.
12859
12860         * buffer.h: add some typedefs
12861         * buffer.C (getLists): use them
12862         (getLists): renamed from getTocList.
12863         add a counter for the different float types and use it in the
12864         generated string.
12865         (getLists): use the same counter for the NEW_INSETS and the "non"
12866         NEW_INSETS
12867
12868         * lyx_cb.h: remove unused items, includes, using etc.
12869
12870         * ShareContainer.h: remove some commented code, add more comments
12871         and "documentation".
12872
12873 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12874
12875         * buffer.C (getTocList): make the list also when NEW_INSETS is
12876         defined.
12877
12878         * buffer.h: remove TocType
12879
12880         * buffer.C (getTocList): change to return a map<string,
12881         vector<TocItem> >, implement for dynamic number of list.
12882
12883         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12884         * text2.C (PasteSelection): adjust
12885         * CutAndPaste.C (pasteSelection): adjust
12886
12887         * FloatList.C (FloatList): update from the new_insets branch.
12888         * Floating.[Ch]: ditto
12889         * LaTeXFeatures.C: ditto
12890         * buffer.C: ditto
12891         * lyxlex_pimpl.C: ditto
12892
12893         * paragraph.C (Last): remove when NEW_INSETS is defined.
12894
12895         * other file: changes because of the above.
12896
12897 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12898
12899         * lyxparagraph.h: rename next to next_, previous to previous_,
12900         make them private for NEW_INSETS. Rename Next() to next(),
12901         Previous() to previous().
12902
12903         * other files: changes because of the above.
12904
12905 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12906
12907         * BufferView.h:
12908         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12909         problem.
12910
12911 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12912
12913         * main.C (main): pass lyx_localedir to gettext_init().
12914
12915         * gettext.h: remove locale_init and gettext_init macros
12916
12917         * gettext.C (locale_init): new function
12918         (gettext_init): new function
12919
12920         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12921         setlocale().
12922
12923 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12924
12925         * Moved credits to frontends:
12926         * credits.[Ch]: removed
12927         * credits_form.[Ch]: removed
12928         * lyx_gui_misc.C: remove credits stuff
12929         * Makefile.am:
12930
12931 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12932
12933         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12934
12935         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12936         unneeded destructor.
12937
12938         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12939         a standalone pointer again.
12940
12941         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12942
12943 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * Makefile.am:
12946         * filedlg.h:
12947         * filedlg.C:
12948         * LyXAction.C:
12949         * ToolbarDefaults.C:
12950         * bufferlist.C:
12951         * commandtags.h:
12952         * form1.C:
12953         * form1.h:
12954         * lyx_cb.C:
12955         * lyx_cb.h:
12956         * lyxfunc.h:
12957         * lyxfunc.C:
12958         * BufferView_pimpl.C: use new file dialog in GUII
12959
12960         * lyx_cb.h:
12961         * lyx_cb.C: remove LayoutsCB to Toolbar
12962
12963 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12964
12965         * ShareContainer.h (get): add std:: qualifier
12966
12967 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12968
12969         * ShareContainer.h: define a proper ShareContainer::value_type
12970         type (and use typename to please compaq cxx)
12971
12972 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12973
12974         * lyxparagraph.h: move serveral local vars to
12975         ParameterStruct/ParagraphParameters., use ShareContainer in
12976         FontTable., make vars in FontTable private and add getter and
12977         setter.
12978
12979         * paragraph.C: changes because of the above.
12980
12981         * lyxfont.h: remove copy constructor and copy assignment. (the
12982         default ones is ok), move number inside FontBits. move inlines to
12983         lyxfont.C
12984
12985         * lyxfont.C: add number to initializaton of statics, move several
12986         inlines here. constify several local vars. some whitespace
12987         cleanup. Dont hide outerscope variables.
12988
12989         * Spacing.h: add two new constructors to match the set methods.
12990
12991         * ShareContainer.h: new file, will perhaps be moved to support
12992
12993         * ParameterStruct.h: new file
12994
12995         * ParagraphParameters.h: new file
12996
12997         * ParagraphParameters.C: new file
12998
12999         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13000         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13001
13002         * BufferView_pimpl.C: ParagraphParameter changes.
13003         * buffer.C: Likewise.
13004         * bufferview_funcs.C: Likewise.
13005         * text.C: Likewise.
13006         * text2.C: Likewise.
13007
13008 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * lyxfind.C (LyXReplace): do not redefine default argument in
13011         implementation.
13012         (IsStringInText): ditto
13013         (SearchForward): ditto
13014         (SearchBackward): ditto
13015
13016 2001-03-06  Juergen Vigna  <jug@sad.it>
13017
13018         * lyxfind.C (IsStringInText): put parentes around expressions.
13019
13020 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13021
13022         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13023
13024 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13027
13028         * stl_string_fwd.h: add comment
13029
13030         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13031
13032         * tabular.h:
13033         * tabular.C: remove unused DocBook methods
13034
13035         * intl.C:
13036         * language.C:
13037         * paragraph.C:
13038         * buffer.C:
13039         killed DO_USE_DEFAULT_LANGUAGE
13040
13041 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13042
13043         * lyx_gui.C: do not include language.h.
13044
13045         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13046         arguments in function implementation.
13047
13048 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13049
13050         * BufferView_pimpl.C: add <ctime>
13051
13052 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13053
13054         * BufferView_pimpl.C: add using std::find_if
13055
13056 2001-02-27  José Matos  <jamatos@fep.up.pt>
13057
13058         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13059         by OnlyPath.
13060
13061 2001-02-11  José Matos  <jamatos@fep.up.pt>
13062
13063         * buffer.C (makeDocBookFile): command styles now have a parameter as
13064         "title" by default.
13065
13066 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13067
13068         * layout_forms.[Ch]: removed
13069         * lyx_cb.[Ch]: out character
13070         * lyx_gui.C: out character
13071         * lyx_gui_misc.C: out character
13072         * bufferview_funcs.C: : out character,
13073         added toggleall as parameter in ToggleAndShow
13074
13075 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13076
13077         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13078
13079         * text2.C (SetCurrentFont): Disable number property at boundary.
13080
13081 2001-02-26  Juergen Vigna  <jug@sad.it>
13082
13083         * lyxfunc.C (getStatus): added a string argument override function so
13084         that this is correctly called from LyXFunc::Dispatch if it contains a
13085         do_not_use_argument which is used!
13086         (Dispatch): added check for "custom" export and call appropriate func.
13087
13088 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13089
13090         * lyxrc.C: Add language_command_local, language_use_babel and
13091         language_global_options.
13092
13093         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13094
13095         * buffer.C (makeLaTeXFile): Use language_use_babel and
13096         language_global_options.
13097
13098 2001-02-23  Juergen Vigna  <jug@sad.it>
13099
13100         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13101         which works with LyXText and putted it inside BufferView. Here now we
13102         only call for that part the BufferView::Dispatch() function.
13103
13104         * BufferView.C (Dispatch): added.
13105
13106         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13107         functions which needs to use a LyXText over from LyXFunc.
13108         (MenuInsertLyXFile): added
13109         (getInsetByCode): added
13110         (moveCursorUpdate): added
13111         (static TEXT): added
13112
13113 2001-02-22  Juergen Vigna  <jug@sad.it>
13114
13115         * BufferView_pimpl.C (update): call a status update to see if LyXText
13116         needs it.
13117
13118 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13119
13120         * vc-backend.C (revert): implement for CVS
13121         (getLog): implement for CVS
13122
13123 2001-02-20  Juergen Vigna  <jug@sad.it>
13124
13125         * text2.C (ClearSelection): added BufferView param for inset_owner call
13126
13127         * lyxfunc.C (TEXT): added this function and use it instead of
13128         directly owner->view()-text of getLyXText().
13129
13130 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13131
13132         * src/layout_forms.C: out preamble
13133         * src/layout_forms.h: out preamble
13134         * src/lyx_cb.C: out preamble
13135         * src/lyx_cb.h: out preamble
13136         * src/lyx_gui.C: out preamble
13137         * src/lyx_gui_misc.C: out preamble
13138         * src/lyxfunc.C: connect with guii preamble
13139
13140 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13143
13144 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13145
13146         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13147         whether to run bibtex.
13148
13149 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13150
13151         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13152
13153 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13154
13155         * Makefile.am (lyx_SOURCES): removed bibforms.h
13156
13157         * vspace.h: doxygen
13158
13159         * text.C (GetVisibleRow): make several local vars const
13160
13161         * tabular.C: small cleanup.
13162
13163         * lyxserver.C (callback): use compare instead of strncmp
13164
13165         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13166         inlines to after class or to paragraph.C
13167
13168         * lyxfont.h: remove friend operator!=
13169
13170         * converter.h: move friend bool operator< to non friend and after
13171         class def.
13172
13173         * combox.h: small cleanup
13174
13175         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13176         to inlines after class def.
13177
13178         * buffer.C (pop_tag): use string operations instead of strcmp
13179
13180         * bmtable.c: doxygen, small cleanup
13181
13182         * LaTeX.h: remove friend operator==
13183
13184 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13185
13186         * screen.C:
13187         * lyxrc.[Ch]:
13188         * lyxfunc.C:
13189         * lyxfont.[Ch]:
13190         * lyx_cb.C:
13191         * intl.[Ch]:
13192         * commandtags.h:
13193         * buffer.C:
13194         * WorkArea.[Ch]:
13195         * LyXAction.C:
13196         * BufferView_pimpl.C:
13197         * BufferView.[Ch]: remove cruft
13198
13199 2001-02-14  Juergen Vigna  <jug@sad.it>
13200
13201         * lyxfunc.C: removed #if 0 unused code
13202
13203         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13204
13205         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13206
13207         * text2.C (SetSelection): added a BufferView * parameter
13208
13209 2001-02-13  Juergen Vigna  <jug@sad.it>
13210
13211         * lyxfunc.C (Dispatch): fixed protected blank problem.
13212         * BufferView2.C (protectedBlank): added LyxText * parameter.
13213
13214         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13215         (AppendColumn): same as above for column_info.
13216
13217         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13218         (moveCursorUpdate): use a LyXText param for support of InsetText.
13219
13220         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13221         (tripleClick): ditto
13222
13223         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13224
13225         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13226
13227         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13228
13229         * text2.C (SetSelection): set correct update status if inset_owner
13230         (ToggleFree): ditto
13231
13232 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13233
13234         * tabular.C: remove some commented code.
13235
13236 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * BufferView_pimpl.C: call hideSplash()
13239
13240         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13241
13242         * include_form.h:
13243         * bibforms.h: remove
13244
13245         * lyxfunc.C:
13246         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13247           add LFUN_CHILD_CREATE
13248
13249         * counters.h: fix tiny typo
13250
13251         * lyx_cb.C:
13252         * lyx.h:
13253         * lyx_gui.C:
13254         * lyx.C: move splash to frontends/xforms/
13255
13256         * lyx_gui_misc.C: move Include and Bibform to frontends
13257
13258         * lyxvc.h: clarify comment
13259
13260         * vspace.C: tiny housekeeping
13261
13262 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13263
13264         * text.C (PrepareToPrint): RTL Fix.
13265
13266         * paragraph.C (GetUChar): New method.
13267         (String):  Use GetUChar.
13268
13269         * buffer.C (asciiParagraph): Use GetUChar.
13270
13271 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13272
13273         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13274
13275 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13276
13277         * buffer.h:
13278         * buffer.C: rename to getLogName(), handle
13279           build log / latex log nicely
13280
13281 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * MenuBackend.C:
13284         * MenuBackend.h: remove support for reference menuitem type.
13285
13286 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13287
13288         * BufferView_pimpl.C: housekeeping
13289         * BufferView_pimpl.h:
13290         * LyXView.h:
13291         * Makefile.am:
13292         * Timeout.C:
13293         * Timeout.h:
13294         * minibuffer.h: move Timeout GUI-I
13295
13296 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13297
13298         * lyxrc.C (read): Update converters data-structures.
13299
13300 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13301
13302         * LaTeX.h (operator!=): add operator != for Aux_Info
13303
13304 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13305
13306         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13307
13308         * LaTeXLog.C: deleted, useful code moved to Buffer
13309
13310         * buffer.h:
13311         * buffer.C: new function getLatexLogName()
13312
13313         * lyx_gui_misc.C:
13314         * lyx_gui.C:
13315         * lyxvc.C:
13316         * lyxvc.h:
13317         * lyxfunc.C: use frontends for LaTeX and VC logs
13318
13319 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13320
13321         * LaTeX.h: yet another std:: that Allan forgot.
13322
13323         * Variables.C (set): renamed from isset(), because this clashes
13324         with some HP-UX macros (grr).
13325
13326 2001-02-06  Allan Rae  <rae@lyx.org>
13327
13328         * LaTeX.h: Another bug fix.  Missing std:: this time.
13329
13330 2001-02-04  Allan Rae  <rae@lyx.org>
13331
13332         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13333         floats problem. I've left it commented out because it's not quite
13334         correct.  It should also test that the current object is a table or
13335         figure inset.  But I haven't gotten around to figuring out how to do
13336         that.  I *think* it'll be something like: "table" == inset.type()
13337
13338         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13339         bool.
13340
13341 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13342
13343         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13344         all the citation/databases/styles in the auxilary file.
13345         (run): Rerun latex if there was a babel language error.
13346
13347 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13348
13349         * text.C (Backspace): Preserve the font when changing newline char
13350         with a space.
13351         (BreakParagraph): If the cursor is before a space, delete the space.
13352
13353         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13354
13355 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13356
13357         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13358         new argument (code).
13359         (ChangeCitationsIfUnique): New method.
13360
13361         * paragraph.C (GetPositionOfInset): Handle bibkey.
13362
13363 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * BufferView_pimpl.h: change type of Position::par_pos to
13366         LyXParagraph::size_type.
13367
13368 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13369
13370         * BufferView_pimpl.C (savePosition, restorePosition): Write
13371         messages to minibuffer.
13372
13373 2001-01-28  José Matos  <jamatos@fep.up.pt>
13374
13375         * buffer.C (makeDocBookFile): adds support for document language.
13376         A silly restriction on the name of LatexCommand types where removed.
13377         Added support for CDATA sections, allows to chars unescaped, used
13378         among others in code, to avoid escape < and >.
13379
13380 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13381
13382         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13383         saved positions instrad of a stack. Furthermore, a position is
13384         stored using paragraph id/paragraph position.
13385
13386         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13387         Remove LFUN_REF_BACK.
13388
13389 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13390
13391         * converter.C (dvipdfm_options): New method.
13392
13393 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13394
13395         * vspace.C (isValidLength): Fix for empty input string.
13396
13397 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13398
13399         * LyXAction.C (init): change description of LFUN_FIGURE to
13400         "Insert Graphics"
13401
13402 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13403
13404         * LaTeX.C: add using directive
13405
13406 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13407
13408         * MenuBackend.C (expand): Fix the sorting of the formats.
13409
13410 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13411
13412         * lyx_main.C: tiny error message fix
13413
13414 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13415
13416         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13417         calling fl_initialize(). This fixes the problem with ',' as
13418         decimal separator in text files.
13419
13420 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13421
13422         * trans.C (process): Fix the keymap bug.
13423
13424 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13425
13426         * LaTeX.C (scanAuxFiles): New method. Provides support for
13427         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13428         (scanLogFile) Scan for "run BibTeX" messages.
13429
13430         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13431         OT1 font encoding. Also, load the aecompl package if the ae
13432         package is loaded.
13433
13434         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13435
13436 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13437
13438         * texrow.C (increasePos): turn two error messages into debug
13439         messages.
13440
13441 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13442
13443         * LaTeX.C (scanAux): Handle the \@input macro.
13444         (runBibTeX): Use scanAux().
13445
13446         * language.C (latex_options_): New field.
13447
13448         * LaTeXFeatures.C (getMacros): Add language macros.
13449
13450         * buffer.C (makeLaTeXFile): Small fix.
13451
13452 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13453
13454         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13455
13456         * text2.C: add a using directive.
13457
13458 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13459
13460         * BufferView2.C:
13461         * lyx_gui_misc.h:
13462         * lyxfr1.C:
13463         * lyxfunc.C: kill LyXBell.
13464
13465 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * text.C (IsBoundary): Remove the error message
13468
13469         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13470
13471         * lyxrc.C (setDefaults): Correct initialization value for
13472         font_norm_type.
13473
13474 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13475
13476         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13477         gotoError().
13478
13479         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13480         and GotoNextNote().
13481
13482         * src/LyXAction.C: Added reference-next.
13483
13484         * text.C (InsertChar): Use contains instead of strchr.
13485
13486         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13487
13488 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13489
13490         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13491         alignment commands (when needed).
13492
13493         * text.C (InsertChar): Add ':' to number separator chars.