]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Alfredo's patch.
[lyx.git] / src / ChangeLog
1
2 2003-11-10  André Pönitz  <poenitz@gmx.net>
3
4         * BufferView.[Ch]:
5         * BufferView_pimpl.[Ch]: merge update() and updateInset()
6
7 2003-11-10  André Pönitz  <poenitz@gmx.net>
8
9         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
10         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
11         indicate that the cursor needs to leave an inset
12
13         * lyxtext.h: remove inset locking
14
15         * cursor.[Ch]: re-implement functionality provided by inset locking
16
17         * BufferView.[Ch]:
18         * BufferView_pimpl.[Ch]:
19         * LyXAction.C:
20         * bufferview_funcs.[Ch]:
21         * factory.C:
22         * funcrequest.[Ch]:
23         * iterators.C:
24         * lyx_cb.C:
25         * lyxfind.C:
26         * lyxfunc.C:
27         * text.C:
28         * text2.C:
29         * text3.C:
30         * undo.C: adjust
31
32 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
33
34         * PosIterator.[Ch]: replace the stack with a vector, add inset 
35         accesor
36         * iterators.[C]: adjust
37
38 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
39
40         * lyxfind.C (replaceAll): mark the buffer dirty if something was
41         replaced
42         * paragraph_funcs.C (readParToken): put the correct id in the
43         error item, not the id of the top paragraph
44
45 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
46
47         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
48         * bufferview_funcs.C (put_selection_at): use the above
49
50 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
51
52         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
53
54 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * output_linuxdoc.h: 
57         * output_plaintext.h: 
58         * output.h: 
59         * output_docbook.h: add #include statements
60
61 2003-11-05  José Matos  <jamatos@lyx.org>
62
63         * output_docbook.[Ch]:
64         * output_latex.[Ch]:
65         * output_linuxdoc.[Ch]:
66         * output_plaintext.[Ch]: New files for output formats.
67         * output.[Ch]: New file for helper functions.
68
69         * buffer.[Ch]:
70         * paragraph_funcs.[Ch]: output functions moved to new files.
71
72         * outputparams.h: rename of latexrunparams.h
73
74         * LaTeX.[Ch]:
75         * buffer.[Ch]:
76         * bufferlist.[Ch]:
77         * converter.[Ch]:
78         * exporter.C:
79         * paragraph.[Ch]:
80         * paragraph_funcs.[Ch]:
81         * paragraph_pimpl.[Ch]:
82         * tabular.[Ch]: rename ascii to plaintext
83         and LatexRunParams to OutputParams.
84         
85 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
86
87         * iterators.[Ch] (text): require bv argument
88         * undo.C (recordUndo): 
89         * lyxfunc.C (dispatch): 
90         * bufferview_funcs.C (put_selection_at): adjust
91
92 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
93
94         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
95
96 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
97
98         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
99         nestings
100
101 2003-11-04  André Pönitz  <poenitz@gmx.net>
102
103         * cursor.[Ch]: restructure
104
105         * BufferView.[Ch]:
106         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
107
108         * iterators.[Ch] (asCursor): remove
109
110         * lfuns.h: remove LFUN_INSET_EDIT
111
112         * lyxfunc.C:
113         * tabular.C:
114         * text.C:
115         * text2.C:
116         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
117
118 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
119
120         * lyxfind.[Ch]: complete overhaul
121         * BufferView_pimpl.C:
122         * lyxfunc.C: adjust
123         * paragraph.[Ch] (insert): add
124
125 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
126
127         * BufferView.[Ch]:
128         * lyxtext.h:
129         * text.C: remove dead spellcheck code
130         
131 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
132
133         * dispatchresult.h: add a val setter
134
135         * cursor.C (dispatch): use a tempvar for data_[i]
136
137 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
138
139         * PosIterator.[Ch]: compile fix
140
141 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
142
143         * text.C (cursorPar): deactivate the cursor cache
144
145 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
146
147         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
148
149 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
150
151         * text3.C (dispatch): adjust for new DisptchResult semantics.
152
153         * lyxfunc.C (dispatch): handle update when return from
154         Cursor::dispatch, adjust for new DispatchResult semantics.
155
156         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
157         DispatchResult(true) mean to not update. Add class functions for
158         setting dispatched and update, as well as reading.
159
160         * cursor.C (dispatch): don't handle update here
161
162 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
163
164         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
165         * trans_mgr.C: adjust
166
167         * paragraph_funcs.C (readParToken): exception safety
168
169         * lyxvc.h: store the vcs pointer in a scoped_ptr
170         * lyxvc.C: adjust
171
172         * lyxsocket.C (serverCallback): exception safety
173
174         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
175
176         * ispell.C (clone): make it return a auto_ptr
177
178         * factory.C (createInset): exception safety
179         (readInset): exception safety
180
181         * bufferlist.C (newBuffer): exception safety
182
183         * Thesaurus.C (Thesaurus): use initialization for aik_
184
185         * MenuBackend.C (expandToc): exception safety.
186
187 2003-11-03  André Pönitz  <poenitz@gmx.net>
188
189         * buffer.C:
190         * buffer.h:
191         * bufferview_funcs.C: remove getInsetFromId()
192
193         * lyxcursor.[Ch]:
194         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
195
196         * lyxfunc.C:
197         * text2.C:
198         * text3.C: adjust
199
200 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
201
202         * PosIterator.C (distance, advance): new
203         * bufferview_funcs.[Ch] (put_selection_at): new
204         * iterators.[Ch] (lockPath): new
205
206 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
207
208         * iterators.[Ch] (asPosIterator): added
209         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
210         * PosIterator.[Ch]: added
211
212 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
213
214         * text3.C:
215         * lyxfunc.C:
216         * cursor.C (dispatch):
217         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
218
219         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
220         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
221         contructor, add a class function dispatched. Remove operator>=
222
223 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
224
225         * debug.C: only use the default constructor for debugstream
226         (lyxerr) here.
227
228         * main.C (main): include debug.h and setup the lyxerr streambuf
229         here.
230
231 2003-10-31  José Matos  <jamatos@lyx.org>
232
233         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
234
235         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
236         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
237         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
238         * paragraph_pimpl.C (simpleTeXSpecialC):
239         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
240         add LatexRunParams argument.
241
242         * exporter.C (Export): change call accordingly.
243
244         * latexrunparams.h: add new member to take care of the other backends.
245 2003-10-30  José Matos  <jamatos@lyx.org>
246
247         * buffer.C (makeLinuxDocFile, makeDocBookFile):
248         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
249         factorise code for paragraph output.
250         * buffer.[Ch]:
251         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
252         move functions.
253
254 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
255
256         * text3.C (dispatch):
257         * lyxfunc.C (dispatch):
258         * cursor.C (dispatch):
259         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
260
261         * dispatchresult.h: make the dispatch_result_t ctor explicit
262
263 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
264
265         * sgml.[Ch]:
266         * buffer.C: small refactoring of docbook stuff
267
268 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
269
270         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
271         meaning.
272
273 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
274
275         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
276         operator dispatch_result_t, and operators for == != and >=
277
278         * cursor.C (dispatch): adjust for operator dispatch_result_t
279         removal. comment out call to update
280
281         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
282
283 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
284
285         * text3.C:
286         * text2.C:
287         * text.C:
288         * lyxtext.h:
289         * lyxfunc.C:
290         * cursor.C:
291         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
292         (dispatch):
293
294         * dispatchresult.h: new file, DispatchResult broken out of
295         insets/insetbase.h
296
297         * Makefile.am (lyx_SOURCES): add dispatchresult.h
298
299 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
300
301         * text.C (rowBreakPoint): put a hack inside #if 0
302
303 2003-10-28  André Pönitz  <poenitz@gmx.net>
304
305         * lyxtext.h:
306         * metricsinfo.C:
307         * paragraph_funcs.C:
308         * rowpainter.C:
309         * text.C:
310         * text2.C: general cleanup (lots of small stuff)
311
312 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
313
314         * text2.C (cursorEnd): simple fix to the "end key goes to one
315         before the end on last row" bug
316
317 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
318
319         * text.C (backspace): fix the "zombie characters"
320
321 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
322
323         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
324
325 2003-10-27  André Pönitz  <poenitz@gmx.net>
326
327         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
328
329         * factory.C: handle new InsetPagebreak, InsetLine
330
331         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
332         and move handling into new InsetPagebreak, InsetLine
333
334         * BufferView_pimpl.C:
335         * LyXAction.C:
336         * ParagraphParameters.C:
337         * ParameterStruct.h:
338         * lyxfunc.C:
339         * lyxtext.h:
340         * paragraph.C:
341         * paragraph.h:
342         * paragraph_funcs.C:
343         * paragraph_pimpl.C:
344         * rowpainter.C:
345         * text.C:
346         * text2.C:
347         * text3.C: adjust
348
349 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
350
351         * text.C:
352         * lyxrow_funcs.[Ch]:
353         * Bidi.C:
354         * paragraph.C:
355         * lyxtext.h:
356         * rowpainter.C:
357         * text2.C:
358         * text3.C: remove lastPos uses in favour of Row::endpos
359
360 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
361
362         * undo.C (performUndoOrRedo): fix two crashes by setting a
363         cursor by hand and reordering some calls. Use bv->lockInset instead
364         of inset->edit because the latter loses cursor information
365
366 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
367
368         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
369         by Martin
370         (rowBreakPoint): fix width. change point to point + 1.
371         Add a missing check.
372
373 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
374
375         * MenuBackend.C:
376         * lyxfunc.C: fix (at least partly) the problems
377         with the Nav menu and headers inside branch insets
378         reported by Kayvan
379
380 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
381
382         * paragraph.C (getChar): add strong asserts
383
384         * lyxrow_funcs.C (lastPos): remove hideous hack
385
386         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
387         (fill): adjust to that (avoid an infinite loop)
388
389 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
390
391         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
392
393 2003-10-23  André Pönitz  <poenitz@gmx.net>
394
395         * RowList_fwd.h: change list<> to vector<> to gain speed
396         after suggestion from Alfredo
397
398 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
399
400         * lyxtext.h: move the bidi stuff from here...
401         * text.C: and here
402         * text2.C: and here
403         * Bidi.[Ch]: ... to here
404
405 2003-10-23  André Pönitz  <poenitz@gmx.net>
406
407         * lyxtext.h:
408         * text.C (isLastRow, isFirstRow): new functions
409
410         * paragraph.h: new width cache member
411
412         * rowpainter.C: replace RowList::iterator with Row & where possible
413
414         * lyxfunc.C: replace several view()->text with a single call
415
416         * toc.C: fix 'unused' warning
417
418 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
419
420         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
421         when woring with stream::pos_type
422         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
423
424 2003-10-22  André Pönitz  <poenitz@gmx.net>
425
426         * lyxtext.h:
427         * text.C: use Row & instead of RowList::iterator
428
429         * lyxrow.h: rename end() to endpos()
430
431         * rowpainter.C:
432         * text.C:
433         * text2.C: adjust
434
435 2003-10-22  Angus Leeming  <leeming@lyx.org>
436
437         * buffer.[Ch] (fully_loaded): new member function, returning true
438         only when the file has been loaded fully.
439         Used to prevent the premature generation of previews and by the
440         citation inset to prevent computation of the natbib-style label.
441
442         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
443         templates are all set up.
444
445         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
446
447 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
448
449         * text.C: fixed an "oops" in the "is a bit silly"
450         bug fix
451
452 2003-10-21  André Pönitz  <poenitz@gmx.net>
453
454         * FuncStatus.[Ch]: small stuff, whitespace
455
456         * lyxfont.[Ch]: operator<<() for debug reasons
457
458         * lyxfunc.C:
459         * lyxrow_funcs.C:
460         * lyxtext.h: whitespace, spelling
461
462         * paragraph.C: naming of variables
463
464         * text.C:
465         * text2.C: small stuff
466
467
468 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
469
470         * text.C: (1) finish off the inset display() work;
471         (2) fix the "is a bit silly" bug (accessing char
472         past end of par).
473
474 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * text.C: re-introduce display() for insets, fixing the
477         various bugs (stretch of line above, math inset
478         positioning, ...)
479
480 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * text.C (rightMargin): remove spurious semicolon
483
484         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
485         1415)
486
487 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
488
489         * text3.C: fix one crash due to wrong cursor def
490
491 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
492
493         * vc-backend.C (scanMaster): make the regex static
494
495         * LaTeX.C (scanAuxFile): make the regexs static
496
497         * text3.C (doInsertInset, dispatch, dispatch):
498         * text2.C (cursorUp, cursorDown):
499         * text.C (selectNextWordToSpellcheck):
500         * BufferView_pimpl.C (dispatch):
501         * lyxfunc.C (dispatch):  localDispatch -> dispatch
502
503 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * lyxsocket.C: include <cerrno>
506
507 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
508
509         * lyxfunc.C (dispatch): remove textcache stuff
510
511         * bufferlist.C (release): remove textcache stuff
512         (closeAll): ditto
513
514         * TextCache.C: delete file
515         * TextCache.h: delete file
516
517         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
518
519         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
520         delete of the bv_->text.
521         (resizeCurrentBuffer): remove texcache stuff
522         (workAreaResize): ditto
523
524 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
525
526         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
527         action.
528
529 2003-10-16  André Pönitz  <poenitz@gmx.net>
530
531         * lyxrow.[Ch]:
532         * paragraph.h:
533         * rowpainter.C:
534         * text.C:
535         * text2.C:
536         * text3.C: speed up by storing y positions per paragraph plus per-row
537         offset instead of having a 'full' y position in the row.
538
539 2003-10-15  André Pönitz  <poenitz@gmx.net>
540
541         * iterators.[Ch]:
542         * iterators.[Ch]:
543         * undo.[Ch]: make undo aware of inner insets
544
545 2003-10-14  Angus Leeming  <leeming@lyx.org>
546
547         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
548         static member functions LyX::ref() and LyX::cref.
549         (lastfiles): new accessor functions for the new lastfiles_ member var.
550         (addLyXView, views_): add a new LyXView to the list of views_.
551         (updateInset): loop over all LyXViews to call their own updateInset
552         member function, returning a pointer to the Buffer owning the inset.
553
554         * BufferView_pimpl.C (loadLyXFile):
555         * MenuBackend.C (expandLastfiles):
556         * bufferlist.C (MenuWrite, QuitLyX):
557         lastfiles is no longer a global variable.
558         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
559
560         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
561         static function. Access through LyX::cref().emergencyCleanup().
562
563 2003-10-14  André Pönitz  <poenitz@gmx.net>
564
565         * iterators.[Ch]: new direct access to innermost LyXText and Inset
566
567         * undo.[Ch]: restoring part of 'undo in insets'
568
569         * Makefile.am:
570         * undo_funcs.[Ch]: merge with undo.[Ch]
571
572         * tabular.C: small cleansing stuff
573
574 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
575
576         * paragraph_funcs.C (readParToken): report unknown insets as error
577         boxes. Use the outer paragraph as location (also for unknown
578         tokens).
579
580         * factory.C (readInset): do not abort on reading an unknown inset.
581         Eat it and return 0.
582
583 2003-10-13  Angus Leeming  <leeming@lyx.org>
584
585         * lyx_main.C (LyX): remove call to setDisplayTranslator().
586
587         * lyxrc.C: displayTranslator is now a function,
588         declared in GraphicsTypes.h.
589
590 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
591
592         * format.C: new placeholder $$a to pass the socket address.
593
594         * bufferlist.[Ch]: new function getBufferFromTmp.
595
596         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
597           files in the temporary dir.
598
599 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
600
601         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
602
603         * Makefile.am: add lyxsocket.[Ch].
604
605         * lyx_main.C (error_handler): handle SIGPIPE.
606
607 2003-10-13  André Pönitz  <poenitz@gmx.net>
608
609         * BufferView_pimpl.C:
610         * lyxtext.h:
611         * text.C:
612         * text2.C:
613         * text3.C:
614         * undo_funcs.[Ch]: use paroffset_type instead of
615           ParagraphList::iterators to prevent multiple conversion
616           (and get a more robust interface)
617
618 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
619
620         * lyxfunc.C (dispatch): RESULT -> dispatch_result
621         * lyxtext.h: ditto
622         * text3.C (dispatch): ditto
623
624 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
625
626         * LaTeX.C (handleFoundFile): move the static to smaller scope,
627         move the onlyfile, use onlyfile instead of foundfile in a couple
628         of places.
629
630         * DepTable.C (update): flush the error stream a bit more
631
632 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
633
634         * lyxserver.C (callback): adjust
635
636         * lyxfunc.C (getStatus): add a missing brace in commented code
637         (ensureBufferClean): reindent
638         (dispatch): delete version taking a string
639
640 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
641
642         * LaTeX.C (deplog): move found file handlig from here...
643         (handleFoundFile): .. to new function here.
644         (deplog): make sure to discover several files mentioned on the
645         same log line.
646
647 2003-10-10  André Pönitz  <poenitz@gmx.net>
648
649         * lyxfunc.C:
650         * lyxtext.h:
651         * tabular.C:
652         * text.C:
653         * text2.C:
654         * text3.C: fix some of the tabular crashes
655
656 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
657
658         * MenuBackend.C (binding): put debug message into Debug::KBMAP
659
660         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
661
662 2003-10-09  André Pönitz  <poenitz@gmx.net>
663
664         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
665
666         * BufferView.C:
667         * BufferView_pimpl.C:
668         * bufferview_funcs.C:
669         * lyx_cb.C:
670         * lyxcursor.C:
671         * lyxfind.C:
672         * lyxfunc.C:
673         * lyxtext.h:
674         * text.C:
675         * text2.C:
676         * text3.C:
677         * text_funcs.[Ch]:
678         * textcursor.[Ch]:
679         * undo_funcs.C: adjust
680
681 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
682
683         * text2.C (incrementItemDepth): new function, use a backtracking
684         algorithm to discover the correct item depth.
685         (resetEnumCounterIfNeeded): new function, use a backtracking
686         algorithm to discover if counter reset is needed.
687         (setCounter): use them. Simplify a bit. Add different labels for
688         different item depths for itemize.
689
690         * paragraph.C (Paragraph): remove initialization of enumdepth
691         (operator=): ditto
692
693         * paragraph.h: get rid of enumdepth, and use itemdepth both for
694         enumerate and itemize. Change the type of itemdepth to signed char.
695
696 2003-10-08  André Pönitz  <poenitz@gmx.net>
697
698         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
699           thing assignable.
700         * text.C:
701         * text2.C: adjust
702
703         * tabular.[Ch]: fix crash after 'row-insert'
704
705 2003-10-08  Angus Leeming  <leeming@lyx.org>
706
707         Fix doxygen warnings.
708
709         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
710         Remove CutAndPaste:: prefix from header file declaration.
711
712         * LColor.h (fill): remove LColor:: prefix from declaration.
713
714         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
715         use lyx::depth_type rather than Paragraph::depth_type so that
716         header file and .C file match.
717
718         * converter.h (intToFormat): remove Converters:: prefix from declaration.
719
720         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
721         * aspell.C: \file aspell_local.C -> \file aspell.C
722         * gettext.C: \file gettext.C -> \file src/gettext.C
723         * gettext.h: \file gettext.h -> \file src/gettext.h
724         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
725         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
726         * text.C: \file text.C -> \file src/text.C
727
728         * toc.C: move comment so that doxygen is not confused.
729
730 2003-10-07  Angus Leeming  <leeming@lyx.org>
731
732         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
733
734 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
735
736         * aspell.C:
737         * aspell_local.h: add forgotten std::string's.
738
739 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
740
741         * LaTeXFeatures.C:
742         * LyXAction.C:
743         * factory.C:
744         * lfuns.h:
745         * lyxfunc.C:
746         * text3.C: The Box patch. Fancybox support, minipage, parbox
747
748 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
749
750         * CutAndPaste.h:
751         * DepTable.h:
752         * FloatList.h:
753         * LaTeXFeatures.h:
754         * ParagraphParameters.h:
755         * TextCache.h:
756         * Thesaurus.h:
757         * bufferlist.h:
758         * exporter.h:
759         * importer.h:
760         * lastfiles.h:
761         * lyxfind.h:
762         * lyxfont.h:
763         * lyxlex.h:
764         * lyxtextclasslist.h:
765         * messages.h:
766         * paragraph.h:
767         * paragraph_pimpl.C:
768         * textcursor.h: add <string> and other small fixes to make Lars'
769         std::string patch compile with STLport.
770
771 2003-10-06  Angus Leeming  <leeming@lyx.org>
772
773         * LColor.h: Add missing #include <string>.
774
775 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
776
777         * All most all file in all subdirs: Make <string> be the prefered
778         way of getting to std::string, add using declarations.
779
780 2003-10-06  André Pönitz  <poenitz@gmx.net>
781
782         * metricsinfo.C: initialize LyXFont before changing attribute.
783         (fixes the 'math in \emph is upright' bug)
784
785 2003-10-06  André Pönitz  <poenitz@gmx.net>
786
787         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
788
789 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
790
791         * graph.C:
792         * paragraph_pimpl.C: Small fixes to build using STLport
793
794 2003-10-02  André Pönitz  <poenitz@gmx.net>
795
796         * lyxfunc.C:
797         * text3.C: move handling of LFUN_DEPTH *; fix #1360
798
799 2003-10-01  André Pönitz  <poenitz@gmx.net>
800
801         * factory.C: assert early
802
803 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
804
805         * lyx_main.C: remove the global debug object
806
807         * debug.h: adjust for new debugstream
808
809         * debug.C: adjust for new debugstream and keep the global debug
810         object here.
811
812 2003-09-22  Angus Leeming  <leeming@lyx.org>
813
814         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
815         of g++ which otherwise complain that the scoped_ptr destructor can't delete
816         an incomplete class LyXFont.
817
818 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
819
820         * factory.C: bug fix in branches
821
822 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
823
824         * lyxfunc.C (processKeySym): adjust
825         (dispatch): adjust
826         (dispatch): change arg name from ev to func, adjust
827         (sendDispatchMessage): ditto
828
829         * lyx_main.C (defaultKeyBindings): adjust keybindings
830         (deadKeyBindings): ditto
831
832         * kbsequence.C (addkey): return a FuncRequest
833
834         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
835
836         * kbmap.C (bind): take a FuncRequest as arg, adjust
837         (read): adjust
838         (lookup): adjust
839         (defkey): change to take a FuncRequest as arg, adjust
840         (findbinding): take a FuncRequest as arg, adjust.
841
842         * funcrequest.h (operator=): added
843
844         * funcrequest.C (FuncRequest): default kb_action changed from
845         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
846
847         * buffer.C (dispatch): simplify
848         (dispatch): adjust to take a FuncRequest as arg, adjust
849
850         * boost.C (assertion_failed): change assertion message slightly
851
852         * ToolbarBackend.C (read): simplify
853
854         * MenuBackend.C (binding): adjust call to findbinding, add a
855         message if no binding is found.
856         (read): simplify
857         (expandToc): correct by adding a empty FuncRequest
858
859         * LyXAction.C: include <boost/assert.hpp>
860         (isPseudoAction): delete function
861         (LookupFunc): change name to...
862         (lookupFunc): this. change return type to FuncRequest.
863         (getActionName): take kb_action as arg, simplify
864         (funcHasFlag): add an assert, simplify.
865
866 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
867
868         * toc.C (action): return a FuncRequest, simplify
869
870         * lyxfunc.C (processKeySym): adjust
871         (getStatus): delete version that takes an int.
872         (getStatus): adjust
873         (dispatch): delete version that takes action as int
874         (dispatch): adjust
875         (sendDispatchMessage): simplify and adjust
876
877         * funcrequest.C (getArg): take unsigned int as arg
878
879         * ToolbarBackend.C (read): adjust
880         (add): delete version that takes func as a string.
881         (getIton): take a FuncRequest as arg
882
883         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
884         action.
885
886         * MenuBackend.C (MenuItem): add a new construct that only takes a
887         Kind, simplify the constructor use for submenus.
888         (add): adjust
889         (expandLastfiles): adjust
890         (expandDocuments): adjust
891         (expandFormats): adjust
892         (expandFloatListInsert): adjust
893         (expandFloatInsert): adjust
894         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
895
896         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
897         Remove class variables lyx_pseudo_map and lyx_arg_map
898
899         * LyXAction.C (searchActionArg): delete function
900         (getPseudoAction): delete function
901         (retrieveActionArg): delete function
902         (LookupFunc): make it return kb_action, simplify.
903         (getActionName): simplify
904
905         * factory.C (createInset): fix new bug
906
907 2003-09-19  Angus Leeming  <leeming@lyx.org>
908
909         * CutAndPaste.C (pasteSelection): remove fudge used to set the
910         masterFilename_ parameter in the include inset.
911
912         * factory.C (createInset): changes due to the changes to InsetInclude.
913
914 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
915
916         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
917
918 2003-09-18  Angus Leeming  <leeming@lyx.org>
919
920         * buffer.C:
921         * BufferView.C: pass the buffer when calling Inset::getLabelList,
922         Inset::fillWithBibKeys.
923         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
924
925 2003-09-18  Angus Leeming  <leeming@lyx.org>
926
927         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
928         variables.
929         (ctor): pass and store a 'Buffer const &'
930         (buffer): new member function.
931
932         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
933         '*this' to the LaTeXFeatures ctor.
934
935 2003-09-18  Angus Leeming  <leeming@lyx.org>
936
937         * LColor.h:
938         * lyxfont.C:
939         * lyxfont.h:
940         * lyxtext.h:
941         * text.C: rename EnumLColor as LColor_color.
942
943 2003-09-18  Angus Leeming  <leeming@lyx.org>
944
945         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
946         remove #include "insets/insetbase.h" from cursor.h.
947
948 2003-09-18  Angus Leeming  <leeming@lyx.org>
949
950         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
951         InsetOld_code to remove #include "inset.h".
952
953         * iterators.C: add #include "insets/inset.h"
954
955 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
956
957         * BufferView.C: remove more locking stuff that apparently doesn't
958         do anything sensible.
959
960 2003-09-16  André Pönitz  <poenitz@gmx.net>
961
962         * paragraph.[Ch]:
963         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
964           performance boost.
965
966 2003-09-16  Angus Leeming  <leeming@lyx.org>
967
968         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
969
970         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
971         arg/return type.
972
973         * paragraph.h: remove #include "lyxfont.h". Forward declare
974         LyXFont_size.
975
976 2003-09-16  Angus Leeming  <leeming@lyx.org>
977
978         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
979         of support/textutils.h.
980         (isWord): move the contents of support/textutils.h's IsWordChar here.
981
982         * buffer.C:
983         * lyxfind.C:
984         * rowpainter.C:
985         * text.C:
986         * text2.C: add #include "paragraph.h".
987
988         * rowpainter.C:
989         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
990
991 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
992
993         * main.C:
994         * lyx_main.C:
995         * lyx_cb.C:
996         * buffer.C:
997         * LaTeX.C: use namespace alias for lyx::support::os
998
999 2003-09-16  Angus Leeming  <leeming@lyx.org>
1000
1001         * bufferparams.C:
1002         * bufferview_funcs.C:
1003         * factory.C:
1004         * lyxfunc.C:
1005         * paragraph_pimpl.C:
1006         * rowpainter.C:
1007         * text.C: add #include "LColor.h".
1008
1009 2003-09-16  Angus Leeming  <leeming@lyx.org>
1010
1011         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1012         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1013         return LyXFont &.
1014         Store the FontBits::color variable as an int rather than as an
1015         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1016         file.
1017
1018         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1019         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1020         string calls together.
1021
1022         * lyxrc.C: add #include "LColor.h".
1023
1024 2003-09-15  Angus Leeming  <leeming@lyx.org>
1025
1026         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1027         a cow_ptr.
1028
1029 2003-09-15  Angus Leeming  <leeming@lyx.org>
1030
1031         * LColor.h: add an EnumLColor wrapper for LColor::color.
1032
1033         * lyxfont.[Ch] (color, setColor, realColor):
1034         * lyxtext.h, text.C (backgroundColor):
1035         pass EnumLColor args to/from the functions, rather than LColor::color
1036         ones.
1037
1038         * lyxfont.h:
1039         * lyxtext.h: forward declare EnumLColor.
1040
1041         * lyx_main.C: add #include "LColor.h".
1042
1043 2003-09-15  Angus Leeming  <leeming@lyx.org>
1044
1045         * .cvsignore: add lyx-gtk.
1046
1047 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1048
1049         * Chktex.C
1050         * LaTeX.C
1051         * LaTeXFeatures.C
1052         * ParagraphParameters.C
1053         * Spacing.C
1054         * buffer.C
1055         * bufferparams.C
1056         * bufferview_funcs.C
1057         * chset.C
1058         * counters.C
1059         * funcrequest.C
1060         * lyxfont.C
1061         * lyxgluelength.C
1062         * lyxlength.C
1063         * paragraph.C
1064         * paragraph_funcs.C
1065         * text3.C
1066         * vc-backend.C: remove usage of STRCONV
1067
1068 2003-09-15  Angus Leeming  <leeming@lyx.org>
1069
1070         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1071         explicitly define the color passed to the painter.
1072
1073 2003-09-15  Angus Leeming  <leeming@lyx.org>
1074
1075         * bufferparams.C (BufferParams): reorder member initializers to avoid
1076         compiler warning.
1077
1078 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1079
1080         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1081         * text.C (updateRowPositions): remove an unusual nop
1082
1083 2003-09-12  André Pönitz  <poenitz@gmx.net>
1084
1085         * BufferView_pimpl.C:
1086         * Bullet.C:
1087         * layout.h:
1088         * lyxfunc.C:
1089         * lyxlayout.[Ch]:
1090         * lyxtextclass.C:
1091         * rowpainter.C:
1092         * text.C:
1093         * text2.C:
1094         * Counters.[Ch]: finish the 'automatic counters' job
1095
1096 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1097
1098         * aspell.C: include <boost/assert.cpp> (compile fix)
1099
1100 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1101
1102         * boost.C (assertion_failed): use lyx::support::abort instead of
1103         assert.
1104
1105 2003-09-10  Angus Leeming  <leeming@lyx.org>
1106
1107         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1108         with their _fwd progeny.
1109
1110 2003-09-09  Angus Leeming  <leeming@lyx.org>
1111
1112         134 files throughtout the source tree: replace 'using namespace abc;'
1113         directives with the appropriate 'using abc::xyz;' declarations.
1114
1115 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1116
1117         * boost.C (emergencyCleanup): moved here from LAssert.c
1118         (assertion_failed): new function, called by BOOST_ASSERT
1119
1120         * several files: change Assert to BOOST_ASSERT
1121
1122 2003-09-09  Angus Leeming  <leeming@lyx.org>
1123
1124         * buffer.[Ch]: Add an Impl class and move Buffer's member
1125         variables into it. As a result move several header files out of
1126         buffer.h.
1127
1128         Add header files to lots of .C files all over the tree as a result.
1129
1130 2003-09-09  Angus Leeming  <leeming@lyx.org>
1131
1132         * buffer.[Ch]: make Buffer's member variables private. Add
1133         accessor functions.
1134
1135         Lots of changes all over the tree as a result.
1136
1137 2003-09-08  Angus Leeming  <leeming@lyx.org>
1138
1139         * graph.C: #include <config.h>.
1140
1141 2003-09-08  Angus Leeming  <leeming@lyx.org>
1142
1143         * BranchList.C:
1144         * BufferView.C:
1145         * BufferView_pimpl.C:
1146         * CutAndPaste.C:
1147         * DepTable.C:
1148         * LaTeX.C:
1149         * LaTeXFeatures.C:
1150         * LyXAction.C:
1151         * MenuBackend.C:
1152         * TextCache.C:
1153         * aspell.C:
1154         * buffer.C:
1155         * bufferlist.C:
1156         * changes.C:
1157         * chset.C:
1158         * converter.C:
1159         * counters.C:
1160         * debug.C:
1161         * graph.C:
1162         * ispell.C:
1163         * lyx_cb.C:
1164         * lyxfind.C:
1165         * lyxfunc.C:
1166         * lyxlex_pimpl.C:
1167         * lyxrc.C:
1168         * lyxrow.C:
1169         * paragraph.C:
1170         * rowpainter.C:
1171         * texrow.C:
1172         * text.C:
1173         * text2.C:
1174         * toc.C: remove redundant using directives.
1175
1176 2003-09-07  Angus Leeming  <leeming@lyx.org>
1177
1178         * LaTeXFeatures.h: remove #include "support/types.h".
1179         * ToolbarBackend.h: remove #include <algorithm>.
1180         * changes.h: remove #include <ctime>.
1181         * debug.h: remove #include <iosfwd>.
1182         * graph.h: remove #include "support/std_string.h".
1183         * lyx_main.h: remove #include <csignal>.
1184         * lyxlex_pimpl.h: remove #include <fstream>.
1185         * sgml.h: remove #include <algorithm>, <utility>.
1186         * toc.h: remove #include "support/std_ostream.h".
1187         Add #include <iosfwd>.
1188
1189 2003-09-07  Angus Leeming  <leeming@lyx.org>
1190
1191         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1192
1193         * converter.h: forward declare LatexRunParams.
1194         * encoding.h: remove #include "lyxrc.h".
1195         * lyxtext.h: remove #include "LColor.h".
1196         * lyxtextclass.h: remove #include "support/types.h".
1197         * trans.h: remove #include "tex-accent.h".
1198         * trans_mgr.h: remove #include "tex-accent.h".
1199         * insets/inset.h: remove #include "support/types.h", <vector>.
1200         * insets/insetcollapsable.h: remove #include "LColor.h".
1201         * insets/insetinclude.h: remove #include "dimension.h".
1202         * insets/insetlatexaccent.h: remove #include "dimension.h".
1203         * insets/insetoptarg.h:: remove #include "insettext.h".
1204         * insets/insettext.h: remove #include "dimension.h",
1205         <boost/shared_ptr.hpp>
1206
1207         * insets/renderers.h: add #include "dimension.h".
1208         * insets/updatableinset.h: add #include "support/types.h".
1209
1210         * many .C files: Associated changes.
1211
1212 2003-09-06  Angus Leeming  <leeming@lyx.org>
1213
1214         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1215         one, inside testInvariant.
1216
1217         * PrinterParams.C: new file.
1218         * PrinterParams.[Ch]: move the function bodies out of line.
1219
1220 2003-09-06  Angus Leeming  <leeming@lyx.org>
1221
1222         * ParagraphParameters.h: forward declare ParameterStruct rather than
1223         including its header file.
1224         (depth): moved out-of-line.
1225
1226 2003-09-06  Angus Leeming  <leeming@lyx.org>
1227
1228         * BufferView_pimpl.h:
1229         * kbmap.h:
1230         * kbsequence.h:
1231         * lyxfunc.h: forward declare LyXKeySym rather than
1232         #include "frontends/LyXKeySym.h".
1233
1234         * BufferView_pimpl.C:
1235         * kbmap.C:
1236         * kbsequence.C:
1237         * lyxfunc.C: associated changes.
1238
1239 2003-09-06  Angus Leeming  <leeming@lyx.org>
1240
1241         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1242         As a result, can remove the #include "insets/inset.h" from BufferView.h
1243
1244 2003-09-06  Angus Leeming  <leeming@lyx.org>
1245
1246         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1247         As a result, can remove the #include "insets/inset.h" from BufferView.h
1248
1249 2003-09-06  Angus Leeming  <leeming@lyx.org>
1250
1251         * buffer_funcs.C:
1252         * buffer.h:
1253         * bufferlist.C:
1254         * BufferView.C:
1255         * bufferview_funcs.C:
1256         * BufferView_pimpl.C:
1257         * CutAndPaste.C:
1258         * lyx_cb.C:
1259         * lyxfunc.C:
1260         * paragraph.h:
1261         * ParagraphParameters.C:
1262         * tabular.C:
1263         * text3.C:
1264         * toc.C:
1265         * undo_funcs.C:
1266         * frontends/controllers/ControlDocument.C:
1267         * insets/insetcaption.C: rearrange the #includes into some sort of
1268         coherent order.
1269
1270         * buffer.h: remove #includes ErrorList.h, undo.h
1271
1272 2003-09-06  Angus Leeming  <leeming@lyx.org>
1273
1274         * support/types.h: add a 'depth_type' typedef, used to store the
1275         nesting depth of a paragraph.
1276
1277         * paragraph.h:
1278         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1279         defining explicitly.
1280
1281         * buffer.h:
1282         * paragraph_funcs.h:
1283         * ParagraphParameters.h:
1284         * sgml.h: use lyx::depth_type rather than Paragraph or
1285         ParameterStruct's depth_type.
1286
1287         * buffer.h
1288         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1289
1290         * BufferView.C:
1291         * BufferView_pimpl.C:
1292         * CutAndPaste.C:
1293         * ParagraphParameters.C:
1294         * buffer_funcs.C:
1295         * bufferlist.C:
1296         * bufferview_funcs.C:
1297         * lyx_cb.C:
1298         * lyxfunc.C:
1299         * tabular.C:
1300         * text3.C:
1301         * toc.C:
1302         * undo_funcs.C:
1303         * frontends/LyXView.C:
1304         * frontends/controllers/ControlDocument.C:
1305         * frontends/controllers/ControlErrorList.C:
1306         * insets/insetbibitem.C:
1307         * insets/insetbranch.C:
1308         * insets/insetcaption.C:
1309         * insets/insetcollapsable.C:
1310         * insets/insetenv.C:
1311         * insets/insetert.C:
1312         * insets/insetfloat.C:
1313         * insets/insetfoot.C:
1314         * insets/insetfootlike.C:
1315         * insets/insetnewline.C:
1316         * insets/insetquotes.C:
1317         * insets/insettabular.C:
1318         * insets/insettext.C:
1319         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1320
1321         * frontends/controllers/ControlChanges.C: #include "changes.h".
1322
1323 2003-09-06  Angus Leeming  <leeming@lyx.org>
1324
1325         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1326         than #including paragraph.h.
1327
1328         * ParagraphList.h:
1329         * RowList.h: deleted. Superfluous.
1330
1331         * CutAndPaste.h:
1332         * iterators.h:
1333         * lyxcursor.h:
1334         * lyxtext.h:
1335         * text_funcs.h:
1336         * undo.h:
1337         * undo_funcs.h:
1338         * insets/inset.h:
1339         * insets/insettext.h: use ParagraphList_fwd.h rather than
1340         ParagraphList.h.
1341
1342         * paragraph.h: don't forward declare ParagraphList.
1343
1344         * buffer.h:
1345         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1346         rather than ParagraphList.h. paragraph.h is still needed for the
1347         Paragraph::depth_type parameters.
1348
1349         * textcursor.h: enable it to compile stand-alone in light of the
1350         above changes.
1351
1352         * bufferview_funcs.C:
1353         * iterators.C:
1354         * lyxfunc.C:
1355         * lyxrow_funcs.C:
1356         * paragraph.C:
1357         * rowpainter.C:
1358         * text.C:
1359         * text2.C:
1360         * text3.C:
1361         * text_funcs.C:
1362         * textcursor.C:
1363         * undo.C:
1364         * frontends/controllers/ControlParagraph.C:
1365         * frontends/controllers/ControlTabular.C:
1366         * insets/insetmarginal.C:
1367         * insets/insetminipage.C:
1368         * insets/insetnote.C:
1369         * insets/insetoptarg.C: add header files needed to compile again.
1370
1371 2003-09-06  Angus Leeming  <leeming@lyx.org>
1372
1373         * RowList_fwd.h: new file, forward-declaring Row rather than
1374         #including lyxrow.h.
1375
1376         * lyxrow_funcs.h:
1377         * lyxtext.h:
1378         * paragraph.h:
1379         * insets/insettext.h: use it instead of RowList.h
1380
1381         * bufferview_funcs.C:
1382         * lyxfunc.C:
1383         * lyxrow_funcs.C:
1384         * paragraph.C:
1385         * rowpainter.C:
1386         * text.C:
1387         * text2.C:
1388         * text3.C: #include "RowList.h".
1389
1390 2003-09-05  Angus Leeming  <leeming@lyx.org>
1391
1392         * factory.C (createInset):
1393         * vspace.C (c-tor): replace sscanf call with an istringstream.
1394         * ispell.C: re-add missing HP/UX headers.
1395         * lyxserver.C: re-add missing  os2 headers.
1396
1397 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1398
1399         * BranchList.C:
1400         * graph.C:
1401         * ispell.C:
1402         * lastfiles.C:
1403         * lyx_cb.C:
1404         * lyxserver.C:
1405         * texrow.C:
1406         * text3.C: re-add missing system headers, needed for 2.95.2.
1407
1408 2003-09-05  Angus Leeming  <leeming@lyx.org>
1409
1410         Changes most place everywhere due to the removal of using directives
1411         from support/std_sstream.h.
1412
1413 2003-09-05  Angus Leeming  <leeming@lyx.org>
1414
1415         Replace LString.h with support/std_string.h,
1416         Lsstream.h with support/std_sstream.h,
1417         support/LIstream.h with support/std_istream.h,
1418         support/LOstream.h with support/std_ostream.h.
1419
1420         Changes resulting throughout the tree.
1421
1422 2003-09-05  Angus Leeming  <leeming@lyx.org>
1423
1424         * sgml.h: ensure that the header file can be compiled stand-alone.
1425         * *.C: strip out redundant #includes. (320 in total.)
1426
1427 2003-09-04  Angus Leeming  <leeming@lyx.org>
1428
1429         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1430         here (from getPackages).
1431
1432         * debug.[Ch]: add a new EXTERNAL tag.
1433
1434 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1435
1436         * text2.C (cursorEnd): simplify
1437         (setCursor): adjust
1438         (getColumnNearX): adjust
1439
1440         * text.C (computeBidiTables): adjust
1441         (fill): adjust
1442
1443         * rowpainter.C (paintChars): adjust
1444         (paintSelection): adjust
1445         (paintChangeBar): adjust
1446         (paintText): adjust
1447
1448         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1449         lastPos instead.
1450         (numberOfSeparators): adjust
1451
1452 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1453
1454         * LyXAction.C:
1455         * box.[Ch]:
1456         * lfuns.h:
1457         * lyxfunc.C:
1458         * text3.C: Restricts the mouse click functionality
1459         of insets like bibtex, include, toc and floatlist to the visible
1460         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1461         up the dialogs. Cursor has to be in front of the inset (i.e.
1462         start of row) for this to function.
1463
1464 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1465
1466         * bufferview_funcs.C (currentState): output row information
1467
1468 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1469
1470         * bufferview_funcs.C (currentState): output paragraph position
1471
1472 2003-09-04  Angus Leeming  <leeming@lyx.org>
1473
1474         * FloatList.h: move out #include "Floating.h".
1475         * LaTeX.h: move out #include "DepTable.h".
1476         * LyXAction.h: move out #include "funcrequest.h".
1477         * buffer.h: move out #include "author.h", "iterators.h".
1478         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1479         * lyx_main.h: move out #include "errorlist.h".
1480         * lyxfunc.h: move out #include "FuncStatus.h".
1481         * lyxtext: move out #include "lyxcursor.h".
1482         * paragraph_pimpl.h: move out #include "counters.h".
1483
1484 2003-09-03  Angus Leeming  <leeming@lyx.org>
1485
1486         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1487         preamble_snippets list, enabling us to add snippets to the preamble
1488         only if the snippet was not there already.
1489
1490 2003-09-04  Angus Leeming  <leeming@lyx.org>
1491
1492         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1493
1494 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1495
1496         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1497         update
1498
1499 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1500
1501         * BranchList.C: point fix, earlier forgotten
1502
1503 2003-09-02  Angus Leeming  <leeming@lyx.org>
1504
1505         * box.C (contains): renamed from 'contained' after a fantastic
1506         amount of hot air.
1507
1508 2003-09-02  John Levon  <levon@movementarian.org>
1509
1510         * BufferView.C:
1511         * lyxcursor.h:
1512         * lyxcursor.C:
1513         * lyxfunc.C:
1514         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1515
1516 2003-09-02  John Levon  <levon@movementarian.org>
1517
1518         * text2.C: simplification of cursorEnd(), including partial
1519         fix for bug 1376
1520
1521 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1522
1523         * buffer.C (readFile): add a space
1524
1525 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1526
1527         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1528
1529 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * buffer.C (readFile): new function, take a filename and a
1532         ParagraphList::iterator
1533         (readFile): adjust
1534         (readFile): adjust, make it private. don't use setStream, make
1535         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1536         always contain the filename.
1537
1538         * BufferView.C (insertLyXFile): simplify and make it work for
1539         gzipped files.
1540
1541 2003-08-30  John Levon  <levon@movementarian.org>
1542
1543         * Makefile.am: fix dist (from Kayvan)
1544
1545 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * most files: change to use const Buffer refs
1548
1549 2003-08-27  André Pönitz  <poenitz@gmx.net>
1550
1551         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1552         on top of ownerPar().
1553
1554 2003-08-27  John Levon  <levon@movementarian.org>
1555
1556         * funcrequest.C: properly initialise POD members
1557
1558 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1559
1560         * lyxtext.h (top_y): move top_y from here
1561         * text.C:
1562         * text2.C:
1563         * text3.C:
1564         * BufferView.[Ch]:
1565         * BufferView_pimpl.[Ch]: to here
1566         * frontends/screen.C:
1567         * insets/insettabular.C:
1568         * insets/insettext.C: adjust
1569         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1570
1571 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1572
1573         * BufferView.[Ch]:
1574         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1575
1576 2003-08-26  André Pönitz  <poenitz@gmx.net>
1577
1578         * paragraph_func.[Ch] (outerPar): new function
1579
1580         * paragraph.C:
1581         * paragraph_funcs.C:
1582         * paragraph_funcs.h:
1583         * paragraph_pimpl.C:
1584         * text2.C: remove Inset::par_owner
1585
1586 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1587
1588         * lyxrow_funcs.C:
1589         * lyxtext.h:
1590         * text.C:
1591         * text2.C: eliminates the needFullRow/display() stuff
1592         altogether, putting the logic in metrics/draw in the insets.
1593
1594 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1595
1596         * text2.C (redoParagraphInternal, redoParagraphs):
1597         * text.C (redoParagraph): add a call to updateRowPositions at the
1598         end of each 'metrics-like' call. Remove all others.
1599         (getRow): remove the 'y-computing' version.
1600         (getRowNearY): do not compute nor return the real y. Solve the
1601         'y < 0' problem and simplify.
1602
1603 2003-08-22  Angus Leeming  <leeming@lyx.org>
1604
1605         * *.[Ch]: clean-up of licence and author blurbs.
1606         Also move config.h out of a few .h files and into a few .C files.
1607
1608 2003-08-22  André Pönitz  <poenitz@gmx.net>
1609
1610         * lyxrow.[Ch]: add x_ and *fill_ members
1611
1612         * lyxtext.h:
1613         * text.C:
1614         * rowpainter.C:
1615         * text2.C: adjust/remove prepareToPrint() calls
1616
1617 2003-08-22  André Pönitz  <poenitz@gmx.net>
1618
1619         * lyxrow.[Ch]: add  end_ member
1620
1621         * lyxrow_funcs.C: use LyXRow::end_
1622
1623         * lyxtext.h (singleWidth): add LyXFont parameter
1624
1625         * rowpainter.C:
1626         * text2.C: adjust LyXText::singleWidth() calls
1627
1628         * text.C (redoParagraph): simplify row breaking logic
1629
1630
1631 2003-08-19  André Pönitz  <poenitz@gmx.net>
1632
1633         * funcrequest.C: initialize button_ member
1634
1635         * text3.C:
1636         * rowpainter.[Ch]: interface consolidation
1637
1638 2003-08-18  André Pönitz  <poenitz@gmx.net>
1639
1640         * BufferView.C:
1641         * BufferView_pimpl.C:
1642         * lyxfind.C:
1643         * paragraph_funcs.C:
1644         * rowpainter.C:
1645         * text3.C: remove LyXScreen::draw() and fitCursor calls
1646
1647         * BranchList.h: remove spurious semicolons
1648
1649         * MenuBackend.C: fix branchlist related crash
1650
1651 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1652
1653         * BranchList.[Ch]:
1654         * InsetList.[Ch]:
1655         * LColor.[Ch]:
1656         * LyXAction.C:
1657         * Makefile.am:
1658         * MenuBackend.[Ch]:
1659         * bufferparams.[Ch]:
1660         * factory.C:
1661         * lfuns.h:
1662         * lyxfunc.C:
1663         * text3.C: implements the 'branch inset'
1664         idea. This allows the output of various versions of a document
1665         from a single source version, selectively outputing or suppressing
1666         output of parts of the text.
1667         This implementation contains a 'branch list editor' in a separate
1668         tab of the document settings dialog. Branches are user definable
1669         and have a "display colour" to distinguish them on-screen.
1670
1671         ColorHandler was somewhat cleaned up.
1672         (1) make possible a dynamically growing LColor list by allowing
1673         the graphic context cache to grow along (vector);
1674         (2) eliminate an IMHO unnecessary step in colour allocation.
1675
1676 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1677
1678         * BufferView_pimpl.C: compile fix
1679
1680 2003-08-15  André Pönitz  <poenitz@gmx.net>
1681
1682         * rowpainter.C: remove extra metrics calls
1683
1684         * lyxtext.h: merge the two constructors into a single one,
1685           pass reference to owner's par list
1686
1687         * BufferView_pimpl.C:
1688         * text.C:
1689         * text2.C: adjust
1690
1691 2003-08-15  André Pönitz  <poenitz@gmx.net>
1692
1693         * lyxrow_funcs.[Ch]:
1694         * lyxtext.h:
1695         * paragraph.h:
1696         * paragraph_funcs.C:
1697         * rowpainter.C:
1698         * text.C:
1699         * text2.C:
1700         * text3.C:
1701         * text_funcs.C: split LyXText::rowlist_ into individual
1702         Paragraph::rows_ chunks
1703
1704         * BufferView.[Ch]:
1705         * BufferView_pimpl.[Ch]:
1706         * lyxfind.C:
1707         * lyxtext.h:
1708         * text3.C: remove toggleSelection()
1709
1710 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1711
1712         * bufferlist.C: beautify two alerts (shorter text of buttons)
1713         * buffer.C: Remove redundant ' ' from message
1714         * tabular.h:
1715         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1716         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1717         rename VALIGN_CENTER to VALIGN_MIDDLE
1718
1719 2003-08-11  André Pönitz  <poenitz@gmx.net>
1720
1721         * lyxtext.h (getPar):
1722         * text.C: new function
1723
1724 2003-08-11  André Pönitz  <poenitz@gmx.net>
1725
1726         * Makefile.am:
1727         * tracer.[Ch]: remove unneeded files
1728
1729         * InsetList.[Ch]: remove resizeInsetsLyXText()
1730
1731         * lyxtext.h:
1732         * text.C:
1733         * text2.C:
1734         * text3.C: merge insertParagraphs() and appendParagraph()
1735         remove breakAgain(), update()
1736
1737         * BufferView_pimpl.[Ch]:
1738         * bufferview_funcs.[Ch]:
1739         * lyxfunc.C:
1740         * paragraph.[Ch]:
1741         * rowpainter.C:
1742         * tabular.C: adjust after text & InsetList changes.
1743
1744 2003-08-08  André Pönitz  <poenitz@gmx.net>
1745
1746         * text.C (insertChar, backspace): replace rowlist fiddling
1747         with rebreak of full par
1748
1749         * lyxtext.h:
1750         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1751         checkParagraph, updateInset): removed
1752
1753 2003-08-07  André Pönitz  <poenitz@gmx.net>
1754
1755         * paragraph.C:
1756         * text3.C: merge some LFUN handlers, remove dead code
1757
1758 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1759
1760         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1761
1762 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1763
1764         * text2.C (DEPM): fix part of bug 1255 and 1256
1765
1766 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         * BufferView_pimpl.C (workAreaDispatch): change to use
1769         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1770         that are no mouse related.
1771
1772 2003-08-05  André Pönitz  <poenitz@gmx.net>
1773
1774         * BufferView.[Ch]:
1775         * BufferView_pimpl.[Ch]:
1776         * bufferview_funcs.C:
1777         * text2.C:
1778         * text3.C: rip out "deep update"
1779
1780         * textcursor.[Ch] (last_sel_cursor): remove unused member
1781
1782 2003-08-04  André Pönitz  <poenitz@gmx.net>
1783
1784         * BufferView.[Ch]:
1785         * BufferView_pimpl.[Ch]:
1786         * ParagraphParameters.C:
1787         * bufferview_funcs.C:
1788         * lyx_cb.C:
1789         * lyxfind.C:
1790         * lyxfunc.C:
1791         * text.C:
1792         * text2.C:
1793         * text3.C: replace "complicated" BufferView::update(...) calls with
1794         simpler ones.
1795
1796         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1797
1798 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1799
1800         * Makefile.am (lyx_SOURCES): add paper.h
1801
1802 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1803
1804         * Makefile.am: move things around so that both lyx-qt and
1805         lyx-xforms can be built (according to --with-frontend). Then lyx
1806         is a symbolic link to lyx-[firstfrontend]
1807
1808 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1809
1810         * Always use std::endl with lyxerr
1811
1812 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1813
1814         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1815
1816 2003-08-01  André Pönitz  <poenitz@gmx.net>
1817
1818         * BufferView.[Ch]:
1819         * BufferView_pimpl.[Ch]:
1820         * lyxfunc.C:
1821         * text3.C: merge BufferView::repaint() and BufferView::update()
1822
1823 2003-08-01  José Matos  <jamatos@lyx.org>
1824
1825         * buffer.[Ch]: file_format is no longer a buffer data element.
1826
1827 2003-08-01  André Pönitz  <poenitz@gmx.net>
1828
1829         * BufferView.C:
1830         * lyxtext.h:
1831         * text.C:
1832         * text2.C: make redoParagraph more independent of current cursor
1833
1834         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1835         * text.C:
1836         * text2.C: remove unneeded members
1837
1838 2003-07-30  André Pönitz  <poenitz@gmx.net>
1839
1840         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1841
1842         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1843           create a single function...
1844
1845         * paragraph_funcs.C (moveItem): ... here.
1846
1847         * text.C:
1848           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1849
1850 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1851
1852         * LColor.[Ch]: Add comment and greyedout logical colors.
1853
1854 2003-07-30  André Pönitz  <poenitz@gmx.net>
1855
1856         * tabular.C: don't use Assert too heavily. This crashes where it
1857           shouldn't
1858
1859 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1860
1861         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1862         is disabled (bug 1232)
1863
1864 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1865
1866         * factory.C: limited 'arg' scope
1867
1868 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1869
1870         * factory.C: fixed Note submenu issues
1871
1872 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1873
1874         * factory.C: submenu for Note/Comment/Greyedout
1875
1876 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1877
1878         * lyx_main.C (LyX):
1879         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1880
1881 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1882
1883         * LaTeXFeatures.C:
1884         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1885         greyedout. Patch provided by Jürgen Spitzmüller.
1886
1887 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1888
1889         * kbmap.C (read): fix error message when reading bind files
1890
1891 2003-07-29  Angus Leeming  <leeming@lyx.org>
1892
1893         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1894         certainly does not do what it purports to do. I am doing it, and
1895         us, a favour by killing it.
1896
1897 2003-07-28  José Matos  <jamatos@lyx.org>
1898
1899         * buffer.C (readBody, do_writeFile):
1900         * paragraph.C(readParagraph): \end_document replaces \the_end.
1901
1902 2003-07-29  André Pönitz  <poenitz@gmx.net>
1903
1904         * BufferView.[Ch]:
1905         * BufferView_pimpl.[Ch]:
1906         * lyxfunc.C:
1907         * text2.C:
1908         * text3.C:
1909         * textcursor.[Ch]: remove toggleToggle & Co
1910
1911 2003-07-28  José Matos  <jamatos@fep.up.pt>
1912
1913         * buffer.C (readParagraph):
1914         * params_func (readParToken, readParagraph):
1915         * paragraph.C (write): \layout -> \begin_layout.
1916
1917 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1918
1919         * lyxlex_pimpl.C (setFile): clean up slightly.
1920
1921         * bufferparams.h: add compressed var
1922
1923         * buffer_funcs.C (readFile): adjust for LyXLex change
1924         (newFile): ditto + simplify
1925
1926         * buffer.C (writeFile): handle writing of compressed files
1927
1928         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1929         Check if the file is compressed and set a bufferparm if so.
1930
1931         * Makefile.am (lyx_LDADD): remove explicit -lz
1932
1933 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1936         makeDocBookFile): put the real LyX version in the first line of
1937         the file
1938
1939         * version.h:
1940         * version.C.in: remove lyx_docversion
1941
1942         * tabular.C (write_attribute): add a template-based version to
1943         write enums properly
1944
1945 2003-07-28  André Pönitz  <poenitz@gmx.net>
1946
1947         * lyxtext.h:
1948         * text.C:
1949         * text2.C:
1950         * text3.C: use doubles again for x-coordinates. They are needed.
1951
1952 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1953
1954         * messages.C (getLocaleDir): use lyx_localedir()
1955
1956         * lyxlex_pimpl.C (setFile): compress stuff
1957
1958         * buffer.C (writeFile): add some compression stuff
1959         (do_writeFile): new func, dont call expliti close... will this
1960         breake anything?
1961
1962         * Makefile.am (lyx_LDADD): add -lz
1963
1964 2003-07-28  José Matos  <jamatos@fep.up.pt>
1965
1966         * buffer.C: increment file format.
1967         * paragraph_funcs (readParagraph, readParToken):
1968         * paragraph.C (readParagraph): add \end_layout.
1969
1970 2003-07-27  Angus Leeming  <leeming@lyx.org>
1971
1972         * Makefile.am: remove special casing for configure-time setting of
1973         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1974
1975         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1976         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1977
1978 2003-07-26  André Pönitz  <poenitz@gmx.net>
1979
1980         * paragraph_func.[Ch]:
1981         * paragraph.C (realizeFont): inline it whereever it is used
1982
1983         * rowpainter.C:
1984         * text.C:
1985         * text2.C:
1986         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1987
1988
1989 2003-07-26  André Pönitz  <poenitz@gmx.net>
1990
1991         *       lyxtext.h:
1992         * text.C:
1993         * text2.C: get rid of LyXText::need_break_row
1994
1995 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1996
1997         * toc.[Ch]: put namespace toc inside namespace lyx
1998
1999         * MenuBackend.C (expandToc2): adjust for lyx::toc
2000         (expandToc): ditto
2001
2002         * lyxfunc.C (dispatch): adjust for lyx::find
2003
2004         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2005         lyx::find instead. Reorganize a bit.
2006         (LyXReplace): rename to replace
2007         (LyXFind): rename to find
2008
2009         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2010         (dispatch): ditto
2011
2012 2003-07-26  André Pönitz  <poenitz@gmx.net>
2013
2014         * text.C (setHeightOfRow): restrict scope of temporary variable
2015
2016         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2017           code (never has been used?)
2018
2019 2003-07-27  Asger Alstrup  <alstrup@local>
2020
2021         * text.C (fill): Optimise algorithm to exploit that we can reuse
2022         the LyXFont for many characters.
2023         (setHeightOfRow): Same thing.
2024         (rowBreakPoint): Same thing.
2025
2026 2003-07-26  Asger Alstrup  <alstrup@local>
2027
2028         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2029
2030         * text.C (singleWidth): Spurious font copying in hot-spot
2031         singleWidth avoided. Reorder tests for arabic for efficiency.
2032
2033         * text.C (fill): handle empty paragraphs better.
2034
2035 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2036
2037         * ispell.C:
2038         * encoding.h: add includes
2039
2040         * lyxrc.C: remove reading of bind files
2041
2042         * lyx_main.C (init): setup bindings and menus only if we have a
2043         gui.
2044
2045         * kbmap.C (read): new method. Do the actual reading of bind
2046         files.
2047
2048         * converter.C (dvipdfm_options):
2049         * bufferparams.C:
2050         * lyxrc.C (read):
2051         (output): adapt PAPER_* enums.
2052
2053         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2054
2055         * bufferparams.h: remove paper-related enums from there
2056
2057         * paper.h: New file. A trivial header file to hold paper-related
2058         enums. It should later expand to contain many paper-related
2059         horrors access.
2060
2061         * lyxrc.C: declare extern displayTranslator
2062
2063 2003-07-27  José Matos  <jamatos@fep.up.pt>
2064
2065         * tabular.[Ch] (linuxdoc): add support for tables and figures
2066         (linuxdoc).
2067
2068 2003-07-27  José Matos  <jamatos@fep.up.pt>
2069
2070         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2071         consistency in both functions.
2072         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2073
2074 2003-07-26  Asger Alstrup  <alstrup@local>
2075
2076         * rowpainter.C (paintRows): Change algorithm to work directly on
2077         the insets rather than asking every character in the document
2078         whether its an inset.
2079
2080 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2081
2082         * buffer.C (openFileWrite): factorize some code
2083
2084 2003-07-26  Angus Leeming  <leeming@lyx.org>
2085
2086         * lyx_cb.C:
2087         * lyx_main.[Ch]: replace occurances of system_tempdir with
2088         os::getTmpDir().
2089
2090 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2091
2092         * rename Inset to InsetOld
2093
2094 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2095
2096         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2097         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2098         which I think is a bit clearer. EDIT is gone, since it was
2099         premature optimisation, and broken for mathed anyway.
2100         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2101         with cursor positioning in insets as well (math insets still do not
2102         work, but that's a different story anyway.) It mysteriously
2103         crashes sometimes with undo in the first paragraph, but I'm fairly
2104         confident that this is a compiler bug.
2105
2106 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2107
2108         * paragraph.C (Paragraph): adjust for new clone return type
2109         (operator==): ditto
2110         (copyIntoMinibuffer): ditto
2111
2112 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2113
2114         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2115         by not having a special case, and always doing a full rebreak of
2116         the document after undo.
2117
2118 2003-07-23  Angus Leeming  <leeming@lyx.org>
2119
2120         * factory.C (createInset): InsetExternal::setParams now takes a
2121         Buffer const * arg.
2122
2123 2003-07-23  Angus Leeming  <leeming@lyx.org>
2124
2125         * factory.C (createInset): changed interface to the external and
2126         graphics mailers' string2params functions.
2127
2128 2003-07-23  Angus Leeming  <leeming@lyx.org>
2129
2130         * factory.C (createInset): pass a
2131         Buffer const * parameter to InsetExternalMailer's string2params.
2132
2133 2003-07-22  John Levon  <levon@movementarian.org>
2134
2135         * Thesaurus.h: include the right aiksaurus header
2136
2137 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2138
2139         * MenuBackend.C (expand): check menu shortcuts unconditionally
2140
2141 2003-07-21  Angus Leeming  <leeming@lyx.org>
2142
2143         * factory.C (createInset): pass a
2144         buffer_path parameter to InsetGraphicsMailer's string2params.
2145
2146 2003-07-21  Angus Leeming  <leeming@lyx.org>
2147
2148         * BufferView_pimpl.C (buffer):
2149         * buffer.C (d-tor):
2150         * lyx_main.C (LyX):
2151         * lyxfunc.C (dispatch):
2152         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2153         rather than the grfx shortcut.
2154
2155 2003-07-21  André Pönitz  <poenitz@gmx.net>
2156
2157         * rowpainter.C: remove unused variables
2158
2159         * tabular_funcs.C:
2160         * tabular_funcs.h: move to tabular.C
2161         * Makefile.am: adjust
2162
2163         * tabular.[Ch]: basic optical cleaning
2164
2165         * author.h: pass references, not values
2166
2167 2003-07-18  André Pönitz  <poenitz@gmx.net>
2168
2169         * lyxtext.h:
2170         * metricsinfo.C:
2171         * metricsinfo.h:
2172         * rowpainter.C:
2173         * text.C:
2174         * text2.C:
2175         * text3.C: two-phase drawing for InsetText and InsetTabular
2176         some float -> int changes.
2177
2178 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2179
2180         * lyx_main.C: fix the fix
2181
2182 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2183
2184         * lyx_main.C: fix a crash in batch mode if no files specified
2185         * converter.C: ws
2186
2187 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2188
2189         * format.[Ch] (papersize): moved to BufferParams
2190         * converter.[Ch] (dvips_options): moved to BufferParams
2191         (dvipdfm_options): moved to anon namespace
2192         * bufferparams.[Ch]: added above functions.
2193
2194 2003-07-17  André Pönitz  <poenitz@gmx.net>
2195
2196         * lyxtext.h:
2197         * rowpainter.C:
2198         * text2.C: don't call inset->update() anymore
2199
2200         * metricsinfo.[Ch]: add convenience constructor
2201
2202 2003-07-16  André Pönitz  <poenitz@gmx.net>
2203
2204         * lyxcursor.[Ch]:
2205         * lyxfunc.[Ch]:
2206         * text.C:
2207         * text2.C: replace the LyXCursor::irow_ member with
2208          on-demand computation of the value
2209
2210 2003-07-16  John Levon  <levon@movementarian.org>
2211
2212         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2213
2214 2003-07-15  André Pönitz  <poenitz@gmx.net>
2215
2216         * text.C:
2217         * text2.C: remove no more needed refresh_row
2218
2219 2003-07-15  André Pönitz  <poenitz@gmx.net>
2220
2221         * lyxtext.h:
2222         * rowpainter.C:
2223         * text2.C:
2224         * text3.C: refresh_status tristate -> need_update bool
2225
2226 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2227
2228         * lyxtext.h (init): remove reinit argument (act as if always true)
2229         * text2.C: adjust to that
2230
2231 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2232
2233         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2234         * text3.C: use it to delete selections in some cases
2235         (bugs 441, 673, 702, 954).
2236
2237 2003-07-14  André Pönitz  <poenitz@gmx.net>
2238
2239         * rowpainter.[Ch]: reduce interface
2240
2241 2003-07-14  André Pönitz  <poenitz@gmx.net>
2242
2243         * BufferView_pimpl.C:
2244         * text2.C: adjust after removing unused BufferView * argument
2245
2246 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2247
2248         * text2.C (init): fix a crash fired on resize
2249
2250 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2251
2252         * buffer.[Ch]: added new closing signal
2253         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2254         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2255         BufferView::Pimpl via the closing the signal
2256
2257 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2258
2259         * buffer.[Ch]: take out all bv-related from buffer
2260         * BufferView.C:
2261         * BufferView_pimpl.[Ch]: connect to new signals
2262         * CutAndPaste.C: removed useless asserts
2263         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2264         * lyxvc.[Ch]:
2265         * vc-backend.[Ch]:
2266         * lyxfunc.C: moved view-related funciontality from vc here
2267         * paragraph.C: removed outdated comments
2268         * text.C: ws
2269
2270 2003-07-10  André Pönitz  <poenitz@gmx.net>
2271
2272         * BufferView_pimpl.C:
2273         * tabular.h:
2274         * tabular_funcs.C:
2275         * text.C:
2276         * text2.C: remove InsetText::InnerCache, clean up consequences
2277
2278 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2279
2280         * ispell.C: fix two typos in error messages
2281
2282 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2283
2284         * Extend Note inset to other forms of annotation like Comment
2285         and Greyedout. Right button click gives dialog.
2286
2287         Files modified or added (+):
2288
2289         * insetnote.[Ch]
2290         * FormNote.[Ch]      +
2291         * ControlNote.[Ch]   +
2292         * form_note.fd       +
2293         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2294         frontends/controllers
2295         * xforms/Dialogs.C
2296         * factory.C
2297
2298 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2299
2300         * aspell.C: add missing namespace lyx::support
2301
2302 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2303
2304         * BufferView.[Ch] (newFile): Add
2305         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2306         * LaTeX.[Ch] (message): added this signal and use it
2307         * buffer.[Ch] (busy, message): added these signals and use them
2308         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2309         * converter.C:
2310         * exporter.C:
2311         * format.C:
2312         * importer.C: use buffer signals instead of direct bv calling
2313         * lyx_cb.[Ch] (ShowMessage): removed
2314         * lyx_main.C:
2315         * lyxfunc.C:
2316         * paragraph_funcs.C:
2317         * text2.C: use buffer signals
2318
2319 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2320
2321         * introduce namespace lyx::graphics
2322
2323 2003-07-02  André Pönitz  <poenitz@gmx.net>
2324
2325         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2326
2327 2003-07-01  André Pönitz  <poenitz@gmx.net>
2328
2329         * text.C:
2330         * text2.C:
2331         * text3.C:
2332         * text_funcs.[Ch]:
2333         * textcursor.h:
2334         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2335           text*.C to text_func.C
2336
2337 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * introduce namespace lyx::support
2340
2341 2003-06-30  André Pönitz  <poenitz@gmx.net>
2342
2343         * Chktex.C:
2344         * funcrequest.C:
2345         * lyxtext.h:
2346         * text.C: re-enable --with-included-string
2347
2348 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2349
2350         * textcursor.C: add <config.h>
2351
2352         * text.C (getWord): remove const from word_location arg
2353
2354         * lyxvc.C (getLogFile): fix const type order
2355
2356         * lyxtext.h: remove const from word_location arg, add arg name
2357
2358         * lyxlayout.h: currect type on labeltype.
2359
2360         * importer.C: correct \file
2361
2362         * converter.C (intToFormat): use std:: on ret val, ws changes
2363
2364         * bufferlist.h: correct \file
2365
2366         * buffer.C (makeLinuxDocFile): fix const type order
2367         (makeDocBookFile): ditto
2368         (fillWithBibKeys): use std:: on stdlib args.
2369
2370         * CutAndPaste.C: fix authors.
2371         (availableSelections): use std:: on return vector
2372
2373 2003-06-27  André Pönitz  <poenitz@gmx.net>
2374
2375         * BufferView_pimpl.C:
2376         * bufferview_funcs.C:
2377         * lyxcursor.C:
2378         * lyxcursor.h:
2379         * lyxfunc.C:
2380         * lyxtext.h:
2381         * rowpainter.C:
2382         * text.C:
2383         * text2.C:
2384         * text3.C: remove LyXCursor::row_ member
2385
2386         * lyxtext.h:
2387         * text.C: rename fullRebreak() to partialRebreak() and implement
2388           a fullRebreak() that really bereks fully
2389
2390         * textcursor.h: new struct for cursor-related data
2391
2392 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * lyx_main.C (LyX): get full path of document loaded on the
2395         command line
2396
2397 2003-06-26  André Pönitz  <poenitz@gmx.net>
2398
2399         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2400           remove unused/broken operator>,<,>=.
2401
2402         *       text.C: remove only use of broken operator<= in an Assert().
2403
2404 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2405
2406         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2407         moved errorlist_.clear to showErrorList
2408
2409 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * converter.C (scanLog, runLaTeX):
2412         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2413         move the bv->showErrorList call to the callers
2414         * lyxfunc.C: i.e. here...
2415         * text2.C: and here
2416         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2417         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2418         namespace, the second to...
2419         * buffer_funcs (BufferFormat, parseErrors): added
2420         * errorlist.C (ErrorList(TeXErrors const &)): removed
2421
2422 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2423
2424         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2425
2426 2003-06-24  "Garst R. Reese" <reese@isn.net>
2427
2428         * debug.C: fix typo
2429
2430 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2433
2434         * version.C.in: change docversion to 1.4
2435
2436 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * buffer.C: fix a bug just introduced
2439
2440 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2441
2442         * buffer.[Ch]: added the parseError signal and use it, removed
2443         sgmlError
2444         * BufferView.[Ch] (addError): moved to ...
2445         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2446         to the Buffer::parseError signal to catch (guess what) parse errors
2447         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2448
2449 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2450
2451         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2452         ability to create a buffer and to return an existing one from
2453         the list. Moved these functions to...
2454         * buffer_funcs.[Ch]: added
2455         * BufferView.[Ch] (loadLyXFile): added
2456         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2457         job removed from bufferlist::loadLyXFile.
2458         * buffer.C (setReadOnly): make it work without view
2459         (i.e added an if (users))
2460
2461 2003-06-19  Angus Leeming  <leeming@lyx.org>
2462
2463         * lfuns.h:
2464         * LyXAction.C (init):
2465         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2466         with LFUN_DIALOG_SHOW <name> <data>.
2467
2468 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2469
2470         * CutAndPaste.C (availableSelections): small compilation fix for
2471         ancient (gcc 2.9x) compilers
2472
2473 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2474
2475         * text3.C (cursorNext): add tmp var
2476
2477         * text2.C (updateCounters): for function calling out of for clause
2478         (replaceSelectionWithString): ditto
2479         (insertStringAsParagraphs): ditto
2480         (getColumnNearX): add tmp var
2481         (setCursorFromCoordinates): add tmp var
2482         (cursorDownParagraph): add tmp var
2483         (deleteEmptyParagraphMechanism): add tmp var
2484
2485         * text.C (insertChar): add tmp var
2486
2487         * rowpainter.C (paintDepthBar): add tmp var
2488
2489         * CutAndPaste.C (availableSelections): potentially check all
2490         paragraphs in a cut to fill the shown strings.
2491
2492 2003-06-18  André Pönitz  <poenitz@gmx.net>
2493
2494         * kbmap.[Ch]: use vector<> instead of list<>
2495
2496 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2497
2498         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2499         pasteSelection with index
2500
2501         * text2.C (pasteSelection): modify, call pasteSelection with index
2502
2503         * paragraph.C (asString): reimplement version with no interval to
2504         call the one with interval.
2505
2506         * lyxtext.h: add index arg to pasteSelection
2507
2508         * MenuBackend.C (MenuItem): handle PasteRecent
2509         (Menu::read::Menutags): add md_pasterecent
2510         (read): handle it
2511         (expandPasteRecent): new function
2512         (expand): use it
2513
2514         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2515
2516         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2517         the limited stack
2518         (availableSelections): new function
2519
2520 2003-06-17  Angus Leeming  <leeming@lyx.org>
2521
2522         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2523
2524 2003-06-17  Angus Leeming  <leeming@lyx.org>
2525
2526         * lfuns.h:
2527         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2528
2529         * lyxfunc.C (dispatch): invoke it.
2530
2531 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2532
2533         * iterators.C (operator++, ParPosition): reintroduce some
2534         const_cast for the benefit of older compilers.
2535
2536 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2537
2538         * text3.C (dispatch): do not modify clipboard when doing
2539         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2540         LFUN_DELETE_SKIP on a selection selection
2541
2542 2003-06-16  André Pönitz  <poenitz@gmx.net>
2543
2544         * BufferView.C:
2545         * buffer.C:
2546         * buffer.h:
2547         * paragraph.C:
2548         * tabular.[Ch]: IU of clone() and getLabelList();
2549
2550 2003-06-13  André Pönitz  <poenitz@gmx.net>
2551
2552         * tabular.h: compactification
2553
2554 2003-06-12  André Pönitz  <poenitz@gmx.net>
2555
2556         * tabular.C:
2557         * tabular.h:
2558         * tabular_funcs.h: some renaming plus whitespace
2559
2560 2003-06-12  André Pönitz  <poenitz@gmx.net>
2561
2562         * BufferView.C:
2563         * BufferView_pimpl.C:
2564         * CutAndPaste.C:
2565         * buffer.C:
2566         * iterators.[Ch]:
2567         * lyxfunc.C:
2568         * text.C:
2569         * toc.C: Return a Paragraph & for ParIterator::operator*()
2570
2571 2003-06-11  John Levon  <levon@movementarian.org>
2572
2573         * lyx_main.C:
2574         * ToolbarBackend.h:
2575         * ToolbarBackend.C: add "Toolbars" section and
2576         put the flags there
2577
2578 2003-06-10  Angus Leeming  <leeming@lyx.org>
2579
2580         * lfuns.h:
2581         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2582
2583         * lyxfunc.C (dispatch): invoke it.
2584
2585 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * main.C: protect <ios> with HAVE_IOS
2588         (main): protect sync_with_stdio with HAVE_IOS
2589
2590 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2591
2592         * text2.C (cutSelection): adjust
2593         (pasteSelection): adjust
2594
2595         * messages.C: handle get of empty string
2596
2597         * main.C (main): use sync_with_stdio(false)
2598
2599         * lyxfunc.C (dispatch): adjust
2600
2601         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2602         (WriteAs): remove unneeded BufferView arg.
2603
2604         * bufferparams.h: use correct types on papersize, papersize2 and
2605         paperpackage.
2606
2607         * bufferparams.C (readToken): adjust for type
2608         (writeLaTeX): add missing cases to switch.
2609
2610         * bufferlist.C (quitWriteBuffer): adjust
2611         (close): adjust
2612
2613         * buffer.C (asciiParagraph): remove some commented code.
2614
2615         * CutAndPaste.C: remove current_view extern variable.
2616         (cutSelection): add BufferParams arg.
2617         (eraseSelection): add BufferParams arg.
2618         (pasteSelection): add Buffer const & arg
2619
2620 2003-06-07  John Levon  <levon@movementarian.org>
2621
2622         * buffer.C:
2623         * paragraph_funcs.C:
2624         * paragraph_pimpl.C:
2625         * text.C:
2626         * text2.C:
2627         * paragraph.h:
2628         * paragraph.C: allow InsetERT to freely space lines,
2629         and some consolidation of code
2630
2631 2003-06-06  José Matos  <jamatos@fep.up.pt>
2632
2633         * buffer.C (makeDocBookFile): fix bug #821
2634
2635 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2636
2637         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2638
2639 2003-06-04  Angus Leeming  <leeming@lyx.org>
2640
2641         * buffer.C: bump format to 224.
2642
2643 2003-06-05  André Pönitz  <poenitz@gmx.net>
2644
2645         * text2.C (redoParagraphs): remove two const_cast<>
2646
2647 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2648
2649         * ParagraphList.h: remove last remnants of NO_STD_LIST
2650
2651 2003-06-03  Angus Leeming  <leeming@lyx.org>
2652
2653         * factory.C (createInset): small change to the way InsetExternal's params
2654         are set.
2655
2656 2003-06-04  André Pönitz  <poenitz@gmx.net>
2657
2658         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2659
2660         * paragraph_pimpl.h:
2661         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2662
2663         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2664
2665         * undo_funcs.C: make some simple cases of undo work again
2666
2667 2003-06-03  John Levon  <levon@movementarian.org>
2668
2669         * ispell.C: HPUX doesn't have sys/select.h
2670         (from Albert Chin)
2671
2672 2003-06-03  John Levon  <levon@movementarian.org>
2673
2674         * CutAndPaste.C: update tabular and include inset
2675         buffer references
2676
2677         * buffer.h:
2678         * paragraph.h:
2679         * paragraph.C: remove owningBuffer(), don't pass Buffer
2680         to clone()
2681
2682         * factory.C: insetGraphicsParams changed
2683
2684 2003-06-02  John Levon  <levon@movementarian.org>
2685
2686         * LyXAction.C:
2687         * factory.C:
2688         * lfuns.h:
2689         * lyxfunc.C:
2690         * text3.C: remove insetparent
2691
2692 2003-06-02  John Levon  <levon@movementarian.org>
2693
2694         * buffer.h:
2695         * buffer.C: fix inset_iterator.end(), move out of line
2696         (bug 1149)
2697
2698 2003-06-01  John Levon  <levon@movementarian.org>
2699
2700         * text3.C: use a proper cut/paste when doing inset
2701         insert (from Jürgen Spitzmüller)
2702
2703 2003-06-01  John Levon  <levon@movementarian.org>
2704
2705         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2706
2707 2003-05-30  André Pönitz  <poenitz@gmx.net>
2708
2709         * rowpainter.C: unify second drawing phase
2710
2711 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2712
2713         * trans_mgr.C: remove one case of current_view
2714
2715         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2716
2717         * paragraph_funcs.h: remove paragraph.h include
2718
2719         * paragraph.h: delete NO_STD_LIST stuff
2720
2721         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2722
2723         * buffer.h: remove paragraph.h include
2724
2725         * ParagraphList.C: delete file
2726
2727         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2728
2729         * toc.C (getTocList): adjust
2730
2731         * paragraph_pimpl.C (validate): adjust
2732
2733         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2734
2735         * paragraph.C (Paragraph): adjust
2736         (getPositionOfInset): use const_iterator, adjust
2737         (bibitem): use const_iterator, adjust
2738         (setInsetOwner): adjust
2739
2740         * iterators.C (operator++): adjust
2741
2742         * InsetList.[Ch]: Replace selfmade iterator with standard
2743         vector::iterator also introduce const_iterator. Remove getPos,
2744         getInset and setInset from InsetTable. Adjust accordingly.
2745
2746         * BufferView.C (lockInset): adjust
2747         (ChangeInsets): adjust
2748
2749         * tabular.[Ch]: delete commented same_id functions
2750
2751 2003-05-28  John Levon  <levon@movementarian.org>
2752
2753         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2754
2755 2003-05-28  André Pönitz  <poenitz@gmx.net>
2756
2757         * metricsinfo.[Ch]: remove 'fullredraw' member
2758
2759 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2760
2761         * lyxtextclass.C (operator): remove caching.
2762
2763 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * text3.C: adjust
2766
2767         * text2.C (cursorBottom): adjust
2768         (setCounter): use ParagraphList::find, adjust
2769
2770         * text.C (workWidth): use ParagraphList::find, adjust
2771
2772         * lyxcursor.C (LyXCursor): adjust
2773
2774         * buffer.C (inset_iterator): adjust
2775
2776         * ParagraphList.h: make iterator(value_type) private, make
2777         ParagraphList a friend of iterator.
2778
2779         * ParagraphList.C (find): new function
2780
2781         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2782
2783 2003-05-27  André Pönitz  <poenitz@gmx.net>
2784
2785         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2786
2787 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2788
2789         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2790
2791 2003-05-26  John Levon  <levon@movementarian.org>
2792
2793         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2794
2795 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2796
2797         * remove same_id from function signatures, adjust.
2798
2799 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2802
2803         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2804
2805         * paragraph.C (Paragraph): get rid of same_ids parameter
2806
2807         * ParagraphList.C (insert): adjust
2808         (push_back): adjust
2809
2810 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2811
2812         * paragraph_funcs.C (breakParagraph): adjust
2813         (breakParagraphConservative): adjust
2814
2815         * buffer.C (readParagraph): adjust
2816
2817         * ParagraphList.C (insert): take a reference instead of a pointer
2818         (insert): adjust
2819
2820         * paragraph.[Ch] (id): new function
2821
2822         * bufferlist.C (newFile): adjust
2823
2824         * ParagraphList.C (ParagraphList): adjust
2825         (assign): adjust
2826         (push_back): take a reference instead of a pointer.
2827
2828         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2829
2830         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2831         instead.
2832
2833         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2834         set else use old code.
2835
2836         * ParagraphList.C: remove all NO_NEXT code and only compile this
2837         code of NO_STD_LIST is set.
2838
2839 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * BufferView_pimpl.C:
2842         * TextCache.C:
2843         * TextCache.h:
2844         * bufferlist.C:
2845         * errorlist.h:
2846         * format.C:
2847         * format.h:
2848         * graph.C:
2849         * lyxfunc.C:
2850         * lyxrc.C:
2851         * graphics/GraphicsConverter.C:
2852         * graphics/PreviewLoader.C: header adjustment
2853
2854 2003-05-23  Angus Leeming  <leeming@lyx.org>
2855
2856         * LaTeXFeatures.[Ch] (useBabel): new method.
2857         * bufferparams.C (writeLaTeX): use it.
2858
2859 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2860
2861         * ParagraphList.h (set): remove unused function.
2862
2863 2003-05-23  André Pönitz  <poenitz@gmx.net>
2864
2865         * BufferView.C:
2866         * BufferView_pimpl.C:
2867         * buffer.C:
2868         * buffer.h:
2869         * lyxfunc.C:
2870         * undo_funcs.C: setUndo reworked
2871
2872         * iterators.[Ch]: add access to topmost ParagraphList
2873
2874         * lyxtext.[Ch] (workWidth): add a const
2875
2876 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2877
2878         * texrow.[Ch] (increasePos): remove function
2879         * exporter.C (export): removed unused var and outdated comment
2880
2881 2003-05-23  Angus Leeming  <leeming@lyx.org>
2882
2883         * latexrunparams.h: rename fragile as moving_arg.
2884         * paragraph.C (simpleTeXOnePar): ditto.
2885         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2886
2887 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2890         (createUndo): ditto
2891         (textUndoOrRedo): comment out a currently unused var.
2892
2893         * paragraph.h (NO_NEXT): enable NO_NEXT
2894
2895         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2896
2897         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2898
2899         * exporter.C (Export): adjust for removeAutoInsets removal.
2900
2901         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2902
2903         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2904
2905         * BufferView.[Ch] (removeAutoInsets): delete function
2906
2907 2003-05-22  Angus Leeming  <leeming@lyx.org>
2908
2909         * latexrunparams.h: add a free_spacing variable.
2910
2911         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2912         to pass moving_arg, as the data is stored in runparams.fragile.
2913
2914         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2915         to Inset::latexOptional or to simpleTeXOnePar.
2916
2917         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2918         free_spacing arg to Inset::latexOptional.
2919
2920         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2921         free_spacing arg.
2922
2923 2003-05-22  Angus Leeming  <leeming@lyx.org>
2924
2925         * latexrunparams.h: add fragile and use_babel variables.
2926
2927         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2928         * buffer.C (makeLaTeXFile): store this returned value in
2929         runparams.use_babel, thus passing it to the inset::latex methods.
2930
2931         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2932         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2933
2934         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2935         longer has a fragile arg, as it is stored in runparams.fragile.
2936
2937         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2938         moving_arg parameter as the data is stored in runparams.fragile.
2939
2940         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2941         a fragile parameter as the data is stored in runparams.fragile.
2942
2943 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2944
2945         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2946
2947 2003-05-22  Angus Leeming  <leeming@lyx.org>
2948
2949         * latexrunparams.h: add a 'bool nice' which defaults to false.
2950
2951         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2952         now encapsulated within runparams.
2953
2954         * bufferlist.C (updateIncludedTeXfiles):
2955         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2956
2957 2003-05-22  Angus Leeming  <leeming@lyx.org>
2958
2959         * latexrunparams.h: new file containing struct LatexRunParams.
2960         * Makefile.am: add new file.
2961
2962         * LaTeX.[Ch] (c-tor, run):
2963         * buffer.[Ch] (makeLaTeXFile):
2964         * bufferlist.[Ch] (updateIncludedTeXfiles):
2965         * converter.C (convert, scanLog):
2966         * converter.[Ch] (runLaTeX):
2967         * exporter.C (Export):
2968         * paragraph.[Ch] (simpleTeXOnePar):
2969         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2970         * paragraph_funcs.[Ch] (latexParagraphs):
2971         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2972         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2973         pass around a LatexRunParams parameter.
2974
2975 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2976
2977         * paragraph.[Ch]: remove unused constructor
2978
2979         * ParagraphList.C (erase): new function, taking two iterators
2980
2981 2003-05-22  André Pönitz  <poenitz@gmx.net>
2982
2983         * undo_funcs.C: remove duplicated code
2984
2985         * iterator.[Ch]: operator=
2986
2987 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * tabular.C (SetMultiColumn): ws changes
2990
2991         * rowpainter.C (paintFirst): get rid of a ->previous
2992
2993         * lyx_cb.C (getPossibleLabel): parlist simplification
2994
2995         * BufferView.C (ChangeInsets): simplify slightly.
2996
2997 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2998
2999         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3000         * lfuns.h: new LFUN_SPACE
3001         * lyxfunc.C: protected space has a new lfun
3002         * paragraph_funcs.C: read new space insets
3003         * text3.C:
3004         * factory.C: handle new space insets
3005
3006 2003-05-22  André Pönitz  <poenitz@gmx.net>
3007
3008         * BufferView.C:
3009         * BufferView_pimpl.C:
3010         * buffer.[Ch]:
3011         * lyxfunc.C:
3012         * undo_funcs.C: return a ParIterator from getParFromID.
3013
3014         * iterators.[Ch]: add two const's
3015
3016 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3017
3018         * toc.C (getTocList): adjust
3019
3020         * iterators.[Ch]: rework for parlist
3021
3022         * buffer.C (par_iterator_begin): adjust
3023         (par_iterator_end): adjust
3024
3025         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3026
3027         * BufferView.C (removeAutoInsets): adjust
3028         (ChangeInsets): adjust
3029
3030 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * text.C (top_y): fix bug 1110
3033
3034 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3035
3036         * errorlist.[Ch]: added
3037         * buffer.C:
3038         * BufferView.[Ch]:
3039         * BufferView_pimpl.C:
3040         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3041         instead
3042
3043 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * Makefile.am: ensure that lyx is relinked upon changes to the
3046         various "convenience" libs.
3047
3048 2003-05-20  Angus Leeming  <leeming@lyx.org>
3049
3050         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3051         files are compiled in alphabetical order again.
3052
3053         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3054
3055 2003-05-19  Angus Leeming  <leeming@lyx.org>
3056
3057         * gettext.[Ch]: remove "char const * _(char const *)".
3058
3059 2003-05-19  André Pönitz  <poenitz@gmx.net>
3060
3061         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3062
3063         * Makefile.am:
3064         * BufferView.C:
3065         * DepTable.h:
3066         * LaTeXFeatures.C:
3067         * buffer.C:
3068         * lyxfont.C:
3069         * lyxlex.h:
3070         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3071
3072 2003-05-19  André Pönitz  <poenitz@gmx.net>
3073
3074         * buffer.C:
3075         * lyxlayout.[Ch]:
3076         * lyxtextclass.[Ch]:
3077         * paragraph.C:
3078         * paragraph_funcs.[Ch]:
3079         * text2.C:
3080         * text3.C: more insetenv work
3081
3082 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3083
3084         * ParagraphParameters.C (params2string): small bug fixed
3085
3086 2003-05-16  André Pönitz  <poenitz@gmx.net>
3087
3088         * debug.C:
3089         * bufferview_funcs.C: patch from Kornel Benko to prevent
3090           crash when _(...) is called twice in a statement
3091
3092 2003-05-16  André Pönitz  <poenitz@gmx.net>
3093
3094         * BufferView.C:
3095         * lyxfunc.C:
3096         * text.C:
3097         * text2.C:
3098         * text3.C:
3099         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3100
3101 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3102
3103         * lyx_main.C (init): remove spurious static_cast
3104
3105 2003-05-14  André Pönitz  <poenitz@gmx.net>
3106
3107         * BufferView.C: fix format string
3108
3109 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3110
3111         * BufferView.[Ch] (insertErrors): removed
3112         * BufferView.[Ch] (showErrorList): added
3113         * buffer.C (runChkTeX):
3114         * converter.C (scanLog): call showErrorList instead of inserterrors
3115
3116 2003-05-13  André Pönitz  <poenitz@gmx.net>
3117
3118         * BufferView_pimpl.C:
3119         * buffer.C:
3120         * bufferview_func.C:
3121         * MenuBackend.C:
3122         * lyxfunc.C:
3123         * lyxrc.C:
3124         * tex-accent.C:
3125         * text3.C:
3126         * toc.C:
3127         * tabular_funcs.h: tostr() from its own header
3128
3129         * ParagraphParameters.C:
3130         * ToolbarBackend.C:
3131         * bufferparams.C:
3132         * format.C:
3133         * lyxlex_pimpl.C:
3134         * text3.C: STRCONV()
3135
3136 2003-05-12  André Pönitz  <poenitz@gmx.net>
3137
3138         * BufferView.C:
3139         * BufferView_pimpl.C:
3140         * CutAndPaste.C:
3141         * LaTeX.C:
3142         * LaTeXFeatures.C:
3143         * ParagraphParameters.C:
3144         * buffer.C:
3145         * bufferlist.C:
3146         * bufferparams.C:
3147         * bufferview_funcs.C:
3148         * converter.C:
3149         * counters.C:
3150         * debug.C:
3151         * exporter.C:
3152         * format.C:
3153         * importer.C:
3154         * lyx_cb.C:
3155         * lyx_main.C:
3156         * lyxfont.C:
3157         * lyxfunc.C:
3158         * lyxvc.C:
3159         * paragraph.C:
3160         * paragraph_funcs.C:
3161         * tabular.C:
3162         * tabular_funcs.C:
3163         * text2.C:
3164         * text3.C:  boost::format -> bformat  all over the place
3165
3166
3167 2003-05-09  André Pönitz  <poenitz@gmx.net>
3168
3169         * LColor.[Ch]: Pimpl the #include <map> away
3170
3171 2003-05-09  John Levon  <levon@movementarian.org>
3172
3173         * bufferlist.C: never remove emergency saves
3174
3175 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * Makefile.am: better lib building
3178
3179 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3182         instead.
3183         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3184         (simpleTeXSpecialChars): adjust
3185         (simpleTeXSpecialChars): adjust
3186         * paragraph.C (simpleTeXOnePar): adjust
3187         * buffer.C (makeLaTeXFile): adjust
3188
3189         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3190
3191         * text2.C (changeDepth): parlist cleanup
3192         (getColumnNearX): ditto
3193
3194         * rowpainter.C (getLabelFont): parlist cleanup
3195
3196         * bufferlist.C (newFile): parlist cleanup
3197
3198         * CutAndPaste.C (eraseSelection): parlist cleanup
3199
3200         * BufferView_pimpl.C (trackChanges): parlist cleanup
3201         (dispatch): ditto
3202
3203         * BufferView.C (lockInset): parlist cleanup.
3204         (ChangeInsets): ditto
3205
3206 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * CutAndPaste.h: Update file header.
3209
3210         * CutAndPaste.C: Update file header.
3211         Store the parts cut out of the Document in a limited_stack.
3212         (copySelection): adjust
3213         (pasteSelection): new function, takes the index in the limited stack.
3214         (nrOfParagraphs): adjust
3215         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3216         simplify error inset insertion.
3217         (checkPastePossible): adjust
3218
3219 2003-05-06  John Levon  <levon@movementarian.org>
3220
3221         * text2.C: don't cast wrap inset to float
3222
3223 2003-05-05  André Pönitz  <poenitz@gmx.net>
3224
3225         * iterator.C:
3226         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3227
3228         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3229           few naked Paragraph *.
3230
3231 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3232
3233         * bufferparams.C: Output warning if a document with missing
3234         TeX document class is loaded
3235         * exporter.C: Disable TeX exports if the document class is missing
3236         * lyxtextclass.C:
3237         * lyxtextclass.h:
3238         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3239         isTeXClassAvailable()
3240
3241 2003-05-03  John Levon  <levon@movementarian.org>
3242
3243         * BufferView.h:
3244         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3245         explicit cursor show/hide
3246
3247         * BufferView_pimpl.h:
3248         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3249         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3250
3251         * lyxfunc.C: hide cursor before dispatching.
3252
3253         * lyx_cb.C:
3254         * lyxfind.C:
3255         * text.C:
3256         * text3.C: remove explicit cursor hides
3257
3258 2003-05-02  André Pönitz  <poenitz@gmx.net>
3259
3260         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3261
3262         * undo_funcs.C:
3263         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3264           linked lists
3265
3266         * text2.C: tiny whitespace
3267
3268 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * undo_funcs.C: almost only ws changes.
3271
3272         * ParagraphList.C (splice): just return if pl is empty.
3273
3274 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * ParagraphList.C (splice): new function.
3277
3278         * CutAndPaste.C (pasteSelection): use it
3279
3280 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3281
3282         * CutAndPaste.C (pasteSelection): remove the last next and
3283         previous from this file.
3284
3285 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * CutAndPaste.C (pasteSelection): more clean up, user proper
3288         ParagraphList functions for pasteing.
3289
3290         * ParagraphList.C (insert): new function, three arg insert
3291
3292 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * ParagraphList.C (insert): new function, three arg insert
3295
3296         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3297         not on paragraphs.
3298
3299 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3300
3301         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3302
3303 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3306
3307 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3308
3309         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3310         (copySelection): clean up a bit.
3311         (pasteSelection): use make_pair
3312
3313         * ParagraphList.C (ParagraphList): implement copy constructor
3314         (operator=): implement, base on copy constructor.
3315         (assign): new func
3316
3317         * paragraph.C (erase): return a bool
3318
3319         * paragraph_pimpl.C (erasePos): remove function, move contents...
3320         (erase): ... here. Return a bool.
3321         (erase): call erase instead of erasePos.
3322
3323 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3324
3325         * ParagraphList.h: define PitPosPair
3326         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3327         ParagraphList, fix a bug on pasting multiple pars
3328         * text2.C: change interface to C&P
3329
3330 2003-04-30  André Pönitz  <poenitz@gmx.net>
3331
3332         * undo_func.C: revert part of yesterday's patch 2
3333
3334 2003-04-30  John Levon  <levon@movementarian.org>
3335
3336         * LColor.C: s/tabular/table/
3337
3338 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3339
3340         * text3.C (dispatch): do not convert iterator -> pointer
3341         * undo_funcs.C (setCursorParUndo): ditto
3342         * text_funcs.C (transposeChars): ditto
3343
3344         * text2.C (setLayout): ws changes only
3345
3346         * text.C (breakParagraph): do not convert iterator -> pointer
3347         (insertChar): ditto
3348         (acceptChange): ditto
3349         (rejectChange): ditto
3350         (changeCase): ditto
3351         (Delete): ditto
3352         (backspace): ditto
3353
3354         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3355         pointer
3356
3357 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3358
3359         * text3.C (gotoInset): YABG (yet another bad getChar)
3360
3361 2003-04-29  André Pönitz  <poenitz@gmx.net>
3362
3363         * paragraph.h: make operator= private unimplemented as long as
3364           it is unusable
3365
3366         * ParagraphList.C: whitespace
3367
3368         * paragraph.[Ch]:
3369         * paragraph_pimpl.[Ch]:
3370         * paragraph_funcs.C:
3371         * CutAndPaste.C:
3372         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3373
3374         * text2.C:
3375           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3376
3377 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3380         * paragraph.[Ch] (erase):
3381         * paragraph_pimpl.[Ch] (erase): change return type and value
3382         * text2.C (cutSelection): some rework
3383
3384 2003-04-28  John Levon  <levon@movementarian.org>
3385
3386         * bufferlist.C: changes for unsaved changes dialog
3387
3388 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3389
3390         * bufferlist.C (newFile): set language (messages_) for new
3391         documents also.
3392
3393         * buffer.C (readFile): ws changes only.
3394
3395 2003-04-28  André Pönitz  <poenitz@gmx.net>
3396
3397         * undo_funcs.C:
3398         * lyxfunc.C:
3399         * buffer.[Ch]:
3400         * BufferView_pimpl.C:
3401         * BufferView.C: getParFromID related ParagraphList::iterator changes
3402
3403 2003-04-28  André Pönitz  <poenitz@gmx.net>
3404
3405         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3406           Changes
3407
3408 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3409
3410         * messages.C: remove one more localedir class variable.
3411
3412 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3413
3414         * messages.C (getLocaleDir): singleton generation function
3415         (Pimpl): use it.
3416         (Messages): add a default constructor.
3417
3418         * main.C (main): do not setup localedir here, do not call
3419         gettext_init.
3420
3421         * gettext.C (_): use it.
3422         (gettext_init): delete funciton
3423
3424 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * gettext.C (getLyXMessages): new singleton generating function.
3427
3428         * buffer.C (updateDocLang): adjust
3429
3430         * Makefile.am (messages.o): add target
3431         (main.o): remove target
3432
3433 2003-04-27  John Levon  <levon@movementarian.org>
3434
3435         * bufferlist.C:
3436         * lyx_cb.C:
3437         * lyxfunc.C:
3438         * lyxvc.C: specify cancel button in Alert::prompt
3439
3440 2003-04-26  John Levon  <levon@movementarian.org>
3441
3442         * text3.C:
3443         * lyxfunc.C:
3444         * lfuns.h:
3445         * LyXAction.C: add LFUN_INSET_SETTINGS
3446
3447         * lyxfunc.C: don't enable tabular-feature when there's
3448         just any locking inset
3449
3450 2003-04-26  John Levon  <levon@movementarian.org>
3451
3452         * bufferlist.C: re-add Cancel to buffer close question
3453
3454         * lyxfunc.C: fix import UI a bit
3455
3456 2003-04-25  John Levon  <levon@movementarian.org>
3457
3458         * gettext.C: remove the broken asserts for now
3459
3460 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * messages.C: make case where setlocale cannot comply work better.
3463
3464         * buffer.C (updateDocLang): new function
3465         (changeLanguage): use it
3466         (readFile): use it
3467
3468         * text2.C (setCounter): use B_ a bit.
3469
3470         * lyxlayout.C (Read): be sure to trim the label strings.
3471
3472         * messages.C (Messages): fix typo in comment
3473
3474         * buffer.C (readFile): set message_ after file is loaded.
3475         (makeDocBookFile): remove double return
3476         (changeLanguage): reset message_ upon language change.
3477         (B_): new func, use this to get translated buffer strings.
3478
3479         * main.C: add myself and Jean Marc as authors.
3480
3481 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * messages.[hC]: pimplify Messages, and three different pimpls to be
3484         used in different circumstances.
3485
3486         * gettext.[Ch]: change for use with new message code.
3487
3488 2003-04-24 André Pönitz <poenitz@gmx.net>
3489
3490         * factory.C: support for eqref
3491
3492 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3493
3494         * messages.[Ch]: add missing char
3495
3496         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3497
3498         * messages.[Ch]: New files
3499
3500 2003-04-18  John Levon  <levon@movementarian.org>
3501
3502         * BufferView.h:
3503         * BufferView.C:
3504         * BufferView_pimpl.C:
3505         * lfuns.h:
3506         * LyXAction.C:
3507         * lyxtext.h:
3508         * text2.C: remove layout-copy/paste (bug 778)
3509
3510 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3511
3512         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3513
3514 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3515
3516         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3517         if they succeed. Act accordingly.
3518
3519 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * text2.C (setCharFont): adjust
3522         (setCounter): adjust
3523         (insertStringAsLines): adjust
3524
3525         * text.C (leftMargin): adjust
3526         (setHeightOfRow): adjust
3527
3528         * rowpainter.C (paintFirst): adjust
3529         (paintLast): adjust
3530
3531         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3532         (outerHook): ditto
3533         (isFirstInSequence): ditto
3534         (getEndLabel): ditto
3535         (outerFont): adjust
3536
3537         * paragraph.C (getParLanguage): comment out some hard stuff.
3538
3539         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3540         (sgmlError): ditto
3541         (simpleDocBookOnePar): ditto
3542         (makeDocBookFile): use ParagraphList::iterator
3543
3544         * CutAndPaste.C (pasteSelection): adjust
3545
3546 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * text2.C (getFont): adjust
3549         (getLayoutFont): adjust
3550         (getLabelFont): adjust
3551
3552         * paragraph_funcs.C (TeXOnePar): adjust
3553
3554         * buffer.C (simpleLinuxDocOnePar): adjust
3555         (simpleDocBookOnePar): adjust
3556
3557         * CutAndPaste.C (pasteSelection): adjust
3558
3559         * BufferView.C (getEncoding): adjust
3560
3561         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3562
3563 2003-04-16  John Levon  <levon@movementarian.org>
3564
3565         * lyxfind.C: use parlist stuff for search/changes
3566
3567 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3570
3571         * text2.C (deleteEmptyParagraphMechanism): adjust
3572
3573         * text2.[Ch] (ownerParagraph): delete func (both of them
3574
3575 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3576
3577         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3578
3579 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3580
3581         * ParagraphList.C: prepare for NO_NEXT
3582
3583 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3584
3585         * text2.C (getFont): adjust
3586         (getLayoutFont): adjust
3587         (getLabelFont): adjust
3588
3589         * paragraph.C (getFont): adjust
3590         (getLabelFont): adjust
3591         (getLayoutFont): adjust
3592
3593         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3594
3595 2003-04-15  John Levon  <levon@movementarian.org>
3596
3597         From Angus Leeming
3598
3599         * lyx_main.C: handle Include in .ui files
3600
3601 2003-04-15  John Levon  <levon@movementarian.org>
3602
3603         * MenuBackend.C: make the doc files length shorter
3604
3605         * ToolbarBackend.h:
3606         * ToolbarBackend.C: handle toolbar placement flags,
3607         Minibuffer
3608
3609 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3612         adjust
3613
3614         * paragraph_funcs.C (TeXOnePar): adjust
3615
3616         * paragraph.C (getLabelFont): add outerfont arg, adjust
3617         (getLayoutFont): ditto
3618         (simpleTeXOnePar): adjust
3619
3620         * paragraph_pimpl.C (realizeFont): delete func
3621
3622 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3623
3624         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3625         row argument, constify cur argument.
3626
3627 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3628
3629         * text2.C (getFont): adjust
3630         (getLayoutFont): adjust
3631         (getLabelFont): adjust
3632
3633         * paragraph_funcs.C (TeXOnePar): adjust
3634         (outerFont): new func...
3635         (realizeFont): ...moved out from here, changed this to facilitate
3636         transition
3637
3638         * paragraph.C (getFont): take outerfont as arg, adjust
3639         (simpleTeXOnePar): add outerfont arg, adjust
3640
3641         * buffer.C (simpleLinuxDocOnePar): adjust
3642         (simpleDocBookOnePar): adjust
3643
3644         * CutAndPaste.C (pasteSelection): adjust
3645
3646         * BufferView.C (getEncoding): adjust
3647
3648 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3649
3650         * text2.C (setCharFont): adjust
3651         (setCounter): adjust
3652
3653         * text.C (leftMargin): adjust
3654         (setHeightOfRow): adjust
3655
3656         * rowpainter.C (paintFirst): adjust
3657         (paintLast): adjust
3658
3659         * paragraph_pimpl.C (realizeFont): adjust
3660
3661         * paragraph.C (isFirstInSequence): move from here...
3662         * paragraph_funcs.C (isFirstInSequence): ...to here
3663
3664         * paragraph.C (outerHook): move from here...
3665         * paragraph_funcs.C (outerHook): ...to here
3666
3667         * paragraph.C (depthHook): move from here...
3668         * paragraph_funcs.C (depthHook): ...to here
3669
3670         * paragraph.C (getEndLabel): move from here...
3671         * paragraph_funcs.C (getEndLabel): ...to here
3672
3673         * text2.C (realizeFont): move from here...
3674         * paragraph_funcs.C (realizeFont): ...to here
3675
3676 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3679
3680 2003-04-14  Angus Leeming  <leeming@lyx.org>
3681
3682         * LColor.[Ch]: scrap LColor mathcursor.
3683
3684 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * lyxlex.[Ch] (text): delete function
3687         * trans.C (Load): adjust
3688         * paragraph_funcs.C (readParToken): adjust
3689
3690 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3693         vector<char> instead of a char[].
3694
3695         * lyxlex_pimpl.C (getString): adjust
3696         (next): adjust
3697         (lex): use getString
3698         (eatLine): adjust
3699         (nextToken): adjust
3700
3701         * lyxlex.C (text): use pimpl_->getString()
3702         (getBool): ditto
3703         (findToken): ditto
3704
3705 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3706
3707         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3708         (makeFontEntriesLayoutSpecific): temp var for par.size()
3709         (setLayout): temp var for ownerParagraphs().end()
3710         (fullRebreak): temp var for rows().end()
3711         (selectionAsString): temp var for boost::next(startpit), realize
3712         that the while really is a regular for loop.
3713         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3714         setCursor in one place.
3715         (setParagraph): temp vr for ownerParagraphs().end()
3716         (updateCounters): make the while loop a for loop
3717         (cutSelection): temp var for ownerParagraphs().end()
3718         (updateInset): make the do {} while() a regular for loop
3719         (getCursorX): use temp vars
3720         (setCurrentFont): use temp vars
3721         (getColumnNearX): use temp vars
3722
3723 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * text.C (transformChar): use temp var for getChar
3726         (computeBidiTables): use temp var for row->par()
3727         (fill): move temp vars for row->par() and pit->layout() earlier in
3728         the function.
3729         (labelFill): use temp var for row->par()
3730         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3731         asc and desc, realize that pit never changes and that firstpit is
3732         just a duplicate and not needed. Exchange rit->par() with pit in a
3733         lot of places.
3734         (breakAgain): use a temp var for boost::next(rit)
3735         (breakAgainOneRow): ditto
3736         (breakParagraph): use a temp var for rows().begin()
3737         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3738         (cursorRightOneWord): use temp var for cursor.par() and
3739         cursor.pos(), remove usage of tmpcursor.
3740         (cursorLeftOneWord): use temp var for cursor.par() and
3741         cursor.pos() only set cur at end of function.
3742
3743 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3744
3745         * text.C, text2.C: exchange all usage of Paragraph::next with
3746         boost::next(ParagraphList::iterator)
3747
3748         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3749
3750         * text2.C (cursorTop): simplify implementation
3751         (cursorBottom): ditto
3752         (setParagraph): use ParagraphList::iterator
3753         (setCurrentFont): adjust
3754         (getColumnNearX): adjust
3755         (cursorRight): adjust
3756         (cursorLeft): remove usage of Paragraph::previous
3757         (cursorUpParagraph): ditto
3758         (deleteEmptyParagraphMechanism): slight cleanup
3759
3760         * text.C (isBoundary): take a Paragraph const & instead of a
3761         pointer as arg.
3762         (addressBreakPoint): ditto
3763         (leftMargin): remove usage of Paragraph::previous.
3764         (setHeightOfRow): ditto
3765         (cursorLeftOneWord): ditto
3766         (selectNextWordToSpellcheck): ditto
3767         (Delete): ditto
3768         (backspace): ditto
3769         (breakParagraph): remove one usage of Paragraph::next
3770         (redoParagraph): ditto
3771         (acceptChange): ditto
3772         (insertChar): adjust
3773         (rowBreakPoint): adjust
3774
3775         * bufferview_funcs.C (toggleAndShow): adjust
3776
3777 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3778
3779         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3780         methods to access it.
3781         * lyxtext.h:
3782         * text.C: Added updateRowPositions to compute all row positions.
3783         Make top_y and getRowNearY() to use the cached y position
3784
3785 2003-04-11  John Levon  <levon@movementarian.org>
3786
3787         * text.C (rowBreakPoint): reintroduce the labelEnd
3788         checks, code copied from the row fill stuff. Deep voodoo.
3789
3790         * text.C (fill): add a comment and debugging for the
3791         next poor soul.
3792
3793 2003-04-11  John Levon  <levon@movementarian.org>
3794
3795         * text.C: make sure fullrow insets get wrapped to the next line,
3796         even when they're in a manual label
3797
3798 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * text2.C (insertParagraph): make it take ParagraphList::iterator
3801         as arg.
3802         (setLayout): make it return ParagraphList::iterator
3803         (redoParagraphs): ditto
3804         (setCounter): ditto
3805         (checkParagraph): ditto
3806
3807         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3808
3809         * text2.C: adjust several funcs.
3810         (realizeFont): take a ParagraphList::iterator as arg.
3811         (getLayoutFont): ditto
3812         (getLabelFont): ditto
3813         (setCharFont): ditto
3814
3815         * text.C: adjust several funcs.
3816
3817 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * text.C (selectNextWordToSpellcheck): don't accidentally
3820         skip insets
3821
3822 2003-04-10  John Levon  <levon@movementarian.org>
3823
3824         * ToolbarBackend.C (getIcon): special handling for
3825         LFUN_MATH_DELIM
3826
3827 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3828
3829         * text2.C (cursorRight): a getChar assert fixed
3830
3831 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3832
3833         * text2.C (getFont): change to take a ParagraphList::iterator
3834         instead of Paragraph*
3835         Adjust several functions.
3836
3837         * text.C (transformChar): change to take a ParagraphList::iterator
3838         instead of Paragraph*
3839         (singleWidth): ditto
3840         Adjust several functions.
3841
3842         * rowpainter.C: adjust several functions
3843         * rowpainter.h:store a ParagraphList::iterator and not a
3844         Paragraph&.
3845
3846
3847 2003-04-09  John Levon  <levon@movementarian.org>
3848
3849         * lyxfunc.C:
3850         * lfuns.h:
3851         * LyXAction.h:
3852         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3853         and the "help" bits as well
3854
3855 2003-04-09  John Levon  <levon@movementarian.org>
3856
3857         * ToolbarBackend.h:
3858         * ToolbarBackend.C: allow multiple toolbars
3859
3860 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * undo_funcs.C (setCursorParUndo): adjust
3863
3864         * text_funcs.C (transposeChars): adjust
3865
3866         * text3.C (gotoNextInset): adjust
3867         (dispatch): adjust
3868
3869         * text2.C (setLayout): adjust
3870         (changeDepth): adjust
3871         (setFont): adjust
3872         (redoParagraphs): adjust
3873         (selectionAsString): adjust
3874         (setParagraph): adjust
3875         (insertInset): adjust
3876         (cutSelection): adjust
3877         (copySelection): adjust
3878         (pasteSelection): adjust
3879         (insertStringAsLines): adjust
3880         (updateInset): adjust
3881         (setCursor): change to take a ParagraphList::iterator parameter
3882         (setCursorIntern): change to take a ParagraphList::iterator parameter
3883         (setCurrentFont): adjust
3884         (cursorLeft): adjust
3885         (cursorRight): adjust
3886         (deleteEmptyParagraphMechanism): adjust
3887
3888         * text.C (breakParagraph): adjust
3889         (insertChar): adjust
3890         (acceptChange): adjust
3891         (rejectChange): adjust
3892         (selectNextWordToSpellcheck): adjust
3893         (changeCase): adjust
3894         (Delete): adjust
3895         (backspace): adjust
3896
3897         * lyxfind.C (SearchForward): adjust
3898         (SearchBackward): adjust
3899         (nextChange): adjust
3900
3901         * lyxcursor.C (par): adjust
3902
3903         * lyxcursor.h: store a ParagraphList::iterator instead of a
3904         Paragraph*
3905
3906         * lyx_cb.C (getPossibleLabel): adjust
3907
3908         * bufferview_funcs.C (toggleAndShow): adjust
3909
3910         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3911         (dispatch): adjust
3912
3913         * BufferView.C (removeAutoInsets): adjust
3914         (lockedInsetStoreUndo): adjust
3915
3916 2003-04-09  John Levon  <levon@movementarian.org>
3917
3918         * ToolbarBackend.C: try icon without argument
3919         if with argument fails
3920
3921 2003-04-08  John Levon  <levon@movementarian.org>
3922
3923         * ToolbarBackend.h:
3924         * ToolbarBackend.C: add getIcon(), handle tooltip,
3925         and change from "Icon" to "Item".
3926
3927 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3928
3929         * BufferView.C (lockInset): another bad getchar crunched
3930
3931 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3932
3933         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3934         again)
3935
3936 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3937
3938         * lyxfind.C (searchForward, searchBackwards): bug 782
3939
3940 2003-04-07  John Levon  <levon@movementarian.org>
3941
3942         * paragraph.C: remove dead comment
3943
3944         * text.C: remove troublesome depth-fiddling code
3945         in leftMargin() and rightMargin() (bug 1017)
3946
3947         * text.C: fix breaking of rows in nested lists
3948         (bug 1004)
3949
3950         * text2.C (updateCounters): fix up depth values
3951         (bug 1013)
3952
3953 2003-04-07  John Levon  <levon@movementarian.org>
3954
3955         * BufferView_pimpl.C: clear message when doc finishes resizing,
3956         and after a mouse event
3957
3958         * lyxfunc.C: clear message after exiting inset
3959
3960 2003-04-07  John Levon  <levon@movementarian.org>
3961
3962         * bufferview_funcs.C: show math status not outside
3963         status in the statusbar
3964
3965 2003-04-07  John Levon  <levon@movementarian.org>
3966
3967         * lyxfunc.C: note status changed after a depth change
3968
3969 2003-04-04  Angus Leeming  <leeming@lyx.org>
3970
3971         * LaTeX.h: move AuxInfo operator==, != out of line.
3972         Remove LaTeX virtual destructor; nothing derives from it.
3973         Move operator()() out of public area and rename it startscript().
3974         Change protected for private.
3975
3976 2003-04-04  Angus Leeming  <leeming@lyx.org>
3977
3978         * lyxfunc.C:
3979         * text2.C: remove unneeded #includes.
3980
3981 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3982
3983         * text2.C (dEPM): fix the heigth of the next row
3984
3985 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3986
3987         * text.C: squashed an invalid getChar requester + some ws changes
3988
3989 2003-04-03  John Levon  <levon@movementarian.org>
3990
3991         * bufferview_funcs.h:
3992         * bufferview_funcs.C:
3993         * lyxfunc.C:
3994         * lyxtext.h:
3995         * text2.C: make getStatus work for the env depth lfuns
3996
3997 2003-04-03  John Levon  <levon@movementarian.org>
3998
3999         * bufferview_funcs.h:
4000         * bufferview_funcs.C:
4001         * lyxfunc.C:
4002         * lyxtext.h:
4003         * text2.C: parlistize decDepth(), by merging it with incDepth()
4004
4005 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * lyxrow.h: store a ParagraphList::iterator instead of a
4008         Paragraph* and adjust other class functions to suit.
4009
4010         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4011         above.
4012
4013 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4014
4015         * text2.C (setCursor): do not anchor to cursor row for the time being
4016
4017 2003-04-02  John Levon  <levon@movementarian.org>
4018
4019         * LyXAction.C:
4020         * lfuns.h:
4021         * lyx_main.C:
4022         * lyxtext.h:
4023         * text.C:
4024         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4025
4026 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * paragraph.h: make ParagraphList and ParagraphList::iterator
4029         friends of Paragraph.
4030
4031         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4032
4033         * ParagraphList.C: Use the private next_ and previous_ from
4034         Paragraph.
4035
4036 2003-04-01  John Levon  <levon@movementarian.org>
4037
4038         * ToolbarBackend.h:
4039         * ToolbarBackend.C:
4040         * Makefile.am: rename, remove defaults gunk
4041
4042         * MenuBackend.h:
4043         * MenuBackend.C: remove defaults gunk
4044
4045         * Languages.h:
4046         * Languages.C: remove defaults gunk
4047
4048         * lyx_main.h:
4049         * lyx_main.C: error out if files couldn't be found.
4050
4051 2003-04-02  John Levon  <levon@movementarian.org>
4052
4053         * text2.C: make incDepth() use parlist
4054
4055 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * undo_funcs.C (firstUndoParagraph): adjust
4058
4059         * text3.C (gotoInset): adjust
4060         (dispatch): adjust, and rewrite loop.
4061
4062         * text2.C (init): adjust, and rewrite loop.
4063         (redoParagraphs): adjust
4064         (updateInset): adjust, and rewrite loop.
4065         (deleteEmptyParagraphMechanism): adjust
4066
4067         * tabular.C (LyXTabular): adjust
4068         (SetMultiColumn): adjust
4069         (TeXRow): adjust
4070
4071         * lyxtext.[Ch] (ownerParagraph): delete function
4072         (ownerParagraphs): new function returns a ParagraphList.
4073
4074         * BufferView.C (removeAutoInsets): adjust
4075         (insertErrors): adjust
4076         (setCursorFromRow): adjust
4077
4078 2003-04-01  Angus Leeming  <leeming@lyx.org>
4079
4080         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4081         in the frontends.
4082
4083 2003-04-02  John Levon  <levon@movementarian.org>
4084
4085         * lyxtext.h:
4086         * text.C:
4087         * Makefile.am:
4088         * text_funcs.h:
4089         * text_funcs.C: make transposeChars a free function
4090
4091         * lyxrow_funcs.C: remove wrong comment
4092
4093 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4094
4095         * lyxtext.h: adjust
4096         * rowpainter.C: adjust
4097         * text.C: adjust
4098         * text2.C: adjust
4099         * text3.C: adjust
4100
4101         * lyxrow_funcs. [Ch]: new files
4102
4103         * lyxrow.[Ch]: remove next and previous pointers
4104         (next,previous): remove accessor functions
4105         (isParEnd): move to lyxrow_funcs
4106         (lastPos): move to lyxrow_funcs
4107         (nextRowIsAllInset): move to lyxrow_funcs
4108         (lastPrintablePos): move to lyxrow_funcs
4109         (numberOfSeparators): move to lyxrow_funcs
4110         (numberOfHfills): move to lyxrow_funcs
4111         (numberOfLabelHfills): move to lyxrow_funcs
4112         (hfillExpansion): move to lyxrow_funcs
4113
4114         * lyxfunc.C: adjust
4115
4116         * bufferview_funcs.C (toggleAndShow): adjust
4117
4118         * RowList.h: Remove class RowList from file leave just a
4119         std::list<Row>.
4120
4121         * RowList.C: delete file
4122
4123         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4124         and lyxrow_funcs.h
4125
4126 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4127
4128         * text3.C (cursorPrevious): adjust
4129         (cursorNext): adjust
4130         (dispatch): adjust
4131
4132         * text2.C (redoHeightOfParagraph): adjust
4133         (redoDrawingOfParagraph): adjust
4134         (setCursor): adjust
4135
4136         * text.C (breakParagraph): adjust
4137         (insertChar): adjust
4138         (backspace): adjust
4139
4140         * rowpainter.C (RowPainter): adjust
4141         (leftMargin): simplify and adjust
4142         (most rowpainter functions): adjust.
4143
4144         * rowpainter.h: store the row as RowList::iterator not as Row*
4145
4146         * lyxcursor.C (row): taka RowList::iterator as arg
4147         (irow): ditto
4148
4149         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4150         of Row*.
4151
4152 2003-04-01  Angus Leeming  <leeming@lyx.org>
4153
4154         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4155         stuff like bool Bool.
4156
4157 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4160         rewrite a loop
4161
4162 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4165         RowList::iterator.
4166
4167         * lyxtext.h (rows): drop one version and leve a const variant that
4168         returns a RowList::iterator.
4169
4170 2003-03-31  Angus Leeming  <leeming@lyx.org>
4171
4172         * text.C (fill): ensure that the signature is the same as that in the
4173         header file.
4174
4175 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * text2.C (redoParagraphs): adjust
4178         (updateCounters): adjust
4179         (checkParagraph): adjust
4180         (getColumnNearX): adjust and reformat a bit.
4181
4182         * text.C (top_y): adjust
4183         (workWidth): adjust
4184         (leftMargin): adjust
4185         (prepareToPrint): adjust
4186         (getRow): adjust
4187         (getRowNearY): adjust
4188
4189         * lyxtext.h: make rowlist_ mutable.
4190
4191         * RowList.h: add const_iterator
4192         * RowList.C: adjust for RowList::const_iterator.
4193
4194         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4195         adjust.
4196
4197 2003-03-31  John Levon  <levon@movementarian.org>
4198
4199         * lyxrc.h:
4200         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4201
4202         * lyx_main.C: set default fonts from using lyx_gui funcs
4203
4204         * exporter.C: pdf_mode moved from lyxrc
4205
4206         * lyx_cb.C:
4207         * lyxfunc.C: changes from above
4208
4209 2003-03-31  John Levon  <levon@movementarian.org>
4210
4211         * lyx_main.C: fix to the last fix
4212
4213 2003-03-31  John Levon  <levon@movementarian.org>
4214
4215         * bufferlist.C: "Load original" -> "Load Original"
4216
4217         * converter.C:
4218         * exporter.C:
4219         * importer.C:
4220         * lyx_main.C:
4221         * format.C: more Alert cleanups
4222
4223 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4224
4225         * text2.C (removeParagraph): make it take a RowList::iterator as
4226         arg, adjust.
4227         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4228         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4229
4230         * text.C (anchor_row): make it take a RowList::iterator as arg,
4231         adjust.
4232         (computeBidiTables): make it take a const reference to Row instead
4233         of Row pointer, adjust.
4234         (leftMargin): make it take a RowList::iterator as arg, adjust.
4235         (rowBreakPoint): adjust
4236         (breakAgainOneRow): make it take a RowList::iterator as arg,
4237         adjust.
4238         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4239
4240         * bufferview_funcs.C (toggleAndShow): adjust
4241
4242 2003-03-30  John Levon  <levon@movementarian.org>
4243
4244         * Makefile.am:
4245         * BoostFormat.h:
4246         * boost-inst.C: moved to support
4247
4248         * several files: changes as a result
4249
4250 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * text2.C (LyXText): adjust.
4253         (init): adjust
4254         (removeRow): make it take a RowList::iterator as arg, adjust.
4255         (fullRebreak): adjust
4256         (deleteEmptyParagraphMechanism): adjust
4257         (clearPaint): adjust
4258         (postPaint): adjust
4259
4260         * text.C (top_y): adjust
4261         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4262         (breakAgain): make it take a RowList::iterator as arg, adjust.
4263         (breakParagraph): adjust
4264         (insertChar): adjust
4265         (backspace): adjust
4266
4267         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4268         need_break_row, and refresh_row.
4269
4270         * text3.C (dispatch): adjust
4271
4272         * text2.C (checkParagraph): adjust
4273         (setCursor): adjust
4274         (setCursorFromCoordinates): adjust
4275
4276         * text.C (top_y): adjust
4277         (workWidth): adjust
4278         (getRow): make it return a RowList::iterator, adjust
4279         (getRowNearY): make it return a RowList::iterator, adjust
4280
4281         * text2.C (init): adjust
4282         (insertRow): remove function
4283         (insertParagraph): adjust
4284         (redoParagraphs): adjust
4285         (fullRebreak): adjust
4286         (updateCounters): adjust
4287
4288         * text.C (top_y): rewrite to use RowList iterators.
4289         (top_y): adjust
4290         (setHeightOfRow): rewrite to sue RowList iterators.
4291         (appendParagraph): adjust
4292         (breakAgain): adjust
4293         (breakAgainOneRow): adjust
4294         (breakParagraph): adjust
4295         (getRow): adjust
4296         (getRowNearY): adjust, and remove commented code.
4297
4298         * lyxtext.h (firstRow): delete function
4299         (lastRow): delete function
4300         (rows): new function (const and non-const versions.)
4301         (insertRow): delete function
4302
4303         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4304
4305 2003-03-29  John Levon  <levon@movementarian.org>
4306
4307         * BufferView_pimpl.C: always update scrollbar top
4308         because pasting text when we're anchored could mean we
4309         miss an update altogether
4310
4311 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * text2.C (init): use rowlist_.end() and not 0.
4314         (insertRow): change to take a RowList::iterator as arg, adjust
4315         for this.
4316         (insertParagraph): change to take a RowList::iterator as arg,
4317         adjust for this.
4318         (redoParagraphs): remove some debug msgs.
4319
4320         * text.C (appendParagraph): change to take a RowList::iterator
4321         arg, adjust for this.
4322         (breakAgain): add an assert
4323         (breakAgainOneRow): ditto
4324
4325 2003-03-29  John Levon  <levon@movementarian.org>
4326
4327         * text2.C: do not clear selection after inc/decDepth
4328         (bug 550)
4329
4330 2003-03-29  John Levon  <levon@movementarian.org>
4331
4332         * BufferView.C:
4333         * buffer.C: fix broken strerrors according to Lars
4334
4335 2003-03-29  John Levon  <levon@movementarian.org>
4336
4337         * converters.C: more Alert cleanups
4338
4339 2003-03-29  John Levon  <levon@movementarian.org>
4340
4341         * bufferview_funcs.C: remove pointless Alert
4342
4343         * buffer.C: fix confusing error message when
4344         a template is chmoded 000
4345
4346 2003-03-29  John Levon  <levon@movementarian.org>
4347
4348         * BufferView.C:
4349         * BufferView.h:
4350         * BufferView_pimpl.C: Alert fixes
4351
4352         * Makefile.am:
4353         * tabular.C:
4354         * tabular-old.C: remove unused table compat reading
4355
4356 2003-03-29  John Levon  <levon@movementarian.org>
4357
4358         * BufferView.C:
4359         * buffer.C:
4360         * lyx_cb.h:
4361         * lyx_cb.C: more Alert cleanups
4362
4363         * lyxfunc.C: don't allow chktex if not latex document
4364
4365 2003-03-29  John Levon  <levon@movementarian.org>
4366
4367         * lyx_cb.C:
4368         * BufferView.C:
4369         * buffer.C: warnings pushed down from support/,
4370         kill err_alert
4371
4372 2003-03-29  John Levon  <levon@movementarian.org>
4373
4374         * lyxfunc.C: safety check for C-r (revert)
4375
4376 2003-03-29  John Levon  <levon@movementarian.org>
4377
4378         * bufferlist.h:
4379         * bufferlist.C: several UI fixes using Alert::prompt.
4380         Fix the pointless looping quit code. Fix stupid revert
4381         behaviour (bug 938)
4382
4383         * lyxvc.h:
4384         * lyxvc.C:
4385         * lyx_cb.C: use Alert::prompt
4386
4387         * lyx_main.C: remove a silly question
4388
4389         * lyxfunc.C: remove a couple of silly questions,
4390         use Alert::prompt
4391
4392 2003-03-28  John Levon  <levon@movementarian.org>
4393
4394         * text2.C: fix bug 974 (End on empty par)
4395
4396 2003-03-28  John Levon  <levon@movementarian.org>
4397
4398         * BufferView_pimpl.C:
4399         * LyXAction.C:
4400         * lfuns.h: remove do-nothing math greek lfuns
4401
4402 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * lyxgluelength.h (isValidGlueLength): add default arg on
4405         parameter 2. Remove default arg from friend in class.
4406
4407         * lyxlength.h (isValidLength): add default arg on parameter 2.
4408         Remove default arg from friend in class.
4409
4410         * text2.C (LyXText): adjust, initialize refresh_row.
4411         (init): adjust
4412         (removeRow): adjust
4413         (insertRow): adjust
4414         (insertParagraph): adjst
4415         (redoParagraphs): adjust
4416         (fullRebreak): adjust
4417         (updateCounters): adjust
4418         (deleteEmptyParagraphMechanism): first attempt at fixing a
4419         crashing bug.
4420
4421         * text.C (top_y): adjust
4422         (setHeightOfRow): adjust
4423         (getRow): adjust
4424         (getRowNearY): adjust
4425
4426         * lyxtext.h: include RowList.h
4427         (~LyXText): not needed anymore, deleted.
4428         (firstRow): modify for RowList
4429         (lastRow): new function
4430         Delete firstrow and lastrow class variables, add a Rowlist
4431         rowlist_ class variable.
4432
4433         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4434         paragraph is empty.
4435
4436         * RowList.C (insert): fix case where it == begin().
4437
4438 2003-03-26  Angus Leeming  <leeming@lyx.org>
4439
4440         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4441         the thesaurus dialog.
4442
4443 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4446
4447         * RowList.[Ch]: new files
4448
4449         * ParagraphList.C (erase): handle the case where it == begin
4450         correctly.
4451
4452 2003-03-25  John Levon  <levon@movementarian.org>
4453
4454         * Makefile.am:
4455         * aspell_local.h:
4456         * aspell.C: add new aspell support
4457
4458         * lyxrc.h:
4459         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4460         have it accessible.
4461
4462 2003-03-25  Angus Leeming  <leeming@lyx.org>
4463
4464         * lfuns.h:
4465         * LyXAction.C (init): new LFUN_INSET_INSERT.
4466
4467         * BufferView_pimpl.C (dispatch): split out part of the
4468         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4469
4470         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4471         LFUN_INSET_APPLY.
4472
4473 2003-03-25  Angus Leeming  <leeming@lyx.org>
4474
4475         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4476
4477 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4478
4479         * text2.C:
4480         * text3.C: remove useless row->height(0)
4481
4482 2003-03-25  John Levon  <levon@movementarian.org>
4483
4484         * lyxtext.h:
4485         * text2.C:
4486         * text3.C: rename the refreshing stuff to better names
4487
4488 2003-03-24  John Levon  <levon@movementarian.org>
4489
4490         * BufferView_pimpl.h:
4491         * BufferView_pimpl.C: update layout choice on a mouse
4492         press/release
4493
4494 2003-03-23  John Levon  <levon@movementarian.org>
4495
4496         * Makefile.am: fix commandtags.h reference
4497
4498 2003-03-22  John Levon  <levon@movementarian.org>
4499
4500         * BufferView_pimpl.C:
4501         * lyxtext.h:
4502         * rowpainter.C:
4503         * rowpainter.h:
4504         * text.C:
4505         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4506
4507 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4508
4509         * lyxtext.h:
4510         * text.C: take the rtl methods out of line
4511
4512 2003-03-21 André Pönitz <poenitz@gmx.net>
4513
4514         * metricsinfo.[Ch]: new files containing structures to be passed around
4515         during the two-phase-drawing...
4516
4517 2003-03-21 André Pönitz <poenitz@gmx.net>
4518
4519         * lyxtextclass.C: read 'environment' tag.
4520
4521 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * text2.C (removeRow): fix bug 964
4524
4525 2003-03-20  John Levon  <levon@movementarian.org>
4526
4527         * rowpainter.C:
4528         * text.C:
4529         * text2.C: paint cleanups. Inset::update() dropped font
4530         parameter
4531
4532 2003-03-19  John Levon  <levon@movementarian.org>
4533
4534         * lyxfunc.C: only fitcursor/markDirty if available()
4535
4536 2003-03-19  John Levon  <levon@movementarian.org>
4537
4538         * commandtags.h: rename to ...
4539
4540         * lfuns.h: ... this, and renumber / cleanup
4541
4542 2003-03-19  John Levon  <levon@movementarian.org>
4543
4544         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4545         fit the cursor after an lfun
4546
4547         * BufferView.h:
4548         * BufferView.C:
4549         * BufferView_pimpl.h:
4550         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4551
4552         * LyXAction.C: layout-character should have ReadOnly
4553
4554         * ParagraphParameters.C:
4555         * buffer.C:
4556         * bufferview_funcs.C:
4557         * lyx_cb.C:
4558         * lyxfind.C:
4559         * lyxtext.h:
4560         * text.C:
4561         * text2.C:
4562         * text3.C:
4563         * undo_funcs.C: changes from above
4564
4565 2003-03-18  John Levon  <levon@movementarian.org>
4566
4567         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4568         remove it from update()
4569
4570         * lyxfunc.C: update layout choice after an lfun
4571
4572         * text3.C: remove extra updateLayoutChoice()s
4573
4574 2003-03-18  John Levon  <levon@movementarian.org>
4575
4576         * text.C: top_y change means full repaint, fix
4577         a drawing bug with cursor movement
4578
4579 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * lyxtext.h:
4582         * text.C:
4583         * text2.C: anchor row on setCursor
4584
4585 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4586
4587         * lyxtext.h: remove almost all mutable keywords
4588         * text.C:
4589         * text2.C:
4590         * text3.C: remove const keywords accordingly
4591
4592 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4595         anon namespace
4596         (TeXEnvironment): ditto
4597         (TeXOnePar): ditto
4598
4599 2003-03-17  John Levon  <levon@movementarian.org>
4600
4601         * text.C (rowBreakPoint): remove attempt to fix displayed
4602         math insets inside a manual label
4603
4604 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * lyxtext.h: remove BufferView* as first arg from almost all class
4607         functions.
4608         * other files: adjust.
4609
4610 2003-03-17  John Levon  <levon@movementarian.org>
4611
4612         * lyxtext.h:
4613         * undo_funcs.C:
4614         * text2.C: more paint cleanups
4615
4616         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4617
4618         * rowpainter.h:
4619         * rowpainter.C: remove "smart" background painting code
4620
4621 2003-03-16  John Levon  <levon@movementarian.org>
4622
4623         * lyxtext.h:
4624         * text.C:
4625         * text2.C:
4626         * text3.C: add helper functions for setting refresh_row/y
4627
4628 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4629
4630         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4631         newline inset which *can* get inserted in the pass_thru layouts.
4632         This is primarily for literate documents.
4633
4634 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4635
4636         * buffer.C: increment LYX_FORMAT to 223
4637
4638 2003-03-14 André Pönitz <poenitz@gmx.net>
4639
4640         * textclass.h: prepare for environment handling, ws changes
4641         * lyxlayout.C: read latexheader and latexfooter tags
4642
4643 2003-03-14  John Levon  <levon@movementarian.org>
4644
4645         * text2.C: rewrite ::status() a bit
4646
4647 2003-03-13  John Levon  <levon@movementarian.org>
4648
4649         * lyxtext.h: add some docs
4650
4651 2003-03-13  John Levon  <levon@movementarian.org>
4652
4653         * lyxtext.h:
4654         * text.C:
4655         * text2.C:
4656         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4657
4658 2003-03-13  John Levon  <levon@movementarian.org>
4659
4660         * text3.C: fix appendix redrawing
4661
4662 2003-03-13  John Levon  <levon@movementarian.org>
4663
4664         * text.C (setHeightOfRow):
4665         * rowpainter.h:
4666         * rowpainter.C: make appendix mark have the text
4667           "Appendix" so the user knows what it is
4668
4669         * LColor.h:
4670         * LColor.C: s/appendixline/appendix/ from above
4671
4672 2003-03-13  John Levon  <levon@movementarian.org>
4673
4674         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4675
4676         * text.C: fix a getChar(pos) bug properly
4677
4678 2003-03-13  Angus Leeming  <leeming@lyx.org>
4679
4680         * commandtags.h:
4681         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4682         Probably only temporary. Let's see how things pan out.
4683
4684         * BufferView.C (unlockInset):
4685         * BufferView_pimpl.C (fitCursor):
4686         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4687
4688         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4689         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4690
4691         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4692         new functions that convert ParagraphParameters to and from a string.
4693
4694         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4695         BufferView::Pimpl's dispatch.
4696         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4697
4698 2003-03-13 André Pönitz <poenitz@gmx.net>
4699
4700         * lyxfunc.C:
4701         * text3.C:
4702         * factory.C: make it aware of InsetEnv
4703
4704 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * text2.C (setCursor): never ask for one past last
4707         (setCursor): add some debugging messages.
4708
4709         * text.C (singleWidth): never ask for one past last
4710         (singleWidth): ditto
4711         (leftMargin): ditto
4712         (rightMargin): ditto
4713         (rowBreakPoint): ditto
4714         (setHeightOfRow): ditto
4715         (prepareToPrint): ditto
4716
4717         * rowpainter.C (paintBackground): never ask for one past last
4718         (paintText): never ask for one past last
4719
4720         * paragraph_pimpl.C (getChar): make the assert stricter, never
4721         allow the one past last pos to be taken
4722
4723         * paragraph.C (getChar): ws changes only
4724
4725         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4726         (numberOfSeparators): ditto
4727         (numberOfHfills): ditto
4728
4729 2003-03-12  John Levon  <levon@movementarian.org>
4730
4731         * author.h:
4732         * author.C:
4733         * bufferparams.h:
4734         * bufferparams.C:
4735         * paragraph_funcs.C: fix per-buffer authorlists
4736
4737 2003-03-12  John Levon  <levon@movementarian.org>
4738
4739         * text.C: fix newline in right address
4740
4741 2003-03-12  Angus Leeming  <leeming@lyx.org>
4742
4743         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4744         duplicate those in LyXFunc::dispatch.
4745
4746         * commandtags.h:
4747         * LyXAction.C:
4748         * ToolbarDefaults.C:
4749         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4750         Add LFUN_FONTFREE_UPDATE.
4751
4752         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4753         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4754
4755         * bufferview_func.[Ch]: several new functions to facilliate
4756         transfer of data to and from the character dialog.
4757
4758 2003-03-12  John Levon  <levon@movementarian.org>
4759
4760         * buffer.C:
4761         * paragraph.h:
4762         * paragraph.C:
4763         * paragraph_funcs.C:
4764         * paragraph_pimpl.C:
4765         * sgml.C:
4766         * tabular.C:
4767         * text.C:
4768         * text3.C: remove META_NEWLINE in favour of an inset
4769
4770         * rowpainter.h:
4771         * rowpainter.C: remove paintNewline (done by inset)
4772
4773 2003-03-12  John Levon  <levon@movementarian.org>
4774
4775         * paragraph_pimpl.C: complain about bad getChar()s
4776         for a while at least
4777
4778 2003-03-12  John Levon  <levon@movementarian.org>
4779
4780         * buffer.h:
4781         * buffer.C: move paragraph read into a separate function,
4782         a little renaming to reflect that.
4783
4784         * bufferparams.h:
4785         * bufferparams.C: remove the author_ids map, not necessary now
4786
4787         * factory.h:
4788         * factory.C: moved Buffer::readInset to here
4789
4790         * paragraph_funcs.h:
4791         * paragraph_funcs.C: readParagraph free function moved from
4792         buffer.C
4793
4794         * tabular.C: name change
4795
4796 2003-03-12  John Levon  <levon@movementarian.org>
4797
4798         * buffer.C:
4799         * ParagraphParameters.C: move par params input to
4800         a read() method
4801
4802         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4803         behave like a normal read from the stream wrt reading
4804         a line vs. a \\token
4805
4806 2003-03-12  John Levon  <levon@movementarian.org>
4807
4808         * paragraph.C:
4809         * ParagraphParameters.h:
4810         * ParagraphParameters.C: move output code to a
4811         ::write() method
4812
4813 2003-03-12  John Levon  <levon@movementarian.org>
4814
4815         * BufferView.C (insertLyXFile):
4816         * buffer.h:
4817         * buffer.C:
4818         * tabular.C: use a parlist iterator for creating the
4819           document.
4820
4821 2003-03-12  John Levon  <levon@movementarian.org>
4822
4823         * buffer.C: make current_change static local not
4824           static file-scope
4825
4826 2003-03-12  John Levon  <levon@movementarian.org>
4827
4828         * buffer.C: fix insertStringAsLines for change tracking
4829
4830 2003-03-12  John Levon  <levon@movementarian.org>
4831
4832         * BufferView.C:
4833         * tabular.C:
4834         * buffer.h:
4835         * buffer.C:
4836         * bufferparams.h:
4837         * bufferparams.C: move author list into params. Rename some
4838           functions. Move the header reading into a separate token
4839           loop. Move the header token reading into BufferParams.
4840
4841 2003-03-12  John Levon  <levon@movementarian.org>
4842
4843         * changes.C: put debug inside lyxerr.debugging() checks
4844
4845 2003-03-11 André Pönitz <poenitz@gmx.net>
4846
4847         * factory.C: make it aware of InsetHFill
4848
4849 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4850
4851         * buffer.C (latexParagraphs): move function from here...
4852         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4853         args.
4854
4855 2003-03-10  Angus Leeming  <leeming@lyx.org>
4856
4857         * LyXAction.C (init): fix bug in poplating array with multiple entries
4858         with the same LFUN (spotted by JMarc).
4859
4860 2003-03-10  John Levon  <levon@movementarian.org>
4861
4862         * text.C:
4863         * text2.C: move getColumnNearX() near its
4864         only call site
4865
4866 2003-03-10  John Levon  <levon@movementarian.org>
4867
4868         * text.C: fix break before a minipage
4869
4870 2003-03-10  John Levon  <levon@movementarian.org>
4871
4872         * text.C: fix the last commit
4873
4874 2003-03-09  John Levon  <levon@movementarian.org>
4875
4876         * lyxtext.h:
4877         * text.C:
4878         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4879         bug 365 (don't break before insets unless needed). Don't
4880         return a value > last under any circumstances.
4881
4882 2003-03-09  Angus Leeming  <leeming@lyx.org>
4883
4884         * BufferView_pimpl.C (trackChanges, dispatch): call
4885         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4886
4887 2003-03-09  Angus Leeming  <leeming@lyx.org>
4888
4889         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4890         than Dialogs::showAboutlyx().
4891
4892 2003-03-09  Angus Leeming  <leeming@lyx.org>
4893
4894         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4895         than Dialogs::showTabularCreate().
4896
4897 2003-03-09  John Levon  <levon@movementarian.org>
4898
4899         * lyxtext.h:
4900         * text.C:
4901         * text2.C: 3rd arg to nextBreakPoint was always the same.
4902           Use references.
4903
4904 2003-03-08  John Levon  <levon@movementarian.org>
4905
4906         * lyxrow.C:
4907         * paragraph.C:
4908         * paragraph.h:
4909         * rowpainter.C:
4910         * text.C:
4911         * text2.C: Remove the "main" bit from the "main body"
4912           notion.
4913
4914 2003-03-08  John Levon  <levon@movementarian.org>
4915
4916         * text.C (leftMargin): The left margin of an empty
4917         manual label paragraph should not include the label width
4918         string length.
4919
4920         * text.C (prepareToPrint): don't attempt to measure hfills
4921         for empty manual label paragraphs - the answer should be 0
4922
4923 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4924
4925         * CutAndPaste.C: remove commented code and reindent.
4926
4927 2003-03-08  John Levon  <levon@movementarian.org>
4928
4929         * lyxfunc.h:
4930         * lyxfunc.C: move reloadBuffer()
4931
4932         * BufferView.h:
4933         * BufferView.C: to here
4934
4935         * lyxvc.C: add comment
4936
4937         * vc-backend.h:
4938         * vc-backend.C: call bv->reload() to avoid
4939           getStatus() check on MENURELOAD
4940
4941 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4942
4943         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4944         to an old format .dep file.
4945
4946 2003-03-07  Angus Leeming  <leeming@lyx.org>
4947
4948         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4949         when the LFUN_MOUSE_RELEASE should have been handled by
4950         inset->localDispatch.
4951
4952 2003-03-07  Angus Leeming  <leeming@lyx.org>
4953
4954         * BufferView_pimpl.C (dispatch):
4955         * LyXAction.C (init):
4956         * ToolbarDefaults.C (init):
4957         * commandtags.h:
4958         * lyxfunc.C (getStatus):
4959         remove LFUN_INSET_GRAPHICS.
4960
4961         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4962
4963 2003-03-07  Angus Leeming  <leeming@lyx.org>
4964
4965         * commandtags.h:
4966         * LyXAction.C (init):
4967         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4968
4969         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4970
4971         * commandtags.h:
4972         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4973
4974         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4975         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4976
4977 2003-03-07  Angus Leeming  <leeming@lyx.org>
4978
4979         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4980         remove "ert".
4981
4982 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * ParagraphList.C (front): new function
4985         (back): implement
4986
4987 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4988
4989         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4990         and top_row_offset_. removed var first_y.
4991         * text.C (top_y):
4992         * text2.C (LyXText, removeRow):
4993         * text3.C:
4994         * BufferView_pimpl.C:
4995         use these methods instead of using first_y
4996
4997 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * text2.C (pasteSelection): adjust for checkPastePossible
5000
5001         * CutAndPaste.C: remove Paragraph * buf and replace with
5002         ParagraphList paragraphs.
5003         (DeleteBuffer): delete
5004         (cutSelection): change the tc type to textclass_type
5005         (copySelection): change the tc type to textclass_type
5006         (copySelection): adjust for ParagraphList
5007         (pasteSelection): change the tc type to textclass_type
5008         (pasteSelection): adjust for Paragraphlist
5009         (nrOfParagraphs): simplify for ParagraphList
5010         (checkPastePossible): simplify for ParagraphList
5011         (checkPastePossible): remove unused arg
5012
5013         * ParagraphList.C (insert): handle the case where there are no
5014         paragraphs yet.
5015
5016         * CutAndPaste.h: make CutAndPaste a namespace.
5017
5018         * text3.C (dispatch): adjust
5019
5020         * text.C (breakParagraph): add a ParagraphList as arg
5021
5022         * paragraph_funcs.C (breakParagraph): change to take a
5023         BufferParams and a ParagraphList as args.
5024         (breakParagraphConservative): ditto
5025         (mergeParagraph): ditto
5026         (TeXDeeper): add a ParagraphList arg
5027         (TeXEnvironment): ditto
5028         (TeXOnePar): ditto
5029
5030         * buffer.C (readLyXformat2): adjust
5031         (insertStringAsLines): adjust
5032         (latexParagraphs): adjust
5033
5034         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5035         (cutSelection): adjust
5036         (pasteSelection): adjust
5037
5038         * BufferView_pimpl.C (insertInset): adjust
5039
5040 2003-03-05  Angus Leeming  <leeming@lyx.org>
5041
5042         * commandtags.h:
5043         * LyXAction.C (init):
5044         * BufferView_pimpl.C (dispatch):
5045         * lyxfunc.C (getStatus):
5046         remove LFUN_CHILD_INSERT.
5047
5048         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5049
5050 2003-03-05  Angus Leeming  <leeming@lyx.org>
5051
5052         * commandtags.h:
5053         * LyXAction.C (init):
5054         * src/factory.C (createInset):
5055         * lyxfunc.C (getStatus):
5056         * text3.C (dispatch):
5057         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5058
5059         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5060
5061 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * ParagraphList.C (insert): handle insert right before end()
5064         (erase): fix cases where it can be first or last paragraph.
5065
5066 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5069         Paragraph::next and Paragraph::previous
5070         (TeXOnePar): ditto
5071
5072         * text.C (breakParagraph): adjust
5073
5074         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5075         BufferParams& as arg.
5076         (breakParagraph): use ParagraphList::insert
5077         (breakParagraphConservative): take a Buffer* instead of a
5078         BufferParams& as arg.
5079         (breakParagraphConservative): use ParagraphList::insert.
5080
5081         * buffer.C (insertStringAsLines): un-const it
5082         (insertStringAsLines): adjust
5083
5084         * ParagraphList.C (insert): new function
5085
5086         * CutAndPaste.C (pasteSelection): adjust
5087
5088         * text.C (backspace): adjust
5089
5090         * tabular.C (SetMultiColumn): adjust
5091
5092         * CutAndPaste.C (cutSelection): adjust
5093         (pasteSelection): adjust
5094
5095         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5096         Buffer const * as arg
5097
5098         * ParagraphList.C (erase): new function
5099         * paragraph_funcs.C (mergeParagraph): use it
5100         (mergeParagraph): make it take a Buffer* instead of a
5101         BufferParams* as arg
5102
5103         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5104         as arg
5105         (breakParagraphConservative): ditto
5106
5107         * paragraph.h: remove the breakParagraph friend
5108
5109         * paragraph.C (eraseIntern): new function
5110         (setChange): new function
5111
5112         * paragraph_funcs.C (mergeParagraph): make it take a
5113         ParagraphList::iterator instead of a Paragraph *, adjust
5114         accordingly.
5115
5116         * paragraph.h: move an #endif so that the change tracking stuff
5117         also works in the NO_NEXT case.
5118
5119 2003-03-04  Angus Leeming  <leeming@lyx.org>
5120
5121         * commandtags.h:
5122         * LyXAction.C: new LFUN_INSET_MODIFY.
5123
5124         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5125         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5126
5127 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * several files: ws changes only
5130
5131         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5132         (TeXEnvironment): ditto
5133         (TeXDeeper): ditto
5134
5135         * buffer.C (makeLaTeXFile): adjust
5136         (latexParagraphs): make it take ParagraphList::iterator as args
5137
5138 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * buffer.C (latexParagraphs): adjust
5141
5142         * paragraph.C (TeXOnePar): move function...
5143         (optArgInset): move function...
5144         (TeXEnvironment): move function...
5145         * paragraph_pimpl.C (TeXDeeper): move function...
5146         * paragraph_funcs.C: ...here
5147
5148         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5149
5150 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * buffer.C (readInset): remove compability code for old Figure and
5153         InsetInfo insets
5154
5155 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5156
5157         * buffer.C: ws changes
5158         (readInset):
5159
5160         * BufferView_pimpl.C: ditto
5161         * author.C: ditto
5162         * buffer.h: ditto
5163         * bufferlist.h: ditto
5164         * changes.h: ditto
5165         * lyxfunc.C: ditto
5166
5167 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5168
5169         * converter.[Ch]: split into itself +
5170         * graph.[Ch]
5171         * format.[Ch]
5172         * Makefile.am: += graph.[Ch] + format.[Ch]
5173         * MenuBackend.C
5174         * buffer.C
5175         * exporter.C
5176         * importer.C
5177         * lyx_main.C
5178         * lyxfunc.C
5179         * lyxrc.C: added #include "format.h"
5180
5181 2003-02-27  Angus Leeming  <leeming@lyx.org>
5182
5183         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5184           a label.
5185
5186         * factory.C (createInset): add "label" to the factory.
5187
5188         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5189           string and do no more.
5190
5191 2003-02-27  Angus Leeming  <leeming@lyx.org>
5192
5193         * commandtags.h:
5194         * LyXAction.C (init):
5195         * factory.C (createInset):
5196         * BufferView_pimpl.C (dispatch):
5197           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5198
5199         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5200
5201         * lyxfunc.C (dispatch):
5202         * text3.C (dispatch): pass name to params2string.
5203
5204 2003-02-26  Angus Leeming  <leeming@lyx.org>
5205
5206         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5207           blocks together.
5208           Rearrange the ~includes. Strip out the unnecessary ones.
5209
5210         * factory.C (createInset): reformat.
5211           create new insets for the various LFUN_XYZ_APPLY lfuns.
5212
5213 2003-02-26  John Levon  <levon@movementarian.org>
5214
5215         * lyxrow.h:
5216         * lyxrow.C: add isParStart,isParEnd helpers
5217
5218         * paragraph.h: make isInserted/DeletedText take refs
5219
5220         * paragraph_funcs.h:
5221         * paragraph_funcs.C: remove #if 0'd code
5222
5223         * lyxtext.h:
5224         * text3.C:
5225         * text2.C:
5226         * text.C: use lyxrow helpers above.
5227           Move draw and paint routines to RowPainter.
5228           Make several methods use refs not pointers.
5229           Make backgroundColor() const.
5230           Add markChangeInDraw(), isInInset().
5231           Merge changeRegionCase into changeCase.
5232           Make workWidth() shouldn't-happen code into an Assert.
5233
5234         * rowpainter.h:
5235         * rowpainter.C: new class for painting a row.
5236
5237         * vspace.h:
5238         * vspace.C: make inPixels take a ref
5239
5240 2003-02-26  Angus Leeming  <leeming@lyx.org>
5241
5242         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5243         LFUN_REF_APPLY.
5244
5245 2003-02-25  John Levon  <levon@movementarian.org>
5246
5247         * ispell.C: give the forked command a more accurate name
5248
5249 2003-02-22  John Levon  <levon@movementarian.org>
5250
5251         * toc.h:
5252         * toc.C: make TocItem store an id not a Paragraph *
5253           (bug #913)
5254
5255 2003-02-21  Angus Leeming  <leeming@lyx.org>
5256
5257         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5258           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5259           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5260           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5261           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5262           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5263
5264         * BufferView_pimpl.C (dispatch):
5265         * LyXAction.C (init):
5266         * factory.C (createInset):
5267         * lyxfunc.C (getStatus, dispatch):
5268         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5269
5270 2003-02-21  Angus Leeming  <leeming@lyx.org>
5271
5272         * BufferView_pimpl.C (MenuInsertLyXFile):
5273         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5274         * lyxfunc.C (menuNew, open, doImport):
5275           no longer pass a LyXView & to fileDlg.
5276
5277 2003-02-21  Angus Leeming  <leeming@lyx.org>
5278
5279         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5280         * LyXAction.C: change, BIBKEY to BIBITEM.
5281         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5282         Change InsetBibKey to InsetBibitem.
5283         Change BIBKEY_CODE to BIBITEM_CODE.
5284         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5285         * factory.C: replace insetbib.h with insetbibitem.h.
5286         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5287         * paragraph.C: replace insetbib.h with insetbibitem.h.
5288         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5289         Change bibkey() to bibitem().
5290         * text.C: remove insetbib.h.
5291         * text2.C: replace insetbib.h with insetbibitem.h.
5292         change bibkey() to bibitem().
5293         * text3.C: remove insetbib.h.
5294         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5295
5296 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5297
5298         * lyxrc.C (output): enclose user email in quotes (in case there are
5299         several words)
5300
5301 2003-02-18  John Levon  <levon@movementarian.org>
5302
5303         * buffer.h: add std::
5304
5305 2003-02-17  John Levon  <levon@movementarian.org>
5306
5307         * SpellBase.h:
5308         * ispell.h:
5309         * ispell.C:
5310         * pspell.h:
5311         * pspell.C: reworking. Especially in ispell, a large
5312           number of clean ups and bug fixes.
5313
5314         * lyxfunc.C: fix revert to behave sensibly
5315
5316 2003-02-17 André Pönitz <poenitz@gmx.net>
5317
5318         * LyXAction.C:
5319         * commandtags.h: new LFUN_INSERT_BIBKEY
5320
5321         * layout.h:
5322         * lyxlayout.C:
5323         * buffer.C:
5324         * factory.C:
5325         * text.C:
5326         * text2.C:
5327         * text3.C:
5328         * paragraph.[Ch]:
5329         * paragraph_func.C: remove special bibkey handling
5330
5331 2003-02-17  John Levon  <levon@movementarian.org>
5332
5333         * text.C (Delete): fix case where delete at the end of
5334           the very first paragraph would not merge the pars
5335
5336 2003-02-17  John Levon  <levon@movementarian.org>
5337
5338         * lyxrow.C: fix lastPrintablePos()
5339
5340 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5341
5342         * bufferparams.C (writeLaTeX): add a std:here
5343
5344         * buffer.C: and remove a using directive there
5345
5346 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5347
5348         * buffer.C (makeLaTeXFile): move the code that generates the
5349           preamble...
5350
5351         * bufferparams.C (writeLaTeX): ... in this new method
5352
5353         * LaTeXFeatures.C (getEncodingSet): make const
5354           (getLanguages): make const
5355
5356         * MenuBackend.C (binding): returns the binding associated to this
5357           action
5358           (add): sets the status of each item by calling getStatus. Adds
5359           some intelligence.
5360           (read): add support for OptSubMenu
5361           (expand): remove extra separator at the end of expanded menu
5362
5363 2003-02-15  John Levon  <levon@movementarian.org>
5364
5365         * BufferView.C:
5366         * BufferView_pimpl.C:
5367         * bufferlist.h:
5368         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5369           inset code that had no actual effect. Remove unneeded status
5370           code.
5371
5372 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5373
5374         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5375           in preamble
5376
5377 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5378
5379         * text.C (drawLengthMarker): also draw an arrow marker for
5380           symbolic lengths (medskip...)
5381
5382 2003-02-14  John Levon  <levon@movementarian.org>
5383
5384         * tabular.h:
5385         * tabular.C: better method names
5386
5387 2003-02-14  John Levon  <levon@movementarian.org>
5388
5389         * BufferView_pimpl.C:
5390         * bufferlist.C:
5391         * buffer.C:
5392         * converter.C:
5393         * lyx_cb.C:
5394         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5395           it's a more accurate name. Remove some pointless uses.
5396
5397 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5398
5399         * text2.C (LyXText): change order of initilizers to shut off
5400           warnings
5401
5402 2003-02-14  John Levon  <levon@movementarian.org>
5403
5404         * buffer.C: use ParIterator for getParFromID()
5405
5406         * paragraph.h:
5407         * paragraph.C:
5408         * paragraph_pimpl.h:
5409         * paragraph_pimpl.C: remove unused getParFromID()
5410
5411 2003-02-14  John Levon  <levon@movementarian.org>
5412
5413         * buffer.C: remove some very old #if 0'd parse code
5414
5415 2003-02-13  John Levon  <levon@movementarian.org>
5416
5417         * text.h:
5418         * text.C:
5419         * text2.C: move hfillExpansion(), numberOfSeparators(),
5420           rowLast(), rowLastPrintable(), numberofHfills(),
5421           numberOfLabelHfills() ...
5422
5423         * lyxrow.h:
5424         * lyxrow.C: ... to member functions here.
5425
5426         * paragraph.h:
5427         * paragraph.C:
5428         * lyxtext.h:
5429         * text.C: remove LyXText::beginningOfMainBody(), and call
5430           p->beginningOfMainBody() directly. Move the check for
5431           LABEL_MANUAL into the latter.
5432
5433         * text.h:
5434         * text.C:
5435         * text2.C:
5436         * vspace.C:
5437         * BufferView.h:
5438         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5439
5440         * text.h:
5441         * text.C:
5442         * text2.C:
5443         * text3.C:
5444         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5445           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5446
5447 2003-02-13  John Levon  <levon@movementarian.org>
5448
5449         * CutAndPaste.C: remove debug
5450
5451 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5452
5453         * paragraph.C (asString): remove two unused variables
5454
5455         * lyxtextclass.C (readTitleType):
5456           (Read):
5457           (LyXTextClass): handle new members titletype_ and titlename_
5458
5459         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5460
5461 2003-02-09  John Levon  <levon@movementarian.org>
5462
5463         * buffer.h:
5464         * buffer.C: replace hand-coded list with a map for the dep clean
5465
5466 2003-02-08  John Levon  <levon@movementarian.org>
5467
5468         * LaTeX.C: consolidate code into showRunMessage() helper
5469
5470 2003-02-08  John Levon  <levon@movementarian.org>
5471
5472         * lyxfind.C:
5473         * lyxtext.h:
5474         * text2.C:
5475         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5476           and pass the size in explicitly
5477
5478         * BufferView_pimpl.h:
5479         * BufferView_pimpl.C:
5480         * BufferView.h:
5481         * BufferView.C: add getCurrentChange()
5482
5483         * BufferView_pimpl.h:
5484         * BufferView_pimpl.C: handle change lfuns
5485
5486         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5487           for changes. Mark pasted paragraphs as new.
5488
5489         * support/lyxtime.h:
5490         * support/lyxtime.C:
5491         * DepTable.C: abstract time_t as lyx::time_type
5492
5493         * LColor.h:
5494         * LColor.C: add colours for new text, deleted text, changebars
5495
5496         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5497           package use "usenames" option.
5498
5499         * commandtags.h:
5500         * lyxfunc.C:
5501         * LyXAction.C: add change lfuns
5502
5503         * Makefile.am:
5504         * author.h:
5505         * author.C: author handling
5506
5507         * buffer.h:
5508         * buffer.C: add a per-buffer author list, with first entry as
5509           current author. Handle new .lyx tokens for change tracking. Output
5510           author list to .lyx file. Output dvipost stuff to .tex preamble.
5511           Bump lyx format to 222.
5512
5513         * bufferlist.h:
5514         * bufferlist.C: add setCurrentAuthor() to reset current author details
5515           in all buffers.
5516
5517         * bufferparams.h:
5518         * bufferparams.C: add param for tracking
5519
5520         * bufferview_funcs.C: output change info in minibuffer
5521
5522         * Makefile.am:
5523         * changes.h:
5524         * changes.C: add change-tracking structure
5525
5526         * debug.h:
5527         * debug.C: add CHANGES debug flag
5528
5529         * lyxfind.h:
5530         * lyxfind.C: add code for finding the next change piece
5531
5532         * lyxrc.h:
5533         * lyxrc.C: add user_name and user_email
5534
5535         * lyxrow.h:
5536         * lyxrow.C: add a metric for the top of the text line
5537
5538         * lyxtext.h:
5539         * text.C: implement accept/rejectChange()
5540
5541         * lyxtext.h:
5542         * text.C: paint changebars. Paint new/deleted text in the chosen
5543         colours. Strike through deleted text.
5544
5545         * paragraph.h:
5546         * paragraph.C:
5547         * paragraph_pimpl.h:
5548         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5549           in the current change to the insert functions. Rework erase to
5550           mark text as deleted, adding an eraseIntern() and a range-based
5551           erase(). Implement per-paragraph change lookup and
5552           accept/reject.
5553
5554         * paragraph_funcs.C: Fixup paste for change tracking.
5555
5556         * tabular.C: mark added row/columns as new.
5557
5558         * text.C: fix rowLast() to never return -1. Don't allow
5559           spellchecking of deleted text. Track transpose changes. Don't
5560           allow paragraph break or merge where appropriate.
5561
5562         * text2.C: leave cursor at end of selection after a cut.
5563
5564 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5565
5566         * text.C (getLengthMarkerHeight):
5567         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5568         visible on screen too.
5569
5570 2003-02-07  John Levon  <levon@movementarian.org>
5571
5572         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5573
5574 2003-02-05  Angus Leeming  <leeming@lyx.org>
5575
5576         * lyxserver.C (read_ready): revert my patch of 11 September last year
5577         as it sends PC cpu through the roof. Presumably this means that
5578         the lyxserver will no longer run on an Alpha...
5579
5580 2003-01-30  Angus Leeming  <leeming@lyx.org>
5581
5582         * factory.C (createInset): create an InsetCommandParam of type "index"
5583         and use it to 'do the right thing'.
5584
5585         * text2.C (getStringToIndex): ensure that cursor position is always
5586         reset to the reset_cursor position.
5587
5588 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5589
5590         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5591         disabled.
5592
5593 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5594
5595         * bufferview.C:
5596         * lyxcb.C:
5597         * lyxfunc.C: Output messages with identical spelling, punctuation,
5598         and spaces
5599
5600 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5601
5602         * MenuBackend.C (expandFormats): List only viewable export formats
5603         in "View" menu
5604
5605         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5606         message
5607
5608         * lyxfunc.C (getStatus): Make sure that formats other than
5609         "fax" can also be disabled
5610
5611 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5612
5613         * text3.C (dispatch): put the lfuns that insert insets in 3
5614         groups, and call doInsertInset with appropriate arguments.
5615         (doInsertInset): new function, that creates an inset and inserts
5616         it according to some boolean parameters.
5617
5618 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * buffer.C (readFile): remember to pass on 'par' when calling
5621         readFile recursively.
5622
5623 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5624
5625         * MenuBackend.C (expandFormats): add "..." to import formats.
5626
5627 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5628
5629         * paragraph.C (asString): Remove XForms RTL hacks.
5630
5631 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5632         * buffer.C: fix typo
5633
5634 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * Makefile.am (LIBS): delete var
5637         (lyx_LDADD): add @LIBS@ here instead.
5638
5639 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5640
5641         * Clarify the meaning of "wheel mouse jump"
5642
5643 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5644
5645         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5646         tabular in a float
5647
5648 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5649
5650         * importer.C (Loaders): do not preallocate 3 elements in the
5651         vector, since one ends up with 6 elements otherwise
5652
5653 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5654
5655         * DepTable.C (write): write the file name as last element of the
5656         .dep file (because it may contain spaces)
5657         (read): read info in the right order
5658
5659 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5660
5661         * paragraph_pimpl.C (simpleTeXBlanks):
5662         (simpleTeXSpecialChars):
5663         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5664
5665         * tabular.C (latex): add some missing case statements. Reindent.
5666
5667         * MenuBackend.C (expandToc): remove unused variable.
5668
5669 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5670
5671         * LColor.C:
5672         * LaTeX.C:
5673         * LyXAction.C:
5674         * MenuBackend.C:
5675         * buffer.C:
5676         * exporter.C:
5677         * lyxfunc.C:
5678         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5679         and the like.
5680
5681 2003-01-05  John Levon  <levon@movementarian.org>
5682
5683         * BufferView.h:
5684         * BufferView.C: add getEncoding()
5685
5686         * kbsequence.h:
5687         * kbsequence.C: do not store last keypress
5688
5689         * lyxfunc.h:
5690         * lyxfunc.C: store last keypress here instead. Pass encoding
5691           to getISOEncoded()
5692
5693 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5694
5695         * lyx_main.C (init): remove annoying error message when following
5696         symbolic links (bug #780)
5697
5698 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5699
5700         * text.C (insertChar):
5701         * lyxrc.C (getDescription): remove extra spaces
5702
5703 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5704
5705         * lyxrc.C (getDescription): remove extra spaces
5706
5707 2002-12-20  John Levon  <levon@movementarian.org>
5708
5709         * text3.C: hack fix for page up/down across tall rows
5710
5711 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5712
5713         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5714         not been invoked
5715
5716 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5717
5718         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5719         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5720         thesaurus is not compiled in
5721
5722 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5723
5724         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5725
5726 2002-12-16  Angus Leeming  <leeming@lyx.org>
5727
5728         * lyxrc.[Ch]:
5729         * lyx_main.C (init): remove override_x_deadkeys stuff.
5730
5731 2002-12-12  John Levon  <levon@movementarian.org>
5732
5733         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5734           insert. Only remove shift modifier under strict
5735           circumstances.
5736
5737 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * MenuBackend.C (expandToc): fix crash.
5740
5741 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * MenuBackend.C (expandToc): gettext on float names.
5744
5745 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5746
5747         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5748         implement bool empty() [bug 490]
5749
5750 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5753
5754 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5755
5756         * several files: ws changes
5757
5758 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5759
5760         * text2.C (setCounter): clean up a bit, use boost.format.
5761         (updateCounters): initialize par upon declaration.
5762
5763         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5764         if the layout exists. We do not just store the layout any more.
5765         (SwitchLayoutsBetweenClasses): use boost.format
5766
5767 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5768
5769         * converter.C (convert): if from and to files are the same, use a
5770         temporary files as intermediary
5771
5772 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5773
5774         * commandtags.h:
5775         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5776
5777 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5778
5779         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5780
5781 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * tabular.C (asciiPrintCell): use string(size, char) instead of
5784         explicit loop.
5785
5786         * sgml.C (openTag): fix order of arguments to string constructor
5787         (closeTag): ditto
5788
5789         * lyxfunc.C (dispatch): use boost.format
5790
5791         * lots of files: change "c" -> 'c'
5792
5793 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5794
5795         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5796
5797 2002-11-25  Angus Leeming  <leeming@lyx.org>
5798
5799         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5800
5801         * lyx_main.C (init): compile fix.
5802
5803 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * lyx_cb.C (start): boost.formatify
5806         do not include <iostream>
5807
5808         * lengthcommon.C: ws only
5809
5810         * boost-inst.C,BoostFormat.h: add more explict instantations
5811
5812 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * lots of files: handle USE_BOOST_FORMAT
5815
5816 2002-11-21  John Levon  <levon@movementarian.org>
5817
5818         * pspell.C: fix compile
5819
5820 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5821
5822         * lyxfunc.C (dispatch): use boost::format
5823         (open): ditto
5824         (doImport): ditto
5825
5826         * lyxfont.C (stateText): use boost::format
5827
5828         * lyx_main.C (LyX): use boost::format
5829         (init): ditto
5830         (queryUserLyXDir): ditto
5831         (readRcFile): ditto
5832         (parse_dbg): ditto
5833         (typedef boost::function): use the recommened syntax.
5834
5835         * importer.C (Import): use boost::format
5836
5837         * debug.C (showLevel): use boost::format
5838
5839         * converter.C (view): use boost::format
5840         (convert): ditto
5841         (move): ditto
5842         (scanLog): ditto
5843
5844         * bufferview_funcs.C (currentState): use boost::format
5845
5846         * bufferlist.C (emergencyWrite): use boost::format
5847
5848         * buffer.C (readLyXformat2): use boost::format
5849         (parseSingleLyXformat2Token): ditto
5850
5851         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5852
5853         * LaTeX.C (run): use boost::format
5854
5855         * Chktex.C (scanLogFile): use boost::format
5856
5857         * BufferView_pimpl.C (savePosition): use boost::format
5858         (restorePosition): ditto
5859         (MenuInsertLyXFile): ditto
5860
5861         * BoostFormat.h: help file for explicit instation.
5862
5863 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5864
5865         * tabular.C (latex): Support for block alignment in fixed width
5866         columns.
5867
5868 2002-11-17  John Levon  <levon@movementarian.org>
5869
5870         * BufferView_pimpl.C:
5871         * lyx_cb.C:
5872         * lyxfunc.C: split filedialog into open/save
5873
5874 2002-11-08  Juergen Vigna  <jug@sad.it>
5875
5876         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5877         by my last patch (hopefully).
5878
5879 2002-11-08  John Levon  <levon@movementarian.org>
5880
5881         * iterators.h:
5882         * iterators.C:
5883         * buffer.h:
5884         * buffer.C:
5885         * paragraph.h:
5886         * paragraph.C:
5887         * toc.h:
5888         * toc.C: ParConstIterator, and use it (from Lars)
5889
5890 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5891
5892         * lyxtextclass.[Ch]: revise and add doxygen comments
5893
5894 2002-11-07  John Levon  <levon@movementarian.org>
5895
5896         * text.C: fix progress value for spellchecker
5897
5898         * toc.C: fix navigate menu for insetwrap inside minipage
5899
5900         * paragraph_funcs.C: added FIXME for suspect code
5901
5902 2002-11-07  John Levon  <levon@movementarian.org>
5903
5904         * BufferView_pimpl.C: fix redrawing of insets
5905           on buffer switch
5906
5907 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5908
5909         * text2.C (updateCounters): fix bug 668
5910
5911 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5912
5913         * text3.C (dispatch): Do not make the buffer dirty when moving the
5914         cursor.
5915
5916 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * vc-backend.C: STRCONV
5919         (scanMaster): ditto
5920
5921         * text2.C (setCounter): STRCONV
5922
5923         * paragraph.C (asString): STRCONV
5924
5925         * lyxlength.C (asString): STRCONV
5926         (asLatexString): ditto
5927
5928         * lyxgluelength.C (asString): STRCONV
5929         (asLatexString): ditto
5930
5931         * lyxfunc.C (dispatch): STRCONV
5932         (open): ditto
5933
5934         * lyxfont.C (stateText): STRCONV
5935
5936         * importer.C (Import): STRCONV
5937
5938         * counters.C (labelItem): STRCONV
5939         (numberLabel): ditto
5940         (numberLabel): remove unused ostringstream o
5941
5942         * chset.C: STRCONV
5943         (loadFile): ditto
5944
5945         * bufferview_funcs.C (currentState): STRCONV
5946
5947         * buffer.C (readFile): STRCONV
5948         (asciiParagraph): ditto
5949         (makeLaTeXFile): ditto
5950
5951         * Spacing.C (writeEnvirBegin): STRCONV
5952
5953         * LaTeXFeatures.C (getLanguages): STRCONV
5954         (getPackages): ditto
5955         (getMacros): ditto
5956         (getBabelOptions): ditto
5957         (getTClassPreamble): ditto
5958         (getLyXSGMLEntities): ditto
5959         (getIncludedFiles): ditto
5960
5961         * LaTeX.C: STRCONV
5962         (run): ditto
5963         (scanAuxFile): ditto
5964         (deplog): ditto
5965
5966         * LString.h: add the STRCONV macros
5967
5968         * BufferView_pimpl.C (savePosition): STRCONV
5969         (restorePosition): ditto
5970         (MenuInsertLyXFile): ditto
5971
5972         * vc-backend.C (scanMaster): change from submatch[...] to
5973         submatch.str(...)
5974
5975         * funcrequest.C: include config.h
5976
5977         * factory.C: include config.h
5978
5979         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5980
5981         * box.C: include config.h
5982
5983         * LaTeX.C (scanAuxFile): change from submatch[...] to
5984         submatch.str(...)
5985         (deplog): ditto
5986
5987 2002-10-25  Angus Leeming  <leeming@lyx.org>
5988
5989         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5990
5991         * ispell.[Ch] (setError): new method.
5992         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5993         Use setError() insetead of goto END.
5994
5995         * lyx_cb.C (AutoSave): move out child process into new class
5996         AutoSaveBuffer.
5997
5998 2002-10-30  John Levon  <levon@movementarian.org>
5999
6000         * text3.C: make start appendix undoable
6001
6002 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6003
6004         * lyxlength.C (inPixels): Fix returned value.
6005
6006         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6007         environment.
6008
6009 2002-10-24  Angus Leeming  <leeming@lyx.org>
6010
6011         * lyxgluelength.h: no need to forward declare BufferParams
6012         or BufferView, so don't.
6013
6014 2002-10-21  John Levon  <levon@movementarian.org>
6015
6016         * BufferView.C: menuUndo ->undo, redo
6017
6018         * BufferView.h: document, remove dead, make some methods private
6019
6020         * paragraph_funcs.h:
6021         * paragraph_funcs.C:
6022         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6023
6024         * buffer.h:
6025         * buffer.C:
6026         * sgml.h:
6027         * sgml.C: move sgml open/close tag into sgml.C
6028
6029         * bufferview_funcs.h: unused prototype
6030
6031         * lyxfunc.h:
6032         * lyxfunc.C: remove unused
6033
6034         * lyxtext.h:
6035         * text.C: remove unused
6036
6037 2002-10-21  John Levon  <levon@movementarian.org>
6038
6039         * BufferView.h:
6040         * BufferView.C:
6041         * BufferView_pimpl.h:
6042         * BufferView_pimpl.C: fix mouse wheel handling based on
6043           patch from Darren Freeman
6044
6045 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6046
6047         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6048
6049 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6050
6051         * lyxlength.C (inPixels): Fix hanfling of negative length.
6052         Fix LyXLength::MU case.
6053
6054 2002-10-16  John Levon  <levon@movementarian.org>
6055
6056         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6057
6058 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6059
6060         * converter.C (view): add support for $$i (file name) and $$p
6061         (file path) for the viewer command. If $$i is not specified, then
6062         it is appended to the command (for compatibility with old syntax)
6063
6064 2002-10-14  Juergen Vigna  <jug@sad.it>
6065
6066         * undo_funcs.C (textHandleUndo): alter the order in which the
6067         new undopar is added to the LyXText, as we have to set first
6068         the right prev/next and then add it as otherwise the rebuild of
6069         LyXText is not correct. Also reset the cursor to the right paragraph,
6070         with this IMO we could remove the hack in "redoParagraphs()".
6071
6072 2002-10-09  Angus Leeming  <leeming@lyx.org>
6073
6074         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6075         to turn off an optimisation if a new inset is to be inserted.
6076
6077 2002-10-11 André Pönitz <poenitz@gmx.net>
6078
6079         * lyxtext.h: make some functions public to allow access
6080         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6081
6082 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6083
6084         * text3.C (dispatch): when changing layout, avoid an infinite loop
6085         [bug #652]
6086
6087 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6088
6089         * lyxrc.C (read): treat a viewer or converter command of "none" as
6090         if it were empty.
6091
6092         * MenuBackend.C (expandFormats): for an update, also allow the
6093         formats that are not viewable
6094
6095         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6096         script if it is newer than the lyxrc.defaults in user directory
6097
6098 2002-10-07 André Pönitz <poenitz@gmx.net>
6099
6100         * text.C: Vitaly Lipatov's small i18n fix
6101
6102 2002-09-25  Angus Leeming  <leeming@lyx.org>
6103
6104         * ispell.h: doxygen fix.
6105
6106 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6107
6108         * buffer.h (readFile): Add a new argument to the method, to allow
6109         reading of old-format templates.
6110
6111 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6112
6113         * toc.C (getTocList): Get TOC from InsetWrap.
6114
6115 2002-09-16  John Levon  <levon@movementarian.org>
6116
6117         * lyxfunc.C: check tabular for cut/copy too
6118
6119 2002-09-12  John Levon  <levon@movementarian.org>
6120
6121         * LyXAction.C: tidy
6122
6123         * factory.h:
6124         * factory.C: add header
6125
6126         * paragraph_funcs.h:
6127         * paragraph_funcs.C: cleanup
6128
6129 2002-09-11  John Levon  <levon@movementarian.org>
6130
6131         * PrinterParams.h: odd/even default to true
6132
6133 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6134
6135         * PrinterParams.h: update printer parameters for new xforms dialog
6136
6137 2002-09-11  Angus Leeming  <leeming@lyx.org>
6138
6139         * lyxserver.C (read_ready): re-write to make it more transparent
6140         and to make it work in coherent fashion under Tru64 Unix.
6141
6142 2002-09-11  André Pönitz <poenitz@gmx.net>
6143
6144         * commandtags.h:
6145         * LyXAction.C:
6146         * text3.C: implement LFUN_WORDSEL
6147
6148 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6151         make floatlist_ a boost::shared_ptr<FloatList>
6152
6153         * lyxtextclass.C: include FloatList.h
6154         (LyXTextClass): initialize floatlist_
6155         (TextClassTags): add TC_NOFLOAT
6156         (Read): match "nofloat" to TC_NOFLOAT and use it.
6157         (readFloat): modify call to floatlist_
6158         (floats): ditto
6159         (floats): ditto
6160
6161         * FloatList.[Ch] (FloatList): remove commented out float
6162         initialization.
6163         (erase): new function
6164
6165 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6166
6167         * MenuBackend.C (expandToc): fix crash when there is no document
6168         open
6169
6170 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6171
6172         * many files: Add insetwrap.
6173
6174 2002-09-09  John Levon  <levon@movementarian.org>
6175
6176         * text2.C: remove confusing and awkward depth wraparound
6177
6178 2002-09-09  John Levon  <levon@movementarian.org>
6179
6180         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6181
6182         * buffer.h:
6183         * buffer.C: remove getIncludeonlyList()
6184
6185         * paragraph.C:
6186         * lyxfunc.C: remove headers
6187
6188 2002-09-09  Juergen Vigna  <jug@sad.it>
6189
6190         * text.C (getColumnNearX): fix form Michael this is most
6191         probably a cut&paste bug.
6192
6193 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6196
6197         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6198         references, ws changes.
6199
6200         * text2.C (init): update counters after init
6201         (insertParagraph): no need to set counter on idividual paragraphs.
6202         (setCounter): access the counters object in the textclass object
6203         on in the buffer object.
6204         (updateCounters): ditto
6205
6206         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6207         shared_ptr<Counters> to avoid loading counters.h in all
6208         compilation units.
6209         (LyXTextClass): initialize ctrs_
6210         (TextClassTags): add TC_COUNTER, and ...
6211         (Read): use it here.
6212         (CounterTags): new tags
6213         (readCounter): new function
6214         (counters): new funtion
6215         (defaultLayoutName): return a const reference
6216
6217         * counters.C (Counters): remove contructor
6218         (newCounter): remove a couple of unneeded statements.
6219         (newCounter): simplify a bit.
6220         (numberLabel): some small formatting changes.
6221
6222         * buffer.[Ch]: remove all traces of counters, move the Counters
6223         object to the LyXTextClass.
6224
6225 2002-09-06  Alain Castera  <castera@in2p3.fr>
6226
6227         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6228         package to set the horizontal alignment on fixed width columns.
6229
6230         * lyx_sty.C:
6231         * lyx_sty.h: added tabularnewline macro def.
6232
6233         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6234
6235 2002-09-06  John Levon  <levon@movementarian.org>
6236
6237         * LyXAction.C: tooltips for sub/superscript
6238
6239         * MenuBackend.C: a bit more verbose
6240
6241         * lyxfunc.C: tiny clean
6242
6243         * undo_funcs.C: document undo_frozen
6244
6245 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * counters.C (Counters): add missing algorithm counter.
6248
6249         * text2.C (setCounter): lookup the counter with layouts latexname
6250         instead of by section number.
6251         (setCounter): use a hackish way to lookup the correct enum
6252         counter.
6253         a float name->type change
6254         reset enum couners with counter name directly instead of depth value.
6255
6256         * counters.C (Counters): remove the push_backs, change to use the
6257         float type not the float name.
6258         (labelItem): remove unused string, float name->type change
6259
6260         * counters.h: don't include vector, loose the enums and sects vectors
6261
6262 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6265         (Read): add float->TC_FLOAT to textclassTags
6266         (Read): and handle it in the switch
6267         (readFloat): new function
6268
6269         * FloatList.C (FloatList): comment out the hardcoded float
6270         definitions.
6271
6272         * lyxlayout.h: ws change.
6273
6274 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6275
6276         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6277
6278 2002-09-03  Angus Leeming  <leeming@lyx.org>
6279
6280         * BufferView_pimpl.h: qualified name is not allowed in member
6281         declaration: WorkArea & Pimpl::workarea() const;
6282
6283         * factory.C: added using std::endl directive.
6284
6285         * text3.C: added using std::find and std::vector directives.
6286
6287 2002-08-29  André Pönitz <poenitz@gmx.net>
6288
6289         * lyxtext.h:
6290         * text2.C: remove unused member number_of_rows
6291
6292         * Makefile.am:
6293         * BufferView2.C: remove file, move contents to...
6294         * BufferView.C: ... here
6295
6296         * BufferView_pimpl.C:
6297         * factory.C: move more inset creation to factory
6298
6299         * vspace.C: avoid direct usage of LyXText, ws changes
6300
6301         * BufferView.[Ch]:
6302                 don't provide direct access to WorkArea, use two simple
6303                 acessors haveSelction() and workHeight() instead
6304
6305
6306 2002-08-29  John Levon  <levon@movementarian.org>
6307
6308         * BufferView_pimpl.C (dispatch): do not continue when
6309           no buffer
6310
6311 2002-08-28  André Pönitz <poenitz@gmx.net>
6312
6313         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6314
6315         * BufferView.h:
6316         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6317
6318 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6319
6320         * buffer.C: increment LYX_FORMAT to 221
6321
6322         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6323         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6324
6325         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6326
6327         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6328
6329 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6330
6331         * factory.C (createInset): use LyXTextClass::floats
6332
6333         * MenuBackend.C (expandFloatListInsert):
6334         (expandFloatInsert):
6335         (expandToc):
6336
6337         * text2.C (setCounter):
6338
6339         * LaTeXFeatures.C (useFloat):
6340         (getFloatDefinitions):
6341
6342         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6343
6344         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6345         floatlist_, with accessor floats().
6346
6347         * FloatList.h: remove global FloatList
6348
6349 2002-08-26  André Pönitz <poenitz@gmx.net>
6350
6351         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6352
6353         * BufferView.h:
6354         * BufferView2.C:
6355         * BufferView_pimpl.C:
6356         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6357
6358 2002-08-25  John Levon  <levon@movementarian.org>
6359
6360         * LyXAction.C: fix margin note description
6361
6362 2002-08-24  John Levon  <levon@movementarian.org>
6363
6364         * buffer.C:
6365         * bufferlist.C:
6366         * bufferview_funcs.C:
6367         * lyxfont.C:
6368         * undo_funcs.C: cleanups
6369
6370         * lyxfunc.C: disable CUT/COPY when no selection
6371
6372 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6373
6374         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6375         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6376
6377         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6378         Add backward compatibility to "mono", "gray" and "no".
6379
6380 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6381
6382         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6383         (and file_format >= 200).
6384
6385 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6386
6387         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6388
6389 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6390
6391         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6392
6393 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6394
6395         * BufferView_pimpl.C:
6396         * LyXAction.C:
6397         * buffer.C:
6398         * commandtags.h:
6399         * lyxfunc.C:
6400         * paragraph.[Ch]:
6401         * text2.C:
6402         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6403         inset and code to make it  work with the paragraph code. The inset
6404         can be anywhere in the paragraph, but will only do the expected
6405         thing in LaTeX if the layout file contains the parameter line
6406                         OptionalArgs    1
6407         (or more generally, a nonzero value) for that layout.
6408
6409 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * paragraph.h: remove the declaration of undefined counters class
6412         function.
6413
6414 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6415
6416         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6417         Dr. Richard Hawkins.
6418
6419 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6420
6421         * paragraph_funcs.h: remove some unneeded includes
6422
6423         * text.C (backspace): pasteParagraph now in global scipe
6424
6425         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6426         (pasteSelection): ditto
6427
6428         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6429         * paragraph_funcs.C (pasteParagraph): ... here
6430
6431 2002-08-20  André Pönitz <poenitz@gmx.net>
6432
6433         * commandtags.h: new LFUNs for swapping/copying table row/colums
6434
6435         * LyXAction.C:
6436         * lyxfunc.C: support for new lfuns
6437
6438 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * tabular.C:
6441         * buffer.[Ch]: remove NO_COMPABILITY stuff
6442
6443 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * boost.C (throw_exception): new file, with helper function for
6446         boost compiled without exceptions.
6447
6448         * paragraph.h:
6449         * lyxlength.C:
6450         * buffer.C:
6451         * ParameterStruct.h:
6452         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6453
6454         * bufferlist.C (emergencyWriteAll): use boost bind
6455
6456         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6457
6458         * text.C: include paragraph_funcs.h
6459         (breakParagraph): breakParagraph is now in global scope
6460
6461         * paragraph_funcs.[Ch]: new files
6462
6463         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6464         global scope
6465
6466         * buffer.C: include paragraph_funcs.h
6467         (insertStringAsLines): breakParagraph is now in global scope
6468
6469         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6470         paragraph_funcs.C
6471
6472         * CutAndPaste.C: include paragraph_funcs.h
6473         (cutSelection): breakParagraphConservative is now in global scope
6474         (pasteSelection): ditto
6475
6476         * buffer.h: declare oprator== and operator!= for
6477         Buffer::inset_iterator
6478
6479         * bufferlist.C (emergencyWrite): don't use fmt(...)
6480
6481         * text3.C: add using std::endl
6482
6483         * BufferView.C (moveCursorUpdate): remove default arg
6484
6485 2002-08-20  André Pönitz <poenitz@gmx.net>
6486
6487         * buffer.[Ch]: move inline functions to .C
6488
6489         * BufferView2.C:
6490         * BufferView_pimpl.C:
6491         * text.C:
6492         * buffer.[Ch]: use improved inset_iterator
6493
6494         * buffer.C:
6495         * paragraph.[Ch]: write one paragraph at a time
6496
6497 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6498
6499         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6500         style if style is not specified.
6501
6502 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6503
6504         * text2.C (setCounter): when searching for right label for a
6505         caption, make sure to recurse to parent insets (so that a caption
6506         in a minipage in a figure float works) (bug #568)
6507
6508 2002-08-20  André Pönitz <poenitz@gmx.net>
6509
6510         * text3.C: new file for LyXText::dispatch() and helpers
6511
6512         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6513
6514         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6515
6516 2002-08-19  André Pönitz <poenitz@gmx.net>
6517
6518         * lyxtext.h:
6519         * text.C: new LyXText::dispatch()
6520
6521         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6522
6523 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6524
6525         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6526
6527         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6528         Hebrew text.
6529
6530 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6531
6532         * Makefile.am: use $(variables) instead of @substitutions@
6533
6534 2002-08-15  André Pönitz <poenitz@gmx.net>
6535
6536         * lyxfunc.C:
6537         * BufferView_pimpl.C: streamlining mathed <-> outer world
6538         interaction
6539
6540         * commandtags.h:
6541         * LyXAction.C: remove unused LFUN_MATH
6542
6543 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6546
6547 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * paragraph.C (Paragraph): reformat a bit
6550         (cutIntoMinibuffer): use builtin InsetList function instad of
6551         doing it manually.
6552         (getInset): ditto
6553
6554         * buffer.C: include boost/bind.hpp, add using std::for_each
6555         (writeFileAscii): use ParagraphList iterators
6556         (validate): use for_each for validate traversal of paragraphs
6557         (getBibkeyList): use ParagraphList iterators
6558         (resizeInsets): use for_each to resizeInsetsLyXText for all
6559         paragraphs.
6560         (getParFromID): use ParagraphList iterators
6561
6562         * BufferView2.C (lockInset): use paragraph list and iterators
6563
6564 2002-08-14  John Levon  <levon@movementarian.org>
6565
6566         * lyxserver.C: remove spurious xforms include
6567
6568 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6569
6570         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6571
6572 2002-08-13  André Pönitz <poenitz@gmx.net>
6573
6574         * LyXAction.[Ch]:
6575         * lyxfunc.C: further cleaning
6576
6577 2002-08-13  André Pönitz <poenitz@gmx.net>
6578
6579         * funcrequest.h: new constructor
6580
6581         * funcrequest.C: move stuff here from .h
6582
6583         * Makefile.am:
6584         * BufferView_pimpl.C:
6585         * LyXAction.C:
6586         * toc.C:
6587         * lyxfunc.C: subsequent changes
6588
6589         * lyxfunc.h: new view() member function
6590
6591         * lyxfunc.C: subsequent changes
6592
6593 2002-08-13  Angus Leeming  <leeming@lyx.org>
6594
6595         * BufferView2.C:
6596         * BufferView_pimpl.C:
6597         * buffer.C:
6598         * converter.C:
6599         * importer.C:
6600         * lyxfunc.C:
6601         * lyxvc.C:
6602         * toc.C:
6603         * vc-backend.C:
6604         changes due to the changed LyXView interface that now returns references
6605         to member variables not pointers.
6606
6607 2002-08-13  Angus Leeming  <leeming@lyx.org>
6608
6609         * WordLangTuple (word, lang_code): return references to strings,
6610         not strings.
6611
6612         * BufferView.h:
6613         * SpellBase.h:
6614         * lyxtext.h: forward-declare WordLangTuple.
6615
6616         * BufferView2.C:
6617         * ispell.C:
6618         * pspell.C:
6619         * text.C: #include "WordLangTuple.h".
6620
6621         * lyxtext.h:
6622         * text.C: (selectNextWordToSpellcheck): constify return type.
6623
6624 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6625
6626         * buffer.C:
6627         * buffer.h:
6628         * lyxtext.h:
6629         * paragraph.C:
6630         * paragraph_pimpl.h:
6631         * text.C:
6632         * text2.C:
6633         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6634         suggested by Angus.
6635         Made updateCounter always count from start of buffer, and removed
6636         second argument (par).
6637         Reverted floats number display to '#'. Perhaps I'll try again when the
6638         code base is sanitized a bit.
6639
6640 2002-08-12  Angus Leeming  <leeming@lyx.org>
6641
6642         * buffer.[Ch] (getLabelList): constify.
6643
6644 2002-08-07  André Pönitz <poenitz@gmx.net>
6645
6646         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6647
6648         * funcrequest.h: extension to keep mouse (x,y) position
6649
6650 2002-08-12  Juergen Vigna  <jug@sad.it>
6651
6652         * BufferView2.C (insertErrors): forbid undo when inserting error
6653         insets.
6654
6655         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6656
6657 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * ParagraphList.[Ch]: new files
6660
6661         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6662
6663         * BufferView2.C (lockInset): ParagraphList changes
6664         * toc.C: ditto
6665         * text2.C: ditto
6666         * bufferlist.C: ditto
6667         * buffer.h: ditto
6668         * buffer.C: ditto
6669
6670 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6671
6672         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6673         unused class variable counter_,
6674
6675         * paragraph.[Ch] (getFirstCounter): delete unused function
6676
6677         * counters.C: include LAssert.h
6678         (reset): add a new function with no arg, change other version to
6679         not have def. arg and to not allow empty arg.
6680
6681         * text2.C (setCounter): remove empty arg from call to Counters::reset
6682
6683 2002-08-11  John Levon  <levon@movementarian.org>
6684
6685         * Makefile.am: add WordLangTuple.h
6686
6687 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6688
6689         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6690         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6691
6692         * insets/insettext.C: InsetList changes
6693
6694         * graphics/GraphicsSupport.C (operator()): InsetList changes
6695
6696         * toc.C (getTocList): InsetList changes
6697
6698         * paragraph_pimpl.[Ch]: InsetList changes
6699
6700         * paragraph.[Ch]: InsetList changes
6701
6702         * buffer.C (inset_iterator): InsetList changes
6703         (setParagraph): ditto
6704         * buffer.h (inset_iterator): ditto
6705         * iterators.C (operator++): ditto
6706         * iterators.h: ditto
6707
6708         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6709
6710         * InsetList.[Ch]: new files, most InsetList handling moved out of
6711         paragraph.C.
6712
6713         * BufferView2.C (removeAutoInsets): InsetList changes
6714         (lockInset): ditto
6715         (ChangeInsets): ditto
6716
6717 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * paragraph_pimpl.h (empty): new function
6720
6721         * paragraph.[Ch] (empty): new function
6722
6723         * other files: use the new Paragraph::empty function
6724
6725 2002-08-09  John Levon  <levon@movementarian.org>
6726
6727         * lyxtext.h: remove unused refresh_height
6728
6729 2002-08-09  John Levon  <levon@movementarian.org>
6730
6731         * Makefile.am:
6732         * sgml.h:
6733         * sgml.C:
6734         * buffer.C:
6735         * paragraph.h:
6736         * paragraph.C: move sgml char escaping out of paragraph
6737
6738         * paragraph.h:
6739         * paragraph.C: remove id setter
6740
6741         * buffer.C:
6742         * paragraph.C:
6743         * paragraph_pimpl.C: remove dead tex_code_break_column
6744
6745         * bufferview_funcs.C: small cleanup
6746
6747         * lyxfunc.C: remove dead proto
6748
6749         * lyxtext.h: make some stuff private. Remove some dead stuff.
6750
6751         * lyxgluelength.C: make as[LyX]String() readable
6752
6753 2002-08-08  John Levon  <levon@movementarian.org>
6754
6755         * LyXAction.h:
6756         * LyXAction.C:
6757         * MenuBackend.C:
6758         * ToolbarDefaults.C:
6759         * lyxfunc.C:
6760         * lyxrc.C:
6761         * toc.C: lyxaction cleanup
6762
6763 2002-08-08  John Levon  <levon@movementarian.org>
6764
6765         * BufferView2.C: small cleanup
6766
6767         * lyxfind.h:
6768         * lyxfind.C: move unnecessary header into the .C
6769
6770 2002-08-08  John Levon  <levon@movementarian.org>
6771
6772         * funcrequest.h: just tedious nonsense
6773
6774         * lyx_main.h:
6775         * lyx_main.C: cleanups
6776
6777         * buffer.C:
6778         * vspace.C: remove dead header lyx_main.h
6779
6780 2002-08-07  Angus Leeming  <leeming@lyx.org>
6781
6782         * Paragraph.[Ch]:
6783         * paragraph_pimpl.h:
6784         Forward declare class Counters in paragraph.h by moving the ctrs member
6785         variable into Paragraph::Pimpl.
6786         (counters): new method, returning a reference to pimpl_->ctrs.
6787
6788         * text2.C: ensuing changes.
6789
6790 2002-08-07  John Levon  <levon@movementarian.org>
6791
6792         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6793
6794         * BufferView_pimpl.C: announce X selection on double/triple
6795           click
6796
6797         * lyx_main.C: use correct bool in batch dispatch
6798
6799         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6800
6801 2002-08-07  André Pönitz <poenitz@gmx.net>
6802
6803         * funcrequest.h: new class to wrap a kb_action and its argument
6804
6805         * BufferView.[Ch]:
6806         * BufferView_pimpl[Ch]:
6807         * LaTeX.C:
6808         * LyXAction.[Ch]:
6809         * lyxfunc.[Ch]:
6810         * lyxrc.C: subsequent changes
6811
6812
6813 2002-08-07  John Levon  <levon@movementarian.org>
6814
6815         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6816           document options change.
6817
6818 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6819
6820         * counters.[Ch]
6821         * text2.C
6822         * paragraph.[Ch]
6823         * makefile.am: move counters functionality over from
6824         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6825
6826 2002-08-06  John Levon  <levon@movementarian.org>
6827
6828         * WordLangTuple.h: new file for word + language code tuple
6829
6830         * SpellBase.h:
6831         * pspell.h:
6832         * pspell.C:
6833         * ispell.h:
6834         * ispell.C:
6835         * lyxtext.h:
6836         * text.C:
6837         * text2.C:
6838         * BufferView.h:
6839         * BufferView2.C: use WordLangTuple
6840
6841         * layout.h:
6842         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6843
6844 2002-08-06  John Levon  <levon@movementarian.org>
6845
6846         * lyx_main.C: fix cmdline batch handling
6847
6848 2002-08-06  André Pönitz <poenitz@gmx.net>
6849
6850         * lyxrc.C: set default for show_banner to true
6851
6852 2002-08-06  John Levon  <levon@movementarian.org>
6853
6854         * pspell.C: fix a crash, and allow new aspell to work
6855
6856 2002-08-06  John Levon  <levon@movementarian.org>
6857
6858         * lyxfunc.C:
6859         * kbmap.C: small cleanup
6860
6861         * vspace.h:
6862         * vspace.C: add const
6863
6864 2002-08-05  John Levon  <levon@movementarian.org>
6865
6866         * LyXAction.C: back to tabular-insert
6867
6868 2002-08-04  John Levon  <levon@movementarian.org>
6869
6870         * BufferView.h:
6871         * BufferView.C: cosmetic change
6872
6873         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6874
6875         * bufferlist.C:
6876         * buffer.h:
6877         * buffer.C:
6878         * lyxcb.h:
6879         * lyxcb.C:
6880         * lyxserver.C:
6881         * lyxvc.C:
6882         * vc-backend.C:
6883         * BufferView2.C: purge all "Lyx" not "LyX" strings
6884
6885         * lyxcursor.h:
6886         * lyxcursor.C: attempt to add some documentation
6887
6888         * lyxfunc.C:
6889         * commandtags.h:
6890         * LyXAction.C:
6891         * ToolbarDefaults.C:
6892         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6893           merge with LFUN_TABULAR_INSERT
6894
6895         * Makefile.am:
6896         * SpellBase.h:
6897         * ispell.h:
6898         * ispell.C:
6899         * pspell.h:
6900         * pspell.C: split up i/pspell implementations into separate
6901           files, many cleanups
6902
6903         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6904
6905         * text2.C: some cleanup
6906
6907         * lyxfunc.C: don't check for isp_command == "none" any more, it
6908           didn't make any sense
6909
6910 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6911
6912         * counters.[Ch]
6913         * text2.C
6914         * paragraph.[Ch]
6915         * makefile.am: move counters functionality over
6916         from text2.C/paragraph.[Ch] to counters.[Ch], and
6917         make proper C++.
6918 2002-08-02  John Levon  <levon@movementarian.org>
6919
6920         * buffer.C: s/lyxconvert/lyx2lyx/
6921
6922 2002-08-02  Angus Leeming  <leeming@lyx.org>
6923
6924         * lyxlex.C: revert John's change as it breaks reading of the user
6925         preamble.
6926
6927 2002-08-02  Angus Leeming  <leeming@lyx.org>
6928
6929         * importer.C (Import):
6930         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6931         changes due to LyXView::view() now returning a boost::shared_ptr.
6932
6933 2002-08-02  John Levon  <levon@movementarian.org>
6934
6935         * lyxlex.C: small cleanup
6936
6937 2002-08-02  John Levon  <levon@movementarian.org>
6938
6939         * text2.C (status): small cleanup, no logic change
6940
6941 2002-08-01  John Levon  <levon@movementarian.org>
6942
6943         * buffer.h:
6944         * buffer.C (writeFile): don't output alerts, caller
6945           handles this
6946
6947         * bufferlist.C:
6948         * lyx_cb.C: from above
6949
6950         * lyxfunc.C: allow to open non-existent files
6951
6952 2002-07-31  John Levon  <levon@movementarian.org>
6953
6954         * lyxserver.C: don't let incidental errors get
6955           in the way (errno)
6956
6957 2002-07-30  John Levon  <levon@movementarian.org>
6958
6959         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6960
6961 2002-07-30  John Levon  <levon@movementarian.org>
6962
6963         * lyxserver.h:
6964         * lyxserver.C: remove I/O callback too
6965
6966 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6967
6968         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6969         log.
6970
6971 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * many files: strip,frontStrip -> trim,ltrim,rtrim
6974
6975 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * PrinterParams.h: remove extern containsOnly, and include
6978         support/lstrings.h instead.
6979
6980         * LaTeX.C (scanAuxFile): modify because of strip changes
6981         (deplog): ditto
6982         * buffer.C (makeLaTeXFile): ditto
6983         * bufferparams.C (writeFile): ditt
6984         * lyxfont.C (stateText): ditto
6985         * lyxserver.C (read_ready): ditto
6986         * vc-backend.C (scanMaster): ditto
6987
6988         * BufferView_pimpl.h: ws changes
6989
6990         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6991
6992 2002-07-26  André Pönitz <poenitz@gmx.net>
6993
6994         * kb_sequence.C: remove unnedred usings
6995
6996 2002-07-26  Juergen Vigna  <jug@sad.it>
6997
6998         * lyxfind.C (LyXReplace): we have to check better if the returned
6999         text is not of theLockingInset()->getLockingInset().
7000
7001 2002-07-25  Juergen Vigna  <jug@sad.it>
7002
7003         * lyxfind.C (LyXReplace): don't replace if we don't get the
7004         right LyXText.
7005
7006         * undo_funcs.C (createUndo): remove debugging code.
7007
7008 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7009
7010         * buffer.C (parseSingleLyXformat2Token): Use default placement
7011         when reading old floats.
7012
7013         * FloatList.C (FloatList): Change the default placement of figure
7014         and tables to "tbp".
7015
7016 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7017
7018         * MenuBackend.C: using std::max
7019
7020 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7021
7022         * MenuBackend.C (expandToc):
7023         (expandToc2): code moved from xforms menu frontend. It is now
7024         generic and TOCs are transparent to menu frontends.
7025
7026 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7027
7028         * toc.C (getTocList): protect against buf=0
7029
7030         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7031         Menu as first parameter. Now, this calls itself recursively to
7032         expand a whole tree (this will be useful for TOC handling)
7033         (expandFloatInsert): remove 'wide' version of floats
7034
7035         * MenuBackend.h (submenuname): returns the name of the submenu.
7036         (submenu): returns the submenu itself, provided it has been
7037         created by MenuBackend::expand
7038
7039 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7040
7041         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7042         insets which have noFontChange == true. (bug #172)
7043
7044 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7045
7046         * BufferView_pimpl.C: add connection objects and use them...
7047         (Pimpl): here.
7048
7049 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7050
7051         * MenuBackend.C (expandLastfiles):
7052         (expandDocuments):
7053         (expandFormats):
7054         (expandFloatListInsert):
7055         (expandFloatInsert):
7056         (expand): split expand in parts
7057
7058 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7059
7060         * lyx_gui.C: use lyx_gui::exit()
7061
7062 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7063
7064         * LyXAction.C: show the failing pseudo action
7065
7066 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7067
7068         * buffer.C (readFile): Run the lyxconvert script in order to read
7069         old files.
7070
7071 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7072
7073         * LyXAction.C:
7074         * commandtags.h:
7075         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7076
7077 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7078
7079         * LyXAction.C:
7080         * commandtags.h:
7081         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7082
7083 2002-07-22  Herbert Voss  <voss@lyx.org>
7084
7085         * lengthcommon.C:
7086         * lyxlength.[Ch]: add support for the vertical lengths
7087
7088 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7089
7090         * toc.[Ch]: std:: fixes
7091
7092 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7093
7094         * lyxrc.C: do not include lyx_main.h
7095
7096         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7097         for layouts
7098
7099         * lyxrc.C:
7100         * encoding.C:
7101         * bufferlist.C:
7102         * BufferView2.C: include "lyxlex.h"
7103
7104         * tabular.h:
7105         * bufferparams.h: do not #include "lyxlex.h"
7106
7107         * lyxtextclasslist.C (Add): remove method
7108         (classlist): renamed to classlist_
7109
7110         * paragraph_pimpl.C:
7111         * paragraph.C:
7112         * text2.C:
7113         * CutAndPaste.C:
7114         * bufferview_funcs.C:
7115         * bufferlist.C:
7116         * text.C:
7117         * LaTeXFeatures.C:
7118         * buffer.C:
7119         * toc.C (getTocList): use BufferParams::getLyXTextClass
7120
7121         * toc.C (getTocList): use InsetFloat::addToToc
7122
7123         * toc.[Ch]: new files, containing helper functions to handle table
7124         of contents
7125
7126         * lyxfunc.C (dispatch): no need to remove spaces around command
7127         given as a string
7128         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7129         first command of the sequence; it is not very clever, but I do not
7130         have a better idea, actually
7131
7132         * LyXAction.C (LookupFunc): make sure to remove space at the
7133         beginning and end of the command
7134
7135 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7136
7137         * MenuBackend.C (getMenubar): new method: return the menubar of
7138         this menu set
7139         (read): treat differently reading of menu and menubar (in
7140         particular, the menubar has no name now)
7141         (Menu::menubar): remove
7142
7143         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7144         saving is finished
7145
7146 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7147
7148         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7149         a bibitem inset in a RTL paragraph.
7150
7151 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7152
7153         * paragraph_pimpl.C: constify
7154
7155         * BufferView_pimpl.C:
7156         * LaTeX.C:
7157         * lyxfunc.C: fix dispatch in a nicer way
7158
7159 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7160
7161         * lyxfunc.C (dispatch):
7162         * BufferView_pimpl.C:
7163         * BufferView_pimpl.h:
7164         * BufferView.C:
7165         * BufferView.h: rename Dispatch() to dispatch()
7166
7167         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7168
7169         * lyxlayout.C (Read): honor DependsOn tag
7170
7171         * lyxlayout.[Ch] (depends_on): new method
7172
7173         * version.C.in: update lyx_docversion
7174
7175         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7176
7177         * paragraph.C (validate): remove from here...
7178         * paragraph_pimpl.C (validate): ... and move here
7179         (isTextAt): make it const
7180
7181         * buffer.C (getLists): ws cleanup
7182
7183 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7184
7185         * language.C (read): Use iso8859-1 encoding in latex_lang
7186         (this prevents LyX from crashing when using iso10646-1 encoding).
7187
7188 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7189
7190         * text2.C (toggleInset): if cursor is inside an inset, close the
7191         inset and leave cursor _after_ it
7192
7193 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7194
7195         * lyxfunc.C: move minibuffer completion handling out of here
7196
7197 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7198
7199         * BufferView_pimpl.C:
7200         * LaTeX.C: fix dispatch calls
7201
7202 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7203
7204         * text.C (drawChars): Fix Arabic text rendering.
7205
7206 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7207
7208         * LyXAction.C:
7209         * commandtags.h:
7210         * lyxfunc.C: remove message-push/pop
7211
7212         * lyxserver.C:
7213         * lyxfunc.h:
7214         * lyxfunc.C: rationalise some code by removing verboseDispatch
7215           in favour of a bool argument to dispatch()
7216
7217 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7218
7219         * lyx_main.C (init): make sure to read symlinks as absolute paths
7220
7221 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7222
7223         * lyxfunc.h:
7224         * lyxfunc.C: no need for commandshortcut to be a member
7225
7226 2002-07-15  André Pönitz <poenitz@gmx.net>
7227
7228         * converter.C: add support for $$s (scripts from lib/scripts dir)
7229         * lyx_main.C: white space
7230
7231 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7232
7233         * bufferlist.C:
7234         * lyxrc.h:
7235         * lyxrc.C: remove second exit confirmation
7236
7237 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7238
7239         * BufferView.h:
7240         * BufferView.C:
7241         * BufferView2.C:
7242         * BufferView_pimpl.h:
7243         * BufferView_pimpl.C:
7244         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7245
7246 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7247
7248         * MenuBackend.C (expand): add numeric shortcuts to document menu
7249
7250         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7251
7252 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7253
7254         * lyxfont.C (setLyXFamily):
7255         (setLyXSeries):
7256         (setLyXShape):
7257         (setLyXSize):
7258         (setLyXMisc):
7259         (lyxRead):
7260         * debug.C (value):
7261         * buffer.C (asciiParagraph): use ascii_lowercase
7262
7263 2002-07-15  Mike Fabian  <mfabian@suse.de>
7264
7265         * lyxlex_pimpl.C (search_kw):
7266         * lyxlex.C (getLongString):
7267         * converter.h (operator<):
7268         * converter.C (operator<):
7269         * buffer.C (parseSingleLyXformat2Token):
7270         (asciiParagraph):
7271         * ToolbarDefaults.C (read):
7272         * MenuBackend.C (checkShortcuts):
7273         (read):
7274         * LColor.C (getFromGUIName):
7275         (getFromLyXName): use the compare_ascii_no_case instead of
7276         compare_no_case, because in turkish, 'i' is not the lowercase
7277         version of 'I', and thus turkish locale breaks parsing of tags.
7278
7279 2002-07-16  Angus Leeming  <leeming@lyx.org>
7280
7281         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7282         now takes a Buffer const & argument.
7283
7284 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7285
7286         * BufferView.C (resize): check there's a buffer to resize
7287
7288 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7289
7290         * lyxfunc.C: remove dead code
7291
7292         * lyxserver.h:
7293         * lyxserver.C: use lyx_guii::set_read_callback
7294
7295 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7296
7297         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7298         an inset in a RTL paragraph.
7299
7300 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7301
7302         * lyxfunc.C: repaint after a font size update
7303
7304 2002-07-15  André Pönitz <poenitz@gmx.net>
7305
7306         * lyxlength.C: inBP should be able to return negative values
7307
7308 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7309
7310         * lyxfunc.C: use lyx_gui::update_fonts()
7311
7312 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7313
7314         * lyxfunc.C: use lyx_gui::update_color()
7315
7316 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7317
7318         * bufferlist.C:
7319         * lyxfunc.h:
7320         * lyxfunc.C:
7321         * lyxrc.h:
7322         * lyxrc.C: remove file->new asks for name option, and let
7323           buffer-new take an argument
7324
7325 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7326
7327         * BufferView_pimpl.C: remove unneeded extra repaint()
7328
7329 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7330
7331         * LyXAction.C: allow command-sequence with NoBuffer
7332
7333         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7334
7335 2002-07-10  Angus Leeming  <leeming@lyx.org>
7336
7337         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7338
7339 2002-07-09  Angus Leeming  <leeming@lyx.org>
7340
7341         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7342
7343 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7344
7345         * lengthcommon.h: whitespace
7346
7347         * lyxfunc.C: update scrollbar after goto paragraph
7348
7349         * lyxtext.h: factor out page break drawing, and fix it so
7350           page break/added space paints as selected nicely
7351
7352 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7353
7354         * BufferView_pimpl.C: add FIXMEs, clean up a little
7355
7356 2002-07-09  André Pönitz <poenitz@gmx.net>
7357
7358         * lyxfont.[Ch]: support for wasy symbols
7359
7360 2002-07-08  André Pönitz <poenitz@gmx.net>
7361
7362         * BufferView_pimpl.C: apply John's patch for #93.
7363
7364 2002-07-05  Angus Leeming  <leeming@lyx.org>
7365
7366         * BufferView_pimpl.C (buffer): generate previews if desired.
7367
7368         * LColor.h: add "preview" to the color enum.
7369
7370         * LColor.C (LColor): add a corresponding entry to the items array.
7371
7372         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7373         with this buffer.
7374
7375 2002-07-05  Angus Leeming  <leeming@lyx.org>
7376
7377         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7378         The body of the code is now in the method that is passed an ostream &
7379         rather than a file name.
7380         Pass an additional only_preamble parameter, useful for the forthcoming
7381         preview stuff.
7382
7383 2002-07-03  André Pönitz <poenitz@gmx.net>
7384
7385         * lyxfunc.C: simplify getStatus() a bit for math stuff
7386
7387 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7388
7389         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7390
7391 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7392
7393         * text.C (changeRegionCase): do not change case of all the
7394         document when region ends at paragraph end (bug #461)
7395
7396 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7397
7398         * paragraph.C (startTeXParParams):
7399         (endTeXParParams): add \protect when necessary
7400
7401 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7402
7403         * BufferView_pimpl.C (workAreaExpose): remove warning
7404
7405 2002-06-27  Angus Leeming  <leeming@lyx.org>
7406
7407         * Makefile.am: add lyxlayout_ptr_fwd.h.
7408
7409 2002-06-26  André Pönitz <poenitz@gmx.net>
7410
7411         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7412
7413 2002-06-25  Angus Leeming  <leeming@lyx.org>
7414
7415         * lyxfunc.C (dispatch): Comment out the call to
7416         grfx::GCache::changeDisplay. The method no longer exists now that the
7417         pixmap generation part of the graphics loader has been moved into
7418         InsetGraphics.
7419
7420 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7421
7422         * text2.C: layout as layout
7423
7424         * text.C: layout as layout
7425
7426         * tabular.C (OldFormatRead): layout as layout
7427
7428         * paragraph_pimpl.C (TeXDeeper): layout as layout
7429         (realizeFont): layout as layout
7430
7431         * paragraph.C (writeFile): layout as layout
7432         (validate): layout as layout
7433         (getFont): layout as layout
7434         (getLabelFont): layout as layout
7435         (getLayoutFont): layout as layout
7436         (breakParagraph): layout as layout
7437         (stripLeadingSpaces): layout as layout
7438         (getEndLabel): layout as layout
7439         (getMaxDepthAfter): layout as layout
7440         (applyLayout): layout as layout
7441         (TeXOnePar): layout as layout
7442         (simpleTeXOnePar): layout as layout
7443         (TeXEnvironment): layout as layout
7444         (layout): layout as layout
7445         (layout): layout as layout
7446
7447         * lyxtextclass.C (compare_name): new functor to work with
7448         shared_ptr, layout as layout
7449         (Read): layout as layout
7450         (hasLayout): layout as layout
7451         (operator): layout as layout
7452         (delete_layout): layout as layout
7453         (defaultLayout): layout as layout
7454
7455         * lyxlayout_ptr_fwd.h: new file
7456
7457         * lyxlayout.C (Read): layout as layout
7458
7459         * lyx_cb.C (MenuInsertLabel): layout as layout
7460
7461         * bufferlist.C (newFile): layout as layout
7462
7463         * buffer.C (readLyXformat2): layout as layout
7464         (parseSingleLyXformat2Token): layout as layout
7465         (insertStringAsLines): layout as layout
7466         (asciiParagraph): layout as layout
7467         (latexParagraphs): layout as layout
7468         (makeLinuxDocFile): layout as layout
7469         (simpleLinuxDocOnePar): layout as layout
7470         (makeDocBookFile): layout as layout
7471         (simpleDocBookOnePar): layout as layout
7472         (getLists): layout as layout
7473
7474         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7475
7476         * CutAndPaste.C (cutSelection): layout as layout
7477         (pasteSelection): layout as layout
7478         (SwitchLayoutsBetweenClasses): layout as layout
7479
7480         * BufferView_pimpl.C (Dispatch): layout as layout
7481         (smartQuote): layout as layout
7482
7483         * BufferView2.C (unlockInset): layout as layout
7484
7485 2002-06-24  André Pönitz <poenitz@gmx.net>
7486
7487         * lyxfunc.C: fix #487
7488
7489 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7490
7491         * lyxrc.h:
7492         * lyxrc.C:
7493         * lyxfunc.C: remove display_shortcuts, show_banner
7494
7495 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7496
7497         * Buffer_pimpl.C: oops, update on resize
7498
7499 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7500
7501         * buffer.C:
7502         * converter.C:
7503         * exporter.C:
7504         * lyxfunc.C:
7505         * BufferView.h:
7506         * BufferView.C: use repaint()
7507
7508         * BufferView_pimpl.h:
7509         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7510           as it's a clearer description. Remove superfluous
7511           redraws.
7512
7513 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7514
7515         * text.C: fix bug 488. Not ideal, but getting
7516           getWord() to work properly for the insets that
7517           matter is more difficult ...
7518
7519 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7520
7521         * BufferView_pimpl.C:
7522         * LyXAction.C:
7523         * commandtags.h:
7524         * lyxfunc.C: remove the six million index lyxfuncs to just
7525           one, and DTRT (bug 458)
7526
7527 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7528
7529         * BufferView.h:
7530         * BufferView.C:
7531         * BufferView_pimpl.h:
7532         * BufferView_pimpl.C: clean up resize() stuff,
7533           and unnecessary updateScreen()s
7534
7535 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * BufferView.h:
7538         * BufferView.C:
7539         * BufferView_pimpl.h:
7540         * BufferView_pimpl.C:
7541         * lyxfind.h:
7542         * lyxfind.C:
7543         * minibuffer.C: remove focus management of workarea,
7544           not needed. Use screen's greyOut()
7545
7546 2002-06-17  Herbert Voss  <voss@lyx.org>
7547
7548         * converter.C: (convert) do not post a message, when converting
7549         fails, let the calling function decide what to do in this case
7550
7551 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7552
7553         * lyxfunc.C: tidy up a little
7554
7555 2002-06-16    <alstrup@diku.dk>
7556
7557         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7558         Got rid of FORMS_H_LOCATION include. Now we are
7559         GUII.
7560
7561 2002-06-15  LyX Development team  <lyx@rilke>
7562
7563         * buffer.[Ch] (sgmlOpenTag):
7564         (sgmlCloseTag): Added support for avoiding pernicious mixed
7565         content. Return number of lines written.
7566
7567         (makeLinuxDocFile):
7568         (makeDocBookFile): Fixed calls to sgml*Tag.
7569         Simple white space clean.
7570
7571         (simpleDocBookOnePar): Simple white space clean.
7572
7573         * tabular.[Ch] (docBook): Renamed to docbook and got another
7574         argument to related with the pernicious mixed content.
7575
7576         (docbookRow): Fixed calls for docbook inset method.
7577
7578 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7579
7580         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7581         so it's X11 independent.
7582
7583         * kb*.[Ch]: ditto.
7584
7585         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7586
7587 2002-06-15  Lyx Development team  <lyx@electronia>
7588
7589         * intl.h: Renamed getTrans to getTransManager.
7590
7591 2002-06-14  Angus Leeming  <leeming@lyx.org>
7592
7593         * Makefile.am: nuke forgotten stl_string_fwd.h.
7594
7595 2002-06-12  Angus Leeming  <leeming@lyx.org>
7596
7597         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7598
7599 2002-06-13  Angus Leeming  <leeming@lyx.org>
7600
7601         * LaTeX.C:
7602         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7603
7604 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7605
7606         * kbmap.C (getiso): add support for cyrillic and greek
7607
7608 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * BufferView.h:
7611         * BufferView.C:
7612         * BufferView_pimpl.h:
7613         * BufferView_pimpl.C: move bogus scrolling logic
7614           to xforms
7615
7616 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7617
7618         * lyxfunc.C:
7619         * BufferView_pimpl.C: view->resize() change
7620
7621 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7622
7623         * BufferView_pimpl.C: topCursorVisible
7624           prototype change
7625
7626 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7627
7628         * Makefile.am:
7629         * lyx_gui.h:
7630         * lyx_gui.C: move to frontends/
7631
7632         * main.C:
7633         * lyx_main.h:
7634         * lyx_main.C: changes from above
7635
7636 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7637
7638         * intl.C:
7639         * intl.h:
7640         * kbmap.C:
7641         * kbsequence.C:
7642         * lyx_cb.C:
7643         * lyx_main.C: minor tidy
7644
7645 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7646
7647         * BufferView_pimpl.h:
7648         * BufferView_pimpl.C:
7649         * BufferView.h:
7650         * BufferView.C: make painter() const,
7651           remove dead code
7652
7653         * BufferView2.C: use screen() accessor
7654
7655         * lyx_main.h:
7656         * lyx_main.C: some minor cleanup
7657
7658 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7659
7660         * BufferView_pimpl.h:
7661         * BufferView_pimpl.C: remove enter/leaveView,
7662           use workHeight()
7663
7664 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7665
7666         * BufferView.h:
7667         * BufferView.C:
7668         * BufferView2.C:
7669         * BufferView_pimpl.h:
7670         * BufferView_pimpl.C: only construct screen once,
7671           rename
7672
7673         * lyxrc.C: remove pointless comment
7674
7675 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7676
7677         * BufferView.h:
7678         * BufferView.C: remove active() and belowMouse()
7679
7680         * BufferView_pimpl.h:
7681         * BufferView_pimpl.C: use workarea() not workarea_,
7682           and make it use a scoped_ptr instead
7683
7684 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7685
7686         * lyx_gui.C: add debug message on BadWindow
7687
7688 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7689
7690         * sp_spell.C: fdopen is not part of the C++ standard.
7691
7692         * paragraph.C (InsetIterator): use >= instead of ==
7693
7694 2002-06-07  Angus Leeming  <leeming@lyx.org>
7695
7696         Fixes needed to compile with Compaq cxx 6.5.
7697         * BufferView_pimpl.C:
7698         * DepTable.C:
7699         * buffer.C:
7700         * converter.C:
7701         * encoding.C:
7702         * lyx_gui.C:
7703         * lyx_main.C:
7704         * lyxtextclasslist.C:
7705         * minibuffer.C:
7706         * sp_spell.C:
7707         * tabular_funcs.C:
7708         * vc-backend.C:
7709         all c-library variables have been moved into namespace std. Wrap
7710         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7711
7712         * lyxlength.C:
7713         * tabular-old.C:
7714         * tabular.C:
7715         Add a using std::abs declaration.
7716
7717         * kbmap.h (modifier_pair):
7718         * paragraph.h (InsetTable, InsetList):
7719         * lyxfont.h (FontBits):
7720         type definition made public.
7721
7722         * bufferlist.C (emergencyWriteAll): the compiler complains that
7723         there is more than one possible lyx::class_fun template to choose from.
7724         I re-named the void specialisation as lyx::void_class_fun.
7725
7726         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7727
7728         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7729         the compiler is is unable to find tostr in write_attribute.
7730
7731 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7732
7733         * buffer.C (sgmlError): hide #warning
7734
7735 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7736
7737         * xtl/*: get rid of xtl, which is not in use anyway
7738
7739         * LyXAction.C (init):
7740         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7741         were unimplemented xtl experimentation
7742
7743 2002-06-04  André Pönitz <poenitz@gmx.net>
7744
7745         * lyxfunc.C: disable array operation on simple formulae
7746
7747 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7748
7749         * converter.C: constify a bit
7750
7751 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7752
7753         * lyx_gui.C: check xforms version correctly
7754
7755 2002-04-30  Herbert Voss  <voss@lyx.org>
7756
7757         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7758         "keep" option
7759
7760 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7761
7762         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7763           attempt to register it with a VCS)
7764
7765 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * lyx_main.C (init): honor variables LYX_DIR_13x and
7768         LYX_USERDIR_13x
7769
7770 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7771
7772         * buffer.h:
7773         * buffer.C:
7774         * lyx_main.C: fix a crash on bad command line,
7775           and give a useful exit status on error
7776
7777         * lyxfunc.C (doImport): allow -i lyx to work
7778
7779 2002-03-30  André Pönitz <poenitz@gmx.net>
7780
7781         * lyxfunc.C: mathed font changes
7782
7783 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7784
7785         * LaTeX.C:
7786         * importer.h:
7787         * importer.C:
7788         * lyx_sty.h:
7789         * lyx_sty.C:
7790         * lyxlex.C:
7791         * lyxrow.h:
7792         * lyxtext.h:
7793         * paragraph.h:
7794         * paragraph.C:
7795         * texrow.h:
7796         * texrow.C:
7797         * text.C:
7798         * trans_mgr.h: srcdocs, and some minor cleanups
7799
7800 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7801
7802         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7803         call getFont all the time)
7804
7805 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7806
7807         * switch from SigC signals to boost::signals
7808
7809 2002-05-29  André Pönitz <poenitz@gmx.net>
7810
7811         * paragraph_pimpl.C (getChar): don't call size() too often...
7812
7813 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7814
7815         * paragraph_pimpl.C (insertChar): do not try to update tables when
7816         appending (pos == size())
7817
7818         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7819         in order to reduce drastically the number of comparisons needed to
7820         parse a large document
7821
7822 2002-05-29  André Pönitz <poenitz@gmx.net>
7823
7824         * text.C:
7825         * text2.C:
7826         * lyxtextclass.C:
7827         * sp_pspell.h:
7828         * textclasslist.[Ch]:
7829         * sp_ispell.h: whitespace change
7830
7831 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7832
7833         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7834         lyxaction directly now.
7835
7836 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7837
7838         * trans.C:
7839         * lyxfont.C:
7840         * lyxvc.C: remove unused headers
7841
7842 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7843
7844         * Makefile.am:
7845         * buffer.h:
7846         * undostack.h:
7847         * undostack.C:
7848         * undo_funcs.h:
7849         * undo_funcs.C: some cleanups. Use shared_ptr
7850           and a template for the undo stacks.
7851
7852 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7853
7854         * BufferView_pimpl.h:
7855         * BufferView_pimpl.C:
7856         * kbmap.h:
7857         * kbmap.C:
7858         * kbsequence.h:
7859         * kbsequence.C:
7860         * lyxfunc.h:
7861         * lyxfunc.C:
7862         * text2.C: use key_state/mouse_state
7863
7864 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7865
7866         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7867         and LSubstring
7868
7869         * chset.C: change include order
7870         (loadFile): use boost regex and get rid of LRegex and LSubstring
7871
7872         * Makefile.am (BOOST_LIBS): new variable
7873         (lyx_LDADD): use it
7874
7875         * LaTeX.C: change include order.
7876         (scanAuxFile): use boost regex and get rid of LRegex and
7877         LSubstring
7878         (deplog): ditto
7879
7880 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7881
7882         * ColorHandler.h:
7883         * ColorHandler.C:
7884         * FontInfo.h:
7885         * FontInfo.C: moved to frontends/xforms/
7886
7887         * FontLoader.h:
7888         * FontLoader.C: moved into frontends for GUIIzation
7889
7890         * Makefile.am:
7891         * lyx_gui.C:
7892         * lyxfont.C:
7893         * lyxfunc.C: changes from above
7894
7895 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * LColor.C: remove spurious X include
7898
7899         * BufferView_pimpl.C:
7900         * Makefile.am:
7901         * font.h:
7902         * font.C:
7903         * text.C:
7904         * text2.C: move font metrics to frontends/
7905
7906 2002-05-24  Juergen Vigna  <jug@sad.it>
7907
7908         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7909         setting the undo_cursor.
7910
7911         * ParagraphParameters.h: include local includes first.
7912
7913 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7914
7915         * BufferView_pimpl.C:
7916         * BufferView_pimpl.h:
7917         * Makefile.am:
7918         * WorkArea.h:
7919         * WorkArea.C:
7920         * screen.C: move WorkArea into frontends/
7921
7922         * lyxscreen.h:
7923         * screen.C:
7924         * text.C:
7925         * BufferView.C:
7926         * BufferView2.C: move LyXScreen into frontends/
7927
7928         * lyxlookup.h:
7929         * lyxlookup.C:
7930         * lyx_gui.C: move lyxlookup into frontends/xforms/
7931
7932 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7933
7934         * BufferView2.C:
7935         * BufferView_pimpl.C:
7936         * FontLoader.C:
7937         * LyXView.h:
7938         * LyXView.C:
7939         * Makefile.am:
7940         * WorkArea.C:
7941         * XFormsView.h:
7942         * XFormsView.C:
7943         * buffer.C:
7944         * bufferlist.C:
7945         * bufferview_funcs.C:
7946         * converter.C:
7947         * importer.C:
7948         * lyx_cb.C:
7949         * lyx_gui.C:
7950         * lyx_main.C:
7951         * lyx_find.C:
7952         * lyxfunc.C:
7953         * lyxvc.C:
7954         * minibuffer.C:
7955         * text.C:
7956         * text2.C:
7957         * trans.C:
7958         * vc-backend.C: move LyX/XFormsView into frontends/
7959
7960 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7961
7962         * Makefile.am:
7963         * PainterBase.C:
7964         * PainterBase.h:
7965         * Painter.C:
7966         * Painter.h:
7967         * WorkArea.C:
7968         * WorkArea.h:
7969         * screen.C:
7970         * tabular.C:
7971         * text.C:
7972         * text2.C: move Painter to frontends/
7973
7974 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7975
7976         * buffer.C: comment out some some code that depend upon lyx_format
7977         < 220
7978
7979         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7980         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7981
7982         * buffer.h (NO_COMPABILITY): turn off compability
7983
7984         * ColorHandler.C: include scoped_array.hpp
7985
7986         * font.C: Use more specific smart_ptr header.
7987         * Painter.C: ditto
7988         * gettext.C: ditto
7989         * ShareContainer.h: ditto
7990         * lyx_main.h: ditto
7991         * kbmap.h: ditto
7992         * FontInfo.h: ditto
7993         * BufferView_pimpl.h: ditto
7994         * ColorHandler.h: ditto
7995
7996         * kbmap.C (defkey): change call to shared_ptr::reset
7997
7998 2002-05-21  Juergen Vigna  <jug@sad.it>
7999
8000         * buffer.C (insertErtContents): fix to insert ert asis if it is
8001         non empty. Skip it completely if it contains only whitespaces.
8002
8003 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8004
8005         * BufferView_pimpl.C:
8006         * BufferView2.C: clear selection on paste (bug 393)
8007
8008 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8009
8010         * DepTable.C: include ctime
8011
8012 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8013
8014         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8015
8016 2002-05-14  Juergen Vigna  <jug@sad.it>
8017
8018         * text.C (breakParagraph): fixed function to honor the keepempty
8019         layout in the right maner and also to permit the right breaking
8020         algorithm on empty or non empyt keepempty paragraphs.
8021
8022         * paragraph.C (breakParagraph): we have to check also if the par
8023         is really empty (!size()) for isempty otherwise we do the wrong
8024         paragraph break.
8025
8026 2002-05-10  Juergen Vigna  <jug@sad.it>
8027
8028         * buffer.[Ch] : The following are only changes to the ert
8029         compatibility read reading old LaTeX layout and font stuff and
8030         convert it to ERTInsets.
8031
8032         * buffer.h: added isErtInset().
8033
8034         * buffer.C (struct ErtComp): add a fromlayout bool to check
8035         if we're inside a LaTeX layout.
8036         (isErtInset): new helper function.
8037         (insertErtContents): look for other ert insets before this one
8038         and insert the contents there, so that we don't have subsequent
8039         ERT insets with nothing between them. This way we create only one
8040         inset with multiple paragraphs. Also check if we don't insert only
8041         spaces ' ' as they are ignored anyway afterwards in the .tex file
8042         so if we have only spaces we will ignore this latex part in the
8043         new file.
8044         (parseSingleLyXformat2Token \\layout): better compatibility when
8045         reading layout-latex stuff.
8046         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8047         language tag.
8048         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8049         stuff after reading the inset only get the information back from
8050         the stack.
8051
8052 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8053
8054         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8055
8056         * LaTeXFeatures.C (getBabelOptions): New method.
8057
8058 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8059
8060         * BufferView_pimpl.C (Dispatch): work around missing argument for
8061         'layout'
8062
8063 2002-05-08  Juergen Vigna  <jug@sad.it>
8064
8065         * text.C (leftMargin): handle paragraph leftindent.
8066
8067         * paragraph.C (writeFile): write the new \\leftindent tag.
8068         (validate): handle leftindent code.
8069         (TeXEnvironment): handle paragraphleftindent code again.
8070
8071         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8072
8073         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8074         for paragrap_extra indent code and new token \\leftindent.
8075         (latexParagraphs): handle the leftindent as environment.
8076
8077         * ParameterStruct.h: added leftindent support.
8078
8079         * ParagraphParameters.C (leftIndent): added support functions for
8080         the paragraph left indent.
8081
8082         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8083         more appropriate.
8084
8085 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8086
8087         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8088         inside insetERT.
8089
8090         * text.C (computeBidiTables): No bidi in insetERT.
8091
8092         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8093         in RTL documents.
8094
8095 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8096
8097         * version.C.in: pre 5
8098
8099 2002-05-02  José Matos  <jamatos@fep.up.pt>
8100         * buffer.C (makeDocBookFile): white space changes, add newline to
8101         command styles.
8102         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8103
8104         * tabular.C (docBook): fix typo.
8105
8106 2002-05-03  Juergen Vigna  <jug@sad.it>
8107
8108         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8109         change in LyXText as we can not be sure it was not freed.
8110         (drawOneRow): remove unused code.
8111
8112         * text.C (drawInset): redo the calculation of the need_break_row as
8113         it could have a row which was already freed.
8114         (draw): look at the return value of drawInset and return false if
8115         it also returned false.
8116         (paintRowText): look at the return value of draw and return false if
8117         it also returned false.
8118
8119         * lyxtext.h: added bool return type to drawInset() and draw() so that
8120         if we have a change in the row so that the rowbreak has to be redone
8121         we abort drawing as it will be called again.
8122
8123 2002-05-02  Juergen Vigna  <jug@sad.it>
8124
8125         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8126         a change in the maintext also if we're inside an inset.
8127         (Dispatch): set the cursor again after a break line and after the
8128         screen has been updated as it could be we're in a different row.
8129
8130         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8131         to set the cursor behind the pargraph with > size().
8132         (setCursor): check also for the same paragraph when checking where
8133         to put the cursor if we have a NFR inset.
8134
8135         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8136         parts of layout read further up as it still was in the wrong
8137         position.
8138
8139 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8140
8141         * screen.C (drawFromTo): change sine fullRebreak always return
8142         true.
8143
8144         * buffer.C (parseSingleLyXformat2Token): reindent some
8145
8146         * BufferView_pimpl.C (update): change since fullRebreak always
8147         return true.
8148         (Dispatch): git rid of the last hardcoded "Standard"s.
8149
8150 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8151
8152         * text2.[Ch] (fullRebreak): make it return void now that we always
8153         returned true.
8154
8155 2002-04-30  Juergen Vigna  <jug@sad.it>
8156
8157         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8158         ert compatibility check for "latex" layout.
8159
8160 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8161
8162         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8163         minipages: use col% instead of p%, and also use the current font.
8164         (makeLaTeXFile): Fix use babel condition.
8165         (parseSingleLyXformat2Token): Correct font when reading old floats.
8166
8167 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8168
8169         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8170         inserting list of floats.
8171
8172 2002-04-25  Herbert Voss  <voss@lyx.org>
8173
8174         * MenuBackend.C (expand): don't add the graphics extensions to the
8175         export menu
8176
8177 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8178
8179         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8180         non-existing layout, do not complain if it was the default layout
8181         of the original class (bug #342)
8182
8183 2002-04-24  Juergen Vigna  <jug@sad.it>
8184
8185         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8186         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8187
8188 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8189
8190         * buffer.C (getBibkeyList): If using \bibliography, return the
8191         option field with the reference itself. Enables us to provide natbib
8192         support when using \bibliography.
8193
8194 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8195
8196         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8197
8198         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8199         natbib is provided by the LaTeX class.
8200
8201 2002-04-23  Juergen Vigna  <jug@sad.it>
8202
8203         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8204         Wakeup functions.
8205
8206         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8207
8208 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8209
8210         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8211
8212         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8213         ensuremath around textordmasculine, textordfeminine and
8214         textdegree.
8215
8216 2002-04-19  Juergen Vigna  <jug@sad.it>
8217
8218         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8219         reinitializing the buffer otherwise row-dimensions may be wrong.
8220         (update): reset also the selection cursors if they do exits otherwise
8221         their x/y positions may be wrong.
8222
8223         * text2.C (cursorDown): don't enter the inset if we came from a row
8224         above and are one row over the inset.
8225
8226         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8227         really leaving an inset.
8228
8229 2002-04-18  Juergen Vigna  <jug@sad.it>
8230
8231         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8232         of the selected paragraph does not have the selected layout also if
8233         the last one had!
8234
8235         * text2.C (setLayout): fixed bug which did not change last selected
8236         paragraph.
8237
8238         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8239         changed the read and substituted \\end_float with \\end_inset!
8240
8241         * BufferView_pimpl.C (cursorPrevious):
8242         (cursorNext): fixed to make it work with rows heigher than the work
8243         area without moving the cursor only the draw of the row.
8244         (workAreaMotionNotify): fix jumping over high rows.
8245
8246 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8247
8248         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8249         Ressler.
8250
8251 2002-04-16  Juergen Vigna  <jug@sad.it>
8252
8253         * text2.C (setCursor): set also the irow().
8254         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8255         (cursorUp):
8256         (cursorDown): support for locking an inset if the x_fix value goes
8257         inside it. That way I can transverse insets too with cursor up/down.
8258
8259         * lyxrow.h: added irow helper function same as other (i) functions.
8260
8261         * BufferView_pimpl.C (cursorPrevious):
8262         (cursorNext): fixed for insets!
8263
8264 2002-04-15  Juergen Vigna  <jug@sad.it>
8265
8266         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8267         position otherwise it is wrong in some cases.
8268
8269         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8270         inside the inset before the call.
8271
8272 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8273
8274         * buffer.[Ch] (getBibkeyList): make it const.
8275
8276 2002-04-12  Juergen Vigna  <jug@sad.it>
8277
8278         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8279
8280         * text2.C (getCursorX): new helper function
8281         (setCursor): compute also ix_
8282         (setCursorFromCoordinates): set also ix.
8283
8284         * lyxcursor.h: added ix_ and helper functions.
8285
8286         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8287
8288         * buffer.C (insertStringAsLines): dont break paragraph if the this
8289         paragraph is inside an inset which does not permit it!
8290
8291         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8292         also with no chars on this paragraph.
8293         (paintRowText): only paint stuff if it's inside the workarea!
8294
8295         * paragraph.C (breakParagraph): honor keepempty flag and break the
8296         paragraph always below not above.
8297
8298         * BufferView2.C (unlockInset): update the paragraph layout on inset
8299         unlock as we changed paragraph in such a case.
8300
8301         * lyxfind.C (LyXFind): clear the former selection if not found!
8302
8303         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8304         again called in insertChar().
8305
8306         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8307         an inset which uses the whole row!
8308         (rightMargin): ditto.
8309         (insertChar): force a rebreak if we inserted an inset!
8310
8311 2002-03-28  Herbert Voss  <voss@lyx.org>
8312
8313         * lyxlength.[Ch]: add inBP() to get the right PS-point
8314         units (BigPoint). With inPixels we have rounding errors
8315
8316 2002-04-11  Juergen Vigna  <jug@sad.it>
8317
8318         * text2.C (setCursorFromCoordinates): set iy to the right value.
8319         (setCursor): add check if row->previous exists!
8320
8321         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8322         an old float_type as this was the case in the old code!
8323
8324         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8325
8326         * BufferView2.C (showLockedInsetCursor): use iy
8327         (fitLockedInsetCursor): ditto
8328
8329         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8330         locked insets as there we have the right value now.
8331
8332         * lyxcursor.C: added iy_ variable and iy functions to set to the
8333         baseline of cursor-y of the locked inset.
8334
8335         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8336         (setCursor): fixed for insets which need a full row.
8337
8338         * text.C (rowLastPrintable): don't ignore the last space when before
8339         an inset which needs a full row.
8340         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8341         as last character of a row when before a inset which needs a full row.
8342
8343 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8344
8345         * version.C.in: update date
8346
8347         * text2.C (fullRebreak): try to always return true and see what
8348         happens...
8349
8350 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8351
8352         * MenuBackend.C (expand): use Floating::listName
8353
8354         * FloatList.C (FloatList): add listName argument to the built-in
8355         floats
8356
8357         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8358         text associated with the float.
8359
8360 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8361
8362         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8363
8364 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8365
8366         * ShareContainer.h: add a couple of missing typenames.
8367
8368 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8369
8370         * lyxrc.C (getDescription): use _() correctly rather than N_().
8371
8372 2002-03-28  Herbert Voss  <voss@lyx.org>
8373
8374         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8375         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8376
8377 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8378
8379         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8380         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8381
8382 2002-03-29  Juergen Vigna  <jug@sad.it>
8383
8384         * lyxfunc.C (dispatch): add a missing fitCursor call.
8385
8386         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8387         it was scrolled by a cursor move, so return the bool status.
8388
8389         * BufferView.C (fitCursor): return the bool flag also to the outside
8390         world as this is needed.
8391
8392         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8393
8394         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8395         call the edit() as it is not needed (and wrong) IMO.
8396         (workAreaButtonPress): set the screen_first variable before evt.
8397         unlock the inset as this may change screen_first and then we have
8398         a wrong y position for the click!
8399
8400 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8401
8402         * MenuBackend.C (expand): another translation that I missed
8403
8404 2002-03-28  Juergen Vigna  <jug@sad.it>
8405
8406         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8407
8408         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8409
8410 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8411
8412         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8413
8414         * MenuBackend.C (expand): fix export/view/update when there is no
8415         document open.
8416
8417 2002-03-27  Herbert Voss  <voss@lyx.org>
8418
8419         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8420         and text%
8421
8422 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8423
8424         * bufferview_funcs.C (currentState): only show paragraph number
8425         for is DEVEL_VERSION is set.
8426
8427         * lyxfunc.C (dispatch): put warning in INFO channel
8428
8429         * MenuBackend.C (expand): translate the name of floats
8430
8431         * FloatList.C (FloatList): mark the float names for translation
8432
8433         * converter.C (convert): use LibScriptSearch
8434
8435 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8436
8437         * MenuBackend.C (defaults): fix default menu (we might as well get
8438         rid of it...)
8439
8440 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8441
8442         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8443         directory.
8444
8445 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8446
8447         * lyxvc.C: reorder includes.
8448
8449 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8450
8451         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8452           properly
8453
8454 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8455
8456         * CutAndPaste.C: change layouts earlier on paste
8457           to avoid crashing when calling getFont()
8458
8459 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8460
8461         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8462         irritating #error.
8463
8464 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8465
8466         * WorkArea.C: remove 'Pending' debug message.
8467
8468         * most files: ws cleanup
8469
8470         * buffer.[Ch]: ws changes
8471
8472         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8473
8474 2002-03-21  Juergen Vigna  <jug@sad.it>
8475
8476         * tabular.C (SetMultiColumn): collapse also the contents of the
8477         cells and set the last border right. Added a Buffer const * param.
8478
8479 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8480
8481         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8482         linking or not.
8483
8484 2002-03-19  Juergen Vigna  <jug@sad.it>
8485
8486         * text2.C (clearSelection): reset also xsel_cache.
8487
8488         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8489         where it needs to be called (John tells us to do so too :)
8490         (selectionLost): reset sel_cache.
8491
8492         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8493
8494 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8495
8496         * text2.C (setCursorIntern): put debuging code in INSETS channel
8497
8498 2002-03-19  André Pönitz <poenitz@gmx.net>
8499
8500         * lyxfunc.C: tiny whitespace change
8501
8502 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8503
8504         * ToolbarDefaults.C (init):
8505         * LyXAction.C (init):
8506         * commandtags.h:
8507         * BufferView_pimpl.C (Dispatch):
8508         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8509
8510 2002-03-19  Allan Rae  <rae@lyx.org>
8511
8512         * exporter.C (Export): removeAutoInsets before doing anything else.
8513         While I've just introduced a dependency on BufferView this really is
8514         the best place to clean the buffer otherwise you need to cleanup in
8515         a dozen places before calling export or cleanup in a dozen functions
8516         that export calls.
8517
8518         * converter.C (runLaTeX):
8519         (scanLog): Better handling of removeAutoInsets and screen updates.
8520
8521         * lyxfunc.C (dispatch): small whitespace changes
8522
8523 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8524
8525         * WorkArea.C (C_WorkAreaEvent): return a value.
8526         (event_cb): return 1 if we handled the event, 0 otherwise.
8527
8528         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8529
8530 2002-03-18  Juergen Vigna  <jug@sad.it>
8531
8532         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8533         (GetAdditionalWidth): ditto.
8534         (RightLine): ditto.
8535         (LeftLine): ditto.
8536
8537         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8538         inset if we're there actually (probably not used right now but this
8539         is the direction to go for unifying code).
8540         (paste): disable code to clear the selection.
8541
8542         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8543         inside an InsetText and move the check further up as it is in the
8544         wrong place.
8545
8546         * text2.C (pasteSelection): set a selection over the pasted text.
8547
8548 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8549
8550         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8551         and libgraphics to build on Cygwin.
8552
8553 2002-03-15  Juergen Vigna  <jug@sad.it>
8554
8555         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8556         inserting an Inset into the paragraph. I know this is not the best
8557         fix but we already use current_view in CutAndPaste so we will remove
8558         all of it's using at the same time.
8559
8560         * buffer.C (sgmlError): deactivated function till it is rewritten in
8561         the right mode, now it can create problems.
8562
8563         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8564         before accessing it.
8565
8566 2002-03-14  Juergen Vigna  <jug@sad.it>
8567
8568         * undo_funcs.C (textHandleUndo): do the right thing when updating
8569         the inset after the undo/redo.
8570
8571         * text2.C (setCursor): just some testcode for #44 not ready yet.
8572
8573         * undo_funcs.C (textHandleUndo): set the next() and previous()
8574         pointers of the paragraph to 0 before deleting otherwise we have
8575         problems with the Paragraph::[destructor].
8576
8577         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8578         on a paragraph insertion.
8579
8580 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8581
8582         * buffer.C (asciiParagraph): use += operator for char append to
8583         string.
8584
8585         * paragraph.C (getFontSettings): compare >= not just >
8586         (highestFontInRange): ditto
8587         (setFont): ditto
8588
8589 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8590
8591         * paragraph.C: change several algorithm to be more appripriate for
8592         the problem domain. This is lookip in FontList and in the InsetList.
8593
8594 2002-03-13  André Pönitz <poenitz@gmx.net>
8595
8596         * commandtags.h:
8597         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8598
8599 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * commandtags.h:
8602         * LyXAction.C:
8603         * lyxfunc.C:
8604         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8605
8606 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8607
8608         * Painter.C (display): anon helper function, adjust code for this
8609         change.
8610         (pixmap): remove function.
8611
8612         * Painter.h: remove private display variable.
8613
8614         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8615
8616 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8617
8618         * WorkArea.[Ch]: remove figinset_canvas cruft.
8619
8620 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8621
8622         * lyxtextclass.C (operator): add one item cache optimization.
8623
8624         * bufferlist.h: doxy changes
8625
8626         * bufferlist.C: ws changes
8627
8628         * DepTable.[Ch] (ext_exist): place const in the right spot.
8629
8630         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8631         call resizeInsets.
8632         (workAreaExpose): call resizeInsets when the with BufferView changes.
8633         (Dispatch): adjust for protectedBlank removal
8634         (specialChar): call updateInset if the insert went ok.
8635
8636         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8637         specialChar instead.
8638
8639         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8640
8641         * BufferView.h: doxy change
8642
8643         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8644
8645         * lyxtextclass.C (operator[]): remove non-const version
8646         (defaultLayout): remove non-const version
8647
8648 2002-03-12  Juergen Vigna  <jug@sad.it>
8649
8650         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8651         did resize the LyXText too.
8652
8653         * buffer.C (readLyXformat2): set layout information on newly allocated
8654         paragraphs.
8655
8656         * tabular.C (OldFormatRead): set layout information on the paragraph.
8657
8658 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8659
8660         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8661
8662 2002-03-11  Juergen Vigna  <jug@sad.it>
8663
8664         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8665         plainly wrong.
8666         (resizeCurrentBuffer): force also the insets to resize themselfes.
8667         (moveCursorUpdate): fixed up for InsetText.
8668
8669 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8670
8671         * commandtags.h:
8672         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8673         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8674         value of Dialogs::tooltipsEnabled().
8675         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8676
8677 2002-03-08  Juergen Vigna  <jug@sad.it>
8678
8679         * BufferView_pimpl.C (updateInset): update inset inside inset also
8680         if it isn't inside theLockingInset().
8681
8682 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8683
8684         * buffer.C (asciiParagraph): redo some of the word and line length
8685         handling.
8686         (getLists): look for Caption instead of caption.
8687
8688 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8689
8690         * buffer.C (Buffer): initialize niceFile to true
8691         (makeLaTeXFile):
8692         (makeLinuxDocFile):
8693         (makeDocBookFile): make sure niceFile is true on exit
8694
8695 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8696
8697         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8698
8699 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8700
8701         * LyXSendto.C: remove.
8702         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8703         * lyx_gui.C: remove now-redundant comment.
8704         * ColorHandler.h: remove forward declaration of class WorkArea.
8705         * lyxfunc.C: remove #include "WorkArea.h".
8706
8707 2002-03-07  Juergen Vigna  <jug@sad.it>
8708
8709         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8710         got moved away with the DEPM and also set the inset_owner always
8711         right which before could have been omitted.
8712
8713 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8714
8715         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8716         wanted layout is not found.
8717
8718 2002-03-07  Juergen Vigna  <jug@sad.it>
8719
8720         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8721
8722 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8723
8724         * paragraph.C (breakParagraph): use default layout not layout of
8725         prev paragraph.
8726         (Paragraph): clear ParagraphParameters.
8727
8728 2002-03-06  Juergen Vigna  <jug@sad.it>
8729
8730         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8731         otherwise it would not be a valid lenght. Fixed a special case in
8732         the minipage compatibility read where we end the document with a
8733         minipage.
8734
8735         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8736         was set as it could be 0 for InsetTexts first entry.
8737
8738 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8739
8740         * paragraph.C (writeFile): if layout is empty write out
8741         defaultLayoutName().
8742
8743         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8744         file without named layout we set layout to defaultLayoutName().
8745
8746 2002-03-06  Juergen Vigna  <jug@sad.it>
8747
8748         * CutAndPaste.C (copySelection): set layout for new paragraph.
8749
8750         * text.C (prepareToPrint): leave ERT inset left aligned
8751         (leftMargin): don't indent paragraphs inside ERT insets
8752
8753 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8754
8755         * paragraph.C (breakParagraph): dont call clear do the work manually
8756
8757         * paragraph.[Ch] (clear): remove function
8758
8759 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8760
8761         * paragraph.C (Paragraph): dont call clear, the work has already
8762         been done.
8763
8764         * lyxtextclass.C (operator): assert if n is empty
8765
8766         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8767         work manually instead.
8768
8769 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8770
8771         * BufferView_pimpl.C: protect selectionLost against text == 0
8772
8773 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8774
8775         * text.C (breakParagraph): fix a setting layout to '0' problem.
8776
8777 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8778
8779         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8780         final location of file, for the included files, and graphics.
8781
8782 2002-03-05  Juergen Vigna  <jug@sad.it>
8783
8784         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8785
8786 2002-03-04  Juergen Vigna  <jug@sad.it>
8787
8788         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8789
8790         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8791         last column of multicolumn cells.
8792         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8793
8794 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8795
8796         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8797         file if it doesn't go to a temporary file.
8798
8799         * buffer.C (sgmlOpenTag):
8800         (sgmlCloseTag):  remove extra newline insertion.
8801
8802 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8803
8804         * text.C (getRowNearY): comment out debug msg
8805
8806 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8807
8808         * text2.C: first -> first_y
8809
8810         * text.C (getRowNearY): add some attemts at a possible
8811         optimization, not working.
8812
8813         * tabular.[Ch]: add BufferParams to several function so that newly
8814         created paragraph can be initialized to he default layotu for the
8815         buffers textclass.
8816
8817         * tabular-old.C (ReadOld): add buf->params to call of Init
8818
8819         * screen.C: rename text->first to text->first_y
8820
8821         * paragraph.C (breakParagraph): always set layout in the broken
8822         paragraph
8823
8824         * lyxtextclass.C (Read): remove lowercase
8825         (hasLayout): ditto
8826         (operator): ditto
8827         (delete_layout): ditto
8828
8829         * lyxtext.h: rename first -> first_y
8830
8831         * lyxlayout.C (Read): remove lowercase
8832         (name): ditto
8833         (setName): ditto
8834         (obsoleted_by): ditto
8835
8836         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8837
8838         * buffer.C (insertErtContents): add params are to InsetERT
8839         (parseSingleLyXformat2Token): add code to check if a paragraphs
8840         layout really exist.
8841         (parseSingleLyXformat2Token): add params to several inset
8842         constructors
8843         (asciiParagraph): remove lowercase, do the layout comparisons with
8844         no_case
8845
8846         * BufferView_pimpl.C (cursorNext): first -> first_y
8847         (resizeCurrentBuffer): first -> first_y
8848         (updateScrollbar): first -> first_y
8849         (scrollCB): first -> first_y
8850         (workAreaMotionNotify): first -> first_y
8851         (workAreaButtonPress): first -> first_y
8852         (checkInsetHit): first -> first_y
8853         (cursorPrevious): first -> first_y
8854         (cursorNext): first -> first_y
8855         (Dispatch): add buffer_->params to severl inset contructors
8856
8857 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * lyxlayout.C (Read): remove some debug info that I forgot.
8860
8861         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8862         clean up the code slightly.
8863         (makeLinuxDocFile): ditto
8864         (makeDocBookFile): ditto
8865
8866         * text2.C: layout as string
8867
8868         * text.C: layout as string
8869
8870         * paragraph_pimpl.C: layout as string
8871
8872         * paragraph.[Ch]: layout as string
8873
8874         * lyxtextclasslist.[Ch]: layout as string
8875
8876         * lyxtextclass.[Ch]: layout as string
8877
8878         * lyxtext.h: layout as string
8879
8880         * lyxlayout.[Ch]: layout as string
8881
8882         * lyx_cb.C: layout as string
8883
8884         * bufferview_funcs.C: layout as string
8885
8886         * bufferparams.C: layout as string
8887
8888         * buffer.C: layout as string
8889
8890         * LyXView.[Ch]: layout as string
8891
8892         * LaTeXFeatures.[Ch]: layout as string
8893
8894         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8895
8896         * BufferView_pimpl.C: change current_layout to string, remove
8897         lyx::layout_type.
8898         (Dispatch):
8899         (smartQuote):
8900         (insertInset):
8901         (workAreaButtonRelease): layout as string
8902
8903         * BufferView2.C (unlockInset): adjust
8904
8905         * vspace.C (asLatexCommand): use an explict temp variable.
8906
8907 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8908
8909         * Makefile.am: use FRONTEND_*
8910
8911 2002-03-01  Juergen Vigna  <jug@sad.it>
8912
8913         * tabular.C (SetWidthOfMulticolCell): changed to something better
8914         I hope but still work in progress.
8915         (recalculateMulticolumnsOfColumn): renamed function from
8916         recalculateMulticolCells as it is more appropriate now.
8917         (SetWidthOfCell): calculate multicols better.
8918
8919 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8920
8921         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8922
8923         * lyxfunc.C (processKeySym): print sequence also if it is
8924         `deleted' (complete)
8925
8926         * kbsequence.C (print): print sequence even if it is deleted
8927         (complete would be a better word, actually).
8928
8929         * lyxfunc.C (dispatch): print complete options after a prefix key
8930
8931         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8932
8933 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8934
8935         * text2.C (setCharFont): eliminate setCharFont code duplication.
8936
8937 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8938
8939         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8940         LFUN_TABULAR_FEATURE (bug #177)
8941
8942 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8943
8944         * Makefile.am: remove figure.h
8945
8946 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8947
8948         * Bufferview_pimpl.C:
8949         * CutAndPasteC:
8950         * LaTeX.C:
8951         * LyXSendto.C:
8952         * buffer.C:
8953         * bufferlist.C:
8954         * converter.C:
8955         * language.C:
8956         * lyxfunc.C:
8957         * lyxvc.C:
8958         * paragraph.C:
8959         * text.C:
8960         * text2.C: remove #include "lyx_gui_misc.h".
8961
8962         * LaTeX.C: added #include <cstdio>
8963
8964 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8967         that the paragraph following this one can have.
8968
8969         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8970
8971         * vspace.C (asLatexCommand): fix bogus gcc warning
8972
8973         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8974
8975 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8976
8977         * text2.C (setLayout): get rid of redundant code
8978
8979 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8980
8981         * text2.C (incDepth): make sure depth cannot be increased beyond
8982         reasonable values.
8983
8984 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8985
8986         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8987         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8988
8989         * PainterBase.h (image):
8990         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8991         a LyXImage const *.
8992
8993 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8994
8995         * BufferView.C:
8996         * BufferView.h:
8997         * BufferView_pimpl.C:
8998         * BufferView_pimpl.h:
8999         * LaTeXFeatures.C:
9000         * LyXAction.C:
9001         * LyXView.C:
9002         * Makefile.am:
9003         * UpdateList.h:
9004         * UpdateList.C:
9005         * buffer.C:
9006         * figure.h:
9007         * figureForm.C:
9008         * figureForm.h:
9009         * figure_form.C:
9010         * figure_form.h:
9011         * lyx_cb.C:
9012         * lyx_gui.C:
9013         * lyx_gui_misc.C:
9014         * lyxfunc.C:
9015         * sp_base.h:
9016         * sp_ispell.h:
9017         * sp_pspell.h:
9018         * sp_spell.C: remove fig inset, and the crap house of
9019           cards that follows it
9020
9021 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9022
9023         * Makefile.am:
9024         * lyxserver.C:
9025         * os2_defines.h:
9026         * os2_errortable.h:
9027         * nt_defines.h: move .h into support/
9028
9029         * vms_defines.h: remove
9030
9031         * WorkArea.C: add space in debug output
9032
9033         * text2.C:
9034         * paragraph.C:
9035         * buffer.C: add WITH_WARNINGS
9036
9037         * vc-backend.h:
9038         * vc-backend.C:
9039         * bufferlist.C: s/retrive/retrieve/, add docs
9040
9041         * vspace.h:
9042         * vspace.C:
9043         * kbmap.h:
9044         * lyxlength.h:
9045         * lyxgluelength.h:
9046         * length_common.h:
9047         * chset.h:
9048         * chset.C: add docs
9049
9050         * lyxgui.C: add ID to X error handler
9051
9052         * lyxtestclass.c: fix typo
9053
9054 2002-02-26  Juergen Vigna  <jug@sad.it>
9055
9056         * tabular_funcs.C (write_attribute): changed so that some default
9057         attributes are not written at all.
9058         (getTokenValue): set default values before trying to read the
9059         value so we have the return value always set as default if we don't
9060         find the token we search for.
9061
9062         * tabular.C (Write): write bools as bools not as strings!
9063
9064 2002-02-22  Juergen Vigna  <jug@sad.it>
9065
9066         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9067         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9068
9069         * text.C (leftMargin): don't add an indent for paragraphs inside
9070         tabular cells (fix #208).
9071
9072 2002-02-21  José Matos  <jamatos@fep.up.pt>
9073
9074         * tabular.C (docBook): fixed support for long tables.
9075
9076 2002-02-20  Juergen Vigna  <jug@sad.it>
9077
9078         * text2.C (getFont): get the drawing font of the Inset if this
9079         paragraph is inside an inset (only important for InsetERT for now).
9080
9081         * buffer.C (insertErtContents): use new lanugage params in ERT
9082         constructor.
9083
9084         * CutAndPaste.C: commenting out seemingly uneeded code.
9085
9086 2002-02-19  Allan Rae  <rae@lyx.org>
9087
9088         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9089         Iterators might be simple to use but they also get invalidated.
9090         (removeAutoInsets): renamed saved cursor tracking variables and added
9091         some comments to clarify what everything does.
9092
9093 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9094
9095         * Chktex.C:
9096         * LaTeX.C:
9097         * LyXSendto.C:
9098         * converter.C:
9099         * lyx_cb.C:
9100         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9101         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9102
9103         * lyxfunc.C:
9104         * vc-backend.h: remove #include "support/syscall.h"
9105
9106         * LaTeX.C:
9107         * LyXSendto.C:
9108         * converter.C: rearrange #includes in Lars' approved fashion.
9109
9110         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9111         forward declare class Timeout in the header file.
9112
9113         * XFormsView.C: changes due to the above.
9114
9115         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9116         similar to LyXView.
9117
9118         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9119         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9120
9121 2002-02-18  José Matos  <jamatos@fep.up.pt>
9122
9123         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9124         insets contents.
9125
9126 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9127
9128         * a lot of small ws changes
9129         * add a lot of using std::XXX
9130         * use std construcs some places where approp.
9131         * use some exisint stuff from lyxfunctional where approp.
9132         * Make file changes to use partial linking (lets test this now...)
9133
9134 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9135
9136         * Chktex.C:
9137         * buffer.C:
9138         remove #include "support/syscontr.h" as it's redundant. Always has been.
9139
9140         * Chktex.C:
9141         * LaTeX.C:
9142         * LyXSendto.C:
9143         * converter.C:
9144         * lyx_cb.C:
9145         * vc-backend.C:
9146         change Systemcalls::System to Systemcalls::Wait and
9147         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9148         No change of functionality, just reflects the stripped down Systemcalls
9149         class.
9150
9151 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9152
9153         * debug.[Ch]: add a GRAPHICS type to the enum.
9154
9155 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9156
9157         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9158
9159         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9160         there is an inset.
9161
9162 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9163
9164         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9165         match the changes below.
9166
9167         * text2.C (toggleInset): if there is not editable inset at cursor
9168         position, try to see if cursor is _inside_ a collapsable inset
9169         and close it.
9170
9171 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9172
9173         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9174         document menu has a nice checkbox
9175
9176 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9177
9178         * lyxlength.C (asLatexString): change PW to output as percent of
9179         \textwidth.
9180
9181         * lengthcommon.C: change '%' to 't%'
9182
9183         * lyxfunc.C (dispatch): a few comments from Martin
9184
9185 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * WorkArea.h:
9188         * WorkArea.C:
9189         * BufferView_pimpl.h:
9190         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9191           the X selection.
9192
9193 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * vspace.C (inPixels): fix compiler warning
9196
9197 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9198
9199         * lyxfunc.C (getStatus): fix status message for disabled commands.
9200
9201 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * BufferView_pimpl.C: fix crash on close buffer
9204         during selection (#227)
9205
9206 2002-01-27  Herbert Voss  <voss@lyx.org>
9207
9208         * buffer.C: link old Figure to new graphic inset
9209
9210 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9211
9212         * FontLoader.C (getFontinfo): Change the latex font names in order
9213         to match the names of type1inst.
9214
9215 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9216
9217         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9218
9219         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9220         (extchanged): ditto
9221         (ext_exist): ditto
9222         (remove_files_with_extension): ditto
9223         (remove_file): ditto
9224         (write): ditto
9225
9226         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9227         document is smaller than the work area height. Do not initialize
9228         static variables to 0.
9229
9230 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9233
9234         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9235         LFUN_LAYOUT_PARAGRAPHS.
9236
9237         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9238         tabular. It is possible to provide a possible cell, which will
9239         typically be the actcell from the corresponding insettabular
9240
9241         * lyxfunc.C (getStatus): small cleanup; disable
9242         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9243         true
9244
9245 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9246
9247         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9248
9249         * paragraph.C (startTeXParParams):
9250         (endTeXParParams): new methods. The LaTeX code to
9251         start/end paragraph formatting
9252         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9253         empty (fixes bug #200)
9254
9255         * vspace.C (inPixels): adapt to the change below
9256         (inPixels): [later] more cleanups (remove unused variables)
9257
9258         * lyxlength.C (inPixels): change to use a width and a height as
9259         parameter.
9260
9261 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9262
9263         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9264         Replaced with \paperwidth
9265
9266         * DepTable.C (insert): add std:: qualifier
9267
9268 2002-01-18  Allan Rae  <rae@lyx.org>
9269
9270         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9271         updated also?
9272
9273         * text.C (drawInset): Turned out I didn't know enough about how
9274         rebreaking worked.  This fixes most of the redraw problems.  I see
9275         an occasional cursor trail when a line is broken now and the cursor
9276         placement can seem out by a few pixels also after a rebreak.
9277
9278 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9279
9280         * buffer.C (parseSingleLyXformat2Token): update because minipage
9281         width is now a LyXLength
9282
9283         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9284
9285         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9286         math insets
9287
9288 2002-01-17  Juergen Vigna  <jug@sad.it>
9289
9290         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9291
9292         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9293         is set correctly and the inset is updated correctly.
9294
9295 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9296
9297         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9298         the beginning of the loop.
9299
9300 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9301
9302         * lyxrc.C: improve help for use_scalable_fonts
9303
9304 2002-01-17  Allan Rae  <rae@lyx.org>
9305
9306         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9307
9308 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9309
9310         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9311         make sure to set their inset_owner to the right value (bug #171)
9312
9313 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9314
9315         * DepTable.h
9316         * DepTable.C: Implement mtime checking to reduce time spent doing
9317         CRCs.
9318
9319 2002-01-16  Juergen Vigna  <jug@sad.it>
9320
9321         * tabular.C (GetAdditionalHeight): one of error fixed.
9322
9323         * lyxrc.C (output): small fix in writing use_pspell.
9324
9325 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9326
9327         * sp_base.h: #include LString.h
9328
9329 2002-01-16  Allan Rae  <rae@lyx.org>
9330
9331         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9332         Can someone check this please?
9333
9334         * text.C (drawInset): It was possible that p.row would be removed by
9335         breakAgainOneRow upsetting a few other settings.  There may be another
9336         small tweak possible by setting need_break_row = 0 when p.row has been
9337         removed but I don't know enough about the logic here.
9338
9339 2002-01-15  Allan Rae  <rae@lyx.org>
9340
9341         * text.C (insertChar): removed conditional truism.
9342
9343         * BufferView2.C (removeAutoInsets): More tweaks.
9344         cur_par_prev could be a stray pointer.  Check for trailing empty line
9345         in case last line was cur_par and only had an error inset on it.
9346
9347 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9348
9349         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9350         absolute
9351
9352         * vc-backend.C (most methods):
9353         * exporter.C (Export):
9354         * converter.C (convert):
9355         (runLaTeX):
9356         * LyXSendto.C (SendtoApplyCB):
9357         * lyxfunc.C (dispatch):
9358         (menuNew):
9359         (open):
9360         (doImport):
9361         * lyx_cb.C (AutoSave):
9362         (InsertAsciiFile):
9363         * BufferView_pimpl.C (MenuInsertLyXFile):
9364         * buffer.C (runChktex): use Buffer::filePath().
9365
9366         * buffer.h: rename filename to filename_; rename filepath to
9367         filepath_ and make it private
9368         (filePath): new method
9369
9370         * buffer.C (writeFile): use fileName()
9371         (getLatexName):
9372
9373         * lyx_main.C (init): fix starting  of LyX when the binary is a
9374         link from so,ewhere else.
9375
9376         * minibuffer.C: include <cctype> for isprint
9377
9378 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9379
9380         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9381         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9382         name clash with InsetCollapsable's width function.
9383
9384 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9385
9386         * lastfiles.C: include <iterator>
9387
9388 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9389
9390         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9391         std::count.
9392
9393         * buffer.C (makeLaTeXFile): ditto.
9394         Also make loop operation more transparent.
9395
9396 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9397
9398         * ToolbarDefaults.C: remove trailing comma closing namespace.
9399
9400         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9401
9402         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9403         as in WorkArea.
9404
9405         * trans.C (Load): comment out unused variable, allowed.
9406
9407 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9408
9409         * minibuffer.[Ch] (append_char): new method to recieve input from the
9410         drop-down completion browser. If a key was pressed, then recieve this
9411         char and append it to the existing string.
9412         (peek_event): modify the positioning data passed to the completion
9413         browser so that it can be placed above the minibuffer rather than below.
9414 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9415
9416         * LyXAction.C (init): alloe error-next for readonly documents.
9417
9418         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9419         count.
9420
9421 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9422
9423         * bufferlist.C (readFile): create the buffer _after_ checking that
9424         the file exists.
9425
9426         * lyxfunc.C (verboseDispatch): fix handling of arguments
9427
9428         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9429
9430         * lyxrc.C: use string::erase() instead of initializing to "".
9431
9432
9433 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9434
9435         * BufferView_pimpl.h:
9436         * BufferView_pimpl.C:
9437         * WorkArea.h:
9438         * WorkArea.C:
9439         * text2.C: tell X when we have made a selection for copying
9440
9441 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9442
9443         * BufferView_pimpl.C (MenuInsertLyXFile):
9444         * lyxfunc.C (menuNew):
9445         (open):
9446         (doImport): add shortcuts to directory buttons
9447
9448         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9449         open a float)
9450
9451         * lyxfunc.C (setStatusMessage):
9452         (getStatusMessage): new methods
9453         (getStatus):use setStatusMessage instead of setErrorMessage
9454         (dispatch): when function is disabled, set error message here
9455         [instead of in getStatus previously]
9456
9457         * BufferView_pimpl.C (workAreaButtonRelease): update
9458         toolbar/menubar here too.
9459
9460 2002-01-13  Allan Rae  <rae@lyx.org>
9461
9462         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9463         Now seems indestructible.  Remaining task is to audit all other
9464         code affected by deleteEmptyParagraphMechanism.  One small quirk
9465         left is that an empty document with an error in the preamble can
9466         be made to report an error but no error box appears.  I don't know
9467         where it goes.
9468         (removeAutoInsets): Improved comments.
9469
9470 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9471
9472         * Thesaurus.h:
9473         * Thesaurus.C: update for Aiksaurus 0.14
9474
9475 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9476
9477         * text2.C (firstParagraph): removed member function, all uses
9478         replaces with ownerParagraph
9479         (redoParagraphs): here
9480         (updateInset): here
9481         (toggleAppendix): here
9482         * BufferView2.C (insertErrors): here
9483         (setCursorFromRow): here
9484
9485 2002-01-13  Allan Rae  <rae@lyx.org>
9486
9487         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9488         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9489         There is still a way to segfault this although you may have to do this
9490         multiple times: Have an InsetERT with an unknown command in it.
9491         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9492         <down-arrow>, <Enter> again, View->DVI, BANG!
9493
9494         * text2.C (setCursor):
9495         (deleteEmptyParagraphMechanism):
9496         * lyxtext.h (setCursor):
9497         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9498         Making use of the return value may help fix other bugs.
9499
9500 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9501
9502         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9503
9504         * LyXView.C (updateMenubar): call MenuBar::update here
9505         (updateToolbar): but not here
9506         (showState): do not update toolbar/menubar
9507
9508         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9509         should need to care about that.
9510
9511         * lyxfunc.C (verboseDispatch): simplify a bit
9512         (getStatus): have a version which takes a pseudoaction, and
9513         another which requires a (kb_action,string).
9514
9515         * LyXAction.C (retrieveActionArg): make it work also when action
9516         is not a pseudo-action.
9517         (getActionName): simplify a bit
9518         (helpText):
9519
9520 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * lyxfunc.C (verboseDispatch): new families of methods with
9523         several ways to specify a command and a bool to indicate whether
9524         the command name and shortcut should be displayed in minibuffer
9525         (eventually, we could extend that to a finer bitmask like
9526         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9527         (dispatch): the pristine dispatch command which just, well,
9528         dispatchs! Note it still sets its result to minibuffer; I'm not
9529         sure we want that.
9530
9531         * lyxfunc.h: remove setHintMessage
9532
9533         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9534
9535 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9536
9537         * BufferView_pimpl.C (specialChar): delete new inset if we have
9538         not been able to insert it.
9539
9540         * kbmap.C: revert to using int instead of kb_action, since all we
9541         are dealing with is pseudo-actions.
9542
9543         * LyXAction.C (searchActionArg): change to return int instead of
9544         kb_action, since the result is a pseudoaction.
9545
9546 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9547
9548         * buffer.C (insertErtContents): Fix (partially) the font bug.
9549
9550 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9551
9552         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9553         as the other one is broken on my machine!
9554
9555 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9556
9557         * commandtags.h:
9558         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9559
9560 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9561
9562         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9563         reflect their actual use. Provide compatibility code for older lyxrc
9564         files.
9565
9566         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9567         FL_NORMAL_STYLE.
9568         change names of popup font variables in line with the changes to lyxrc.C
9569
9570 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9571
9572         * buffer.C (asciiParagraph): avoid outputing a word twice after
9573         an inset.
9574
9575         * lyxrc.C (getDescription): document that document_path and
9576         template_path can be empty.
9577
9578 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * LaTeXFeatures.C (getMacros):
9581         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9582
9583         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9584
9585         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9586         getPackages.
9587         (getPackages): rename feature "floats" to "float". Use an array to
9588         iterate over 'simple' features (i.e. just a \usepackage). Add
9589         handling of "amsmath" (renamed from "amsstyle").
9590
9591 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9592
9593         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9594         features list.
9595
9596 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9597
9598         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9599         FuncStaus::FuncStatus & FuncStaus::some_method().
9600
9601 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9602
9603         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9604         of the func_satus stuff. Edited and massaged in various ways by
9605         JMarc.
9606
9607         * lyxfunc.C (getStatus): use FuncStatus
9608
9609 2002-01-08  Juergen Vigna  <jug@sad.it>
9610
9611         * text.C (nextBreakPoint): use function Inset::isChar().
9612
9613         * paragraph.C (TeXOnePar): use function
9614         Inset::forceDefaultParagraphs.
9615
9616         * buffer.C (latexParagraphs): use function
9617         Inset::forceDefaultParagraphs.
9618
9619 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9620
9621         * lyx_gui.C (init): set the style of the menu popups to
9622         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9623
9624 2002-01-07  Juergen Vigna  <jug@sad.it>
9625
9626         * text.C (setHeightOfRow): small fix
9627         (prepareToPrint): don't look at alignment if we don't have the place
9628         for doing it.
9629
9630 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9631
9632         * box.C: New file. Move the Box methods and functions out of box.h,
9633         following Lars' suggestion.
9634
9635 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9636
9637         * box.h: #include "support/LOstream.h", needed for inlined function.
9638
9639         * lyxtextclass.C:
9640         * lyxtextclasslist.C: added some using std declarations.
9641
9642 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9643
9644         * box.h: make signed dimensions to allow insets wider than
9645           the screen (bug #162)
9646
9647         * BufferView_pimpl.C: add some insetHit debug
9648
9649 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9650
9651         * vc-backend.C: add FIXME
9652
9653 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9654
9655         * lyxfunc.C (getStatus): enable code for showing math font status
9656         in toolbar/menu.
9657
9658 2002-01-07  Juergen Vigna  <jug@sad.it>
9659
9660         * text.C (nextBreakPoint): removed debug output not needed anymore.
9661
9662 2002-01-06  Juergen Vigna  <jug@sad.it>
9663
9664         * text.C (nextBreakPoint): fixed up this function we had this bug
9665         since ever but now hopefully we break row better.
9666         (insertChar): we have to check if an inset is the next char as it
9667         could now happen that a large inset is causing a break.
9668
9669 2002-01-05  Juergen Vigna  <jug@sad.it>
9670
9671         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9672         if it doesn't like to be drawed.
9673
9674 2002-01-04  Juergen Vigna  <jug@sad.it>
9675
9676         * BufferView2.C (lockInset): forgot to set a cursor.
9677
9678         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9679
9680 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9681
9682         * FormMathsPanel.C:
9683         * FormMathsPanel.h
9684         * MathsSymbols.C:
9685         * form_maths_panel.C:
9686         * form_maths_panel.h:
9687         * form_maths_panel.fd: implemented sub- and super- buttons in math
9688         panel.
9689
9690         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9691         (or ^ space) to be used as in TeX (req'd by André).
9692
9693         * lyxfunc.C: Allow ^ and _ again to be used both as
9694         super/subscript (mathed) and as themselves (in text).
9695
9696 2002-01-03  Allan Rae  <rae@lyx.org>
9697
9698         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9699         "LyX" or the filename of the current buffer if it has one.  This is a
9700         modified form of John Levon's patch.
9701
9702         * XFormsView.C (setWindowTitle): also set icon title.
9703
9704         * LyXView.h (setWindowTitle): signature changed.
9705         * XFormsView.h (setWindowTitle): ditto.
9706
9707 2002-01-02  Juergen Vigna  <jug@sad.it>
9708
9709         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9710
9711 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * screen.C (topCursorVisible): introduce a temp var for
9714         text->cursor.row(), handle the case where this row is null. (kindo
9715         hachish)
9716
9717         * text2.C (setCursor): add a couple of asserts.
9718
9719         * paragraph.h (inset_iterator): add -> operator
9720
9721         * paragraph.[Ch] (autoDeleteInsets): remove member function
9722
9723         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9724         cursor pos correctly and handle inset deletion by itself.
9725         (insertErrors): move iterator declaration out of for expression
9726
9727         * lyxtextclass.C: add <algorithm>
9728
9729         * Makefile.am: added the new files to sources, removed layout.C
9730
9731         * layout.C: removed file
9732
9733         * layout.h: remove LYX_DUMMY_LAYOUT
9734
9735         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9736         layout.
9737
9738         * lyxlayout.[Ch]:
9739         * lyxtextclass.[Ch]:
9740         * lyxtextclasslist.[Ch]: new files
9741
9742         * include order changes to a lot of files, also changes because of
9743         the six new files.
9744
9745 2001-12-27  Juergen Vigna  <jug@sad.it>
9746
9747         * buffer.C (asciiParagraph): more fixes.
9748
9749         * tabular.C (ascii): make ascii export support export of only the
9750         data separated by a column-delimiter.
9751         (ascii): better support for ascii export.
9752
9753         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9754
9755 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9756
9757         * tabular_funcs.C: use a "using std::getline" instead of the
9758         previous fix from Angus (necessary for cxx + lyxstring)
9759
9760 2001-12-24  Juergen Vigna  <jug@sad.it>
9761
9762         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9763
9764         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9765         problems. First check a minipage also if we have some ert-contents
9766         (not only on par->size(), second set the right depth of the paragraph
9767         on the relink to the root-paragraph-list!
9768
9769         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9770         which then did not anymore update the main paragraphs on undo/redo!
9771
9772 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9773
9774         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9775         code. Support all font-changing funcs (even those which are not in
9776         menu currently). Support for reporting font settings in
9777         mathed (disabled until Andre provides a function on mathed's side).
9778
9779         * func_status.h (toggle): small helper function to set toggle
9780         state on a flag.
9781
9782 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9783
9784         * tabular_funcs.C: getline -> std::getline
9785
9786 2001-12-21  Juergen Vigna  <jug@sad.it>
9787
9788         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9789         accessed and could be 0 (I couldn't generate this but it seems
9790         Michael could!).
9791
9792 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9793
9794         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9795         * tabular_funcs.h: here and include iosfwd
9796
9797 2001-12-20  Juergen Vigna  <jug@sad.it>
9798
9799         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9800         inside inset but undo_par was.
9801
9802 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * Thesaurus.C: always include <config.h> in sources.
9805
9806         * Painter.h:
9807         * lyxlookup.h:
9808         * box.h: do not include <config.h> in header files
9809
9810         * text.C (paintLastRow): remove unused variable
9811
9812         * text.C (transformChar):
9813         (insertChar):
9814         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9815
9816         * Painter.C (text):
9817         * font.C (width): rewrite to use uppercase() instead of
9818         islower/toupper.
9819
9820         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9821
9822 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9823
9824         * lyxfind.C: clean up of find failure position change
9825
9826 2001-12-20  Juergen Vigna  <jug@sad.it>
9827
9828         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9829
9830         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9831         (TeXRow): added to LaTeX a single tabular row.
9832         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9833         (Latex): simplified and finally good LT-h/f support.
9834         (various_functions): just small adaptions for LT-h/f support.
9835
9836         * tabular_funcs.[hC]: added and moved here all not classfunctions
9837         of LyXTabular.
9838
9839 2001-12-19  Juergen Vigna  <jug@sad.it>
9840
9841         * tabular.[Ch]: better support for longtabular options (not finished
9842         yet!)
9843
9844 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * text.C (paintLastRow): use the label font instead of the font of
9847         the last character to compute the size of *_BOX. This makes more
9848         sense and avoids a crash with empty paragraphs.
9849         Use Painter::rectangle to draw EMPTY_BOX.
9850
9851 2001-12-19  Juergen Vigna  <jug@sad.it>
9852
9853         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9854         the paragraphs if the replaced paragraph is not the first one!
9855         Tried to delete not used paragraphs but does not work yet so for
9856         now it's inside #ifdef's and by default off!
9857
9858 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9859
9860         * MenuBackend.C: include "lyx_main.h" instead of declaring
9861         lastfiles (actually was declared as LastFiles* instead of a
9862         scoped_ptr).
9863
9864 2001-12-17  Juergen Vigna  <jug@sad.it>
9865
9866         * tabular.C (AppendColumn): applied John's fix
9867
9868 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * BufferView.h:
9871         * BufferView.C:
9872         * BufferView_pimpl.h:
9873         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9874
9875         * Makefile.am:
9876         * box.h: new start of class for above
9877
9878         * lyxfunc.C: ignore space-only minibuffer dispatches.
9879           Show the command name when it doesn't exist
9880
9881         * minibuffer.C: don't add empty lines to the history
9882
9883         * minibuffer.C: add a space on dropdown completion
9884
9885 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * text.C: fix line above/below drawing in insets
9888
9889 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9890
9891         * lyxlength.C (LyXLength): Initialize private variables.
9892
9893 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9894
9895         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9896         when inserting error insets.
9897
9898 2001-12-13  Juergen Vigna  <jug@sad.it>
9899
9900         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9901         actually sometimes the before-paragraph.
9902         (setUndo): don't clear the redostack if we're not actually undoing!
9903
9904 2001-12-06  Juergen Vigna  <jug@sad.it>
9905
9906         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9907         and fixed redoing of main paragraph, so we can use it now ;)
9908
9909         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9910
9911 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9912
9913         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9914         Juergen's request
9915
9916 2001-12-13  André Pönitz <poenitz@gmx.net>
9917
9918         * undostack.[Ch]:
9919         * undo_func.C: minor cleanup
9920
9921 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9922
9923         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9924         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9925         font in urw-fonts package which is marked as -urw-fontspecific and
9926         does not work (incidentally, changing the encoding in the
9927         fonts.dir of this package to -adobe-fontspecific fixes the
9928         problem).
9929
9930         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9931         is a crash when undoing first paragraph (Juergen, please take a
9932         look). THis does not mean the undo fix is wrong, just that it
9933         uncovers problems.
9934
9935         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9936         the (Paragraph*) version when needed instead of duplicating the
9937         code.
9938
9939         * text.C (workWidth): use Inset::parOwner to find out where the
9940         inset has been inserted. This is a huge performance gain for large
9941         documents with lots of insets. If Inset::parOwner is not set, fall
9942         back on the brute force method
9943
9944         * paragraph_pimpl.C (insertInset):
9945         * paragraph.C (Paragraph):
9946         (cutIntoMinibuffer): set parOwner of insets when
9947         inserting/removing them
9948
9949         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9950
9951 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9952
9953         * commandtags.h:
9954         * LyXAction.C:
9955         * lyx_main.C:
9956         * lyxfunc.C:
9957         * mathed/formulabase.C:
9958         * mathed/math_cursor.[Ch]:
9959         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9960
9961
9962 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9963
9964         * lyxlength.[Ch] (operator!=): new function
9965
9966 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9967
9968         * text.C (workWidth): use Inset::parOwner to find out where the
9969         inset has been inserted. This is a huge performance gain for large
9970         documents with lots of insets. If Inset::parOwner is not set, fall
9971         back on the brute force method
9972
9973         * paragraph_pimpl.C (insertInset):
9974         * paragraph.C (Paragraph):
9975         (cutIntoMinibuffer): set parOwner of insets when
9976         inserting/removing them
9977
9978         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9979
9980 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9981
9982         * tabular-old.C (getTokenValue):
9983         * tabular.C (getTokenValue):
9984         (write_attribute): new versions for LyXLength
9985         (everywhere): adjust the use of widths
9986
9987         * tabular.h: change the type of widths from string to LyXLength
9988
9989 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9990
9991         * paragraph.C: fixed missing line number count when exporting
9992         Environments to LaTeX file
9993
9994         * buffer.C: added informational message for checking line numbers.
9995
9996 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9997
9998         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9999         paragraph, do the 'double space' part, but not the 'empty
10000         paragraph' one.
10001
10002         * text.C (workWidth): small optimization
10003         (getLengthMarkerHeight): use minimal size for negative lengths.
10004
10005 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10006
10007         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10008
10009         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10010
10011 2001-12-11  André Pönitz <poenitz@gmx.net>
10012
10013         * FontLoader.C:
10014         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10015
10016 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * text2.C: keep selection on a setFont()
10019
10020 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * lyx_cb.C: another bv->text misuse, from insert label
10023
10024 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10025
10026         * kbsequence.h:
10027         * kbsequence.C: re-instate nmodifier mask
10028
10029 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10030
10031         * lyx_main.h: make lyxGUI private.
10032
10033 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10034
10035         * lyxfind.C: place the cursor correctly on failed search
10036
10037 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10038
10039         * text.C (getLengthMarkerHeight): for small heights, the arrows
10040         are not always on top/bottom of the text
10041         (drawLengthMarker): smaller arrows; take the left margin in
10042         account; draw also vfills.
10043         (paintFirstRow):
10044         (paintLastRow): remove special code for vfill and standard spaces,
10045         since everything is handled in drawLengthMarker now.
10046
10047 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10048
10049         * buffer.C (insertErtContents): try to handle font and language
10050         interaction a bit better.g
10051
10052         * ColorHandler.C (updateColor): change the hash to cover the whole
10053         LColor enum, ws cleanup
10054         (getGCLinepars): ditto
10055         (getGCLinepars): only lookup in the linecache once.
10056
10057 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10058
10059         * iterators.C (operator++): Make the iterator more robust
10060
10061         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10062         (John's patch)
10063         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10064
10065 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10066
10067         * lyxtext.h:
10068         * text.C: better added space drawing
10069
10070 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10071
10072         * LyXView.C:
10073         * BufferView2.C: fix layout combo update on inset unlock
10074
10075 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10076
10077         * Makefile.am: don't compile unused files
10078
10079 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * lyxfunc.C:
10082         * commandtags.h:
10083         * LyXAction.C: remove old LFUN_LAYOUTNO
10084
10085 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10086
10087         * paragraph_pimpl.h:
10088         * paragraph_pimpl.C: isTextAt() doesn't need font param
10089
10090 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * lyxlex.h:
10093         * lyxlex.C: little cleanup
10094
10095 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * BufferView_pimpl.C: fix insertAscii for insets
10098
10099 2001-12-05  Juergen Vigna  <jug@sad.it>
10100
10101         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10102         set the right font on the "multi" paragraph paste!
10103
10104 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10105
10106         * trans_decl.h:
10107         * trans_mgr.[Ch]:
10108         * trans.[Ch]:
10109         * lyxgluelength.C:
10110         * lyxlength.C: remove out-commented code.
10111
10112         * BufferView_pimpl:
10113         * CutAndPaste.C:
10114         * DepTable.C:
10115         * buffer.C:
10116         * chset.C:
10117         * lastfiles.C:
10118         * lyxlex.C:
10119         * lyxlex_pimpl.C:
10120         * lyxserver.C:
10121         * screen.C:
10122         * tabular-old.C:
10123         * tabular.C:
10124         * text.C:
10125         * trans_mgr.C:
10126         * vc-backend.C: change "while(" to "while ("
10127
10128         * lyxlength.[Ch]: add zero function to check if length is zero or
10129         not
10130         * lyxgluelength.C: use it
10131
10132 2001-12-05  Allan Rae  <rae@lyx.org>
10133
10134         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10135         Works for 2.95.3, from what I understand of Garst's reports this should
10136         work for other g++ versions.  We're screwed if the abs(int) definition
10137         changed between bugfix releases of gcc.
10138
10139 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * text.C: fix chapter label offset !
10142
10143 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * lyxtext.h:
10146         * text.C: fix hfill at end of line, clean up
10147
10148 2001-12-04  Juergen Vigna  <jug@sad.it>
10149
10150         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10151         that we force an update of the inset and it's owners if neccessary.
10152
10153 2001-12-03  Juergen Vigna  <jug@sad.it>
10154
10155         * text.C (rowLast): simplified code
10156
10157 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10158
10159         * lyxfunc.C: fix show options on timeout
10160
10161 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10162
10163         * screen.C (topCursorVisible): scroll half a page when the cursor
10164         reached top of bottom of screen
10165
10166 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10167
10168         * minibuffer.C: deactivate on loss of focus
10169
10170 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10171
10172         * vspace.[Ch] (operator!=): add operator.
10173
10174 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * BufferView_pimpl.C: refuse to open an inset when
10177         there's a selection.
10178
10179 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10180
10181         * BufferView_pimpl.C: allow to click on RHS of full row insets
10182
10183 2001-11-30  Juergen Vigna  <jug@sad.it>
10184
10185         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10186         insets for undo reasons.
10187
10188 2001-11-28  André Pönitz <poenitz@gmx.net>
10189
10190         * vspace.[Ch]: cosmetical changes
10191
10192 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10193
10194         * LyXAction.h:
10195         * LyXAction.C:
10196         * lyxfunc.h:
10197         * lyxfunc.C:
10198         * kbmap.h:
10199         * kbmap.C:
10200         * lyxrc.C:
10201         * kbsequence.h:
10202         * kbsequence.C: part re-write of old kb code
10203
10204         * Painter.C:
10205         * WorkArea.C: remove Lgb_bug_find_hack
10206
10207 2001-11-30  José Matos <jamatos@fep.up.pt>
10208
10209         * buffer.C (makeDocBookFile): add a comment to point a hack.
10210         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10211         Fixed a double write of labels.
10212
10213 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10214
10215         * LaTeX.C:
10216         * LaTeX.h Fixed bug in LaTeX class where it would not
10217         re-run latex if no depfiles were changed, but the .dvi was removed.
10218
10219 2001-11-28  André Pönitz <poenitz@gmx.net>
10220
10221         * all the files from the change on 2001/11/26:
10222         use lyx::layout_type instead of LyXTextClass::size_type
10223         use lyx::textclass_type instead of LyXTextClassList::size_type
10224
10225 2001-11-29  Juergen Vigna  <jug@sad.it>
10226
10227         * text.C: added support for paragraph::isFreeSpacing()
10228
10229         * buffer.C: same as above
10230
10231         * paragraph.h: inserted isFreeSpacing() function to enable
10232         FreeSpacing inside InsetERT.
10233
10234         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10235         of the paragraph's in the cut/copy buffer to 0!
10236
10237         * text2.C (removeRow): remove the assert as it can!
10238
10239         * lyxtext.h: added helper function firstRow returning firstrow and
10240         made firstrow private again.
10241
10242         * BufferView2.C (lockInset): don't relock if we're already locked!
10243
10244         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10245         the only paragraph.
10246         (removeRow): added Assert::(firstrow)
10247
10248         * debug.C: forgot to add INSETTEXT here.
10249
10250 2001-11-28  Juergen Vigna  <jug@sad.it>
10251
10252         * sp_spell.C (initialize): changed error text to more general
10253         spellchecker command use (not only ispell!)
10254
10255         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10256
10257         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10258
10259 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10260
10261         * vspace.C: initialise lyxgluelength on failure
10262
10263 2001-11-28  Allan Rae  <rae@lyx.org>
10264
10265         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10266         declaration & definition that looks like a function declaration.
10267
10268 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10269
10270         * BufferView2.C (copy):
10271         (copyEnvironment): do not clear the selection when doing a copy.
10272
10273         * text.C (paintFirstRow): compilation fix
10274
10275 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10276
10277         * tabular.C (Latex): correct line count when writing latex.
10278
10279 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10280
10281         * paragraph_pimpl.h:
10282         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10283           bug a bit
10284
10285 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10286
10287         * text.C:
10288         * LColor.h:
10289         * LColor.C: change vfillline->added_space
10290
10291         * text.C: add markers and text for added space
10292
10293         * vspace.C: fix comment
10294
10295 2001-11-28  André Pönitz <poenitz@gmx.net>
10296
10297         * paragraph.C: whitespace changes
10298         * all the other files from the change on 2001/11/26:
10299         change *::pos_type into lyx::pos_type
10300
10301 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10302
10303         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10304         language of the document when inserting error insets.
10305
10306 2001-11-26  André Pönitz <poenitz@gmx.net>
10307
10308         * BufferView_pimpl.[Ch]:
10309         *       CutAndPaste.C:
10310         * buffer.[Ch]:
10311         * lyxcursor.[Ch]:
10312         * lyxfind.C:
10313         * lyxfunc.C:
10314         * lyxrow.[Ch]:
10315         * paragraph.[Ch]:
10316         * paragraph_pimpl.[Ch]:
10317         * sp_spell.C:
10318         * text.C:
10319         * text2.C: reduce header dependencies, introduce type for positions
10320
10321 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10322
10323         * <various>: change to use Alert.h
10324
10325 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10326
10327         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10328         when encountering an unknown token.
10329         (readLyXformat2): Show an error message if there were unknown tokens.
10330
10331 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * BufferView2.C:
10334         * BufferView_pimpl.C:
10335         * buffer.C:
10336         * paragraph.h:
10337         * text.C:
10338         * text2.C: use par->isInset()
10339
10340 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10341
10342         * paragraph_pimpl.h:
10343         * paragraph_pimpl.C: cleanup
10344
10345 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10346
10347         * text2.C (removeRow):
10348         * text.C (setHeightOfRow): remove useless (and costly) call to
10349         getRow.
10350
10351 2001-11-20  Allan Rae  <rae@lyx.org>
10352
10353         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10354         Now need Inset*::checkInsertChar() to return true for appropriate
10355         cases so that the characters in the minibuffer will actually be
10356         inserted.
10357
10358 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10359
10360         * text.C: change the order of the includes.
10361         (workWidth): initialize it at once.
10362         (workWidth): make maxw unsigned
10363         (setHeightOfRow): remove unused variable (inset)
10364         (selectSelectedWord): remove unused variable (inset)
10365         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10366
10367 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10368
10369         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10370         server is not running.
10371         (openConnection):
10372         (closeConnection): add debug info when server is disabled.
10373
10374         * ColorHandler.C (getGCForeground): send debug message to GUI
10375         channel.
10376
10377         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10378
10379         * kbmap.C (bind): modify because return conventions of
10380         kb_sequence::parse have changed.
10381
10382         * kbsequence.C (parse): only ignore spaces and not any stupid
10383         control character. This avoids tests like s[i] <= ' ', which are
10384         guaranteed to fail with 8bit characters and signed chars.
10385         Change return code to string::npos when there have been no error
10386         (0 was a bad idea when error is at first character)
10387
10388 2001-11-14  José Matos  <jamatos@fep.up.pt>
10389
10390         * buffer.h:
10391         * buffer.C (simpleDocBookOnePar): removed unused argument.
10392
10393 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10394
10395         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10396         insets which are part of a word. Paragraph::isLetter takes care of
10397         that now. Use Paragraph::isInset to identify insets.
10398         (selectSelectedWord): do not test for hyphenation break.
10399
10400         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10401         that protected spaces are considered as spaces.
10402
10403         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10404         Inset::isLetter.
10405
10406 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10407
10408         * lyxserver.h:
10409         * lyxserver.C: fix it. and small cleanup.
10410
10411 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * BufferView_pimpl.C: use inline helpers
10414
10415         * LaTeXFeatures.h:
10416         * LaTeXFeatures.C: fix typos
10417
10418         * Spacing.h:
10419         * Spacing.C: move spacing_string into class
10420
10421         * ToolbarDefaults.C: move stuff into namespace anon
10422
10423         * layout.h: update enum
10424
10425         * lyxfunc.C: use better debug
10426
10427         * minibuffer.h: fix typo
10428
10429         * debug.h:
10430         * debug.C:
10431         * WorkArea.C: add and use Debug::WORKAREA
10432
10433         * lyxtext.h:
10434         * text.C:
10435         * text2.C: code re-organisation, inline helpers
10436
10437 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10438
10439         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10440         std::vector.empty().
10441
10442 2001-11-09  Allan Rae  <rae@lyx.org>
10443
10444         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10445         '\n's after tables.  Tabular and ERT inset work now makes this no
10446         longer necessary.
10447
10448 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * minibuffer.h:
10451         * minibuffer.C: fix crash, improve drop-down completion
10452
10453 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * lyxserver.h:
10456         * lyxserver.C: invalidate fd's when doing endPipe()
10457
10458 2001-11-08  José Matos  <jamatos@fep.up.pt>
10459
10460         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10461         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10462
10463         * paragraph.h:
10464         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10465
10466 2001-11-07  José Matos  <jamatos@fep.up.pt>
10467
10468         * buffer.h:
10469         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10470         const qualifier.
10471
10472         * buffer.C (sgmlOpenTag):
10473         * buffer.C (sgmlCloseTag): removed debug info.
10474
10475         * buffer.h (sgmlOpenTag):
10476         * buffer.h (sgmlCloseTag): made public.
10477
10478 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10479
10480         * buffer.C (saveParamsAsDefaults):
10481         * lyx_cb.C (MenuLayoutSave): remove
10482
10483         * LyXAction.C (init):
10484         * commandtags.h:
10485         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10486
10487 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10488
10489         * buffer.C (setPaperStuff): removed from here...
10490
10491         * bufferparams.C (setPaperStuff): ... and moved there.
10492
10493 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * minibuffer.h:
10496         * minibuffer.C:
10497         * XFormsView.C: add support for drop-down completion
10498
10499 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10500
10501         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10502         commands.
10503
10504 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10505
10506         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10507         disabled.
10508
10509 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10510
10511         * lyx_main.C: change ref to known bugs
10512
10513 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10514
10515         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10516         to work around older babel problems.
10517
10518 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10519
10520         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10521
10522 2001-10-24  Juergen Vigna  <jug@sad.it>
10523
10524         * tabular-old.C (ReadOld): below variable changes reflected.
10525
10526         * tabular.[Ch]: added ltType struct for longtable header/footer
10527         defines and changed all instances where they are used. Added
10528         future support for double top/bottom rows.
10529
10530 2001-10-24  José Matos  <jamatos@fep.up.pt>
10531
10532         * buffer.h (docbookHandleCaption):
10533         * buffer.C (docbookHandleCaption): removed unused function.
10534         (makeDocBookFile): moved docbook supported version to v4.1.
10535
10536 2001-10-24  José Matos  <jamatos@fep.up.pt>
10537
10538         * tabular.h:
10539         * tabular.C (docbookRow): new function to export docbook code of a row.
10540         (DocBook): now honors the longtable flags.
10541
10542 2001-10-23  José Matos  <jamatos@fep.up.pt>
10543
10544         * LaTeXFeatures.h:
10545         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10546         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10547
10548         * buffer.C (makeLinuxDocFile):
10549         (makeDocBookFile): reworked the preamble, more clean, and with
10550         support for lyx defined entities. Changed the document declaration
10551         to be more XML friendly.
10552
10553         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10554         if we need to output XML that should be done with a filter.
10555
10556 2001-10-22  Juergen Vigna  <jug@sad.it>
10557
10558         * sp_pspell.h (class PSpell): add alive function needed in the
10559         controller to see if the spellchecker could be started.
10560
10561 2001-10-22  Juergen Vigna  <jug@sad.it>
10562
10563         * buffer.C (insertStringAsLines): modify the font for inserting
10564         chars in certain conditions by calling checkInsertChar(font).
10565
10566 2001-10-19  Juergen Vigna  <jug@sad.it>
10567
10568         * text.C (workWidth): use getRow instead of wrong algorithm.
10569         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10570
10571 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * lyxserver.h:
10574         * lyxserver.C:
10575         * lyx_main.h:
10576         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10577
10578 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10579
10580         * text.C (workWidth): do not search for the exact row when
10581         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10582         optimization for big documents.
10583
10584 2001-10-18  Juergen Vigna  <jug@sad.it>
10585
10586         * text.C (workWidth): new function with added Inset * parameter.
10587
10588 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10591
10592         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10593         change return type of getColumnNearX.
10594
10595
10596         * text.C (changeRegionCase): use uppercase/lowercase instead of
10597         toupper/tolower.
10598         (leftMargin):
10599         (rightMargin): simplify code by factoring out the uses of
10600         textclasslist.
10601         (labelFill):
10602         (numberOfHfills):
10603         (setHeightOfRow):
10604         (appendParagraph): use Paragraph::size_type
10605
10606 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10607
10608         * vspace.C (asLatexString): add a missing break
10609
10610 2001-10-15  Herbert Voss  <voss@perce.de>
10611
10612         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10613
10614 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10615
10616         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10617         is not available.
10618
10619 2001-10-10  André Pönitz <poenitz@gmx.net>
10620
10621         * lyxfunc.C: removed greek_kb_flag.
10622
10623 2001-10-10  Herbert Voss  <voss@perce.de>
10624
10625         * lyx_main.C: delete global string help_lyxdir.
10626
10627 2001-10-09  Herbert Voss  <voss@perce.de>
10628
10629         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10630
10631         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10632
10633         * lyx_main.C: added global string help_lyxdir.
10634
10635         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10636
10637 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10638
10639         * lyxrc.C (set_font_norm_type): support iso8859-4
10640
10641 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10642
10643         * LaTeX.C (deplog): add another regex for MikTeX
10644
10645 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10646
10647         * lyxrc.C (set_font_norm_type): support iso8859-3
10648
10649 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10650
10651         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10652
10653         * LaTeXFeatures.C: remove special case of french and index
10654
10655         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10656         before \begin{document}). This solves several incompatibilities.
10657
10658 2001-10-03  Garst Reese  <reese@isn.net>
10659
10660         * lyx_cb.C: change CheckTex error msg.
10661
10662 2001-10-03  José Matos  <jamatos@fep.up.pt>
10663
10664         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10665
10666 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10667
10668         * .cvsignore: update
10669
10670         * lyx_main.C (commandLineVersionInfo): use new style version info.
10671
10672         * buffer.C (writeFile):
10673         (makeLaTeXFile):
10674         (makeLinuxDocFile):
10675         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10676
10677         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10678
10679         * version.h: update to use stuff in version.C
10680
10681         * version.C.in: new file. Contains version information determined
10682         at compile time. This is a merging of version.h and
10683         version_info.h.in.
10684
10685 2001-10-03  Juergen Vigna  <jug@sad.it>
10686
10687         * BufferView_pimpl.C (update): don't change "dirty" status in
10688         updateInset call.
10689
10690 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10691
10692         * WorkArea.C (c-tor): re-position version string slightly.
10693
10694 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10695
10696         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10697         revert to previous code.
10698
10699         WorkArea.[Ch]: (show, destroySplash): methods removed.
10700
10701         WorkArea.C: rework code so that it's an amalgam of the codes before and
10702         after the splash screen was moved to WorkArea.
10703
10704 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10705
10706         * lyxrc.C (read):
10707         * vspace.C (inPixels):
10708         (lyx_advance):
10709         * kbmap.C (bind):
10710         * buffer.C (insertStringAsLines):
10711         (asciiParagraph): fix types to be large enough
10712
10713         * lyxlex_pimpl.h: change member status from short to int
10714
10715         * layout.h: fix type of endlabeltype
10716
10717         * kbmap.C (bind):
10718         * kbsequence.C (parse): change return type to string::size_type
10719
10720         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10721         variable
10722
10723         * Bullet.C (bulletSize):
10724         (bulletEntry): do not use short ints as parameters
10725
10726         * BufferView2.C (insertLyXFile): change a char to an int.
10727
10728         * WorkArea.C (WorkArea): remove unneeded floats in computation
10729
10730 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10731
10732         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10733
10734         * paragraph.C (asString): Do not ignore newline/hfill chars when
10735         copying to the clipboard.
10736
10737 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10738
10739         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10740         after a multi-line inset.
10741
10742 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10743
10744         * paragraph.C (validate): Set NeedLyXFootnoteCode
10745
10746 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10747
10748         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10749         and decrease-error to decrease.
10750
10751 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10754         it more readable (should be equivalent)
10755
10756 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10757
10758         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10759
10760 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10761
10762         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10763         of a cursor (row, etc.) after a character has been deleted
10764         (deleteEmptyParagraphMechanism): call the method above on _all_
10765         cursors held by the LyXText when a double space has been
10766         detected/deleted.
10767
10768 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10769
10770         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10771         pixmap.
10772         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10773
10774         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10775         background. Use greyOut() and the new show() methods to toggle between
10776         the foreground and background. Add code to remove the splash after
10777         its initial showing.
10778
10779         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10780         (create_forms): no longer call Dialogs::showSplash.
10781
10782 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10783
10784         * .cvsignore: add version_info.h
10785
10786 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10787
10788         * version_info.h.in: new file
10789
10790         * Makefile.am: add version_info.h.in
10791
10792         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10793         version_info.h instead of VERSION_INFO
10794
10795 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10796
10797         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10798         The ERT inset now returns string().
10799
10800 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10801
10802         * lyxtext.h, text.C (selectNextWord): renamed as
10803         selectNextWordToSpellcheck.
10804
10805         * text.C (selectNextWordToSpellcheck): Modified to not select
10806         words inside an ERT inset.
10807
10808 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10809
10810         * lyx_cb.C (MenuLayoutSave): change a bit the question
10811
10812         * sp_base.h: include <sys/types.h>
10813
10814 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10815
10816         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10817
10818 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10819
10820         * several files: fix typos in user-visible strings
10821
10822 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10823
10824         * text2.C (pasteSelection): do not set the selection, since it
10825         will be cleared later. Actually, the intent was to fix the way the
10826         selection was set, but I figured rmoving the code was just as good.
10827
10828 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * FontLoader.C (available): Check if font is available without
10831         loading the font.
10832
10833 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10834
10835         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10836
10837 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10838
10839         * lyxrc.[Ch]: added display_graphics variable and associated code.
10840
10841 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10842
10843         * bufferparams.C (hasClassDefaults): new method. Returns true if
10844         the buffer parameters correspond to known class defaults
10845
10846 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10847
10848         * XFormsView.C (show): set minimum size to the main window.
10849
10850 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10851
10852         * text2.C (copySelection):
10853         (cutSelection):
10854         * lyxfind.C (LyXReplace):
10855         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10856         LyXText::selectionAsString.
10857
10858         * paragraph.C (asString): add "label" argument to the second form
10859
10860         * text2.C (selectionAsString): add "label" argument and pass it to
10861         Paragraph::asString.
10862
10863 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10864
10865         * lyx_main.C (commandLineHelp): remove version information
10866
10867 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10868
10869         * lyx_main.C: add -version commandline option
10870
10871 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10872
10873         * paragraph.h: make the optional constructor arg required instead.
10874         some modifications to other files because of this.
10875
10876         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10877
10878         * lyxserver.C (C_LyXComm_callback): make it static
10879
10880         * lyx_main.C (error_handler): make it static
10881
10882         * lyx_gui.C (LyX_XErrHandler): make it static
10883
10884         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10885
10886         * WorkArea.C: make the extern "C" methods static.
10887
10888         * Makefile.am (lyx_LDADD): simplify
10889
10890 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10891
10892         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10893         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10894
10895         * LyXAction.C (init):
10896         * lyxfunc.C (dispatch): associated code removal.
10897
10898 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10899
10900         * lyxfont.h (isSymbolFont): shut off warning
10901
10902         * text.C (setHeightOfRow):
10903         (getVisibleRow): fix crash with empty paragraphs which have a
10904         bottom line
10905
10906 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10907
10908         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10909         code.
10910
10911 2001-09-04  José Matos  <jamatos@fep.up.pt>
10912         * buffer.C
10913         * buffer.h
10914         * tabular.C (docbook): rename docBook method to docbook.
10915
10916 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10917
10918         * Makefile.am: add dependencies to main.o.
10919
10920 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10921
10922         * FontLoader.C (available): Return false if !lyxrc.use_gui
10923
10924 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10925
10926         * FontInfo.C (query):
10927         * converter.C (view):
10928         * importer.C (Import):
10929         * exporter.C (Export): Can not -> cannot.
10930
10931 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * BufferView_pimpl.C: allow to create index inset even if
10934           string is empty
10935
10936 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10937
10938         * buffer.C (getLists): replace boost::tie code with an explicit pair
10939         as boost::tie can break some compilers.
10940
10941         * iterators.h: Added a std:: declaration to the return type of
10942         ParIterator::size.
10943
10944 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10947           case.
10948
10949 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10950
10951         * iterators.[Ch]: New files. Provide paragraph iterators.
10952
10953         * buffer.C (changeLanguage): Use paragraph iterators.
10954         (isMultiLingual): ditto
10955
10956         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10957
10958 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10959
10960         * FontLoader.C: Support for cmr font.
10961
10962 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10963
10964         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10965         (available): New method.
10966
10967         * FontInfo.C (getFontname): Use scalable fonts even when
10968         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10969         found.
10970
10971 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10972
10973         * converter.C (Formats::view): reverted! Incorrect fix.
10974
10975 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10976
10977         * converter.C (Formats::view): only output the -paper option
10978         if the dvi viewer is xdvi, thereby fixing bug #233429.
10979
10980 2001-08-23  Herbert Voss  <voss@perce>
10981
10982         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10983
10984 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * Spacing.h (Spacing): Set space to Default on in the default
10987         constructor.
10988
10989 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * vc-backend.h (RCS::versionString): add RCS to version
10992         (CVS::versionString): add CVS to version
10993
10994         * vc-backend.C (scanMaster): do not add CVS to version.
10995         (scanMaster): do not add RCS to version
10996
10997         * lyxvc.C (versionString): new method
10998
10999         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11000
11001 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11002
11003         * Spacing.C (set): initialize fval
11004
11005 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11006
11007         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11008         " or \.
11009
11010 2001-08-16  Juergen Vigna  <jug@sad.it>
11011
11012         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11013
11014 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * BufferView_pimpl.C:
11017         * figureForm.C:
11018         * lyxtext.h:
11019         * text2.C: setParagraph takes linespacing now
11020
11021 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11022
11023         * LyxAction.C: add internal LFUN_CITATION_INSERT
11024
11025         * LyXView.C: actually apply fix
11026
11027         * bufferlist.C: fix open non-existent file
11028
11029         * lyxfind.C: fix indentation
11030
11031         * lyxfunc.C: remove unneeded assert, fix typo
11032
11033 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11034
11035         * MenuBackend.C: use "Floatname List"
11036
11037 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11038
11039         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11040         when converting LaTeX layout to insetERT.
11041         Generate a non-collapsed float when reading old float
11042
11043 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11044
11045         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11046         ERT insets.
11047
11048 2001-08-13  Juergen Vigna  <jug@sad.it>
11049
11050         * text.C (fill): return 0 instead of 20 as this seems to be the more
11051         correct value.
11052
11053 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11054
11055         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11056         lyxrc.font_norm.
11057
11058 2001-08-13  Juergen Vigna  <jug@sad.it>
11059
11060         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11061         casesensitive off.
11062         (SearchBackward): comment out the unlocking of the inset_owner this
11063         should not be needed!
11064
11065 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11066
11067         * Many files: Remove inherit_language, and add latex_language
11068
11069         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11070         collapsible insets.
11071
11072 2001-08-10  Juergen Vigna  <jug@sad.it>
11073
11074         * text.C (prepareToPrint): fixed hfill-width in draw!
11075
11076         * BufferView2.C (selectLastWord): save the selection cursor as this
11077         now is cleared in the function LyXText::clearSelection!
11078
11079 2001-08-08  Juergen Vigna  <jug@sad.it>
11080
11081         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11082         BACKSPACE type functions.
11083
11084         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11085         is only cutted from the document but not put in the cut-buffer, where
11086         still the old stuff should be.
11087
11088         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11089
11090         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11091
11092         * tabular.C (SetWidthOfCell): fixed special case where the width
11093         was not updated!
11094         (LeftLine): handle '|' in align_special.
11095         (RightLine): ditto
11096         (LeftAlreadyDrawed): ditto
11097         (SetWidthOfCell): ditto
11098
11099 2001-08-07  Juergen Vigna  <jug@sad.it>
11100
11101         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11102
11103 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11104
11105         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11106         * lyxlex.[hC]: ditto
11107
11108 2001-08-06  Juergen Vigna  <jug@sad.it>
11109
11110         * text.C (getVisibleRow): fix up row clearing a bit.
11111
11112 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11113
11114         * minibuffer.C: make sure the X server sees the changes in the input.
11115
11116 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11117
11118         * paragraph.C (getFont): split into...
11119         (getLabelFont): this
11120         (getLayoutFont): and this
11121         * paragraph_pimpl.C (realizeFont): calling this
11122
11123         * text2.C (getFont): split into...
11124         (getLayoutFont): this
11125         (getLabelFont): and this
11126         (realizeFont): all three calling this
11127
11128         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11129         files where used.
11130
11131 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11132
11133         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11134
11135 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11136
11137         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11138         layouts from the Quote inset insertion.
11139
11140 2001-08-03  Juergen Vigna  <jug@sad.it>
11141
11142         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11143
11144         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11145         only if status not is already CHANGED_IN_DRAW (second level).
11146
11147         * text.C (draw): don't set the need_break_row when inside an
11148         InsetText LyXText.
11149
11150 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11151
11152         * buffer.C (parseSingleLyXformat2Token): handle more latex
11153         conversion cases.
11154
11155         * bufferview_funcs.[hC]: change function names to
11156         begin with small char, adjust other files.
11157
11158 2001-08-02  André Pönitz <poenitz@gmx.net>
11159
11160         * lyxfunc.C:
11161         BufferView_pimpl.C: remove broken special code for math-greek
11162
11163 2001-08-02  Juergen Vigna  <jug@sad.it>
11164
11165         * BufferView_pimpl.C (update): redone this function so that we
11166         update the text again if there was a CHANGE_IN_DRAW.
11167
11168         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11169         (drawFromTo): added a new internal bool which is used by draw() and
11170         redraw() function.
11171         (general): some cursor drawing problems fixed.
11172
11173 2001-08-01  Juergen Vigna  <jug@sad.it>
11174
11175         * lyxfind.C (LyXFind): fixed
11176         (SearchForward): ditto
11177         (SearchBackward): ditto
11178
11179         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11180         spurius drawing of the cursor in the main area.
11181
11182         * text2.C (status): small fix which could lead to a segfault!
11183         (clearSelection): remove unneeded BufferView param.
11184
11185 2001-08-01  André Pönitz <poenitz@gmx.net>
11186
11187         * lyxfunc.C: small change due to changed mathed interface
11188
11189 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11190
11191         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11192
11193 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11194
11195         * lyxfunc.c: fail gracefully if file doesn't exist
11196
11197         * LyXSendto.C:
11198         * buffer.C:
11199         * lyxfunc.C:
11200         * BufferView_pimpl.C: IsDirWriteable() proto changed
11201
11202         * LyXView.C: fix updateWindowTitle() to store the last title
11203
11204 2001-07-31  Juergen Vigna  <jug@sad.it>
11205
11206         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11207         the font (wrong since using of Paragraph::highestFontInRange).
11208
11209         * paragraph.C (highestFontInRange): added a default_size parameter.
11210
11211         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11212         (setHeightOfRow): reformat
11213
11214 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11215
11216         * converter.[hC] + affected files: move to (inital-char)lowercase
11217         function names.
11218
11219         * ParagraphParameters.C (ParagraphParameters): remove commented code
11220
11221         * PainterBase.[Ch]: remove commented code
11222
11223         * LaTeXFeatures.h: add "bool floats" for float.sty
11224
11225         * LaTeXFeatures.C (LaTeXFeatures): init floats
11226         (require): handle float
11227         (getPackages): do it with floats
11228
11229 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11230
11231         * BufferView_pimpl.C (Dispatch): improve handling of
11232         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11233
11234         * commandtags.h: #include lyxfont.h here temporarily to avoid
11235         keybinding bug.
11236
11237         * bufferlist.h: include LString.h here.
11238
11239 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11240
11241         * text2.C (getStringToIndex): new method.
11242
11243 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11244
11245         * *: Reduced header file dependencies all over.
11246
11247 2001-07-30  Baruch Even  <baruch@lyx.org>
11248
11249         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11250
11251 2001-07-29  Baruch Even  <baruch@lyx.org>
11252
11253         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11254
11255 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * ParameterStruct.h (endif): add a default constructor to make
11258         sure that all variables is initialized.
11259
11260         * ParagraphParameters.C (ParagraphParameters): adjust
11261
11262 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11263
11264         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11265         index; also, check that there is something to index, and that it
11266         does not span over several paragraphs.
11267         (doubleClick): use WHOLE_WORD_STRICT for double click.
11268
11269         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11270
11271         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11272         scheme.
11273
11274 2001-07-26  Baruch Even  <baruch@lyx.org>
11275
11276         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11277         an InsetFig figure, backwards compatible reading of old figure code.
11278
11279 2001-07-27  Juergen Vigna  <jug@sad.it>
11280
11281         * text2.C: font.realize function adaption.
11282
11283         * text.C (draw): add a warnings lyxerr text if needed.
11284
11285         * layout.C: font.realize function adaption.
11286
11287         * language.C: add inherit_language and implement it's handlings
11288
11289         * bufferview_funcs.C (StyleReset): remove language parameter from
11290         font creation (should be language_inherit now).
11291
11292         * bufferparams.C (writeFile): handle ignore_language.
11293
11294         * paragraph.C (getFontSettings): the language has to be resolved
11295         otherwise we have problems in LyXFont!
11296
11297         * lyxfont.C (lyxWriteChanges): added document_language parameter
11298         (update): removed unneeded language parameter
11299
11300         * paragraph.C (validate): fixed wrong output of color-package when
11301         using interface colors for certain fonts in certain environments,
11302         which should not seen as that on the final output.
11303
11304 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * BufferView_pimpl.C:
11307         * Thesaurus.h:
11308         * Thesaurus.C:
11309         * Makefile.am:
11310         * commandtags.h:
11311         * LyXAction.C: add thesaurus support
11312
11313         * lyxfind.h:
11314         * lyxfind.C: add "once" parameter, for thesaurus, to not
11315           move to the next match
11316
11317 2001-07-26  Juergen Vigna  <jug@sad.it>
11318
11319         * lyxfont.C (realize): honor ignore_language too!
11320         (resolved): ditto.
11321
11322         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11323
11324         * text.C (draw): one place more for ignore_language to not draw
11325         itself!
11326
11327 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11328
11329         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11330
11331 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11332
11333         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11334         the minipage conversion problem.
11335
11336 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11339         insert an inset.
11340
11341 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11342
11343         * BufferView.h: don't forward declare WorkArea
11344
11345         * BufferView.C: don't include WorkArea.h
11346
11347 2001-07-25  André Pönitz <poenitz@gmx.net>
11348
11349         * commandtags.h:
11350         * LyXAction.C:
11351         * lyxfunc.C:  new LFUN 'math-space'
11352
11353         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11354
11355 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11356
11357         * text2.C (toggleInset): call open/close
11358
11359 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * lyxfunc.C (dispatch): add debug for the disabled case
11362
11363         * font.C (buttonText): make similar to rectText
11364
11365         * buffer.C (readInset): comment out parsing of insetlist and
11366         insttheorem
11367
11368         * PainterBase.C (rectText): small correction
11369
11370         * BufferView_pimpl.C: comment out insettheorem and insetlist
11371         * LyXAction.C: ditto
11372         * commandtags.h: ditto
11373
11374 2001-07-24  Juergen Vigna  <jug@sad.it>
11375
11376         * text.C (draw): honor the ignore_language.
11377
11378         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11379
11380 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11381
11382         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11383         char inset.
11384
11385 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11386
11387         * lyxtext.h: remove unused (and unimplemented) methods
11388
11389 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11390
11391         * text.C (getVisibleRow): honor background color
11392
11393         * PainterBase.h:
11394         * Painter.h: remove default color argument for fillRectangle
11395
11396         * text.C (backgroundColor): new method
11397
11398 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11399
11400         * text.C (getVisibleRow): adjust
11401
11402         * font.[Ch] (rectText): new method, metrics
11403         (buttonText): new method, metrics
11404
11405         * PainterBase.[hC]: make rectText and buttonText always draw and take
11406         fewer paramteres.
11407
11408 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11409
11410         * ToolbarDefaults.C (read):
11411         * MenuBackend.C (read): allow escaping in all strings
11412
11413         * BufferView_pimpl.C (insertAndEditInset): new method.
11414         (Dispatch): use insertAndEditInset whenever appropriate.
11415
11416         * BufferView_pimpl.C (insertNote): removed
11417
11418         * BufferView_pimpl.C (smartQuote): new method, moved from
11419         BufferView; if an insetquote cannot be inserted, insert a '"'
11420         character instead.
11421
11422         * BufferView2.C: remove insertCorrectQuote();
11423
11424         * lyxfunc.C (getStatus): Add support for all remaingin
11425         inset-insert lfuns.
11426
11427         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11428
11429         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11430         command (necessary to pass " as parameter of self-insert.
11431
11432         * text.C (selectWordWhenUnderCursor):
11433         (selectWord): add word_location parameter
11434         (selectWordWhenUnderCursor): same + remove special code for word
11435         boundary.
11436         (selectNextWord): use kind() to guess type of insetspecialchar,
11437         not latex().
11438
11439         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11440         (insertErtContents): create ert insets as collapsed.
11441         (readInset): better compatibility code for Info inset.
11442
11443 2001-07-20  Juergen Vigna  <jug@sad.it>
11444
11445         * lyxfunc.C (dispatch): use always LyXFind now!
11446
11447         * text2.C (init): add a reinit flag so that the LyXText can be
11448         reinited instead of deleted and reallocated (used in InsetText).
11449
11450         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11451
11452         * text.C: ditto
11453
11454         * text2.C: ditto
11455
11456 2001-07-18  Juergen Vigna  <jug@sad.it>
11457
11458         * text.C (selectNextWord): handle insets inside inset by calling
11459         always the bv->text functions so that we can go up the_locking_inset!
11460
11461         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11462         in strange locations when inside an inset!
11463
11464         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11465         handling to include insets.
11466
11467         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11468
11469 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11470
11471         * LyXAction.C (init):
11472         * commandtags.h:
11473         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11474         LIGATURE_BREAK, since the name is so stupid.
11475
11476 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11477
11478         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11479         InsetInfos.
11480
11481         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11482
11483         * sp_form.[Ch]: remove.
11484
11485         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11486
11487         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11488         InsetInfo.
11489
11490         * src/buffer.C (readInset): ditto.
11491
11492 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11493
11494         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11495         menuSeparator(), endOfSentenceDot(), ldots() and
11496         hyphenationPoint(), which are therefore removed.
11497         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11498
11499         * LyXAction.C (init):
11500         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11501
11502         * paragraph.C (getWord): removed.
11503
11504         * BufferView_pimpl.C (Dispatch): use last word or selection for
11505         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11506
11507         * lyx_main.C (queryUserLyXDir): do not ask before creating
11508         user_dir, except if it has been named explicitely.
11509
11510 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11513         a document of zero size.
11514
11515 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11516
11517         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11518         approriately in the c-tor and in require().
11519         (getPackages): output the appropriate LaTeX for natbib support.
11520
11521         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11522         variables "use_natbib" and "use_numerical_citations" when reading the
11523         LyX file.
11524         (readInset): read the various natbib cite commands.
11525         (validate): white-space change.
11526
11527         * bufferparams.[Ch]: new variables "bool use_natbib" and
11528         "bool use_numerical_citations".
11529         (writeFile): output them in the LyX file.
11530
11531 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11532
11533         * lyxfunc.C (getStatus): add support for all the inset insertion
11534         commands.
11535
11536         * text2.C (insertInset):
11537         * paragraph.C (insetAllowed):
11538         * BufferView_pimpl.C (insertInset): update to take in account the
11539         renaming of insertInsetAllowed
11540
11541         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11542
11543         * text2.C (getInset): new method. returns inset at cursor position.
11544
11545         * BufferView_pimpl.C (Dispatch): changes because of this.
11546
11547         * LyXAction.C (init): rename open-stuff to inset-toggle.
11548
11549         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11550
11551         * text2.C (toggleInset): renamed from openStuff; use
11552         Inset::open().
11553
11554 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11555
11556         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11557
11558         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11559
11560 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11561
11562         * buffer.C (readLyXformat2): Add filename to the error dialog
11563
11564 2001-07-18  Juergen Vigna  <jug@sad.it>
11565
11566         * tabular.C (GetCellNumber): put an assert here instead of the check!
11567
11568 2001-07-17  Juergen Vigna  <jug@sad.it>
11569
11570         * BufferView_pimpl.C (toggleSelection): adapted too.
11571
11572         * text.C (selectNextWord): adapted for use with insets.
11573         (selectSelectedWord): ditto
11574
11575 2001-07-17  Juergen Vigna  <jug@sad.it>
11576
11577         * sp_spell.C (PSpell): fix initialitation order.
11578
11579 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11580
11581         * paragraph.C: spacing
11582
11583 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11584
11585         * sp_spell.C: repair language selection for pspell
11586
11587 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11588
11589         * lyxfunc.h: change more methods to begin with lower char.
11590
11591 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11592
11593         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11594         for unknown layouts.
11595
11596 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11597
11598         * buffer.C (readLyXformat2): Generate an error dialog if there are
11599         unknown layouts.
11600
11601 2001-07-16  Juergen Vigna  <jug@sad.it>
11602
11603         * sp_spell.C: always compile ISpell part.
11604
11605         * lyxrc.C: added use_pspell entry and it's handling.
11606
11607 2001-07-13  Juergen Vigna  <jug@sad.it>
11608
11609         * sp_spell.C: removed double includes.
11610
11611 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11612
11613         Consistent use of Lsstream.h:
11614         * Lsstream.h: added using std::stringstream for consistencies sake.
11615
11616         * buffer.C: removed using std::stringstream
11617
11618         * lyxfont.C (stateText):
11619         * paragraph.C (asString):
11620         * text.C (selectNextWord, selectSelectedWord):
11621         * text2.C (setCounter):
11622         * vspace.C (asString, asLatexString):
11623         std::ostringstream -> ostringstream.
11624
11625 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11626
11627         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11628         * commandtags.h: add LFUN_HELP_ABOUTLYX
11629         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11630
11631 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11632
11633         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11634         cursorToggle()
11635         * lyx_gui_misc.C: remove spellchecker
11636         * lyxfunc.C: showSpellchecker
11637         * sp_base.h: added
11638         * sp_ispell.h: added
11639         * sp_pspell.h: added
11640         * sp_spell.C: added
11641         * sp_form.[Ch]: removed
11642         * spellchecker.[Ch]: removed
11643
11644 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11645
11646         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11647         is set.
11648         (simpleTeXSpecialChars): Simply print the input character without
11649         any special translation if pass_thru is set.
11650
11651         * layout.h: Added bool pass_thru to layout class for being able to
11652         implement pass through of a paragraph for Literate Programming.
11653
11654         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11655         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11656         * layout.C (Read): add "passthru" to list of layout tags and add
11657         code to set the pass_thru boolean when it is read.
11658
11659 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11660
11661         * trans_decl.h: remove allowed from KmodInfo
11662
11663         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11664         remove allowed code
11665         (Load): adjust
11666
11667         * paragraph_pimpl.C (erase): use boost::prior
11668
11669         * Painter.C (text): use data() instead of c_str() when length is
11670         also provided.
11671         * WorkArea.C (putClipboard): ditto
11672         * font.h (width): ditto
11673
11674         * BufferView2.C: use it-> instead of (*it). for iterators
11675         * texrow.C: ditto
11676         * paragraph_pimpl.C: ditto
11677         * paragraph.C: ditto
11678         * minibuffer.C: ditto
11679         * language.C: ditto
11680         * kbmap.C: ditto
11681         * encoding.C: ditto
11682         * counters.C: ditto
11683         * converter.C: ditto
11684         * chset.C: ditto
11685         * Variables.C: ditto
11686         * TextCache.C: ditto
11687         * MenuBackend.C: ditto
11688         * LyXAction.C: ditto
11689         * LColor.C: ditto
11690         * FloatList.C: ditto
11691         * DepTable.C: ditto
11692         * ColorHandler.C (LyXColorHandler): ditto
11693
11694 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11695
11696         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11697
11698         * text2.C (openStuff): reintroduce this method (which had been
11699         nuked in NEW_INSETS frenzy).
11700
11701         * lyxfunc.C (Dispatch): when an action has not been handled, use
11702         its name in the error message, not its number.
11703
11704         * paragraph.C (inInset): change method name to begin with lowercase.
11705
11706         * undo_funcs.C:
11707         * text2.C: updates because of this.
11708
11709 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11710
11711         * ToolbarDefaults.C (add): add spaces in error message
11712
11713 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11714
11715         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11716         (readLyXformat2): rename return_par to first_par, use lyxlex's
11717         pushToken and remove the manual push handling.
11718         (parseSingleLyXformat2Token): add another ert comp. variable:
11719         in_tabular, rename return_par to first_par. handle newlines better
11720
11721 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11722
11723         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11724
11725 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11726
11727         * text2.C (getParFromID): removed
11728
11729         * buffer.C (getParFromID): new method moved form lyxtext.
11730         * BufferView2.C (insertErrors): adjust
11731         (setCursorFromRow): adjust
11732         * BufferView_pimpl.C (restorePosition): adjust
11733         * lyxfunc.C (Dispatch): adjust
11734         * undo_funcs.C (textUndo): adjust
11735         (textRedo): adjust
11736         (textHandleUndo): adjust
11737         (textHandleUndo): adjust
11738
11739 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11740
11741         * buffer.C: up' the LYX_FORMAT
11742
11743         * lyxfont.h: turn NO_LATEX on as default
11744
11745         * buffer.C (insertErtContents): new methods of tex style compability.
11746         (parseSingleLyXformat2Token): use it several places.
11747         * tabular.C (OldFormatRead): and here
11748
11749 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * text2.C: remove some commented code.
11752         reindent file.
11753
11754         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11755         * trans.C: changes because of the above.
11756
11757 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11758
11759         * text2.C (setCounter): Fix counters bug with bibliography layout.
11760
11761 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11764         own member functions
11765         (simpleTeXSpecialChars): ditto
11766
11767 2001-07-06  Juergen Vigna  <jug@sad.it>
11768
11769         * a lot of files: changed the access to LyXText::status and the
11770         call of undo-functions.
11771
11772         * undo.[Ch]: added a inset_id to the undo informations.
11773
11774         * undo_funcs.[Ch]: added and moved here all undo functions.
11775
11776         * lyxtext.h: give the status enum a weight, made status_ a private
11777         variable and made accessor functions for it, removed the whole bunch
11778         of undo-functions as they are now in their own file, make some
11779         functions publically available. Added function ownerParagraph with
11780         int parameter.
11781
11782         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11783         made InInset() a const function, added getParFromID() function.
11784
11785         * buffer.[Ch]: added const version for inset_iterator functions,
11786         added getInsetFromID() function.
11787
11788         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11789         changed undo functions for new version.
11790
11791 2001-07-05  Juergen Vigna  <jug@sad.it>
11792
11793         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11794         unknow mechanism does not call the proper constructor but only this
11795         one also if I request the other!?
11796
11797 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11800
11801         * text2.C (LyXText): use initialization lists.
11802
11803         * lyxtext.h (Selection): initialize set_ and mark_
11804         (init): remove method
11805
11806 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11807
11808         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11809
11810 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * screen.[Ch]: change method names to begin with lowercase
11813
11814         * BufferView_pimpl.C (updateScrollbar): simplify further and
11815         hopefully make it a bit faster.
11816
11817 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11818
11819         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11820         calling directly xforms functions.
11821
11822         * Painter.C (Painter):
11823         * lyx_cb.C (MenuWrite):
11824         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11825         fl_display.
11826
11827         * lyx_gui.C: remove bogus guiruntime extern declaration.
11828
11829 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11832         in NEW_INSETS
11833         (redoDrawingOfParagraph): ditto
11834         (redoParagraphs): ditto
11835         (cutSelection): don't create a object for CutAndPaste use the
11836         static method directly
11837         (pasteSelection): ditto
11838
11839         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11840         LyXview (+ rename)
11841
11842 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * modifications to some other files because of this.
11845
11846         * Makefile.am (lyx_SOURCES): add XFormsView
11847
11848         * XFormsView.[Ch]: new files
11849
11850         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11851         the main window. Move the gui dependent stuff to XFormsView
11852
11853 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11854
11855         * tabular.C (GetCellInset): update cur_cell also in the row/col
11856         version of this function.
11857
11858         * lyxfunc.C: no need to include figure_form.h here.
11859
11860         * FontLoader.h:
11861         * lyxfunc.h:
11862         * lyxscreen.h:
11863         * text2.C:
11864         * lyxvc.C: no need to include forms.h here.
11865
11866 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11867
11868         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11869
11870         * lyxfunc.C (Dispatch):
11871         * Spacing.C (set):
11872         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11873         constructor argument.
11874
11875 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * paragraph.C (Paragraph): dont't clear, and just set layout.
11878         (makeSameLayout): use params's copy contructor.
11879
11880         * ParagraphParameters.[Ch] (makeSame): delete method
11881
11882 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * Variables.[Ch]: fix indentation, rename set to isSet
11885
11886 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11887
11888         * lyxfunc.C (Dispatch): fix typo
11889
11890 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11891
11892         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11893         upper_bound.
11894
11895         * bufferlist.C: include assert.h for emergencyWrite().
11896
11897 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11900           give up at last (bug #425202) !
11901
11902 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * lyx_gui_misc.C:
11905         * sp_form.h:
11906         * sp_form.C:
11907         * spellchecker.h:
11908         * spellchecker.C: strip spellchecker options and bring up
11909           preferences tab instead
11910
11911 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11914         the istringstream constructor
11915
11916 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11917
11918         * paragraph.C (getLayout): fix return value
11919
11920         * paragraph.h: do not declare getLayout as inline.
11921
11922         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11923
11924 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11925
11926         * lyxcursor.h (operator<): new func
11927         (operator>): new func
11928         (operator>=): new func
11929         (operator<=): new func
11930
11931         * text.C (changeCase): use selection.start and selection.end
11932         (changeRegionCase): require from to be <= to. Require par to be a
11933         valid paragraph.
11934
11935         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11936
11937 2001-06-27  Juergen Vigna  <jug@sad.it>
11938
11939         * text.C (cursorLeftOneWord): changed to return the cursor and added
11940         overlay with BufferView * parameter which calls this one.
11941         (getWord): added
11942         (selectWord): use new getWord function.
11943         (changeCase): renamed from changeWordCase as and extended to work
11944         also on selections.
11945
11946         * lyxtext.h: added enum word_location
11947
11948         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11949         changeCase as this operates now also on selections.
11950
11951 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11952
11953         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11954
11955         * many files: send debug output to Debug::INFO instead of
11956         Debug::ANY.
11957
11958         * converter.C (View):
11959         (Convert):
11960         (Move): send debug output to Debug::FILES instead of console.
11961
11962 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11963
11964         * lyxfunc.C (getStatus): use func_status
11965
11966         * func_status.h: new header, describing the results of
11967         LyXFunc::getStatus;
11968
11969         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11970         LFUN_MATH_HALIGN.
11971
11972 2001-06-25  The LyX Project  <jug@sad.it>
11973
11974         * buffer.C (sgmlOpenTag):
11975         (sgmlCloseTag):
11976         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11977
11978 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11979
11980         * text2.C: remove some dead code
11981
11982         * tabular.C (GetCellInset): store the last cell checked (gotten)
11983
11984         * tabular.h: add the helper for the speedup
11985
11986         * lyxtext.h: remove some dead code
11987
11988 2001-06-26  The LyX Project  <Asger>
11989
11990         * paragraph.C: Change export to LaTeX of alignment to
11991         \begin{center} and family for better roundtrip work with reLyX.
11992
11993         * Tune the math drawing a bit.
11994
11995 2001-06-25  The LyX Project  <Asger>
11996
11997         * LColor.C (LColor): New color for math background. New color
11998         for buttons.
11999
12000 2001-06-25  The LyX Project  <jug@sad.it>
12001
12002         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12003
12004         * lyxfunc.C (Open):
12005         * bufferlist.C (newFile): do not restrict to files ending with
12006         .lyx
12007
12008         * BufferView_pimpl.C (MenuInsertLyXFile):
12009
12010 2001-06-24  The LyX Project  <jug@sad.it>
12011
12012         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12013         of compare_no_case
12014
12015 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * lyxtext.h: rename most methods to begin with a small char.
12018         Lots of changes because of this.
12019
12020         * paragraph.C (Paragraph): do not call fitToSize
12021         (erase): call Pimpl::erase
12022         (insertChar): call Pimpl::insertChar
12023         (insertInset): call Pipl::insertInset
12024         (breakParagraph): do not call fitToSize
12025         (breakParagraphConservative): do not call fitToSize
12026         (fitToSize): remove method
12027
12028         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12029
12030 2001-06-24  The LyX Project  <Asger>
12031
12032         * Fix Qt compilation^2
12033
12034 2001-06-24  The LyX Project  <jug@sad.it>
12035
12036         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12037         depthHook(getDepth()-1).
12038
12039         * paragraph.h:
12040         * ParagraphParameters.h:
12041         * ParameterStruct.h: change type of depth to unsigned int ==
12042         depth_type. Many adaptations to other files before of that.
12043
12044 2001-06-24  The LyX Project  <Asger>
12045
12046         * Fix Qt compilation.
12047
12048 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * paragraph.h: renamed several methods to begin with small letter.
12051         several changes to many parts of the code because of this.
12052
12053 2001-06-23  The LyX Project  <jug@sad.it>
12054
12055         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12056         rewritten to discard all double spaces when KeepEmpty is off
12057         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12058         to only handle newlines but not fiddle with spaces and friends.
12059
12060         * lyxfunc.C (MenuNew): when doing 'new from template', use
12061         template_path as default directory
12062
12063 2001-06-23  The LyX Project  <Asger>
12064
12065         * Clean-up of header file includes all over
12066         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12067
12068 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * paragraph.h: renamed from lyxparagraph.h
12071
12072 2001-06-23  Asger  <lyx@violet.home.sad.it>
12073
12074         * Buffer.h: Removed Buffer::resize
12075         * BufferList.h: Removed BufferList::resize
12076         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12077         the document lazily when we change the width, or the font settings.
12078
12079 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12082
12083 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * buffer.h: remove out of date comment
12086
12087 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * lyxscreen.h:
12090         * screen.C: fix "theoretical" GC leak
12091
12092 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12093
12094         * LaTeX.C (scanAuxFile):
12095         (deplog): remove trailing \r when reading stream (useful under
12096         win32)
12097
12098 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12099
12100         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12101         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12102         and BufferView::theLockingInset(Inset*), so should use them and not
12103         access bv_->text->the_locking_inset directly.
12104
12105         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12106
12107 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * Makefile.am:
12110         * tex-defs.h: remove old unused file
12111
12112 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * BufferView_pimpl.C: fix typo, remove minibuffer message
12115           when buffer has loaded
12116
12117 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * lyxfunc.C (Dispatch): use stringstream
12120         (MenuNew): use stringstream
12121         (Open): use stringstream
12122
12123         * importer.C (Import): use stringstream
12124
12125         * bufferview_funcs.C (CurrentState): use stringstream
12126
12127         * LaTeX.C (run): use stringstream
12128
12129         * BufferView_pimpl.C (savePosition): use stringstream
12130         (restorePosition): use stringstream
12131         (MenuInsertLyXFile): use stringstream
12132
12133 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12134
12135         * BufferView.C:
12136         * Bullet.C:
12137         * ColorHandler.C:
12138         * FontInfo.C:
12139         * FontLoader.C:
12140         * LColor.C:
12141         * LaTeXFeatures.C:
12142         * Painter.C:
12143         * gettext.C:
12144         * lyx_gui_misc.C:
12145         * lyxserver.C:
12146         * vspace.C: removed // -*- C++ -*- as first line.
12147
12148         * lyxfind.h:
12149         * version.h: added // -*- C++ -*- as first line.
12150
12151 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12152
12153         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12154
12155         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12156         of string
12157
12158 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12161         of floats.
12162
12163 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12164
12165         * gettext.C: include LString.h even when --disable-nls is on.
12166
12167 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12168
12169         * converter.h (Get): changed argument type from int to
12170         FormatList::size_type to avoid unnecessary conversion.
12171
12172         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12173         before using it.
12174
12175 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12176
12177         * gettext.h: include LString.h even when --disable-nls is on.
12178
12179 2001-06-07  Juergen Vigna  <jug@sad.it>
12180
12181         * text.C (BreakAgain): subst spaces with tabs.
12182
12183         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12184         (resizeInsetsLyXText): set force on resizeLyXText.
12185
12186 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12187
12188         * gettext.h (gettext_init):
12189         (locale_init): use a real definition instead of a macro
12190
12191 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * Bufferview_pimpl.C:
12194         * LColor.h:
12195         * LColor.C: further lcolor tidies
12196
12197 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * BufferView_pimpl.C (updateScrollbar): simplify.
12200
12201         * BufferView2.C: don't include insets/insetinfo.h, change
12202         prototype for insertInset and call the Pimpl version. let
12203         updateInset call Pimpl version.
12204
12205         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12206         gotoInset to BufferView::Pimpl
12207
12208 2001-06-01  Juergen Vigna  <jug@sad.it>
12209
12210         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12211         inside a LockingInset (is the update needed at all?).
12212
12213 2001-05-31  Juergen Vigna  <jug@sad.it>
12214
12215         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12216         here not the old one otherwise how should we compare it afterwards
12217         if it's the same!
12218
12219 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12220
12221         * lyxfont.C:
12222         * tabular.C:
12223         * tabular-old.C:
12224         * FontInfo.C: bring C functions into global namespace when
12225         necessary
12226
12227 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12228
12229         * LString.h: make sure config.h has been loaded before LString.h.
12230
12231         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12232         (one for each char read by EatLine!).
12233
12234         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12235         variables.
12236
12237 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12238
12239         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12240         to the same as the par we break from
12241
12242 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12243
12244         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12245
12246         * MenuBackend.C (expand): also create menu entries for wide
12247         versions of the floats.
12248
12249         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12250
12251         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12252
12253         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12254         frontends/Makefile.am
12255
12256         * text2.C: adjust
12257         * text.C: adjust
12258
12259
12260         * tabular.C (getTokenValue): add std::
12261
12262         * tabular-old.C (getTokenValue): add std::
12263         (getTokenValue): ditto
12264         (getTokenValue): ditto
12265
12266         * screen.C (ToggleSelection): adjust
12267
12268         * lyxtext.h: put selection cursors inside a Selection struct.
12269
12270         * lyxfunc.C (moveCursorUpdate): adjust
12271
12272         * lyxfont.C (latexWriteStartChanges): add std::
12273
12274         * lyxfind.C: adjust
12275
12276         * font.h: delete with(char const *, LyXFont const &)
12277
12278         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12279
12280         * FontInfo.C (getFontname): add std::
12281
12282         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12283         (workAreaButtonPress): adjust
12284         (tripleClick): adjust
12285         (update): adjust
12286         (moveCursorUpdate): adjust
12287         (Dispatch): adjust
12288
12289         * BufferView2.C (gotoInset): adjust
12290
12291 2001-05-30  Juergen Vigna  <jug@sad.it>
12292
12293         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12294         to check pspell I add this as default as I now have new pspell
12295         libraries and they seem to use this.
12296
12297 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12298
12299         * text2.C (CutSelection): make the cursor valid before the call to
12300         ClearSelection.
12301
12302 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12303
12304         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12305         relied on 0 terminated strings and other horrors. Bug found due to
12306         the new assert in lyxstring!
12307
12308         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12309         KP_ keys.
12310
12311 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12314         to latinkeys.bind.
12315
12316         * lyxfunc.C (processKeySym): change method of getting to the
12317         self-insert char.
12318
12319         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12320         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12321         * BufferView_pimpl.[Ch]: here as private methods.
12322
12323 2001-05-28  Juergen Vigna  <jug@sad.it>
12324
12325         * text.C (SetHeightOfRow): added the update() call again as it is
12326         needed to initialize inset dimensions!
12327
12328 2001-05-16  Juergen Vigna  <jug@sad.it>
12329
12330         * text2.C (SetCharFont): Add new function with BufferView * and
12331         bool toggleall parameters for setting insets internal fonts.
12332         (SetFont): Freeze the undo as we may change fonts in Insets and
12333         all this change should be inside only one Undo!
12334
12335         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12336         setting font's in insets as for them we have the SetFont function!
12337
12338 2001-05-15  Juergen Vigna  <jug@sad.it>
12339
12340         * text2.C (ClearSelection): to be sure we REALLY don't have any
12341         selection anymore!
12342
12343         * tabular.C (TeXCellPreamble): fixed the left border problem for
12344         multicolumn cells.
12345
12346 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12347
12348         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12349         dependancy file
12350
12351 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12354         LFUN_BREAKPARAGRAPH.
12355
12356         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12357         help test to "internal only", similar for LFUN_INSERT_URL
12358
12359         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12360         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12361         auto_region_delete and deadkeys.
12362
12363 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * LColor.h:
12366         * LColor.C: remove some dead entries, tidy a little
12367
12368 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12371         commented code.
12372         (Dispatch): implement LFUN_ESCAPE
12373
12374         * commandtags.h: add LFUN_ESCAPE
12375
12376         * LyXAction.C (init): add entry for LFUN_ESCAPE
12377
12378         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12379         Remove commented code.
12380         (insertNote): moved here
12381         (open_new_inset): moved here
12382
12383         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12384         BufferView_pimpl
12385
12386 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12387
12388         * kbmap.C (findbinding): clean it up and make it work correctly.
12389
12390         * lyx_main.C (init): do not pass argc and argv as parameters
12391
12392 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12393
12394         * buffer.C: fix path for OS/2 & Win32
12395
12396         * lyx_gui.C:
12397         * lyx_main:
12398         * lyx_main.C: Added os:: class.
12399
12400         * os2_defines.h: update
12401
12402 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12405         better by trying again with reduced state.
12406
12407 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12408
12409         * lyxrc.C (read): print error about invalid key sequence only when
12410         debugging (because not all latinX keysyms are known to some X
12411         servers)
12412
12413         * kbsequence.C (getiso): add a few std:: qualifiers
12414         (getiso): comment out extra return statement.
12415
12416 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12419         handling.
12420         (Dispatch): enhance the accent inset a bit. (not perfect)
12421
12422 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12423
12424         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12425
12426 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12427
12428         * bufferlist.C (emergencyWrite): fix assert() call
12429
12430 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12431
12432         * text.C (InsertChar): Added trivial patch to only send the "you
12433         can not do multiple spaces this way" message once during a
12434         session.
12435
12436 2001-05-08  Baruch Even  <baruch@lyx.org>
12437
12438         * Makefile.am: Changed order of libraries to get LyX to link properly
12439         with the gnome frontend.
12440
12441 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12442
12443         * LaTeXFeatures.h: add a std:: qualifier
12444
12445 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * paragraph.C (String): use stringstream
12448
12449 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12450
12451         * paragraph.C (writeFile): remove footflag arg
12452
12453         * buffer.C (makeLaTeXFile): use stringstream
12454         (latexParagraphs): remove footnot gurba
12455
12456         * LaTeXFeatures.C (getPackages): use stringstream
12457         (getMacros): likewise
12458         (getTClassPreamble): likewise
12459         (getFloatDefinitions): new method
12460
12461         * paragraph.C (writeFile): reindent
12462         (Erase): reindent
12463
12464         * WorkArea.h: revert the xpos + etc changes.
12465
12466         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12467
12468         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12469
12470         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12471         (pasteSelection): likewise
12472         * text2.C (CreateUndo): likewise
12473
12474 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12475
12476         * minibuffer.C (peek_event): temporarily reduce the functionality
12477         of the minibuffer (to allow args on lfuns)
12478
12479         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12480         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12481
12482         * buffer.C (readInset): add compability reading of old float
12483         lists, add reading of new style float list.
12484         (readInset): avoid reevaluation of inscmd.getCmdName()
12485         (getLists): reindent
12486
12487         * MenuBackend.C (MenuItem): implement parsing of
12488         md_floatlistinsert and md_floatinsert.
12489         (expand::LastFiles): move initalizaton of iterators out of loop,
12490         avoid reevaluation.
12491         (expand::Documents): introduce typdedef vector<string> Strings,
12492         and use it.
12493         (expand::ExportFormats): introduce typedef vector<Format const *>
12494         Formats, and use it.
12495         (expand): implement FloatListInsert and FloatInsert.
12496
12497         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12498         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12499         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12500
12501         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12502         handling.
12503         (Dispatch::LFUN_FLOAT_LIST): implement
12504
12505 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12506
12507         * LaTeX.C (run): Fix problem with --export code.
12508
12509 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12510
12511         * BufferView.[Ch] (workarea): removed.
12512         (getClipboard) new method; wrapper for workarea()->getClipboard()
12513
12514         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12515         bug.
12516
12517         * WorkArea.h (width, height, xpos, ypos): These methods all
12518         returned the dimensions of the work_area sub-area of WorkArea,
12519         resulting in a position error if the WorkArea were resized. Now
12520         return the dimensions of the entire WorkArea.
12521
12522         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12523
12524 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12525
12526         * LaTeX.C (deplog): correct the syntax of regex reg1
12527
12528 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12529
12530         * undo.C: remove !NEW_INSETS cruft
12531
12532 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12533
12534         * text2.C: remove !NEW_INSETS cruft
12535
12536         * text.C: remove !NEW_INSETS cruft
12537
12538         * tabular.C: remove !NEW_INSETS cruft
12539
12540         * spellchecker.C: remove !NEW_INSETS cruft
12541
12542         * lyxtext.h: remove !NEW_INSETS cruft
12543
12544         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12545
12546         * lyxfunc.C: remove !NEW_INSETS cruft
12547
12548         * lyxfind.C: remove !NEW_INSETS cruft
12549
12550         * lyx_cb.C: remove !NEW_INSETS cruft
12551
12552         * figureForm.C: remove  !NEW_INSETS cruft
12553
12554         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12555
12556         * buffer.[Ch]: remove !NEW_INSETS cruft
12557
12558         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12559
12560         * CutAndPaste.C: remove !NEW_INSETS cruft
12561
12562         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12563
12564         * BufferView2.C: remove !NEW_INSETS cruft
12565
12566         * BufferView.h: remove !NEW_INSETS cruft
12567
12568 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12569
12570         * Lsstream.h: include LString.h before the sstream headers to
12571         fix problem with gcc 2.95.3 and lyxstring
12572
12573 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12574
12575         * lyx_main.C: add using directives when needed for C functions
12576         declared in std:: namespace.
12577
12578 2001-04-27  Juergen Vigna  <jug@sad.it>
12579
12580         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12581         (SetHeightOfRow): comment out the update call should not be needed!
12582
12583 2001-04-13  Juergen Vigna  <jug@sad.it>
12584
12585         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12586         (LyXTabular): tried to minimize operator= operations (and realized
12587         hopfully Lars wish).
12588
12589 2001-04-27  Juergen Vigna  <jug@sad.it>
12590
12591         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12592
12593 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12596
12597         * buffer.C (readInset): hack to make listof algorithm work
12598
12599         * BufferView_pimpl.C: hack to make listof algorithm work
12600
12601 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * LyXAction.C: removed all !NEW_INSETS cruft
12604         (init): moved lfun_item in method
12605
12606         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12607
12608 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * BufferView2.C (theLockingInset): white space.
12611
12612 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * minibuffer.C: include <iostream>
12615
12616         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12617
12618         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12619
12620         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12621
12622         * text.[Ch] (TransposeChars): new method
12623
12624 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12625
12626         * call message directly through LyXView instead of through LyXFunc
12627         * BufferView2.C: adjust
12628         * BufferView_pimpl.C: adjust
12629         * FontLoader.C: adjust
12630         * buffer.C: adjust
12631         * bufferview_funcs.C: adjust
12632         * converter.C: adjust
12633         * figureForm.C: adjust
12634         * importer.C: adjust
12635         * lyx_cb.C: adjust
12636         * lyx_gui_misc.C: adjust
12637         * lyxfunc.C: adjust
12638         * lyxvc.C: adjust
12639         * text2.C: adjust
12640         + more files in subdirs
12641
12642         * lyxparagraph.h (size): move up int file
12643         (GetLayout): ditto
12644
12645         * adjust all uses of Assert to lyx::Assert.
12646
12647         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12648         lyxfunctional in namespace lyx
12649         * layout.C (hasLayout): ditto
12650         (GetLayout): ditto
12651         (GetLayout): ditto
12652         (delete_layout): ditto
12653         (NumberOfClass): ditto
12654         * converter.C (GetFormat): ditto
12655         (GetNumber): ditto
12656         (Add): ditto
12657         (Delete): ditto
12658         (SetViewer): ditto
12659         * bufferlist.C (getFileNames): ditto
12660         (emergencyWriteAll): ditto
12661         (exists): ditto
12662         (getBuffer): ditto
12663         * MenuBackend.C (hasSubmenu): ditto
12664         (hasMenu): ditto
12665         (getMenu): ditto
12666         * BufferView_pimpl.C (getInsetByCode): ditto
12667
12668 2001-04-18  Juergen Vigna  <jug@sad.it>
12669
12670         * vspace.C (asLatexString): fixed the 100% problem.
12671
12672 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12673
12674         * lyxfunc.C (Dispatch):
12675         * minibuffer.C:
12676         * minibuffer.h: add a few std:: qualifiers
12677
12678 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * minibuffer.[Ch]: reimplement so that commands is initiated and
12681         run from lyxfunc, simplified som handling, and made the completion
12682         and history code for complete. wip.
12683
12684         * lyxfunc.C (processKeySym): call message
12685         (miniDispatch): new temporary method
12686         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12687         (LFUN_MESSAGE): implement
12688         (LFUN_MESSAGE_PUSH): implement
12689         (LFUN_MESSAGE_POP): implement
12690         (initMiniBuffer): the initial/defualt minibuffer message.
12691
12692         * lyxfont.[Ch]: inline some more getters
12693
12694         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12695
12696         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12697
12698         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12699         (AutoSave): use LFUN_MESSAGE
12700         (Reconfigure): ditto
12701
12702         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12703
12704         * figureForm.C: use LFUN_MESSAGE
12705
12706         * converter.C (runLaTeX): use LFUN_MESSAGE
12707
12708         * bufferview_funcs.C: use LFUN_MESSAGE
12709         (Melt): ditto
12710         (changeDepth): ditto
12711
12712         * bufferparams.h: use boost::
12713
12714         * bufferlist.h: inherit privately from noncopyable
12715
12716         * bufferlist.C (loadLyXFile): remove some commented code.
12717
12718         * buffer.C (runChktex): use LFUN_MESSAGE
12719
12720         * ShareContainer.h: inherit privately from noncopyable
12721
12722         * ParagraphParameters.[hC] (depth): inline it.
12723
12724         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12725         methods.
12726         (message): new method
12727         (messagePush): ditto
12728         (messagePop): ditto
12729         (show): init minibuffer
12730         (showState): direct call
12731
12732         * LaTeX.[Ch]: inherit privately from noncopyable
12733         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12734         instead of WriteStatus.
12735
12736         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12737
12738         * BufferView_pimpl.C (buffer): don't init minibuffer
12739         (workAreaButtonPress): use LFUN_MESSAGE
12740         (workAreaButtonRelease): ditto
12741         (savePosition): ditto
12742         (restorePosition): ditto
12743         (MenuInsertLyXFile): ditto
12744         (workAreaExpose): don't init minibuffer
12745         (update): remove commented code, simplify
12746
12747         * BufferView2.C (openStuff): use LFUN_MESSAGE
12748         (toggleFloat): ditto
12749         (menuUndo): ditto
12750         (menuRedo): ditto
12751         (copyEnvironment): ditto
12752         (pasteEnvironment): ditto
12753         (copy): ditto
12754         (cut): ditto
12755         (paste): ditto
12756         (gotoInset): ditto
12757         (updateInset): remove some commented code
12758
12759         * lastfiles.h: inherit privately from noncopyable
12760         * layout.h: ditto
12761         * lyx_gui.h: ditto
12762         * lyx_main.h: ditto
12763         * lyxlex.h: ditto
12764         * lyxlex_pimpl.h: ditto
12765
12766         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12767         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12768         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12769
12770         * LyXAction.h: inherit privately from noncopyable, add methods
12771         func_begin, func_end, returning iterators to the func map.
12772
12773         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12774         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12775         (func_begin): new method
12776         (func_end): new method
12777
12778         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12779         and not)
12780         (copySelection): ditto
12781         (pasteSelection): ditto
12782
12783         * BufferView.C: whitespace change
12784         * BufferView.h: inherit privately from noncopyable
12785
12786 2001-04-16  Allan Rae  <rae@lyx.org>
12787
12788         * tabular-old.C (l_getline):
12789         * spellchecker.C (sc_check_word):
12790         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12791         an unrecognised preprocessor directive.  So ensure they're wrapped.
12792
12793 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12794
12795         * src/exporter.C (Export): Give an error message when path to file
12796         contains spaces.
12797
12798 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12799
12800         * LaTeX.C (deplog): Always check that foundfile exists.
12801
12802 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * lyx_main.h:
12805         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12806
12807 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * tabular.[Ch] (getLabelList): implement new method
12810
12811         * minibuffer.h: comment ouf setTiimer
12812
12813         * minibuffer.C (ExecutingCB): constify res
12814         (peek_event): constify s
12815         (Set): constify ntext
12816         (Init): constify nicename
12817
12818         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12819
12820         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12821         (savePosition): use two params to Minibuffer::Set
12822         (restorePosition): ditto
12823
12824 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * lyx_main.C: include language.h
12827
12828         * Makefile.am (lyx_main.o): add language.h
12829
12830 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12831
12832         * exporter.C:
12833         * paragraph.C:
12834         * screen.C:
12835         * tabular.C:
12836         * CutAndPaste.C: include gettext.h
12837
12838         * lyxfont.h: remove old hack with ON and OFF.
12839
12840         * lyxparagraph.h:
12841         * lyxfont.h: do not include language.h...
12842
12843         * BufferView2.C:
12844         * LaTeXFeatures.C:
12845         * Painter.C:
12846         * bufferview_funcs.C:
12847         * font.C:
12848         * lyxfont.C:
12849         * text.C:
12850         * text2.C:
12851         * trans_mgr.C:
12852         * paragraph.C: ... but do it here instead
12853
12854 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12857
12858         * tabular.C: small reformat
12859
12860         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12861         NEW_INSETS version
12862         (GetChar): ditto
12863         (BreakParagraph): ditto
12864         (SetOnlyLayout): ditto
12865         (SetLayout): ditto
12866
12867         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12868         with one arg less.
12869
12870         * lastfiles.C: removed most using decl, add std:: where needed
12871
12872         * buffer.C: ws changes
12873
12874         * MenuBackend.C (class compare_format): put into anon namespace
12875         (expand): constify label, names, action, action2
12876         (expand):
12877
12878         * text.C (SingleWidth): constify font
12879         (IsBoundary): constify rtl2
12880         (GetVisibleRow): constify ww
12881
12882         * LaTeX.C (deplog): constify logfile
12883
12884         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12885         start_x, end_x
12886         (workAreaExpose): constify widthChange, heightChange
12887
12888         * lyxrow.C (par): moved
12889         (height): moved
12890         (next): moved
12891         * lyxrow.h: as inlines here
12892
12893         * lyxfont.h (shape): moved from lyxfont.C
12894         (emph): moved from lyxfont.C
12895
12896         * lyxfont.C (LyXFont): use initialization list for all
12897         constructors
12898         (shape): move to lyxfont.h as inline
12899         (emph): move to lyxfont.h as inline
12900
12901
12902 2001-04-04  Juergen Vigna  <jug@sad.it>
12903
12904         * vspace.C: had to include stdio.h for use of sscanf
12905
12906 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12907
12908         * BufferView.h:
12909         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12910         independent of xforms.
12911
12912 2001-04-02  Juergen Vigna  <jug@sad.it>
12913
12914         * spellchecker.C: fixed namespace placing!
12915
12916 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12917
12918         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12919         the LyXParagraph * is 0.
12920
12921 2001-03-29  Juergen Vigna  <jug@sad.it>
12922
12923         * vspace.C: added support for %, c%, p%, l%.
12924         (stringFromUnit): added helper function.
12925         (asLatexString): changed to give right results for the %-values.
12926
12927         * buffer.C: convert the widthp in a width%.
12928
12929 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12930
12931         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12932         figureForm.[Ch].
12933
12934         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12935         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12936
12937         * lyx_cb.[Ch]: see above.
12938
12939         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12940         form1.[Ch].
12941
12942         * form1.[Ch]:
12943         * lyx.[Ch]: replaced by figure_form.[Ch].
12944
12945         * lyx_gui.C:
12946         * lyx_gui_misc.C:
12947         * lyxfunc.C: changed headers associated with above changes.
12948
12949 2001-03-27  Juergen Vigna  <jug@sad.it>
12950
12951         * BufferView_pimpl.C: set the temporary cursor right!
12952
12953 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12954
12955         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12956
12957 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12958
12959         * LString.h: removed "using std::getline"!
12960
12961         * BufferView_pimpl.C (Dispatch): changes due to changes in
12962         InsetInclude::Params.
12963
12964         * buffer.C (tag_name): removed redundant break statements as they were
12965         producing lots of warnings with my compiler.
12966
12967 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12968
12969         * LString.h: add "using std::getline" when using the real <string>.
12970
12971 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12972
12973         * buffer.C: removed bitset usage.
12974         PAR_TAG moved to an anonymous name space.
12975         (tag_name): new funtion, also in the anonymous namespace.
12976         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12977         (makeDocBookFile): clean code. Completed transition from string arrays
12978         to string vectors.
12979         (SimpleDocBookOnePar): code clean.
12980
12981 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12982
12983         * tabular.C: add some comments.
12984
12985 2001-03-22  Juergen Vigna  <jug@sad.it>
12986
12987         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12988         compatibility read a bit and fixed bug with minipage in different
12989         depth.
12990
12991 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12992
12993         * buffer.C (pop_tag): removed.
12994         (push_tag): removed.
12995         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12996         array replaced with vector. Added support for CDATA sections.
12997         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12998         at any nest level.
12999         (makeDocBookFile): XML conformant declaration of CDATA section,
13000         fixed bug related to <emphasis> in the first paragraph char.
13001         (sgmlOpenTag): exclude empty tags.
13002         (sgmlCloseTag): ditto.
13003
13004         * buffer.h (pop_tag): removed.
13005         (push_tag): removed.
13006
13007 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13008
13009         * language.h (Languages): added size_type and size().
13010
13011 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13012
13013         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13014         response on compability reading of minipages. One probliem is that
13015         the old usage of minipages was «flertydig»
13016
13017         * several files here and in subdirs: don't use static at file
13018         scope use anon namespaces instead.
13019
13020 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13021
13022         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13023         LaTeX output. This is necessary for Literate document
13024         processing.
13025
13026 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13027
13028         * buffer.C: insert hfill when needed.
13029
13030         * tabular.C (l_getline): use string::erase, small whitespace change.
13031
13032         * BufferView_pimpl.C: try the anon namespace.
13033         * WorkArea.C: ditto
13034
13035 2001-03-16  Juergen Vigna  <jug@sad.it>
13036
13037         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13038         otherwise it won't open options-dialogs.
13039
13040         * buffer.C: honor pextraWidth(p) on converting minipages.
13041
13042         * tabular.C (l_getline): changed the functions to strip trailing \r.
13043
13044 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13045
13046         * BufferView_pimpl.C:
13047         * minibuffer..C: added "using SigC::slot" declaration.
13048
13049 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13050
13051         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13052
13053         * text2.C: ditto
13054
13055         * text.C: ditto
13056
13057         * paragraph.C: ditto
13058
13059         * lyxtext.h: NO_PEXTRA
13060
13061         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13062
13063         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13064         * ParameterStruct.h: ditto
13065         * ParagraphParameters.h: ditto
13066         * lyxparagraph.h: ditto
13067
13068 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13069
13070         * buffer.C: add compability for minipage alignment.
13071         (latexParagraphs): remove unwanted pextra check.
13072
13073         * several files: remove CXX_WORKING_NAMESPACES
13074
13075         * buffer.C (pop_tag): tie is in namespace boost
13076
13077         * BufferView.h: noncopyable is in namespace boost
13078         * lyxlex.h: ditto
13079         * lyx_main.h: ditto
13080         * lyx_gui.h: ditto
13081         * layout.h: ditto
13082         * lastfiles.h: ditto
13083         * bufferlist.h: ditto
13084         * ShareContainer.h: ditto
13085         * LyXView.h: ditto
13086         * LyXAction.h: ditto
13087         * LaTeX.h: ditto
13088
13089 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13090
13091         * Merging changes from BRANCH_MVC back into HEAD.
13092
13093         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13094
13095 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * BufferView_pimpl.C: change from intl.C
13098
13099         * combox.h:
13100         * combox.C:
13101         * Makefile.am: move combox.*
13102
13103         * form1.h:
13104         * form1.C:
13105         * lyx_gui.C:
13106         * intl.h:
13107         * intl.C: remove dialog (covered by prefs)
13108
13109 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13110
13111         * lyxfunc.C (Dispatch): removed redundant break statement.
13112
13113 2001-03-14  Juergen Vigna  <jug@sad.it>
13114
13115         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13116
13117 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13118
13119         * buffer.C: add hack to fix compability reading of minipages.
13120
13121 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13122
13123         * buffer.C (getLists): Cleanup.
13124
13125 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13126
13127         * lyxfont.C (update): don't honor toggleall on font size.
13128
13129 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * bmtable.c:
13132         * bmtable.h:
13133         * Makefile.am: moved to frontends/xforms/
13134
13135         * lyx_gui_misc.C:
13136         * lyxfunc.C:
13137         * BufferView_pimpl.C: changes for moved mathpanel
13138
13139 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13140
13141         * gettext.h: fix gettext_init() in --disable-nls
13142
13143 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13146
13147 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * lyx.C:
13150         * lyx.h: strip external form
13151
13152 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13153
13154         * BufferView_pimpl.C: add comment, destroySplash()
13155
13156 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * BufferView_pimpl.C:
13159         * LyXAction.C:
13160         * buffer.C:
13161         * commandtags.h:
13162         * lyxfunc.C: use re-worked insetinclude
13163
13164 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13165
13166         * buffer.C: add using std::stringstream.
13167
13168         * lyx_cb.C: readd using std::ios.
13169
13170         * buffer.C: add using std::map.
13171
13172         * BufferView_pimpl.C: add using std::vector.
13173
13174         * ShareContainer.h: add std:: to swap.
13175
13176         * buffer.h: add some typedefs
13177         * buffer.C (getLists): use them
13178         (getLists): renamed from getTocList.
13179         add a counter for the different float types and use it in the
13180         generated string.
13181         (getLists): use the same counter for the NEW_INSETS and the "non"
13182         NEW_INSETS
13183
13184         * lyx_cb.h: remove unused items, includes, using etc.
13185
13186         * ShareContainer.h: remove some commented code, add more comments
13187         and "documentation".
13188
13189 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13190
13191         * buffer.C (getTocList): make the list also when NEW_INSETS is
13192         defined.
13193
13194         * buffer.h: remove TocType
13195
13196         * buffer.C (getTocList): change to return a map<string,
13197         vector<TocItem> >, implement for dynamic number of list.
13198
13199         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13200         * text2.C (PasteSelection): adjust
13201         * CutAndPaste.C (pasteSelection): adjust
13202
13203         * FloatList.C (FloatList): update from the new_insets branch.
13204         * Floating.[Ch]: ditto
13205         * LaTeXFeatures.C: ditto
13206         * buffer.C: ditto
13207         * lyxlex_pimpl.C: ditto
13208
13209         * paragraph.C (Last): remove when NEW_INSETS is defined.
13210
13211         * other file: changes because of the above.
13212
13213 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13214
13215         * lyxparagraph.h: rename next to next_, previous to previous_,
13216         make them private for NEW_INSETS. Rename Next() to next(),
13217         Previous() to previous().
13218
13219         * other files: changes because of the above.
13220
13221 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13222
13223         * BufferView.h:
13224         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13225         problem.
13226
13227 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * main.C (main): pass lyx_localedir to gettext_init().
13230
13231         * gettext.h: remove locale_init and gettext_init macros
13232
13233         * gettext.C (locale_init): new function
13234         (gettext_init): new function
13235
13236         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13237         setlocale().
13238
13239 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13240
13241         * Moved credits to frontends:
13242         * credits.[Ch]: removed
13243         * credits_form.[Ch]: removed
13244         * lyx_gui_misc.C: remove credits stuff
13245         * Makefile.am:
13246
13247 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13248
13249         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13250
13251         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13252         unneeded destructor.
13253
13254         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13255         a standalone pointer again.
13256
13257         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13258
13259 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * Makefile.am:
13262         * filedlg.h:
13263         * filedlg.C:
13264         * LyXAction.C:
13265         * ToolbarDefaults.C:
13266         * bufferlist.C:
13267         * commandtags.h:
13268         * form1.C:
13269         * form1.h:
13270         * lyx_cb.C:
13271         * lyx_cb.h:
13272         * lyxfunc.h:
13273         * lyxfunc.C:
13274         * BufferView_pimpl.C: use new file dialog in GUII
13275
13276         * lyx_cb.h:
13277         * lyx_cb.C: remove LayoutsCB to Toolbar
13278
13279 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13280
13281         * ShareContainer.h (get): add std:: qualifier
13282
13283 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13284
13285         * ShareContainer.h: define a proper ShareContainer::value_type
13286         type (and use typename to please compaq cxx)
13287
13288 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13289
13290         * lyxparagraph.h: move serveral local vars to
13291         ParameterStruct/ParagraphParameters., use ShareContainer in
13292         FontTable., make vars in FontTable private and add getter and
13293         setter.
13294
13295         * paragraph.C: changes because of the above.
13296
13297         * lyxfont.h: remove copy constructor and copy assignment. (the
13298         default ones is ok), move number inside FontBits. move inlines to
13299         lyxfont.C
13300
13301         * lyxfont.C: add number to initializaton of statics, move several
13302         inlines here. constify several local vars. some whitespace
13303         cleanup. Dont hide outerscope variables.
13304
13305         * Spacing.h: add two new constructors to match the set methods.
13306
13307         * ShareContainer.h: new file, will perhaps be moved to support
13308
13309         * ParameterStruct.h: new file
13310
13311         * ParagraphParameters.h: new file
13312
13313         * ParagraphParameters.C: new file
13314
13315         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13316         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13317
13318         * BufferView_pimpl.C: ParagraphParameter changes.
13319         * buffer.C: Likewise.
13320         * bufferview_funcs.C: Likewise.
13321         * text.C: Likewise.
13322         * text2.C: Likewise.
13323
13324 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * lyxfind.C (LyXReplace): do not redefine default argument in
13327         implementation.
13328         (IsStringInText): ditto
13329         (SearchForward): ditto
13330         (SearchBackward): ditto
13331
13332 2001-03-06  Juergen Vigna  <jug@sad.it>
13333
13334         * lyxfind.C (IsStringInText): put parentes around expressions.
13335
13336 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13337
13338         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13339
13340 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13343
13344         * stl_string_fwd.h: add comment
13345
13346         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13347
13348         * tabular.h:
13349         * tabular.C: remove unused DocBook methods
13350
13351         * intl.C:
13352         * language.C:
13353         * paragraph.C:
13354         * buffer.C:
13355         killed DO_USE_DEFAULT_LANGUAGE
13356
13357 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * lyx_gui.C: do not include language.h.
13360
13361         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13362         arguments in function implementation.
13363
13364 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13365
13366         * BufferView_pimpl.C: add <ctime>
13367
13368 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13369
13370         * BufferView_pimpl.C: add using std::find_if
13371
13372 2001-02-27  José Matos  <jamatos@fep.up.pt>
13373
13374         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13375         by OnlyPath.
13376
13377 2001-02-11  José Matos  <jamatos@fep.up.pt>
13378
13379         * buffer.C (makeDocBookFile): command styles now have a parameter as
13380         "title" by default.
13381
13382 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13383
13384         * layout_forms.[Ch]: removed
13385         * lyx_cb.[Ch]: out character
13386         * lyx_gui.C: out character
13387         * lyx_gui_misc.C: out character
13388         * bufferview_funcs.C: : out character,
13389         added toggleall as parameter in ToggleAndShow
13390
13391 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13392
13393         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13394
13395         * text2.C (SetCurrentFont): Disable number property at boundary.
13396
13397 2001-02-26  Juergen Vigna  <jug@sad.it>
13398
13399         * lyxfunc.C (getStatus): added a string argument override function so
13400         that this is correctly called from LyXFunc::Dispatch if it contains a
13401         do_not_use_argument which is used!
13402         (Dispatch): added check for "custom" export and call appropriate func.
13403
13404 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13405
13406         * lyxrc.C: Add language_command_local, language_use_babel and
13407         language_global_options.
13408
13409         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13410
13411         * buffer.C (makeLaTeXFile): Use language_use_babel and
13412         language_global_options.
13413
13414 2001-02-23  Juergen Vigna  <jug@sad.it>
13415
13416         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13417         which works with LyXText and putted it inside BufferView. Here now we
13418         only call for that part the BufferView::Dispatch() function.
13419
13420         * BufferView.C (Dispatch): added.
13421
13422         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13423         functions which needs to use a LyXText over from LyXFunc.
13424         (MenuInsertLyXFile): added
13425         (getInsetByCode): added
13426         (moveCursorUpdate): added
13427         (static TEXT): added
13428
13429 2001-02-22  Juergen Vigna  <jug@sad.it>
13430
13431         * BufferView_pimpl.C (update): call a status update to see if LyXText
13432         needs it.
13433
13434 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13435
13436         * vc-backend.C (revert): implement for CVS
13437         (getLog): implement for CVS
13438
13439 2001-02-20  Juergen Vigna  <jug@sad.it>
13440
13441         * text2.C (ClearSelection): added BufferView param for inset_owner call
13442
13443         * lyxfunc.C (TEXT): added this function and use it instead of
13444         directly owner->view()-text of getLyXText().
13445
13446 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13447
13448         * src/layout_forms.C: out preamble
13449         * src/layout_forms.h: out preamble
13450         * src/lyx_cb.C: out preamble
13451         * src/lyx_cb.h: out preamble
13452         * src/lyx_gui.C: out preamble
13453         * src/lyx_gui_misc.C: out preamble
13454         * src/lyxfunc.C: connect with guii preamble
13455
13456 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13459
13460 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13461
13462         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13463         whether to run bibtex.
13464
13465 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13468
13469 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13470
13471         * Makefile.am (lyx_SOURCES): removed bibforms.h
13472
13473         * vspace.h: doxygen
13474
13475         * text.C (GetVisibleRow): make several local vars const
13476
13477         * tabular.C: small cleanup.
13478
13479         * lyxserver.C (callback): use compare instead of strncmp
13480
13481         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13482         inlines to after class or to paragraph.C
13483
13484         * lyxfont.h: remove friend operator!=
13485
13486         * converter.h: move friend bool operator< to non friend and after
13487         class def.
13488
13489         * combox.h: small cleanup
13490
13491         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13492         to inlines after class def.
13493
13494         * buffer.C (pop_tag): use string operations instead of strcmp
13495
13496         * bmtable.c: doxygen, small cleanup
13497
13498         * LaTeX.h: remove friend operator==
13499
13500 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13501
13502         * screen.C:
13503         * lyxrc.[Ch]:
13504         * lyxfunc.C:
13505         * lyxfont.[Ch]:
13506         * lyx_cb.C:
13507         * intl.[Ch]:
13508         * commandtags.h:
13509         * buffer.C:
13510         * WorkArea.[Ch]:
13511         * LyXAction.C:
13512         * BufferView_pimpl.C:
13513         * BufferView.[Ch]: remove cruft
13514
13515 2001-02-14  Juergen Vigna  <jug@sad.it>
13516
13517         * lyxfunc.C: removed #if 0 unused code
13518
13519         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13520
13521         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13522
13523         * text2.C (SetSelection): added a BufferView * parameter
13524
13525 2001-02-13  Juergen Vigna  <jug@sad.it>
13526
13527         * lyxfunc.C (Dispatch): fixed protected blank problem.
13528         * BufferView2.C (protectedBlank): added LyxText * parameter.
13529
13530         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13531         (AppendColumn): same as above for column_info.
13532
13533         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13534         (moveCursorUpdate): use a LyXText param for support of InsetText.
13535
13536         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13537         (tripleClick): ditto
13538
13539         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13540
13541         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13542
13543         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13544
13545         * text2.C (SetSelection): set correct update status if inset_owner
13546         (ToggleFree): ditto
13547
13548 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13549
13550         * tabular.C: remove some commented code.
13551
13552 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13553
13554         * BufferView_pimpl.C: call hideSplash()
13555
13556         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13557
13558         * include_form.h:
13559         * bibforms.h: remove
13560
13561         * lyxfunc.C:
13562         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13563           add LFUN_CHILD_CREATE
13564
13565         * counters.h: fix tiny typo
13566
13567         * lyx_cb.C:
13568         * lyx.h:
13569         * lyx_gui.C:
13570         * lyx.C: move splash to frontends/xforms/
13571
13572         * lyx_gui_misc.C: move Include and Bibform to frontends
13573
13574         * lyxvc.h: clarify comment
13575
13576         * vspace.C: tiny housekeeping
13577
13578 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13579
13580         * text.C (PrepareToPrint): RTL Fix.
13581
13582         * paragraph.C (GetUChar): New method.
13583         (String):  Use GetUChar.
13584
13585         * buffer.C (asciiParagraph): Use GetUChar.
13586
13587 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13588
13589         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13590
13591 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13592
13593         * buffer.h:
13594         * buffer.C: rename to getLogName(), handle
13595           build log / latex log nicely
13596
13597 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13598
13599         * MenuBackend.C:
13600         * MenuBackend.h: remove support for reference menuitem type.
13601
13602 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13603
13604         * BufferView_pimpl.C: housekeeping
13605         * BufferView_pimpl.h:
13606         * LyXView.h:
13607         * Makefile.am:
13608         * Timeout.C:
13609         * Timeout.h:
13610         * minibuffer.h: move Timeout GUI-I
13611
13612 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13613
13614         * lyxrc.C (read): Update converters data-structures.
13615
13616 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13617
13618         * LaTeX.h (operator!=): add operator != for Aux_Info
13619
13620 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13621
13622         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13623
13624         * LaTeXLog.C: deleted, useful code moved to Buffer
13625
13626         * buffer.h:
13627         * buffer.C: new function getLatexLogName()
13628
13629         * lyx_gui_misc.C:
13630         * lyx_gui.C:
13631         * lyxvc.C:
13632         * lyxvc.h:
13633         * lyxfunc.C: use frontends for LaTeX and VC logs
13634
13635 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * LaTeX.h: yet another std:: that Allan forgot.
13638
13639         * Variables.C (set): renamed from isset(), because this clashes
13640         with some HP-UX macros (grr).
13641
13642 2001-02-06  Allan Rae  <rae@lyx.org>
13643
13644         * LaTeX.h: Another bug fix.  Missing std:: this time.
13645
13646 2001-02-04  Allan Rae  <rae@lyx.org>
13647
13648         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13649         floats problem. I've left it commented out because it's not quite
13650         correct.  It should also test that the current object is a table or
13651         figure inset.  But I haven't gotten around to figuring out how to do
13652         that.  I *think* it'll be something like: "table" == inset.type()
13653
13654         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13655         bool.
13656
13657 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13658
13659         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13660         all the citation/databases/styles in the auxilary file.
13661         (run): Rerun latex if there was a babel language error.
13662
13663 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13664
13665         * text.C (Backspace): Preserve the font when changing newline char
13666         with a space.
13667         (BreakParagraph): If the cursor is before a space, delete the space.
13668
13669         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13670
13671 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13672
13673         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13674         new argument (code).
13675         (ChangeCitationsIfUnique): New method.
13676
13677         * paragraph.C (GetPositionOfInset): Handle bibkey.
13678
13679 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13680
13681         * BufferView_pimpl.h: change type of Position::par_pos to
13682         LyXParagraph::size_type.
13683
13684 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13685
13686         * BufferView_pimpl.C (savePosition, restorePosition): Write
13687         messages to minibuffer.
13688
13689 2001-01-28  José Matos  <jamatos@fep.up.pt>
13690
13691         * buffer.C (makeDocBookFile): adds support for document language.
13692         A silly restriction on the name of LatexCommand types where removed.
13693         Added support for CDATA sections, allows to chars unescaped, used
13694         among others in code, to avoid escape < and >.
13695
13696 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13697
13698         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13699         saved positions instrad of a stack. Furthermore, a position is
13700         stored using paragraph id/paragraph position.
13701
13702         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13703         Remove LFUN_REF_BACK.
13704
13705 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13706
13707         * converter.C (dvipdfm_options): New method.
13708
13709 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * vspace.C (isValidLength): Fix for empty input string.
13712
13713 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13714
13715         * LyXAction.C (init): change description of LFUN_FIGURE to
13716         "Insert Graphics"
13717
13718 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * LaTeX.C: add using directive
13721
13722 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13723
13724         * MenuBackend.C (expand): Fix the sorting of the formats.
13725
13726 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13727
13728         * lyx_main.C: tiny error message fix
13729
13730 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13731
13732         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13733         calling fl_initialize(). This fixes the problem with ',' as
13734         decimal separator in text files.
13735
13736 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13737
13738         * trans.C (process): Fix the keymap bug.
13739
13740 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13741
13742         * LaTeX.C (scanAuxFiles): New method. Provides support for
13743         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13744         (scanLogFile) Scan for "run BibTeX" messages.
13745
13746         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13747         OT1 font encoding. Also, load the aecompl package if the ae
13748         package is loaded.
13749
13750         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13751
13752 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13753
13754         * texrow.C (increasePos): turn two error messages into debug
13755         messages.
13756
13757 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13758
13759         * LaTeX.C (scanAux): Handle the \@input macro.
13760         (runBibTeX): Use scanAux().
13761
13762         * language.C (latex_options_): New field.
13763
13764         * LaTeXFeatures.C (getMacros): Add language macros.
13765
13766         * buffer.C (makeLaTeXFile): Small fix.
13767
13768 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13769
13770         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13771
13772         * text2.C: add a using directive.
13773
13774 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13775
13776         * BufferView2.C:
13777         * lyx_gui_misc.h:
13778         * lyxfr1.C:
13779         * lyxfunc.C: kill LyXBell.
13780
13781 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13782
13783         * text.C (IsBoundary): Remove the error message
13784
13785         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13786
13787         * lyxrc.C (setDefaults): Correct initialization value for
13788         font_norm_type.
13789
13790 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13791
13792         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13793         gotoError().
13794
13795         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13796         and GotoNextNote().
13797
13798         * src/LyXAction.C: Added reference-next.
13799
13800         * text.C (InsertChar): Use contains instead of strchr.
13801
13802         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13803
13804 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13805
13806         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13807         alignment commands (when needed).
13808
13809         * text.C (InsertChar): Add ':' to number separator chars.