]> git.lyx.org Git - features.git/blob - src/ChangeLog
remember this
[features.git] / src / ChangeLog
1 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * dispatchresult.h: add a val setter
4
5         * cursor.C (dispatch): use a tempvar for data_[i]
6
7 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
8
9         * PosIterator.[Ch]: compile fix
10
11 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
12
13         * text.C (cursorPar): deactivate the cursor cache
14
15 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
16
17         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
18
19 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
20
21         * text3.C (dispatch): adjust for new DisptchResult semantics.
22
23         * lyxfunc.C (dispatch): handle update when return from
24         Cursor::dispatch, adjust for new DispatchResult semantics.
25
26         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
27         DispatchResult(true) mean to not update. Add class functions for
28         setting dispatched and update, as well as reading.
29
30         * cursor.C (dispatch): don't handle update here
31
32 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
33
34         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
35         * trans_mgr.C: adjust
36
37         * paragraph_funcs.C (readParToken): exception safety
38
39         * lyxvc.h: store the vcs pointer in a scoped_ptr
40         * lyxvc.C: adjust
41
42         * lyxsocket.C (serverCallback): exception safety
43
44         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
45
46         * ispell.C (clone): make it return a auto_ptr
47
48         * factory.C (createInset): exception safety
49         (readInset): exception safety
50
51         * bufferlist.C (newBuffer): exception safety
52
53         * Thesaurus.C (Thesaurus): use initialization for aik_
54
55         * MenuBackend.C (expandToc): exception safety.
56
57 2003-11-03  André Pönitz  <poenitz@gmx.net>
58
59         * buffer.C:
60         * buffer.h:
61         * bufferview_funcs.C: remove getInsetFromId()
62
63         * lyxcursor.[Ch]:
64         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
65
66         * lyxfunc.C:
67         * text2.C:
68         * text3.C: adjust
69
70 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
71
72         * PosIterator.C (distance, advance): new
73         * bufferview_funcs.[Ch] (put_selection_at): new
74         * iterators.[Ch] (lockPath): new
75
76 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
77
78         * iterators.[Ch] (asPosIterator): added
79         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
80         * PosIterator.[Ch]: added
81
82 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
83
84         * text3.C:
85         * lyxfunc.C:
86         * cursor.C (dispatch):
87         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
88
89         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
90         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
91         contructor, add a class function dispatched. Remove operator>=
92
93 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
94
95         * debug.C: only use the default constructor for debugstream
96         (lyxerr) here.
97
98         * main.C (main): include debug.h and setup the lyxerr streambuf
99         here.
100
101 2003-10-31  José Matos  <jamatos@lyx.org>
102
103         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
104
105         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
106         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
107         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
108         * paragraph_pimpl.C (simpleTeXSpecialC):
109         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
110         add LatexRunParams argument.
111
112         * exporter.C (Export): change call accordingly.
113
114         * latexrunparams.h: add new member to take care of the other backends.
115 2003-10-30  José Matos  <jamatos@lyx.org>
116
117         * buffer.C (makeLinuxDocFile, makeDocBookFile):
118         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
119         factorise code for paragraph output.
120         * buffer.[Ch]:
121         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
122         move functions.
123
124 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
125
126         * text3.C (dispatch):
127         * lyxfunc.C (dispatch):
128         * cursor.C (dispatch):
129         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
130
131         * dispatchresult.h: make the dispatch_result_t ctor explicit
132
133 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
134
135         * sgml.[Ch]:
136         * buffer.C: small refactoring of docbook stuff
137
138 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
139
140         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
141         meaning.
142
143 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
144
145         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
146         operator dispatch_result_t, and operators for == != and >=
147
148         * cursor.C (dispatch): adjust for operator dispatch_result_t
149         removal. comment out call to update
150
151         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
152
153 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
154
155         * text3.C:
156         * text2.C:
157         * text.C:
158         * lyxtext.h:
159         * lyxfunc.C:
160         * cursor.C:
161         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
162         (dispatch):
163
164         * dispatchresult.h: new file, DispatchResult broken out of
165         insets/insetbase.h
166
167         * Makefile.am (lyx_SOURCES): add dispatchresult.h
168
169 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
170
171         * text.C (rowBreakPoint): put a hack inside #if 0
172
173 2003-10-28  André Pönitz  <poenitz@gmx.net>
174
175         * lyxtext.h:
176         * metricsinfo.C:
177         * paragraph_funcs.C:
178         * rowpainter.C:
179         * text.C:
180         * text2.C: general cleanup (lots of small stuff)
181
182 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
183
184         * text2.C (cursorEnd): simple fix to the "end key goes to one
185         before the end on last row" bug
186
187 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
188
189         * text.C (backspace): fix the "zombie characters"
190
191 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
192
193         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
194
195 2003-10-27  André Pönitz  <poenitz@gmx.net>
196
197         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
198
199         * factory.C: handle new InsetPagebreak, InsetLine
200
201         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
202         and move handling into new InsetPagebreak, InsetLine
203
204         * BufferView_pimpl.C:
205         * LyXAction.C:
206         * ParagraphParameters.C:
207         * ParameterStruct.h:
208         * lyxfunc.C:
209         * lyxtext.h:
210         * paragraph.C:
211         * paragraph.h:
212         * paragraph_funcs.C:
213         * paragraph_pimpl.C:
214         * rowpainter.C:
215         * text.C:
216         * text2.C:
217         * text3.C: adjust
218
219 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
220
221         * text.C:
222         * lyxrow_funcs.[Ch]:
223         * Bidi.C:
224         * paragraph.C:
225         * lyxtext.h:
226         * rowpainter.C:
227         * text2.C:
228         * text3.C: remove lastPos uses in favour of Row::endpos
229
230 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
231
232         * undo.C (performUndoOrRedo): fix two crashes by setting a
233         cursor by hand and reordering some calls. Use bv->lockInset instead
234         of inset->edit because the latter loses cursor information
235
236 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
237
238         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
239         by Martin
240         (rowBreakPoint): fix width. change point to point + 1.
241         Add a missing check.
242
243 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
244
245         * MenuBackend.C:
246         * lyxfunc.C: fix (at least partly) the problems
247         with the Nav menu and headers inside branch insets
248         reported by Kayvan
249
250 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
251
252         * paragraph.C (getChar): add strong asserts
253
254         * lyxrow_funcs.C (lastPos): remove hideous hack
255
256         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
257         (fill): adjust to that (avoid an infinite loop)
258
259 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
260
261         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
262
263 2003-10-23  André Pönitz  <poenitz@gmx.net>
264
265         * RowList_fwd.h: change list<> to vector<> to gain speed
266         after suggestion from Alfredo
267
268 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
269
270         * lyxtext.h: move the bidi stuff from here...
271         * text.C: and here
272         * text2.C: and here
273         * Bidi.[Ch]: ... to here
274
275 2003-10-23  André Pönitz  <poenitz@gmx.net>
276
277         * lyxtext.h:
278         * text.C (isLastRow, isFirstRow): new functions
279
280         * paragraph.h: new width cache member
281
282         * rowpainter.C: replace RowList::iterator with Row & where possible
283
284         * lyxfunc.C: replace several view()->text with a single call
285
286         * toc.C: fix 'unused' warning
287
288 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
289
290         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
291         when woring with stream::pos_type
292         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
293
294 2003-10-22  André Pönitz  <poenitz@gmx.net>
295
296         * lyxtext.h:
297         * text.C: use Row & instead of RowList::iterator
298
299         * lyxrow.h: rename end() to endpos()
300
301         * rowpainter.C:
302         * text.C:
303         * text2.C: adjust
304
305 2003-10-22  Angus Leeming  <leeming@lyx.org>
306
307         * buffer.[Ch] (fully_loaded): new member function, returning true
308         only when the file has been loaded fully.
309         Used to prevent the premature generation of previews and by the
310         citation inset to prevent computation of the natbib-style label.
311
312         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
313         templates are all set up.
314
315         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
316
317 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
318
319         * text.C: fixed an "oops" in the "is a bit silly"
320         bug fix
321
322 2003-10-21  André Pönitz  <poenitz@gmx.net>
323
324         * FuncStatus.[Ch]: small stuff, whitespace
325
326         * lyxfont.[Ch]: operator<<() for debug reasons
327
328         * lyxfunc.C:
329         * lyxrow_funcs.C:
330         * lyxtext.h: whitespace, spelling
331
332         * paragraph.C: naming of variables
333
334         * text.C:
335         * text2.C: small stuff
336
337
338 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * text.C: (1) finish off the inset display() work;
341         (2) fix the "is a bit silly" bug (accessing char
342         past end of par).
343
344 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
345
346         * text.C: re-introduce display() for insets, fixing the
347         various bugs (stretch of line above, math inset
348         positioning, ...)
349
350 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * text.C (rightMargin): remove spurious semicolon
353
354         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
355         1415)
356
357 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
358
359         * text3.C: fix one crash due to wrong cursor def
360
361 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
362
363         * vc-backend.C (scanMaster): make the regex static
364
365         * LaTeX.C (scanAuxFile): make the regexs static
366
367         * text3.C (doInsertInset, dispatch, dispatch):
368         * text2.C (cursorUp, cursorDown):
369         * text.C (selectNextWordToSpellcheck):
370         * BufferView_pimpl.C (dispatch):
371         * lyxfunc.C (dispatch):  localDispatch -> dispatch
372
373 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
374
375         * lyxsocket.C: include <cerrno>
376
377 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
378
379         * lyxfunc.C (dispatch): remove textcache stuff
380
381         * bufferlist.C (release): remove textcache stuff
382         (closeAll): ditto
383
384         * TextCache.C: delete file
385         * TextCache.h: delete file
386
387         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
388
389         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
390         delete of the bv_->text.
391         (resizeCurrentBuffer): remove texcache stuff
392         (workAreaResize): ditto
393
394 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
395
396         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
397         action.
398
399 2003-10-16  André Pönitz  <poenitz@gmx.net>
400
401         * lyxrow.[Ch]:
402         * paragraph.h:
403         * rowpainter.C:
404         * text.C:
405         * text2.C:
406         * text3.C: speed up by storing y positions per paragraph plus per-row
407         offset instead of having a 'full' y position in the row.
408
409 2003-10-15  André Pönitz  <poenitz@gmx.net>
410
411         * iterators.[Ch]:
412         * iterators.[Ch]:
413         * undo.[Ch]: make undo aware of inner insets
414
415 2003-10-14  Angus Leeming  <leeming@lyx.org>
416
417         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
418         static member functions LyX::ref() and LyX::cref.
419         (lastfiles): new accessor functions for the new lastfiles_ member var.
420         (addLyXView, views_): add a new LyXView to the list of views_.
421         (updateInset): loop over all LyXViews to call their own updateInset
422         member function, returning a pointer to the Buffer owning the inset.
423
424         * BufferView_pimpl.C (loadLyXFile):
425         * MenuBackend.C (expandLastfiles):
426         * bufferlist.C (MenuWrite, QuitLyX):
427         lastfiles is no longer a global variable.
428         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
429
430         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
431         static function. Access through LyX::cref().emergencyCleanup().
432
433 2003-10-14  André Pönitz  <poenitz@gmx.net>
434
435         * iterators.[Ch]: new direct access to innermost LyXText and Inset
436
437         * undo.[Ch]: restoring part of 'undo in insets'
438
439         * Makefile.am:
440         * undo_funcs.[Ch]: merge with undo.[Ch]
441
442         * tabular.C: small cleansing stuff
443
444 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
445
446         * paragraph_funcs.C (readParToken): report unknown insets as error
447         boxes. Use the outer paragraph as location (also for unknown
448         tokens).
449
450         * factory.C (readInset): do not abort on reading an unknown inset.
451         Eat it and return 0.
452
453 2003-10-13  Angus Leeming  <leeming@lyx.org>
454
455         * lyx_main.C (LyX): remove call to setDisplayTranslator().
456
457         * lyxrc.C: displayTranslator is now a function,
458         declared in GraphicsTypes.h.
459
460 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
461
462         * format.C: new placeholder $$a to pass the socket address.
463
464         * bufferlist.[Ch]: new function getBufferFromTmp.
465
466         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
467           files in the temporary dir.
468
469 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
470
471         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
472
473         * Makefile.am: add lyxsocket.[Ch].
474
475         * lyx_main.C (error_handler): handle SIGPIPE.
476
477 2003-10-13  André Pönitz  <poenitz@gmx.net>
478
479         * BufferView_pimpl.C:
480         * lyxtext.h:
481         * text.C:
482         * text2.C:
483         * text3.C:
484         * undo_funcs.[Ch]: use paroffset_type instead of
485           ParagraphList::iterators to prevent multiple conversion
486           (and get a more robust interface)
487
488 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
489
490         * lyxfunc.C (dispatch): RESULT -> dispatch_result
491         * lyxtext.h: ditto
492         * text3.C (dispatch): ditto
493
494 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
495
496         * LaTeX.C (handleFoundFile): move the static to smaller scope,
497         move the onlyfile, use onlyfile instead of foundfile in a couple
498         of places.
499
500         * DepTable.C (update): flush the error stream a bit more
501
502 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
503
504         * lyxserver.C (callback): adjust
505
506         * lyxfunc.C (getStatus): add a missing brace in commented code
507         (ensureBufferClean): reindent
508         (dispatch): delete version taking a string
509
510 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
511
512         * LaTeX.C (deplog): move found file handlig from here...
513         (handleFoundFile): .. to new function here.
514         (deplog): make sure to discover several files mentioned on the
515         same log line.
516
517 2003-10-10  André Pönitz  <poenitz@gmx.net>
518
519         * lyxfunc.C:
520         * lyxtext.h:
521         * tabular.C:
522         * text.C:
523         * text2.C:
524         * text3.C: fix some of the tabular crashes
525
526 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
527
528         * MenuBackend.C (binding): put debug message into Debug::KBMAP
529
530         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
531
532 2003-10-09  André Pönitz  <poenitz@gmx.net>
533
534         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
535
536         * BufferView.C:
537         * BufferView_pimpl.C:
538         * bufferview_funcs.C:
539         * lyx_cb.C:
540         * lyxcursor.C:
541         * lyxfind.C:
542         * lyxfunc.C:
543         * lyxtext.h:
544         * text.C:
545         * text2.C:
546         * text3.C:
547         * text_funcs.[Ch]:
548         * textcursor.[Ch]:
549         * undo_funcs.C: adjust
550
551 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
552
553         * text2.C (incrementItemDepth): new function, use a backtracking
554         algorithm to discover the correct item depth.
555         (resetEnumCounterIfNeeded): new function, use a backtracking
556         algorithm to discover if counter reset is needed.
557         (setCounter): use them. Simplify a bit. Add different labels for
558         different item depths for itemize.
559
560         * paragraph.C (Paragraph): remove initialization of enumdepth
561         (operator=): ditto
562
563         * paragraph.h: get rid of enumdepth, and use itemdepth both for
564         enumerate and itemize. Change the type of itemdepth to signed char.
565
566 2003-10-08  André Pönitz  <poenitz@gmx.net>
567
568         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
569           thing assignable.
570         * text.C:
571         * text2.C: adjust
572
573         * tabular.[Ch]: fix crash after 'row-insert'
574
575 2003-10-08  Angus Leeming  <leeming@lyx.org>
576
577         Fix doxygen warnings.
578
579         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
580         Remove CutAndPaste:: prefix from header file declaration.
581
582         * LColor.h (fill): remove LColor:: prefix from declaration.
583
584         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
585         use lyx::depth_type rather than Paragraph::depth_type so that
586         header file and .C file match.
587
588         * converter.h (intToFormat): remove Converters:: prefix from declaration.
589
590         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
591         * aspell.C: \file aspell_local.C -> \file aspell.C
592         * gettext.C: \file gettext.C -> \file src/gettext.C
593         * gettext.h: \file gettext.h -> \file src/gettext.h
594         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
595         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
596         * text.C: \file text.C -> \file src/text.C
597
598         * toc.C: move comment so that doxygen is not confused.
599
600 2003-10-07  Angus Leeming  <leeming@lyx.org>
601
602         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
603
604 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
605
606         * aspell.C:
607         * aspell_local.h: add forgotten std::string's.
608
609 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
610
611         * LaTeXFeatures.C:
612         * LyXAction.C:
613         * factory.C:
614         * lfuns.h:
615         * lyxfunc.C:
616         * text3.C: The Box patch. Fancybox support, minipage, parbox
617
618 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
619
620         * CutAndPaste.h:
621         * DepTable.h:
622         * FloatList.h:
623         * LaTeXFeatures.h:
624         * ParagraphParameters.h:
625         * TextCache.h:
626         * Thesaurus.h:
627         * bufferlist.h:
628         * exporter.h:
629         * importer.h:
630         * lastfiles.h:
631         * lyxfind.h:
632         * lyxfont.h:
633         * lyxlex.h:
634         * lyxtextclasslist.h:
635         * messages.h:
636         * paragraph.h:
637         * paragraph_pimpl.C:
638         * textcursor.h: add <string> and other small fixes to make Lars'
639         std::string patch compile with STLport.
640
641 2003-10-06  Angus Leeming  <leeming@lyx.org>
642
643         * LColor.h: Add missing #include <string>.
644
645 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
646
647         * All most all file in all subdirs: Make <string> be the prefered
648         way of getting to std::string, add using declarations.
649
650 2003-10-06  André Pönitz  <poenitz@gmx.net>
651
652         * metricsinfo.C: initialize LyXFont before changing attribute.
653         (fixes the 'math in \emph is upright' bug)
654
655 2003-10-06  André Pönitz  <poenitz@gmx.net>
656
657         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
658
659 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
660
661         * graph.C:
662         * paragraph_pimpl.C: Small fixes to build using STLport
663
664 2003-10-02  André Pönitz  <poenitz@gmx.net>
665
666         * lyxfunc.C:
667         * text3.C: move handling of LFUN_DEPTH *; fix #1360
668
669 2003-10-01  André Pönitz  <poenitz@gmx.net>
670
671         * factory.C: assert early
672
673 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
674
675         * lyx_main.C: remove the global debug object
676
677         * debug.h: adjust for new debugstream
678
679         * debug.C: adjust for new debugstream and keep the global debug
680         object here.
681
682 2003-09-22  Angus Leeming  <leeming@lyx.org>
683
684         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
685         of g++ which otherwise complain that the scoped_ptr destructor can't delete
686         an incomplete class LyXFont.
687
688 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
689
690         * factory.C: bug fix in branches
691
692 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
693
694         * lyxfunc.C (processKeySym): adjust
695         (dispatch): adjust
696         (dispatch): change arg name from ev to func, adjust
697         (sendDispatchMessage): ditto
698
699         * lyx_main.C (defaultKeyBindings): adjust keybindings
700         (deadKeyBindings): ditto
701
702         * kbsequence.C (addkey): return a FuncRequest
703
704         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
705
706         * kbmap.C (bind): take a FuncRequest as arg, adjust
707         (read): adjust
708         (lookup): adjust
709         (defkey): change to take a FuncRequest as arg, adjust
710         (findbinding): take a FuncRequest as arg, adjust.
711
712         * funcrequest.h (operator=): added
713
714         * funcrequest.C (FuncRequest): default kb_action changed from
715         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
716
717         * buffer.C (dispatch): simplify
718         (dispatch): adjust to take a FuncRequest as arg, adjust
719
720         * boost.C (assertion_failed): change assertion message slightly
721
722         * ToolbarBackend.C (read): simplify
723
724         * MenuBackend.C (binding): adjust call to findbinding, add a
725         message if no binding is found.
726         (read): simplify
727         (expandToc): correct by adding a empty FuncRequest
728
729         * LyXAction.C: include <boost/assert.hpp>
730         (isPseudoAction): delete function
731         (LookupFunc): change name to...
732         (lookupFunc): this. change return type to FuncRequest.
733         (getActionName): take kb_action as arg, simplify
734         (funcHasFlag): add an assert, simplify.
735
736 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
737
738         * toc.C (action): return a FuncRequest, simplify
739
740         * lyxfunc.C (processKeySym): adjust
741         (getStatus): delete version that takes an int.
742         (getStatus): adjust
743         (dispatch): delete version that takes action as int
744         (dispatch): adjust
745         (sendDispatchMessage): simplify and adjust
746
747         * funcrequest.C (getArg): take unsigned int as arg
748
749         * ToolbarBackend.C (read): adjust
750         (add): delete version that takes func as a string.
751         (getIton): take a FuncRequest as arg
752
753         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
754         action.
755
756         * MenuBackend.C (MenuItem): add a new construct that only takes a
757         Kind, simplify the constructor use for submenus.
758         (add): adjust
759         (expandLastfiles): adjust
760         (expandDocuments): adjust
761         (expandFormats): adjust
762         (expandFloatListInsert): adjust
763         (expandFloatInsert): adjust
764         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
765
766         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
767         Remove class variables lyx_pseudo_map and lyx_arg_map
768
769         * LyXAction.C (searchActionArg): delete function
770         (getPseudoAction): delete function
771         (retrieveActionArg): delete function
772         (LookupFunc): make it return kb_action, simplify.
773         (getActionName): simplify
774
775         * factory.C (createInset): fix new bug
776
777 2003-09-19  Angus Leeming  <leeming@lyx.org>
778
779         * CutAndPaste.C (pasteSelection): remove fudge used to set the
780         masterFilename_ parameter in the include inset.
781
782         * factory.C (createInset): changes due to the changes to InsetInclude.
783
784 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
785
786         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
787
788 2003-09-18  Angus Leeming  <leeming@lyx.org>
789
790         * buffer.C:
791         * BufferView.C: pass the buffer when calling Inset::getLabelList,
792         Inset::fillWithBibKeys.
793         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
794
795 2003-09-18  Angus Leeming  <leeming@lyx.org>
796
797         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
798         variables.
799         (ctor): pass and store a 'Buffer const &'
800         (buffer): new member function.
801
802         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
803         '*this' to the LaTeXFeatures ctor.
804
805 2003-09-18  Angus Leeming  <leeming@lyx.org>
806
807         * LColor.h:
808         * lyxfont.C:
809         * lyxfont.h:
810         * lyxtext.h:
811         * text.C: rename EnumLColor as LColor_color.
812
813 2003-09-18  Angus Leeming  <leeming@lyx.org>
814
815         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
816         remove #include "insets/insetbase.h" from cursor.h.
817
818 2003-09-18  Angus Leeming  <leeming@lyx.org>
819
820         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
821         InsetOld_code to remove #include "inset.h".
822
823         * iterators.C: add #include "insets/inset.h"
824
825 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
826
827         * BufferView.C: remove more locking stuff that apparently doesn't
828         do anything sensible.
829
830 2003-09-16  André Pönitz  <poenitz@gmx.net>
831
832         * paragraph.[Ch]:
833         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
834           performance boost.
835
836 2003-09-16  Angus Leeming  <leeming@lyx.org>
837
838         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
839
840         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
841         arg/return type.
842
843         * paragraph.h: remove #include "lyxfont.h". Forward declare
844         LyXFont_size.
845
846 2003-09-16  Angus Leeming  <leeming@lyx.org>
847
848         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
849         of support/textutils.h.
850         (isWord): move the contents of support/textutils.h's IsWordChar here.
851
852         * buffer.C:
853         * lyxfind.C:
854         * rowpainter.C:
855         * text.C:
856         * text2.C: add #include "paragraph.h".
857
858         * rowpainter.C:
859         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
860
861 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
862
863         * main.C:
864         * lyx_main.C:
865         * lyx_cb.C:
866         * buffer.C:
867         * LaTeX.C: use namespace alias for lyx::support::os
868
869 2003-09-16  Angus Leeming  <leeming@lyx.org>
870
871         * bufferparams.C:
872         * bufferview_funcs.C:
873         * factory.C:
874         * lyxfunc.C:
875         * paragraph_pimpl.C:
876         * rowpainter.C:
877         * text.C: add #include "LColor.h".
878
879 2003-09-16  Angus Leeming  <leeming@lyx.org>
880
881         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
882         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
883         return LyXFont &.
884         Store the FontBits::color variable as an int rather than as an
885         LColor::colorso that we can move LColor.h out of the lyxfont.h header
886         file.
887
888         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
889         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
890         string calls together.
891
892         * lyxrc.C: add #include "LColor.h".
893
894 2003-09-15  Angus Leeming  <leeming@lyx.org>
895
896         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
897         a cow_ptr.
898
899 2003-09-15  Angus Leeming  <leeming@lyx.org>
900
901         * LColor.h: add an EnumLColor wrapper for LColor::color.
902
903         * lyxfont.[Ch] (color, setColor, realColor):
904         * lyxtext.h, text.C (backgroundColor):
905         pass EnumLColor args to/from the functions, rather than LColor::color
906         ones.
907
908         * lyxfont.h:
909         * lyxtext.h: forward declare EnumLColor.
910
911         * lyx_main.C: add #include "LColor.h".
912
913 2003-09-15  Angus Leeming  <leeming@lyx.org>
914
915         * .cvsignore: add lyx-gtk.
916
917 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
918
919         * Chktex.C
920         * LaTeX.C
921         * LaTeXFeatures.C
922         * ParagraphParameters.C
923         * Spacing.C
924         * buffer.C
925         * bufferparams.C
926         * bufferview_funcs.C
927         * chset.C
928         * counters.C
929         * funcrequest.C
930         * lyxfont.C
931         * lyxgluelength.C
932         * lyxlength.C
933         * paragraph.C
934         * paragraph_funcs.C
935         * text3.C
936         * vc-backend.C: remove usage of STRCONV
937
938 2003-09-15  Angus Leeming  <leeming@lyx.org>
939
940         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
941         explicitly define the color passed to the painter.
942
943 2003-09-15  Angus Leeming  <leeming@lyx.org>
944
945         * bufferparams.C (BufferParams): reorder member initializers to avoid
946         compiler warning.
947
948 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
949
950         * CutAndPaste.C (pasteSelection): remove an outdated #warning
951         * text.C (updateRowPositions): remove an unusual nop
952
953 2003-09-12  André Pönitz  <poenitz@gmx.net>
954
955         * BufferView_pimpl.C:
956         * Bullet.C:
957         * layout.h:
958         * lyxfunc.C:
959         * lyxlayout.[Ch]:
960         * lyxtextclass.C:
961         * rowpainter.C:
962         * text.C:
963         * text2.C:
964         * Counters.[Ch]: finish the 'automatic counters' job
965
966 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
967
968         * aspell.C: include <boost/assert.cpp> (compile fix)
969
970 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
971
972         * boost.C (assertion_failed): use lyx::support::abort instead of
973         assert.
974
975 2003-09-10  Angus Leeming  <leeming@lyx.org>
976
977         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
978         with their _fwd progeny.
979
980 2003-09-09  Angus Leeming  <leeming@lyx.org>
981
982         134 files throughtout the source tree: replace 'using namespace abc;'
983         directives with the appropriate 'using abc::xyz;' declarations.
984
985 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
986
987         * boost.C (emergencyCleanup): moved here from LAssert.c
988         (assertion_failed): new function, called by BOOST_ASSERT
989
990         * several files: change Assert to BOOST_ASSERT
991
992 2003-09-09  Angus Leeming  <leeming@lyx.org>
993
994         * buffer.[Ch]: Add an Impl class and move Buffer's member
995         variables into it. As a result move several header files out of
996         buffer.h.
997
998         Add header files to lots of .C files all over the tree as a result.
999
1000 2003-09-09  Angus Leeming  <leeming@lyx.org>
1001
1002         * buffer.[Ch]: make Buffer's member variables private. Add
1003         accessor functions.
1004
1005         Lots of changes all over the tree as a result.
1006
1007 2003-09-08  Angus Leeming  <leeming@lyx.org>
1008
1009         * graph.C: #include <config.h>.
1010
1011 2003-09-08  Angus Leeming  <leeming@lyx.org>
1012
1013         * BranchList.C:
1014         * BufferView.C:
1015         * BufferView_pimpl.C:
1016         * CutAndPaste.C:
1017         * DepTable.C:
1018         * LaTeX.C:
1019         * LaTeXFeatures.C:
1020         * LyXAction.C:
1021         * MenuBackend.C:
1022         * TextCache.C:
1023         * aspell.C:
1024         * buffer.C:
1025         * bufferlist.C:
1026         * changes.C:
1027         * chset.C:
1028         * converter.C:
1029         * counters.C:
1030         * debug.C:
1031         * graph.C:
1032         * ispell.C:
1033         * lyx_cb.C:
1034         * lyxfind.C:
1035         * lyxfunc.C:
1036         * lyxlex_pimpl.C:
1037         * lyxrc.C:
1038         * lyxrow.C:
1039         * paragraph.C:
1040         * rowpainter.C:
1041         * texrow.C:
1042         * text.C:
1043         * text2.C:
1044         * toc.C: remove redundant using directives.
1045
1046 2003-09-07  Angus Leeming  <leeming@lyx.org>
1047
1048         * LaTeXFeatures.h: remove #include "support/types.h".
1049         * ToolbarBackend.h: remove #include <algorithm>.
1050         * changes.h: remove #include <ctime>.
1051         * debug.h: remove #include <iosfwd>.
1052         * graph.h: remove #include "support/std_string.h".
1053         * lyx_main.h: remove #include <csignal>.
1054         * lyxlex_pimpl.h: remove #include <fstream>.
1055         * sgml.h: remove #include <algorithm>, <utility>.
1056         * toc.h: remove #include "support/std_ostream.h".
1057         Add #include <iosfwd>.
1058
1059 2003-09-07  Angus Leeming  <leeming@lyx.org>
1060
1061         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1062
1063         * converter.h: forward declare LatexRunParams.
1064         * encoding.h: remove #include "lyxrc.h".
1065         * lyxtext.h: remove #include "LColor.h".
1066         * lyxtextclass.h: remove #include "support/types.h".
1067         * trans.h: remove #include "tex-accent.h".
1068         * trans_mgr.h: remove #include "tex-accent.h".
1069         * insets/inset.h: remove #include "support/types.h", <vector>.
1070         * insets/insetcollapsable.h: remove #include "LColor.h".
1071         * insets/insetinclude.h: remove #include "dimension.h".
1072         * insets/insetlatexaccent.h: remove #include "dimension.h".
1073         * insets/insetoptarg.h:: remove #include "insettext.h".
1074         * insets/insettext.h: remove #include "dimension.h",
1075         <boost/shared_ptr.hpp>
1076
1077         * insets/renderers.h: add #include "dimension.h".
1078         * insets/updatableinset.h: add #include "support/types.h".
1079
1080         * many .C files: Associated changes.
1081
1082 2003-09-06  Angus Leeming  <leeming@lyx.org>
1083
1084         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1085         one, inside testInvariant.
1086
1087         * PrinterParams.C: new file.
1088         * PrinterParams.[Ch]: move the function bodies out of line.
1089
1090 2003-09-06  Angus Leeming  <leeming@lyx.org>
1091
1092         * ParagraphParameters.h: forward declare ParameterStruct rather than
1093         including its header file.
1094         (depth): moved out-of-line.
1095
1096 2003-09-06  Angus Leeming  <leeming@lyx.org>
1097
1098         * BufferView_pimpl.h:
1099         * kbmap.h:
1100         * kbsequence.h:
1101         * lyxfunc.h: forward declare LyXKeySym rather than
1102         #include "frontends/LyXKeySym.h".
1103
1104         * BufferView_pimpl.C:
1105         * kbmap.C:
1106         * kbsequence.C:
1107         * lyxfunc.C: associated changes.
1108
1109 2003-09-06  Angus Leeming  <leeming@lyx.org>
1110
1111         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1112         As a result, can remove the #include "insets/inset.h" from BufferView.h
1113
1114 2003-09-06  Angus Leeming  <leeming@lyx.org>
1115
1116         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1117         As a result, can remove the #include "insets/inset.h" from BufferView.h
1118
1119 2003-09-06  Angus Leeming  <leeming@lyx.org>
1120
1121         * buffer_funcs.C:
1122         * buffer.h:
1123         * bufferlist.C:
1124         * BufferView.C:
1125         * bufferview_funcs.C:
1126         * BufferView_pimpl.C:
1127         * CutAndPaste.C:
1128         * lyx_cb.C:
1129         * lyxfunc.C:
1130         * paragraph.h:
1131         * ParagraphParameters.C:
1132         * tabular.C:
1133         * text3.C:
1134         * toc.C:
1135         * undo_funcs.C:
1136         * frontends/controllers/ControlDocument.C:
1137         * insets/insetcaption.C: rearrange the #includes into some sort of
1138         coherent order.
1139
1140         * buffer.h: remove #includes ErrorList.h, undo.h
1141
1142 2003-09-06  Angus Leeming  <leeming@lyx.org>
1143
1144         * support/types.h: add a 'depth_type' typedef, used to store the
1145         nesting depth of a paragraph.
1146
1147         * paragraph.h:
1148         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1149         defining explicitly.
1150
1151         * buffer.h:
1152         * paragraph_funcs.h:
1153         * ParagraphParameters.h:
1154         * sgml.h: use lyx::depth_type rather than Paragraph or
1155         ParameterStruct's depth_type.
1156
1157         * buffer.h
1158         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1159
1160         * BufferView.C:
1161         * BufferView_pimpl.C:
1162         * CutAndPaste.C:
1163         * ParagraphParameters.C:
1164         * buffer_funcs.C:
1165         * bufferlist.C:
1166         * bufferview_funcs.C:
1167         * lyx_cb.C:
1168         * lyxfunc.C:
1169         * tabular.C:
1170         * text3.C:
1171         * toc.C:
1172         * undo_funcs.C:
1173         * frontends/LyXView.C:
1174         * frontends/controllers/ControlDocument.C:
1175         * frontends/controllers/ControlErrorList.C:
1176         * insets/insetbibitem.C:
1177         * insets/insetbranch.C:
1178         * insets/insetcaption.C:
1179         * insets/insetcollapsable.C:
1180         * insets/insetenv.C:
1181         * insets/insetert.C:
1182         * insets/insetfloat.C:
1183         * insets/insetfoot.C:
1184         * insets/insetfootlike.C:
1185         * insets/insetnewline.C:
1186         * insets/insetquotes.C:
1187         * insets/insettabular.C:
1188         * insets/insettext.C:
1189         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1190
1191         * frontends/controllers/ControlChanges.C: #include "changes.h".
1192
1193 2003-09-06  Angus Leeming  <leeming@lyx.org>
1194
1195         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1196         than #including paragraph.h.
1197
1198         * ParagraphList.h:
1199         * RowList.h: deleted. Superfluous.
1200
1201         * CutAndPaste.h:
1202         * iterators.h:
1203         * lyxcursor.h:
1204         * lyxtext.h:
1205         * text_funcs.h:
1206         * undo.h:
1207         * undo_funcs.h:
1208         * insets/inset.h:
1209         * insets/insettext.h: use ParagraphList_fwd.h rather than
1210         ParagraphList.h.
1211
1212         * paragraph.h: don't forward declare ParagraphList.
1213
1214         * buffer.h:
1215         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1216         rather than ParagraphList.h. paragraph.h is still needed for the
1217         Paragraph::depth_type parameters.
1218
1219         * textcursor.h: enable it to compile stand-alone in light of the
1220         above changes.
1221
1222         * bufferview_funcs.C:
1223         * iterators.C:
1224         * lyxfunc.C:
1225         * lyxrow_funcs.C:
1226         * paragraph.C:
1227         * rowpainter.C:
1228         * text.C:
1229         * text2.C:
1230         * text3.C:
1231         * text_funcs.C:
1232         * textcursor.C:
1233         * undo.C:
1234         * frontends/controllers/ControlParagraph.C:
1235         * frontends/controllers/ControlTabular.C:
1236         * insets/insetmarginal.C:
1237         * insets/insetminipage.C:
1238         * insets/insetnote.C:
1239         * insets/insetoptarg.C: add header files needed to compile again.
1240
1241 2003-09-06  Angus Leeming  <leeming@lyx.org>
1242
1243         * RowList_fwd.h: new file, forward-declaring Row rather than
1244         #including lyxrow.h.
1245
1246         * lyxrow_funcs.h:
1247         * lyxtext.h:
1248         * paragraph.h:
1249         * insets/insettext.h: use it instead of RowList.h
1250
1251         * bufferview_funcs.C:
1252         * lyxfunc.C:
1253         * lyxrow_funcs.C:
1254         * paragraph.C:
1255         * rowpainter.C:
1256         * text.C:
1257         * text2.C:
1258         * text3.C: #include "RowList.h".
1259
1260 2003-09-05  Angus Leeming  <leeming@lyx.org>
1261
1262         * factory.C (createInset):
1263         * vspace.C (c-tor): replace sscanf call with an istringstream.
1264         * ispell.C: re-add missing HP/UX headers.
1265         * lyxserver.C: re-add missing  os2 headers.
1266
1267 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1268
1269         * BranchList.C:
1270         * graph.C:
1271         * ispell.C:
1272         * lastfiles.C:
1273         * lyx_cb.C:
1274         * lyxserver.C:
1275         * texrow.C:
1276         * text3.C: re-add missing system headers, needed for 2.95.2.
1277
1278 2003-09-05  Angus Leeming  <leeming@lyx.org>
1279
1280         Changes most place everywhere due to the removal of using directives
1281         from support/std_sstream.h.
1282
1283 2003-09-05  Angus Leeming  <leeming@lyx.org>
1284
1285         Replace LString.h with support/std_string.h,
1286         Lsstream.h with support/std_sstream.h,
1287         support/LIstream.h with support/std_istream.h,
1288         support/LOstream.h with support/std_ostream.h.
1289
1290         Changes resulting throughout the tree.
1291
1292 2003-09-05  Angus Leeming  <leeming@lyx.org>
1293
1294         * sgml.h: ensure that the header file can be compiled stand-alone.
1295         * *.C: strip out redundant #includes. (320 in total.)
1296
1297 2003-09-04  Angus Leeming  <leeming@lyx.org>
1298
1299         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1300         here (from getPackages).
1301
1302         * debug.[Ch]: add a new EXTERNAL tag.
1303
1304 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1305
1306         * text2.C (cursorEnd): simplify
1307         (setCursor): adjust
1308         (getColumnNearX): adjust
1309
1310         * text.C (computeBidiTables): adjust
1311         (fill): adjust
1312
1313         * rowpainter.C (paintChars): adjust
1314         (paintSelection): adjust
1315         (paintChangeBar): adjust
1316         (paintText): adjust
1317
1318         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1319         lastPos instead.
1320         (numberOfSeparators): adjust
1321
1322 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * LyXAction.C:
1325         * box.[Ch]:
1326         * lfuns.h:
1327         * lyxfunc.C:
1328         * text3.C: Restricts the mouse click functionality
1329         of insets like bibtex, include, toc and floatlist to the visible
1330         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1331         up the dialogs. Cursor has to be in front of the inset (i.e.
1332         start of row) for this to function.
1333
1334 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1335
1336         * bufferview_funcs.C (currentState): output row information
1337
1338 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1339
1340         * bufferview_funcs.C (currentState): output paragraph position
1341
1342 2003-09-04  Angus Leeming  <leeming@lyx.org>
1343
1344         * FloatList.h: move out #include "Floating.h".
1345         * LaTeX.h: move out #include "DepTable.h".
1346         * LyXAction.h: move out #include "funcrequest.h".
1347         * buffer.h: move out #include "author.h", "iterators.h".
1348         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1349         * lyx_main.h: move out #include "errorlist.h".
1350         * lyxfunc.h: move out #include "FuncStatus.h".
1351         * lyxtext: move out #include "lyxcursor.h".
1352         * paragraph_pimpl.h: move out #include "counters.h".
1353
1354 2003-09-03  Angus Leeming  <leeming@lyx.org>
1355
1356         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1357         preamble_snippets list, enabling us to add snippets to the preamble
1358         only if the snippet was not there already.
1359
1360 2003-09-04  Angus Leeming  <leeming@lyx.org>
1361
1362         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1363
1364 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1365
1366         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1367         update
1368
1369 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1370
1371         * BranchList.C: point fix, earlier forgotten
1372
1373 2003-09-02  Angus Leeming  <leeming@lyx.org>
1374
1375         * box.C (contains): renamed from 'contained' after a fantastic
1376         amount of hot air.
1377
1378 2003-09-02  John Levon  <levon@movementarian.org>
1379
1380         * BufferView.C:
1381         * lyxcursor.h:
1382         * lyxcursor.C:
1383         * lyxfunc.C:
1384         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1385
1386 2003-09-02  John Levon  <levon@movementarian.org>
1387
1388         * text2.C: simplification of cursorEnd(), including partial
1389         fix for bug 1376
1390
1391 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1392
1393         * buffer.C (readFile): add a space
1394
1395 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1396
1397         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1398
1399 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1400
1401         * buffer.C (readFile): new function, take a filename and a
1402         ParagraphList::iterator
1403         (readFile): adjust
1404         (readFile): adjust, make it private. don't use setStream, make
1405         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1406         always contain the filename.
1407
1408         * BufferView.C (insertLyXFile): simplify and make it work for
1409         gzipped files.
1410
1411 2003-08-30  John Levon  <levon@movementarian.org>
1412
1413         * Makefile.am: fix dist (from Kayvan)
1414
1415 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1416
1417         * most files: change to use const Buffer refs
1418
1419 2003-08-27  André Pönitz  <poenitz@gmx.net>
1420
1421         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1422         on top of ownerPar().
1423
1424 2003-08-27  John Levon  <levon@movementarian.org>
1425
1426         * funcrequest.C: properly initialise POD members
1427
1428 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1429
1430         * lyxtext.h (top_y): move top_y from here
1431         * text.C:
1432         * text2.C:
1433         * text3.C:
1434         * BufferView.[Ch]:
1435         * BufferView_pimpl.[Ch]: to here
1436         * frontends/screen.C:
1437         * insets/insettabular.C:
1438         * insets/insettext.C: adjust
1439         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1440
1441 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1442
1443         * BufferView.[Ch]:
1444         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1445
1446 2003-08-26  André Pönitz  <poenitz@gmx.net>
1447
1448         * paragraph_func.[Ch] (outerPar): new function
1449
1450         * paragraph.C:
1451         * paragraph_funcs.C:
1452         * paragraph_funcs.h:
1453         * paragraph_pimpl.C:
1454         * text2.C: remove Inset::par_owner
1455
1456 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1457
1458         * lyxrow_funcs.C:
1459         * lyxtext.h:
1460         * text.C:
1461         * text2.C: eliminates the needFullRow/display() stuff
1462         altogether, putting the logic in metrics/draw in the insets.
1463
1464 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1465
1466         * text2.C (redoParagraphInternal, redoParagraphs):
1467         * text.C (redoParagraph): add a call to updateRowPositions at the
1468         end of each 'metrics-like' call. Remove all others.
1469         (getRow): remove the 'y-computing' version.
1470         (getRowNearY): do not compute nor return the real y. Solve the
1471         'y < 0' problem and simplify.
1472
1473 2003-08-22  Angus Leeming  <leeming@lyx.org>
1474
1475         * *.[Ch]: clean-up of licence and author blurbs.
1476         Also move config.h out of a few .h files and into a few .C files.
1477
1478 2003-08-22  André Pönitz  <poenitz@gmx.net>
1479
1480         * lyxrow.[Ch]: add x_ and *fill_ members
1481
1482         * lyxtext.h:
1483         * text.C:
1484         * rowpainter.C:
1485         * text2.C: adjust/remove prepareToPrint() calls
1486
1487 2003-08-22  André Pönitz  <poenitz@gmx.net>
1488
1489         * lyxrow.[Ch]: add  end_ member
1490
1491         * lyxrow_funcs.C: use LyXRow::end_
1492
1493         * lyxtext.h (singleWidth): add LyXFont parameter
1494
1495         * rowpainter.C:
1496         * text2.C: adjust LyXText::singleWidth() calls
1497
1498         * text.C (redoParagraph): simplify row breaking logic
1499
1500
1501 2003-08-19  André Pönitz  <poenitz@gmx.net>
1502
1503         * funcrequest.C: initialize button_ member
1504
1505         * text3.C:
1506         * rowpainter.[Ch]: interface consolidation
1507
1508 2003-08-18  André Pönitz  <poenitz@gmx.net>
1509
1510         * BufferView.C:
1511         * BufferView_pimpl.C:
1512         * lyxfind.C:
1513         * paragraph_funcs.C:
1514         * rowpainter.C:
1515         * text3.C: remove LyXScreen::draw() and fitCursor calls
1516
1517         * BranchList.h: remove spurious semicolons
1518
1519         * MenuBackend.C: fix branchlist related crash
1520
1521 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1522
1523         * BranchList.[Ch]:
1524         * InsetList.[Ch]:
1525         * LColor.[Ch]:
1526         * LyXAction.C:
1527         * Makefile.am:
1528         * MenuBackend.[Ch]:
1529         * bufferparams.[Ch]:
1530         * factory.C:
1531         * lfuns.h:
1532         * lyxfunc.C:
1533         * text3.C: implements the 'branch inset'
1534         idea. This allows the output of various versions of a document
1535         from a single source version, selectively outputing or suppressing
1536         output of parts of the text.
1537         This implementation contains a 'branch list editor' in a separate
1538         tab of the document settings dialog. Branches are user definable
1539         and have a "display colour" to distinguish them on-screen.
1540
1541         ColorHandler was somewhat cleaned up.
1542         (1) make possible a dynamically growing LColor list by allowing
1543         the graphic context cache to grow along (vector);
1544         (2) eliminate an IMHO unnecessary step in colour allocation.
1545
1546 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1547
1548         * BufferView_pimpl.C: compile fix
1549
1550 2003-08-15  André Pönitz  <poenitz@gmx.net>
1551
1552         * rowpainter.C: remove extra metrics calls
1553
1554         * lyxtext.h: merge the two constructors into a single one,
1555           pass reference to owner's par list
1556
1557         * BufferView_pimpl.C:
1558         * text.C:
1559         * text2.C: adjust
1560
1561 2003-08-15  André Pönitz  <poenitz@gmx.net>
1562
1563         * lyxrow_funcs.[Ch]:
1564         * lyxtext.h:
1565         * paragraph.h:
1566         * paragraph_funcs.C:
1567         * rowpainter.C:
1568         * text.C:
1569         * text2.C:
1570         * text3.C:
1571         * text_funcs.C: split LyXText::rowlist_ into individual
1572         Paragraph::rows_ chunks
1573
1574         * BufferView.[Ch]:
1575         * BufferView_pimpl.[Ch]:
1576         * lyxfind.C:
1577         * lyxtext.h:
1578         * text3.C: remove toggleSelection()
1579
1580 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1581
1582         * bufferlist.C: beautify two alerts (shorter text of buttons)
1583         * buffer.C: Remove redundant ' ' from message
1584         * tabular.h:
1585         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1586         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1587         rename VALIGN_CENTER to VALIGN_MIDDLE
1588
1589 2003-08-11  André Pönitz  <poenitz@gmx.net>
1590
1591         * lyxtext.h (getPar):
1592         * text.C: new function
1593
1594 2003-08-11  André Pönitz  <poenitz@gmx.net>
1595
1596         * Makefile.am:
1597         * tracer.[Ch]: remove unneeded files
1598
1599         * InsetList.[Ch]: remove resizeInsetsLyXText()
1600
1601         * lyxtext.h:
1602         * text.C:
1603         * text2.C:
1604         * text3.C: merge insertParagraphs() and appendParagraph()
1605         remove breakAgain(), update()
1606
1607         * BufferView_pimpl.[Ch]:
1608         * bufferview_funcs.[Ch]:
1609         * lyxfunc.C:
1610         * paragraph.[Ch]:
1611         * rowpainter.C:
1612         * tabular.C: adjust after text & InsetList changes.
1613
1614 2003-08-08  André Pönitz  <poenitz@gmx.net>
1615
1616         * text.C (insertChar, backspace): replace rowlist fiddling
1617         with rebreak of full par
1618
1619         * lyxtext.h:
1620         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1621         checkParagraph, updateInset): removed
1622
1623 2003-08-07  André Pönitz  <poenitz@gmx.net>
1624
1625         * paragraph.C:
1626         * text3.C: merge some LFUN handlers, remove dead code
1627
1628 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1631
1632 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1633
1634         * text2.C (DEPM): fix part of bug 1255 and 1256
1635
1636 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1637
1638         * BufferView_pimpl.C (workAreaDispatch): change to use
1639         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1640         that are no mouse related.
1641
1642 2003-08-05  André Pönitz  <poenitz@gmx.net>
1643
1644         * BufferView.[Ch]:
1645         * BufferView_pimpl.[Ch]:
1646         * bufferview_funcs.C:
1647         * text2.C:
1648         * text3.C: rip out "deep update"
1649
1650         * textcursor.[Ch] (last_sel_cursor): remove unused member
1651
1652 2003-08-04  André Pönitz  <poenitz@gmx.net>
1653
1654         * BufferView.[Ch]:
1655         * BufferView_pimpl.[Ch]:
1656         * ParagraphParameters.C:
1657         * bufferview_funcs.C:
1658         * lyx_cb.C:
1659         * lyxfind.C:
1660         * lyxfunc.C:
1661         * text.C:
1662         * text2.C:
1663         * text3.C: replace "complicated" BufferView::update(...) calls with
1664         simpler ones.
1665
1666         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1667
1668 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1669
1670         * Makefile.am (lyx_SOURCES): add paper.h
1671
1672 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1673
1674         * Makefile.am: move things around so that both lyx-qt and
1675         lyx-xforms can be built (according to --with-frontend). Then lyx
1676         is a symbolic link to lyx-[firstfrontend]
1677
1678 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1679
1680         * Always use std::endl with lyxerr
1681
1682 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1683
1684         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1685
1686 2003-08-01  André Pönitz  <poenitz@gmx.net>
1687
1688         * BufferView.[Ch]:
1689         * BufferView_pimpl.[Ch]:
1690         * lyxfunc.C:
1691         * text3.C: merge BufferView::repaint() and BufferView::update()
1692
1693 2003-08-01  José Matos  <jamatos@lyx.org>
1694
1695         * buffer.[Ch]: file_format is no longer a buffer data element.
1696
1697 2003-08-01  André Pönitz  <poenitz@gmx.net>
1698
1699         * BufferView.C:
1700         * lyxtext.h:
1701         * text.C:
1702         * text2.C: make redoParagraph more independent of current cursor
1703
1704         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1705         * text.C:
1706         * text2.C: remove unneeded members
1707
1708 2003-07-30  André Pönitz  <poenitz@gmx.net>
1709
1710         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1711
1712         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1713           create a single function...
1714
1715         * paragraph_funcs.C (moveItem): ... here.
1716
1717         * text.C:
1718           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1719
1720 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1721
1722         * LColor.[Ch]: Add comment and greyedout logical colors.
1723
1724 2003-07-30  André Pönitz  <poenitz@gmx.net>
1725
1726         * tabular.C: don't use Assert too heavily. This crashes where it
1727           shouldn't
1728
1729 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1730
1731         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1732         is disabled (bug 1232)
1733
1734 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1735
1736         * factory.C: limited 'arg' scope
1737
1738 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1739
1740         * factory.C: fixed Note submenu issues
1741
1742 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1743
1744         * factory.C: submenu for Note/Comment/Greyedout
1745
1746 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1747
1748         * lyx_main.C (LyX):
1749         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1750
1751 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1752
1753         * LaTeXFeatures.C:
1754         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1755         greyedout. Patch provided by Jürgen Spitzmüller.
1756
1757 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1758
1759         * kbmap.C (read): fix error message when reading bind files
1760
1761 2003-07-29  Angus Leeming  <leeming@lyx.org>
1762
1763         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1764         certainly does not do what it purports to do. I am doing it, and
1765         us, a favour by killing it.
1766
1767 2003-07-28  José Matos  <jamatos@lyx.org>
1768
1769         * buffer.C (readBody, do_writeFile):
1770         * paragraph.C(readParagraph): \end_document replaces \the_end.
1771
1772 2003-07-29  André Pönitz  <poenitz@gmx.net>
1773
1774         * BufferView.[Ch]:
1775         * BufferView_pimpl.[Ch]:
1776         * lyxfunc.C:
1777         * text2.C:
1778         * text3.C:
1779         * textcursor.[Ch]: remove toggleToggle & Co
1780
1781 2003-07-28  José Matos  <jamatos@fep.up.pt>
1782
1783         * buffer.C (readParagraph):
1784         * params_func (readParToken, readParagraph):
1785         * paragraph.C (write): \layout -> \begin_layout.
1786
1787 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1788
1789         * lyxlex_pimpl.C (setFile): clean up slightly.
1790
1791         * bufferparams.h: add compressed var
1792
1793         * buffer_funcs.C (readFile): adjust for LyXLex change
1794         (newFile): ditto + simplify
1795
1796         * buffer.C (writeFile): handle writing of compressed files
1797
1798         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1799         Check if the file is compressed and set a bufferparm if so.
1800
1801         * Makefile.am (lyx_LDADD): remove explicit -lz
1802
1803 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1804
1805         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1806         makeDocBookFile): put the real LyX version in the first line of
1807         the file
1808
1809         * version.h:
1810         * version.C.in: remove lyx_docversion
1811
1812         * tabular.C (write_attribute): add a template-based version to
1813         write enums properly
1814
1815 2003-07-28  André Pönitz  <poenitz@gmx.net>
1816
1817         * lyxtext.h:
1818         * text.C:
1819         * text2.C:
1820         * text3.C: use doubles again for x-coordinates. They are needed.
1821
1822 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1823
1824         * messages.C (getLocaleDir): use lyx_localedir()
1825
1826         * lyxlex_pimpl.C (setFile): compress stuff
1827
1828         * buffer.C (writeFile): add some compression stuff
1829         (do_writeFile): new func, dont call expliti close... will this
1830         breake anything?
1831
1832         * Makefile.am (lyx_LDADD): add -lz
1833
1834 2003-07-28  José Matos  <jamatos@fep.up.pt>
1835
1836         * buffer.C: increment file format.
1837         * paragraph_funcs (readParagraph, readParToken):
1838         * paragraph.C (readParagraph): add \end_layout.
1839
1840 2003-07-27  Angus Leeming  <leeming@lyx.org>
1841
1842         * Makefile.am: remove special casing for configure-time setting of
1843         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1844
1845         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1846         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1847
1848 2003-07-26  André Pönitz  <poenitz@gmx.net>
1849
1850         * paragraph_func.[Ch]:
1851         * paragraph.C (realizeFont): inline it whereever it is used
1852
1853         * rowpainter.C:
1854         * text.C:
1855         * text2.C:
1856         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1857
1858
1859 2003-07-26  André Pönitz  <poenitz@gmx.net>
1860
1861         *       lyxtext.h:
1862         * text.C:
1863         * text2.C: get rid of LyXText::need_break_row
1864
1865 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1866
1867         * toc.[Ch]: put namespace toc inside namespace lyx
1868
1869         * MenuBackend.C (expandToc2): adjust for lyx::toc
1870         (expandToc): ditto
1871
1872         * lyxfunc.C (dispatch): adjust for lyx::find
1873
1874         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1875         lyx::find instead. Reorganize a bit.
1876         (LyXReplace): rename to replace
1877         (LyXFind): rename to find
1878
1879         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1880         (dispatch): ditto
1881
1882 2003-07-26  André Pönitz  <poenitz@gmx.net>
1883
1884         * text.C (setHeightOfRow): restrict scope of temporary variable
1885
1886         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1887           code (never has been used?)
1888
1889 2003-07-27  Asger Alstrup  <alstrup@local>
1890
1891         * text.C (fill): Optimise algorithm to exploit that we can reuse
1892         the LyXFont for many characters.
1893         (setHeightOfRow): Same thing.
1894         (rowBreakPoint): Same thing.
1895
1896 2003-07-26  Asger Alstrup  <alstrup@local>
1897
1898         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1899
1900         * text.C (singleWidth): Spurious font copying in hot-spot
1901         singleWidth avoided. Reorder tests for arabic for efficiency.
1902
1903         * text.C (fill): handle empty paragraphs better.
1904
1905 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1906
1907         * ispell.C:
1908         * encoding.h: add includes
1909
1910         * lyxrc.C: remove reading of bind files
1911
1912         * lyx_main.C (init): setup bindings and menus only if we have a
1913         gui.
1914
1915         * kbmap.C (read): new method. Do the actual reading of bind
1916         files.
1917
1918         * converter.C (dvipdfm_options):
1919         * bufferparams.C:
1920         * lyxrc.C (read):
1921         (output): adapt PAPER_* enums.
1922
1923         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1924
1925         * bufferparams.h: remove paper-related enums from there
1926
1927         * paper.h: New file. A trivial header file to hold paper-related
1928         enums. It should later expand to contain many paper-related
1929         horrors access.
1930
1931         * lyxrc.C: declare extern displayTranslator
1932
1933 2003-07-27  José Matos  <jamatos@fep.up.pt>
1934
1935         * tabular.[Ch] (linuxdoc): add support for tables and figures
1936         (linuxdoc).
1937
1938 2003-07-27  José Matos  <jamatos@fep.up.pt>
1939
1940         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1941         consistency in both functions.
1942         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1943
1944 2003-07-26  Asger Alstrup  <alstrup@local>
1945
1946         * rowpainter.C (paintRows): Change algorithm to work directly on
1947         the insets rather than asking every character in the document
1948         whether its an inset.
1949
1950 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1951
1952         * buffer.C (openFileWrite): factorize some code
1953
1954 2003-07-26  Angus Leeming  <leeming@lyx.org>
1955
1956         * lyx_cb.C:
1957         * lyx_main.[Ch]: replace occurances of system_tempdir with
1958         os::getTmpDir().
1959
1960 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1961
1962         * rename Inset to InsetOld
1963
1964 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1965
1966         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1967         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1968         which I think is a bit clearer. EDIT is gone, since it was
1969         premature optimisation, and broken for mathed anyway.
1970         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1971         with cursor positioning in insets as well (math insets still do not
1972         work, but that's a different story anyway.) It mysteriously
1973         crashes sometimes with undo in the first paragraph, but I'm fairly
1974         confident that this is a compiler bug.
1975
1976 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1977
1978         * paragraph.C (Paragraph): adjust for new clone return type
1979         (operator==): ditto
1980         (copyIntoMinibuffer): ditto
1981
1982 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1983
1984         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1985         by not having a special case, and always doing a full rebreak of
1986         the document after undo.
1987
1988 2003-07-23  Angus Leeming  <leeming@lyx.org>
1989
1990         * factory.C (createInset): InsetExternal::setParams now takes a
1991         Buffer const * arg.
1992
1993 2003-07-23  Angus Leeming  <leeming@lyx.org>
1994
1995         * factory.C (createInset): changed interface to the external and
1996         graphics mailers' string2params functions.
1997
1998 2003-07-23  Angus Leeming  <leeming@lyx.org>
1999
2000         * factory.C (createInset): pass a
2001         Buffer const * parameter to InsetExternalMailer's string2params.
2002
2003 2003-07-22  John Levon  <levon@movementarian.org>
2004
2005         * Thesaurus.h: include the right aiksaurus header
2006
2007 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2008
2009         * MenuBackend.C (expand): check menu shortcuts unconditionally
2010
2011 2003-07-21  Angus Leeming  <leeming@lyx.org>
2012
2013         * factory.C (createInset): pass a
2014         buffer_path parameter to InsetGraphicsMailer's string2params.
2015
2016 2003-07-21  Angus Leeming  <leeming@lyx.org>
2017
2018         * BufferView_pimpl.C (buffer):
2019         * buffer.C (d-tor):
2020         * lyx_main.C (LyX):
2021         * lyxfunc.C (dispatch):
2022         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2023         rather than the grfx shortcut.
2024
2025 2003-07-21  André Pönitz  <poenitz@gmx.net>
2026
2027         * rowpainter.C: remove unused variables
2028
2029         * tabular_funcs.C:
2030         * tabular_funcs.h: move to tabular.C
2031         * Makefile.am: adjust
2032
2033         * tabular.[Ch]: basic optical cleaning
2034
2035         * author.h: pass references, not values
2036
2037 2003-07-18  André Pönitz  <poenitz@gmx.net>
2038
2039         * lyxtext.h:
2040         * metricsinfo.C:
2041         * metricsinfo.h:
2042         * rowpainter.C:
2043         * text.C:
2044         * text2.C:
2045         * text3.C: two-phase drawing for InsetText and InsetTabular
2046         some float -> int changes.
2047
2048 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2049
2050         * lyx_main.C: fix the fix
2051
2052 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2053
2054         * lyx_main.C: fix a crash in batch mode if no files specified
2055         * converter.C: ws
2056
2057 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2058
2059         * format.[Ch] (papersize): moved to BufferParams
2060         * converter.[Ch] (dvips_options): moved to BufferParams
2061         (dvipdfm_options): moved to anon namespace
2062         * bufferparams.[Ch]: added above functions.
2063
2064 2003-07-17  André Pönitz  <poenitz@gmx.net>
2065
2066         * lyxtext.h:
2067         * rowpainter.C:
2068         * text2.C: don't call inset->update() anymore
2069
2070         * metricsinfo.[Ch]: add convenience constructor
2071
2072 2003-07-16  André Pönitz  <poenitz@gmx.net>
2073
2074         * lyxcursor.[Ch]:
2075         * lyxfunc.[Ch]:
2076         * text.C:
2077         * text2.C: replace the LyXCursor::irow_ member with
2078          on-demand computation of the value
2079
2080 2003-07-16  John Levon  <levon@movementarian.org>
2081
2082         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2083
2084 2003-07-15  André Pönitz  <poenitz@gmx.net>
2085
2086         * text.C:
2087         * text2.C: remove no more needed refresh_row
2088
2089 2003-07-15  André Pönitz  <poenitz@gmx.net>
2090
2091         * lyxtext.h:
2092         * rowpainter.C:
2093         * text2.C:
2094         * text3.C: refresh_status tristate -> need_update bool
2095
2096 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2097
2098         * lyxtext.h (init): remove reinit argument (act as if always true)
2099         * text2.C: adjust to that
2100
2101 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2102
2103         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2104         * text3.C: use it to delete selections in some cases
2105         (bugs 441, 673, 702, 954).
2106
2107 2003-07-14  André Pönitz  <poenitz@gmx.net>
2108
2109         * rowpainter.[Ch]: reduce interface
2110
2111 2003-07-14  André Pönitz  <poenitz@gmx.net>
2112
2113         * BufferView_pimpl.C:
2114         * text2.C: adjust after removing unused BufferView * argument
2115
2116 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2117
2118         * text2.C (init): fix a crash fired on resize
2119
2120 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2121
2122         * buffer.[Ch]: added new closing signal
2123         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2124         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2125         BufferView::Pimpl via the closing the signal
2126
2127 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2128
2129         * buffer.[Ch]: take out all bv-related from buffer
2130         * BufferView.C:
2131         * BufferView_pimpl.[Ch]: connect to new signals
2132         * CutAndPaste.C: removed useless asserts
2133         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2134         * lyxvc.[Ch]:
2135         * vc-backend.[Ch]:
2136         * lyxfunc.C: moved view-related funciontality from vc here
2137         * paragraph.C: removed outdated comments
2138         * text.C: ws
2139
2140 2003-07-10  André Pönitz  <poenitz@gmx.net>
2141
2142         * BufferView_pimpl.C:
2143         * tabular.h:
2144         * tabular_funcs.C:
2145         * text.C:
2146         * text2.C: remove InsetText::InnerCache, clean up consequences
2147
2148 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2149
2150         * ispell.C: fix two typos in error messages
2151
2152 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2153
2154         * Extend Note inset to other forms of annotation like Comment
2155         and Greyedout. Right button click gives dialog.
2156
2157         Files modified or added (+):
2158
2159         * insetnote.[Ch]
2160         * FormNote.[Ch]      +
2161         * ControlNote.[Ch]   +
2162         * form_note.fd       +
2163         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2164         frontends/controllers
2165         * xforms/Dialogs.C
2166         * factory.C
2167
2168 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2169
2170         * aspell.C: add missing namespace lyx::support
2171
2172 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2173
2174         * BufferView.[Ch] (newFile): Add
2175         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2176         * LaTeX.[Ch] (message): added this signal and use it
2177         * buffer.[Ch] (busy, message): added these signals and use them
2178         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2179         * converter.C:
2180         * exporter.C:
2181         * format.C:
2182         * importer.C: use buffer signals instead of direct bv calling
2183         * lyx_cb.[Ch] (ShowMessage): removed
2184         * lyx_main.C:
2185         * lyxfunc.C:
2186         * paragraph_funcs.C:
2187         * text2.C: use buffer signals
2188
2189 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2190
2191         * introduce namespace lyx::graphics
2192
2193 2003-07-02  André Pönitz  <poenitz@gmx.net>
2194
2195         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2196
2197 2003-07-01  André Pönitz  <poenitz@gmx.net>
2198
2199         * text.C:
2200         * text2.C:
2201         * text3.C:
2202         * text_funcs.[Ch]:
2203         * textcursor.h:
2204         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2205           text*.C to text_func.C
2206
2207 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2208
2209         * introduce namespace lyx::support
2210
2211 2003-06-30  André Pönitz  <poenitz@gmx.net>
2212
2213         * Chktex.C:
2214         * funcrequest.C:
2215         * lyxtext.h:
2216         * text.C: re-enable --with-included-string
2217
2218 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2219
2220         * textcursor.C: add <config.h>
2221
2222         * text.C (getWord): remove const from word_location arg
2223
2224         * lyxvc.C (getLogFile): fix const type order
2225
2226         * lyxtext.h: remove const from word_location arg, add arg name
2227
2228         * lyxlayout.h: currect type on labeltype.
2229
2230         * importer.C: correct \file
2231
2232         * converter.C (intToFormat): use std:: on ret val, ws changes
2233
2234         * bufferlist.h: correct \file
2235
2236         * buffer.C (makeLinuxDocFile): fix const type order
2237         (makeDocBookFile): ditto
2238         (fillWithBibKeys): use std:: on stdlib args.
2239
2240         * CutAndPaste.C: fix authors.
2241         (availableSelections): use std:: on return vector
2242
2243 2003-06-27  André Pönitz  <poenitz@gmx.net>
2244
2245         * BufferView_pimpl.C:
2246         * bufferview_funcs.C:
2247         * lyxcursor.C:
2248         * lyxcursor.h:
2249         * lyxfunc.C:
2250         * lyxtext.h:
2251         * rowpainter.C:
2252         * text.C:
2253         * text2.C:
2254         * text3.C: remove LyXCursor::row_ member
2255
2256         * lyxtext.h:
2257         * text.C: rename fullRebreak() to partialRebreak() and implement
2258           a fullRebreak() that really bereks fully
2259
2260         * textcursor.h: new struct for cursor-related data
2261
2262 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * lyx_main.C (LyX): get full path of document loaded on the
2265         command line
2266
2267 2003-06-26  André Pönitz  <poenitz@gmx.net>
2268
2269         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2270           remove unused/broken operator>,<,>=.
2271
2272         *       text.C: remove only use of broken operator<= in an Assert().
2273
2274 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2275
2276         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2277         moved errorlist_.clear to showErrorList
2278
2279 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2280
2281         * converter.C (scanLog, runLaTeX):
2282         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2283         move the bv->showErrorList call to the callers
2284         * lyxfunc.C: i.e. here...
2285         * text2.C: and here
2286         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2287         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2288         namespace, the second to...
2289         * buffer_funcs (BufferFormat, parseErrors): added
2290         * errorlist.C (ErrorList(TeXErrors const &)): removed
2291
2292 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2293
2294         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2295
2296 2003-06-24  "Garst R. Reese" <reese@isn.net>
2297
2298         * debug.C: fix typo
2299
2300 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2303
2304         * version.C.in: change docversion to 1.4
2305
2306 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2307
2308         * buffer.C: fix a bug just introduced
2309
2310 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2311
2312         * buffer.[Ch]: added the parseError signal and use it, removed
2313         sgmlError
2314         * BufferView.[Ch] (addError): moved to ...
2315         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2316         to the Buffer::parseError signal to catch (guess what) parse errors
2317         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2318
2319 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2320
2321         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2322         ability to create a buffer and to return an existing one from
2323         the list. Moved these functions to...
2324         * buffer_funcs.[Ch]: added
2325         * BufferView.[Ch] (loadLyXFile): added
2326         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2327         job removed from bufferlist::loadLyXFile.
2328         * buffer.C (setReadOnly): make it work without view
2329         (i.e added an if (users))
2330
2331 2003-06-19  Angus Leeming  <leeming@lyx.org>
2332
2333         * lfuns.h:
2334         * LyXAction.C (init):
2335         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2336         with LFUN_DIALOG_SHOW <name> <data>.
2337
2338 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2339
2340         * CutAndPaste.C (availableSelections): small compilation fix for
2341         ancient (gcc 2.9x) compilers
2342
2343 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2344
2345         * text3.C (cursorNext): add tmp var
2346
2347         * text2.C (updateCounters): for function calling out of for clause
2348         (replaceSelectionWithString): ditto
2349         (insertStringAsParagraphs): ditto
2350         (getColumnNearX): add tmp var
2351         (setCursorFromCoordinates): add tmp var
2352         (cursorDownParagraph): add tmp var
2353         (deleteEmptyParagraphMechanism): add tmp var
2354
2355         * text.C (insertChar): add tmp var
2356
2357         * rowpainter.C (paintDepthBar): add tmp var
2358
2359         * CutAndPaste.C (availableSelections): potentially check all
2360         paragraphs in a cut to fill the shown strings.
2361
2362 2003-06-18  André Pönitz  <poenitz@gmx.net>
2363
2364         * kbmap.[Ch]: use vector<> instead of list<>
2365
2366 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2367
2368         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2369         pasteSelection with index
2370
2371         * text2.C (pasteSelection): modify, call pasteSelection with index
2372
2373         * paragraph.C (asString): reimplement version with no interval to
2374         call the one with interval.
2375
2376         * lyxtext.h: add index arg to pasteSelection
2377
2378         * MenuBackend.C (MenuItem): handle PasteRecent
2379         (Menu::read::Menutags): add md_pasterecent
2380         (read): handle it
2381         (expandPasteRecent): new function
2382         (expand): use it
2383
2384         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2385
2386         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2387         the limited stack
2388         (availableSelections): new function
2389
2390 2003-06-17  Angus Leeming  <leeming@lyx.org>
2391
2392         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2393
2394 2003-06-17  Angus Leeming  <leeming@lyx.org>
2395
2396         * lfuns.h:
2397         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2398
2399         * lyxfunc.C (dispatch): invoke it.
2400
2401 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2402
2403         * iterators.C (operator++, ParPosition): reintroduce some
2404         const_cast for the benefit of older compilers.
2405
2406 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * text3.C (dispatch): do not modify clipboard when doing
2409         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2410         LFUN_DELETE_SKIP on a selection selection
2411
2412 2003-06-16  André Pönitz  <poenitz@gmx.net>
2413
2414         * BufferView.C:
2415         * buffer.C:
2416         * buffer.h:
2417         * paragraph.C:
2418         * tabular.[Ch]: IU of clone() and getLabelList();
2419
2420 2003-06-13  André Pönitz  <poenitz@gmx.net>
2421
2422         * tabular.h: compactification
2423
2424 2003-06-12  André Pönitz  <poenitz@gmx.net>
2425
2426         * tabular.C:
2427         * tabular.h:
2428         * tabular_funcs.h: some renaming plus whitespace
2429
2430 2003-06-12  André Pönitz  <poenitz@gmx.net>
2431
2432         * BufferView.C:
2433         * BufferView_pimpl.C:
2434         * CutAndPaste.C:
2435         * buffer.C:
2436         * iterators.[Ch]:
2437         * lyxfunc.C:
2438         * text.C:
2439         * toc.C: Return a Paragraph & for ParIterator::operator*()
2440
2441 2003-06-11  John Levon  <levon@movementarian.org>
2442
2443         * lyx_main.C:
2444         * ToolbarBackend.h:
2445         * ToolbarBackend.C: add "Toolbars" section and
2446         put the flags there
2447
2448 2003-06-10  Angus Leeming  <leeming@lyx.org>
2449
2450         * lfuns.h:
2451         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2452
2453         * lyxfunc.C (dispatch): invoke it.
2454
2455 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2456
2457         * main.C: protect <ios> with HAVE_IOS
2458         (main): protect sync_with_stdio with HAVE_IOS
2459
2460 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2461
2462         * text2.C (cutSelection): adjust
2463         (pasteSelection): adjust
2464
2465         * messages.C: handle get of empty string
2466
2467         * main.C (main): use sync_with_stdio(false)
2468
2469         * lyxfunc.C (dispatch): adjust
2470
2471         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2472         (WriteAs): remove unneeded BufferView arg.
2473
2474         * bufferparams.h: use correct types on papersize, papersize2 and
2475         paperpackage.
2476
2477         * bufferparams.C (readToken): adjust for type
2478         (writeLaTeX): add missing cases to switch.
2479
2480         * bufferlist.C (quitWriteBuffer): adjust
2481         (close): adjust
2482
2483         * buffer.C (asciiParagraph): remove some commented code.
2484
2485         * CutAndPaste.C: remove current_view extern variable.
2486         (cutSelection): add BufferParams arg.
2487         (eraseSelection): add BufferParams arg.
2488         (pasteSelection): add Buffer const & arg
2489
2490 2003-06-07  John Levon  <levon@movementarian.org>
2491
2492         * buffer.C:
2493         * paragraph_funcs.C:
2494         * paragraph_pimpl.C:
2495         * text.C:
2496         * text2.C:
2497         * paragraph.h:
2498         * paragraph.C: allow InsetERT to freely space lines,
2499         and some consolidation of code
2500
2501 2003-06-06  José Matos  <jamatos@fep.up.pt>
2502
2503         * buffer.C (makeDocBookFile): fix bug #821
2504
2505 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2506
2507         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2508
2509 2003-06-04  Angus Leeming  <leeming@lyx.org>
2510
2511         * buffer.C: bump format to 224.
2512
2513 2003-06-05  André Pönitz  <poenitz@gmx.net>
2514
2515         * text2.C (redoParagraphs): remove two const_cast<>
2516
2517 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2518
2519         * ParagraphList.h: remove last remnants of NO_STD_LIST
2520
2521 2003-06-03  Angus Leeming  <leeming@lyx.org>
2522
2523         * factory.C (createInset): small change to the way InsetExternal's params
2524         are set.
2525
2526 2003-06-04  André Pönitz  <poenitz@gmx.net>
2527
2528         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2529
2530         * paragraph_pimpl.h:
2531         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2532
2533         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2534
2535         * undo_funcs.C: make some simple cases of undo work again
2536
2537 2003-06-03  John Levon  <levon@movementarian.org>
2538
2539         * ispell.C: HPUX doesn't have sys/select.h
2540         (from Albert Chin)
2541
2542 2003-06-03  John Levon  <levon@movementarian.org>
2543
2544         * CutAndPaste.C: update tabular and include inset
2545         buffer references
2546
2547         * buffer.h:
2548         * paragraph.h:
2549         * paragraph.C: remove owningBuffer(), don't pass Buffer
2550         to clone()
2551
2552         * factory.C: insetGraphicsParams changed
2553
2554 2003-06-02  John Levon  <levon@movementarian.org>
2555
2556         * LyXAction.C:
2557         * factory.C:
2558         * lfuns.h:
2559         * lyxfunc.C:
2560         * text3.C: remove insetparent
2561
2562 2003-06-02  John Levon  <levon@movementarian.org>
2563
2564         * buffer.h:
2565         * buffer.C: fix inset_iterator.end(), move out of line
2566         (bug 1149)
2567
2568 2003-06-01  John Levon  <levon@movementarian.org>
2569
2570         * text3.C: use a proper cut/paste when doing inset
2571         insert (from Jürgen Spitzmüller)
2572
2573 2003-06-01  John Levon  <levon@movementarian.org>
2574
2575         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2576
2577 2003-05-30  André Pönitz  <poenitz@gmx.net>
2578
2579         * rowpainter.C: unify second drawing phase
2580
2581 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2582
2583         * trans_mgr.C: remove one case of current_view
2584
2585         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2586
2587         * paragraph_funcs.h: remove paragraph.h include
2588
2589         * paragraph.h: delete NO_STD_LIST stuff
2590
2591         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2592
2593         * buffer.h: remove paragraph.h include
2594
2595         * ParagraphList.C: delete file
2596
2597         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2598
2599         * toc.C (getTocList): adjust
2600
2601         * paragraph_pimpl.C (validate): adjust
2602
2603         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2604
2605         * paragraph.C (Paragraph): adjust
2606         (getPositionOfInset): use const_iterator, adjust
2607         (bibitem): use const_iterator, adjust
2608         (setInsetOwner): adjust
2609
2610         * iterators.C (operator++): adjust
2611
2612         * InsetList.[Ch]: Replace selfmade iterator with standard
2613         vector::iterator also introduce const_iterator. Remove getPos,
2614         getInset and setInset from InsetTable. Adjust accordingly.
2615
2616         * BufferView.C (lockInset): adjust
2617         (ChangeInsets): adjust
2618
2619         * tabular.[Ch]: delete commented same_id functions
2620
2621 2003-05-28  John Levon  <levon@movementarian.org>
2622
2623         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2624
2625 2003-05-28  André Pönitz  <poenitz@gmx.net>
2626
2627         * metricsinfo.[Ch]: remove 'fullredraw' member
2628
2629 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2630
2631         * lyxtextclass.C (operator): remove caching.
2632
2633 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2634
2635         * text3.C: adjust
2636
2637         * text2.C (cursorBottom): adjust
2638         (setCounter): use ParagraphList::find, adjust
2639
2640         * text.C (workWidth): use ParagraphList::find, adjust
2641
2642         * lyxcursor.C (LyXCursor): adjust
2643
2644         * buffer.C (inset_iterator): adjust
2645
2646         * ParagraphList.h: make iterator(value_type) private, make
2647         ParagraphList a friend of iterator.
2648
2649         * ParagraphList.C (find): new function
2650
2651         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2652
2653 2003-05-27  André Pönitz  <poenitz@gmx.net>
2654
2655         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2656
2657 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2660
2661 2003-05-26  John Levon  <levon@movementarian.org>
2662
2663         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2664
2665 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2666
2667         * remove same_id from function signatures, adjust.
2668
2669 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2670
2671         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2672
2673         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2674
2675         * paragraph.C (Paragraph): get rid of same_ids parameter
2676
2677         * ParagraphList.C (insert): adjust
2678         (push_back): adjust
2679
2680 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2681
2682         * paragraph_funcs.C (breakParagraph): adjust
2683         (breakParagraphConservative): adjust
2684
2685         * buffer.C (readParagraph): adjust
2686
2687         * ParagraphList.C (insert): take a reference instead of a pointer
2688         (insert): adjust
2689
2690         * paragraph.[Ch] (id): new function
2691
2692         * bufferlist.C (newFile): adjust
2693
2694         * ParagraphList.C (ParagraphList): adjust
2695         (assign): adjust
2696         (push_back): take a reference instead of a pointer.
2697
2698         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2699
2700         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2701         instead.
2702
2703         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2704         set else use old code.
2705
2706         * ParagraphList.C: remove all NO_NEXT code and only compile this
2707         code of NO_STD_LIST is set.
2708
2709 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2710
2711         * BufferView_pimpl.C:
2712         * TextCache.C:
2713         * TextCache.h:
2714         * bufferlist.C:
2715         * errorlist.h:
2716         * format.C:
2717         * format.h:
2718         * graph.C:
2719         * lyxfunc.C:
2720         * lyxrc.C:
2721         * graphics/GraphicsConverter.C:
2722         * graphics/PreviewLoader.C: header adjustment
2723
2724 2003-05-23  Angus Leeming  <leeming@lyx.org>
2725
2726         * LaTeXFeatures.[Ch] (useBabel): new method.
2727         * bufferparams.C (writeLaTeX): use it.
2728
2729 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * ParagraphList.h (set): remove unused function.
2732
2733 2003-05-23  André Pönitz  <poenitz@gmx.net>
2734
2735         * BufferView.C:
2736         * BufferView_pimpl.C:
2737         * buffer.C:
2738         * buffer.h:
2739         * lyxfunc.C:
2740         * undo_funcs.C: setUndo reworked
2741
2742         * iterators.[Ch]: add access to topmost ParagraphList
2743
2744         * lyxtext.[Ch] (workWidth): add a const
2745
2746 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2747
2748         * texrow.[Ch] (increasePos): remove function
2749         * exporter.C (export): removed unused var and outdated comment
2750
2751 2003-05-23  Angus Leeming  <leeming@lyx.org>
2752
2753         * latexrunparams.h: rename fragile as moving_arg.
2754         * paragraph.C (simpleTeXOnePar): ditto.
2755         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2756
2757 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2758
2759         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2760         (createUndo): ditto
2761         (textUndoOrRedo): comment out a currently unused var.
2762
2763         * paragraph.h (NO_NEXT): enable NO_NEXT
2764
2765         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2766
2767         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2768
2769         * exporter.C (Export): adjust for removeAutoInsets removal.
2770
2771         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2772
2773         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2774
2775         * BufferView.[Ch] (removeAutoInsets): delete function
2776
2777 2003-05-22  Angus Leeming  <leeming@lyx.org>
2778
2779         * latexrunparams.h: add a free_spacing variable.
2780
2781         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2782         to pass moving_arg, as the data is stored in runparams.fragile.
2783
2784         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2785         to Inset::latexOptional or to simpleTeXOnePar.
2786
2787         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2788         free_spacing arg to Inset::latexOptional.
2789
2790         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2791         free_spacing arg.
2792
2793 2003-05-22  Angus Leeming  <leeming@lyx.org>
2794
2795         * latexrunparams.h: add fragile and use_babel variables.
2796
2797         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2798         * buffer.C (makeLaTeXFile): store this returned value in
2799         runparams.use_babel, thus passing it to the inset::latex methods.
2800
2801         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2802         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2803
2804         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2805         longer has a fragile arg, as it is stored in runparams.fragile.
2806
2807         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2808         moving_arg parameter as the data is stored in runparams.fragile.
2809
2810         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2811         a fragile parameter as the data is stored in runparams.fragile.
2812
2813 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2816
2817 2003-05-22  Angus Leeming  <leeming@lyx.org>
2818
2819         * latexrunparams.h: add a 'bool nice' which defaults to false.
2820
2821         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2822         now encapsulated within runparams.
2823
2824         * bufferlist.C (updateIncludedTeXfiles):
2825         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2826
2827 2003-05-22  Angus Leeming  <leeming@lyx.org>
2828
2829         * latexrunparams.h: new file containing struct LatexRunParams.
2830         * Makefile.am: add new file.
2831
2832         * LaTeX.[Ch] (c-tor, run):
2833         * buffer.[Ch] (makeLaTeXFile):
2834         * bufferlist.[Ch] (updateIncludedTeXfiles):
2835         * converter.C (convert, scanLog):
2836         * converter.[Ch] (runLaTeX):
2837         * exporter.C (Export):
2838         * paragraph.[Ch] (simpleTeXOnePar):
2839         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2840         * paragraph_funcs.[Ch] (latexParagraphs):
2841         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2842         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2843         pass around a LatexRunParams parameter.
2844
2845 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * paragraph.[Ch]: remove unused constructor
2848
2849         * ParagraphList.C (erase): new function, taking two iterators
2850
2851 2003-05-22  André Pönitz  <poenitz@gmx.net>
2852
2853         * undo_funcs.C: remove duplicated code
2854
2855         * iterator.[Ch]: operator=
2856
2857 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * tabular.C (SetMultiColumn): ws changes
2860
2861         * rowpainter.C (paintFirst): get rid of a ->previous
2862
2863         * lyx_cb.C (getPossibleLabel): parlist simplification
2864
2865         * BufferView.C (ChangeInsets): simplify slightly.
2866
2867 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2868
2869         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2870         * lfuns.h: new LFUN_SPACE
2871         * lyxfunc.C: protected space has a new lfun
2872         * paragraph_funcs.C: read new space insets
2873         * text3.C:
2874         * factory.C: handle new space insets
2875
2876 2003-05-22  André Pönitz  <poenitz@gmx.net>
2877
2878         * BufferView.C:
2879         * BufferView_pimpl.C:
2880         * buffer.[Ch]:
2881         * lyxfunc.C:
2882         * undo_funcs.C: return a ParIterator from getParFromID.
2883
2884         * iterators.[Ch]: add two const's
2885
2886 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * toc.C (getTocList): adjust
2889
2890         * iterators.[Ch]: rework for parlist
2891
2892         * buffer.C (par_iterator_begin): adjust
2893         (par_iterator_end): adjust
2894
2895         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2896
2897         * BufferView.C (removeAutoInsets): adjust
2898         (ChangeInsets): adjust
2899
2900 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2901
2902         * text.C (top_y): fix bug 1110
2903
2904 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2905
2906         * errorlist.[Ch]: added
2907         * buffer.C:
2908         * BufferView.[Ch]:
2909         * BufferView_pimpl.C:
2910         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2911         instead
2912
2913 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2914
2915         * Makefile.am: ensure that lyx is relinked upon changes to the
2916         various "convenience" libs.
2917
2918 2003-05-20  Angus Leeming  <leeming@lyx.org>
2919
2920         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2921         files are compiled in alphabetical order again.
2922
2923         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2924
2925 2003-05-19  Angus Leeming  <leeming@lyx.org>
2926
2927         * gettext.[Ch]: remove "char const * _(char const *)".
2928
2929 2003-05-19  André Pönitz  <poenitz@gmx.net>
2930
2931         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2932
2933         * Makefile.am:
2934         * BufferView.C:
2935         * DepTable.h:
2936         * LaTeXFeatures.C:
2937         * buffer.C:
2938         * lyxfont.C:
2939         * lyxlex.h:
2940         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2941
2942 2003-05-19  André Pönitz  <poenitz@gmx.net>
2943
2944         * buffer.C:
2945         * lyxlayout.[Ch]:
2946         * lyxtextclass.[Ch]:
2947         * paragraph.C:
2948         * paragraph_funcs.[Ch]:
2949         * text2.C:
2950         * text3.C: more insetenv work
2951
2952 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2953
2954         * ParagraphParameters.C (params2string): small bug fixed
2955
2956 2003-05-16  André Pönitz  <poenitz@gmx.net>
2957
2958         * debug.C:
2959         * bufferview_funcs.C: patch from Kornel Benko to prevent
2960           crash when _(...) is called twice in a statement
2961
2962 2003-05-16  André Pönitz  <poenitz@gmx.net>
2963
2964         * BufferView.C:
2965         * lyxfunc.C:
2966         * text.C:
2967         * text2.C:
2968         * text3.C:
2969         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2970
2971 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2972
2973         * lyx_main.C (init): remove spurious static_cast
2974
2975 2003-05-14  André Pönitz  <poenitz@gmx.net>
2976
2977         * BufferView.C: fix format string
2978
2979 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2980
2981         * BufferView.[Ch] (insertErrors): removed
2982         * BufferView.[Ch] (showErrorList): added
2983         * buffer.C (runChkTeX):
2984         * converter.C (scanLog): call showErrorList instead of inserterrors
2985
2986 2003-05-13  André Pönitz  <poenitz@gmx.net>
2987
2988         * BufferView_pimpl.C:
2989         * buffer.C:
2990         * bufferview_func.C:
2991         * MenuBackend.C:
2992         * lyxfunc.C:
2993         * lyxrc.C:
2994         * tex-accent.C:
2995         * text3.C:
2996         * toc.C:
2997         * tabular_funcs.h: tostr() from its own header
2998
2999         * ParagraphParameters.C:
3000         * ToolbarBackend.C:
3001         * bufferparams.C:
3002         * format.C:
3003         * lyxlex_pimpl.C:
3004         * text3.C: STRCONV()
3005
3006 2003-05-12  André Pönitz  <poenitz@gmx.net>
3007
3008         * BufferView.C:
3009         * BufferView_pimpl.C:
3010         * CutAndPaste.C:
3011         * LaTeX.C:
3012         * LaTeXFeatures.C:
3013         * ParagraphParameters.C:
3014         * buffer.C:
3015         * bufferlist.C:
3016         * bufferparams.C:
3017         * bufferview_funcs.C:
3018         * converter.C:
3019         * counters.C:
3020         * debug.C:
3021         * exporter.C:
3022         * format.C:
3023         * importer.C:
3024         * lyx_cb.C:
3025         * lyx_main.C:
3026         * lyxfont.C:
3027         * lyxfunc.C:
3028         * lyxvc.C:
3029         * paragraph.C:
3030         * paragraph_funcs.C:
3031         * tabular.C:
3032         * tabular_funcs.C:
3033         * text2.C:
3034         * text3.C:  boost::format -> bformat  all over the place
3035
3036
3037 2003-05-09  André Pönitz  <poenitz@gmx.net>
3038
3039         * LColor.[Ch]: Pimpl the #include <map> away
3040
3041 2003-05-09  John Levon  <levon@movementarian.org>
3042
3043         * bufferlist.C: never remove emergency saves
3044
3045 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * Makefile.am: better lib building
3048
3049 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3052         instead.
3053         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3054         (simpleTeXSpecialChars): adjust
3055         (simpleTeXSpecialChars): adjust
3056         * paragraph.C (simpleTeXOnePar): adjust
3057         * buffer.C (makeLaTeXFile): adjust
3058
3059         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3060
3061         * text2.C (changeDepth): parlist cleanup
3062         (getColumnNearX): ditto
3063
3064         * rowpainter.C (getLabelFont): parlist cleanup
3065
3066         * bufferlist.C (newFile): parlist cleanup
3067
3068         * CutAndPaste.C (eraseSelection): parlist cleanup
3069
3070         * BufferView_pimpl.C (trackChanges): parlist cleanup
3071         (dispatch): ditto
3072
3073         * BufferView.C (lockInset): parlist cleanup.
3074         (ChangeInsets): ditto
3075
3076 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3077
3078         * CutAndPaste.h: Update file header.
3079
3080         * CutAndPaste.C: Update file header.
3081         Store the parts cut out of the Document in a limited_stack.
3082         (copySelection): adjust
3083         (pasteSelection): new function, takes the index in the limited stack.
3084         (nrOfParagraphs): adjust
3085         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3086         simplify error inset insertion.
3087         (checkPastePossible): adjust
3088
3089 2003-05-06  John Levon  <levon@movementarian.org>
3090
3091         * text2.C: don't cast wrap inset to float
3092
3093 2003-05-05  André Pönitz  <poenitz@gmx.net>
3094
3095         * iterator.C:
3096         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3097
3098         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3099           few naked Paragraph *.
3100
3101 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3102
3103         * bufferparams.C: Output warning if a document with missing
3104         TeX document class is loaded
3105         * exporter.C: Disable TeX exports if the document class is missing
3106         * lyxtextclass.C:
3107         * lyxtextclass.h:
3108         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3109         isTeXClassAvailable()
3110
3111 2003-05-03  John Levon  <levon@movementarian.org>
3112
3113         * BufferView.h:
3114         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3115         explicit cursor show/hide
3116
3117         * BufferView_pimpl.h:
3118         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3119         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3120
3121         * lyxfunc.C: hide cursor before dispatching.
3122
3123         * lyx_cb.C:
3124         * lyxfind.C:
3125         * text.C:
3126         * text3.C: remove explicit cursor hides
3127
3128 2003-05-02  André Pönitz  <poenitz@gmx.net>
3129
3130         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3131
3132         * undo_funcs.C:
3133         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3134           linked lists
3135
3136         * text2.C: tiny whitespace
3137
3138 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3139
3140         * undo_funcs.C: almost only ws changes.
3141
3142         * ParagraphList.C (splice): just return if pl is empty.
3143
3144 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * ParagraphList.C (splice): new function.
3147
3148         * CutAndPaste.C (pasteSelection): use it
3149
3150 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3151
3152         * CutAndPaste.C (pasteSelection): remove the last next and
3153         previous from this file.
3154
3155 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3156
3157         * CutAndPaste.C (pasteSelection): more clean up, user proper
3158         ParagraphList functions for pasteing.
3159
3160         * ParagraphList.C (insert): new function, three arg insert
3161
3162 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * ParagraphList.C (insert): new function, three arg insert
3165
3166         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3167         not on paragraphs.
3168
3169 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3170
3171         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3172
3173 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3176
3177 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3180         (copySelection): clean up a bit.
3181         (pasteSelection): use make_pair
3182
3183         * ParagraphList.C (ParagraphList): implement copy constructor
3184         (operator=): implement, base on copy constructor.
3185         (assign): new func
3186
3187         * paragraph.C (erase): return a bool
3188
3189         * paragraph_pimpl.C (erasePos): remove function, move contents...
3190         (erase): ... here. Return a bool.
3191         (erase): call erase instead of erasePos.
3192
3193 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3194
3195         * ParagraphList.h: define PitPosPair
3196         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3197         ParagraphList, fix a bug on pasting multiple pars
3198         * text2.C: change interface to C&P
3199
3200 2003-04-30  André Pönitz  <poenitz@gmx.net>
3201
3202         * undo_func.C: revert part of yesterday's patch 2
3203
3204 2003-04-30  John Levon  <levon@movementarian.org>
3205
3206         * LColor.C: s/tabular/table/
3207
3208 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3209
3210         * text3.C (dispatch): do not convert iterator -> pointer
3211         * undo_funcs.C (setCursorParUndo): ditto
3212         * text_funcs.C (transposeChars): ditto
3213
3214         * text2.C (setLayout): ws changes only
3215
3216         * text.C (breakParagraph): do not convert iterator -> pointer
3217         (insertChar): ditto
3218         (acceptChange): ditto
3219         (rejectChange): ditto
3220         (changeCase): ditto
3221         (Delete): ditto
3222         (backspace): ditto
3223
3224         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3225         pointer
3226
3227 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * text3.C (gotoInset): YABG (yet another bad getChar)
3230
3231 2003-04-29  André Pönitz  <poenitz@gmx.net>
3232
3233         * paragraph.h: make operator= private unimplemented as long as
3234           it is unusable
3235
3236         * ParagraphList.C: whitespace
3237
3238         * paragraph.[Ch]:
3239         * paragraph_pimpl.[Ch]:
3240         * paragraph_funcs.C:
3241         * CutAndPaste.C:
3242         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3243
3244         * text2.C:
3245           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3246
3247 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3248
3249         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3250         * paragraph.[Ch] (erase):
3251         * paragraph_pimpl.[Ch] (erase): change return type and value
3252         * text2.C (cutSelection): some rework
3253
3254 2003-04-28  John Levon  <levon@movementarian.org>
3255
3256         * bufferlist.C: changes for unsaved changes dialog
3257
3258 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3259
3260         * bufferlist.C (newFile): set language (messages_) for new
3261         documents also.
3262
3263         * buffer.C (readFile): ws changes only.
3264
3265 2003-04-28  André Pönitz  <poenitz@gmx.net>
3266
3267         * undo_funcs.C:
3268         * lyxfunc.C:
3269         * buffer.[Ch]:
3270         * BufferView_pimpl.C:
3271         * BufferView.C: getParFromID related ParagraphList::iterator changes
3272
3273 2003-04-28  André Pönitz  <poenitz@gmx.net>
3274
3275         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3276           Changes
3277
3278 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * messages.C: remove one more localedir class variable.
3281
3282 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * messages.C (getLocaleDir): singleton generation function
3285         (Pimpl): use it.
3286         (Messages): add a default constructor.
3287
3288         * main.C (main): do not setup localedir here, do not call
3289         gettext_init.
3290
3291         * gettext.C (_): use it.
3292         (gettext_init): delete funciton
3293
3294 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3295
3296         * gettext.C (getLyXMessages): new singleton generating function.
3297
3298         * buffer.C (updateDocLang): adjust
3299
3300         * Makefile.am (messages.o): add target
3301         (main.o): remove target
3302
3303 2003-04-27  John Levon  <levon@movementarian.org>
3304
3305         * bufferlist.C:
3306         * lyx_cb.C:
3307         * lyxfunc.C:
3308         * lyxvc.C: specify cancel button in Alert::prompt
3309
3310 2003-04-26  John Levon  <levon@movementarian.org>
3311
3312         * text3.C:
3313         * lyxfunc.C:
3314         * lfuns.h:
3315         * LyXAction.C: add LFUN_INSET_SETTINGS
3316
3317         * lyxfunc.C: don't enable tabular-feature when there's
3318         just any locking inset
3319
3320 2003-04-26  John Levon  <levon@movementarian.org>
3321
3322         * bufferlist.C: re-add Cancel to buffer close question
3323
3324         * lyxfunc.C: fix import UI a bit
3325
3326 2003-04-25  John Levon  <levon@movementarian.org>
3327
3328         * gettext.C: remove the broken asserts for now
3329
3330 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3331
3332         * messages.C: make case where setlocale cannot comply work better.
3333
3334         * buffer.C (updateDocLang): new function
3335         (changeLanguage): use it
3336         (readFile): use it
3337
3338         * text2.C (setCounter): use B_ a bit.
3339
3340         * lyxlayout.C (Read): be sure to trim the label strings.
3341
3342         * messages.C (Messages): fix typo in comment
3343
3344         * buffer.C (readFile): set message_ after file is loaded.
3345         (makeDocBookFile): remove double return
3346         (changeLanguage): reset message_ upon language change.
3347         (B_): new func, use this to get translated buffer strings.
3348
3349         * main.C: add myself and Jean Marc as authors.
3350
3351 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * messages.[hC]: pimplify Messages, and three different pimpls to be
3354         used in different circumstances.
3355
3356         * gettext.[Ch]: change for use with new message code.
3357
3358 2003-04-24 André Pönitz <poenitz@gmx.net>
3359
3360         * factory.C: support for eqref
3361
3362 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3363
3364         * messages.[Ch]: add missing char
3365
3366         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3367
3368         * messages.[Ch]: New files
3369
3370 2003-04-18  John Levon  <levon@movementarian.org>
3371
3372         * BufferView.h:
3373         * BufferView.C:
3374         * BufferView_pimpl.C:
3375         * lfuns.h:
3376         * LyXAction.C:
3377         * lyxtext.h:
3378         * text2.C: remove layout-copy/paste (bug 778)
3379
3380 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3381
3382         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3383
3384 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3385
3386         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3387         if they succeed. Act accordingly.
3388
3389 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * text2.C (setCharFont): adjust
3392         (setCounter): adjust
3393         (insertStringAsLines): adjust
3394
3395         * text.C (leftMargin): adjust
3396         (setHeightOfRow): adjust
3397
3398         * rowpainter.C (paintFirst): adjust
3399         (paintLast): adjust
3400
3401         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3402         (outerHook): ditto
3403         (isFirstInSequence): ditto
3404         (getEndLabel): ditto
3405         (outerFont): adjust
3406
3407         * paragraph.C (getParLanguage): comment out some hard stuff.
3408
3409         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3410         (sgmlError): ditto
3411         (simpleDocBookOnePar): ditto
3412         (makeDocBookFile): use ParagraphList::iterator
3413
3414         * CutAndPaste.C (pasteSelection): adjust
3415
3416 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * text2.C (getFont): adjust
3419         (getLayoutFont): adjust
3420         (getLabelFont): adjust
3421
3422         * paragraph_funcs.C (TeXOnePar): adjust
3423
3424         * buffer.C (simpleLinuxDocOnePar): adjust
3425         (simpleDocBookOnePar): adjust
3426
3427         * CutAndPaste.C (pasteSelection): adjust
3428
3429         * BufferView.C (getEncoding): adjust
3430
3431         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3432
3433 2003-04-16  John Levon  <levon@movementarian.org>
3434
3435         * lyxfind.C: use parlist stuff for search/changes
3436
3437 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3438
3439         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3440
3441         * text2.C (deleteEmptyParagraphMechanism): adjust
3442
3443         * text2.[Ch] (ownerParagraph): delete func (both of them
3444
3445 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3448
3449 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3450
3451         * ParagraphList.C: prepare for NO_NEXT
3452
3453 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3454
3455         * text2.C (getFont): adjust
3456         (getLayoutFont): adjust
3457         (getLabelFont): adjust
3458
3459         * paragraph.C (getFont): adjust
3460         (getLabelFont): adjust
3461         (getLayoutFont): adjust
3462
3463         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3464
3465 2003-04-15  John Levon  <levon@movementarian.org>
3466
3467         From Angus Leeming
3468
3469         * lyx_main.C: handle Include in .ui files
3470
3471 2003-04-15  John Levon  <levon@movementarian.org>
3472
3473         * MenuBackend.C: make the doc files length shorter
3474
3475         * ToolbarBackend.h:
3476         * ToolbarBackend.C: handle toolbar placement flags,
3477         Minibuffer
3478
3479 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3482         adjust
3483
3484         * paragraph_funcs.C (TeXOnePar): adjust
3485
3486         * paragraph.C (getLabelFont): add outerfont arg, adjust
3487         (getLayoutFont): ditto
3488         (simpleTeXOnePar): adjust
3489
3490         * paragraph_pimpl.C (realizeFont): delete func
3491
3492 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3493
3494         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3495         row argument, constify cur argument.
3496
3497 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3498
3499         * text2.C (getFont): adjust
3500         (getLayoutFont): adjust
3501         (getLabelFont): adjust
3502
3503         * paragraph_funcs.C (TeXOnePar): adjust
3504         (outerFont): new func...
3505         (realizeFont): ...moved out from here, changed this to facilitate
3506         transition
3507
3508         * paragraph.C (getFont): take outerfont as arg, adjust
3509         (simpleTeXOnePar): add outerfont arg, adjust
3510
3511         * buffer.C (simpleLinuxDocOnePar): adjust
3512         (simpleDocBookOnePar): adjust
3513
3514         * CutAndPaste.C (pasteSelection): adjust
3515
3516         * BufferView.C (getEncoding): adjust
3517
3518 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3519
3520         * text2.C (setCharFont): adjust
3521         (setCounter): adjust
3522
3523         * text.C (leftMargin): adjust
3524         (setHeightOfRow): adjust
3525
3526         * rowpainter.C (paintFirst): adjust
3527         (paintLast): adjust
3528
3529         * paragraph_pimpl.C (realizeFont): adjust
3530
3531         * paragraph.C (isFirstInSequence): move from here...
3532         * paragraph_funcs.C (isFirstInSequence): ...to here
3533
3534         * paragraph.C (outerHook): move from here...
3535         * paragraph_funcs.C (outerHook): ...to here
3536
3537         * paragraph.C (depthHook): move from here...
3538         * paragraph_funcs.C (depthHook): ...to here
3539
3540         * paragraph.C (getEndLabel): move from here...
3541         * paragraph_funcs.C (getEndLabel): ...to here
3542
3543         * text2.C (realizeFont): move from here...
3544         * paragraph_funcs.C (realizeFont): ...to here
3545
3546 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3549
3550 2003-04-14  Angus Leeming  <leeming@lyx.org>
3551
3552         * LColor.[Ch]: scrap LColor mathcursor.
3553
3554 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * lyxlex.[Ch] (text): delete function
3557         * trans.C (Load): adjust
3558         * paragraph_funcs.C (readParToken): adjust
3559
3560 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3561
3562         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3563         vector<char> instead of a char[].
3564
3565         * lyxlex_pimpl.C (getString): adjust
3566         (next): adjust
3567         (lex): use getString
3568         (eatLine): adjust
3569         (nextToken): adjust
3570
3571         * lyxlex.C (text): use pimpl_->getString()
3572         (getBool): ditto
3573         (findToken): ditto
3574
3575 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3576
3577         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3578         (makeFontEntriesLayoutSpecific): temp var for par.size()
3579         (setLayout): temp var for ownerParagraphs().end()
3580         (fullRebreak): temp var for rows().end()
3581         (selectionAsString): temp var for boost::next(startpit), realize
3582         that the while really is a regular for loop.
3583         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3584         setCursor in one place.
3585         (setParagraph): temp vr for ownerParagraphs().end()
3586         (updateCounters): make the while loop a for loop
3587         (cutSelection): temp var for ownerParagraphs().end()
3588         (updateInset): make the do {} while() a regular for loop
3589         (getCursorX): use temp vars
3590         (setCurrentFont): use temp vars
3591         (getColumnNearX): use temp vars
3592
3593 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * text.C (transformChar): use temp var for getChar
3596         (computeBidiTables): use temp var for row->par()
3597         (fill): move temp vars for row->par() and pit->layout() earlier in
3598         the function.
3599         (labelFill): use temp var for row->par()
3600         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3601         asc and desc, realize that pit never changes and that firstpit is
3602         just a duplicate and not needed. Exchange rit->par() with pit in a
3603         lot of places.
3604         (breakAgain): use a temp var for boost::next(rit)
3605         (breakAgainOneRow): ditto
3606         (breakParagraph): use a temp var for rows().begin()
3607         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3608         (cursorRightOneWord): use temp var for cursor.par() and
3609         cursor.pos(), remove usage of tmpcursor.
3610         (cursorLeftOneWord): use temp var for cursor.par() and
3611         cursor.pos() only set cur at end of function.
3612
3613 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * text.C, text2.C: exchange all usage of Paragraph::next with
3616         boost::next(ParagraphList::iterator)
3617
3618         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3619
3620         * text2.C (cursorTop): simplify implementation
3621         (cursorBottom): ditto
3622         (setParagraph): use ParagraphList::iterator
3623         (setCurrentFont): adjust
3624         (getColumnNearX): adjust
3625         (cursorRight): adjust
3626         (cursorLeft): remove usage of Paragraph::previous
3627         (cursorUpParagraph): ditto
3628         (deleteEmptyParagraphMechanism): slight cleanup
3629
3630         * text.C (isBoundary): take a Paragraph const & instead of a
3631         pointer as arg.
3632         (addressBreakPoint): ditto
3633         (leftMargin): remove usage of Paragraph::previous.
3634         (setHeightOfRow): ditto
3635         (cursorLeftOneWord): ditto
3636         (selectNextWordToSpellcheck): ditto
3637         (Delete): ditto
3638         (backspace): ditto
3639         (breakParagraph): remove one usage of Paragraph::next
3640         (redoParagraph): ditto
3641         (acceptChange): ditto
3642         (insertChar): adjust
3643         (rowBreakPoint): adjust
3644
3645         * bufferview_funcs.C (toggleAndShow): adjust
3646
3647 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3648
3649         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3650         methods to access it.
3651         * lyxtext.h:
3652         * text.C: Added updateRowPositions to compute all row positions.
3653         Make top_y and getRowNearY() to use the cached y position
3654
3655 2003-04-11  John Levon  <levon@movementarian.org>
3656
3657         * text.C (rowBreakPoint): reintroduce the labelEnd
3658         checks, code copied from the row fill stuff. Deep voodoo.
3659
3660         * text.C (fill): add a comment and debugging for the
3661         next poor soul.
3662
3663 2003-04-11  John Levon  <levon@movementarian.org>
3664
3665         * text.C: make sure fullrow insets get wrapped to the next line,
3666         even when they're in a manual label
3667
3668 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3669
3670         * text2.C (insertParagraph): make it take ParagraphList::iterator
3671         as arg.
3672         (setLayout): make it return ParagraphList::iterator
3673         (redoParagraphs): ditto
3674         (setCounter): ditto
3675         (checkParagraph): ditto
3676
3677         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3678
3679         * text2.C: adjust several funcs.
3680         (realizeFont): take a ParagraphList::iterator as arg.
3681         (getLayoutFont): ditto
3682         (getLabelFont): ditto
3683         (setCharFont): ditto
3684
3685         * text.C: adjust several funcs.
3686
3687 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text.C (selectNextWordToSpellcheck): don't accidentally
3690         skip insets
3691
3692 2003-04-10  John Levon  <levon@movementarian.org>
3693
3694         * ToolbarBackend.C (getIcon): special handling for
3695         LFUN_MATH_DELIM
3696
3697 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3698
3699         * text2.C (cursorRight): a getChar assert fixed
3700
3701 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * text2.C (getFont): change to take a ParagraphList::iterator
3704         instead of Paragraph*
3705         Adjust several functions.
3706
3707         * text.C (transformChar): change to take a ParagraphList::iterator
3708         instead of Paragraph*
3709         (singleWidth): ditto
3710         Adjust several functions.
3711
3712         * rowpainter.C: adjust several functions
3713         * rowpainter.h:store a ParagraphList::iterator and not a
3714         Paragraph&.
3715
3716
3717 2003-04-09  John Levon  <levon@movementarian.org>
3718
3719         * lyxfunc.C:
3720         * lfuns.h:
3721         * LyXAction.h:
3722         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3723         and the "help" bits as well
3724
3725 2003-04-09  John Levon  <levon@movementarian.org>
3726
3727         * ToolbarBackend.h:
3728         * ToolbarBackend.C: allow multiple toolbars
3729
3730 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * undo_funcs.C (setCursorParUndo): adjust
3733
3734         * text_funcs.C (transposeChars): adjust
3735
3736         * text3.C (gotoNextInset): adjust
3737         (dispatch): adjust
3738
3739         * text2.C (setLayout): adjust
3740         (changeDepth): adjust
3741         (setFont): adjust
3742         (redoParagraphs): adjust
3743         (selectionAsString): adjust
3744         (setParagraph): adjust
3745         (insertInset): adjust
3746         (cutSelection): adjust
3747         (copySelection): adjust
3748         (pasteSelection): adjust
3749         (insertStringAsLines): adjust
3750         (updateInset): adjust
3751         (setCursor): change to take a ParagraphList::iterator parameter
3752         (setCursorIntern): change to take a ParagraphList::iterator parameter
3753         (setCurrentFont): adjust
3754         (cursorLeft): adjust
3755         (cursorRight): adjust
3756         (deleteEmptyParagraphMechanism): adjust
3757
3758         * text.C (breakParagraph): adjust
3759         (insertChar): adjust
3760         (acceptChange): adjust
3761         (rejectChange): adjust
3762         (selectNextWordToSpellcheck): adjust
3763         (changeCase): adjust
3764         (Delete): adjust
3765         (backspace): adjust
3766
3767         * lyxfind.C (SearchForward): adjust
3768         (SearchBackward): adjust
3769         (nextChange): adjust
3770
3771         * lyxcursor.C (par): adjust
3772
3773         * lyxcursor.h: store a ParagraphList::iterator instead of a
3774         Paragraph*
3775
3776         * lyx_cb.C (getPossibleLabel): adjust
3777
3778         * bufferview_funcs.C (toggleAndShow): adjust
3779
3780         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3781         (dispatch): adjust
3782
3783         * BufferView.C (removeAutoInsets): adjust
3784         (lockedInsetStoreUndo): adjust
3785
3786 2003-04-09  John Levon  <levon@movementarian.org>
3787
3788         * ToolbarBackend.C: try icon without argument
3789         if with argument fails
3790
3791 2003-04-08  John Levon  <levon@movementarian.org>
3792
3793         * ToolbarBackend.h:
3794         * ToolbarBackend.C: add getIcon(), handle tooltip,
3795         and change from "Icon" to "Item".
3796
3797 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3798
3799         * BufferView.C (lockInset): another bad getchar crunched
3800
3801 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3802
3803         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3804         again)
3805
3806 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3807
3808         * lyxfind.C (searchForward, searchBackwards): bug 782
3809
3810 2003-04-07  John Levon  <levon@movementarian.org>
3811
3812         * paragraph.C: remove dead comment
3813
3814         * text.C: remove troublesome depth-fiddling code
3815         in leftMargin() and rightMargin() (bug 1017)
3816
3817         * text.C: fix breaking of rows in nested lists
3818         (bug 1004)
3819
3820         * text2.C (updateCounters): fix up depth values
3821         (bug 1013)
3822
3823 2003-04-07  John Levon  <levon@movementarian.org>
3824
3825         * BufferView_pimpl.C: clear message when doc finishes resizing,
3826         and after a mouse event
3827
3828         * lyxfunc.C: clear message after exiting inset
3829
3830 2003-04-07  John Levon  <levon@movementarian.org>
3831
3832         * bufferview_funcs.C: show math status not outside
3833         status in the statusbar
3834
3835 2003-04-07  John Levon  <levon@movementarian.org>
3836
3837         * lyxfunc.C: note status changed after a depth change
3838
3839 2003-04-04  Angus Leeming  <leeming@lyx.org>
3840
3841         * LaTeX.h: move AuxInfo operator==, != out of line.
3842         Remove LaTeX virtual destructor; nothing derives from it.
3843         Move operator()() out of public area and rename it startscript().
3844         Change protected for private.
3845
3846 2003-04-04  Angus Leeming  <leeming@lyx.org>
3847
3848         * lyxfunc.C:
3849         * text2.C: remove unneeded #includes.
3850
3851 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3852
3853         * text2.C (dEPM): fix the heigth of the next row
3854
3855 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3856
3857         * text.C: squashed an invalid getChar requester + some ws changes
3858
3859 2003-04-03  John Levon  <levon@movementarian.org>
3860
3861         * bufferview_funcs.h:
3862         * bufferview_funcs.C:
3863         * lyxfunc.C:
3864         * lyxtext.h:
3865         * text2.C: make getStatus work for the env depth lfuns
3866
3867 2003-04-03  John Levon  <levon@movementarian.org>
3868
3869         * bufferview_funcs.h:
3870         * bufferview_funcs.C:
3871         * lyxfunc.C:
3872         * lyxtext.h:
3873         * text2.C: parlistize decDepth(), by merging it with incDepth()
3874
3875 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * lyxrow.h: store a ParagraphList::iterator instead of a
3878         Paragraph* and adjust other class functions to suit.
3879
3880         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3881         above.
3882
3883 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3884
3885         * text2.C (setCursor): do not anchor to cursor row for the time being
3886
3887 2003-04-02  John Levon  <levon@movementarian.org>
3888
3889         * LyXAction.C:
3890         * lfuns.h:
3891         * lyx_main.C:
3892         * lyxtext.h:
3893         * text.C:
3894         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3895
3896 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * paragraph.h: make ParagraphList and ParagraphList::iterator
3899         friends of Paragraph.
3900
3901         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3902
3903         * ParagraphList.C: Use the private next_ and previous_ from
3904         Paragraph.
3905
3906 2003-04-01  John Levon  <levon@movementarian.org>
3907
3908         * ToolbarBackend.h:
3909         * ToolbarBackend.C:
3910         * Makefile.am: rename, remove defaults gunk
3911
3912         * MenuBackend.h:
3913         * MenuBackend.C: remove defaults gunk
3914
3915         * Languages.h:
3916         * Languages.C: remove defaults gunk
3917
3918         * lyx_main.h:
3919         * lyx_main.C: error out if files couldn't be found.
3920
3921 2003-04-02  John Levon  <levon@movementarian.org>
3922
3923         * text2.C: make incDepth() use parlist
3924
3925 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * undo_funcs.C (firstUndoParagraph): adjust
3928
3929         * text3.C (gotoInset): adjust
3930         (dispatch): adjust, and rewrite loop.
3931
3932         * text2.C (init): adjust, and rewrite loop.
3933         (redoParagraphs): adjust
3934         (updateInset): adjust, and rewrite loop.
3935         (deleteEmptyParagraphMechanism): adjust
3936
3937         * tabular.C (LyXTabular): adjust
3938         (SetMultiColumn): adjust
3939         (TeXRow): adjust
3940
3941         * lyxtext.[Ch] (ownerParagraph): delete function
3942         (ownerParagraphs): new function returns a ParagraphList.
3943
3944         * BufferView.C (removeAutoInsets): adjust
3945         (insertErrors): adjust
3946         (setCursorFromRow): adjust
3947
3948 2003-04-01  Angus Leeming  <leeming@lyx.org>
3949
3950         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3951         in the frontends.
3952
3953 2003-04-02  John Levon  <levon@movementarian.org>
3954
3955         * lyxtext.h:
3956         * text.C:
3957         * Makefile.am:
3958         * text_funcs.h:
3959         * text_funcs.C: make transposeChars a free function
3960
3961         * lyxrow_funcs.C: remove wrong comment
3962
3963 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * lyxtext.h: adjust
3966         * rowpainter.C: adjust
3967         * text.C: adjust
3968         * text2.C: adjust
3969         * text3.C: adjust
3970
3971         * lyxrow_funcs. [Ch]: new files
3972
3973         * lyxrow.[Ch]: remove next and previous pointers
3974         (next,previous): remove accessor functions
3975         (isParEnd): move to lyxrow_funcs
3976         (lastPos): move to lyxrow_funcs
3977         (nextRowIsAllInset): move to lyxrow_funcs
3978         (lastPrintablePos): move to lyxrow_funcs
3979         (numberOfSeparators): move to lyxrow_funcs
3980         (numberOfHfills): move to lyxrow_funcs
3981         (numberOfLabelHfills): move to lyxrow_funcs
3982         (hfillExpansion): move to lyxrow_funcs
3983
3984         * lyxfunc.C: adjust
3985
3986         * bufferview_funcs.C (toggleAndShow): adjust
3987
3988         * RowList.h: Remove class RowList from file leave just a
3989         std::list<Row>.
3990
3991         * RowList.C: delete file
3992
3993         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3994         and lyxrow_funcs.h
3995
3996 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * text3.C (cursorPrevious): adjust
3999         (cursorNext): adjust
4000         (dispatch): adjust
4001
4002         * text2.C (redoHeightOfParagraph): adjust
4003         (redoDrawingOfParagraph): adjust
4004         (setCursor): adjust
4005
4006         * text.C (breakParagraph): adjust
4007         (insertChar): adjust
4008         (backspace): adjust
4009
4010         * rowpainter.C (RowPainter): adjust
4011         (leftMargin): simplify and adjust
4012         (most rowpainter functions): adjust.
4013
4014         * rowpainter.h: store the row as RowList::iterator not as Row*
4015
4016         * lyxcursor.C (row): taka RowList::iterator as arg
4017         (irow): ditto
4018
4019         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4020         of Row*.
4021
4022 2003-04-01  Angus Leeming  <leeming@lyx.org>
4023
4024         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4025         stuff like bool Bool.
4026
4027 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4028
4029         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4030         rewrite a loop
4031
4032 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4035         RowList::iterator.
4036
4037         * lyxtext.h (rows): drop one version and leve a const variant that
4038         returns a RowList::iterator.
4039
4040 2003-03-31  Angus Leeming  <leeming@lyx.org>
4041
4042         * text.C (fill): ensure that the signature is the same as that in the
4043         header file.
4044
4045 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4046
4047         * text2.C (redoParagraphs): adjust
4048         (updateCounters): adjust
4049         (checkParagraph): adjust
4050         (getColumnNearX): adjust and reformat a bit.
4051
4052         * text.C (top_y): adjust
4053         (workWidth): adjust
4054         (leftMargin): adjust
4055         (prepareToPrint): adjust
4056         (getRow): adjust
4057         (getRowNearY): adjust
4058
4059         * lyxtext.h: make rowlist_ mutable.
4060
4061         * RowList.h: add const_iterator
4062         * RowList.C: adjust for RowList::const_iterator.
4063
4064         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4065         adjust.
4066
4067 2003-03-31  John Levon  <levon@movementarian.org>
4068
4069         * lyxrc.h:
4070         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4071
4072         * lyx_main.C: set default fonts from using lyx_gui funcs
4073
4074         * exporter.C: pdf_mode moved from lyxrc
4075
4076         * lyx_cb.C:
4077         * lyxfunc.C: changes from above
4078
4079 2003-03-31  John Levon  <levon@movementarian.org>
4080
4081         * lyx_main.C: fix to the last fix
4082
4083 2003-03-31  John Levon  <levon@movementarian.org>
4084
4085         * bufferlist.C: "Load original" -> "Load Original"
4086
4087         * converter.C:
4088         * exporter.C:
4089         * importer.C:
4090         * lyx_main.C:
4091         * format.C: more Alert cleanups
4092
4093 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4094
4095         * text2.C (removeParagraph): make it take a RowList::iterator as
4096         arg, adjust.
4097         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4098         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4099
4100         * text.C (anchor_row): make it take a RowList::iterator as arg,
4101         adjust.
4102         (computeBidiTables): make it take a const reference to Row instead
4103         of Row pointer, adjust.
4104         (leftMargin): make it take a RowList::iterator as arg, adjust.
4105         (rowBreakPoint): adjust
4106         (breakAgainOneRow): make it take a RowList::iterator as arg,
4107         adjust.
4108         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4109
4110         * bufferview_funcs.C (toggleAndShow): adjust
4111
4112 2003-03-30  John Levon  <levon@movementarian.org>
4113
4114         * Makefile.am:
4115         * BoostFormat.h:
4116         * boost-inst.C: moved to support
4117
4118         * several files: changes as a result
4119
4120 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4121
4122         * text2.C (LyXText): adjust.
4123         (init): adjust
4124         (removeRow): make it take a RowList::iterator as arg, adjust.
4125         (fullRebreak): adjust
4126         (deleteEmptyParagraphMechanism): adjust
4127         (clearPaint): adjust
4128         (postPaint): adjust
4129
4130         * text.C (top_y): adjust
4131         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4132         (breakAgain): make it take a RowList::iterator as arg, adjust.
4133         (breakParagraph): adjust
4134         (insertChar): adjust
4135         (backspace): adjust
4136
4137         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4138         need_break_row, and refresh_row.
4139
4140         * text3.C (dispatch): adjust
4141
4142         * text2.C (checkParagraph): adjust
4143         (setCursor): adjust
4144         (setCursorFromCoordinates): adjust
4145
4146         * text.C (top_y): adjust
4147         (workWidth): adjust
4148         (getRow): make it return a RowList::iterator, adjust
4149         (getRowNearY): make it return a RowList::iterator, adjust
4150
4151         * text2.C (init): adjust
4152         (insertRow): remove function
4153         (insertParagraph): adjust
4154         (redoParagraphs): adjust
4155         (fullRebreak): adjust
4156         (updateCounters): adjust
4157
4158         * text.C (top_y): rewrite to use RowList iterators.
4159         (top_y): adjust
4160         (setHeightOfRow): rewrite to sue RowList iterators.
4161         (appendParagraph): adjust
4162         (breakAgain): adjust
4163         (breakAgainOneRow): adjust
4164         (breakParagraph): adjust
4165         (getRow): adjust
4166         (getRowNearY): adjust, and remove commented code.
4167
4168         * lyxtext.h (firstRow): delete function
4169         (lastRow): delete function
4170         (rows): new function (const and non-const versions.)
4171         (insertRow): delete function
4172
4173         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4174
4175 2003-03-29  John Levon  <levon@movementarian.org>
4176
4177         * BufferView_pimpl.C: always update scrollbar top
4178         because pasting text when we're anchored could mean we
4179         miss an update altogether
4180
4181 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * text2.C (init): use rowlist_.end() and not 0.
4184         (insertRow): change to take a RowList::iterator as arg, adjust
4185         for this.
4186         (insertParagraph): change to take a RowList::iterator as arg,
4187         adjust for this.
4188         (redoParagraphs): remove some debug msgs.
4189
4190         * text.C (appendParagraph): change to take a RowList::iterator
4191         arg, adjust for this.
4192         (breakAgain): add an assert
4193         (breakAgainOneRow): ditto
4194
4195 2003-03-29  John Levon  <levon@movementarian.org>
4196
4197         * text2.C: do not clear selection after inc/decDepth
4198         (bug 550)
4199
4200 2003-03-29  John Levon  <levon@movementarian.org>
4201
4202         * BufferView.C:
4203         * buffer.C: fix broken strerrors according to Lars
4204
4205 2003-03-29  John Levon  <levon@movementarian.org>
4206
4207         * converters.C: more Alert cleanups
4208
4209 2003-03-29  John Levon  <levon@movementarian.org>
4210
4211         * bufferview_funcs.C: remove pointless Alert
4212
4213         * buffer.C: fix confusing error message when
4214         a template is chmoded 000
4215
4216 2003-03-29  John Levon  <levon@movementarian.org>
4217
4218         * BufferView.C:
4219         * BufferView.h:
4220         * BufferView_pimpl.C: Alert fixes
4221
4222         * Makefile.am:
4223         * tabular.C:
4224         * tabular-old.C: remove unused table compat reading
4225
4226 2003-03-29  John Levon  <levon@movementarian.org>
4227
4228         * BufferView.C:
4229         * buffer.C:
4230         * lyx_cb.h:
4231         * lyx_cb.C: more Alert cleanups
4232
4233         * lyxfunc.C: don't allow chktex if not latex document
4234
4235 2003-03-29  John Levon  <levon@movementarian.org>
4236
4237         * lyx_cb.C:
4238         * BufferView.C:
4239         * buffer.C: warnings pushed down from support/,
4240         kill err_alert
4241
4242 2003-03-29  John Levon  <levon@movementarian.org>
4243
4244         * lyxfunc.C: safety check for C-r (revert)
4245
4246 2003-03-29  John Levon  <levon@movementarian.org>
4247
4248         * bufferlist.h:
4249         * bufferlist.C: several UI fixes using Alert::prompt.
4250         Fix the pointless looping quit code. Fix stupid revert
4251         behaviour (bug 938)
4252
4253         * lyxvc.h:
4254         * lyxvc.C:
4255         * lyx_cb.C: use Alert::prompt
4256
4257         * lyx_main.C: remove a silly question
4258
4259         * lyxfunc.C: remove a couple of silly questions,
4260         use Alert::prompt
4261
4262 2003-03-28  John Levon  <levon@movementarian.org>
4263
4264         * text2.C: fix bug 974 (End on empty par)
4265
4266 2003-03-28  John Levon  <levon@movementarian.org>
4267
4268         * BufferView_pimpl.C:
4269         * LyXAction.C:
4270         * lfuns.h: remove do-nothing math greek lfuns
4271
4272 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * lyxgluelength.h (isValidGlueLength): add default arg on
4275         parameter 2. Remove default arg from friend in class.
4276
4277         * lyxlength.h (isValidLength): add default arg on parameter 2.
4278         Remove default arg from friend in class.
4279
4280         * text2.C (LyXText): adjust, initialize refresh_row.
4281         (init): adjust
4282         (removeRow): adjust
4283         (insertRow): adjust
4284         (insertParagraph): adjst
4285         (redoParagraphs): adjust
4286         (fullRebreak): adjust
4287         (updateCounters): adjust
4288         (deleteEmptyParagraphMechanism): first attempt at fixing a
4289         crashing bug.
4290
4291         * text.C (top_y): adjust
4292         (setHeightOfRow): adjust
4293         (getRow): adjust
4294         (getRowNearY): adjust
4295
4296         * lyxtext.h: include RowList.h
4297         (~LyXText): not needed anymore, deleted.
4298         (firstRow): modify for RowList
4299         (lastRow): new function
4300         Delete firstrow and lastrow class variables, add a Rowlist
4301         rowlist_ class variable.
4302
4303         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4304         paragraph is empty.
4305
4306         * RowList.C (insert): fix case where it == begin().
4307
4308 2003-03-26  Angus Leeming  <leeming@lyx.org>
4309
4310         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4311         the thesaurus dialog.
4312
4313 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4316
4317         * RowList.[Ch]: new files
4318
4319         * ParagraphList.C (erase): handle the case where it == begin
4320         correctly.
4321
4322 2003-03-25  John Levon  <levon@movementarian.org>
4323
4324         * Makefile.am:
4325         * aspell_local.h:
4326         * aspell.C: add new aspell support
4327
4328         * lyxrc.h:
4329         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4330         have it accessible.
4331
4332 2003-03-25  Angus Leeming  <leeming@lyx.org>
4333
4334         * lfuns.h:
4335         * LyXAction.C (init): new LFUN_INSET_INSERT.
4336
4337         * BufferView_pimpl.C (dispatch): split out part of the
4338         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4339
4340         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4341         LFUN_INSET_APPLY.
4342
4343 2003-03-25  Angus Leeming  <leeming@lyx.org>
4344
4345         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4346
4347 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4348
4349         * text2.C:
4350         * text3.C: remove useless row->height(0)
4351
4352 2003-03-25  John Levon  <levon@movementarian.org>
4353
4354         * lyxtext.h:
4355         * text2.C:
4356         * text3.C: rename the refreshing stuff to better names
4357
4358 2003-03-24  John Levon  <levon@movementarian.org>
4359
4360         * BufferView_pimpl.h:
4361         * BufferView_pimpl.C: update layout choice on a mouse
4362         press/release
4363
4364 2003-03-23  John Levon  <levon@movementarian.org>
4365
4366         * Makefile.am: fix commandtags.h reference
4367
4368 2003-03-22  John Levon  <levon@movementarian.org>
4369
4370         * BufferView_pimpl.C:
4371         * lyxtext.h:
4372         * rowpainter.C:
4373         * rowpainter.h:
4374         * text.C:
4375         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4376
4377 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * lyxtext.h:
4380         * text.C: take the rtl methods out of line
4381
4382 2003-03-21 André Pönitz <poenitz@gmx.net>
4383
4384         * metricsinfo.[Ch]: new files containing structures to be passed around
4385         during the two-phase-drawing...
4386
4387 2003-03-21 André Pönitz <poenitz@gmx.net>
4388
4389         * lyxtextclass.C: read 'environment' tag.
4390
4391 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * text2.C (removeRow): fix bug 964
4394
4395 2003-03-20  John Levon  <levon@movementarian.org>
4396
4397         * rowpainter.C:
4398         * text.C:
4399         * text2.C: paint cleanups. Inset::update() dropped font
4400         parameter
4401
4402 2003-03-19  John Levon  <levon@movementarian.org>
4403
4404         * lyxfunc.C: only fitcursor/markDirty if available()
4405
4406 2003-03-19  John Levon  <levon@movementarian.org>
4407
4408         * commandtags.h: rename to ...
4409
4410         * lfuns.h: ... this, and renumber / cleanup
4411
4412 2003-03-19  John Levon  <levon@movementarian.org>
4413
4414         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4415         fit the cursor after an lfun
4416
4417         * BufferView.h:
4418         * BufferView.C:
4419         * BufferView_pimpl.h:
4420         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4421
4422         * LyXAction.C: layout-character should have ReadOnly
4423
4424         * ParagraphParameters.C:
4425         * buffer.C:
4426         * bufferview_funcs.C:
4427         * lyx_cb.C:
4428         * lyxfind.C:
4429         * lyxtext.h:
4430         * text.C:
4431         * text2.C:
4432         * text3.C:
4433         * undo_funcs.C: changes from above
4434
4435 2003-03-18  John Levon  <levon@movementarian.org>
4436
4437         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4438         remove it from update()
4439
4440         * lyxfunc.C: update layout choice after an lfun
4441
4442         * text3.C: remove extra updateLayoutChoice()s
4443
4444 2003-03-18  John Levon  <levon@movementarian.org>
4445
4446         * text.C: top_y change means full repaint, fix
4447         a drawing bug with cursor movement
4448
4449 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4450
4451         * lyxtext.h:
4452         * text.C:
4453         * text2.C: anchor row on setCursor
4454
4455 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * lyxtext.h: remove almost all mutable keywords
4458         * text.C:
4459         * text2.C:
4460         * text3.C: remove const keywords accordingly
4461
4462 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4465         anon namespace
4466         (TeXEnvironment): ditto
4467         (TeXOnePar): ditto
4468
4469 2003-03-17  John Levon  <levon@movementarian.org>
4470
4471         * text.C (rowBreakPoint): remove attempt to fix displayed
4472         math insets inside a manual label
4473
4474 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * lyxtext.h: remove BufferView* as first arg from almost all class
4477         functions.
4478         * other files: adjust.
4479
4480 2003-03-17  John Levon  <levon@movementarian.org>
4481
4482         * lyxtext.h:
4483         * undo_funcs.C:
4484         * text2.C: more paint cleanups
4485
4486         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4487
4488         * rowpainter.h:
4489         * rowpainter.C: remove "smart" background painting code
4490
4491 2003-03-16  John Levon  <levon@movementarian.org>
4492
4493         * lyxtext.h:
4494         * text.C:
4495         * text2.C:
4496         * text3.C: add helper functions for setting refresh_row/y
4497
4498 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4499
4500         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4501         newline inset which *can* get inserted in the pass_thru layouts.
4502         This is primarily for literate documents.
4503
4504 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4505
4506         * buffer.C: increment LYX_FORMAT to 223
4507
4508 2003-03-14 André Pönitz <poenitz@gmx.net>
4509
4510         * textclass.h: prepare for environment handling, ws changes
4511         * lyxlayout.C: read latexheader and latexfooter tags
4512
4513 2003-03-14  John Levon  <levon@movementarian.org>
4514
4515         * text2.C: rewrite ::status() a bit
4516
4517 2003-03-13  John Levon  <levon@movementarian.org>
4518
4519         * lyxtext.h: add some docs
4520
4521 2003-03-13  John Levon  <levon@movementarian.org>
4522
4523         * lyxtext.h:
4524         * text.C:
4525         * text2.C:
4526         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4527
4528 2003-03-13  John Levon  <levon@movementarian.org>
4529
4530         * text3.C: fix appendix redrawing
4531
4532 2003-03-13  John Levon  <levon@movementarian.org>
4533
4534         * text.C (setHeightOfRow):
4535         * rowpainter.h:
4536         * rowpainter.C: make appendix mark have the text
4537           "Appendix" so the user knows what it is
4538
4539         * LColor.h:
4540         * LColor.C: s/appendixline/appendix/ from above
4541
4542 2003-03-13  John Levon  <levon@movementarian.org>
4543
4544         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4545
4546         * text.C: fix a getChar(pos) bug properly
4547
4548 2003-03-13  Angus Leeming  <leeming@lyx.org>
4549
4550         * commandtags.h:
4551         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4552         Probably only temporary. Let's see how things pan out.
4553
4554         * BufferView.C (unlockInset):
4555         * BufferView_pimpl.C (fitCursor):
4556         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4557
4558         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4559         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4560
4561         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4562         new functions that convert ParagraphParameters to and from a string.
4563
4564         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4565         BufferView::Pimpl's dispatch.
4566         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4567
4568 2003-03-13 André Pönitz <poenitz@gmx.net>
4569
4570         * lyxfunc.C:
4571         * text3.C:
4572         * factory.C: make it aware of InsetEnv
4573
4574 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * text2.C (setCursor): never ask for one past last
4577         (setCursor): add some debugging messages.
4578
4579         * text.C (singleWidth): never ask for one past last
4580         (singleWidth): ditto
4581         (leftMargin): ditto
4582         (rightMargin): ditto
4583         (rowBreakPoint): ditto
4584         (setHeightOfRow): ditto
4585         (prepareToPrint): ditto
4586
4587         * rowpainter.C (paintBackground): never ask for one past last
4588         (paintText): never ask for one past last
4589
4590         * paragraph_pimpl.C (getChar): make the assert stricter, never
4591         allow the one past last pos to be taken
4592
4593         * paragraph.C (getChar): ws changes only
4594
4595         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4596         (numberOfSeparators): ditto
4597         (numberOfHfills): ditto
4598
4599 2003-03-12  John Levon  <levon@movementarian.org>
4600
4601         * author.h:
4602         * author.C:
4603         * bufferparams.h:
4604         * bufferparams.C:
4605         * paragraph_funcs.C: fix per-buffer authorlists
4606
4607 2003-03-12  John Levon  <levon@movementarian.org>
4608
4609         * text.C: fix newline in right address
4610
4611 2003-03-12  Angus Leeming  <leeming@lyx.org>
4612
4613         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4614         duplicate those in LyXFunc::dispatch.
4615
4616         * commandtags.h:
4617         * LyXAction.C:
4618         * ToolbarDefaults.C:
4619         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4620         Add LFUN_FONTFREE_UPDATE.
4621
4622         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4623         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4624
4625         * bufferview_func.[Ch]: several new functions to facilliate
4626         transfer of data to and from the character dialog.
4627
4628 2003-03-12  John Levon  <levon@movementarian.org>
4629
4630         * buffer.C:
4631         * paragraph.h:
4632         * paragraph.C:
4633         * paragraph_funcs.C:
4634         * paragraph_pimpl.C:
4635         * sgml.C:
4636         * tabular.C:
4637         * text.C:
4638         * text3.C: remove META_NEWLINE in favour of an inset
4639
4640         * rowpainter.h:
4641         * rowpainter.C: remove paintNewline (done by inset)
4642
4643 2003-03-12  John Levon  <levon@movementarian.org>
4644
4645         * paragraph_pimpl.C: complain about bad getChar()s
4646         for a while at least
4647
4648 2003-03-12  John Levon  <levon@movementarian.org>
4649
4650         * buffer.h:
4651         * buffer.C: move paragraph read into a separate function,
4652         a little renaming to reflect that.
4653
4654         * bufferparams.h:
4655         * bufferparams.C: remove the author_ids map, not necessary now
4656
4657         * factory.h:
4658         * factory.C: moved Buffer::readInset to here
4659
4660         * paragraph_funcs.h:
4661         * paragraph_funcs.C: readParagraph free function moved from
4662         buffer.C
4663
4664         * tabular.C: name change
4665
4666 2003-03-12  John Levon  <levon@movementarian.org>
4667
4668         * buffer.C:
4669         * ParagraphParameters.C: move par params input to
4670         a read() method
4671
4672         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4673         behave like a normal read from the stream wrt reading
4674         a line vs. a \\token
4675
4676 2003-03-12  John Levon  <levon@movementarian.org>
4677
4678         * paragraph.C:
4679         * ParagraphParameters.h:
4680         * ParagraphParameters.C: move output code to a
4681         ::write() method
4682
4683 2003-03-12  John Levon  <levon@movementarian.org>
4684
4685         * BufferView.C (insertLyXFile):
4686         * buffer.h:
4687         * buffer.C:
4688         * tabular.C: use a parlist iterator for creating the
4689           document.
4690
4691 2003-03-12  John Levon  <levon@movementarian.org>
4692
4693         * buffer.C: make current_change static local not
4694           static file-scope
4695
4696 2003-03-12  John Levon  <levon@movementarian.org>
4697
4698         * buffer.C: fix insertStringAsLines for change tracking
4699
4700 2003-03-12  John Levon  <levon@movementarian.org>
4701
4702         * BufferView.C:
4703         * tabular.C:
4704         * buffer.h:
4705         * buffer.C:
4706         * bufferparams.h:
4707         * bufferparams.C: move author list into params. Rename some
4708           functions. Move the header reading into a separate token
4709           loop. Move the header token reading into BufferParams.
4710
4711 2003-03-12  John Levon  <levon@movementarian.org>
4712
4713         * changes.C: put debug inside lyxerr.debugging() checks
4714
4715 2003-03-11 André Pönitz <poenitz@gmx.net>
4716
4717         * factory.C: make it aware of InsetHFill
4718
4719 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4720
4721         * buffer.C (latexParagraphs): move function from here...
4722         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4723         args.
4724
4725 2003-03-10  Angus Leeming  <leeming@lyx.org>
4726
4727         * LyXAction.C (init): fix bug in poplating array with multiple entries
4728         with the same LFUN (spotted by JMarc).
4729
4730 2003-03-10  John Levon  <levon@movementarian.org>
4731
4732         * text.C:
4733         * text2.C: move getColumnNearX() near its
4734         only call site
4735
4736 2003-03-10  John Levon  <levon@movementarian.org>
4737
4738         * text.C: fix break before a minipage
4739
4740 2003-03-10  John Levon  <levon@movementarian.org>
4741
4742         * text.C: fix the last commit
4743
4744 2003-03-09  John Levon  <levon@movementarian.org>
4745
4746         * lyxtext.h:
4747         * text.C:
4748         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4749         bug 365 (don't break before insets unless needed). Don't
4750         return a value > last under any circumstances.
4751
4752 2003-03-09  Angus Leeming  <leeming@lyx.org>
4753
4754         * BufferView_pimpl.C (trackChanges, dispatch): call
4755         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4756
4757 2003-03-09  Angus Leeming  <leeming@lyx.org>
4758
4759         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4760         than Dialogs::showAboutlyx().
4761
4762 2003-03-09  Angus Leeming  <leeming@lyx.org>
4763
4764         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4765         than Dialogs::showTabularCreate().
4766
4767 2003-03-09  John Levon  <levon@movementarian.org>
4768
4769         * lyxtext.h:
4770         * text.C:
4771         * text2.C: 3rd arg to nextBreakPoint was always the same.
4772           Use references.
4773
4774 2003-03-08  John Levon  <levon@movementarian.org>
4775
4776         * lyxrow.C:
4777         * paragraph.C:
4778         * paragraph.h:
4779         * rowpainter.C:
4780         * text.C:
4781         * text2.C: Remove the "main" bit from the "main body"
4782           notion.
4783
4784 2003-03-08  John Levon  <levon@movementarian.org>
4785
4786         * text.C (leftMargin): The left margin of an empty
4787         manual label paragraph should not include the label width
4788         string length.
4789
4790         * text.C (prepareToPrint): don't attempt to measure hfills
4791         for empty manual label paragraphs - the answer should be 0
4792
4793 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * CutAndPaste.C: remove commented code and reindent.
4796
4797 2003-03-08  John Levon  <levon@movementarian.org>
4798
4799         * lyxfunc.h:
4800         * lyxfunc.C: move reloadBuffer()
4801
4802         * BufferView.h:
4803         * BufferView.C: to here
4804
4805         * lyxvc.C: add comment
4806
4807         * vc-backend.h:
4808         * vc-backend.C: call bv->reload() to avoid
4809           getStatus() check on MENURELOAD
4810
4811 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4812
4813         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4814         to an old format .dep file.
4815
4816 2003-03-07  Angus Leeming  <leeming@lyx.org>
4817
4818         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4819         when the LFUN_MOUSE_RELEASE should have been handled by
4820         inset->localDispatch.
4821
4822 2003-03-07  Angus Leeming  <leeming@lyx.org>
4823
4824         * BufferView_pimpl.C (dispatch):
4825         * LyXAction.C (init):
4826         * ToolbarDefaults.C (init):
4827         * commandtags.h:
4828         * lyxfunc.C (getStatus):
4829         remove LFUN_INSET_GRAPHICS.
4830
4831         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4832
4833 2003-03-07  Angus Leeming  <leeming@lyx.org>
4834
4835         * commandtags.h:
4836         * LyXAction.C (init):
4837         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4838
4839         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4840
4841         * commandtags.h:
4842         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4843
4844         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4845         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4846
4847 2003-03-07  Angus Leeming  <leeming@lyx.org>
4848
4849         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4850         remove "ert".
4851
4852 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * ParagraphList.C (front): new function
4855         (back): implement
4856
4857 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4858
4859         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4860         and top_row_offset_. removed var first_y.
4861         * text.C (top_y):
4862         * text2.C (LyXText, removeRow):
4863         * text3.C:
4864         * BufferView_pimpl.C:
4865         use these methods instead of using first_y
4866
4867 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * text2.C (pasteSelection): adjust for checkPastePossible
4870
4871         * CutAndPaste.C: remove Paragraph * buf and replace with
4872         ParagraphList paragraphs.
4873         (DeleteBuffer): delete
4874         (cutSelection): change the tc type to textclass_type
4875         (copySelection): change the tc type to textclass_type
4876         (copySelection): adjust for ParagraphList
4877         (pasteSelection): change the tc type to textclass_type
4878         (pasteSelection): adjust for Paragraphlist
4879         (nrOfParagraphs): simplify for ParagraphList
4880         (checkPastePossible): simplify for ParagraphList
4881         (checkPastePossible): remove unused arg
4882
4883         * ParagraphList.C (insert): handle the case where there are no
4884         paragraphs yet.
4885
4886         * CutAndPaste.h: make CutAndPaste a namespace.
4887
4888         * text3.C (dispatch): adjust
4889
4890         * text.C (breakParagraph): add a ParagraphList as arg
4891
4892         * paragraph_funcs.C (breakParagraph): change to take a
4893         BufferParams and a ParagraphList as args.
4894         (breakParagraphConservative): ditto
4895         (mergeParagraph): ditto
4896         (TeXDeeper): add a ParagraphList arg
4897         (TeXEnvironment): ditto
4898         (TeXOnePar): ditto
4899
4900         * buffer.C (readLyXformat2): adjust
4901         (insertStringAsLines): adjust
4902         (latexParagraphs): adjust
4903
4904         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4905         (cutSelection): adjust
4906         (pasteSelection): adjust
4907
4908         * BufferView_pimpl.C (insertInset): adjust
4909
4910 2003-03-05  Angus Leeming  <leeming@lyx.org>
4911
4912         * commandtags.h:
4913         * LyXAction.C (init):
4914         * BufferView_pimpl.C (dispatch):
4915         * lyxfunc.C (getStatus):
4916         remove LFUN_CHILD_INSERT.
4917
4918         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4919
4920 2003-03-05  Angus Leeming  <leeming@lyx.org>
4921
4922         * commandtags.h:
4923         * LyXAction.C (init):
4924         * src/factory.C (createInset):
4925         * lyxfunc.C (getStatus):
4926         * text3.C (dispatch):
4927         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4928
4929         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4930
4931 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * ParagraphList.C (insert): handle insert right before end()
4934         (erase): fix cases where it can be first or last paragraph.
4935
4936 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4939         Paragraph::next and Paragraph::previous
4940         (TeXOnePar): ditto
4941
4942         * text.C (breakParagraph): adjust
4943
4944         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4945         BufferParams& as arg.
4946         (breakParagraph): use ParagraphList::insert
4947         (breakParagraphConservative): take a Buffer* instead of a
4948         BufferParams& as arg.
4949         (breakParagraphConservative): use ParagraphList::insert.
4950
4951         * buffer.C (insertStringAsLines): un-const it
4952         (insertStringAsLines): adjust
4953
4954         * ParagraphList.C (insert): new function
4955
4956         * CutAndPaste.C (pasteSelection): adjust
4957
4958         * text.C (backspace): adjust
4959
4960         * tabular.C (SetMultiColumn): adjust
4961
4962         * CutAndPaste.C (cutSelection): adjust
4963         (pasteSelection): adjust
4964
4965         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4966         Buffer const * as arg
4967
4968         * ParagraphList.C (erase): new function
4969         * paragraph_funcs.C (mergeParagraph): use it
4970         (mergeParagraph): make it take a Buffer* instead of a
4971         BufferParams* as arg
4972
4973         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4974         as arg
4975         (breakParagraphConservative): ditto
4976
4977         * paragraph.h: remove the breakParagraph friend
4978
4979         * paragraph.C (eraseIntern): new function
4980         (setChange): new function
4981
4982         * paragraph_funcs.C (mergeParagraph): make it take a
4983         ParagraphList::iterator instead of a Paragraph *, adjust
4984         accordingly.
4985
4986         * paragraph.h: move an #endif so that the change tracking stuff
4987         also works in the NO_NEXT case.
4988
4989 2003-03-04  Angus Leeming  <leeming@lyx.org>
4990
4991         * commandtags.h:
4992         * LyXAction.C: new LFUN_INSET_MODIFY.
4993
4994         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4995         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4996
4997 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * several files: ws changes only
5000
5001         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5002         (TeXEnvironment): ditto
5003         (TeXDeeper): ditto
5004
5005         * buffer.C (makeLaTeXFile): adjust
5006         (latexParagraphs): make it take ParagraphList::iterator as args
5007
5008 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * buffer.C (latexParagraphs): adjust
5011
5012         * paragraph.C (TeXOnePar): move function...
5013         (optArgInset): move function...
5014         (TeXEnvironment): move function...
5015         * paragraph_pimpl.C (TeXDeeper): move function...
5016         * paragraph_funcs.C: ...here
5017
5018         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5019
5020 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * buffer.C (readInset): remove compability code for old Figure and
5023         InsetInfo insets
5024
5025 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5026
5027         * buffer.C: ws changes
5028         (readInset):
5029
5030         * BufferView_pimpl.C: ditto
5031         * author.C: ditto
5032         * buffer.h: ditto
5033         * bufferlist.h: ditto
5034         * changes.h: ditto
5035         * lyxfunc.C: ditto
5036
5037 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5038
5039         * converter.[Ch]: split into itself +
5040         * graph.[Ch]
5041         * format.[Ch]
5042         * Makefile.am: += graph.[Ch] + format.[Ch]
5043         * MenuBackend.C
5044         * buffer.C
5045         * exporter.C
5046         * importer.C
5047         * lyx_main.C
5048         * lyxfunc.C
5049         * lyxrc.C: added #include "format.h"
5050
5051 2003-02-27  Angus Leeming  <leeming@lyx.org>
5052
5053         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5054           a label.
5055
5056         * factory.C (createInset): add "label" to the factory.
5057
5058         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5059           string and do no more.
5060
5061 2003-02-27  Angus Leeming  <leeming@lyx.org>
5062
5063         * commandtags.h:
5064         * LyXAction.C (init):
5065         * factory.C (createInset):
5066         * BufferView_pimpl.C (dispatch):
5067           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5068
5069         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5070
5071         * lyxfunc.C (dispatch):
5072         * text3.C (dispatch): pass name to params2string.
5073
5074 2003-02-26  Angus Leeming  <leeming@lyx.org>
5075
5076         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5077           blocks together.
5078           Rearrange the ~includes. Strip out the unnecessary ones.
5079
5080         * factory.C (createInset): reformat.
5081           create new insets for the various LFUN_XYZ_APPLY lfuns.
5082
5083 2003-02-26  John Levon  <levon@movementarian.org>
5084
5085         * lyxrow.h:
5086         * lyxrow.C: add isParStart,isParEnd helpers
5087
5088         * paragraph.h: make isInserted/DeletedText take refs
5089
5090         * paragraph_funcs.h:
5091         * paragraph_funcs.C: remove #if 0'd code
5092
5093         * lyxtext.h:
5094         * text3.C:
5095         * text2.C:
5096         * text.C: use lyxrow helpers above.
5097           Move draw and paint routines to RowPainter.
5098           Make several methods use refs not pointers.
5099           Make backgroundColor() const.
5100           Add markChangeInDraw(), isInInset().
5101           Merge changeRegionCase into changeCase.
5102           Make workWidth() shouldn't-happen code into an Assert.
5103
5104         * rowpainter.h:
5105         * rowpainter.C: new class for painting a row.
5106
5107         * vspace.h:
5108         * vspace.C: make inPixels take a ref
5109
5110 2003-02-26  Angus Leeming  <leeming@lyx.org>
5111
5112         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5113         LFUN_REF_APPLY.
5114
5115 2003-02-25  John Levon  <levon@movementarian.org>
5116
5117         * ispell.C: give the forked command a more accurate name
5118
5119 2003-02-22  John Levon  <levon@movementarian.org>
5120
5121         * toc.h:
5122         * toc.C: make TocItem store an id not a Paragraph *
5123           (bug #913)
5124
5125 2003-02-21  Angus Leeming  <leeming@lyx.org>
5126
5127         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5128           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5129           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5130           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5131           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5132           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5133
5134         * BufferView_pimpl.C (dispatch):
5135         * LyXAction.C (init):
5136         * factory.C (createInset):
5137         * lyxfunc.C (getStatus, dispatch):
5138         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5139
5140 2003-02-21  Angus Leeming  <leeming@lyx.org>
5141
5142         * BufferView_pimpl.C (MenuInsertLyXFile):
5143         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5144         * lyxfunc.C (menuNew, open, doImport):
5145           no longer pass a LyXView & to fileDlg.
5146
5147 2003-02-21  Angus Leeming  <leeming@lyx.org>
5148
5149         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5150         * LyXAction.C: change, BIBKEY to BIBITEM.
5151         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5152         Change InsetBibKey to InsetBibitem.
5153         Change BIBKEY_CODE to BIBITEM_CODE.
5154         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5155         * factory.C: replace insetbib.h with insetbibitem.h.
5156         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5157         * paragraph.C: replace insetbib.h with insetbibitem.h.
5158         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5159         Change bibkey() to bibitem().
5160         * text.C: remove insetbib.h.
5161         * text2.C: replace insetbib.h with insetbibitem.h.
5162         change bibkey() to bibitem().
5163         * text3.C: remove insetbib.h.
5164         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5165
5166 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5167
5168         * lyxrc.C (output): enclose user email in quotes (in case there are
5169         several words)
5170
5171 2003-02-18  John Levon  <levon@movementarian.org>
5172
5173         * buffer.h: add std::
5174
5175 2003-02-17  John Levon  <levon@movementarian.org>
5176
5177         * SpellBase.h:
5178         * ispell.h:
5179         * ispell.C:
5180         * pspell.h:
5181         * pspell.C: reworking. Especially in ispell, a large
5182           number of clean ups and bug fixes.
5183
5184         * lyxfunc.C: fix revert to behave sensibly
5185
5186 2003-02-17 André Pönitz <poenitz@gmx.net>
5187
5188         * LyXAction.C:
5189         * commandtags.h: new LFUN_INSERT_BIBKEY
5190
5191         * layout.h:
5192         * lyxlayout.C:
5193         * buffer.C:
5194         * factory.C:
5195         * text.C:
5196         * text2.C:
5197         * text3.C:
5198         * paragraph.[Ch]:
5199         * paragraph_func.C: remove special bibkey handling
5200
5201 2003-02-17  John Levon  <levon@movementarian.org>
5202
5203         * text.C (Delete): fix case where delete at the end of
5204           the very first paragraph would not merge the pars
5205
5206 2003-02-17  John Levon  <levon@movementarian.org>
5207
5208         * lyxrow.C: fix lastPrintablePos()
5209
5210 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5211
5212         * bufferparams.C (writeLaTeX): add a std:here
5213
5214         * buffer.C: and remove a using directive there
5215
5216 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5217
5218         * buffer.C (makeLaTeXFile): move the code that generates the
5219           preamble...
5220
5221         * bufferparams.C (writeLaTeX): ... in this new method
5222
5223         * LaTeXFeatures.C (getEncodingSet): make const
5224           (getLanguages): make const
5225
5226         * MenuBackend.C (binding): returns the binding associated to this
5227           action
5228           (add): sets the status of each item by calling getStatus. Adds
5229           some intelligence.
5230           (read): add support for OptSubMenu
5231           (expand): remove extra separator at the end of expanded menu
5232
5233 2003-02-15  John Levon  <levon@movementarian.org>
5234
5235         * BufferView.C:
5236         * BufferView_pimpl.C:
5237         * bufferlist.h:
5238         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5239           inset code that had no actual effect. Remove unneeded status
5240           code.
5241
5242 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5243
5244         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5245           in preamble
5246
5247 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5248
5249         * text.C (drawLengthMarker): also draw an arrow marker for
5250           symbolic lengths (medskip...)
5251
5252 2003-02-14  John Levon  <levon@movementarian.org>
5253
5254         * tabular.h:
5255         * tabular.C: better method names
5256
5257 2003-02-14  John Levon  <levon@movementarian.org>
5258
5259         * BufferView_pimpl.C:
5260         * bufferlist.C:
5261         * buffer.C:
5262         * converter.C:
5263         * lyx_cb.C:
5264         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5265           it's a more accurate name. Remove some pointless uses.
5266
5267 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5268
5269         * text2.C (LyXText): change order of initilizers to shut off
5270           warnings
5271
5272 2003-02-14  John Levon  <levon@movementarian.org>
5273
5274         * buffer.C: use ParIterator for getParFromID()
5275
5276         * paragraph.h:
5277         * paragraph.C:
5278         * paragraph_pimpl.h:
5279         * paragraph_pimpl.C: remove unused getParFromID()
5280
5281 2003-02-14  John Levon  <levon@movementarian.org>
5282
5283         * buffer.C: remove some very old #if 0'd parse code
5284
5285 2003-02-13  John Levon  <levon@movementarian.org>
5286
5287         * text.h:
5288         * text.C:
5289         * text2.C: move hfillExpansion(), numberOfSeparators(),
5290           rowLast(), rowLastPrintable(), numberofHfills(),
5291           numberOfLabelHfills() ...
5292
5293         * lyxrow.h:
5294         * lyxrow.C: ... to member functions here.
5295
5296         * paragraph.h:
5297         * paragraph.C:
5298         * lyxtext.h:
5299         * text.C: remove LyXText::beginningOfMainBody(), and call
5300           p->beginningOfMainBody() directly. Move the check for
5301           LABEL_MANUAL into the latter.
5302
5303         * text.h:
5304         * text.C:
5305         * text2.C:
5306         * vspace.C:
5307         * BufferView.h:
5308         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5309
5310         * text.h:
5311         * text.C:
5312         * text2.C:
5313         * text3.C:
5314         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5315           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5316
5317 2003-02-13  John Levon  <levon@movementarian.org>
5318
5319         * CutAndPaste.C: remove debug
5320
5321 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5322
5323         * paragraph.C (asString): remove two unused variables
5324
5325         * lyxtextclass.C (readTitleType):
5326           (Read):
5327           (LyXTextClass): handle new members titletype_ and titlename_
5328
5329         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5330
5331 2003-02-09  John Levon  <levon@movementarian.org>
5332
5333         * buffer.h:
5334         * buffer.C: replace hand-coded list with a map for the dep clean
5335
5336 2003-02-08  John Levon  <levon@movementarian.org>
5337
5338         * LaTeX.C: consolidate code into showRunMessage() helper
5339
5340 2003-02-08  John Levon  <levon@movementarian.org>
5341
5342         * lyxfind.C:
5343         * lyxtext.h:
5344         * text2.C:
5345         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5346           and pass the size in explicitly
5347
5348         * BufferView_pimpl.h:
5349         * BufferView_pimpl.C:
5350         * BufferView.h:
5351         * BufferView.C: add getCurrentChange()
5352
5353         * BufferView_pimpl.h:
5354         * BufferView_pimpl.C: handle change lfuns
5355
5356         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5357           for changes. Mark pasted paragraphs as new.
5358
5359         * support/lyxtime.h:
5360         * support/lyxtime.C:
5361         * DepTable.C: abstract time_t as lyx::time_type
5362
5363         * LColor.h:
5364         * LColor.C: add colours for new text, deleted text, changebars
5365
5366         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5367           package use "usenames" option.
5368
5369         * commandtags.h:
5370         * lyxfunc.C:
5371         * LyXAction.C: add change lfuns
5372
5373         * Makefile.am:
5374         * author.h:
5375         * author.C: author handling
5376
5377         * buffer.h:
5378         * buffer.C: add a per-buffer author list, with first entry as
5379           current author. Handle new .lyx tokens for change tracking. Output
5380           author list to .lyx file. Output dvipost stuff to .tex preamble.
5381           Bump lyx format to 222.
5382
5383         * bufferlist.h:
5384         * bufferlist.C: add setCurrentAuthor() to reset current author details
5385           in all buffers.
5386
5387         * bufferparams.h:
5388         * bufferparams.C: add param for tracking
5389
5390         * bufferview_funcs.C: output change info in minibuffer
5391
5392         * Makefile.am:
5393         * changes.h:
5394         * changes.C: add change-tracking structure
5395
5396         * debug.h:
5397         * debug.C: add CHANGES debug flag
5398
5399         * lyxfind.h:
5400         * lyxfind.C: add code for finding the next change piece
5401
5402         * lyxrc.h:
5403         * lyxrc.C: add user_name and user_email
5404
5405         * lyxrow.h:
5406         * lyxrow.C: add a metric for the top of the text line
5407
5408         * lyxtext.h:
5409         * text.C: implement accept/rejectChange()
5410
5411         * lyxtext.h:
5412         * text.C: paint changebars. Paint new/deleted text in the chosen
5413         colours. Strike through deleted text.
5414
5415         * paragraph.h:
5416         * paragraph.C:
5417         * paragraph_pimpl.h:
5418         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5419           in the current change to the insert functions. Rework erase to
5420           mark text as deleted, adding an eraseIntern() and a range-based
5421           erase(). Implement per-paragraph change lookup and
5422           accept/reject.
5423
5424         * paragraph_funcs.C: Fixup paste for change tracking.
5425
5426         * tabular.C: mark added row/columns as new.
5427
5428         * text.C: fix rowLast() to never return -1. Don't allow
5429           spellchecking of deleted text. Track transpose changes. Don't
5430           allow paragraph break or merge where appropriate.
5431
5432         * text2.C: leave cursor at end of selection after a cut.
5433
5434 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5435
5436         * text.C (getLengthMarkerHeight):
5437         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5438         visible on screen too.
5439
5440 2003-02-07  John Levon  <levon@movementarian.org>
5441
5442         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5443
5444 2003-02-05  Angus Leeming  <leeming@lyx.org>
5445
5446         * lyxserver.C (read_ready): revert my patch of 11 September last year
5447         as it sends PC cpu through the roof. Presumably this means that
5448         the lyxserver will no longer run on an Alpha...
5449
5450 2003-01-30  Angus Leeming  <leeming@lyx.org>
5451
5452         * factory.C (createInset): create an InsetCommandParam of type "index"
5453         and use it to 'do the right thing'.
5454
5455         * text2.C (getStringToIndex): ensure that cursor position is always
5456         reset to the reset_cursor position.
5457
5458 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5459
5460         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5461         disabled.
5462
5463 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5464
5465         * bufferview.C:
5466         * lyxcb.C:
5467         * lyxfunc.C: Output messages with identical spelling, punctuation,
5468         and spaces
5469
5470 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5471
5472         * MenuBackend.C (expandFormats): List only viewable export formats
5473         in "View" menu
5474
5475         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5476         message
5477
5478         * lyxfunc.C (getStatus): Make sure that formats other than
5479         "fax" can also be disabled
5480
5481 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5482
5483         * text3.C (dispatch): put the lfuns that insert insets in 3
5484         groups, and call doInsertInset with appropriate arguments.
5485         (doInsertInset): new function, that creates an inset and inserts
5486         it according to some boolean parameters.
5487
5488 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * buffer.C (readFile): remember to pass on 'par' when calling
5491         readFile recursively.
5492
5493 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5494
5495         * MenuBackend.C (expandFormats): add "..." to import formats.
5496
5497 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5498
5499         * paragraph.C (asString): Remove XForms RTL hacks.
5500
5501 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5502         * buffer.C: fix typo
5503
5504 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * Makefile.am (LIBS): delete var
5507         (lyx_LDADD): add @LIBS@ here instead.
5508
5509 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5510
5511         * Clarify the meaning of "wheel mouse jump"
5512
5513 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5514
5515         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5516         tabular in a float
5517
5518 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5519
5520         * importer.C (Loaders): do not preallocate 3 elements in the
5521         vector, since one ends up with 6 elements otherwise
5522
5523 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5524
5525         * DepTable.C (write): write the file name as last element of the
5526         .dep file (because it may contain spaces)
5527         (read): read info in the right order
5528
5529 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5530
5531         * paragraph_pimpl.C (simpleTeXBlanks):
5532         (simpleTeXSpecialChars):
5533         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5534
5535         * tabular.C (latex): add some missing case statements. Reindent.
5536
5537         * MenuBackend.C (expandToc): remove unused variable.
5538
5539 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5540
5541         * LColor.C:
5542         * LaTeX.C:
5543         * LyXAction.C:
5544         * MenuBackend.C:
5545         * buffer.C:
5546         * exporter.C:
5547         * lyxfunc.C:
5548         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5549         and the like.
5550
5551 2003-01-05  John Levon  <levon@movementarian.org>
5552
5553         * BufferView.h:
5554         * BufferView.C: add getEncoding()
5555
5556         * kbsequence.h:
5557         * kbsequence.C: do not store last keypress
5558
5559         * lyxfunc.h:
5560         * lyxfunc.C: store last keypress here instead. Pass encoding
5561           to getISOEncoded()
5562
5563 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5564
5565         * lyx_main.C (init): remove annoying error message when following
5566         symbolic links (bug #780)
5567
5568 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5569
5570         * text.C (insertChar):
5571         * lyxrc.C (getDescription): remove extra spaces
5572
5573 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5574
5575         * lyxrc.C (getDescription): remove extra spaces
5576
5577 2002-12-20  John Levon  <levon@movementarian.org>
5578
5579         * text3.C: hack fix for page up/down across tall rows
5580
5581 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5582
5583         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5584         not been invoked
5585
5586 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5587
5588         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5589         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5590         thesaurus is not compiled in
5591
5592 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5593
5594         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5595
5596 2002-12-16  Angus Leeming  <leeming@lyx.org>
5597
5598         * lyxrc.[Ch]:
5599         * lyx_main.C (init): remove override_x_deadkeys stuff.
5600
5601 2002-12-12  John Levon  <levon@movementarian.org>
5602
5603         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5604           insert. Only remove shift modifier under strict
5605           circumstances.
5606
5607 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * MenuBackend.C (expandToc): fix crash.
5610
5611 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * MenuBackend.C (expandToc): gettext on float names.
5614
5615 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5616
5617         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5618         implement bool empty() [bug 490]
5619
5620 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5623
5624 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * several files: ws changes
5627
5628 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * text2.C (setCounter): clean up a bit, use boost.format.
5631         (updateCounters): initialize par upon declaration.
5632
5633         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5634         if the layout exists. We do not just store the layout any more.
5635         (SwitchLayoutsBetweenClasses): use boost.format
5636
5637 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5638
5639         * converter.C (convert): if from and to files are the same, use a
5640         temporary files as intermediary
5641
5642 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5643
5644         * commandtags.h:
5645         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5646
5647 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5648
5649         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5650
5651 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * tabular.C (asciiPrintCell): use string(size, char) instead of
5654         explicit loop.
5655
5656         * sgml.C (openTag): fix order of arguments to string constructor
5657         (closeTag): ditto
5658
5659         * lyxfunc.C (dispatch): use boost.format
5660
5661         * lots of files: change "c" -> 'c'
5662
5663 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5664
5665         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5666
5667 2002-11-25  Angus Leeming  <leeming@lyx.org>
5668
5669         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5670
5671         * lyx_main.C (init): compile fix.
5672
5673 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * lyx_cb.C (start): boost.formatify
5676         do not include <iostream>
5677
5678         * lengthcommon.C: ws only
5679
5680         * boost-inst.C,BoostFormat.h: add more explict instantations
5681
5682 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * lots of files: handle USE_BOOST_FORMAT
5685
5686 2002-11-21  John Levon  <levon@movementarian.org>
5687
5688         * pspell.C: fix compile
5689
5690 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5691
5692         * lyxfunc.C (dispatch): use boost::format
5693         (open): ditto
5694         (doImport): ditto
5695
5696         * lyxfont.C (stateText): use boost::format
5697
5698         * lyx_main.C (LyX): use boost::format
5699         (init): ditto
5700         (queryUserLyXDir): ditto
5701         (readRcFile): ditto
5702         (parse_dbg): ditto
5703         (typedef boost::function): use the recommened syntax.
5704
5705         * importer.C (Import): use boost::format
5706
5707         * debug.C (showLevel): use boost::format
5708
5709         * converter.C (view): use boost::format
5710         (convert): ditto
5711         (move): ditto
5712         (scanLog): ditto
5713
5714         * bufferview_funcs.C (currentState): use boost::format
5715
5716         * bufferlist.C (emergencyWrite): use boost::format
5717
5718         * buffer.C (readLyXformat2): use boost::format
5719         (parseSingleLyXformat2Token): ditto
5720
5721         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5722
5723         * LaTeX.C (run): use boost::format
5724
5725         * Chktex.C (scanLogFile): use boost::format
5726
5727         * BufferView_pimpl.C (savePosition): use boost::format
5728         (restorePosition): ditto
5729         (MenuInsertLyXFile): ditto
5730
5731         * BoostFormat.h: help file for explicit instation.
5732
5733 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5734
5735         * tabular.C (latex): Support for block alignment in fixed width
5736         columns.
5737
5738 2002-11-17  John Levon  <levon@movementarian.org>
5739
5740         * BufferView_pimpl.C:
5741         * lyx_cb.C:
5742         * lyxfunc.C: split filedialog into open/save
5743
5744 2002-11-08  Juergen Vigna  <jug@sad.it>
5745
5746         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5747         by my last patch (hopefully).
5748
5749 2002-11-08  John Levon  <levon@movementarian.org>
5750
5751         * iterators.h:
5752         * iterators.C:
5753         * buffer.h:
5754         * buffer.C:
5755         * paragraph.h:
5756         * paragraph.C:
5757         * toc.h:
5758         * toc.C: ParConstIterator, and use it (from Lars)
5759
5760 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5761
5762         * lyxtextclass.[Ch]: revise and add doxygen comments
5763
5764 2002-11-07  John Levon  <levon@movementarian.org>
5765
5766         * text.C: fix progress value for spellchecker
5767
5768         * toc.C: fix navigate menu for insetwrap inside minipage
5769
5770         * paragraph_funcs.C: added FIXME for suspect code
5771
5772 2002-11-07  John Levon  <levon@movementarian.org>
5773
5774         * BufferView_pimpl.C: fix redrawing of insets
5775           on buffer switch
5776
5777 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5778
5779         * text2.C (updateCounters): fix bug 668
5780
5781 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5782
5783         * text3.C (dispatch): Do not make the buffer dirty when moving the
5784         cursor.
5785
5786 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * vc-backend.C: STRCONV
5789         (scanMaster): ditto
5790
5791         * text2.C (setCounter): STRCONV
5792
5793         * paragraph.C (asString): STRCONV
5794
5795         * lyxlength.C (asString): STRCONV
5796         (asLatexString): ditto
5797
5798         * lyxgluelength.C (asString): STRCONV
5799         (asLatexString): ditto
5800
5801         * lyxfunc.C (dispatch): STRCONV
5802         (open): ditto
5803
5804         * lyxfont.C (stateText): STRCONV
5805
5806         * importer.C (Import): STRCONV
5807
5808         * counters.C (labelItem): STRCONV
5809         (numberLabel): ditto
5810         (numberLabel): remove unused ostringstream o
5811
5812         * chset.C: STRCONV
5813         (loadFile): ditto
5814
5815         * bufferview_funcs.C (currentState): STRCONV
5816
5817         * buffer.C (readFile): STRCONV
5818         (asciiParagraph): ditto
5819         (makeLaTeXFile): ditto
5820
5821         * Spacing.C (writeEnvirBegin): STRCONV
5822
5823         * LaTeXFeatures.C (getLanguages): STRCONV
5824         (getPackages): ditto
5825         (getMacros): ditto
5826         (getBabelOptions): ditto
5827         (getTClassPreamble): ditto
5828         (getLyXSGMLEntities): ditto
5829         (getIncludedFiles): ditto
5830
5831         * LaTeX.C: STRCONV
5832         (run): ditto
5833         (scanAuxFile): ditto
5834         (deplog): ditto
5835
5836         * LString.h: add the STRCONV macros
5837
5838         * BufferView_pimpl.C (savePosition): STRCONV
5839         (restorePosition): ditto
5840         (MenuInsertLyXFile): ditto
5841
5842         * vc-backend.C (scanMaster): change from submatch[...] to
5843         submatch.str(...)
5844
5845         * funcrequest.C: include config.h
5846
5847         * factory.C: include config.h
5848
5849         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5850
5851         * box.C: include config.h
5852
5853         * LaTeX.C (scanAuxFile): change from submatch[...] to
5854         submatch.str(...)
5855         (deplog): ditto
5856
5857 2002-10-25  Angus Leeming  <leeming@lyx.org>
5858
5859         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5860
5861         * ispell.[Ch] (setError): new method.
5862         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5863         Use setError() insetead of goto END.
5864
5865         * lyx_cb.C (AutoSave): move out child process into new class
5866         AutoSaveBuffer.
5867
5868 2002-10-30  John Levon  <levon@movementarian.org>
5869
5870         * text3.C: make start appendix undoable
5871
5872 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5873
5874         * lyxlength.C (inPixels): Fix returned value.
5875
5876         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5877         environment.
5878
5879 2002-10-24  Angus Leeming  <leeming@lyx.org>
5880
5881         * lyxgluelength.h: no need to forward declare BufferParams
5882         or BufferView, so don't.
5883
5884 2002-10-21  John Levon  <levon@movementarian.org>
5885
5886         * BufferView.C: menuUndo ->undo, redo
5887
5888         * BufferView.h: document, remove dead, make some methods private
5889
5890         * paragraph_funcs.h:
5891         * paragraph_funcs.C:
5892         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5893
5894         * buffer.h:
5895         * buffer.C:
5896         * sgml.h:
5897         * sgml.C: move sgml open/close tag into sgml.C
5898
5899         * bufferview_funcs.h: unused prototype
5900
5901         * lyxfunc.h:
5902         * lyxfunc.C: remove unused
5903
5904         * lyxtext.h:
5905         * text.C: remove unused
5906
5907 2002-10-21  John Levon  <levon@movementarian.org>
5908
5909         * BufferView.h:
5910         * BufferView.C:
5911         * BufferView_pimpl.h:
5912         * BufferView_pimpl.C: fix mouse wheel handling based on
5913           patch from Darren Freeman
5914
5915 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5916
5917         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5918
5919 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5920
5921         * lyxlength.C (inPixels): Fix hanfling of negative length.
5922         Fix LyXLength::MU case.
5923
5924 2002-10-16  John Levon  <levon@movementarian.org>
5925
5926         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5927
5928 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5929
5930         * converter.C (view): add support for $$i (file name) and $$p
5931         (file path) for the viewer command. If $$i is not specified, then
5932         it is appended to the command (for compatibility with old syntax)
5933
5934 2002-10-14  Juergen Vigna  <jug@sad.it>
5935
5936         * undo_funcs.C (textHandleUndo): alter the order in which the
5937         new undopar is added to the LyXText, as we have to set first
5938         the right prev/next and then add it as otherwise the rebuild of
5939         LyXText is not correct. Also reset the cursor to the right paragraph,
5940         with this IMO we could remove the hack in "redoParagraphs()".
5941
5942 2002-10-09  Angus Leeming  <leeming@lyx.org>
5943
5944         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5945         to turn off an optimisation if a new inset is to be inserted.
5946
5947 2002-10-11 André Pönitz <poenitz@gmx.net>
5948
5949         * lyxtext.h: make some functions public to allow access
5950         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5951
5952 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5953
5954         * text3.C (dispatch): when changing layout, avoid an infinite loop
5955         [bug #652]
5956
5957 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5958
5959         * lyxrc.C (read): treat a viewer or converter command of "none" as
5960         if it were empty.
5961
5962         * MenuBackend.C (expandFormats): for an update, also allow the
5963         formats that are not viewable
5964
5965         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5966         script if it is newer than the lyxrc.defaults in user directory
5967
5968 2002-10-07 André Pönitz <poenitz@gmx.net>
5969
5970         * text.C: Vitaly Lipatov's small i18n fix
5971
5972 2002-09-25  Angus Leeming  <leeming@lyx.org>
5973
5974         * ispell.h: doxygen fix.
5975
5976 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5977
5978         * buffer.h (readFile): Add a new argument to the method, to allow
5979         reading of old-format templates.
5980
5981 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5982
5983         * toc.C (getTocList): Get TOC from InsetWrap.
5984
5985 2002-09-16  John Levon  <levon@movementarian.org>
5986
5987         * lyxfunc.C: check tabular for cut/copy too
5988
5989 2002-09-12  John Levon  <levon@movementarian.org>
5990
5991         * LyXAction.C: tidy
5992
5993         * factory.h:
5994         * factory.C: add header
5995
5996         * paragraph_funcs.h:
5997         * paragraph_funcs.C: cleanup
5998
5999 2002-09-11  John Levon  <levon@movementarian.org>
6000
6001         * PrinterParams.h: odd/even default to true
6002
6003 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6004
6005         * PrinterParams.h: update printer parameters for new xforms dialog
6006
6007 2002-09-11  Angus Leeming  <leeming@lyx.org>
6008
6009         * lyxserver.C (read_ready): re-write to make it more transparent
6010         and to make it work in coherent fashion under Tru64 Unix.
6011
6012 2002-09-11  André Pönitz <poenitz@gmx.net>
6013
6014         * commandtags.h:
6015         * LyXAction.C:
6016         * text3.C: implement LFUN_WORDSEL
6017
6018 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6021         make floatlist_ a boost::shared_ptr<FloatList>
6022
6023         * lyxtextclass.C: include FloatList.h
6024         (LyXTextClass): initialize floatlist_
6025         (TextClassTags): add TC_NOFLOAT
6026         (Read): match "nofloat" to TC_NOFLOAT and use it.
6027         (readFloat): modify call to floatlist_
6028         (floats): ditto
6029         (floats): ditto
6030
6031         * FloatList.[Ch] (FloatList): remove commented out float
6032         initialization.
6033         (erase): new function
6034
6035 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6036
6037         * MenuBackend.C (expandToc): fix crash when there is no document
6038         open
6039
6040 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6041
6042         * many files: Add insetwrap.
6043
6044 2002-09-09  John Levon  <levon@movementarian.org>
6045
6046         * text2.C: remove confusing and awkward depth wraparound
6047
6048 2002-09-09  John Levon  <levon@movementarian.org>
6049
6050         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6051
6052         * buffer.h:
6053         * buffer.C: remove getIncludeonlyList()
6054
6055         * paragraph.C:
6056         * lyxfunc.C: remove headers
6057
6058 2002-09-09  Juergen Vigna  <jug@sad.it>
6059
6060         * text.C (getColumnNearX): fix form Michael this is most
6061         probably a cut&paste bug.
6062
6063 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6066
6067         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6068         references, ws changes.
6069
6070         * text2.C (init): update counters after init
6071         (insertParagraph): no need to set counter on idividual paragraphs.
6072         (setCounter): access the counters object in the textclass object
6073         on in the buffer object.
6074         (updateCounters): ditto
6075
6076         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6077         shared_ptr<Counters> to avoid loading counters.h in all
6078         compilation units.
6079         (LyXTextClass): initialize ctrs_
6080         (TextClassTags): add TC_COUNTER, and ...
6081         (Read): use it here.
6082         (CounterTags): new tags
6083         (readCounter): new function
6084         (counters): new funtion
6085         (defaultLayoutName): return a const reference
6086
6087         * counters.C (Counters): remove contructor
6088         (newCounter): remove a couple of unneeded statements.
6089         (newCounter): simplify a bit.
6090         (numberLabel): some small formatting changes.
6091
6092         * buffer.[Ch]: remove all traces of counters, move the Counters
6093         object to the LyXTextClass.
6094
6095 2002-09-06  Alain Castera  <castera@in2p3.fr>
6096
6097         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6098         package to set the horizontal alignment on fixed width columns.
6099
6100         * lyx_sty.C:
6101         * lyx_sty.h: added tabularnewline macro def.
6102
6103         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6104
6105 2002-09-06  John Levon  <levon@movementarian.org>
6106
6107         * LyXAction.C: tooltips for sub/superscript
6108
6109         * MenuBackend.C: a bit more verbose
6110
6111         * lyxfunc.C: tiny clean
6112
6113         * undo_funcs.C: document undo_frozen
6114
6115 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * counters.C (Counters): add missing algorithm counter.
6118
6119         * text2.C (setCounter): lookup the counter with layouts latexname
6120         instead of by section number.
6121         (setCounter): use a hackish way to lookup the correct enum
6122         counter.
6123         a float name->type change
6124         reset enum couners with counter name directly instead of depth value.
6125
6126         * counters.C (Counters): remove the push_backs, change to use the
6127         float type not the float name.
6128         (labelItem): remove unused string, float name->type change
6129
6130         * counters.h: don't include vector, loose the enums and sects vectors
6131
6132 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6135         (Read): add float->TC_FLOAT to textclassTags
6136         (Read): and handle it in the switch
6137         (readFloat): new function
6138
6139         * FloatList.C (FloatList): comment out the hardcoded float
6140         definitions.
6141
6142         * lyxlayout.h: ws change.
6143
6144 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6145
6146         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6147
6148 2002-09-03  Angus Leeming  <leeming@lyx.org>
6149
6150         * BufferView_pimpl.h: qualified name is not allowed in member
6151         declaration: WorkArea & Pimpl::workarea() const;
6152
6153         * factory.C: added using std::endl directive.
6154
6155         * text3.C: added using std::find and std::vector directives.
6156
6157 2002-08-29  André Pönitz <poenitz@gmx.net>
6158
6159         * lyxtext.h:
6160         * text2.C: remove unused member number_of_rows
6161
6162         * Makefile.am:
6163         * BufferView2.C: remove file, move contents to...
6164         * BufferView.C: ... here
6165
6166         * BufferView_pimpl.C:
6167         * factory.C: move more inset creation to factory
6168
6169         * vspace.C: avoid direct usage of LyXText, ws changes
6170
6171         * BufferView.[Ch]:
6172                 don't provide direct access to WorkArea, use two simple
6173                 acessors haveSelction() and workHeight() instead
6174
6175
6176 2002-08-29  John Levon  <levon@movementarian.org>
6177
6178         * BufferView_pimpl.C (dispatch): do not continue when
6179           no buffer
6180
6181 2002-08-28  André Pönitz <poenitz@gmx.net>
6182
6183         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6184
6185         * BufferView.h:
6186         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6187
6188 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6189
6190         * buffer.C: increment LYX_FORMAT to 221
6191
6192         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6193         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6194
6195         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6196
6197         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6198
6199 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6200
6201         * factory.C (createInset): use LyXTextClass::floats
6202
6203         * MenuBackend.C (expandFloatListInsert):
6204         (expandFloatInsert):
6205         (expandToc):
6206
6207         * text2.C (setCounter):
6208
6209         * LaTeXFeatures.C (useFloat):
6210         (getFloatDefinitions):
6211
6212         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6213
6214         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6215         floatlist_, with accessor floats().
6216
6217         * FloatList.h: remove global FloatList
6218
6219 2002-08-26  André Pönitz <poenitz@gmx.net>
6220
6221         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6222
6223         * BufferView.h:
6224         * BufferView2.C:
6225         * BufferView_pimpl.C:
6226         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6227
6228 2002-08-25  John Levon  <levon@movementarian.org>
6229
6230         * LyXAction.C: fix margin note description
6231
6232 2002-08-24  John Levon  <levon@movementarian.org>
6233
6234         * buffer.C:
6235         * bufferlist.C:
6236         * bufferview_funcs.C:
6237         * lyxfont.C:
6238         * undo_funcs.C: cleanups
6239
6240         * lyxfunc.C: disable CUT/COPY when no selection
6241
6242 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6243
6244         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6245         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6246
6247         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6248         Add backward compatibility to "mono", "gray" and "no".
6249
6250 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6251
6252         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6253         (and file_format >= 200).
6254
6255 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6256
6257         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6258
6259 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6260
6261         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6262
6263 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6264
6265         * BufferView_pimpl.C:
6266         * LyXAction.C:
6267         * buffer.C:
6268         * commandtags.h:
6269         * lyxfunc.C:
6270         * paragraph.[Ch]:
6271         * text2.C:
6272         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6273         inset and code to make it  work with the paragraph code. The inset
6274         can be anywhere in the paragraph, but will only do the expected
6275         thing in LaTeX if the layout file contains the parameter line
6276                         OptionalArgs    1
6277         (or more generally, a nonzero value) for that layout.
6278
6279 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * paragraph.h: remove the declaration of undefined counters class
6282         function.
6283
6284 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6285
6286         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6287         Dr. Richard Hawkins.
6288
6289 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6290
6291         * paragraph_funcs.h: remove some unneeded includes
6292
6293         * text.C (backspace): pasteParagraph now in global scipe
6294
6295         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6296         (pasteSelection): ditto
6297
6298         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6299         * paragraph_funcs.C (pasteParagraph): ... here
6300
6301 2002-08-20  André Pönitz <poenitz@gmx.net>
6302
6303         * commandtags.h: new LFUNs for swapping/copying table row/colums
6304
6305         * LyXAction.C:
6306         * lyxfunc.C: support for new lfuns
6307
6308 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * tabular.C:
6311         * buffer.[Ch]: remove NO_COMPABILITY stuff
6312
6313 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * boost.C (throw_exception): new file, with helper function for
6316         boost compiled without exceptions.
6317
6318         * paragraph.h:
6319         * lyxlength.C:
6320         * buffer.C:
6321         * ParameterStruct.h:
6322         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6323
6324         * bufferlist.C (emergencyWriteAll): use boost bind
6325
6326         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6327
6328         * text.C: include paragraph_funcs.h
6329         (breakParagraph): breakParagraph is now in global scope
6330
6331         * paragraph_funcs.[Ch]: new files
6332
6333         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6334         global scope
6335
6336         * buffer.C: include paragraph_funcs.h
6337         (insertStringAsLines): breakParagraph is now in global scope
6338
6339         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6340         paragraph_funcs.C
6341
6342         * CutAndPaste.C: include paragraph_funcs.h
6343         (cutSelection): breakParagraphConservative is now in global scope
6344         (pasteSelection): ditto
6345
6346         * buffer.h: declare oprator== and operator!= for
6347         Buffer::inset_iterator
6348
6349         * bufferlist.C (emergencyWrite): don't use fmt(...)
6350
6351         * text3.C: add using std::endl
6352
6353         * BufferView.C (moveCursorUpdate): remove default arg
6354
6355 2002-08-20  André Pönitz <poenitz@gmx.net>
6356
6357         * buffer.[Ch]: move inline functions to .C
6358
6359         * BufferView2.C:
6360         * BufferView_pimpl.C:
6361         * text.C:
6362         * buffer.[Ch]: use improved inset_iterator
6363
6364         * buffer.C:
6365         * paragraph.[Ch]: write one paragraph at a time
6366
6367 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6368
6369         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6370         style if style is not specified.
6371
6372 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6373
6374         * text2.C (setCounter): when searching for right label for a
6375         caption, make sure to recurse to parent insets (so that a caption
6376         in a minipage in a figure float works) (bug #568)
6377
6378 2002-08-20  André Pönitz <poenitz@gmx.net>
6379
6380         * text3.C: new file for LyXText::dispatch() and helpers
6381
6382         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6383
6384         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6385
6386 2002-08-19  André Pönitz <poenitz@gmx.net>
6387
6388         * lyxtext.h:
6389         * text.C: new LyXText::dispatch()
6390
6391         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6392
6393 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6394
6395         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6396
6397         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6398         Hebrew text.
6399
6400 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6401
6402         * Makefile.am: use $(variables) instead of @substitutions@
6403
6404 2002-08-15  André Pönitz <poenitz@gmx.net>
6405
6406         * lyxfunc.C:
6407         * BufferView_pimpl.C: streamlining mathed <-> outer world
6408         interaction
6409
6410         * commandtags.h:
6411         * LyXAction.C: remove unused LFUN_MATH
6412
6413 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6416
6417 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * paragraph.C (Paragraph): reformat a bit
6420         (cutIntoMinibuffer): use builtin InsetList function instad of
6421         doing it manually.
6422         (getInset): ditto
6423
6424         * buffer.C: include boost/bind.hpp, add using std::for_each
6425         (writeFileAscii): use ParagraphList iterators
6426         (validate): use for_each for validate traversal of paragraphs
6427         (getBibkeyList): use ParagraphList iterators
6428         (resizeInsets): use for_each to resizeInsetsLyXText for all
6429         paragraphs.
6430         (getParFromID): use ParagraphList iterators
6431
6432         * BufferView2.C (lockInset): use paragraph list and iterators
6433
6434 2002-08-14  John Levon  <levon@movementarian.org>
6435
6436         * lyxserver.C: remove spurious xforms include
6437
6438 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6439
6440         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6441
6442 2002-08-13  André Pönitz <poenitz@gmx.net>
6443
6444         * LyXAction.[Ch]:
6445         * lyxfunc.C: further cleaning
6446
6447 2002-08-13  André Pönitz <poenitz@gmx.net>
6448
6449         * funcrequest.h: new constructor
6450
6451         * funcrequest.C: move stuff here from .h
6452
6453         * Makefile.am:
6454         * BufferView_pimpl.C:
6455         * LyXAction.C:
6456         * toc.C:
6457         * lyxfunc.C: subsequent changes
6458
6459         * lyxfunc.h: new view() member function
6460
6461         * lyxfunc.C: subsequent changes
6462
6463 2002-08-13  Angus Leeming  <leeming@lyx.org>
6464
6465         * BufferView2.C:
6466         * BufferView_pimpl.C:
6467         * buffer.C:
6468         * converter.C:
6469         * importer.C:
6470         * lyxfunc.C:
6471         * lyxvc.C:
6472         * toc.C:
6473         * vc-backend.C:
6474         changes due to the changed LyXView interface that now returns references
6475         to member variables not pointers.
6476
6477 2002-08-13  Angus Leeming  <leeming@lyx.org>
6478
6479         * WordLangTuple (word, lang_code): return references to strings,
6480         not strings.
6481
6482         * BufferView.h:
6483         * SpellBase.h:
6484         * lyxtext.h: forward-declare WordLangTuple.
6485
6486         * BufferView2.C:
6487         * ispell.C:
6488         * pspell.C:
6489         * text.C: #include "WordLangTuple.h".
6490
6491         * lyxtext.h:
6492         * text.C: (selectNextWordToSpellcheck): constify return type.
6493
6494 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6495
6496         * buffer.C:
6497         * buffer.h:
6498         * lyxtext.h:
6499         * paragraph.C:
6500         * paragraph_pimpl.h:
6501         * text.C:
6502         * text2.C:
6503         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6504         suggested by Angus.
6505         Made updateCounter always count from start of buffer, and removed
6506         second argument (par).
6507         Reverted floats number display to '#'. Perhaps I'll try again when the
6508         code base is sanitized a bit.
6509
6510 2002-08-12  Angus Leeming  <leeming@lyx.org>
6511
6512         * buffer.[Ch] (getLabelList): constify.
6513
6514 2002-08-07  André Pönitz <poenitz@gmx.net>
6515
6516         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6517
6518         * funcrequest.h: extension to keep mouse (x,y) position
6519
6520 2002-08-12  Juergen Vigna  <jug@sad.it>
6521
6522         * BufferView2.C (insertErrors): forbid undo when inserting error
6523         insets.
6524
6525         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6526
6527 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * ParagraphList.[Ch]: new files
6530
6531         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6532
6533         * BufferView2.C (lockInset): ParagraphList changes
6534         * toc.C: ditto
6535         * text2.C: ditto
6536         * bufferlist.C: ditto
6537         * buffer.h: ditto
6538         * buffer.C: ditto
6539
6540 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6541
6542         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6543         unused class variable counter_,
6544
6545         * paragraph.[Ch] (getFirstCounter): delete unused function
6546
6547         * counters.C: include LAssert.h
6548         (reset): add a new function with no arg, change other version to
6549         not have def. arg and to not allow empty arg.
6550
6551         * text2.C (setCounter): remove empty arg from call to Counters::reset
6552
6553 2002-08-11  John Levon  <levon@movementarian.org>
6554
6555         * Makefile.am: add WordLangTuple.h
6556
6557 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6560         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6561
6562         * insets/insettext.C: InsetList changes
6563
6564         * graphics/GraphicsSupport.C (operator()): InsetList changes
6565
6566         * toc.C (getTocList): InsetList changes
6567
6568         * paragraph_pimpl.[Ch]: InsetList changes
6569
6570         * paragraph.[Ch]: InsetList changes
6571
6572         * buffer.C (inset_iterator): InsetList changes
6573         (setParagraph): ditto
6574         * buffer.h (inset_iterator): ditto
6575         * iterators.C (operator++): ditto
6576         * iterators.h: ditto
6577
6578         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6579
6580         * InsetList.[Ch]: new files, most InsetList handling moved out of
6581         paragraph.C.
6582
6583         * BufferView2.C (removeAutoInsets): InsetList changes
6584         (lockInset): ditto
6585         (ChangeInsets): ditto
6586
6587 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6588
6589         * paragraph_pimpl.h (empty): new function
6590
6591         * paragraph.[Ch] (empty): new function
6592
6593         * other files: use the new Paragraph::empty function
6594
6595 2002-08-09  John Levon  <levon@movementarian.org>
6596
6597         * lyxtext.h: remove unused refresh_height
6598
6599 2002-08-09  John Levon  <levon@movementarian.org>
6600
6601         * Makefile.am:
6602         * sgml.h:
6603         * sgml.C:
6604         * buffer.C:
6605         * paragraph.h:
6606         * paragraph.C: move sgml char escaping out of paragraph
6607
6608         * paragraph.h:
6609         * paragraph.C: remove id setter
6610
6611         * buffer.C:
6612         * paragraph.C:
6613         * paragraph_pimpl.C: remove dead tex_code_break_column
6614
6615         * bufferview_funcs.C: small cleanup
6616
6617         * lyxfunc.C: remove dead proto
6618
6619         * lyxtext.h: make some stuff private. Remove some dead stuff.
6620
6621         * lyxgluelength.C: make as[LyX]String() readable
6622
6623 2002-08-08  John Levon  <levon@movementarian.org>
6624
6625         * LyXAction.h:
6626         * LyXAction.C:
6627         * MenuBackend.C:
6628         * ToolbarDefaults.C:
6629         * lyxfunc.C:
6630         * lyxrc.C:
6631         * toc.C: lyxaction cleanup
6632
6633 2002-08-08  John Levon  <levon@movementarian.org>
6634
6635         * BufferView2.C: small cleanup
6636
6637         * lyxfind.h:
6638         * lyxfind.C: move unnecessary header into the .C
6639
6640 2002-08-08  John Levon  <levon@movementarian.org>
6641
6642         * funcrequest.h: just tedious nonsense
6643
6644         * lyx_main.h:
6645         * lyx_main.C: cleanups
6646
6647         * buffer.C:
6648         * vspace.C: remove dead header lyx_main.h
6649
6650 2002-08-07  Angus Leeming  <leeming@lyx.org>
6651
6652         * Paragraph.[Ch]:
6653         * paragraph_pimpl.h:
6654         Forward declare class Counters in paragraph.h by moving the ctrs member
6655         variable into Paragraph::Pimpl.
6656         (counters): new method, returning a reference to pimpl_->ctrs.
6657
6658         * text2.C: ensuing changes.
6659
6660 2002-08-07  John Levon  <levon@movementarian.org>
6661
6662         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6663
6664         * BufferView_pimpl.C: announce X selection on double/triple
6665           click
6666
6667         * lyx_main.C: use correct bool in batch dispatch
6668
6669         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6670
6671 2002-08-07  André Pönitz <poenitz@gmx.net>
6672
6673         * funcrequest.h: new class to wrap a kb_action and its argument
6674
6675         * BufferView.[Ch]:
6676         * BufferView_pimpl[Ch]:
6677         * LaTeX.C:
6678         * LyXAction.[Ch]:
6679         * lyxfunc.[Ch]:
6680         * lyxrc.C: subsequent changes
6681
6682
6683 2002-08-07  John Levon  <levon@movementarian.org>
6684
6685         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6686           document options change.
6687
6688 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6689
6690         * counters.[Ch]
6691         * text2.C
6692         * paragraph.[Ch]
6693         * makefile.am: move counters functionality over from
6694         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6695
6696 2002-08-06  John Levon  <levon@movementarian.org>
6697
6698         * WordLangTuple.h: new file for word + language code tuple
6699
6700         * SpellBase.h:
6701         * pspell.h:
6702         * pspell.C:
6703         * ispell.h:
6704         * ispell.C:
6705         * lyxtext.h:
6706         * text.C:
6707         * text2.C:
6708         * BufferView.h:
6709         * BufferView2.C: use WordLangTuple
6710
6711         * layout.h:
6712         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6713
6714 2002-08-06  John Levon  <levon@movementarian.org>
6715
6716         * lyx_main.C: fix cmdline batch handling
6717
6718 2002-08-06  André Pönitz <poenitz@gmx.net>
6719
6720         * lyxrc.C: set default for show_banner to true
6721
6722 2002-08-06  John Levon  <levon@movementarian.org>
6723
6724         * pspell.C: fix a crash, and allow new aspell to work
6725
6726 2002-08-06  John Levon  <levon@movementarian.org>
6727
6728         * lyxfunc.C:
6729         * kbmap.C: small cleanup
6730
6731         * vspace.h:
6732         * vspace.C: add const
6733
6734 2002-08-05  John Levon  <levon@movementarian.org>
6735
6736         * LyXAction.C: back to tabular-insert
6737
6738 2002-08-04  John Levon  <levon@movementarian.org>
6739
6740         * BufferView.h:
6741         * BufferView.C: cosmetic change
6742
6743         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6744
6745         * bufferlist.C:
6746         * buffer.h:
6747         * buffer.C:
6748         * lyxcb.h:
6749         * lyxcb.C:
6750         * lyxserver.C:
6751         * lyxvc.C:
6752         * vc-backend.C:
6753         * BufferView2.C: purge all "Lyx" not "LyX" strings
6754
6755         * lyxcursor.h:
6756         * lyxcursor.C: attempt to add some documentation
6757
6758         * lyxfunc.C:
6759         * commandtags.h:
6760         * LyXAction.C:
6761         * ToolbarDefaults.C:
6762         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6763           merge with LFUN_TABULAR_INSERT
6764
6765         * Makefile.am:
6766         * SpellBase.h:
6767         * ispell.h:
6768         * ispell.C:
6769         * pspell.h:
6770         * pspell.C: split up i/pspell implementations into separate
6771           files, many cleanups
6772
6773         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6774
6775         * text2.C: some cleanup
6776
6777         * lyxfunc.C: don't check for isp_command == "none" any more, it
6778           didn't make any sense
6779
6780 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6781
6782         * counters.[Ch]
6783         * text2.C
6784         * paragraph.[Ch]
6785         * makefile.am: move counters functionality over
6786         from text2.C/paragraph.[Ch] to counters.[Ch], and
6787         make proper C++.
6788 2002-08-02  John Levon  <levon@movementarian.org>
6789
6790         * buffer.C: s/lyxconvert/lyx2lyx/
6791
6792 2002-08-02  Angus Leeming  <leeming@lyx.org>
6793
6794         * lyxlex.C: revert John's change as it breaks reading of the user
6795         preamble.
6796
6797 2002-08-02  Angus Leeming  <leeming@lyx.org>
6798
6799         * importer.C (Import):
6800         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6801         changes due to LyXView::view() now returning a boost::shared_ptr.
6802
6803 2002-08-02  John Levon  <levon@movementarian.org>
6804
6805         * lyxlex.C: small cleanup
6806
6807 2002-08-02  John Levon  <levon@movementarian.org>
6808
6809         * text2.C (status): small cleanup, no logic change
6810
6811 2002-08-01  John Levon  <levon@movementarian.org>
6812
6813         * buffer.h:
6814         * buffer.C (writeFile): don't output alerts, caller
6815           handles this
6816
6817         * bufferlist.C:
6818         * lyx_cb.C: from above
6819
6820         * lyxfunc.C: allow to open non-existent files
6821
6822 2002-07-31  John Levon  <levon@movementarian.org>
6823
6824         * lyxserver.C: don't let incidental errors get
6825           in the way (errno)
6826
6827 2002-07-30  John Levon  <levon@movementarian.org>
6828
6829         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6830
6831 2002-07-30  John Levon  <levon@movementarian.org>
6832
6833         * lyxserver.h:
6834         * lyxserver.C: remove I/O callback too
6835
6836 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6837
6838         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6839         log.
6840
6841 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6842
6843         * many files: strip,frontStrip -> trim,ltrim,rtrim
6844
6845 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * PrinterParams.h: remove extern containsOnly, and include
6848         support/lstrings.h instead.
6849
6850         * LaTeX.C (scanAuxFile): modify because of strip changes
6851         (deplog): ditto
6852         * buffer.C (makeLaTeXFile): ditto
6853         * bufferparams.C (writeFile): ditt
6854         * lyxfont.C (stateText): ditto
6855         * lyxserver.C (read_ready): ditto
6856         * vc-backend.C (scanMaster): ditto
6857
6858         * BufferView_pimpl.h: ws changes
6859
6860         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6861
6862 2002-07-26  André Pönitz <poenitz@gmx.net>
6863
6864         * kb_sequence.C: remove unnedred usings
6865
6866 2002-07-26  Juergen Vigna  <jug@sad.it>
6867
6868         * lyxfind.C (LyXReplace): we have to check better if the returned
6869         text is not of theLockingInset()->getLockingInset().
6870
6871 2002-07-25  Juergen Vigna  <jug@sad.it>
6872
6873         * lyxfind.C (LyXReplace): don't replace if we don't get the
6874         right LyXText.
6875
6876         * undo_funcs.C (createUndo): remove debugging code.
6877
6878 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6879
6880         * buffer.C (parseSingleLyXformat2Token): Use default placement
6881         when reading old floats.
6882
6883         * FloatList.C (FloatList): Change the default placement of figure
6884         and tables to "tbp".
6885
6886 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6887
6888         * MenuBackend.C: using std::max
6889
6890 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6891
6892         * MenuBackend.C (expandToc):
6893         (expandToc2): code moved from xforms menu frontend. It is now
6894         generic and TOCs are transparent to menu frontends.
6895
6896 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6897
6898         * toc.C (getTocList): protect against buf=0
6899
6900         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6901         Menu as first parameter. Now, this calls itself recursively to
6902         expand a whole tree (this will be useful for TOC handling)
6903         (expandFloatInsert): remove 'wide' version of floats
6904
6905         * MenuBackend.h (submenuname): returns the name of the submenu.
6906         (submenu): returns the submenu itself, provided it has been
6907         created by MenuBackend::expand
6908
6909 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6910
6911         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6912         insets which have noFontChange == true. (bug #172)
6913
6914 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6915
6916         * BufferView_pimpl.C: add connection objects and use them...
6917         (Pimpl): here.
6918
6919 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6920
6921         * MenuBackend.C (expandLastfiles):
6922         (expandDocuments):
6923         (expandFormats):
6924         (expandFloatListInsert):
6925         (expandFloatInsert):
6926         (expand): split expand in parts
6927
6928 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6929
6930         * lyx_gui.C: use lyx_gui::exit()
6931
6932 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6933
6934         * LyXAction.C: show the failing pseudo action
6935
6936 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6937
6938         * buffer.C (readFile): Run the lyxconvert script in order to read
6939         old files.
6940
6941 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6942
6943         * LyXAction.C:
6944         * commandtags.h:
6945         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6946
6947 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6948
6949         * LyXAction.C:
6950         * commandtags.h:
6951         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6952
6953 2002-07-22  Herbert Voss  <voss@lyx.org>
6954
6955         * lengthcommon.C:
6956         * lyxlength.[Ch]: add support for the vertical lengths
6957
6958 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6959
6960         * toc.[Ch]: std:: fixes
6961
6962 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6963
6964         * lyxrc.C: do not include lyx_main.h
6965
6966         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6967         for layouts
6968
6969         * lyxrc.C:
6970         * encoding.C:
6971         * bufferlist.C:
6972         * BufferView2.C: include "lyxlex.h"
6973
6974         * tabular.h:
6975         * bufferparams.h: do not #include "lyxlex.h"
6976
6977         * lyxtextclasslist.C (Add): remove method
6978         (classlist): renamed to classlist_
6979
6980         * paragraph_pimpl.C:
6981         * paragraph.C:
6982         * text2.C:
6983         * CutAndPaste.C:
6984         * bufferview_funcs.C:
6985         * bufferlist.C:
6986         * text.C:
6987         * LaTeXFeatures.C:
6988         * buffer.C:
6989         * toc.C (getTocList): use BufferParams::getLyXTextClass
6990
6991         * toc.C (getTocList): use InsetFloat::addToToc
6992
6993         * toc.[Ch]: new files, containing helper functions to handle table
6994         of contents
6995
6996         * lyxfunc.C (dispatch): no need to remove spaces around command
6997         given as a string
6998         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6999         first command of the sequence; it is not very clever, but I do not
7000         have a better idea, actually
7001
7002         * LyXAction.C (LookupFunc): make sure to remove space at the
7003         beginning and end of the command
7004
7005 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7006
7007         * MenuBackend.C (getMenubar): new method: return the menubar of
7008         this menu set
7009         (read): treat differently reading of menu and menubar (in
7010         particular, the menubar has no name now)
7011         (Menu::menubar): remove
7012
7013         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7014         saving is finished
7015
7016 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7017
7018         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7019         a bibitem inset in a RTL paragraph.
7020
7021 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7022
7023         * paragraph_pimpl.C: constify
7024
7025         * BufferView_pimpl.C:
7026         * LaTeX.C:
7027         * lyxfunc.C: fix dispatch in a nicer way
7028
7029 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7030
7031         * lyxfunc.C (dispatch):
7032         * BufferView_pimpl.C:
7033         * BufferView_pimpl.h:
7034         * BufferView.C:
7035         * BufferView.h: rename Dispatch() to dispatch()
7036
7037         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7038
7039         * lyxlayout.C (Read): honor DependsOn tag
7040
7041         * lyxlayout.[Ch] (depends_on): new method
7042
7043         * version.C.in: update lyx_docversion
7044
7045         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7046
7047         * paragraph.C (validate): remove from here...
7048         * paragraph_pimpl.C (validate): ... and move here
7049         (isTextAt): make it const
7050
7051         * buffer.C (getLists): ws cleanup
7052
7053 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7054
7055         * language.C (read): Use iso8859-1 encoding in latex_lang
7056         (this prevents LyX from crashing when using iso10646-1 encoding).
7057
7058 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7059
7060         * text2.C (toggleInset): if cursor is inside an inset, close the
7061         inset and leave cursor _after_ it
7062
7063 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7064
7065         * lyxfunc.C: move minibuffer completion handling out of here
7066
7067 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7068
7069         * BufferView_pimpl.C:
7070         * LaTeX.C: fix dispatch calls
7071
7072 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7073
7074         * text.C (drawChars): Fix Arabic text rendering.
7075
7076 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7077
7078         * LyXAction.C:
7079         * commandtags.h:
7080         * lyxfunc.C: remove message-push/pop
7081
7082         * lyxserver.C:
7083         * lyxfunc.h:
7084         * lyxfunc.C: rationalise some code by removing verboseDispatch
7085           in favour of a bool argument to dispatch()
7086
7087 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7088
7089         * lyx_main.C (init): make sure to read symlinks as absolute paths
7090
7091 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7092
7093         * lyxfunc.h:
7094         * lyxfunc.C: no need for commandshortcut to be a member
7095
7096 2002-07-15  André Pönitz <poenitz@gmx.net>
7097
7098         * converter.C: add support for $$s (scripts from lib/scripts dir)
7099         * lyx_main.C: white space
7100
7101 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7102
7103         * bufferlist.C:
7104         * lyxrc.h:
7105         * lyxrc.C: remove second exit confirmation
7106
7107 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7108
7109         * BufferView.h:
7110         * BufferView.C:
7111         * BufferView2.C:
7112         * BufferView_pimpl.h:
7113         * BufferView_pimpl.C:
7114         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7115
7116 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7117
7118         * MenuBackend.C (expand): add numeric shortcuts to document menu
7119
7120         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7121
7122 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7123
7124         * lyxfont.C (setLyXFamily):
7125         (setLyXSeries):
7126         (setLyXShape):
7127         (setLyXSize):
7128         (setLyXMisc):
7129         (lyxRead):
7130         * debug.C (value):
7131         * buffer.C (asciiParagraph): use ascii_lowercase
7132
7133 2002-07-15  Mike Fabian  <mfabian@suse.de>
7134
7135         * lyxlex_pimpl.C (search_kw):
7136         * lyxlex.C (getLongString):
7137         * converter.h (operator<):
7138         * converter.C (operator<):
7139         * buffer.C (parseSingleLyXformat2Token):
7140         (asciiParagraph):
7141         * ToolbarDefaults.C (read):
7142         * MenuBackend.C (checkShortcuts):
7143         (read):
7144         * LColor.C (getFromGUIName):
7145         (getFromLyXName): use the compare_ascii_no_case instead of
7146         compare_no_case, because in turkish, 'i' is not the lowercase
7147         version of 'I', and thus turkish locale breaks parsing of tags.
7148
7149 2002-07-16  Angus Leeming  <leeming@lyx.org>
7150
7151         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7152         now takes a Buffer const & argument.
7153
7154 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7155
7156         * BufferView.C (resize): check there's a buffer to resize
7157
7158 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7159
7160         * lyxfunc.C: remove dead code
7161
7162         * lyxserver.h:
7163         * lyxserver.C: use lyx_guii::set_read_callback
7164
7165 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7166
7167         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7168         an inset in a RTL paragraph.
7169
7170 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7171
7172         * lyxfunc.C: repaint after a font size update
7173
7174 2002-07-15  André Pönitz <poenitz@gmx.net>
7175
7176         * lyxlength.C: inBP should be able to return negative values
7177
7178 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7179
7180         * lyxfunc.C: use lyx_gui::update_fonts()
7181
7182 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7183
7184         * lyxfunc.C: use lyx_gui::update_color()
7185
7186 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7187
7188         * bufferlist.C:
7189         * lyxfunc.h:
7190         * lyxfunc.C:
7191         * lyxrc.h:
7192         * lyxrc.C: remove file->new asks for name option, and let
7193           buffer-new take an argument
7194
7195 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7196
7197         * BufferView_pimpl.C: remove unneeded extra repaint()
7198
7199 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7200
7201         * LyXAction.C: allow command-sequence with NoBuffer
7202
7203         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7204
7205 2002-07-10  Angus Leeming  <leeming@lyx.org>
7206
7207         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7208
7209 2002-07-09  Angus Leeming  <leeming@lyx.org>
7210
7211         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7212
7213 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7214
7215         * lengthcommon.h: whitespace
7216
7217         * lyxfunc.C: update scrollbar after goto paragraph
7218
7219         * lyxtext.h: factor out page break drawing, and fix it so
7220           page break/added space paints as selected nicely
7221
7222 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7223
7224         * BufferView_pimpl.C: add FIXMEs, clean up a little
7225
7226 2002-07-09  André Pönitz <poenitz@gmx.net>
7227
7228         * lyxfont.[Ch]: support for wasy symbols
7229
7230 2002-07-08  André Pönitz <poenitz@gmx.net>
7231
7232         * BufferView_pimpl.C: apply John's patch for #93.
7233
7234 2002-07-05  Angus Leeming  <leeming@lyx.org>
7235
7236         * BufferView_pimpl.C (buffer): generate previews if desired.
7237
7238         * LColor.h: add "preview" to the color enum.
7239
7240         * LColor.C (LColor): add a corresponding entry to the items array.
7241
7242         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7243         with this buffer.
7244
7245 2002-07-05  Angus Leeming  <leeming@lyx.org>
7246
7247         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7248         The body of the code is now in the method that is passed an ostream &
7249         rather than a file name.
7250         Pass an additional only_preamble parameter, useful for the forthcoming
7251         preview stuff.
7252
7253 2002-07-03  André Pönitz <poenitz@gmx.net>
7254
7255         * lyxfunc.C: simplify getStatus() a bit for math stuff
7256
7257 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7258
7259         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7260
7261 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7262
7263         * text.C (changeRegionCase): do not change case of all the
7264         document when region ends at paragraph end (bug #461)
7265
7266 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7267
7268         * paragraph.C (startTeXParParams):
7269         (endTeXParParams): add \protect when necessary
7270
7271 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7272
7273         * BufferView_pimpl.C (workAreaExpose): remove warning
7274
7275 2002-06-27  Angus Leeming  <leeming@lyx.org>
7276
7277         * Makefile.am: add lyxlayout_ptr_fwd.h.
7278
7279 2002-06-26  André Pönitz <poenitz@gmx.net>
7280
7281         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7282
7283 2002-06-25  Angus Leeming  <leeming@lyx.org>
7284
7285         * lyxfunc.C (dispatch): Comment out the call to
7286         grfx::GCache::changeDisplay. The method no longer exists now that the
7287         pixmap generation part of the graphics loader has been moved into
7288         InsetGraphics.
7289
7290 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7291
7292         * text2.C: layout as layout
7293
7294         * text.C: layout as layout
7295
7296         * tabular.C (OldFormatRead): layout as layout
7297
7298         * paragraph_pimpl.C (TeXDeeper): layout as layout
7299         (realizeFont): layout as layout
7300
7301         * paragraph.C (writeFile): layout as layout
7302         (validate): layout as layout
7303         (getFont): layout as layout
7304         (getLabelFont): layout as layout
7305         (getLayoutFont): layout as layout
7306         (breakParagraph): layout as layout
7307         (stripLeadingSpaces): layout as layout
7308         (getEndLabel): layout as layout
7309         (getMaxDepthAfter): layout as layout
7310         (applyLayout): layout as layout
7311         (TeXOnePar): layout as layout
7312         (simpleTeXOnePar): layout as layout
7313         (TeXEnvironment): layout as layout
7314         (layout): layout as layout
7315         (layout): layout as layout
7316
7317         * lyxtextclass.C (compare_name): new functor to work with
7318         shared_ptr, layout as layout
7319         (Read): layout as layout
7320         (hasLayout): layout as layout
7321         (operator): layout as layout
7322         (delete_layout): layout as layout
7323         (defaultLayout): layout as layout
7324
7325         * lyxlayout_ptr_fwd.h: new file
7326
7327         * lyxlayout.C (Read): layout as layout
7328
7329         * lyx_cb.C (MenuInsertLabel): layout as layout
7330
7331         * bufferlist.C (newFile): layout as layout
7332
7333         * buffer.C (readLyXformat2): layout as layout
7334         (parseSingleLyXformat2Token): layout as layout
7335         (insertStringAsLines): layout as layout
7336         (asciiParagraph): layout as layout
7337         (latexParagraphs): layout as layout
7338         (makeLinuxDocFile): layout as layout
7339         (simpleLinuxDocOnePar): layout as layout
7340         (makeDocBookFile): layout as layout
7341         (simpleDocBookOnePar): layout as layout
7342         (getLists): layout as layout
7343
7344         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7345
7346         * CutAndPaste.C (cutSelection): layout as layout
7347         (pasteSelection): layout as layout
7348         (SwitchLayoutsBetweenClasses): layout as layout
7349
7350         * BufferView_pimpl.C (Dispatch): layout as layout
7351         (smartQuote): layout as layout
7352
7353         * BufferView2.C (unlockInset): layout as layout
7354
7355 2002-06-24  André Pönitz <poenitz@gmx.net>
7356
7357         * lyxfunc.C: fix #487
7358
7359 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * lyxrc.h:
7362         * lyxrc.C:
7363         * lyxfunc.C: remove display_shortcuts, show_banner
7364
7365 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7366
7367         * Buffer_pimpl.C: oops, update on resize
7368
7369 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7370
7371         * buffer.C:
7372         * converter.C:
7373         * exporter.C:
7374         * lyxfunc.C:
7375         * BufferView.h:
7376         * BufferView.C: use repaint()
7377
7378         * BufferView_pimpl.h:
7379         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7380           as it's a clearer description. Remove superfluous
7381           redraws.
7382
7383 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7384
7385         * text.C: fix bug 488. Not ideal, but getting
7386           getWord() to work properly for the insets that
7387           matter is more difficult ...
7388
7389 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7390
7391         * BufferView_pimpl.C:
7392         * LyXAction.C:
7393         * commandtags.h:
7394         * lyxfunc.C: remove the six million index lyxfuncs to just
7395           one, and DTRT (bug 458)
7396
7397 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7398
7399         * BufferView.h:
7400         * BufferView.C:
7401         * BufferView_pimpl.h:
7402         * BufferView_pimpl.C: clean up resize() stuff,
7403           and unnecessary updateScreen()s
7404
7405 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7406
7407         * BufferView.h:
7408         * BufferView.C:
7409         * BufferView_pimpl.h:
7410         * BufferView_pimpl.C:
7411         * lyxfind.h:
7412         * lyxfind.C:
7413         * minibuffer.C: remove focus management of workarea,
7414           not needed. Use screen's greyOut()
7415
7416 2002-06-17  Herbert Voss  <voss@lyx.org>
7417
7418         * converter.C: (convert) do not post a message, when converting
7419         fails, let the calling function decide what to do in this case
7420
7421 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7422
7423         * lyxfunc.C: tidy up a little
7424
7425 2002-06-16    <alstrup@diku.dk>
7426
7427         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7428         Got rid of FORMS_H_LOCATION include. Now we are
7429         GUII.
7430
7431 2002-06-15  LyX Development team  <lyx@rilke>
7432
7433         * buffer.[Ch] (sgmlOpenTag):
7434         (sgmlCloseTag): Added support for avoiding pernicious mixed
7435         content. Return number of lines written.
7436
7437         (makeLinuxDocFile):
7438         (makeDocBookFile): Fixed calls to sgml*Tag.
7439         Simple white space clean.
7440
7441         (simpleDocBookOnePar): Simple white space clean.
7442
7443         * tabular.[Ch] (docBook): Renamed to docbook and got another
7444         argument to related with the pernicious mixed content.
7445
7446         (docbookRow): Fixed calls for docbook inset method.
7447
7448 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7449
7450         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7451         so it's X11 independent.
7452
7453         * kb*.[Ch]: ditto.
7454
7455         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7456
7457 2002-06-15  Lyx Development team  <lyx@electronia>
7458
7459         * intl.h: Renamed getTrans to getTransManager.
7460
7461 2002-06-14  Angus Leeming  <leeming@lyx.org>
7462
7463         * Makefile.am: nuke forgotten stl_string_fwd.h.
7464
7465 2002-06-12  Angus Leeming  <leeming@lyx.org>
7466
7467         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7468
7469 2002-06-13  Angus Leeming  <leeming@lyx.org>
7470
7471         * LaTeX.C:
7472         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7473
7474 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7475
7476         * kbmap.C (getiso): add support for cyrillic and greek
7477
7478 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7479
7480         * BufferView.h:
7481         * BufferView.C:
7482         * BufferView_pimpl.h:
7483         * BufferView_pimpl.C: move bogus scrolling logic
7484           to xforms
7485
7486 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7487
7488         * lyxfunc.C:
7489         * BufferView_pimpl.C: view->resize() change
7490
7491 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7492
7493         * BufferView_pimpl.C: topCursorVisible
7494           prototype change
7495
7496 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7497
7498         * Makefile.am:
7499         * lyx_gui.h:
7500         * lyx_gui.C: move to frontends/
7501
7502         * main.C:
7503         * lyx_main.h:
7504         * lyx_main.C: changes from above
7505
7506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7507
7508         * intl.C:
7509         * intl.h:
7510         * kbmap.C:
7511         * kbsequence.C:
7512         * lyx_cb.C:
7513         * lyx_main.C: minor tidy
7514
7515 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7516
7517         * BufferView_pimpl.h:
7518         * BufferView_pimpl.C:
7519         * BufferView.h:
7520         * BufferView.C: make painter() const,
7521           remove dead code
7522
7523         * BufferView2.C: use screen() accessor
7524
7525         * lyx_main.h:
7526         * lyx_main.C: some minor cleanup
7527
7528 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7529
7530         * BufferView_pimpl.h:
7531         * BufferView_pimpl.C: remove enter/leaveView,
7532           use workHeight()
7533
7534 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7535
7536         * BufferView.h:
7537         * BufferView.C:
7538         * BufferView2.C:
7539         * BufferView_pimpl.h:
7540         * BufferView_pimpl.C: only construct screen once,
7541           rename
7542
7543         * lyxrc.C: remove pointless comment
7544
7545 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7546
7547         * BufferView.h:
7548         * BufferView.C: remove active() and belowMouse()
7549
7550         * BufferView_pimpl.h:
7551         * BufferView_pimpl.C: use workarea() not workarea_,
7552           and make it use a scoped_ptr instead
7553
7554 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7555
7556         * lyx_gui.C: add debug message on BadWindow
7557
7558 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7559
7560         * sp_spell.C: fdopen is not part of the C++ standard.
7561
7562         * paragraph.C (InsetIterator): use >= instead of ==
7563
7564 2002-06-07  Angus Leeming  <leeming@lyx.org>
7565
7566         Fixes needed to compile with Compaq cxx 6.5.
7567         * BufferView_pimpl.C:
7568         * DepTable.C:
7569         * buffer.C:
7570         * converter.C:
7571         * encoding.C:
7572         * lyx_gui.C:
7573         * lyx_main.C:
7574         * lyxtextclasslist.C:
7575         * minibuffer.C:
7576         * sp_spell.C:
7577         * tabular_funcs.C:
7578         * vc-backend.C:
7579         all c-library variables have been moved into namespace std. Wrap
7580         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7581
7582         * lyxlength.C:
7583         * tabular-old.C:
7584         * tabular.C:
7585         Add a using std::abs declaration.
7586
7587         * kbmap.h (modifier_pair):
7588         * paragraph.h (InsetTable, InsetList):
7589         * lyxfont.h (FontBits):
7590         type definition made public.
7591
7592         * bufferlist.C (emergencyWriteAll): the compiler complains that
7593         there is more than one possible lyx::class_fun template to choose from.
7594         I re-named the void specialisation as lyx::void_class_fun.
7595
7596         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7597
7598         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7599         the compiler is is unable to find tostr in write_attribute.
7600
7601 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7602
7603         * buffer.C (sgmlError): hide #warning
7604
7605 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7606
7607         * xtl/*: get rid of xtl, which is not in use anyway
7608
7609         * LyXAction.C (init):
7610         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7611         were unimplemented xtl experimentation
7612
7613 2002-06-04  André Pönitz <poenitz@gmx.net>
7614
7615         * lyxfunc.C: disable array operation on simple formulae
7616
7617 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7618
7619         * converter.C: constify a bit
7620
7621 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7622
7623         * lyx_gui.C: check xforms version correctly
7624
7625 2002-04-30  Herbert Voss  <voss@lyx.org>
7626
7627         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7628         "keep" option
7629
7630 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7633           attempt to register it with a VCS)
7634
7635 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7636
7637         * lyx_main.C (init): honor variables LYX_DIR_13x and
7638         LYX_USERDIR_13x
7639
7640 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7641
7642         * buffer.h:
7643         * buffer.C:
7644         * lyx_main.C: fix a crash on bad command line,
7645           and give a useful exit status on error
7646
7647         * lyxfunc.C (doImport): allow -i lyx to work
7648
7649 2002-03-30  André Pönitz <poenitz@gmx.net>
7650
7651         * lyxfunc.C: mathed font changes
7652
7653 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7654
7655         * LaTeX.C:
7656         * importer.h:
7657         * importer.C:
7658         * lyx_sty.h:
7659         * lyx_sty.C:
7660         * lyxlex.C:
7661         * lyxrow.h:
7662         * lyxtext.h:
7663         * paragraph.h:
7664         * paragraph.C:
7665         * texrow.h:
7666         * texrow.C:
7667         * text.C:
7668         * trans_mgr.h: srcdocs, and some minor cleanups
7669
7670 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7671
7672         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7673         call getFont all the time)
7674
7675 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7676
7677         * switch from SigC signals to boost::signals
7678
7679 2002-05-29  André Pönitz <poenitz@gmx.net>
7680
7681         * paragraph_pimpl.C (getChar): don't call size() too often...
7682
7683 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7684
7685         * paragraph_pimpl.C (insertChar): do not try to update tables when
7686         appending (pos == size())
7687
7688         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7689         in order to reduce drastically the number of comparisons needed to
7690         parse a large document
7691
7692 2002-05-29  André Pönitz <poenitz@gmx.net>
7693
7694         * text.C:
7695         * text2.C:
7696         * lyxtextclass.C:
7697         * sp_pspell.h:
7698         * textclasslist.[Ch]:
7699         * sp_ispell.h: whitespace change
7700
7701 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7702
7703         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7704         lyxaction directly now.
7705
7706 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7707
7708         * trans.C:
7709         * lyxfont.C:
7710         * lyxvc.C: remove unused headers
7711
7712 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * Makefile.am:
7715         * buffer.h:
7716         * undostack.h:
7717         * undostack.C:
7718         * undo_funcs.h:
7719         * undo_funcs.C: some cleanups. Use shared_ptr
7720           and a template for the undo stacks.
7721
7722 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7723
7724         * BufferView_pimpl.h:
7725         * BufferView_pimpl.C:
7726         * kbmap.h:
7727         * kbmap.C:
7728         * kbsequence.h:
7729         * kbsequence.C:
7730         * lyxfunc.h:
7731         * lyxfunc.C:
7732         * text2.C: use key_state/mouse_state
7733
7734 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7735
7736         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7737         and LSubstring
7738
7739         * chset.C: change include order
7740         (loadFile): use boost regex and get rid of LRegex and LSubstring
7741
7742         * Makefile.am (BOOST_LIBS): new variable
7743         (lyx_LDADD): use it
7744
7745         * LaTeX.C: change include order.
7746         (scanAuxFile): use boost regex and get rid of LRegex and
7747         LSubstring
7748         (deplog): ditto
7749
7750 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7751
7752         * ColorHandler.h:
7753         * ColorHandler.C:
7754         * FontInfo.h:
7755         * FontInfo.C: moved to frontends/xforms/
7756
7757         * FontLoader.h:
7758         * FontLoader.C: moved into frontends for GUIIzation
7759
7760         * Makefile.am:
7761         * lyx_gui.C:
7762         * lyxfont.C:
7763         * lyxfunc.C: changes from above
7764
7765 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7766
7767         * LColor.C: remove spurious X include
7768
7769         * BufferView_pimpl.C:
7770         * Makefile.am:
7771         * font.h:
7772         * font.C:
7773         * text.C:
7774         * text2.C: move font metrics to frontends/
7775
7776 2002-05-24  Juergen Vigna  <jug@sad.it>
7777
7778         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7779         setting the undo_cursor.
7780
7781         * ParagraphParameters.h: include local includes first.
7782
7783 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7784
7785         * BufferView_pimpl.C:
7786         * BufferView_pimpl.h:
7787         * Makefile.am:
7788         * WorkArea.h:
7789         * WorkArea.C:
7790         * screen.C: move WorkArea into frontends/
7791
7792         * lyxscreen.h:
7793         * screen.C:
7794         * text.C:
7795         * BufferView.C:
7796         * BufferView2.C: move LyXScreen into frontends/
7797
7798         * lyxlookup.h:
7799         * lyxlookup.C:
7800         * lyx_gui.C: move lyxlookup into frontends/xforms/
7801
7802 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7803
7804         * BufferView2.C:
7805         * BufferView_pimpl.C:
7806         * FontLoader.C:
7807         * LyXView.h:
7808         * LyXView.C:
7809         * Makefile.am:
7810         * WorkArea.C:
7811         * XFormsView.h:
7812         * XFormsView.C:
7813         * buffer.C:
7814         * bufferlist.C:
7815         * bufferview_funcs.C:
7816         * converter.C:
7817         * importer.C:
7818         * lyx_cb.C:
7819         * lyx_gui.C:
7820         * lyx_main.C:
7821         * lyx_find.C:
7822         * lyxfunc.C:
7823         * lyxvc.C:
7824         * minibuffer.C:
7825         * text.C:
7826         * text2.C:
7827         * trans.C:
7828         * vc-backend.C: move LyX/XFormsView into frontends/
7829
7830 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7831
7832         * Makefile.am:
7833         * PainterBase.C:
7834         * PainterBase.h:
7835         * Painter.C:
7836         * Painter.h:
7837         * WorkArea.C:
7838         * WorkArea.h:
7839         * screen.C:
7840         * tabular.C:
7841         * text.C:
7842         * text2.C: move Painter to frontends/
7843
7844 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7845
7846         * buffer.C: comment out some some code that depend upon lyx_format
7847         < 220
7848
7849         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7850         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7851
7852         * buffer.h (NO_COMPABILITY): turn off compability
7853
7854         * ColorHandler.C: include scoped_array.hpp
7855
7856         * font.C: Use more specific smart_ptr header.
7857         * Painter.C: ditto
7858         * gettext.C: ditto
7859         * ShareContainer.h: ditto
7860         * lyx_main.h: ditto
7861         * kbmap.h: ditto
7862         * FontInfo.h: ditto
7863         * BufferView_pimpl.h: ditto
7864         * ColorHandler.h: ditto
7865
7866         * kbmap.C (defkey): change call to shared_ptr::reset
7867
7868 2002-05-21  Juergen Vigna  <jug@sad.it>
7869
7870         * buffer.C (insertErtContents): fix to insert ert asis if it is
7871         non empty. Skip it completely if it contains only whitespaces.
7872
7873 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7874
7875         * BufferView_pimpl.C:
7876         * BufferView2.C: clear selection on paste (bug 393)
7877
7878 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7879
7880         * DepTable.C: include ctime
7881
7882 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7883
7884         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7885
7886 2002-05-14  Juergen Vigna  <jug@sad.it>
7887
7888         * text.C (breakParagraph): fixed function to honor the keepempty
7889         layout in the right maner and also to permit the right breaking
7890         algorithm on empty or non empyt keepempty paragraphs.
7891
7892         * paragraph.C (breakParagraph): we have to check also if the par
7893         is really empty (!size()) for isempty otherwise we do the wrong
7894         paragraph break.
7895
7896 2002-05-10  Juergen Vigna  <jug@sad.it>
7897
7898         * buffer.[Ch] : The following are only changes to the ert
7899         compatibility read reading old LaTeX layout and font stuff and
7900         convert it to ERTInsets.
7901
7902         * buffer.h: added isErtInset().
7903
7904         * buffer.C (struct ErtComp): add a fromlayout bool to check
7905         if we're inside a LaTeX layout.
7906         (isErtInset): new helper function.
7907         (insertErtContents): look for other ert insets before this one
7908         and insert the contents there, so that we don't have subsequent
7909         ERT insets with nothing between them. This way we create only one
7910         inset with multiple paragraphs. Also check if we don't insert only
7911         spaces ' ' as they are ignored anyway afterwards in the .tex file
7912         so if we have only spaces we will ignore this latex part in the
7913         new file.
7914         (parseSingleLyXformat2Token \\layout): better compatibility when
7915         reading layout-latex stuff.
7916         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7917         language tag.
7918         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7919         stuff after reading the inset only get the information back from
7920         the stack.
7921
7922 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7923
7924         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7925
7926         * LaTeXFeatures.C (getBabelOptions): New method.
7927
7928 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7929
7930         * BufferView_pimpl.C (Dispatch): work around missing argument for
7931         'layout'
7932
7933 2002-05-08  Juergen Vigna  <jug@sad.it>
7934
7935         * text.C (leftMargin): handle paragraph leftindent.
7936
7937         * paragraph.C (writeFile): write the new \\leftindent tag.
7938         (validate): handle leftindent code.
7939         (TeXEnvironment): handle paragraphleftindent code again.
7940
7941         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7942
7943         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7944         for paragrap_extra indent code and new token \\leftindent.
7945         (latexParagraphs): handle the leftindent as environment.
7946
7947         * ParameterStruct.h: added leftindent support.
7948
7949         * ParagraphParameters.C (leftIndent): added support functions for
7950         the paragraph left indent.
7951
7952         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7953         more appropriate.
7954
7955 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7956
7957         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7958         inside insetERT.
7959
7960         * text.C (computeBidiTables): No bidi in insetERT.
7961
7962         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7963         in RTL documents.
7964
7965 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7966
7967         * version.C.in: pre 5
7968
7969 2002-05-02  José Matos  <jamatos@fep.up.pt>
7970         * buffer.C (makeDocBookFile): white space changes, add newline to
7971         command styles.
7972         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7973
7974         * tabular.C (docBook): fix typo.
7975
7976 2002-05-03  Juergen Vigna  <jug@sad.it>
7977
7978         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7979         change in LyXText as we can not be sure it was not freed.
7980         (drawOneRow): remove unused code.
7981
7982         * text.C (drawInset): redo the calculation of the need_break_row as
7983         it could have a row which was already freed.
7984         (draw): look at the return value of drawInset and return false if
7985         it also returned false.
7986         (paintRowText): look at the return value of draw and return false if
7987         it also returned false.
7988
7989         * lyxtext.h: added bool return type to drawInset() and draw() so that
7990         if we have a change in the row so that the rowbreak has to be redone
7991         we abort drawing as it will be called again.
7992
7993 2002-05-02  Juergen Vigna  <jug@sad.it>
7994
7995         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7996         a change in the maintext also if we're inside an inset.
7997         (Dispatch): set the cursor again after a break line and after the
7998         screen has been updated as it could be we're in a different row.
7999
8000         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8001         to set the cursor behind the pargraph with > size().
8002         (setCursor): check also for the same paragraph when checking where
8003         to put the cursor if we have a NFR inset.
8004
8005         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8006         parts of layout read further up as it still was in the wrong
8007         position.
8008
8009 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8010
8011         * screen.C (drawFromTo): change sine fullRebreak always return
8012         true.
8013
8014         * buffer.C (parseSingleLyXformat2Token): reindent some
8015
8016         * BufferView_pimpl.C (update): change since fullRebreak always
8017         return true.
8018         (Dispatch): git rid of the last hardcoded "Standard"s.
8019
8020 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8021
8022         * text2.[Ch] (fullRebreak): make it return void now that we always
8023         returned true.
8024
8025 2002-04-30  Juergen Vigna  <jug@sad.it>
8026
8027         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8028         ert compatibility check for "latex" layout.
8029
8030 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8031
8032         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8033         minipages: use col% instead of p%, and also use the current font.
8034         (makeLaTeXFile): Fix use babel condition.
8035         (parseSingleLyXformat2Token): Correct font when reading old floats.
8036
8037 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8038
8039         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8040         inserting list of floats.
8041
8042 2002-04-25  Herbert Voss  <voss@lyx.org>
8043
8044         * MenuBackend.C (expand): don't add the graphics extensions to the
8045         export menu
8046
8047 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8048
8049         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8050         non-existing layout, do not complain if it was the default layout
8051         of the original class (bug #342)
8052
8053 2002-04-24  Juergen Vigna  <jug@sad.it>
8054
8055         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8056         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8057
8058 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8059
8060         * buffer.C (getBibkeyList): If using \bibliography, return the
8061         option field with the reference itself. Enables us to provide natbib
8062         support when using \bibliography.
8063
8064 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8065
8066         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8067
8068         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8069         natbib is provided by the LaTeX class.
8070
8071 2002-04-23  Juergen Vigna  <jug@sad.it>
8072
8073         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8074         Wakeup functions.
8075
8076         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8077
8078 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8079
8080         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8081
8082         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8083         ensuremath around textordmasculine, textordfeminine and
8084         textdegree.
8085
8086 2002-04-19  Juergen Vigna  <jug@sad.it>
8087
8088         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8089         reinitializing the buffer otherwise row-dimensions may be wrong.
8090         (update): reset also the selection cursors if they do exits otherwise
8091         their x/y positions may be wrong.
8092
8093         * text2.C (cursorDown): don't enter the inset if we came from a row
8094         above and are one row over the inset.
8095
8096         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8097         really leaving an inset.
8098
8099 2002-04-18  Juergen Vigna  <jug@sad.it>
8100
8101         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8102         of the selected paragraph does not have the selected layout also if
8103         the last one had!
8104
8105         * text2.C (setLayout): fixed bug which did not change last selected
8106         paragraph.
8107
8108         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8109         changed the read and substituted \\end_float with \\end_inset!
8110
8111         * BufferView_pimpl.C (cursorPrevious):
8112         (cursorNext): fixed to make it work with rows heigher than the work
8113         area without moving the cursor only the draw of the row.
8114         (workAreaMotionNotify): fix jumping over high rows.
8115
8116 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8117
8118         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8119         Ressler.
8120
8121 2002-04-16  Juergen Vigna  <jug@sad.it>
8122
8123         * text2.C (setCursor): set also the irow().
8124         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8125         (cursorUp):
8126         (cursorDown): support for locking an inset if the x_fix value goes
8127         inside it. That way I can transverse insets too with cursor up/down.
8128
8129         * lyxrow.h: added irow helper function same as other (i) functions.
8130
8131         * BufferView_pimpl.C (cursorPrevious):
8132         (cursorNext): fixed for insets!
8133
8134 2002-04-15  Juergen Vigna  <jug@sad.it>
8135
8136         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8137         position otherwise it is wrong in some cases.
8138
8139         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8140         inside the inset before the call.
8141
8142 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8143
8144         * buffer.[Ch] (getBibkeyList): make it const.
8145
8146 2002-04-12  Juergen Vigna  <jug@sad.it>
8147
8148         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8149
8150         * text2.C (getCursorX): new helper function
8151         (setCursor): compute also ix_
8152         (setCursorFromCoordinates): set also ix.
8153
8154         * lyxcursor.h: added ix_ and helper functions.
8155
8156         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8157
8158         * buffer.C (insertStringAsLines): dont break paragraph if the this
8159         paragraph is inside an inset which does not permit it!
8160
8161         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8162         also with no chars on this paragraph.
8163         (paintRowText): only paint stuff if it's inside the workarea!
8164
8165         * paragraph.C (breakParagraph): honor keepempty flag and break the
8166         paragraph always below not above.
8167
8168         * BufferView2.C (unlockInset): update the paragraph layout on inset
8169         unlock as we changed paragraph in such a case.
8170
8171         * lyxfind.C (LyXFind): clear the former selection if not found!
8172
8173         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8174         again called in insertChar().
8175
8176         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8177         an inset which uses the whole row!
8178         (rightMargin): ditto.
8179         (insertChar): force a rebreak if we inserted an inset!
8180
8181 2002-03-28  Herbert Voss  <voss@lyx.org>
8182
8183         * lyxlength.[Ch]: add inBP() to get the right PS-point
8184         units (BigPoint). With inPixels we have rounding errors
8185
8186 2002-04-11  Juergen Vigna  <jug@sad.it>
8187
8188         * text2.C (setCursorFromCoordinates): set iy to the right value.
8189         (setCursor): add check if row->previous exists!
8190
8191         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8192         an old float_type as this was the case in the old code!
8193
8194         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8195
8196         * BufferView2.C (showLockedInsetCursor): use iy
8197         (fitLockedInsetCursor): ditto
8198
8199         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8200         locked insets as there we have the right value now.
8201
8202         * lyxcursor.C: added iy_ variable and iy functions to set to the
8203         baseline of cursor-y of the locked inset.
8204
8205         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8206         (setCursor): fixed for insets which need a full row.
8207
8208         * text.C (rowLastPrintable): don't ignore the last space when before
8209         an inset which needs a full row.
8210         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8211         as last character of a row when before a inset which needs a full row.
8212
8213 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8214
8215         * version.C.in: update date
8216
8217         * text2.C (fullRebreak): try to always return true and see what
8218         happens...
8219
8220 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8221
8222         * MenuBackend.C (expand): use Floating::listName
8223
8224         * FloatList.C (FloatList): add listName argument to the built-in
8225         floats
8226
8227         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8228         text associated with the float.
8229
8230 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8231
8232         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8233
8234 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8235
8236         * ShareContainer.h: add a couple of missing typenames.
8237
8238 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8239
8240         * lyxrc.C (getDescription): use _() correctly rather than N_().
8241
8242 2002-03-28  Herbert Voss  <voss@lyx.org>
8243
8244         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8245         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8246
8247 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8248
8249         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8250         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8251
8252 2002-03-29  Juergen Vigna  <jug@sad.it>
8253
8254         * lyxfunc.C (dispatch): add a missing fitCursor call.
8255
8256         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8257         it was scrolled by a cursor move, so return the bool status.
8258
8259         * BufferView.C (fitCursor): return the bool flag also to the outside
8260         world as this is needed.
8261
8262         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8263
8264         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8265         call the edit() as it is not needed (and wrong) IMO.
8266         (workAreaButtonPress): set the screen_first variable before evt.
8267         unlock the inset as this may change screen_first and then we have
8268         a wrong y position for the click!
8269
8270 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8271
8272         * MenuBackend.C (expand): another translation that I missed
8273
8274 2002-03-28  Juergen Vigna  <jug@sad.it>
8275
8276         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8277
8278         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8279
8280 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8281
8282         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8283
8284         * MenuBackend.C (expand): fix export/view/update when there is no
8285         document open.
8286
8287 2002-03-27  Herbert Voss  <voss@lyx.org>
8288
8289         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8290         and text%
8291
8292 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * bufferview_funcs.C (currentState): only show paragraph number
8295         for is DEVEL_VERSION is set.
8296
8297         * lyxfunc.C (dispatch): put warning in INFO channel
8298
8299         * MenuBackend.C (expand): translate the name of floats
8300
8301         * FloatList.C (FloatList): mark the float names for translation
8302
8303         * converter.C (convert): use LibScriptSearch
8304
8305 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8306
8307         * MenuBackend.C (defaults): fix default menu (we might as well get
8308         rid of it...)
8309
8310 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8311
8312         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8313         directory.
8314
8315 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8316
8317         * lyxvc.C: reorder includes.
8318
8319 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8320
8321         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8322           properly
8323
8324 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8325
8326         * CutAndPaste.C: change layouts earlier on paste
8327           to avoid crashing when calling getFont()
8328
8329 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8330
8331         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8332         irritating #error.
8333
8334 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8335
8336         * WorkArea.C: remove 'Pending' debug message.
8337
8338         * most files: ws cleanup
8339
8340         * buffer.[Ch]: ws changes
8341
8342         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8343
8344 2002-03-21  Juergen Vigna  <jug@sad.it>
8345
8346         * tabular.C (SetMultiColumn): collapse also the contents of the
8347         cells and set the last border right. Added a Buffer const * param.
8348
8349 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8350
8351         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8352         linking or not.
8353
8354 2002-03-19  Juergen Vigna  <jug@sad.it>
8355
8356         * text2.C (clearSelection): reset also xsel_cache.
8357
8358         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8359         where it needs to be called (John tells us to do so too :)
8360         (selectionLost): reset sel_cache.
8361
8362         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8363
8364 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8365
8366         * text2.C (setCursorIntern): put debuging code in INSETS channel
8367
8368 2002-03-19  André Pönitz <poenitz@gmx.net>
8369
8370         * lyxfunc.C: tiny whitespace change
8371
8372 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8373
8374         * ToolbarDefaults.C (init):
8375         * LyXAction.C (init):
8376         * commandtags.h:
8377         * BufferView_pimpl.C (Dispatch):
8378         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8379
8380 2002-03-19  Allan Rae  <rae@lyx.org>
8381
8382         * exporter.C (Export): removeAutoInsets before doing anything else.
8383         While I've just introduced a dependency on BufferView this really is
8384         the best place to clean the buffer otherwise you need to cleanup in
8385         a dozen places before calling export or cleanup in a dozen functions
8386         that export calls.
8387
8388         * converter.C (runLaTeX):
8389         (scanLog): Better handling of removeAutoInsets and screen updates.
8390
8391         * lyxfunc.C (dispatch): small whitespace changes
8392
8393 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8394
8395         * WorkArea.C (C_WorkAreaEvent): return a value.
8396         (event_cb): return 1 if we handled the event, 0 otherwise.
8397
8398         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8399
8400 2002-03-18  Juergen Vigna  <jug@sad.it>
8401
8402         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8403         (GetAdditionalWidth): ditto.
8404         (RightLine): ditto.
8405         (LeftLine): ditto.
8406
8407         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8408         inset if we're there actually (probably not used right now but this
8409         is the direction to go for unifying code).
8410         (paste): disable code to clear the selection.
8411
8412         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8413         inside an InsetText and move the check further up as it is in the
8414         wrong place.
8415
8416         * text2.C (pasteSelection): set a selection over the pasted text.
8417
8418 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8419
8420         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8421         and libgraphics to build on Cygwin.
8422
8423 2002-03-15  Juergen Vigna  <jug@sad.it>
8424
8425         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8426         inserting an Inset into the paragraph. I know this is not the best
8427         fix but we already use current_view in CutAndPaste so we will remove
8428         all of it's using at the same time.
8429
8430         * buffer.C (sgmlError): deactivated function till it is rewritten in
8431         the right mode, now it can create problems.
8432
8433         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8434         before accessing it.
8435
8436 2002-03-14  Juergen Vigna  <jug@sad.it>
8437
8438         * undo_funcs.C (textHandleUndo): do the right thing when updating
8439         the inset after the undo/redo.
8440
8441         * text2.C (setCursor): just some testcode for #44 not ready yet.
8442
8443         * undo_funcs.C (textHandleUndo): set the next() and previous()
8444         pointers of the paragraph to 0 before deleting otherwise we have
8445         problems with the Paragraph::[destructor].
8446
8447         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8448         on a paragraph insertion.
8449
8450 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8451
8452         * buffer.C (asciiParagraph): use += operator for char append to
8453         string.
8454
8455         * paragraph.C (getFontSettings): compare >= not just >
8456         (highestFontInRange): ditto
8457         (setFont): ditto
8458
8459 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8460
8461         * paragraph.C: change several algorithm to be more appripriate for
8462         the problem domain. This is lookip in FontList and in the InsetList.
8463
8464 2002-03-13  André Pönitz <poenitz@gmx.net>
8465
8466         * commandtags.h:
8467         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8468
8469 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8470
8471         * commandtags.h:
8472         * LyXAction.C:
8473         * lyxfunc.C:
8474         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8475
8476 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8477
8478         * Painter.C (display): anon helper function, adjust code for this
8479         change.
8480         (pixmap): remove function.
8481
8482         * Painter.h: remove private display variable.
8483
8484         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8485
8486 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8487
8488         * WorkArea.[Ch]: remove figinset_canvas cruft.
8489
8490 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8491
8492         * lyxtextclass.C (operator): add one item cache optimization.
8493
8494         * bufferlist.h: doxy changes
8495
8496         * bufferlist.C: ws changes
8497
8498         * DepTable.[Ch] (ext_exist): place const in the right spot.
8499
8500         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8501         call resizeInsets.
8502         (workAreaExpose): call resizeInsets when the with BufferView changes.
8503         (Dispatch): adjust for protectedBlank removal
8504         (specialChar): call updateInset if the insert went ok.
8505
8506         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8507         specialChar instead.
8508
8509         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8510
8511         * BufferView.h: doxy change
8512
8513         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8514
8515         * lyxtextclass.C (operator[]): remove non-const version
8516         (defaultLayout): remove non-const version
8517
8518 2002-03-12  Juergen Vigna  <jug@sad.it>
8519
8520         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8521         did resize the LyXText too.
8522
8523         * buffer.C (readLyXformat2): set layout information on newly allocated
8524         paragraphs.
8525
8526         * tabular.C (OldFormatRead): set layout information on the paragraph.
8527
8528 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8529
8530         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8531
8532 2002-03-11  Juergen Vigna  <jug@sad.it>
8533
8534         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8535         plainly wrong.
8536         (resizeCurrentBuffer): force also the insets to resize themselfes.
8537         (moveCursorUpdate): fixed up for InsetText.
8538
8539 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8540
8541         * commandtags.h:
8542         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8543         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8544         value of Dialogs::tooltipsEnabled().
8545         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8546
8547 2002-03-08  Juergen Vigna  <jug@sad.it>
8548
8549         * BufferView_pimpl.C (updateInset): update inset inside inset also
8550         if it isn't inside theLockingInset().
8551
8552 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8553
8554         * buffer.C (asciiParagraph): redo some of the word and line length
8555         handling.
8556         (getLists): look for Caption instead of caption.
8557
8558 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * buffer.C (Buffer): initialize niceFile to true
8561         (makeLaTeXFile):
8562         (makeLinuxDocFile):
8563         (makeDocBookFile): make sure niceFile is true on exit
8564
8565 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8566
8567         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8568
8569 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8570
8571         * LyXSendto.C: remove.
8572         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8573         * lyx_gui.C: remove now-redundant comment.
8574         * ColorHandler.h: remove forward declaration of class WorkArea.
8575         * lyxfunc.C: remove #include "WorkArea.h".
8576
8577 2002-03-07  Juergen Vigna  <jug@sad.it>
8578
8579         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8580         got moved away with the DEPM and also set the inset_owner always
8581         right which before could have been omitted.
8582
8583 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8584
8585         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8586         wanted layout is not found.
8587
8588 2002-03-07  Juergen Vigna  <jug@sad.it>
8589
8590         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8591
8592 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8593
8594         * paragraph.C (breakParagraph): use default layout not layout of
8595         prev paragraph.
8596         (Paragraph): clear ParagraphParameters.
8597
8598 2002-03-06  Juergen Vigna  <jug@sad.it>
8599
8600         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8601         otherwise it would not be a valid lenght. Fixed a special case in
8602         the minipage compatibility read where we end the document with a
8603         minipage.
8604
8605         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8606         was set as it could be 0 for InsetTexts first entry.
8607
8608 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8609
8610         * paragraph.C (writeFile): if layout is empty write out
8611         defaultLayoutName().
8612
8613         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8614         file without named layout we set layout to defaultLayoutName().
8615
8616 2002-03-06  Juergen Vigna  <jug@sad.it>
8617
8618         * CutAndPaste.C (copySelection): set layout for new paragraph.
8619
8620         * text.C (prepareToPrint): leave ERT inset left aligned
8621         (leftMargin): don't indent paragraphs inside ERT insets
8622
8623 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8624
8625         * paragraph.C (breakParagraph): dont call clear do the work manually
8626
8627         * paragraph.[Ch] (clear): remove function
8628
8629 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8630
8631         * paragraph.C (Paragraph): dont call clear, the work has already
8632         been done.
8633
8634         * lyxtextclass.C (operator): assert if n is empty
8635
8636         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8637         work manually instead.
8638
8639 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8640
8641         * BufferView_pimpl.C: protect selectionLost against text == 0
8642
8643 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8644
8645         * text.C (breakParagraph): fix a setting layout to '0' problem.
8646
8647 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8648
8649         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8650         final location of file, for the included files, and graphics.
8651
8652 2002-03-05  Juergen Vigna  <jug@sad.it>
8653
8654         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8655
8656 2002-03-04  Juergen Vigna  <jug@sad.it>
8657
8658         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8659
8660         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8661         last column of multicolumn cells.
8662         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8663
8664 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8665
8666         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8667         file if it doesn't go to a temporary file.
8668
8669         * buffer.C (sgmlOpenTag):
8670         (sgmlCloseTag):  remove extra newline insertion.
8671
8672 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8673
8674         * text.C (getRowNearY): comment out debug msg
8675
8676 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8677
8678         * text2.C: first -> first_y
8679
8680         * text.C (getRowNearY): add some attemts at a possible
8681         optimization, not working.
8682
8683         * tabular.[Ch]: add BufferParams to several function so that newly
8684         created paragraph can be initialized to he default layotu for the
8685         buffers textclass.
8686
8687         * tabular-old.C (ReadOld): add buf->params to call of Init
8688
8689         * screen.C: rename text->first to text->first_y
8690
8691         * paragraph.C (breakParagraph): always set layout in the broken
8692         paragraph
8693
8694         * lyxtextclass.C (Read): remove lowercase
8695         (hasLayout): ditto
8696         (operator): ditto
8697         (delete_layout): ditto
8698
8699         * lyxtext.h: rename first -> first_y
8700
8701         * lyxlayout.C (Read): remove lowercase
8702         (name): ditto
8703         (setName): ditto
8704         (obsoleted_by): ditto
8705
8706         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8707
8708         * buffer.C (insertErtContents): add params are to InsetERT
8709         (parseSingleLyXformat2Token): add code to check if a paragraphs
8710         layout really exist.
8711         (parseSingleLyXformat2Token): add params to several inset
8712         constructors
8713         (asciiParagraph): remove lowercase, do the layout comparisons with
8714         no_case
8715
8716         * BufferView_pimpl.C (cursorNext): first -> first_y
8717         (resizeCurrentBuffer): first -> first_y
8718         (updateScrollbar): first -> first_y
8719         (scrollCB): first -> first_y
8720         (workAreaMotionNotify): first -> first_y
8721         (workAreaButtonPress): first -> first_y
8722         (checkInsetHit): first -> first_y
8723         (cursorPrevious): first -> first_y
8724         (cursorNext): first -> first_y
8725         (Dispatch): add buffer_->params to severl inset contructors
8726
8727 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8728
8729         * lyxlayout.C (Read): remove some debug info that I forgot.
8730
8731         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8732         clean up the code slightly.
8733         (makeLinuxDocFile): ditto
8734         (makeDocBookFile): ditto
8735
8736         * text2.C: layout as string
8737
8738         * text.C: layout as string
8739
8740         * paragraph_pimpl.C: layout as string
8741
8742         * paragraph.[Ch]: layout as string
8743
8744         * lyxtextclasslist.[Ch]: layout as string
8745
8746         * lyxtextclass.[Ch]: layout as string
8747
8748         * lyxtext.h: layout as string
8749
8750         * lyxlayout.[Ch]: layout as string
8751
8752         * lyx_cb.C: layout as string
8753
8754         * bufferview_funcs.C: layout as string
8755
8756         * bufferparams.C: layout as string
8757
8758         * buffer.C: layout as string
8759
8760         * LyXView.[Ch]: layout as string
8761
8762         * LaTeXFeatures.[Ch]: layout as string
8763
8764         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8765
8766         * BufferView_pimpl.C: change current_layout to string, remove
8767         lyx::layout_type.
8768         (Dispatch):
8769         (smartQuote):
8770         (insertInset):
8771         (workAreaButtonRelease): layout as string
8772
8773         * BufferView2.C (unlockInset): adjust
8774
8775         * vspace.C (asLatexCommand): use an explict temp variable.
8776
8777 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * Makefile.am: use FRONTEND_*
8780
8781 2002-03-01  Juergen Vigna  <jug@sad.it>
8782
8783         * tabular.C (SetWidthOfMulticolCell): changed to something better
8784         I hope but still work in progress.
8785         (recalculateMulticolumnsOfColumn): renamed function from
8786         recalculateMulticolCells as it is more appropriate now.
8787         (SetWidthOfCell): calculate multicols better.
8788
8789 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8792
8793         * lyxfunc.C (processKeySym): print sequence also if it is
8794         `deleted' (complete)
8795
8796         * kbsequence.C (print): print sequence even if it is deleted
8797         (complete would be a better word, actually).
8798
8799         * lyxfunc.C (dispatch): print complete options after a prefix key
8800
8801         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8802
8803 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8804
8805         * text2.C (setCharFont): eliminate setCharFont code duplication.
8806
8807 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8808
8809         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8810         LFUN_TABULAR_FEATURE (bug #177)
8811
8812 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8813
8814         * Makefile.am: remove figure.h
8815
8816 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8817
8818         * Bufferview_pimpl.C:
8819         * CutAndPasteC:
8820         * LaTeX.C:
8821         * LyXSendto.C:
8822         * buffer.C:
8823         * bufferlist.C:
8824         * converter.C:
8825         * language.C:
8826         * lyxfunc.C:
8827         * lyxvc.C:
8828         * paragraph.C:
8829         * text.C:
8830         * text2.C: remove #include "lyx_gui_misc.h".
8831
8832         * LaTeX.C: added #include <cstdio>
8833
8834 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8835
8836         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8837         that the paragraph following this one can have.
8838
8839         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8840
8841         * vspace.C (asLatexCommand): fix bogus gcc warning
8842
8843         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8844
8845 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8846
8847         * text2.C (setLayout): get rid of redundant code
8848
8849 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8850
8851         * text2.C (incDepth): make sure depth cannot be increased beyond
8852         reasonable values.
8853
8854 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8855
8856         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8857         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8858
8859         * PainterBase.h (image):
8860         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8861         a LyXImage const *.
8862
8863 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * BufferView.C:
8866         * BufferView.h:
8867         * BufferView_pimpl.C:
8868         * BufferView_pimpl.h:
8869         * LaTeXFeatures.C:
8870         * LyXAction.C:
8871         * LyXView.C:
8872         * Makefile.am:
8873         * UpdateList.h:
8874         * UpdateList.C:
8875         * buffer.C:
8876         * figure.h:
8877         * figureForm.C:
8878         * figureForm.h:
8879         * figure_form.C:
8880         * figure_form.h:
8881         * lyx_cb.C:
8882         * lyx_gui.C:
8883         * lyx_gui_misc.C:
8884         * lyxfunc.C:
8885         * sp_base.h:
8886         * sp_ispell.h:
8887         * sp_pspell.h:
8888         * sp_spell.C: remove fig inset, and the crap house of
8889           cards that follows it
8890
8891 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8892
8893         * Makefile.am:
8894         * lyxserver.C:
8895         * os2_defines.h:
8896         * os2_errortable.h:
8897         * nt_defines.h: move .h into support/
8898
8899         * vms_defines.h: remove
8900
8901         * WorkArea.C: add space in debug output
8902
8903         * text2.C:
8904         * paragraph.C:
8905         * buffer.C: add WITH_WARNINGS
8906
8907         * vc-backend.h:
8908         * vc-backend.C:
8909         * bufferlist.C: s/retrive/retrieve/, add docs
8910
8911         * vspace.h:
8912         * vspace.C:
8913         * kbmap.h:
8914         * lyxlength.h:
8915         * lyxgluelength.h:
8916         * length_common.h:
8917         * chset.h:
8918         * chset.C: add docs
8919
8920         * lyxgui.C: add ID to X error handler
8921
8922         * lyxtestclass.c: fix typo
8923
8924 2002-02-26  Juergen Vigna  <jug@sad.it>
8925
8926         * tabular_funcs.C (write_attribute): changed so that some default
8927         attributes are not written at all.
8928         (getTokenValue): set default values before trying to read the
8929         value so we have the return value always set as default if we don't
8930         find the token we search for.
8931
8932         * tabular.C (Write): write bools as bools not as strings!
8933
8934 2002-02-22  Juergen Vigna  <jug@sad.it>
8935
8936         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8937         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8938
8939         * text.C (leftMargin): don't add an indent for paragraphs inside
8940         tabular cells (fix #208).
8941
8942 2002-02-21  José Matos  <jamatos@fep.up.pt>
8943
8944         * tabular.C (docBook): fixed support for long tables.
8945
8946 2002-02-20  Juergen Vigna  <jug@sad.it>
8947
8948         * text2.C (getFont): get the drawing font of the Inset if this
8949         paragraph is inside an inset (only important for InsetERT for now).
8950
8951         * buffer.C (insertErtContents): use new lanugage params in ERT
8952         constructor.
8953
8954         * CutAndPaste.C: commenting out seemingly uneeded code.
8955
8956 2002-02-19  Allan Rae  <rae@lyx.org>
8957
8958         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8959         Iterators might be simple to use but they also get invalidated.
8960         (removeAutoInsets): renamed saved cursor tracking variables and added
8961         some comments to clarify what everything does.
8962
8963 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8964
8965         * Chktex.C:
8966         * LaTeX.C:
8967         * LyXSendto.C:
8968         * converter.C:
8969         * lyx_cb.C:
8970         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8971         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8972
8973         * lyxfunc.C:
8974         * vc-backend.h: remove #include "support/syscall.h"
8975
8976         * LaTeX.C:
8977         * LyXSendto.C:
8978         * converter.C: rearrange #includes in Lars' approved fashion.
8979
8980         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8981         forward declare class Timeout in the header file.
8982
8983         * XFormsView.C: changes due to the above.
8984
8985         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8986         similar to LyXView.
8987
8988         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8989         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8990
8991 2002-02-18  José Matos  <jamatos@fep.up.pt>
8992
8993         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8994         insets contents.
8995
8996 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8997
8998         * a lot of small ws changes
8999         * add a lot of using std::XXX
9000         * use std construcs some places where approp.
9001         * use some exisint stuff from lyxfunctional where approp.
9002         * Make file changes to use partial linking (lets test this now...)
9003
9004 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9005
9006         * Chktex.C:
9007         * buffer.C:
9008         remove #include "support/syscontr.h" as it's redundant. Always has been.
9009
9010         * Chktex.C:
9011         * LaTeX.C:
9012         * LyXSendto.C:
9013         * converter.C:
9014         * lyx_cb.C:
9015         * vc-backend.C:
9016         change Systemcalls::System to Systemcalls::Wait and
9017         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9018         No change of functionality, just reflects the stripped down Systemcalls
9019         class.
9020
9021 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9022
9023         * debug.[Ch]: add a GRAPHICS type to the enum.
9024
9025 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9026
9027         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9028
9029         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9030         there is an inset.
9031
9032 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9035         match the changes below.
9036
9037         * text2.C (toggleInset): if there is not editable inset at cursor
9038         position, try to see if cursor is _inside_ a collapsable inset
9039         and close it.
9040
9041 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9042
9043         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9044         document menu has a nice checkbox
9045
9046 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9047
9048         * lyxlength.C (asLatexString): change PW to output as percent of
9049         \textwidth.
9050
9051         * lengthcommon.C: change '%' to 't%'
9052
9053         * lyxfunc.C (dispatch): a few comments from Martin
9054
9055 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9056
9057         * WorkArea.h:
9058         * WorkArea.C:
9059         * BufferView_pimpl.h:
9060         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9061           the X selection.
9062
9063 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9064
9065         * vspace.C (inPixels): fix compiler warning
9066
9067 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9068
9069         * lyxfunc.C (getStatus): fix status message for disabled commands.
9070
9071 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9072
9073         * BufferView_pimpl.C: fix crash on close buffer
9074         during selection (#227)
9075
9076 2002-01-27  Herbert Voss  <voss@lyx.org>
9077
9078         * buffer.C: link old Figure to new graphic inset
9079
9080 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9081
9082         * FontLoader.C (getFontinfo): Change the latex font names in order
9083         to match the names of type1inst.
9084
9085 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9086
9087         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9088
9089         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9090         (extchanged): ditto
9091         (ext_exist): ditto
9092         (remove_files_with_extension): ditto
9093         (remove_file): ditto
9094         (write): ditto
9095
9096         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9097         document is smaller than the work area height. Do not initialize
9098         static variables to 0.
9099
9100 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9101
9102         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9103
9104         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9105         LFUN_LAYOUT_PARAGRAPHS.
9106
9107         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9108         tabular. It is possible to provide a possible cell, which will
9109         typically be the actcell from the corresponding insettabular
9110
9111         * lyxfunc.C (getStatus): small cleanup; disable
9112         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9113         true
9114
9115 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9116
9117         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9118
9119         * paragraph.C (startTeXParParams):
9120         (endTeXParParams): new methods. The LaTeX code to
9121         start/end paragraph formatting
9122         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9123         empty (fixes bug #200)
9124
9125         * vspace.C (inPixels): adapt to the change below
9126         (inPixels): [later] more cleanups (remove unused variables)
9127
9128         * lyxlength.C (inPixels): change to use a width and a height as
9129         parameter.
9130
9131 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9132
9133         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9134         Replaced with \paperwidth
9135
9136         * DepTable.C (insert): add std:: qualifier
9137
9138 2002-01-18  Allan Rae  <rae@lyx.org>
9139
9140         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9141         updated also?
9142
9143         * text.C (drawInset): Turned out I didn't know enough about how
9144         rebreaking worked.  This fixes most of the redraw problems.  I see
9145         an occasional cursor trail when a line is broken now and the cursor
9146         placement can seem out by a few pixels also after a rebreak.
9147
9148 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * buffer.C (parseSingleLyXformat2Token): update because minipage
9151         width is now a LyXLength
9152
9153         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9154
9155         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9156         math insets
9157
9158 2002-01-17  Juergen Vigna  <jug@sad.it>
9159
9160         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9161
9162         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9163         is set correctly and the inset is updated correctly.
9164
9165 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9166
9167         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9168         the beginning of the loop.
9169
9170 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9171
9172         * lyxrc.C: improve help for use_scalable_fonts
9173
9174 2002-01-17  Allan Rae  <rae@lyx.org>
9175
9176         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9177
9178 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9179
9180         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9181         make sure to set their inset_owner to the right value (bug #171)
9182
9183 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9184
9185         * DepTable.h
9186         * DepTable.C: Implement mtime checking to reduce time spent doing
9187         CRCs.
9188
9189 2002-01-16  Juergen Vigna  <jug@sad.it>
9190
9191         * tabular.C (GetAdditionalHeight): one of error fixed.
9192
9193         * lyxrc.C (output): small fix in writing use_pspell.
9194
9195 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9196
9197         * sp_base.h: #include LString.h
9198
9199 2002-01-16  Allan Rae  <rae@lyx.org>
9200
9201         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9202         Can someone check this please?
9203
9204         * text.C (drawInset): It was possible that p.row would be removed by
9205         breakAgainOneRow upsetting a few other settings.  There may be another
9206         small tweak possible by setting need_break_row = 0 when p.row has been
9207         removed but I don't know enough about the logic here.
9208
9209 2002-01-15  Allan Rae  <rae@lyx.org>
9210
9211         * text.C (insertChar): removed conditional truism.
9212
9213         * BufferView2.C (removeAutoInsets): More tweaks.
9214         cur_par_prev could be a stray pointer.  Check for trailing empty line
9215         in case last line was cur_par and only had an error inset on it.
9216
9217 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9218
9219         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9220         absolute
9221
9222         * vc-backend.C (most methods):
9223         * exporter.C (Export):
9224         * converter.C (convert):
9225         (runLaTeX):
9226         * LyXSendto.C (SendtoApplyCB):
9227         * lyxfunc.C (dispatch):
9228         (menuNew):
9229         (open):
9230         (doImport):
9231         * lyx_cb.C (AutoSave):
9232         (InsertAsciiFile):
9233         * BufferView_pimpl.C (MenuInsertLyXFile):
9234         * buffer.C (runChktex): use Buffer::filePath().
9235
9236         * buffer.h: rename filename to filename_; rename filepath to
9237         filepath_ and make it private
9238         (filePath): new method
9239
9240         * buffer.C (writeFile): use fileName()
9241         (getLatexName):
9242
9243         * lyx_main.C (init): fix starting  of LyX when the binary is a
9244         link from so,ewhere else.
9245
9246         * minibuffer.C: include <cctype> for isprint
9247
9248 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9249
9250         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9251         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9252         name clash with InsetCollapsable's width function.
9253
9254 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9255
9256         * lastfiles.C: include <iterator>
9257
9258 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9259
9260         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9261         std::count.
9262
9263         * buffer.C (makeLaTeXFile): ditto.
9264         Also make loop operation more transparent.
9265
9266 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9267
9268         * ToolbarDefaults.C: remove trailing comma closing namespace.
9269
9270         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9271
9272         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9273         as in WorkArea.
9274
9275         * trans.C (Load): comment out unused variable, allowed.
9276
9277 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9278
9279         * minibuffer.[Ch] (append_char): new method to recieve input from the
9280         drop-down completion browser. If a key was pressed, then recieve this
9281         char and append it to the existing string.
9282         (peek_event): modify the positioning data passed to the completion
9283         browser so that it can be placed above the minibuffer rather than below.
9284 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9285
9286         * LyXAction.C (init): alloe error-next for readonly documents.
9287
9288         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9289         count.
9290
9291 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9292
9293         * bufferlist.C (readFile): create the buffer _after_ checking that
9294         the file exists.
9295
9296         * lyxfunc.C (verboseDispatch): fix handling of arguments
9297
9298         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9299
9300         * lyxrc.C: use string::erase() instead of initializing to "".
9301
9302
9303 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9304
9305         * BufferView_pimpl.h:
9306         * BufferView_pimpl.C:
9307         * WorkArea.h:
9308         * WorkArea.C:
9309         * text2.C: tell X when we have made a selection for copying
9310
9311 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9312
9313         * BufferView_pimpl.C (MenuInsertLyXFile):
9314         * lyxfunc.C (menuNew):
9315         (open):
9316         (doImport): add shortcuts to directory buttons
9317
9318         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9319         open a float)
9320
9321         * lyxfunc.C (setStatusMessage):
9322         (getStatusMessage): new methods
9323         (getStatus):use setStatusMessage instead of setErrorMessage
9324         (dispatch): when function is disabled, set error message here
9325         [instead of in getStatus previously]
9326
9327         * BufferView_pimpl.C (workAreaButtonRelease): update
9328         toolbar/menubar here too.
9329
9330 2002-01-13  Allan Rae  <rae@lyx.org>
9331
9332         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9333         Now seems indestructible.  Remaining task is to audit all other
9334         code affected by deleteEmptyParagraphMechanism.  One small quirk
9335         left is that an empty document with an error in the preamble can
9336         be made to report an error but no error box appears.  I don't know
9337         where it goes.
9338         (removeAutoInsets): Improved comments.
9339
9340 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9341
9342         * Thesaurus.h:
9343         * Thesaurus.C: update for Aiksaurus 0.14
9344
9345 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9346
9347         * text2.C (firstParagraph): removed member function, all uses
9348         replaces with ownerParagraph
9349         (redoParagraphs): here
9350         (updateInset): here
9351         (toggleAppendix): here
9352         * BufferView2.C (insertErrors): here
9353         (setCursorFromRow): here
9354
9355 2002-01-13  Allan Rae  <rae@lyx.org>
9356
9357         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9358         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9359         There is still a way to segfault this although you may have to do this
9360         multiple times: Have an InsetERT with an unknown command in it.
9361         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9362         <down-arrow>, <Enter> again, View->DVI, BANG!
9363
9364         * text2.C (setCursor):
9365         (deleteEmptyParagraphMechanism):
9366         * lyxtext.h (setCursor):
9367         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9368         Making use of the return value may help fix other bugs.
9369
9370 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9371
9372         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9373
9374         * LyXView.C (updateMenubar): call MenuBar::update here
9375         (updateToolbar): but not here
9376         (showState): do not update toolbar/menubar
9377
9378         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9379         should need to care about that.
9380
9381         * lyxfunc.C (verboseDispatch): simplify a bit
9382         (getStatus): have a version which takes a pseudoaction, and
9383         another which requires a (kb_action,string).
9384
9385         * LyXAction.C (retrieveActionArg): make it work also when action
9386         is not a pseudo-action.
9387         (getActionName): simplify a bit
9388         (helpText):
9389
9390 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391
9392         * lyxfunc.C (verboseDispatch): new families of methods with
9393         several ways to specify a command and a bool to indicate whether
9394         the command name and shortcut should be displayed in minibuffer
9395         (eventually, we could extend that to a finer bitmask like
9396         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9397         (dispatch): the pristine dispatch command which just, well,
9398         dispatchs! Note it still sets its result to minibuffer; I'm not
9399         sure we want that.
9400
9401         * lyxfunc.h: remove setHintMessage
9402
9403         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9404
9405 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9406
9407         * BufferView_pimpl.C (specialChar): delete new inset if we have
9408         not been able to insert it.
9409
9410         * kbmap.C: revert to using int instead of kb_action, since all we
9411         are dealing with is pseudo-actions.
9412
9413         * LyXAction.C (searchActionArg): change to return int instead of
9414         kb_action, since the result is a pseudoaction.
9415
9416 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9417
9418         * buffer.C (insertErtContents): Fix (partially) the font bug.
9419
9420 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9421
9422         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9423         as the other one is broken on my machine!
9424
9425 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9426
9427         * commandtags.h:
9428         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9429
9430 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9431
9432         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9433         reflect their actual use. Provide compatibility code for older lyxrc
9434         files.
9435
9436         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9437         FL_NORMAL_STYLE.
9438         change names of popup font variables in line with the changes to lyxrc.C
9439
9440 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9441
9442         * buffer.C (asciiParagraph): avoid outputing a word twice after
9443         an inset.
9444
9445         * lyxrc.C (getDescription): document that document_path and
9446         template_path can be empty.
9447
9448 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9449
9450         * LaTeXFeatures.C (getMacros):
9451         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9452
9453         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9454
9455         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9456         getPackages.
9457         (getPackages): rename feature "floats" to "float". Use an array to
9458         iterate over 'simple' features (i.e. just a \usepackage). Add
9459         handling of "amsmath" (renamed from "amsstyle").
9460
9461 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9462
9463         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9464         features list.
9465
9466 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9467
9468         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9469         FuncStaus::FuncStatus & FuncStaus::some_method().
9470
9471 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9472
9473         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9474         of the func_satus stuff. Edited and massaged in various ways by
9475         JMarc.
9476
9477         * lyxfunc.C (getStatus): use FuncStatus
9478
9479 2002-01-08  Juergen Vigna  <jug@sad.it>
9480
9481         * text.C (nextBreakPoint): use function Inset::isChar().
9482
9483         * paragraph.C (TeXOnePar): use function
9484         Inset::forceDefaultParagraphs.
9485
9486         * buffer.C (latexParagraphs): use function
9487         Inset::forceDefaultParagraphs.
9488
9489 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9490
9491         * lyx_gui.C (init): set the style of the menu popups to
9492         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9493
9494 2002-01-07  Juergen Vigna  <jug@sad.it>
9495
9496         * text.C (setHeightOfRow): small fix
9497         (prepareToPrint): don't look at alignment if we don't have the place
9498         for doing it.
9499
9500 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9501
9502         * box.C: New file. Move the Box methods and functions out of box.h,
9503         following Lars' suggestion.
9504
9505 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9506
9507         * box.h: #include "support/LOstream.h", needed for inlined function.
9508
9509         * lyxtextclass.C:
9510         * lyxtextclasslist.C: added some using std declarations.
9511
9512 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * box.h: make signed dimensions to allow insets wider than
9515           the screen (bug #162)
9516
9517         * BufferView_pimpl.C: add some insetHit debug
9518
9519 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * vc-backend.C: add FIXME
9522
9523 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9524
9525         * lyxfunc.C (getStatus): enable code for showing math font status
9526         in toolbar/menu.
9527
9528 2002-01-07  Juergen Vigna  <jug@sad.it>
9529
9530         * text.C (nextBreakPoint): removed debug output not needed anymore.
9531
9532 2002-01-06  Juergen Vigna  <jug@sad.it>
9533
9534         * text.C (nextBreakPoint): fixed up this function we had this bug
9535         since ever but now hopefully we break row better.
9536         (insertChar): we have to check if an inset is the next char as it
9537         could now happen that a large inset is causing a break.
9538
9539 2002-01-05  Juergen Vigna  <jug@sad.it>
9540
9541         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9542         if it doesn't like to be drawed.
9543
9544 2002-01-04  Juergen Vigna  <jug@sad.it>
9545
9546         * BufferView2.C (lockInset): forgot to set a cursor.
9547
9548         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9549
9550 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9551
9552         * FormMathsPanel.C:
9553         * FormMathsPanel.h
9554         * MathsSymbols.C:
9555         * form_maths_panel.C:
9556         * form_maths_panel.h:
9557         * form_maths_panel.fd: implemented sub- and super- buttons in math
9558         panel.
9559
9560         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9561         (or ^ space) to be used as in TeX (req'd by André).
9562
9563         * lyxfunc.C: Allow ^ and _ again to be used both as
9564         super/subscript (mathed) and as themselves (in text).
9565
9566 2002-01-03  Allan Rae  <rae@lyx.org>
9567
9568         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9569         "LyX" or the filename of the current buffer if it has one.  This is a
9570         modified form of John Levon's patch.
9571
9572         * XFormsView.C (setWindowTitle): also set icon title.
9573
9574         * LyXView.h (setWindowTitle): signature changed.
9575         * XFormsView.h (setWindowTitle): ditto.
9576
9577 2002-01-02  Juergen Vigna  <jug@sad.it>
9578
9579         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9580
9581 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9582
9583         * screen.C (topCursorVisible): introduce a temp var for
9584         text->cursor.row(), handle the case where this row is null. (kindo
9585         hachish)
9586
9587         * text2.C (setCursor): add a couple of asserts.
9588
9589         * paragraph.h (inset_iterator): add -> operator
9590
9591         * paragraph.[Ch] (autoDeleteInsets): remove member function
9592
9593         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9594         cursor pos correctly and handle inset deletion by itself.
9595         (insertErrors): move iterator declaration out of for expression
9596
9597         * lyxtextclass.C: add <algorithm>
9598
9599         * Makefile.am: added the new files to sources, removed layout.C
9600
9601         * layout.C: removed file
9602
9603         * layout.h: remove LYX_DUMMY_LAYOUT
9604
9605         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9606         layout.
9607
9608         * lyxlayout.[Ch]:
9609         * lyxtextclass.[Ch]:
9610         * lyxtextclasslist.[Ch]: new files
9611
9612         * include order changes to a lot of files, also changes because of
9613         the six new files.
9614
9615 2001-12-27  Juergen Vigna  <jug@sad.it>
9616
9617         * buffer.C (asciiParagraph): more fixes.
9618
9619         * tabular.C (ascii): make ascii export support export of only the
9620         data separated by a column-delimiter.
9621         (ascii): better support for ascii export.
9622
9623         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9624
9625 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9626
9627         * tabular_funcs.C: use a "using std::getline" instead of the
9628         previous fix from Angus (necessary for cxx + lyxstring)
9629
9630 2001-12-24  Juergen Vigna  <jug@sad.it>
9631
9632         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9633
9634         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9635         problems. First check a minipage also if we have some ert-contents
9636         (not only on par->size(), second set the right depth of the paragraph
9637         on the relink to the root-paragraph-list!
9638
9639         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9640         which then did not anymore update the main paragraphs on undo/redo!
9641
9642 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9645         code. Support all font-changing funcs (even those which are not in
9646         menu currently). Support for reporting font settings in
9647         mathed (disabled until Andre provides a function on mathed's side).
9648
9649         * func_status.h (toggle): small helper function to set toggle
9650         state on a flag.
9651
9652 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9653
9654         * tabular_funcs.C: getline -> std::getline
9655
9656 2001-12-21  Juergen Vigna  <jug@sad.it>
9657
9658         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9659         accessed and could be 0 (I couldn't generate this but it seems
9660         Michael could!).
9661
9662 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9663
9664         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9665         * tabular_funcs.h: here and include iosfwd
9666
9667 2001-12-20  Juergen Vigna  <jug@sad.it>
9668
9669         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9670         inside inset but undo_par was.
9671
9672 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9673
9674         * Thesaurus.C: always include <config.h> in sources.
9675
9676         * Painter.h:
9677         * lyxlookup.h:
9678         * box.h: do not include <config.h> in header files
9679
9680         * text.C (paintLastRow): remove unused variable
9681
9682         * text.C (transformChar):
9683         (insertChar):
9684         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9685
9686         * Painter.C (text):
9687         * font.C (width): rewrite to use uppercase() instead of
9688         islower/toupper.
9689
9690         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9691
9692 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * lyxfind.C: clean up of find failure position change
9695
9696 2001-12-20  Juergen Vigna  <jug@sad.it>
9697
9698         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9699
9700         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9701         (TeXRow): added to LaTeX a single tabular row.
9702         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9703         (Latex): simplified and finally good LT-h/f support.
9704         (various_functions): just small adaptions for LT-h/f support.
9705
9706         * tabular_funcs.[hC]: added and moved here all not classfunctions
9707         of LyXTabular.
9708
9709 2001-12-19  Juergen Vigna  <jug@sad.it>
9710
9711         * tabular.[Ch]: better support for longtabular options (not finished
9712         yet!)
9713
9714 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9715
9716         * text.C (paintLastRow): use the label font instead of the font of
9717         the last character to compute the size of *_BOX. This makes more
9718         sense and avoids a crash with empty paragraphs.
9719         Use Painter::rectangle to draw EMPTY_BOX.
9720
9721 2001-12-19  Juergen Vigna  <jug@sad.it>
9722
9723         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9724         the paragraphs if the replaced paragraph is not the first one!
9725         Tried to delete not used paragraphs but does not work yet so for
9726         now it's inside #ifdef's and by default off!
9727
9728 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * MenuBackend.C: include "lyx_main.h" instead of declaring
9731         lastfiles (actually was declared as LastFiles* instead of a
9732         scoped_ptr).
9733
9734 2001-12-17  Juergen Vigna  <jug@sad.it>
9735
9736         * tabular.C (AppendColumn): applied John's fix
9737
9738 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9739
9740         * BufferView.h:
9741         * BufferView.C:
9742         * BufferView_pimpl.h:
9743         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9744
9745         * Makefile.am:
9746         * box.h: new start of class for above
9747
9748         * lyxfunc.C: ignore space-only minibuffer dispatches.
9749           Show the command name when it doesn't exist
9750
9751         * minibuffer.C: don't add empty lines to the history
9752
9753         * minibuffer.C: add a space on dropdown completion
9754
9755 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9756
9757         * text.C: fix line above/below drawing in insets
9758
9759 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9760
9761         * lyxlength.C (LyXLength): Initialize private variables.
9762
9763 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9764
9765         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9766         when inserting error insets.
9767
9768 2001-12-13  Juergen Vigna  <jug@sad.it>
9769
9770         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9771         actually sometimes the before-paragraph.
9772         (setUndo): don't clear the redostack if we're not actually undoing!
9773
9774 2001-12-06  Juergen Vigna  <jug@sad.it>
9775
9776         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9777         and fixed redoing of main paragraph, so we can use it now ;)
9778
9779         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9780
9781 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9784         Juergen's request
9785
9786 2001-12-13  André Pönitz <poenitz@gmx.net>
9787
9788         * undostack.[Ch]:
9789         * undo_func.C: minor cleanup
9790
9791 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9794         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9795         font in urw-fonts package which is marked as -urw-fontspecific and
9796         does not work (incidentally, changing the encoding in the
9797         fonts.dir of this package to -adobe-fontspecific fixes the
9798         problem).
9799
9800         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9801         is a crash when undoing first paragraph (Juergen, please take a
9802         look). THis does not mean the undo fix is wrong, just that it
9803         uncovers problems.
9804
9805         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9806         the (Paragraph*) version when needed instead of duplicating the
9807         code.
9808
9809         * text.C (workWidth): use Inset::parOwner to find out where the
9810         inset has been inserted. This is a huge performance gain for large
9811         documents with lots of insets. If Inset::parOwner is not set, fall
9812         back on the brute force method
9813
9814         * paragraph_pimpl.C (insertInset):
9815         * paragraph.C (Paragraph):
9816         (cutIntoMinibuffer): set parOwner of insets when
9817         inserting/removing them
9818
9819         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9820
9821 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9822
9823         * commandtags.h:
9824         * LyXAction.C:
9825         * lyx_main.C:
9826         * lyxfunc.C:
9827         * mathed/formulabase.C:
9828         * mathed/math_cursor.[Ch]:
9829         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9830
9831
9832 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9833
9834         * lyxlength.[Ch] (operator!=): new function
9835
9836 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9837
9838         * text.C (workWidth): use Inset::parOwner to find out where the
9839         inset has been inserted. This is a huge performance gain for large
9840         documents with lots of insets. If Inset::parOwner is not set, fall
9841         back on the brute force method
9842
9843         * paragraph_pimpl.C (insertInset):
9844         * paragraph.C (Paragraph):
9845         (cutIntoMinibuffer): set parOwner of insets when
9846         inserting/removing them
9847
9848         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9849
9850 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * tabular-old.C (getTokenValue):
9853         * tabular.C (getTokenValue):
9854         (write_attribute): new versions for LyXLength
9855         (everywhere): adjust the use of widths
9856
9857         * tabular.h: change the type of widths from string to LyXLength
9858
9859 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9860
9861         * paragraph.C: fixed missing line number count when exporting
9862         Environments to LaTeX file
9863
9864         * buffer.C: added informational message for checking line numbers.
9865
9866 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9867
9868         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9869         paragraph, do the 'double space' part, but not the 'empty
9870         paragraph' one.
9871
9872         * text.C (workWidth): small optimization
9873         (getLengthMarkerHeight): use minimal size for negative lengths.
9874
9875 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9876
9877         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9878
9879         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9880
9881 2001-12-11  André Pönitz <poenitz@gmx.net>
9882
9883         * FontLoader.C:
9884         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9885
9886 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9887
9888         * text2.C: keep selection on a setFont()
9889
9890 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9891
9892         * lyx_cb.C: another bv->text misuse, from insert label
9893
9894 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * kbsequence.h:
9897         * kbsequence.C: re-instate nmodifier mask
9898
9899 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9900
9901         * lyx_main.h: make lyxGUI private.
9902
9903 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * lyxfind.C: place the cursor correctly on failed search
9906
9907 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9908
9909         * text.C (getLengthMarkerHeight): for small heights, the arrows
9910         are not always on top/bottom of the text
9911         (drawLengthMarker): smaller arrows; take the left margin in
9912         account; draw also vfills.
9913         (paintFirstRow):
9914         (paintLastRow): remove special code for vfill and standard spaces,
9915         since everything is handled in drawLengthMarker now.
9916
9917 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9918
9919         * buffer.C (insertErtContents): try to handle font and language
9920         interaction a bit better.g
9921
9922         * ColorHandler.C (updateColor): change the hash to cover the whole
9923         LColor enum, ws cleanup
9924         (getGCLinepars): ditto
9925         (getGCLinepars): only lookup in the linecache once.
9926
9927 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9928
9929         * iterators.C (operator++): Make the iterator more robust
9930
9931         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9932         (John's patch)
9933         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9934
9935 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * lyxtext.h:
9938         * text.C: better added space drawing
9939
9940 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * LyXView.C:
9943         * BufferView2.C: fix layout combo update on inset unlock
9944
9945 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * Makefile.am: don't compile unused files
9948
9949 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * lyxfunc.C:
9952         * commandtags.h:
9953         * LyXAction.C: remove old LFUN_LAYOUTNO
9954
9955 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * paragraph_pimpl.h:
9958         * paragraph_pimpl.C: isTextAt() doesn't need font param
9959
9960 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9961
9962         * lyxlex.h:
9963         * lyxlex.C: little cleanup
9964
9965 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * BufferView_pimpl.C: fix insertAscii for insets
9968
9969 2001-12-05  Juergen Vigna  <jug@sad.it>
9970
9971         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9972         set the right font on the "multi" paragraph paste!
9973
9974 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9975
9976         * trans_decl.h:
9977         * trans_mgr.[Ch]:
9978         * trans.[Ch]:
9979         * lyxgluelength.C:
9980         * lyxlength.C: remove out-commented code.
9981
9982         * BufferView_pimpl:
9983         * CutAndPaste.C:
9984         * DepTable.C:
9985         * buffer.C:
9986         * chset.C:
9987         * lastfiles.C:
9988         * lyxlex.C:
9989         * lyxlex_pimpl.C:
9990         * lyxserver.C:
9991         * screen.C:
9992         * tabular-old.C:
9993         * tabular.C:
9994         * text.C:
9995         * trans_mgr.C:
9996         * vc-backend.C: change "while(" to "while ("
9997
9998         * lyxlength.[Ch]: add zero function to check if length is zero or
9999         not
10000         * lyxgluelength.C: use it
10001
10002 2001-12-05  Allan Rae  <rae@lyx.org>
10003
10004         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10005         Works for 2.95.3, from what I understand of Garst's reports this should
10006         work for other g++ versions.  We're screwed if the abs(int) definition
10007         changed between bugfix releases of gcc.
10008
10009 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * text.C: fix chapter label offset !
10012
10013 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * lyxtext.h:
10016         * text.C: fix hfill at end of line, clean up
10017
10018 2001-12-04  Juergen Vigna  <jug@sad.it>
10019
10020         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10021         that we force an update of the inset and it's owners if neccessary.
10022
10023 2001-12-03  Juergen Vigna  <jug@sad.it>
10024
10025         * text.C (rowLast): simplified code
10026
10027 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * lyxfunc.C: fix show options on timeout
10030
10031 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10032
10033         * screen.C (topCursorVisible): scroll half a page when the cursor
10034         reached top of bottom of screen
10035
10036 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10037
10038         * minibuffer.C: deactivate on loss of focus
10039
10040 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10041
10042         * vspace.[Ch] (operator!=): add operator.
10043
10044 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10045
10046         * BufferView_pimpl.C: refuse to open an inset when
10047         there's a selection.
10048
10049 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * BufferView_pimpl.C: allow to click on RHS of full row insets
10052
10053 2001-11-30  Juergen Vigna  <jug@sad.it>
10054
10055         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10056         insets for undo reasons.
10057
10058 2001-11-28  André Pönitz <poenitz@gmx.net>
10059
10060         * vspace.[Ch]: cosmetical changes
10061
10062 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * LyXAction.h:
10065         * LyXAction.C:
10066         * lyxfunc.h:
10067         * lyxfunc.C:
10068         * kbmap.h:
10069         * kbmap.C:
10070         * lyxrc.C:
10071         * kbsequence.h:
10072         * kbsequence.C: part re-write of old kb code
10073
10074         * Painter.C:
10075         * WorkArea.C: remove Lgb_bug_find_hack
10076
10077 2001-11-30  José Matos <jamatos@fep.up.pt>
10078
10079         * buffer.C (makeDocBookFile): add a comment to point a hack.
10080         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10081         Fixed a double write of labels.
10082
10083 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10084
10085         * LaTeX.C:
10086         * LaTeX.h Fixed bug in LaTeX class where it would not
10087         re-run latex if no depfiles were changed, but the .dvi was removed.
10088
10089 2001-11-28  André Pönitz <poenitz@gmx.net>
10090
10091         * all the files from the change on 2001/11/26:
10092         use lyx::layout_type instead of LyXTextClass::size_type
10093         use lyx::textclass_type instead of LyXTextClassList::size_type
10094
10095 2001-11-29  Juergen Vigna  <jug@sad.it>
10096
10097         * text.C: added support for paragraph::isFreeSpacing()
10098
10099         * buffer.C: same as above
10100
10101         * paragraph.h: inserted isFreeSpacing() function to enable
10102         FreeSpacing inside InsetERT.
10103
10104         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10105         of the paragraph's in the cut/copy buffer to 0!
10106
10107         * text2.C (removeRow): remove the assert as it can!
10108
10109         * lyxtext.h: added helper function firstRow returning firstrow and
10110         made firstrow private again.
10111
10112         * BufferView2.C (lockInset): don't relock if we're already locked!
10113
10114         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10115         the only paragraph.
10116         (removeRow): added Assert::(firstrow)
10117
10118         * debug.C: forgot to add INSETTEXT here.
10119
10120 2001-11-28  Juergen Vigna  <jug@sad.it>
10121
10122         * sp_spell.C (initialize): changed error text to more general
10123         spellchecker command use (not only ispell!)
10124
10125         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10126
10127         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10128
10129 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * vspace.C: initialise lyxgluelength on failure
10132
10133 2001-11-28  Allan Rae  <rae@lyx.org>
10134
10135         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10136         declaration & definition that looks like a function declaration.
10137
10138 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10139
10140         * BufferView2.C (copy):
10141         (copyEnvironment): do not clear the selection when doing a copy.
10142
10143         * text.C (paintFirstRow): compilation fix
10144
10145 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10146
10147         * tabular.C (Latex): correct line count when writing latex.
10148
10149 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * paragraph_pimpl.h:
10152         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10153           bug a bit
10154
10155 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * text.C:
10158         * LColor.h:
10159         * LColor.C: change vfillline->added_space
10160
10161         * text.C: add markers and text for added space
10162
10163         * vspace.C: fix comment
10164
10165 2001-11-28  André Pönitz <poenitz@gmx.net>
10166
10167         * paragraph.C: whitespace changes
10168         * all the other files from the change on 2001/11/26:
10169         change *::pos_type into lyx::pos_type
10170
10171 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10172
10173         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10174         language of the document when inserting error insets.
10175
10176 2001-11-26  André Pönitz <poenitz@gmx.net>
10177
10178         * BufferView_pimpl.[Ch]:
10179         *       CutAndPaste.C:
10180         * buffer.[Ch]:
10181         * lyxcursor.[Ch]:
10182         * lyxfind.C:
10183         * lyxfunc.C:
10184         * lyxrow.[Ch]:
10185         * paragraph.[Ch]:
10186         * paragraph_pimpl.[Ch]:
10187         * sp_spell.C:
10188         * text.C:
10189         * text2.C: reduce header dependencies, introduce type for positions
10190
10191 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10192
10193         * <various>: change to use Alert.h
10194
10195 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10196
10197         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10198         when encountering an unknown token.
10199         (readLyXformat2): Show an error message if there were unknown tokens.
10200
10201 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10202
10203         * BufferView2.C:
10204         * BufferView_pimpl.C:
10205         * buffer.C:
10206         * paragraph.h:
10207         * text.C:
10208         * text2.C: use par->isInset()
10209
10210 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * paragraph_pimpl.h:
10213         * paragraph_pimpl.C: cleanup
10214
10215 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10216
10217         * text2.C (removeRow):
10218         * text.C (setHeightOfRow): remove useless (and costly) call to
10219         getRow.
10220
10221 2001-11-20  Allan Rae  <rae@lyx.org>
10222
10223         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10224         Now need Inset*::checkInsertChar() to return true for appropriate
10225         cases so that the characters in the minibuffer will actually be
10226         inserted.
10227
10228 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10229
10230         * text.C: change the order of the includes.
10231         (workWidth): initialize it at once.
10232         (workWidth): make maxw unsigned
10233         (setHeightOfRow): remove unused variable (inset)
10234         (selectSelectedWord): remove unused variable (inset)
10235         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10236
10237 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10238
10239         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10240         server is not running.
10241         (openConnection):
10242         (closeConnection): add debug info when server is disabled.
10243
10244         * ColorHandler.C (getGCForeground): send debug message to GUI
10245         channel.
10246
10247         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10248
10249         * kbmap.C (bind): modify because return conventions of
10250         kb_sequence::parse have changed.
10251
10252         * kbsequence.C (parse): only ignore spaces and not any stupid
10253         control character. This avoids tests like s[i] <= ' ', which are
10254         guaranteed to fail with 8bit characters and signed chars.
10255         Change return code to string::npos when there have been no error
10256         (0 was a bad idea when error is at first character)
10257
10258 2001-11-14  José Matos  <jamatos@fep.up.pt>
10259
10260         * buffer.h:
10261         * buffer.C (simpleDocBookOnePar): removed unused argument.
10262
10263 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10264
10265         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10266         insets which are part of a word. Paragraph::isLetter takes care of
10267         that now. Use Paragraph::isInset to identify insets.
10268         (selectSelectedWord): do not test for hyphenation break.
10269
10270         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10271         that protected spaces are considered as spaces.
10272
10273         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10274         Inset::isLetter.
10275
10276 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10277
10278         * lyxserver.h:
10279         * lyxserver.C: fix it. and small cleanup.
10280
10281 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * BufferView_pimpl.C: use inline helpers
10284
10285         * LaTeXFeatures.h:
10286         * LaTeXFeatures.C: fix typos
10287
10288         * Spacing.h:
10289         * Spacing.C: move spacing_string into class
10290
10291         * ToolbarDefaults.C: move stuff into namespace anon
10292
10293         * layout.h: update enum
10294
10295         * lyxfunc.C: use better debug
10296
10297         * minibuffer.h: fix typo
10298
10299         * debug.h:
10300         * debug.C:
10301         * WorkArea.C: add and use Debug::WORKAREA
10302
10303         * lyxtext.h:
10304         * text.C:
10305         * text2.C: code re-organisation, inline helpers
10306
10307 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10308
10309         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10310         std::vector.empty().
10311
10312 2001-11-09  Allan Rae  <rae@lyx.org>
10313
10314         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10315         '\n's after tables.  Tabular and ERT inset work now makes this no
10316         longer necessary.
10317
10318 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * minibuffer.h:
10321         * minibuffer.C: fix crash, improve drop-down completion
10322
10323 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10324
10325         * lyxserver.h:
10326         * lyxserver.C: invalidate fd's when doing endPipe()
10327
10328 2001-11-08  José Matos  <jamatos@fep.up.pt>
10329
10330         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10331         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10332
10333         * paragraph.h:
10334         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10335
10336 2001-11-07  José Matos  <jamatos@fep.up.pt>
10337
10338         * buffer.h:
10339         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10340         const qualifier.
10341
10342         * buffer.C (sgmlOpenTag):
10343         * buffer.C (sgmlCloseTag): removed debug info.
10344
10345         * buffer.h (sgmlOpenTag):
10346         * buffer.h (sgmlCloseTag): made public.
10347
10348 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10349
10350         * buffer.C (saveParamsAsDefaults):
10351         * lyx_cb.C (MenuLayoutSave): remove
10352
10353         * LyXAction.C (init):
10354         * commandtags.h:
10355         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10356
10357 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10358
10359         * buffer.C (setPaperStuff): removed from here...
10360
10361         * bufferparams.C (setPaperStuff): ... and moved there.
10362
10363 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * minibuffer.h:
10366         * minibuffer.C:
10367         * XFormsView.C: add support for drop-down completion
10368
10369 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10370
10371         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10372         commands.
10373
10374 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10375
10376         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10377         disabled.
10378
10379 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10380
10381         * lyx_main.C: change ref to known bugs
10382
10383 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10384
10385         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10386         to work around older babel problems.
10387
10388 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10389
10390         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10391
10392 2001-10-24  Juergen Vigna  <jug@sad.it>
10393
10394         * tabular-old.C (ReadOld): below variable changes reflected.
10395
10396         * tabular.[Ch]: added ltType struct for longtable header/footer
10397         defines and changed all instances where they are used. Added
10398         future support for double top/bottom rows.
10399
10400 2001-10-24  José Matos  <jamatos@fep.up.pt>
10401
10402         * buffer.h (docbookHandleCaption):
10403         * buffer.C (docbookHandleCaption): removed unused function.
10404         (makeDocBookFile): moved docbook supported version to v4.1.
10405
10406 2001-10-24  José Matos  <jamatos@fep.up.pt>
10407
10408         * tabular.h:
10409         * tabular.C (docbookRow): new function to export docbook code of a row.
10410         (DocBook): now honors the longtable flags.
10411
10412 2001-10-23  José Matos  <jamatos@fep.up.pt>
10413
10414         * LaTeXFeatures.h:
10415         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10416         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10417
10418         * buffer.C (makeLinuxDocFile):
10419         (makeDocBookFile): reworked the preamble, more clean, and with
10420         support for lyx defined entities. Changed the document declaration
10421         to be more XML friendly.
10422
10423         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10424         if we need to output XML that should be done with a filter.
10425
10426 2001-10-22  Juergen Vigna  <jug@sad.it>
10427
10428         * sp_pspell.h (class PSpell): add alive function needed in the
10429         controller to see if the spellchecker could be started.
10430
10431 2001-10-22  Juergen Vigna  <jug@sad.it>
10432
10433         * buffer.C (insertStringAsLines): modify the font for inserting
10434         chars in certain conditions by calling checkInsertChar(font).
10435
10436 2001-10-19  Juergen Vigna  <jug@sad.it>
10437
10438         * text.C (workWidth): use getRow instead of wrong algorithm.
10439         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10440
10441 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * lyxserver.h:
10444         * lyxserver.C:
10445         * lyx_main.h:
10446         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10447
10448 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10449
10450         * text.C (workWidth): do not search for the exact row when
10451         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10452         optimization for big documents.
10453
10454 2001-10-18  Juergen Vigna  <jug@sad.it>
10455
10456         * text.C (workWidth): new function with added Inset * parameter.
10457
10458 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10459
10460         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10461
10462         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10463         change return type of getColumnNearX.
10464
10465
10466         * text.C (changeRegionCase): use uppercase/lowercase instead of
10467         toupper/tolower.
10468         (leftMargin):
10469         (rightMargin): simplify code by factoring out the uses of
10470         textclasslist.
10471         (labelFill):
10472         (numberOfHfills):
10473         (setHeightOfRow):
10474         (appendParagraph): use Paragraph::size_type
10475
10476 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10477
10478         * vspace.C (asLatexString): add a missing break
10479
10480 2001-10-15  Herbert Voss  <voss@perce.de>
10481
10482         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10483
10484 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10487         is not available.
10488
10489 2001-10-10  André Pönitz <poenitz@gmx.net>
10490
10491         * lyxfunc.C: removed greek_kb_flag.
10492
10493 2001-10-10  Herbert Voss  <voss@perce.de>
10494
10495         * lyx_main.C: delete global string help_lyxdir.
10496
10497 2001-10-09  Herbert Voss  <voss@perce.de>
10498
10499         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10500
10501         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10502
10503         * lyx_main.C: added global string help_lyxdir.
10504
10505         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10506
10507 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10508
10509         * lyxrc.C (set_font_norm_type): support iso8859-4
10510
10511 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10512
10513         * LaTeX.C (deplog): add another regex for MikTeX
10514
10515 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10516
10517         * lyxrc.C (set_font_norm_type): support iso8859-3
10518
10519 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10520
10521         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10522
10523         * LaTeXFeatures.C: remove special case of french and index
10524
10525         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10526         before \begin{document}). This solves several incompatibilities.
10527
10528 2001-10-03  Garst Reese  <reese@isn.net>
10529
10530         * lyx_cb.C: change CheckTex error msg.
10531
10532 2001-10-03  José Matos  <jamatos@fep.up.pt>
10533
10534         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10535
10536 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10537
10538         * .cvsignore: update
10539
10540         * lyx_main.C (commandLineVersionInfo): use new style version info.
10541
10542         * buffer.C (writeFile):
10543         (makeLaTeXFile):
10544         (makeLinuxDocFile):
10545         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10546
10547         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10548
10549         * version.h: update to use stuff in version.C
10550
10551         * version.C.in: new file. Contains version information determined
10552         at compile time. This is a merging of version.h and
10553         version_info.h.in.
10554
10555 2001-10-03  Juergen Vigna  <jug@sad.it>
10556
10557         * BufferView_pimpl.C (update): don't change "dirty" status in
10558         updateInset call.
10559
10560 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10561
10562         * WorkArea.C (c-tor): re-position version string slightly.
10563
10564 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10565
10566         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10567         revert to previous code.
10568
10569         WorkArea.[Ch]: (show, destroySplash): methods removed.
10570
10571         WorkArea.C: rework code so that it's an amalgam of the codes before and
10572         after the splash screen was moved to WorkArea.
10573
10574 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10575
10576         * lyxrc.C (read):
10577         * vspace.C (inPixels):
10578         (lyx_advance):
10579         * kbmap.C (bind):
10580         * buffer.C (insertStringAsLines):
10581         (asciiParagraph): fix types to be large enough
10582
10583         * lyxlex_pimpl.h: change member status from short to int
10584
10585         * layout.h: fix type of endlabeltype
10586
10587         * kbmap.C (bind):
10588         * kbsequence.C (parse): change return type to string::size_type
10589
10590         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10591         variable
10592
10593         * Bullet.C (bulletSize):
10594         (bulletEntry): do not use short ints as parameters
10595
10596         * BufferView2.C (insertLyXFile): change a char to an int.
10597
10598         * WorkArea.C (WorkArea): remove unneeded floats in computation
10599
10600 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10601
10602         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10603
10604         * paragraph.C (asString): Do not ignore newline/hfill chars when
10605         copying to the clipboard.
10606
10607 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10608
10609         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10610         after a multi-line inset.
10611
10612 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10613
10614         * paragraph.C (validate): Set NeedLyXFootnoteCode
10615
10616 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10617
10618         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10619         and decrease-error to decrease.
10620
10621 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10622
10623         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10624         it more readable (should be equivalent)
10625
10626 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10627
10628         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10629
10630 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10631
10632         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10633         of a cursor (row, etc.) after a character has been deleted
10634         (deleteEmptyParagraphMechanism): call the method above on _all_
10635         cursors held by the LyXText when a double space has been
10636         detected/deleted.
10637
10638 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10639
10640         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10641         pixmap.
10642         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10643
10644         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10645         background. Use greyOut() and the new show() methods to toggle between
10646         the foreground and background. Add code to remove the splash after
10647         its initial showing.
10648
10649         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10650         (create_forms): no longer call Dialogs::showSplash.
10651
10652 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10653
10654         * .cvsignore: add version_info.h
10655
10656 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10657
10658         * version_info.h.in: new file
10659
10660         * Makefile.am: add version_info.h.in
10661
10662         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10663         version_info.h instead of VERSION_INFO
10664
10665 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10666
10667         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10668         The ERT inset now returns string().
10669
10670 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10671
10672         * lyxtext.h, text.C (selectNextWord): renamed as
10673         selectNextWordToSpellcheck.
10674
10675         * text.C (selectNextWordToSpellcheck): Modified to not select
10676         words inside an ERT inset.
10677
10678 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * lyx_cb.C (MenuLayoutSave): change a bit the question
10681
10682         * sp_base.h: include <sys/types.h>
10683
10684 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10685
10686         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10687
10688 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10689
10690         * several files: fix typos in user-visible strings
10691
10692 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10693
10694         * text2.C (pasteSelection): do not set the selection, since it
10695         will be cleared later. Actually, the intent was to fix the way the
10696         selection was set, but I figured rmoving the code was just as good.
10697
10698 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10699
10700         * FontLoader.C (available): Check if font is available without
10701         loading the font.
10702
10703 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10704
10705         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10706
10707 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10708
10709         * lyxrc.[Ch]: added display_graphics variable and associated code.
10710
10711 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10712
10713         * bufferparams.C (hasClassDefaults): new method. Returns true if
10714         the buffer parameters correspond to known class defaults
10715
10716 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10717
10718         * XFormsView.C (show): set minimum size to the main window.
10719
10720 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10721
10722         * text2.C (copySelection):
10723         (cutSelection):
10724         * lyxfind.C (LyXReplace):
10725         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10726         LyXText::selectionAsString.
10727
10728         * paragraph.C (asString): add "label" argument to the second form
10729
10730         * text2.C (selectionAsString): add "label" argument and pass it to
10731         Paragraph::asString.
10732
10733 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10734
10735         * lyx_main.C (commandLineHelp): remove version information
10736
10737 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10738
10739         * lyx_main.C: add -version commandline option
10740
10741 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * paragraph.h: make the optional constructor arg required instead.
10744         some modifications to other files because of this.
10745
10746         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10747
10748         * lyxserver.C (C_LyXComm_callback): make it static
10749
10750         * lyx_main.C (error_handler): make it static
10751
10752         * lyx_gui.C (LyX_XErrHandler): make it static
10753
10754         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10755
10756         * WorkArea.C: make the extern "C" methods static.
10757
10758         * Makefile.am (lyx_LDADD): simplify
10759
10760 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10761
10762         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10763         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10764
10765         * LyXAction.C (init):
10766         * lyxfunc.C (dispatch): associated code removal.
10767
10768 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10769
10770         * lyxfont.h (isSymbolFont): shut off warning
10771
10772         * text.C (setHeightOfRow):
10773         (getVisibleRow): fix crash with empty paragraphs which have a
10774         bottom line
10775
10776 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10777
10778         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10779         code.
10780
10781 2001-09-04  José Matos  <jamatos@fep.up.pt>
10782         * buffer.C
10783         * buffer.h
10784         * tabular.C (docbook): rename docBook method to docbook.
10785
10786 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10787
10788         * Makefile.am: add dependencies to main.o.
10789
10790 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10791
10792         * FontLoader.C (available): Return false if !lyxrc.use_gui
10793
10794 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10795
10796         * FontInfo.C (query):
10797         * converter.C (view):
10798         * importer.C (Import):
10799         * exporter.C (Export): Can not -> cannot.
10800
10801 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * BufferView_pimpl.C: allow to create index inset even if
10804           string is empty
10805
10806 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10807
10808         * buffer.C (getLists): replace boost::tie code with an explicit pair
10809         as boost::tie can break some compilers.
10810
10811         * iterators.h: Added a std:: declaration to the return type of
10812         ParIterator::size.
10813
10814 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10817           case.
10818
10819 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10820
10821         * iterators.[Ch]: New files. Provide paragraph iterators.
10822
10823         * buffer.C (changeLanguage): Use paragraph iterators.
10824         (isMultiLingual): ditto
10825
10826         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10827
10828 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * FontLoader.C: Support for cmr font.
10831
10832 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10833
10834         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10835         (available): New method.
10836
10837         * FontInfo.C (getFontname): Use scalable fonts even when
10838         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10839         found.
10840
10841 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10842
10843         * converter.C (Formats::view): reverted! Incorrect fix.
10844
10845 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10846
10847         * converter.C (Formats::view): only output the -paper option
10848         if the dvi viewer is xdvi, thereby fixing bug #233429.
10849
10850 2001-08-23  Herbert Voss  <voss@perce>
10851
10852         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10853
10854 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10855
10856         * Spacing.h (Spacing): Set space to Default on in the default
10857         constructor.
10858
10859 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10860
10861         * vc-backend.h (RCS::versionString): add RCS to version
10862         (CVS::versionString): add CVS to version
10863
10864         * vc-backend.C (scanMaster): do not add CVS to version.
10865         (scanMaster): do not add RCS to version
10866
10867         * lyxvc.C (versionString): new method
10868
10869         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10870
10871 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10872
10873         * Spacing.C (set): initialize fval
10874
10875 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10876
10877         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10878         " or \.
10879
10880 2001-08-16  Juergen Vigna  <jug@sad.it>
10881
10882         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10883
10884 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10885
10886         * BufferView_pimpl.C:
10887         * figureForm.C:
10888         * lyxtext.h:
10889         * text2.C: setParagraph takes linespacing now
10890
10891 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10892
10893         * LyxAction.C: add internal LFUN_CITATION_INSERT
10894
10895         * LyXView.C: actually apply fix
10896
10897         * bufferlist.C: fix open non-existent file
10898
10899         * lyxfind.C: fix indentation
10900
10901         * lyxfunc.C: remove unneeded assert, fix typo
10902
10903 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * MenuBackend.C: use "Floatname List"
10906
10907 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10908
10909         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10910         when converting LaTeX layout to insetERT.
10911         Generate a non-collapsed float when reading old float
10912
10913 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10914
10915         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10916         ERT insets.
10917
10918 2001-08-13  Juergen Vigna  <jug@sad.it>
10919
10920         * text.C (fill): return 0 instead of 20 as this seems to be the more
10921         correct value.
10922
10923 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10924
10925         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10926         lyxrc.font_norm.
10927
10928 2001-08-13  Juergen Vigna  <jug@sad.it>
10929
10930         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10931         casesensitive off.
10932         (SearchBackward): comment out the unlocking of the inset_owner this
10933         should not be needed!
10934
10935 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10936
10937         * Many files: Remove inherit_language, and add latex_language
10938
10939         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10940         collapsible insets.
10941
10942 2001-08-10  Juergen Vigna  <jug@sad.it>
10943
10944         * text.C (prepareToPrint): fixed hfill-width in draw!
10945
10946         * BufferView2.C (selectLastWord): save the selection cursor as this
10947         now is cleared in the function LyXText::clearSelection!
10948
10949 2001-08-08  Juergen Vigna  <jug@sad.it>
10950
10951         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10952         BACKSPACE type functions.
10953
10954         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10955         is only cutted from the document but not put in the cut-buffer, where
10956         still the old stuff should be.
10957
10958         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10959
10960         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10961
10962         * tabular.C (SetWidthOfCell): fixed special case where the width
10963         was not updated!
10964         (LeftLine): handle '|' in align_special.
10965         (RightLine): ditto
10966         (LeftAlreadyDrawed): ditto
10967         (SetWidthOfCell): ditto
10968
10969 2001-08-07  Juergen Vigna  <jug@sad.it>
10970
10971         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10972
10973 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10976         * lyxlex.[hC]: ditto
10977
10978 2001-08-06  Juergen Vigna  <jug@sad.it>
10979
10980         * text.C (getVisibleRow): fix up row clearing a bit.
10981
10982 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * minibuffer.C: make sure the X server sees the changes in the input.
10985
10986 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10987
10988         * paragraph.C (getFont): split into...
10989         (getLabelFont): this
10990         (getLayoutFont): and this
10991         * paragraph_pimpl.C (realizeFont): calling this
10992
10993         * text2.C (getFont): split into...
10994         (getLayoutFont): this
10995         (getLabelFont): and this
10996         (realizeFont): all three calling this
10997
10998         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10999         files where used.
11000
11001 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11002
11003         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11004
11005 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11006
11007         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11008         layouts from the Quote inset insertion.
11009
11010 2001-08-03  Juergen Vigna  <jug@sad.it>
11011
11012         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11013
11014         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11015         only if status not is already CHANGED_IN_DRAW (second level).
11016
11017         * text.C (draw): don't set the need_break_row when inside an
11018         InsetText LyXText.
11019
11020 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11021
11022         * buffer.C (parseSingleLyXformat2Token): handle more latex
11023         conversion cases.
11024
11025         * bufferview_funcs.[hC]: change function names to
11026         begin with small char, adjust other files.
11027
11028 2001-08-02  André Pönitz <poenitz@gmx.net>
11029
11030         * lyxfunc.C:
11031         BufferView_pimpl.C: remove broken special code for math-greek
11032
11033 2001-08-02  Juergen Vigna  <jug@sad.it>
11034
11035         * BufferView_pimpl.C (update): redone this function so that we
11036         update the text again if there was a CHANGE_IN_DRAW.
11037
11038         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11039         (drawFromTo): added a new internal bool which is used by draw() and
11040         redraw() function.
11041         (general): some cursor drawing problems fixed.
11042
11043 2001-08-01  Juergen Vigna  <jug@sad.it>
11044
11045         * lyxfind.C (LyXFind): fixed
11046         (SearchForward): ditto
11047         (SearchBackward): ditto
11048
11049         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11050         spurius drawing of the cursor in the main area.
11051
11052         * text2.C (status): small fix which could lead to a segfault!
11053         (clearSelection): remove unneeded BufferView param.
11054
11055 2001-08-01  André Pönitz <poenitz@gmx.net>
11056
11057         * lyxfunc.C: small change due to changed mathed interface
11058
11059 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11060
11061         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11062
11063 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * lyxfunc.c: fail gracefully if file doesn't exist
11066
11067         * LyXSendto.C:
11068         * buffer.C:
11069         * lyxfunc.C:
11070         * BufferView_pimpl.C: IsDirWriteable() proto changed
11071
11072         * LyXView.C: fix updateWindowTitle() to store the last title
11073
11074 2001-07-31  Juergen Vigna  <jug@sad.it>
11075
11076         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11077         the font (wrong since using of Paragraph::highestFontInRange).
11078
11079         * paragraph.C (highestFontInRange): added a default_size parameter.
11080
11081         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11082         (setHeightOfRow): reformat
11083
11084 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11085
11086         * converter.[hC] + affected files: move to (inital-char)lowercase
11087         function names.
11088
11089         * ParagraphParameters.C (ParagraphParameters): remove commented code
11090
11091         * PainterBase.[Ch]: remove commented code
11092
11093         * LaTeXFeatures.h: add "bool floats" for float.sty
11094
11095         * LaTeXFeatures.C (LaTeXFeatures): init floats
11096         (require): handle float
11097         (getPackages): do it with floats
11098
11099 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11100
11101         * BufferView_pimpl.C (Dispatch): improve handling of
11102         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11103
11104         * commandtags.h: #include lyxfont.h here temporarily to avoid
11105         keybinding bug.
11106
11107         * bufferlist.h: include LString.h here.
11108
11109 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11110
11111         * text2.C (getStringToIndex): new method.
11112
11113 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11114
11115         * *: Reduced header file dependencies all over.
11116
11117 2001-07-30  Baruch Even  <baruch@lyx.org>
11118
11119         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11120
11121 2001-07-29  Baruch Even  <baruch@lyx.org>
11122
11123         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11124
11125 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * ParameterStruct.h (endif): add a default constructor to make
11128         sure that all variables is initialized.
11129
11130         * ParagraphParameters.C (ParagraphParameters): adjust
11131
11132 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11133
11134         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11135         index; also, check that there is something to index, and that it
11136         does not span over several paragraphs.
11137         (doubleClick): use WHOLE_WORD_STRICT for double click.
11138
11139         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11140
11141         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11142         scheme.
11143
11144 2001-07-26  Baruch Even  <baruch@lyx.org>
11145
11146         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11147         an InsetFig figure, backwards compatible reading of old figure code.
11148
11149 2001-07-27  Juergen Vigna  <jug@sad.it>
11150
11151         * text2.C: font.realize function adaption.
11152
11153         * text.C (draw): add a warnings lyxerr text if needed.
11154
11155         * layout.C: font.realize function adaption.
11156
11157         * language.C: add inherit_language and implement it's handlings
11158
11159         * bufferview_funcs.C (StyleReset): remove language parameter from
11160         font creation (should be language_inherit now).
11161
11162         * bufferparams.C (writeFile): handle ignore_language.
11163
11164         * paragraph.C (getFontSettings): the language has to be resolved
11165         otherwise we have problems in LyXFont!
11166
11167         * lyxfont.C (lyxWriteChanges): added document_language parameter
11168         (update): removed unneeded language parameter
11169
11170         * paragraph.C (validate): fixed wrong output of color-package when
11171         using interface colors for certain fonts in certain environments,
11172         which should not seen as that on the final output.
11173
11174 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * BufferView_pimpl.C:
11177         * Thesaurus.h:
11178         * Thesaurus.C:
11179         * Makefile.am:
11180         * commandtags.h:
11181         * LyXAction.C: add thesaurus support
11182
11183         * lyxfind.h:
11184         * lyxfind.C: add "once" parameter, for thesaurus, to not
11185           move to the next match
11186
11187 2001-07-26  Juergen Vigna  <jug@sad.it>
11188
11189         * lyxfont.C (realize): honor ignore_language too!
11190         (resolved): ditto.
11191
11192         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11193
11194         * text.C (draw): one place more for ignore_language to not draw
11195         itself!
11196
11197 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11198
11199         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11200
11201 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11202
11203         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11204         the minipage conversion problem.
11205
11206 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11207
11208         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11209         insert an inset.
11210
11211 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * BufferView.h: don't forward declare WorkArea
11214
11215         * BufferView.C: don't include WorkArea.h
11216
11217 2001-07-25  André Pönitz <poenitz@gmx.net>
11218
11219         * commandtags.h:
11220         * LyXAction.C:
11221         * lyxfunc.C:  new LFUN 'math-space'
11222
11223         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11224
11225 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11226
11227         * text2.C (toggleInset): call open/close
11228
11229 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * lyxfunc.C (dispatch): add debug for the disabled case
11232
11233         * font.C (buttonText): make similar to rectText
11234
11235         * buffer.C (readInset): comment out parsing of insetlist and
11236         insttheorem
11237
11238         * PainterBase.C (rectText): small correction
11239
11240         * BufferView_pimpl.C: comment out insettheorem and insetlist
11241         * LyXAction.C: ditto
11242         * commandtags.h: ditto
11243
11244 2001-07-24  Juergen Vigna  <jug@sad.it>
11245
11246         * text.C (draw): honor the ignore_language.
11247
11248         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11249
11250 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11251
11252         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11253         char inset.
11254
11255 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11256
11257         * lyxtext.h: remove unused (and unimplemented) methods
11258
11259 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11260
11261         * text.C (getVisibleRow): honor background color
11262
11263         * PainterBase.h:
11264         * Painter.h: remove default color argument for fillRectangle
11265
11266         * text.C (backgroundColor): new method
11267
11268 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11269
11270         * text.C (getVisibleRow): adjust
11271
11272         * font.[Ch] (rectText): new method, metrics
11273         (buttonText): new method, metrics
11274
11275         * PainterBase.[hC]: make rectText and buttonText always draw and take
11276         fewer paramteres.
11277
11278 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11279
11280         * ToolbarDefaults.C (read):
11281         * MenuBackend.C (read): allow escaping in all strings
11282
11283         * BufferView_pimpl.C (insertAndEditInset): new method.
11284         (Dispatch): use insertAndEditInset whenever appropriate.
11285
11286         * BufferView_pimpl.C (insertNote): removed
11287
11288         * BufferView_pimpl.C (smartQuote): new method, moved from
11289         BufferView; if an insetquote cannot be inserted, insert a '"'
11290         character instead.
11291
11292         * BufferView2.C: remove insertCorrectQuote();
11293
11294         * lyxfunc.C (getStatus): Add support for all remaingin
11295         inset-insert lfuns.
11296
11297         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11298
11299         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11300         command (necessary to pass " as parameter of self-insert.
11301
11302         * text.C (selectWordWhenUnderCursor):
11303         (selectWord): add word_location parameter
11304         (selectWordWhenUnderCursor): same + remove special code for word
11305         boundary.
11306         (selectNextWord): use kind() to guess type of insetspecialchar,
11307         not latex().
11308
11309         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11310         (insertErtContents): create ert insets as collapsed.
11311         (readInset): better compatibility code for Info inset.
11312
11313 2001-07-20  Juergen Vigna  <jug@sad.it>
11314
11315         * lyxfunc.C (dispatch): use always LyXFind now!
11316
11317         * text2.C (init): add a reinit flag so that the LyXText can be
11318         reinited instead of deleted and reallocated (used in InsetText).
11319
11320         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11321
11322         * text.C: ditto
11323
11324         * text2.C: ditto
11325
11326 2001-07-18  Juergen Vigna  <jug@sad.it>
11327
11328         * text.C (selectNextWord): handle insets inside inset by calling
11329         always the bv->text functions so that we can go up the_locking_inset!
11330
11331         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11332         in strange locations when inside an inset!
11333
11334         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11335         handling to include insets.
11336
11337         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11338
11339 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11340
11341         * LyXAction.C (init):
11342         * commandtags.h:
11343         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11344         LIGATURE_BREAK, since the name is so stupid.
11345
11346 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11347
11348         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11349         InsetInfos.
11350
11351         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11352
11353         * sp_form.[Ch]: remove.
11354
11355         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11356
11357         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11358         InsetInfo.
11359
11360         * src/buffer.C (readInset): ditto.
11361
11362 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11363
11364         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11365         menuSeparator(), endOfSentenceDot(), ldots() and
11366         hyphenationPoint(), which are therefore removed.
11367         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11368
11369         * LyXAction.C (init):
11370         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11371
11372         * paragraph.C (getWord): removed.
11373
11374         * BufferView_pimpl.C (Dispatch): use last word or selection for
11375         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11376
11377         * lyx_main.C (queryUserLyXDir): do not ask before creating
11378         user_dir, except if it has been named explicitely.
11379
11380 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11381
11382         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11383         a document of zero size.
11384
11385 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11386
11387         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11388         approriately in the c-tor and in require().
11389         (getPackages): output the appropriate LaTeX for natbib support.
11390
11391         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11392         variables "use_natbib" and "use_numerical_citations" when reading the
11393         LyX file.
11394         (readInset): read the various natbib cite commands.
11395         (validate): white-space change.
11396
11397         * bufferparams.[Ch]: new variables "bool use_natbib" and
11398         "bool use_numerical_citations".
11399         (writeFile): output them in the LyX file.
11400
11401 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11402
11403         * lyxfunc.C (getStatus): add support for all the inset insertion
11404         commands.
11405
11406         * text2.C (insertInset):
11407         * paragraph.C (insetAllowed):
11408         * BufferView_pimpl.C (insertInset): update to take in account the
11409         renaming of insertInsetAllowed
11410
11411         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11412
11413         * text2.C (getInset): new method. returns inset at cursor position.
11414
11415         * BufferView_pimpl.C (Dispatch): changes because of this.
11416
11417         * LyXAction.C (init): rename open-stuff to inset-toggle.
11418
11419         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11420
11421         * text2.C (toggleInset): renamed from openStuff; use
11422         Inset::open().
11423
11424 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11425
11426         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11427
11428         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11429
11430 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11431
11432         * buffer.C (readLyXformat2): Add filename to the error dialog
11433
11434 2001-07-18  Juergen Vigna  <jug@sad.it>
11435
11436         * tabular.C (GetCellNumber): put an assert here instead of the check!
11437
11438 2001-07-17  Juergen Vigna  <jug@sad.it>
11439
11440         * BufferView_pimpl.C (toggleSelection): adapted too.
11441
11442         * text.C (selectNextWord): adapted for use with insets.
11443         (selectSelectedWord): ditto
11444
11445 2001-07-17  Juergen Vigna  <jug@sad.it>
11446
11447         * sp_spell.C (PSpell): fix initialitation order.
11448
11449 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * paragraph.C: spacing
11452
11453 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11454
11455         * sp_spell.C: repair language selection for pspell
11456
11457 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * lyxfunc.h: change more methods to begin with lower char.
11460
11461 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11462
11463         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11464         for unknown layouts.
11465
11466 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11467
11468         * buffer.C (readLyXformat2): Generate an error dialog if there are
11469         unknown layouts.
11470
11471 2001-07-16  Juergen Vigna  <jug@sad.it>
11472
11473         * sp_spell.C: always compile ISpell part.
11474
11475         * lyxrc.C: added use_pspell entry and it's handling.
11476
11477 2001-07-13  Juergen Vigna  <jug@sad.it>
11478
11479         * sp_spell.C: removed double includes.
11480
11481 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11482
11483         Consistent use of Lsstream.h:
11484         * Lsstream.h: added using std::stringstream for consistencies sake.
11485
11486         * buffer.C: removed using std::stringstream
11487
11488         * lyxfont.C (stateText):
11489         * paragraph.C (asString):
11490         * text.C (selectNextWord, selectSelectedWord):
11491         * text2.C (setCounter):
11492         * vspace.C (asString, asLatexString):
11493         std::ostringstream -> ostringstream.
11494
11495 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11496
11497         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11498         * commandtags.h: add LFUN_HELP_ABOUTLYX
11499         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11500
11501 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11502
11503         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11504         cursorToggle()
11505         * lyx_gui_misc.C: remove spellchecker
11506         * lyxfunc.C: showSpellchecker
11507         * sp_base.h: added
11508         * sp_ispell.h: added
11509         * sp_pspell.h: added
11510         * sp_spell.C: added
11511         * sp_form.[Ch]: removed
11512         * spellchecker.[Ch]: removed
11513
11514 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11515
11516         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11517         is set.
11518         (simpleTeXSpecialChars): Simply print the input character without
11519         any special translation if pass_thru is set.
11520
11521         * layout.h: Added bool pass_thru to layout class for being able to
11522         implement pass through of a paragraph for Literate Programming.
11523
11524         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11525         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11526         * layout.C (Read): add "passthru" to list of layout tags and add
11527         code to set the pass_thru boolean when it is read.
11528
11529 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11530
11531         * trans_decl.h: remove allowed from KmodInfo
11532
11533         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11534         remove allowed code
11535         (Load): adjust
11536
11537         * paragraph_pimpl.C (erase): use boost::prior
11538
11539         * Painter.C (text): use data() instead of c_str() when length is
11540         also provided.
11541         * WorkArea.C (putClipboard): ditto
11542         * font.h (width): ditto
11543
11544         * BufferView2.C: use it-> instead of (*it). for iterators
11545         * texrow.C: ditto
11546         * paragraph_pimpl.C: ditto
11547         * paragraph.C: ditto
11548         * minibuffer.C: ditto
11549         * language.C: ditto
11550         * kbmap.C: ditto
11551         * encoding.C: ditto
11552         * counters.C: ditto
11553         * converter.C: ditto
11554         * chset.C: ditto
11555         * Variables.C: ditto
11556         * TextCache.C: ditto
11557         * MenuBackend.C: ditto
11558         * LyXAction.C: ditto
11559         * LColor.C: ditto
11560         * FloatList.C: ditto
11561         * DepTable.C: ditto
11562         * ColorHandler.C (LyXColorHandler): ditto
11563
11564 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11565
11566         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11567
11568         * text2.C (openStuff): reintroduce this method (which had been
11569         nuked in NEW_INSETS frenzy).
11570
11571         * lyxfunc.C (Dispatch): when an action has not been handled, use
11572         its name in the error message, not its number.
11573
11574         * paragraph.C (inInset): change method name to begin with lowercase.
11575
11576         * undo_funcs.C:
11577         * text2.C: updates because of this.
11578
11579 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11580
11581         * ToolbarDefaults.C (add): add spaces in error message
11582
11583 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11584
11585         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11586         (readLyXformat2): rename return_par to first_par, use lyxlex's
11587         pushToken and remove the manual push handling.
11588         (parseSingleLyXformat2Token): add another ert comp. variable:
11589         in_tabular, rename return_par to first_par. handle newlines better
11590
11591 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11592
11593         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11594
11595 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * text2.C (getParFromID): removed
11598
11599         * buffer.C (getParFromID): new method moved form lyxtext.
11600         * BufferView2.C (insertErrors): adjust
11601         (setCursorFromRow): adjust
11602         * BufferView_pimpl.C (restorePosition): adjust
11603         * lyxfunc.C (Dispatch): adjust
11604         * undo_funcs.C (textUndo): adjust
11605         (textRedo): adjust
11606         (textHandleUndo): adjust
11607         (textHandleUndo): adjust
11608
11609 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * buffer.C: up' the LYX_FORMAT
11612
11613         * lyxfont.h: turn NO_LATEX on as default
11614
11615         * buffer.C (insertErtContents): new methods of tex style compability.
11616         (parseSingleLyXformat2Token): use it several places.
11617         * tabular.C (OldFormatRead): and here
11618
11619 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * text2.C: remove some commented code.
11622         reindent file.
11623
11624         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11625         * trans.C: changes because of the above.
11626
11627 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11628
11629         * text2.C (setCounter): Fix counters bug with bibliography layout.
11630
11631 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11634         own member functions
11635         (simpleTeXSpecialChars): ditto
11636
11637 2001-07-06  Juergen Vigna  <jug@sad.it>
11638
11639         * a lot of files: changed the access to LyXText::status and the
11640         call of undo-functions.
11641
11642         * undo.[Ch]: added a inset_id to the undo informations.
11643
11644         * undo_funcs.[Ch]: added and moved here all undo functions.
11645
11646         * lyxtext.h: give the status enum a weight, made status_ a private
11647         variable and made accessor functions for it, removed the whole bunch
11648         of undo-functions as they are now in their own file, make some
11649         functions publically available. Added function ownerParagraph with
11650         int parameter.
11651
11652         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11653         made InInset() a const function, added getParFromID() function.
11654
11655         * buffer.[Ch]: added const version for inset_iterator functions,
11656         added getInsetFromID() function.
11657
11658         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11659         changed undo functions for new version.
11660
11661 2001-07-05  Juergen Vigna  <jug@sad.it>
11662
11663         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11664         unknow mechanism does not call the proper constructor but only this
11665         one also if I request the other!?
11666
11667 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11670
11671         * text2.C (LyXText): use initialization lists.
11672
11673         * lyxtext.h (Selection): initialize set_ and mark_
11674         (init): remove method
11675
11676 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11677
11678         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11679
11680 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11681
11682         * screen.[Ch]: change method names to begin with lowercase
11683
11684         * BufferView_pimpl.C (updateScrollbar): simplify further and
11685         hopefully make it a bit faster.
11686
11687 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11688
11689         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11690         calling directly xforms functions.
11691
11692         * Painter.C (Painter):
11693         * lyx_cb.C (MenuWrite):
11694         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11695         fl_display.
11696
11697         * lyx_gui.C: remove bogus guiruntime extern declaration.
11698
11699 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11702         in NEW_INSETS
11703         (redoDrawingOfParagraph): ditto
11704         (redoParagraphs): ditto
11705         (cutSelection): don't create a object for CutAndPaste use the
11706         static method directly
11707         (pasteSelection): ditto
11708
11709         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11710         LyXview (+ rename)
11711
11712 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * modifications to some other files because of this.
11715
11716         * Makefile.am (lyx_SOURCES): add XFormsView
11717
11718         * XFormsView.[Ch]: new files
11719
11720         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11721         the main window. Move the gui dependent stuff to XFormsView
11722
11723 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11724
11725         * tabular.C (GetCellInset): update cur_cell also in the row/col
11726         version of this function.
11727
11728         * lyxfunc.C: no need to include figure_form.h here.
11729
11730         * FontLoader.h:
11731         * lyxfunc.h:
11732         * lyxscreen.h:
11733         * text2.C:
11734         * lyxvc.C: no need to include forms.h here.
11735
11736 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11737
11738         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11739
11740         * lyxfunc.C (Dispatch):
11741         * Spacing.C (set):
11742         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11743         constructor argument.
11744
11745 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * paragraph.C (Paragraph): dont't clear, and just set layout.
11748         (makeSameLayout): use params's copy contructor.
11749
11750         * ParagraphParameters.[Ch] (makeSame): delete method
11751
11752 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * Variables.[Ch]: fix indentation, rename set to isSet
11755
11756 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11757
11758         * lyxfunc.C (Dispatch): fix typo
11759
11760 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11761
11762         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11763         upper_bound.
11764
11765         * bufferlist.C: include assert.h for emergencyWrite().
11766
11767 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11770           give up at last (bug #425202) !
11771
11772 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * lyx_gui_misc.C:
11775         * sp_form.h:
11776         * sp_form.C:
11777         * spellchecker.h:
11778         * spellchecker.C: strip spellchecker options and bring up
11779           preferences tab instead
11780
11781 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11782
11783         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11784         the istringstream constructor
11785
11786 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11787
11788         * paragraph.C (getLayout): fix return value
11789
11790         * paragraph.h: do not declare getLayout as inline.
11791
11792         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11793
11794 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * lyxcursor.h (operator<): new func
11797         (operator>): new func
11798         (operator>=): new func
11799         (operator<=): new func
11800
11801         * text.C (changeCase): use selection.start and selection.end
11802         (changeRegionCase): require from to be <= to. Require par to be a
11803         valid paragraph.
11804
11805         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11806
11807 2001-06-27  Juergen Vigna  <jug@sad.it>
11808
11809         * text.C (cursorLeftOneWord): changed to return the cursor and added
11810         overlay with BufferView * parameter which calls this one.
11811         (getWord): added
11812         (selectWord): use new getWord function.
11813         (changeCase): renamed from changeWordCase as and extended to work
11814         also on selections.
11815
11816         * lyxtext.h: added enum word_location
11817
11818         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11819         changeCase as this operates now also on selections.
11820
11821 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11822
11823         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11824
11825         * many files: send debug output to Debug::INFO instead of
11826         Debug::ANY.
11827
11828         * converter.C (View):
11829         (Convert):
11830         (Move): send debug output to Debug::FILES instead of console.
11831
11832 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11833
11834         * lyxfunc.C (getStatus): use func_status
11835
11836         * func_status.h: new header, describing the results of
11837         LyXFunc::getStatus;
11838
11839         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11840         LFUN_MATH_HALIGN.
11841
11842 2001-06-25  The LyX Project  <jug@sad.it>
11843
11844         * buffer.C (sgmlOpenTag):
11845         (sgmlCloseTag):
11846         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11847
11848 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11849
11850         * text2.C: remove some dead code
11851
11852         * tabular.C (GetCellInset): store the last cell checked (gotten)
11853
11854         * tabular.h: add the helper for the speedup
11855
11856         * lyxtext.h: remove some dead code
11857
11858 2001-06-26  The LyX Project  <Asger>
11859
11860         * paragraph.C: Change export to LaTeX of alignment to
11861         \begin{center} and family for better roundtrip work with reLyX.
11862
11863         * Tune the math drawing a bit.
11864
11865 2001-06-25  The LyX Project  <Asger>
11866
11867         * LColor.C (LColor): New color for math background. New color
11868         for buttons.
11869
11870 2001-06-25  The LyX Project  <jug@sad.it>
11871
11872         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11873
11874         * lyxfunc.C (Open):
11875         * bufferlist.C (newFile): do not restrict to files ending with
11876         .lyx
11877
11878         * BufferView_pimpl.C (MenuInsertLyXFile):
11879
11880 2001-06-24  The LyX Project  <jug@sad.it>
11881
11882         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11883         of compare_no_case
11884
11885 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11886
11887         * lyxtext.h: rename most methods to begin with a small char.
11888         Lots of changes because of this.
11889
11890         * paragraph.C (Paragraph): do not call fitToSize
11891         (erase): call Pimpl::erase
11892         (insertChar): call Pimpl::insertChar
11893         (insertInset): call Pipl::insertInset
11894         (breakParagraph): do not call fitToSize
11895         (breakParagraphConservative): do not call fitToSize
11896         (fitToSize): remove method
11897
11898         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11899
11900 2001-06-24  The LyX Project  <Asger>
11901
11902         * Fix Qt compilation^2
11903
11904 2001-06-24  The LyX Project  <jug@sad.it>
11905
11906         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11907         depthHook(getDepth()-1).
11908
11909         * paragraph.h:
11910         * ParagraphParameters.h:
11911         * ParameterStruct.h: change type of depth to unsigned int ==
11912         depth_type. Many adaptations to other files before of that.
11913
11914 2001-06-24  The LyX Project  <Asger>
11915
11916         * Fix Qt compilation.
11917
11918 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * paragraph.h: renamed several methods to begin with small letter.
11921         several changes to many parts of the code because of this.
11922
11923 2001-06-23  The LyX Project  <jug@sad.it>
11924
11925         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11926         rewritten to discard all double spaces when KeepEmpty is off
11927         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11928         to only handle newlines but not fiddle with spaces and friends.
11929
11930         * lyxfunc.C (MenuNew): when doing 'new from template', use
11931         template_path as default directory
11932
11933 2001-06-23  The LyX Project  <Asger>
11934
11935         * Clean-up of header file includes all over
11936         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11937
11938 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11939
11940         * paragraph.h: renamed from lyxparagraph.h
11941
11942 2001-06-23  Asger  <lyx@violet.home.sad.it>
11943
11944         * Buffer.h: Removed Buffer::resize
11945         * BufferList.h: Removed BufferList::resize
11946         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11947         the document lazily when we change the width, or the font settings.
11948
11949 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11950
11951         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11952
11953 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * buffer.h: remove out of date comment
11956
11957 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * lyxscreen.h:
11960         * screen.C: fix "theoretical" GC leak
11961
11962 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11963
11964         * LaTeX.C (scanAuxFile):
11965         (deplog): remove trailing \r when reading stream (useful under
11966         win32)
11967
11968 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11969
11970         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11971         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11972         and BufferView::theLockingInset(Inset*), so should use them and not
11973         access bv_->text->the_locking_inset directly.
11974
11975         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11976
11977 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * Makefile.am:
11980         * tex-defs.h: remove old unused file
11981
11982 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * BufferView_pimpl.C: fix typo, remove minibuffer message
11985           when buffer has loaded
11986
11987 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11988
11989         * lyxfunc.C (Dispatch): use stringstream
11990         (MenuNew): use stringstream
11991         (Open): use stringstream
11992
11993         * importer.C (Import): use stringstream
11994
11995         * bufferview_funcs.C (CurrentState): use stringstream
11996
11997         * LaTeX.C (run): use stringstream
11998
11999         * BufferView_pimpl.C (savePosition): use stringstream
12000         (restorePosition): use stringstream
12001         (MenuInsertLyXFile): use stringstream
12002
12003 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12004
12005         * BufferView.C:
12006         * Bullet.C:
12007         * ColorHandler.C:
12008         * FontInfo.C:
12009         * FontLoader.C:
12010         * LColor.C:
12011         * LaTeXFeatures.C:
12012         * Painter.C:
12013         * gettext.C:
12014         * lyx_gui_misc.C:
12015         * lyxserver.C:
12016         * vspace.C: removed // -*- C++ -*- as first line.
12017
12018         * lyxfind.h:
12019         * version.h: added // -*- C++ -*- as first line.
12020
12021 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12022
12023         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12024
12025         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12026         of string
12027
12028 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12031         of floats.
12032
12033 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12034
12035         * gettext.C: include LString.h even when --disable-nls is on.
12036
12037 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12038
12039         * converter.h (Get): changed argument type from int to
12040         FormatList::size_type to avoid unnecessary conversion.
12041
12042         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12043         before using it.
12044
12045 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12046
12047         * gettext.h: include LString.h even when --disable-nls is on.
12048
12049 2001-06-07  Juergen Vigna  <jug@sad.it>
12050
12051         * text.C (BreakAgain): subst spaces with tabs.
12052
12053         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12054         (resizeInsetsLyXText): set force on resizeLyXText.
12055
12056 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12057
12058         * gettext.h (gettext_init):
12059         (locale_init): use a real definition instead of a macro
12060
12061 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * Bufferview_pimpl.C:
12064         * LColor.h:
12065         * LColor.C: further lcolor tidies
12066
12067 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * BufferView_pimpl.C (updateScrollbar): simplify.
12070
12071         * BufferView2.C: don't include insets/insetinfo.h, change
12072         prototype for insertInset and call the Pimpl version. let
12073         updateInset call Pimpl version.
12074
12075         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12076         gotoInset to BufferView::Pimpl
12077
12078 2001-06-01  Juergen Vigna  <jug@sad.it>
12079
12080         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12081         inside a LockingInset (is the update needed at all?).
12082
12083 2001-05-31  Juergen Vigna  <jug@sad.it>
12084
12085         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12086         here not the old one otherwise how should we compare it afterwards
12087         if it's the same!
12088
12089 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12090
12091         * lyxfont.C:
12092         * tabular.C:
12093         * tabular-old.C:
12094         * FontInfo.C: bring C functions into global namespace when
12095         necessary
12096
12097 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12098
12099         * LString.h: make sure config.h has been loaded before LString.h.
12100
12101         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12102         (one for each char read by EatLine!).
12103
12104         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12105         variables.
12106
12107 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12110         to the same as the par we break from
12111
12112 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12113
12114         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12115
12116         * MenuBackend.C (expand): also create menu entries for wide
12117         versions of the floats.
12118
12119         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12120
12121         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12122
12123         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12124         frontends/Makefile.am
12125
12126         * text2.C: adjust
12127         * text.C: adjust
12128
12129
12130         * tabular.C (getTokenValue): add std::
12131
12132         * tabular-old.C (getTokenValue): add std::
12133         (getTokenValue): ditto
12134         (getTokenValue): ditto
12135
12136         * screen.C (ToggleSelection): adjust
12137
12138         * lyxtext.h: put selection cursors inside a Selection struct.
12139
12140         * lyxfunc.C (moveCursorUpdate): adjust
12141
12142         * lyxfont.C (latexWriteStartChanges): add std::
12143
12144         * lyxfind.C: adjust
12145
12146         * font.h: delete with(char const *, LyXFont const &)
12147
12148         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12149
12150         * FontInfo.C (getFontname): add std::
12151
12152         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12153         (workAreaButtonPress): adjust
12154         (tripleClick): adjust
12155         (update): adjust
12156         (moveCursorUpdate): adjust
12157         (Dispatch): adjust
12158
12159         * BufferView2.C (gotoInset): adjust
12160
12161 2001-05-30  Juergen Vigna  <jug@sad.it>
12162
12163         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12164         to check pspell I add this as default as I now have new pspell
12165         libraries and they seem to use this.
12166
12167 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * text2.C (CutSelection): make the cursor valid before the call to
12170         ClearSelection.
12171
12172 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12173
12174         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12175         relied on 0 terminated strings and other horrors. Bug found due to
12176         the new assert in lyxstring!
12177
12178         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12179         KP_ keys.
12180
12181 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12182
12183         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12184         to latinkeys.bind.
12185
12186         * lyxfunc.C (processKeySym): change method of getting to the
12187         self-insert char.
12188
12189         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12190         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12191         * BufferView_pimpl.[Ch]: here as private methods.
12192
12193 2001-05-28  Juergen Vigna  <jug@sad.it>
12194
12195         * text.C (SetHeightOfRow): added the update() call again as it is
12196         needed to initialize inset dimensions!
12197
12198 2001-05-16  Juergen Vigna  <jug@sad.it>
12199
12200         * text2.C (SetCharFont): Add new function with BufferView * and
12201         bool toggleall parameters for setting insets internal fonts.
12202         (SetFont): Freeze the undo as we may change fonts in Insets and
12203         all this change should be inside only one Undo!
12204
12205         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12206         setting font's in insets as for them we have the SetFont function!
12207
12208 2001-05-15  Juergen Vigna  <jug@sad.it>
12209
12210         * text2.C (ClearSelection): to be sure we REALLY don't have any
12211         selection anymore!
12212
12213         * tabular.C (TeXCellPreamble): fixed the left border problem for
12214         multicolumn cells.
12215
12216 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12217
12218         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12219         dependancy file
12220
12221 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12222
12223         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12224         LFUN_BREAKPARAGRAPH.
12225
12226         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12227         help test to "internal only", similar for LFUN_INSERT_URL
12228
12229         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12230         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12231         auto_region_delete and deadkeys.
12232
12233 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * LColor.h:
12236         * LColor.C: remove some dead entries, tidy a little
12237
12238 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12239
12240         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12241         commented code.
12242         (Dispatch): implement LFUN_ESCAPE
12243
12244         * commandtags.h: add LFUN_ESCAPE
12245
12246         * LyXAction.C (init): add entry for LFUN_ESCAPE
12247
12248         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12249         Remove commented code.
12250         (insertNote): moved here
12251         (open_new_inset): moved here
12252
12253         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12254         BufferView_pimpl
12255
12256 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12257
12258         * kbmap.C (findbinding): clean it up and make it work correctly.
12259
12260         * lyx_main.C (init): do not pass argc and argv as parameters
12261
12262 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12263
12264         * buffer.C: fix path for OS/2 & Win32
12265
12266         * lyx_gui.C:
12267         * lyx_main:
12268         * lyx_main.C: Added os:: class.
12269
12270         * os2_defines.h: update
12271
12272 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12273
12274         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12275         better by trying again with reduced state.
12276
12277 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12278
12279         * lyxrc.C (read): print error about invalid key sequence only when
12280         debugging (because not all latinX keysyms are known to some X
12281         servers)
12282
12283         * kbsequence.C (getiso): add a few std:: qualifiers
12284         (getiso): comment out extra return statement.
12285
12286 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12289         handling.
12290         (Dispatch): enhance the accent inset a bit. (not perfect)
12291
12292 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12295
12296 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12297
12298         * bufferlist.C (emergencyWrite): fix assert() call
12299
12300 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12301
12302         * text.C (InsertChar): Added trivial patch to only send the "you
12303         can not do multiple spaces this way" message once during a
12304         session.
12305
12306 2001-05-08  Baruch Even  <baruch@lyx.org>
12307
12308         * Makefile.am: Changed order of libraries to get LyX to link properly
12309         with the gnome frontend.
12310
12311 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12312
12313         * LaTeXFeatures.h: add a std:: qualifier
12314
12315 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * paragraph.C (String): use stringstream
12318
12319 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * paragraph.C (writeFile): remove footflag arg
12322
12323         * buffer.C (makeLaTeXFile): use stringstream
12324         (latexParagraphs): remove footnot gurba
12325
12326         * LaTeXFeatures.C (getPackages): use stringstream
12327         (getMacros): likewise
12328         (getTClassPreamble): likewise
12329         (getFloatDefinitions): new method
12330
12331         * paragraph.C (writeFile): reindent
12332         (Erase): reindent
12333
12334         * WorkArea.h: revert the xpos + etc changes.
12335
12336         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12337
12338         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12339
12340         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12341         (pasteSelection): likewise
12342         * text2.C (CreateUndo): likewise
12343
12344 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12345
12346         * minibuffer.C (peek_event): temporarily reduce the functionality
12347         of the minibuffer (to allow args on lfuns)
12348
12349         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12350         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12351
12352         * buffer.C (readInset): add compability reading of old float
12353         lists, add reading of new style float list.
12354         (readInset): avoid reevaluation of inscmd.getCmdName()
12355         (getLists): reindent
12356
12357         * MenuBackend.C (MenuItem): implement parsing of
12358         md_floatlistinsert and md_floatinsert.
12359         (expand::LastFiles): move initalizaton of iterators out of loop,
12360         avoid reevaluation.
12361         (expand::Documents): introduce typdedef vector<string> Strings,
12362         and use it.
12363         (expand::ExportFormats): introduce typedef vector<Format const *>
12364         Formats, and use it.
12365         (expand): implement FloatListInsert and FloatInsert.
12366
12367         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12368         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12369         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12370
12371         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12372         handling.
12373         (Dispatch::LFUN_FLOAT_LIST): implement
12374
12375 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12376
12377         * LaTeX.C (run): Fix problem with --export code.
12378
12379 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12380
12381         * BufferView.[Ch] (workarea): removed.
12382         (getClipboard) new method; wrapper for workarea()->getClipboard()
12383
12384         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12385         bug.
12386
12387         * WorkArea.h (width, height, xpos, ypos): These methods all
12388         returned the dimensions of the work_area sub-area of WorkArea,
12389         resulting in a position error if the WorkArea were resized. Now
12390         return the dimensions of the entire WorkArea.
12391
12392         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12393
12394 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12395
12396         * LaTeX.C (deplog): correct the syntax of regex reg1
12397
12398 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12399
12400         * undo.C: remove !NEW_INSETS cruft
12401
12402 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * text2.C: remove !NEW_INSETS cruft
12405
12406         * text.C: remove !NEW_INSETS cruft
12407
12408         * tabular.C: remove !NEW_INSETS cruft
12409
12410         * spellchecker.C: remove !NEW_INSETS cruft
12411
12412         * lyxtext.h: remove !NEW_INSETS cruft
12413
12414         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12415
12416         * lyxfunc.C: remove !NEW_INSETS cruft
12417
12418         * lyxfind.C: remove !NEW_INSETS cruft
12419
12420         * lyx_cb.C: remove !NEW_INSETS cruft
12421
12422         * figureForm.C: remove  !NEW_INSETS cruft
12423
12424         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12425
12426         * buffer.[Ch]: remove !NEW_INSETS cruft
12427
12428         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12429
12430         * CutAndPaste.C: remove !NEW_INSETS cruft
12431
12432         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12433
12434         * BufferView2.C: remove !NEW_INSETS cruft
12435
12436         * BufferView.h: remove !NEW_INSETS cruft
12437
12438 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12439
12440         * Lsstream.h: include LString.h before the sstream headers to
12441         fix problem with gcc 2.95.3 and lyxstring
12442
12443 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12444
12445         * lyx_main.C: add using directives when needed for C functions
12446         declared in std:: namespace.
12447
12448 2001-04-27  Juergen Vigna  <jug@sad.it>
12449
12450         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12451         (SetHeightOfRow): comment out the update call should not be needed!
12452
12453 2001-04-13  Juergen Vigna  <jug@sad.it>
12454
12455         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12456         (LyXTabular): tried to minimize operator= operations (and realized
12457         hopfully Lars wish).
12458
12459 2001-04-27  Juergen Vigna  <jug@sad.it>
12460
12461         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12462
12463 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12466
12467         * buffer.C (readInset): hack to make listof algorithm work
12468
12469         * BufferView_pimpl.C: hack to make listof algorithm work
12470
12471 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12472
12473         * LyXAction.C: removed all !NEW_INSETS cruft
12474         (init): moved lfun_item in method
12475
12476         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12477
12478 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12479
12480         * BufferView2.C (theLockingInset): white space.
12481
12482 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12483
12484         * minibuffer.C: include <iostream>
12485
12486         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12487
12488         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12489
12490         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12491
12492         * text.[Ch] (TransposeChars): new method
12493
12494 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12495
12496         * call message directly through LyXView instead of through LyXFunc
12497         * BufferView2.C: adjust
12498         * BufferView_pimpl.C: adjust
12499         * FontLoader.C: adjust
12500         * buffer.C: adjust
12501         * bufferview_funcs.C: adjust
12502         * converter.C: adjust
12503         * figureForm.C: adjust
12504         * importer.C: adjust
12505         * lyx_cb.C: adjust
12506         * lyx_gui_misc.C: adjust
12507         * lyxfunc.C: adjust
12508         * lyxvc.C: adjust
12509         * text2.C: adjust
12510         + more files in subdirs
12511
12512         * lyxparagraph.h (size): move up int file
12513         (GetLayout): ditto
12514
12515         * adjust all uses of Assert to lyx::Assert.
12516
12517         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12518         lyxfunctional in namespace lyx
12519         * layout.C (hasLayout): ditto
12520         (GetLayout): ditto
12521         (GetLayout): ditto
12522         (delete_layout): ditto
12523         (NumberOfClass): ditto
12524         * converter.C (GetFormat): ditto
12525         (GetNumber): ditto
12526         (Add): ditto
12527         (Delete): ditto
12528         (SetViewer): ditto
12529         * bufferlist.C (getFileNames): ditto
12530         (emergencyWriteAll): ditto
12531         (exists): ditto
12532         (getBuffer): ditto
12533         * MenuBackend.C (hasSubmenu): ditto
12534         (hasMenu): ditto
12535         (getMenu): ditto
12536         * BufferView_pimpl.C (getInsetByCode): ditto
12537
12538 2001-04-18  Juergen Vigna  <jug@sad.it>
12539
12540         * vspace.C (asLatexString): fixed the 100% problem.
12541
12542 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * lyxfunc.C (Dispatch):
12545         * minibuffer.C:
12546         * minibuffer.h: add a few std:: qualifiers
12547
12548 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * minibuffer.[Ch]: reimplement so that commands is initiated and
12551         run from lyxfunc, simplified som handling, and made the completion
12552         and history code for complete. wip.
12553
12554         * lyxfunc.C (processKeySym): call message
12555         (miniDispatch): new temporary method
12556         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12557         (LFUN_MESSAGE): implement
12558         (LFUN_MESSAGE_PUSH): implement
12559         (LFUN_MESSAGE_POP): implement
12560         (initMiniBuffer): the initial/defualt minibuffer message.
12561
12562         * lyxfont.[Ch]: inline some more getters
12563
12564         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12565
12566         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12567
12568         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12569         (AutoSave): use LFUN_MESSAGE
12570         (Reconfigure): ditto
12571
12572         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12573
12574         * figureForm.C: use LFUN_MESSAGE
12575
12576         * converter.C (runLaTeX): use LFUN_MESSAGE
12577
12578         * bufferview_funcs.C: use LFUN_MESSAGE
12579         (Melt): ditto
12580         (changeDepth): ditto
12581
12582         * bufferparams.h: use boost::
12583
12584         * bufferlist.h: inherit privately from noncopyable
12585
12586         * bufferlist.C (loadLyXFile): remove some commented code.
12587
12588         * buffer.C (runChktex): use LFUN_MESSAGE
12589
12590         * ShareContainer.h: inherit privately from noncopyable
12591
12592         * ParagraphParameters.[hC] (depth): inline it.
12593
12594         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12595         methods.
12596         (message): new method
12597         (messagePush): ditto
12598         (messagePop): ditto
12599         (show): init minibuffer
12600         (showState): direct call
12601
12602         * LaTeX.[Ch]: inherit privately from noncopyable
12603         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12604         instead of WriteStatus.
12605
12606         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12607
12608         * BufferView_pimpl.C (buffer): don't init minibuffer
12609         (workAreaButtonPress): use LFUN_MESSAGE
12610         (workAreaButtonRelease): ditto
12611         (savePosition): ditto
12612         (restorePosition): ditto
12613         (MenuInsertLyXFile): ditto
12614         (workAreaExpose): don't init minibuffer
12615         (update): remove commented code, simplify
12616
12617         * BufferView2.C (openStuff): use LFUN_MESSAGE
12618         (toggleFloat): ditto
12619         (menuUndo): ditto
12620         (menuRedo): ditto
12621         (copyEnvironment): ditto
12622         (pasteEnvironment): ditto
12623         (copy): ditto
12624         (cut): ditto
12625         (paste): ditto
12626         (gotoInset): ditto
12627         (updateInset): remove some commented code
12628
12629         * lastfiles.h: inherit privately from noncopyable
12630         * layout.h: ditto
12631         * lyx_gui.h: ditto
12632         * lyx_main.h: ditto
12633         * lyxlex.h: ditto
12634         * lyxlex_pimpl.h: ditto
12635
12636         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12637         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12638         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12639
12640         * LyXAction.h: inherit privately from noncopyable, add methods
12641         func_begin, func_end, returning iterators to the func map.
12642
12643         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12644         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12645         (func_begin): new method
12646         (func_end): new method
12647
12648         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12649         and not)
12650         (copySelection): ditto
12651         (pasteSelection): ditto
12652
12653         * BufferView.C: whitespace change
12654         * BufferView.h: inherit privately from noncopyable
12655
12656 2001-04-16  Allan Rae  <rae@lyx.org>
12657
12658         * tabular-old.C (l_getline):
12659         * spellchecker.C (sc_check_word):
12660         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12661         an unrecognised preprocessor directive.  So ensure they're wrapped.
12662
12663 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12664
12665         * src/exporter.C (Export): Give an error message when path to file
12666         contains spaces.
12667
12668 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12669
12670         * LaTeX.C (deplog): Always check that foundfile exists.
12671
12672 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12673
12674         * lyx_main.h:
12675         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12676
12677 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * tabular.[Ch] (getLabelList): implement new method
12680
12681         * minibuffer.h: comment ouf setTiimer
12682
12683         * minibuffer.C (ExecutingCB): constify res
12684         (peek_event): constify s
12685         (Set): constify ntext
12686         (Init): constify nicename
12687
12688         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12689
12690         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12691         (savePosition): use two params to Minibuffer::Set
12692         (restorePosition): ditto
12693
12694 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12695
12696         * lyx_main.C: include language.h
12697
12698         * Makefile.am (lyx_main.o): add language.h
12699
12700 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12701
12702         * exporter.C:
12703         * paragraph.C:
12704         * screen.C:
12705         * tabular.C:
12706         * CutAndPaste.C: include gettext.h
12707
12708         * lyxfont.h: remove old hack with ON and OFF.
12709
12710         * lyxparagraph.h:
12711         * lyxfont.h: do not include language.h...
12712
12713         * BufferView2.C:
12714         * LaTeXFeatures.C:
12715         * Painter.C:
12716         * bufferview_funcs.C:
12717         * font.C:
12718         * lyxfont.C:
12719         * text.C:
12720         * text2.C:
12721         * trans_mgr.C:
12722         * paragraph.C: ... but do it here instead
12723
12724 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12725
12726         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12727
12728         * tabular.C: small reformat
12729
12730         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12731         NEW_INSETS version
12732         (GetChar): ditto
12733         (BreakParagraph): ditto
12734         (SetOnlyLayout): ditto
12735         (SetLayout): ditto
12736
12737         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12738         with one arg less.
12739
12740         * lastfiles.C: removed most using decl, add std:: where needed
12741
12742         * buffer.C: ws changes
12743
12744         * MenuBackend.C (class compare_format): put into anon namespace
12745         (expand): constify label, names, action, action2
12746         (expand):
12747
12748         * text.C (SingleWidth): constify font
12749         (IsBoundary): constify rtl2
12750         (GetVisibleRow): constify ww
12751
12752         * LaTeX.C (deplog): constify logfile
12753
12754         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12755         start_x, end_x
12756         (workAreaExpose): constify widthChange, heightChange
12757
12758         * lyxrow.C (par): moved
12759         (height): moved
12760         (next): moved
12761         * lyxrow.h: as inlines here
12762
12763         * lyxfont.h (shape): moved from lyxfont.C
12764         (emph): moved from lyxfont.C
12765
12766         * lyxfont.C (LyXFont): use initialization list for all
12767         constructors
12768         (shape): move to lyxfont.h as inline
12769         (emph): move to lyxfont.h as inline
12770
12771
12772 2001-04-04  Juergen Vigna  <jug@sad.it>
12773
12774         * vspace.C: had to include stdio.h for use of sscanf
12775
12776 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12777
12778         * BufferView.h:
12779         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12780         independent of xforms.
12781
12782 2001-04-02  Juergen Vigna  <jug@sad.it>
12783
12784         * spellchecker.C: fixed namespace placing!
12785
12786 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12787
12788         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12789         the LyXParagraph * is 0.
12790
12791 2001-03-29  Juergen Vigna  <jug@sad.it>
12792
12793         * vspace.C: added support for %, c%, p%, l%.
12794         (stringFromUnit): added helper function.
12795         (asLatexString): changed to give right results for the %-values.
12796
12797         * buffer.C: convert the widthp in a width%.
12798
12799 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12800
12801         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12802         figureForm.[Ch].
12803
12804         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12805         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12806
12807         * lyx_cb.[Ch]: see above.
12808
12809         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12810         form1.[Ch].
12811
12812         * form1.[Ch]:
12813         * lyx.[Ch]: replaced by figure_form.[Ch].
12814
12815         * lyx_gui.C:
12816         * lyx_gui_misc.C:
12817         * lyxfunc.C: changed headers associated with above changes.
12818
12819 2001-03-27  Juergen Vigna  <jug@sad.it>
12820
12821         * BufferView_pimpl.C: set the temporary cursor right!
12822
12823 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12824
12825         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12826
12827 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12828
12829         * LString.h: removed "using std::getline"!
12830
12831         * BufferView_pimpl.C (Dispatch): changes due to changes in
12832         InsetInclude::Params.
12833
12834         * buffer.C (tag_name): removed redundant break statements as they were
12835         producing lots of warnings with my compiler.
12836
12837 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838
12839         * LString.h: add "using std::getline" when using the real <string>.
12840
12841 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12842
12843         * buffer.C: removed bitset usage.
12844         PAR_TAG moved to an anonymous name space.
12845         (tag_name): new funtion, also in the anonymous namespace.
12846         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12847         (makeDocBookFile): clean code. Completed transition from string arrays
12848         to string vectors.
12849         (SimpleDocBookOnePar): code clean.
12850
12851 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12852
12853         * tabular.C: add some comments.
12854
12855 2001-03-22  Juergen Vigna  <jug@sad.it>
12856
12857         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12858         compatibility read a bit and fixed bug with minipage in different
12859         depth.
12860
12861 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12862
12863         * buffer.C (pop_tag): removed.
12864         (push_tag): removed.
12865         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12866         array replaced with vector. Added support for CDATA sections.
12867         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12868         at any nest level.
12869         (makeDocBookFile): XML conformant declaration of CDATA section,
12870         fixed bug related to <emphasis> in the first paragraph char.
12871         (sgmlOpenTag): exclude empty tags.
12872         (sgmlCloseTag): ditto.
12873
12874         * buffer.h (pop_tag): removed.
12875         (push_tag): removed.
12876
12877 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12878
12879         * language.h (Languages): added size_type and size().
12880
12881 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12882
12883         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12884         response on compability reading of minipages. One probliem is that
12885         the old usage of minipages was «flertydig»
12886
12887         * several files here and in subdirs: don't use static at file
12888         scope use anon namespaces instead.
12889
12890 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12891
12892         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12893         LaTeX output. This is necessary for Literate document
12894         processing.
12895
12896 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12897
12898         * buffer.C: insert hfill when needed.
12899
12900         * tabular.C (l_getline): use string::erase, small whitespace change.
12901
12902         * BufferView_pimpl.C: try the anon namespace.
12903         * WorkArea.C: ditto
12904
12905 2001-03-16  Juergen Vigna  <jug@sad.it>
12906
12907         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12908         otherwise it won't open options-dialogs.
12909
12910         * buffer.C: honor pextraWidth(p) on converting minipages.
12911
12912         * tabular.C (l_getline): changed the functions to strip trailing \r.
12913
12914 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12915
12916         * BufferView_pimpl.C:
12917         * minibuffer..C: added "using SigC::slot" declaration.
12918
12919 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12920
12921         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12922
12923         * text2.C: ditto
12924
12925         * text.C: ditto
12926
12927         * paragraph.C: ditto
12928
12929         * lyxtext.h: NO_PEXTRA
12930
12931         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12932
12933         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12934         * ParameterStruct.h: ditto
12935         * ParagraphParameters.h: ditto
12936         * lyxparagraph.h: ditto
12937
12938 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12939
12940         * buffer.C: add compability for minipage alignment.
12941         (latexParagraphs): remove unwanted pextra check.
12942
12943         * several files: remove CXX_WORKING_NAMESPACES
12944
12945         * buffer.C (pop_tag): tie is in namespace boost
12946
12947         * BufferView.h: noncopyable is in namespace boost
12948         * lyxlex.h: ditto
12949         * lyx_main.h: ditto
12950         * lyx_gui.h: ditto
12951         * layout.h: ditto
12952         * lastfiles.h: ditto
12953         * bufferlist.h: ditto
12954         * ShareContainer.h: ditto
12955         * LyXView.h: ditto
12956         * LyXAction.h: ditto
12957         * LaTeX.h: ditto
12958
12959 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * Merging changes from BRANCH_MVC back into HEAD.
12962
12963         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12964
12965 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12966
12967         * BufferView_pimpl.C: change from intl.C
12968
12969         * combox.h:
12970         * combox.C:
12971         * Makefile.am: move combox.*
12972
12973         * form1.h:
12974         * form1.C:
12975         * lyx_gui.C:
12976         * intl.h:
12977         * intl.C: remove dialog (covered by prefs)
12978
12979 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12980
12981         * lyxfunc.C (Dispatch): removed redundant break statement.
12982
12983 2001-03-14  Juergen Vigna  <jug@sad.it>
12984
12985         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12986
12987 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12988
12989         * buffer.C: add hack to fix compability reading of minipages.
12990
12991 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12992
12993         * buffer.C (getLists): Cleanup.
12994
12995 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12996
12997         * lyxfont.C (update): don't honor toggleall on font size.
12998
12999 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * bmtable.c:
13002         * bmtable.h:
13003         * Makefile.am: moved to frontends/xforms/
13004
13005         * lyx_gui_misc.C:
13006         * lyxfunc.C:
13007         * BufferView_pimpl.C: changes for moved mathpanel
13008
13009 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * gettext.h: fix gettext_init() in --disable-nls
13012
13013 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13014
13015         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13016
13017 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13018
13019         * lyx.C:
13020         * lyx.h: strip external form
13021
13022 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * BufferView_pimpl.C: add comment, destroySplash()
13025
13026 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13027
13028         * BufferView_pimpl.C:
13029         * LyXAction.C:
13030         * buffer.C:
13031         * commandtags.h:
13032         * lyxfunc.C: use re-worked insetinclude
13033
13034 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13035
13036         * buffer.C: add using std::stringstream.
13037
13038         * lyx_cb.C: readd using std::ios.
13039
13040         * buffer.C: add using std::map.
13041
13042         * BufferView_pimpl.C: add using std::vector.
13043
13044         * ShareContainer.h: add std:: to swap.
13045
13046         * buffer.h: add some typedefs
13047         * buffer.C (getLists): use them
13048         (getLists): renamed from getTocList.
13049         add a counter for the different float types and use it in the
13050         generated string.
13051         (getLists): use the same counter for the NEW_INSETS and the "non"
13052         NEW_INSETS
13053
13054         * lyx_cb.h: remove unused items, includes, using etc.
13055
13056         * ShareContainer.h: remove some commented code, add more comments
13057         and "documentation".
13058
13059 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13060
13061         * buffer.C (getTocList): make the list also when NEW_INSETS is
13062         defined.
13063
13064         * buffer.h: remove TocType
13065
13066         * buffer.C (getTocList): change to return a map<string,
13067         vector<TocItem> >, implement for dynamic number of list.
13068
13069         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13070         * text2.C (PasteSelection): adjust
13071         * CutAndPaste.C (pasteSelection): adjust
13072
13073         * FloatList.C (FloatList): update from the new_insets branch.
13074         * Floating.[Ch]: ditto
13075         * LaTeXFeatures.C: ditto
13076         * buffer.C: ditto
13077         * lyxlex_pimpl.C: ditto
13078
13079         * paragraph.C (Last): remove when NEW_INSETS is defined.
13080
13081         * other file: changes because of the above.
13082
13083 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13084
13085         * lyxparagraph.h: rename next to next_, previous to previous_,
13086         make them private for NEW_INSETS. Rename Next() to next(),
13087         Previous() to previous().
13088
13089         * other files: changes because of the above.
13090
13091 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13092
13093         * BufferView.h:
13094         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13095         problem.
13096
13097 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13098
13099         * main.C (main): pass lyx_localedir to gettext_init().
13100
13101         * gettext.h: remove locale_init and gettext_init macros
13102
13103         * gettext.C (locale_init): new function
13104         (gettext_init): new function
13105
13106         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13107         setlocale().
13108
13109 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13110
13111         * Moved credits to frontends:
13112         * credits.[Ch]: removed
13113         * credits_form.[Ch]: removed
13114         * lyx_gui_misc.C: remove credits stuff
13115         * Makefile.am:
13116
13117 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13118
13119         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13120
13121         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13122         unneeded destructor.
13123
13124         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13125         a standalone pointer again.
13126
13127         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13128
13129 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * Makefile.am:
13132         * filedlg.h:
13133         * filedlg.C:
13134         * LyXAction.C:
13135         * ToolbarDefaults.C:
13136         * bufferlist.C:
13137         * commandtags.h:
13138         * form1.C:
13139         * form1.h:
13140         * lyx_cb.C:
13141         * lyx_cb.h:
13142         * lyxfunc.h:
13143         * lyxfunc.C:
13144         * BufferView_pimpl.C: use new file dialog in GUII
13145
13146         * lyx_cb.h:
13147         * lyx_cb.C: remove LayoutsCB to Toolbar
13148
13149 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13150
13151         * ShareContainer.h (get): add std:: qualifier
13152
13153 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13154
13155         * ShareContainer.h: define a proper ShareContainer::value_type
13156         type (and use typename to please compaq cxx)
13157
13158 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13159
13160         * lyxparagraph.h: move serveral local vars to
13161         ParameterStruct/ParagraphParameters., use ShareContainer in
13162         FontTable., make vars in FontTable private and add getter and
13163         setter.
13164
13165         * paragraph.C: changes because of the above.
13166
13167         * lyxfont.h: remove copy constructor and copy assignment. (the
13168         default ones is ok), move number inside FontBits. move inlines to
13169         lyxfont.C
13170
13171         * lyxfont.C: add number to initializaton of statics, move several
13172         inlines here. constify several local vars. some whitespace
13173         cleanup. Dont hide outerscope variables.
13174
13175         * Spacing.h: add two new constructors to match the set methods.
13176
13177         * ShareContainer.h: new file, will perhaps be moved to support
13178
13179         * ParameterStruct.h: new file
13180
13181         * ParagraphParameters.h: new file
13182
13183         * ParagraphParameters.C: new file
13184
13185         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13186         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13187
13188         * BufferView_pimpl.C: ParagraphParameter changes.
13189         * buffer.C: Likewise.
13190         * bufferview_funcs.C: Likewise.
13191         * text.C: Likewise.
13192         * text2.C: Likewise.
13193
13194 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13195
13196         * lyxfind.C (LyXReplace): do not redefine default argument in
13197         implementation.
13198         (IsStringInText): ditto
13199         (SearchForward): ditto
13200         (SearchBackward): ditto
13201
13202 2001-03-06  Juergen Vigna  <jug@sad.it>
13203
13204         * lyxfind.C (IsStringInText): put parentes around expressions.
13205
13206 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13207
13208         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13209
13210 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13211
13212         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13213
13214         * stl_string_fwd.h: add comment
13215
13216         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13217
13218         * tabular.h:
13219         * tabular.C: remove unused DocBook methods
13220
13221         * intl.C:
13222         * language.C:
13223         * paragraph.C:
13224         * buffer.C:
13225         killed DO_USE_DEFAULT_LANGUAGE
13226
13227 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * lyx_gui.C: do not include language.h.
13230
13231         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13232         arguments in function implementation.
13233
13234 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13235
13236         * BufferView_pimpl.C: add <ctime>
13237
13238 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13239
13240         * BufferView_pimpl.C: add using std::find_if
13241
13242 2001-02-27  José Matos  <jamatos@fep.up.pt>
13243
13244         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13245         by OnlyPath.
13246
13247 2001-02-11  José Matos  <jamatos@fep.up.pt>
13248
13249         * buffer.C (makeDocBookFile): command styles now have a parameter as
13250         "title" by default.
13251
13252 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13253
13254         * layout_forms.[Ch]: removed
13255         * lyx_cb.[Ch]: out character
13256         * lyx_gui.C: out character
13257         * lyx_gui_misc.C: out character
13258         * bufferview_funcs.C: : out character,
13259         added toggleall as parameter in ToggleAndShow
13260
13261 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13262
13263         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13264
13265         * text2.C (SetCurrentFont): Disable number property at boundary.
13266
13267 2001-02-26  Juergen Vigna  <jug@sad.it>
13268
13269         * lyxfunc.C (getStatus): added a string argument override function so
13270         that this is correctly called from LyXFunc::Dispatch if it contains a
13271         do_not_use_argument which is used!
13272         (Dispatch): added check for "custom" export and call appropriate func.
13273
13274 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13275
13276         * lyxrc.C: Add language_command_local, language_use_babel and
13277         language_global_options.
13278
13279         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13280
13281         * buffer.C (makeLaTeXFile): Use language_use_babel and
13282         language_global_options.
13283
13284 2001-02-23  Juergen Vigna  <jug@sad.it>
13285
13286         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13287         which works with LyXText and putted it inside BufferView. Here now we
13288         only call for that part the BufferView::Dispatch() function.
13289
13290         * BufferView.C (Dispatch): added.
13291
13292         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13293         functions which needs to use a LyXText over from LyXFunc.
13294         (MenuInsertLyXFile): added
13295         (getInsetByCode): added
13296         (moveCursorUpdate): added
13297         (static TEXT): added
13298
13299 2001-02-22  Juergen Vigna  <jug@sad.it>
13300
13301         * BufferView_pimpl.C (update): call a status update to see if LyXText
13302         needs it.
13303
13304 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13305
13306         * vc-backend.C (revert): implement for CVS
13307         (getLog): implement for CVS
13308
13309 2001-02-20  Juergen Vigna  <jug@sad.it>
13310
13311         * text2.C (ClearSelection): added BufferView param for inset_owner call
13312
13313         * lyxfunc.C (TEXT): added this function and use it instead of
13314         directly owner->view()-text of getLyXText().
13315
13316 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13317
13318         * src/layout_forms.C: out preamble
13319         * src/layout_forms.h: out preamble
13320         * src/lyx_cb.C: out preamble
13321         * src/lyx_cb.h: out preamble
13322         * src/lyx_gui.C: out preamble
13323         * src/lyx_gui_misc.C: out preamble
13324         * src/lyxfunc.C: connect with guii preamble
13325
13326 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13327
13328         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13329
13330 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13331
13332         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13333         whether to run bibtex.
13334
13335 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13338
13339 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13340
13341         * Makefile.am (lyx_SOURCES): removed bibforms.h
13342
13343         * vspace.h: doxygen
13344
13345         * text.C (GetVisibleRow): make several local vars const
13346
13347         * tabular.C: small cleanup.
13348
13349         * lyxserver.C (callback): use compare instead of strncmp
13350
13351         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13352         inlines to after class or to paragraph.C
13353
13354         * lyxfont.h: remove friend operator!=
13355
13356         * converter.h: move friend bool operator< to non friend and after
13357         class def.
13358
13359         * combox.h: small cleanup
13360
13361         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13362         to inlines after class def.
13363
13364         * buffer.C (pop_tag): use string operations instead of strcmp
13365
13366         * bmtable.c: doxygen, small cleanup
13367
13368         * LaTeX.h: remove friend operator==
13369
13370 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13371
13372         * screen.C:
13373         * lyxrc.[Ch]:
13374         * lyxfunc.C:
13375         * lyxfont.[Ch]:
13376         * lyx_cb.C:
13377         * intl.[Ch]:
13378         * commandtags.h:
13379         * buffer.C:
13380         * WorkArea.[Ch]:
13381         * LyXAction.C:
13382         * BufferView_pimpl.C:
13383         * BufferView.[Ch]: remove cruft
13384
13385 2001-02-14  Juergen Vigna  <jug@sad.it>
13386
13387         * lyxfunc.C: removed #if 0 unused code
13388
13389         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13390
13391         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13392
13393         * text2.C (SetSelection): added a BufferView * parameter
13394
13395 2001-02-13  Juergen Vigna  <jug@sad.it>
13396
13397         * lyxfunc.C (Dispatch): fixed protected blank problem.
13398         * BufferView2.C (protectedBlank): added LyxText * parameter.
13399
13400         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13401         (AppendColumn): same as above for column_info.
13402
13403         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13404         (moveCursorUpdate): use a LyXText param for support of InsetText.
13405
13406         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13407         (tripleClick): ditto
13408
13409         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13410
13411         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13412
13413         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13414
13415         * text2.C (SetSelection): set correct update status if inset_owner
13416         (ToggleFree): ditto
13417
13418 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13419
13420         * tabular.C: remove some commented code.
13421
13422 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13423
13424         * BufferView_pimpl.C: call hideSplash()
13425
13426         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13427
13428         * include_form.h:
13429         * bibforms.h: remove
13430
13431         * lyxfunc.C:
13432         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13433           add LFUN_CHILD_CREATE
13434
13435         * counters.h: fix tiny typo
13436
13437         * lyx_cb.C:
13438         * lyx.h:
13439         * lyx_gui.C:
13440         * lyx.C: move splash to frontends/xforms/
13441
13442         * lyx_gui_misc.C: move Include and Bibform to frontends
13443
13444         * lyxvc.h: clarify comment
13445
13446         * vspace.C: tiny housekeeping
13447
13448 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13449
13450         * text.C (PrepareToPrint): RTL Fix.
13451
13452         * paragraph.C (GetUChar): New method.
13453         (String):  Use GetUChar.
13454
13455         * buffer.C (asciiParagraph): Use GetUChar.
13456
13457 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13458
13459         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13460
13461 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * buffer.h:
13464         * buffer.C: rename to getLogName(), handle
13465           build log / latex log nicely
13466
13467 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13468
13469         * MenuBackend.C:
13470         * MenuBackend.h: remove support for reference menuitem type.
13471
13472 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13473
13474         * BufferView_pimpl.C: housekeeping
13475         * BufferView_pimpl.h:
13476         * LyXView.h:
13477         * Makefile.am:
13478         * Timeout.C:
13479         * Timeout.h:
13480         * minibuffer.h: move Timeout GUI-I
13481
13482 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13483
13484         * lyxrc.C (read): Update converters data-structures.
13485
13486 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13487
13488         * LaTeX.h (operator!=): add operator != for Aux_Info
13489
13490 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13491
13492         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13493
13494         * LaTeXLog.C: deleted, useful code moved to Buffer
13495
13496         * buffer.h:
13497         * buffer.C: new function getLatexLogName()
13498
13499         * lyx_gui_misc.C:
13500         * lyx_gui.C:
13501         * lyxvc.C:
13502         * lyxvc.h:
13503         * lyxfunc.C: use frontends for LaTeX and VC logs
13504
13505 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * LaTeX.h: yet another std:: that Allan forgot.
13508
13509         * Variables.C (set): renamed from isset(), because this clashes
13510         with some HP-UX macros (grr).
13511
13512 2001-02-06  Allan Rae  <rae@lyx.org>
13513
13514         * LaTeX.h: Another bug fix.  Missing std:: this time.
13515
13516 2001-02-04  Allan Rae  <rae@lyx.org>
13517
13518         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13519         floats problem. I've left it commented out because it's not quite
13520         correct.  It should also test that the current object is a table or
13521         figure inset.  But I haven't gotten around to figuring out how to do
13522         that.  I *think* it'll be something like: "table" == inset.type()
13523
13524         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13525         bool.
13526
13527 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13528
13529         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13530         all the citation/databases/styles in the auxilary file.
13531         (run): Rerun latex if there was a babel language error.
13532
13533 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13534
13535         * text.C (Backspace): Preserve the font when changing newline char
13536         with a space.
13537         (BreakParagraph): If the cursor is before a space, delete the space.
13538
13539         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13540
13541 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13542
13543         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13544         new argument (code).
13545         (ChangeCitationsIfUnique): New method.
13546
13547         * paragraph.C (GetPositionOfInset): Handle bibkey.
13548
13549 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13550
13551         * BufferView_pimpl.h: change type of Position::par_pos to
13552         LyXParagraph::size_type.
13553
13554 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13555
13556         * BufferView_pimpl.C (savePosition, restorePosition): Write
13557         messages to minibuffer.
13558
13559 2001-01-28  José Matos  <jamatos@fep.up.pt>
13560
13561         * buffer.C (makeDocBookFile): adds support for document language.
13562         A silly restriction on the name of LatexCommand types where removed.
13563         Added support for CDATA sections, allows to chars unescaped, used
13564         among others in code, to avoid escape < and >.
13565
13566 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13567
13568         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13569         saved positions instrad of a stack. Furthermore, a position is
13570         stored using paragraph id/paragraph position.
13571
13572         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13573         Remove LFUN_REF_BACK.
13574
13575 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13576
13577         * converter.C (dvipdfm_options): New method.
13578
13579 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13580
13581         * vspace.C (isValidLength): Fix for empty input string.
13582
13583 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13584
13585         * LyXAction.C (init): change description of LFUN_FIGURE to
13586         "Insert Graphics"
13587
13588 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13589
13590         * LaTeX.C: add using directive
13591
13592 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13593
13594         * MenuBackend.C (expand): Fix the sorting of the formats.
13595
13596 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * lyx_main.C: tiny error message fix
13599
13600 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13601
13602         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13603         calling fl_initialize(). This fixes the problem with ',' as
13604         decimal separator in text files.
13605
13606 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13607
13608         * trans.C (process): Fix the keymap bug.
13609
13610 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13611
13612         * LaTeX.C (scanAuxFiles): New method. Provides support for
13613         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13614         (scanLogFile) Scan for "run BibTeX" messages.
13615
13616         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13617         OT1 font encoding. Also, load the aecompl package if the ae
13618         package is loaded.
13619
13620         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13621
13622 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13623
13624         * texrow.C (increasePos): turn two error messages into debug
13625         messages.
13626
13627 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * LaTeX.C (scanAux): Handle the \@input macro.
13630         (runBibTeX): Use scanAux().
13631
13632         * language.C (latex_options_): New field.
13633
13634         * LaTeXFeatures.C (getMacros): Add language macros.
13635
13636         * buffer.C (makeLaTeXFile): Small fix.
13637
13638 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13639
13640         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13641
13642         * text2.C: add a using directive.
13643
13644 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * BufferView2.C:
13647         * lyx_gui_misc.h:
13648         * lyxfr1.C:
13649         * lyxfunc.C: kill LyXBell.
13650
13651 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13652
13653         * text.C (IsBoundary): Remove the error message
13654
13655         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13656
13657         * lyxrc.C (setDefaults): Correct initialization value for
13658         font_norm_type.
13659
13660 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13661
13662         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13663         gotoError().
13664
13665         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13666         and GotoNextNote().
13667
13668         * src/LyXAction.C: Added reference-next.
13669
13670         * text.C (InsertChar): Use contains instead of strchr.
13671
13672         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13673
13674 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13675
13676         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13677         alignment commands (when needed).
13678
13679         * text.C (InsertChar): Add ':' to number separator chars.