]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
New LColor::setColor
[lyx.git] / src / ChangeLog
1 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2             Martin Vermeer  <martin.vermeer@hut.fi>
3
4         * lyxfunc.C (dispatch): 
5         * bufferparams.C (readToken): use the new LColor::setColor 
6
7         * LColor.[Ch] (setColor): new version that takes two strings as
8         argument and creates a new color entry if necessary
9
10 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11
12         * buffer.C (makeLaTeXFile): if the main latex file that is
13         processed is usually a subdocument of some master, then pretend
14         for a while that it is actually the master
15
16 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
17
18         * buffer.C (getLabelList):
19         (getBibkeyList): use getMasterBuffer()
20         (getMasterBuffer): new method. Returns the main document in the
21         case where one is using included documents.
22
23 2004-03-25  André Pönitz  <poenitz@gmx.net>
24
25         * Makefile.am:
26         * iterators.[Ch]:
27         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
28
29         * ParagraphList_fwd.h: change ParagraphList to a std::vector
30
31         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
32         text*.C over here. Rename namespace CutAndPaste to lyx::cap
33
34         * ParameterStruct.h: merge with ParagraphParameters
35
36         * lyxtext.h: remove LyXText::parOffset() and getPar()
37
38         * text3.C: Remove all 'manual' update calls. We do now one per user
39         interaction which is completely sufficient.
40
41         * Bidi.C:
42         * BufferView.[Ch]:
43         * BufferView_pimpl.C:
44         * FontIterator.[Ch]:
45         * MenuBackend.C:
46         * ParagraphParameters.[Ch]:
47         * buffer.C:
48         * buffer.h:
49         * bufferlist.C:
50         * cursor.[Ch]:
51         * cursor_slice.[Ch]:
52         * dociterator.[Ch]:
53         * errorlist.[Ch]:
54         * factory.C:
55         * lfuns.h:
56         * lyxfind.C:
57         * lyxfunc.C:
58         * output_docbook.[Ch]:
59         * output_latex.[Ch]:
60         * output_linuxdoc.[Ch]:
61         * output_plaintext.[Ch]:
62         * paragraph.[Ch]:
63         * paragraph_funcs.[Ch]:
64         * paragraph_pimpl.[Ch]:
65         * rowpainter.C:
66         * tabular.[Ch]:
67         * text.C:
68         * text2.C:
69         * toc.C:
70         * undo.[Ch]: adjust
71
72         * frontends/controllers/ControlDocument.C:
73         * frontends/controllers/ControlErrorList.C:
74         * frontends/controllers/ControlSpellchecker.C:
75         * insets/inset.C:
76         * insets/inset.h:
77         * insets/insetbase.h:
78         * insets/insetbibitem.C:
79         * insets/insetbox.C:
80         * insets/insetbranch.C:
81         * insets/insetcaption.C:
82         * insets/insetcharstyle.C:
83         * insets/insetcharstyle.h:
84         * insets/insetcollapsable.C:
85         * insets/insetcollapsable.h:
86         * insets/insetert.C:
87         * insets/insetfloat.C:
88         * insets/insetfoot.C:
89         * insets/insetmarginal.C:
90         * insets/insetnote.C:
91         * insets/insetoptarg.C:
92         * insets/insettabular.C:
93         * insets/insettext.C:
94         * insets/insettext.h:
95         * insets/insetwrap.C:
96         * mathed/math_mboxinset.C:
97         * mathed/math_nestinset.C:
98         * mathed/math_scriptinset.C:
99         * mathed/math_scriptinset.h:
100         * support/types.h:
101
102 2004-03-24  Angus Leeming  <leeming@lyx.org>
103
104         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
105         deal with any child processes that have finished but are waiting to
106         communicate this fact to the rest of LyX.
107
108 2004-03-24  Angus Leeming  <leeming@lyx.org>
109
110         64-bit compile fixes.
111
112         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
113         (c-tor): pass lyx::pos_types rather than ints.
114
115         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
116         lyx::pos_type.
117
118         * text.C (Delete): compile fix.
119         (getPar): ensure that function declaration is the same as that in
120         the header file.
121
122 2004-03-23  Angus Leeming  <leeming@lyx.org>
123
124         * ispell.C (LaunchIspell):
125         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
126         a boost::shred_ptr rather than a std::auto_ptr.
127
128 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * lyxfunc.C (getStatus): handle read-only buffers correctly;
131         handle LFUN_FILE_INSERT_*
132
133         * lyxrc.C (setDefaults, getDescription, output, read):
134         * lyxrc.h: remove ps_command
135
136 2004-03-22  Angus Leeming  <leeming@lyx.org>
137
138         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
139         Ensure that error_handler is processed once only and that all data
140         is saved before attempting to output any warning messages.
141
142         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
143
144 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
145
146         * tabular.C (TeXRow): crash fix (from Kayvan and André)
147
148 2004-03-19  André Pönitz  <poenitz@gmx.net>
149
150         * cursor.[Ch] (reset): take main text inset as argument
151
152         * BufferView: adjust
153         * BufferView_pimpl.C: adjust
154
155         * paragraph.[Ch]: fix completely broken operator=()
156
157 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * LColor.C (getFromLyXName): make sure that the color name is used
160         as lowercase.
161
162 2004-03-17  Angus Leeming  <leeming@lyx.org>
163
164         * lfuns.h:
165         * LyXAction.C (init): remove LFUN_FORKS_KILL.
166
167         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
168         dialog and to kill a forked process.
169
170 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
171
172         * text2.C (setCursorFromCoordinates): fix font problem
173
174 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
175
176         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
177         bogus "rebuild cursor" code
178
179 2004-03-11  André Pönitz  <poenitz@gmx.net>
180
181         * buffer.[Ch]: use InsetText instead of LyXText as container for
182         the main lyx text.
183
184         * dociterator.[Ch]: drop the BufferView * member which is not needed
185         anymore after the change to buffer.C
186
187         * paragraph_funcs.C:
188         * text.C:
189         * text2.C:
190         * BufferView.[Ch]:
191         * BufferView_pimpl.[Ch]:
192         * cursor.[Ch]:
193         * cursor_slice.[Ch]: adjust
194
195         * text3.C: fix bug in mathDispatch
196
197 2004-03-08  André Pönitz  <poenitz@gmx.net>
198
199         * undo.[Ch]: use 'StableDocumentIterator' as base for
200         the Undo struct.
201
202 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
203
204         * LaTeXFeatures.C:
205         * bufferparams.[Ch]: add jurabib support and param.
206
207         * LaTeX.C: add FIXME/comment.
208
209 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * buffer.C: increment file format to 230.
212
213 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
214
215         * cursor.C (dispatch): avoid infinite loops
216
217 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
218
219         * rowpainter.C (paintSelection): fix x coordinates
220
221 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
222
223         * text.C (rowBreakPoint): fix breaking before displayed insets
224
225 2004-03-01  André Pönitz  <poenitz@gmx.net>
226
227         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
228
229         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
230
231         * Makefile.am:
232         * BufferView.C:
233         * BufferView_pimpl.C:
234         * buffer.C:
235         * lyxfind.C:
236         * lyxfunc.C:
237         * text.C:
238         * text2.C:
239         * text3.C: adjust
240
241 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
242
243         * lyxtext.h:
244         * text.C:
245         * text2.C:
246         * rowpainter.C:
247         * BufferView_pimpl.C: rename textwidth -> maxwidth,
248         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
249
250 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
251
252         * Bidi.[Ch] (computeTables): const correctness
253         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
254         fill_hfill, fill_label_hfill and x from Row
255         * lyxtext.h: prepareToPrint returns a RowMetrics
256         * rowPainter.C: adjust
257         * text.C (prepareToPrint): use width, not textWidth. adjust
258         (redoParagraphInternal, cursorX): adjust
259         * text2.C (getColumnNearX): adjust
260         (init): put a default value to the top LyXText::width
261
262 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
263
264         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
265
266 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
267
268         * lyxtext.h: add FontIterator class
269
270         * text.C (FontIterator, operator*, operator->, operator++): add
271         (rowBreakPoint, setRowWidth): adjust (fixing a
272         rebreaking bug)
273
274 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * BufferView_pimpl.C (workAreaDispatch): allow also
277         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
278
279 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * text.C (rowBreakPoint): fix a bug showing with very large insets
282
283 2004-02-25  André Pönitz  <poenitz@gmx.net>
284
285         * text3.C:
286         * cursor.[Ch]: move some mathed specific code to mathed
287
288 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
289
290         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
291         use_tempdir in preferences
292         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
293         tempfile creation
294         * lyx_main.C: ensure that tempdir is valid
295         * lyxlex.h: correct typo
296         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
297         * paragraph.[Ch] (isMultiLingual): make const
298         * cursor.[Ch] (openable): make const
299
300 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
301
302         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
303
304 2004-02-20  André Pönitz  <poenitz@gmx.net>
305
306         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
307
308         * cursor.[Ch]: prepare for localized getStatus()
309
310         * lyxtext.h:
311         * tabular.C:
312         * text.C:
313         * text2.C:
314         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
315
316 2004-02-20  André Pönitz  <poenitz@gmx.net>
317
318         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
319
320 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
321
322         * text2.C (setCursorFromCoordinates): switch to absolute coords
323         (cursorUp): adjust
324         (cursorDown): adjust
325         * text3.C (dispatch): adjust
326
327 2004-02-16  André Pönitz  <poenitz@gmx.net>
328
329         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
330           insets/ChangeLog)
331
332         * cursor_slice.[Ch]: remove unneeded acessor function
333
334         * lyxtext.h: rename rtl() to isRTL()
335
336         * rowpainter.C:
337         * tabular.C:
338         * text.C:
339         * text2.C:
340         * text3.C: adjust
341
342 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
343
344         * rowpainter.C (paintSelection): coord fix
345
346 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
347
348         * Spacing.C: compile fix
349
350 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
351
352         * cursor.C (dispatch): restore current_ before returning
353
354 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
355
356         * text2.C (cursorUp, cursorDown): fix coords
357         (moveUp): fix crash
358
359 2004-02-12  André Pönitz  <poenitz@gmx.net>
360
361         * lyxtext.h:
362         * text.C:
363         * text2.C:
364         * text3.C: add LCursor & parameter to most cursor movement functions
365           remove usage of LyXText::cursorRow() and cursorPar()
366
367         * cursor.[Ch]: add textRow() needed members
368
369         * BufferView.C:
370         * BufferView_pimpl.C:
371         * paragraph.[Ch]:
372         * BufferView.C:
373         * BufferView_pimpl.C: adjust
374
375 2004-02-11  André Pönitz  <poenitz@gmx.net>
376
377         * lyxfunc.C:
378         * BufferView.[Ch]:
379         * BufferView_pimpl.C: shift undo/redo handling
380
381         * cursor.[Ch]: fix mathed crash
382
383         * lyxfind.C:
384         * lyxtext.h: move selectionAsText to LCursor
385
386         * output_latex.C:
387         * paragraph.C:
388         * text.C:
389         * text2.C:
390         * text3.C: adjust
391
392         * rowpainter.C: fix excessive drawing
393
394 2004-02-06  André Pönitz  <poenitz@gmx.net>
395
396         * BufferView.[Ch]:
397         * BufferView_pimpl.[Ch]:
398         * text3.C: move some text specific LFUN handling
399
400 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
401
402         * text3.C (checkInsetHit): adjust coords
403         * text2.C (getColumnNearX): adjust coords
404         (edit): adjust coords
405         * text.C (getRowNearY): add two asserts
406
407 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
408
409         * converter.C:
410         * format.C: add using std::distance to compile on gcc 2.95/stlport
411
412 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
413
414         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
415
416 2004-02-04  André Pönitz  <poenitz@gmx.net>
417
418         * BufferView.[Ch] (insertInset):
419         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
420
421         * text2.C:
422         * text3.C: adjust
423
424 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
425
426         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
427         on the default clause of the switch
428         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
429         wasn't catched by LCursor::dispatch
430
431 2004-02-03  André Pönitz  <poenitz@gmx.net>
432
433         * BufferView.C:
434         * cursor.[Ch]: some additional asserts
435
436         * undo.[Ch]: remove LyXText dependency in interface
437
438         * lyxfunc.C: adjust
439
440         * lyxtext.h (firstPar, lastPar): remove dead functions
441
442         * text.C:
443         * text2.C:
444         * text3.C:
445         * paragraph.[Ch]: adjust
446
447 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
448
449         * lyxfind.C (find): fix argument order in call to ::find
450
451 2004-02-02  André Pönitz  <poenitz@gmx.net>
452
453         * cursor.[Ch]: remove direct access to anchor
454
455         * text.C: remove findText() hack
456
457 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
458
459         * iterators.[Ch] (lockPath): remove in favour of...
460         * BufferView.[Ch] (setCursor): this addition
461         * BufferView.C (putSelectionAt): adjust
462         * undo.C (performUndoOrRedo): adjust
463         * lyxfunc.C (dispatch): adjust
464
465 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
466
467         * iterators.C (lockPath): add a missing slice
468         * undo.C (performUndoOrRedo): remove redundant positioning code
469
470 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
471
472         * vc-backend.C (scanMaster): ";" -> ';'
473
474 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
475
476         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
477         std::binary_function
478
479         * lyxtextclass.C (compare_name): rename to...
480         (LayoutNamesEqual): ...this
481
482         * lyxlex_pimpl.C (compare_tags): inherit from
483         std::binary_function, put back into anon namespace
484
485         * lyxfind.C (MatchString): inherig from std::binary_function
486         (findChange): use empty() istead of !size()
487
488         * format.C (FormatNamesEqual): new functor
489         (getFormat): use it
490         (getNumber): use it
491         (add): use it
492         (erase): use it
493         (setViewer): use it
494
495         * converter.C (compare_Converter): rename to...
496         (ConverterEqual): ...this, and fixup a bit.
497         (getConverter): use it, and make function const
498         (getNumber): use it, and make function const
499         (add): use it
500         (erase): use it:
501
502         * bufferlist.C: add using boost::bind
503
504         * MenuBackend.C (MenuNamesEqual): new functor
505         (hasMenu): use it, and make function const
506         (hasSubmenu): use nested bind to get rid of compare_memfun.
507
508 2004-01-30  André Pönitz  <poenitz@gmx.net>
509
510         * BufferView_pimpl.C:
511         * cursor.C:
512         * cursor.h:
513         * cursor_slice.[Ch]:
514         * lyxfunc.C:
515         * lyxtext.h:
516         * paragraph_funcs.C:
517         * paragraph_funcs.h:
518         * rowpainter.C:
519         * text.C:
520         * text2.C:
521         * text3.C: move some of the edit(x,y) handling to the insets
522         some coordinate changes.
523
524 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
525
526         * text.C: add using statements for std::advance and std::distance
527
528         * paragraph.C: add using statement for std::distance
529
530         * lyxfind.C: add using statement for std::advance
531
532         * cursor.C (region): remove std:: from swap
533         (openable): use nucleus in stead of operator->
534
535         * BufferView.C: add using statements for std::distance and std::swap
536
537 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
538
539         * iterators.C: Remove the pimple, move the needed structures to
540         the header file. Create accessor for the positions stack.
541         (asPosIterator): remove function
542
543         * PosIterator.C (PosIterator): move constructors to top of file
544         (PosIterator): reimplement the constructor taking a ParIterator in
545         terms of setFrom.
546         (setFrom): new function
547         (operator!=): inline it
548
549 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
550
551         * lyxfind.C (replaceAll): use std::advance
552
553         * iterators.h: inherit from std::iterator.
554
555         * PosIterator.C (advance, distance): remove
556         * PosIterator.h: interit from std::iterator.
557
558 2004-01-26  André Pönitz  <poenitz@gmx.net>
559
560         * BufferView.[Ch]:
561         * BufferView_pimpl.[Ch]:
562         * InsetList.[Ch]:
563         * PosIterator.[Ch]:
564         * buffer.h:
565         * bufferview_funcs.C:
566         * cursor.[Ch]:
567         * cursor_slice.h:
568         * factory.[Ch]:
569         * iterators.[Ch]:
570         * lyxfind.C:
571         * lyxfunc.C:
572         * lyxtext.h:
573         * output_docbook.C:
574         * output_latex.C:
575         * output_linuxdoc.C:
576         * output_plaintext.C:
577         * paragraph.[Ch]:
578         * paragraph_funcs.[Ch]:
579         * paragraph_pimpl.[Ch]:
580         * rowpainter.C:
581         * tabular.C:
582         * tabular.h:
583         * text.C:
584         * text2.C:
585         * text3.C: more IU:  dumps most of the rest of the mathcursor
586     implementation into cursor.[Ch]; "globalize" a bit of it.
587
588 2004-01-25  Angus Leeming  <leeming@lyx.org>
589
590         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
591
592 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
593
594         * LaTeXFeatures.h: add nice_ and nice() const
595         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
596
597 2004-01-20  André Pönitz  <poenitz@gmx.net>
598
599         * BufferView.[Ch]:
600         * BufferView_pimpl.C:
601         * PosIterator.C:
602         * bufferview_funcs.C:
603         * cursor.[Ch]:
604         * cursor_slice.[Ch]:
605         * factory.C:
606         * iterators.C:
607         * lyx_cb.C:
608         * lyxfind.C:
609         * lyxfunc.C:
610         * lyxtext.h:
611         * rowpainter.C:
612         * text.C:
613         * text2.C:
614         * text3.C:
615         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
616           LCursor and mathcursor parts to LCursor and InsetBase.
617
618 2004-01-15  André Pönitz  <poenitz@gmx.net>
619
620         * cursor_slice.[Ch]: add a few covienience functions
621
622         * funcrequest.[Ch]: remove BufferView * member
623
624         * BufferView_pimpl.C:
625         * cursor.C:
626         * factory.[Ch]:
627         * lyxfind.[Ch]:
628         * lyxfunc.C:
629         * lyxtext.h:
630         * text3.C:
631         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
632
633 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
634
635         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
636         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
637
638 2004-01-13  André Pönitz  <poenitz@gmx.net>
639
640         * textcursor.[Ch]:
641         * lyxtext.h: hide cursor and selection anchor behind accessor function
642
643         * BufferView.C:
644         * BufferView_pimpl.[Ch]:
645         * PosIterator.C:
646         * bufferview_funcs.C:
647         * cursor.h:
648         * lyxfind.C:
649         * lyxfunc.C:
650         * text.C:
651         * text2.C:
652         * text3.C:
653         * undo.C: adjust
654
655         * cursor.h:
656         * cursor_slice.[Ch]: some integer type changes for inset unification
657
658         * lyxcursor.[hC]: remove, it's CursorSlice now.
659
660         * Makefile.am:
661         * BufferView_pimpl.[Ch]:
662         * bufferview_funcs.C:
663         * cursor_slice.C:
664         * lyxtext.h:
665         * text.C:
666         * text2.C:
667         * text3.C:
668         * textcursor.[Ch]: adjust
669
670 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
671
672         * text2.C (undoSpan): add and use
673         * text.C (breakParagraph): use undoSpan (fix bug 578)
674         * lyxtext.h: adjust
675
676 2004-01-08  Angus Leeming  <leeming@lyx.org>
677
678         * BufferView_pimpl.C (MenuInsertLyXFile):
679         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
680         * lyxfunc.C (menuNew, open, doImport):
681         FileFilterList change to the FileDialog open and save functions.
682
683 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
684
685         * ShareContainer.h: make isEqual and isUnique adaptable
686
687         * CutAndPaste.C: make resetOwnerAndChanges adaptable
688
689 2004-01-07  Angus Leeming  <leeming@lyx.org>
690
691         * LyXAction.C:
692         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
693
694         * BufferView_pimpl.C (dispatch): act on these LFUNs.
695
696         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
697         functions replacing find, replace and replaceAll.
698
699         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
700         LFUN_WORDFIND(FORWARD|BACKWARD).
701
702 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
703
704         * text.C (breakParagraph): remove an outdated #warning
705
706 2004-01-07  André Pönitz  <poenitz@gmx.net>
707
708         * lyxfind.C: somewhat clearer logic
709
710         * text.C: prevent crash in cursorX on unitialized row cache
711
712 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
713
714         * lyxcursor.[Ch] (operator>): add
715         * textcursor.C (selStart, selEnd): use std::min and std::max
716
717 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
718
719         * Chktex.C: include boost/format.hpp
720
721 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
722
723         * InsetList.C: replace functor MathcIt with adaptable functor
724         InsetTablePosLess
725         (insetIterator): modify accordingly
726
727         * BranchList.h: move the BranchNamesEqual functor here from...
728         * BranchList.C: ... to here
729
730         * BranchList.C: new BranchListEqual fuctor, use it. Remove
731         SameName and match.
732         (add): replace a finding loop with std::find_if.
733
734 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
735
736         * output_docbook.C: moving LatexParam functionality into
737         .layout files
738
739 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
740
741         * buffer.C: increment format to 229.
742
743 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
744
745         * LaTeXFeatures.C:
746         * lyx_sty.[Ch]: remove minipageindent_def
747
748         * LyXAction.C:
749         * factory.C:
750         * lfuns.h:
751         * lyxfunc.C:
752         * text3.C: remove LFUN_INSET_MINIPAGE
753
754 2003-12-28  Angus Leeming  <leeming@lyx.org>
755
756         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
757
758 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
759
760         * text2.C (setParagraph): fix off-by-one crash
761
762 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
763
764         * output_docbook.C: header stuff for AGU
765
766 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
767
768         * text2.C (redoCursor): remove
769         * text.C:
770         * text3.C:
771         * BufferView_pimpl.C: remove calls to redoCursor and
772         setCursor(cursor.par(), cursor.pos()) all around
773
774 2003-12-15  Angus Leeming  <leeming@lyx.org>
775
776         * buffer.C: up the format to 228.
777
778 2003-12-15  André Pönitz  <poenitz@gmx.net>
779
780         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
781         slices
782
783         * Makefile.am:
784
785         * BufferView_pimpl.C:
786         * cursor.[Ch]:
787         * lyxcursor.[Ch]:
788         * rowpainter.[Ch]:
789         * lyxtext.h:
790         * text.C:
791         * text2.C:
792         * text3.C: adjust
793
794 2003-12-15  Angus Leeming  <leeming@lyx.org>
795
796         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
797         than getFromGUIName to manipulate the color.
798
799 2003-12-14  Angus Leeming  <leeming@lyx.org>
800
801         * BranchList.[Ch]: minimize the API.
802         (Branch::getBranch, getColor): now return a 'const &'.
803         (Branch::setSelected) now returns a bool set to true if the
804         selection status changes.
805         (BranchList::clear, size, getColor, setColor, setSelected,
806         allBranches, allSelected, separator): removed.
807         (BranchList::find): new functions, returning the Branch with
808         the given name.
809         (BranchList::add, remove): return a bool indicating that
810         the operation was successful.
811
812         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
813         new InsetBranch::isBranchSlected member function.
814
815         * LColor.[Ch]: mimimize the API.
816         (fill): renamed as addColor and made private.
817         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
818         versions of these functions taking a string arg have been removed.
819
820         * bufferparams.C (readToken):
821         * lyxfunc.C (dispatch):
822         * lyxrc.C (read): changes due to the altered BranchList and
823         LColor APIs.
824
825         * factory.C (createInset, readInset): changes due to altered
826         InsetBranch c-tor.
827
828 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
829
830         * factory.C:
831         * lyxfunc.C: remove insetminipage. "minipage-insert"
832         now produces a frameless minipage box inset.
833
834 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
835
836         * textcursor.[Ch] (selStart,selEnd): add new methods
837         remove selection::start, end, use LyXCursor::operator<
838         * lyxcursor.[Ch] (operator<): add
839         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
840         * BufferView.[Ch] (unsetXSel): add
841         * text2.C (clearSelection): use unsetXSel,adjust
842         * text.C: adjust
843         * text3.C: adjust
844         * rowpainter.C: adjust
845         * bufferview_funcs.C (put_selection_at): adjust
846
847 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
848
849         * BufferView_pimpl.C: small coord. correction
850
851 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
852
853         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
854         dragging over the splash screen.
855
856 2003-12-11  Angus Leeming  <leeming@lyx.org>
857
858         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
859         as it is now handled in LyXText::dispatch.
860
861         * text3.C (doInsertInset): remove a level of nesting.
862
863 2003-12-11  Angus Leeming  <leeming@lyx.org>
864
865         * factory.C (createInset): changes due to the changed interface to
866         InsetCommandMailer::string2params.
867
868 2003-12-10  Angus Leeming  <leeming@lyx.org>
869
870         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
871         'dialog-show-new-inset <inset name>'
872
873 2003-12-10  Angus Leeming  <leeming@lyx.org>
874
875         * buffer.C: up the format to 227.
876
877         * factory.C: the box inset is now identified simply by 'Box'.
878
879 2003-12-10  Angus Leeming  <leeming@lyx.org>
880
881         * buffer.C: up the format to 226.
882
883         * factory.C: the note inset is now identified simply by 'Note'.
884
885 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
886
887         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
888         when a pit is enough. Standarize a couple of loops.
889
890 2003-12-05  Angus Leeming  <leeming@lyx.org>
891
892         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
893         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
894         data to the re-worked "log" dialog.
895
896 2003-12-03  André Pönitz  <poenitz@gmx.net>
897
898         * PosIterator.C:
899         * iterators.C:
900         * lyxtext.h:
901         * output_latex.C:
902         * paragraph_funcs.C:
903         * text.C:
904         * text2.C: use Inset::getText instead of Inset::getParagraph
905
906 2003-12-03  André Pönitz  <poenitz@gmx.net>
907
908         * buffer.[Ch]:
909         * lyxtext.h:
910         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
911         InsetText::read() as LyXText::read()
912
913 2003-12-02  Angus Leeming  <leeming@lyx.org>
914
915         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
916         type. Add a comment in the implementation that the function uses
917         the stream's bad() function rather than fail() as the std::streams
918         would do.
919
920 2003-12-02  André Pönitz  <poenitz@gmx.net>
921
922         * lyxlex.[Ch]: make interface more similar to std::stream
923
924         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
925
926 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
927
928         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
929
930 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
931
932         * vspace.[Ch]: remove VSpace::NONE
933
934 2003-12-01  André Pönitz  <poenitz@gmx.net>
935
936         * buffer.[Ch]:
937         * lyxtext.h: move ParagraphList member to LyXText
938         rename LyXText::ownerParagraphs to LyXText::paragraph
939
940         * CutAndPaste.C:
941         * bufferview_funcs.C:
942         * iterators.[Ch]:
943         * lyx_cb.C:
944         * paragraph.C:
945         * rowpainter.C:
946         * tabular.C:
947         * text.C:
948         * text2.C:
949         * text3.C: adjust
950
951         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
952
953         * undo.C: fix cursor positioning
954
955 2003-12-01  John Levon  <levon@movementarian.org>
956
957         * BufferView_pimpl.C: fix a crash on exit with
958         a buffer open
959
960 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
961
962         * BranchList.C: fix setSelected() method.
963
964 2003-11-28  André Pönitz  <poenitz@gmx.net>
965
966         * ParagraphParameters.[Ch]:
967         * ParameterStruct.h: remove space above/below from Paragraph to
968          InsetVSpace
969
970         * BufferView_pimpl.C:
971         * factory.C:
972         * lyxfunc.C:
973         * lyxtext.h:
974         * output_latex.C:
975         * paragraph.C:
976         * paragraph_funcs.C:
977         * rowpainter.[Ch]:
978         * text.C:
979         * text2.C:
980         * text3.C: adjust
981
982 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
983
984         * factory.C: Syntax change for CharStyles
985
986 2003-11-28  André Pönitz  <poenitz@gmx.net>
987
988         * BufferView.[Ch]:
989         * BufferView.[Ch]:
990         * buffer.[Ch]:
991         * buffer.[Ch]: move LyXText member
992
993 2003-11-28  André Pönitz  <poenitz@gmx.net>
994
995         * BufferView.[Ch]: make LyXText * text a private member
996
997         * BufferView_pimpl.C:
998         * cursor.C:
999         * iterators.C:
1000         * lyx_cb.C:
1001         * lyxfind.C:
1002         * lyxtext.h:
1003         * rowpainter.[Ch]:
1004         * text.C:
1005         * text2.C:
1006         * undo.C: adjust
1007
1008         * output_plaintext.C: cleanup
1009
1010 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1011
1012         * buffer.C:
1013         * lyxtextclass.[Ch]: parametrize SGML document header
1014
1015 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1016
1017         * converter.[Ch]:
1018         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1019         getFlavor().
1020
1021 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1022
1023         * text2.C (setFont): rework using PosIterator (no more recursive)
1024         (setCharFont): no more needed
1025         (setLayout): no more selection cursors fiddling (done by redoCursor)
1026         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1027         destroy remaining ones)
1028
1029 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1030
1031         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1032         * lyxtext.h: ditto
1033         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1034         selection cursors
1035         * lyxfunc.C: adjust
1036         * text3.C: adjust + re-allow multi par depth changes
1037         * textcursor.C: simplify a bit
1038
1039 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1040
1041         * src/buffer.C:
1042         * src/lyxlayout.C:
1043         * src/lyxlayout.h:
1044         * src/lyxtext.h:
1045         * src/output_docbook.C:
1046         * src/output_latex.C:
1047         * src/paragraph.C:
1048         * src/paragraph.h:
1049         * src/sgml.C:
1050         * src/sgml.h:
1051         * src/text2.C: Introducing a number of tags parametrizing various
1052         XML formats that we may want to support
1053
1054 2003-11-25  André Pönitz  <poenitz@gmx.net>
1055
1056         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1057
1058         * lyxtext.h (leftMargin/rightMargin): simplify interface
1059
1060         * rowpainter.C:
1061         * text.C:
1062         * text2.C:
1063         * text3.C: adjust
1064
1065 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1066
1067         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1068         master file to any child files. Fixes bug 546.
1069
1070 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1071
1072         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1073
1074 2003-11-24  André Pönitz  <poenitz@gmx.net>
1075
1076         * rowpainter.C: simplification
1077
1078         * text2.C (updateCounters): remove call to redoParagraph on
1079         changed labels as this is far too expensive.
1080
1081 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1082
1083         * converter.C (convert): fix a crash: this function gets
1084         called with buffer == 0 from importer code.
1085
1086 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1087
1088         * text3.C (cursorPrevious): make sure that we do not compare
1089         iterators form different containers.
1090         (cursorNext): ditto
1091
1092         * rowpainter.C (paintSelection): make sure that we do not compare
1093         iterators from different containers.
1094
1095         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1096         iterators from different ParagraphList containers.
1097         [NEXT] ditto
1098
1099         * text2.C (LyXText): change order of initialization slightly
1100         (operator=): new function. copy all variables except cache_par_
1101         (moveUp): make sure that we do not compare iterators from
1102         different ParagraphList constainers.
1103         (moveDown): ditto
1104
1105         * text.C (firstPar): new function
1106         (lastPar): new function
1107         (endPar): new function
1108
1109         * lyxtext.h: move things around and group public functions, public
1110         variables, private functions, private variables
1111
1112 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1113
1114         * factory.C: change call to InsetERT constructor to avoid
1115         additional invocation of method status
1116         * text2.C (toggleInset): remove redundant update() call
1117         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1118         instead of a Bufferview pointer
1119
1120 2003-11-21  André Pönitz  <poenitz@gmx.net>
1121
1122         * rowpainter.C: simplification
1123
1124 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1125
1126         * text3.C (dispatch): make possible to extend a word/row selection
1127         with the mouse
1128
1129 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1130
1131         * lyxtext.h: x0_,y0_ -> xo_,yo_
1132         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1133         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1134         * rowpainter.C (paintRows): paint full paragraphs
1135
1136 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1137
1138         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1139         screen coordinates)
1140
1141 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1142
1143         * lyxtext.h: add x0_, y0_
1144         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1145         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1146
1147 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1148
1149         * text2.C (setCursorIntern): move the x_target update here *
1150         * text3.C: change some bv() to true/false in calls to
1151         cursorUp/Down/Right/Left
1152         * cursor.C: use helper function.
1153
1154 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1155
1156         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1157         * paragraph_funcs.[Ch]: correct comment
1158         * rowpainter.C: do not paint selections away from bv->cursor()
1159         Fix a long standing selection painting bug.
1160         * text3.C: generalize mouse-selection code to LyXTexts other that
1161         top one
1162         * textcursor.C: do not use y coords if we can use par offsets
1163
1164 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1165
1166         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1167         cursor position after e.g. inset insert)
1168
1169 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1170
1171         * lyxfind.C (replace): adjust to locking removal + some
1172         code simplification
1173
1174 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1175
1176         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1177         of the path
1178
1179 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1180
1181         * lyxlayout.[Ch]:
1182         * output_docbook.C: XML sanitation: new layout
1183         parameters InnerTag and CommandDepth
1184
1185 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1186
1187         * BufferView_pimpl.C:
1188         * factory.C:
1189         * text3.C: Fix the insertion and modification of button-style
1190         insets
1191
1192 2003-11-13  André Pönitz  <poenitz@gmx.net>
1193
1194         * InsetList.[Ch]: remove deleteLyXText
1195
1196         * paragraph.[Ch]: cache beginOfBody position
1197
1198         * Bidi.C:
1199         * text.C:
1200         * text2.C:
1201         * text3.C: remove superfluous update() calls
1202
1203         * vspace.C: cleanup
1204
1205 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1206
1207         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1208         * BufferView.C (fitLockedInsetCursor): remove
1209         * cursor.[Ch] (getDim): add
1210         * text.C (getRowNearY): add faster version
1211         * text3.C: remove some update calls
1212
1213 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1214
1215         * LaTeXFeatures.C:
1216         * LyXAction.C:
1217         * MenuBackend.C:
1218         * MenuBackend.h:
1219         * dispatchresult.h:
1220         * factory.C:
1221         * lfuns.h:
1222         * lyxfunc.C:
1223         * lyxtextclass.C:
1224         * lyxtextclass.h:
1225         * text3.C: The Character Style /XML short element patch.
1226
1227 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1228
1229         * text3.C:
1230         * factory.C: Small step to solving 'unable to insert some insets'
1231         problem
1232
1233 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1234
1235         * cursor.[Ch] (updatePos): new function for updating the y
1236         position of the tip inset
1237         * bufferview_funcs.C (put_selection_at):
1238         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1239
1240 2003-11-11  André Pönitz  <poenitz@gmx.net>
1241
1242         * text.C: remove big comment on invalid Paragraph pointers as it is
1243         not valid anymore
1244
1245 2003-11-11  André Pönitz  <poenitz@gmx.net>
1246
1247         * text_funcs.[Ch]: merge with ...
1248
1249         * text.C: ... this
1250
1251         * lyxtext.h:
1252         * text2.C:
1253         * text3.C: adjust
1254
1255         * Makefile.am: remove text_funcs.[Ch]
1256
1257 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1258
1259         * cursor.C (getPos): return absolute cached y coord
1260
1261         * BufferView_pimpl.C (fitCursor): new simplistic code
1262         (workAreaDispatch): add a fitCursor call
1263
1264 2003-11-10  André Pönitz  <poenitz@gmx.net>
1265
1266         * BufferView.[Ch]:
1267         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1268
1269 2003-11-10  André Pönitz  <poenitz@gmx.net>
1270
1271         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1272         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1273         indicate that the cursor needs to leave an inset
1274
1275         * lyxtext.h: remove inset locking
1276
1277         * cursor.[Ch]: re-implement functionality provided by inset locking
1278
1279         * BufferView.[Ch]:
1280         * BufferView_pimpl.[Ch]:
1281         * LyXAction.C:
1282         * bufferview_funcs.[Ch]:
1283         * factory.C:
1284         * funcrequest.[Ch]:
1285         * iterators.C:
1286         * lyx_cb.C:
1287         * lyxfind.C:
1288         * lyxfunc.C:
1289         * text.C:
1290         * text2.C:
1291         * text3.C:
1292         * undo.C: adjust
1293
1294 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1295
1296         * PosIterator.[Ch]: replace the stack with a vector, add inset
1297         accesor
1298         * iterators.[C]: adjust
1299
1300 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1301
1302         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1303         replaced
1304         * paragraph_funcs.C (readParToken): put the correct id in the
1305         error item, not the id of the top paragraph
1306
1307 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1308
1309         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1310         * bufferview_funcs.C (put_selection_at): use the above
1311
1312 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1313
1314         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1315
1316 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * output_linuxdoc.h:
1319         * output_plaintext.h:
1320         * output.h:
1321         * output_docbook.h: add #include statements
1322
1323 2003-11-05  José Matos  <jamatos@lyx.org>
1324
1325         * output_docbook.[Ch]:
1326         * output_latex.[Ch]:
1327         * output_linuxdoc.[Ch]:
1328         * output_plaintext.[Ch]: New files for output formats.
1329         * output.[Ch]: New file for helper functions.
1330
1331         * buffer.[Ch]:
1332         * paragraph_funcs.[Ch]: output functions moved to new files.
1333
1334         * outputparams.h: rename of latexrunparams.h
1335
1336         * LaTeX.[Ch]:
1337         * buffer.[Ch]:
1338         * bufferlist.[Ch]:
1339         * converter.[Ch]:
1340         * exporter.C:
1341         * paragraph.[Ch]:
1342         * paragraph_funcs.[Ch]:
1343         * paragraph_pimpl.[Ch]:
1344         * tabular.[Ch]: rename ascii to plaintext
1345         and LatexRunParams to OutputParams.
1346
1347 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1348
1349         * iterators.[Ch] (text): require bv argument
1350         * undo.C (recordUndo):
1351         * lyxfunc.C (dispatch):
1352         * bufferview_funcs.C (put_selection_at): adjust
1353
1354 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1355
1356         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1357
1358 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1359
1360         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1361         nestings
1362
1363 2003-11-04  André Pönitz  <poenitz@gmx.net>
1364
1365         * cursor.[Ch]: restructure
1366
1367         * BufferView.[Ch]:
1368         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1369
1370         * iterators.[Ch] (asCursor): remove
1371
1372         * lfuns.h: remove LFUN_INSET_EDIT
1373
1374         * lyxfunc.C:
1375         * tabular.C:
1376         * text.C:
1377         * text2.C:
1378         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1379
1380 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1381
1382         * lyxfind.[Ch]: complete overhaul
1383         * BufferView_pimpl.C:
1384         * lyxfunc.C: adjust
1385         * paragraph.[Ch] (insert): add
1386
1387 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1388
1389         * BufferView.[Ch]:
1390         * lyxtext.h:
1391         * text.C: remove dead spellcheck code
1392
1393 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1394
1395         * dispatchresult.h: add a val setter
1396
1397         * cursor.C (dispatch): use a tempvar for data_[i]
1398
1399 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1400
1401         * PosIterator.[Ch]: compile fix
1402
1403 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1404
1405         * text.C (cursorPar): deactivate the cursor cache
1406
1407 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1408
1409         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1410
1411 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1412
1413         * text3.C (dispatch): adjust for new DisptchResult semantics.
1414
1415         * lyxfunc.C (dispatch): handle update when return from
1416         Cursor::dispatch, adjust for new DispatchResult semantics.
1417
1418         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1419         DispatchResult(true) mean to not update. Add class functions for
1420         setting dispatched and update, as well as reading.
1421
1422         * cursor.C (dispatch): don't handle update here
1423
1424 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1425
1426         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1427         * trans_mgr.C: adjust
1428
1429         * paragraph_funcs.C (readParToken): exception safety
1430
1431         * lyxvc.h: store the vcs pointer in a scoped_ptr
1432         * lyxvc.C: adjust
1433
1434         * lyxsocket.C (serverCallback): exception safety
1435
1436         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1437
1438         * ispell.C (clone): make it return a auto_ptr
1439
1440         * factory.C (createInset): exception safety
1441         (readInset): exception safety
1442
1443         * bufferlist.C (newBuffer): exception safety
1444
1445         * Thesaurus.C (Thesaurus): use initialization for aik_
1446
1447         * MenuBackend.C (expandToc): exception safety.
1448
1449 2003-11-03  André Pönitz  <poenitz@gmx.net>
1450
1451         * buffer.C:
1452         * buffer.h:
1453         * bufferview_funcs.C: remove getInsetFromId()
1454
1455         * lyxcursor.[Ch]:
1456         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1457
1458         * lyxfunc.C:
1459         * text2.C:
1460         * text3.C: adjust
1461
1462 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1463
1464         * PosIterator.C (distance, advance): new
1465         * bufferview_funcs.[Ch] (put_selection_at): new
1466         * iterators.[Ch] (lockPath): new
1467
1468 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1469
1470         * iterators.[Ch] (asPosIterator): added
1471         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1472         * PosIterator.[Ch]: added
1473
1474 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1475
1476         * text3.C:
1477         * lyxfunc.C:
1478         * cursor.C (dispatch):
1479         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1480
1481         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1482         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1483         contructor, add a class function dispatched. Remove operator>=
1484
1485 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1486
1487         * debug.C: only use the default constructor for debugstream
1488         (lyxerr) here.
1489
1490         * main.C (main): include debug.h and setup the lyxerr streambuf
1491         here.
1492
1493 2003-10-31  José Matos  <jamatos@lyx.org>
1494
1495         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1496
1497         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1498         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1499         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1500         * paragraph_pimpl.C (simpleTeXSpecialC):
1501         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1502         add LatexRunParams argument.
1503
1504         * exporter.C (Export): change call accordingly.
1505
1506         * latexrunparams.h: add new member to take care of the other backends.
1507 2003-10-30  José Matos  <jamatos@lyx.org>
1508
1509         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1510         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1511         factorise code for paragraph output.
1512         * buffer.[Ch]:
1513         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1514         move functions.
1515
1516 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1517
1518         * text3.C (dispatch):
1519         * lyxfunc.C (dispatch):
1520         * cursor.C (dispatch):
1521         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1522
1523         * dispatchresult.h: make the dispatch_result_t ctor explicit
1524
1525 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1526
1527         * sgml.[Ch]:
1528         * buffer.C: small refactoring of docbook stuff
1529
1530 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1531
1532         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1533         meaning.
1534
1535 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1536
1537         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1538         operator dispatch_result_t, and operators for == != and >=
1539
1540         * cursor.C (dispatch): adjust for operator dispatch_result_t
1541         removal. comment out call to update
1542
1543         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1544
1545 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * text3.C:
1548         * text2.C:
1549         * text.C:
1550         * lyxtext.h:
1551         * lyxfunc.C:
1552         * cursor.C:
1553         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1554         (dispatch):
1555
1556         * dispatchresult.h: new file, DispatchResult broken out of
1557         insets/insetbase.h
1558
1559         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1560
1561 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1562
1563         * text.C (rowBreakPoint): put a hack inside #if 0
1564
1565 2003-10-28  André Pönitz  <poenitz@gmx.net>
1566
1567         * lyxtext.h:
1568         * metricsinfo.C:
1569         * paragraph_funcs.C:
1570         * rowpainter.C:
1571         * text.C:
1572         * text2.C: general cleanup (lots of small stuff)
1573
1574 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1575
1576         * text2.C (cursorEnd): simple fix to the "end key goes to one
1577         before the end on last row" bug
1578
1579 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1580
1581         * text.C (backspace): fix the "zombie characters"
1582
1583 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1584
1585         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1586
1587 2003-10-27  André Pönitz  <poenitz@gmx.net>
1588
1589         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1590
1591         * factory.C: handle new InsetPagebreak, InsetLine
1592
1593         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1594         and move handling into new InsetPagebreak, InsetLine
1595
1596         * BufferView_pimpl.C:
1597         * LyXAction.C:
1598         * ParagraphParameters.C:
1599         * ParameterStruct.h:
1600         * lyxfunc.C:
1601         * lyxtext.h:
1602         * paragraph.C:
1603         * paragraph.h:
1604         * paragraph_funcs.C:
1605         * paragraph_pimpl.C:
1606         * rowpainter.C:
1607         * text.C:
1608         * text2.C:
1609         * text3.C: adjust
1610
1611 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1612
1613         * text.C:
1614         * lyxrow_funcs.[Ch]:
1615         * Bidi.C:
1616         * paragraph.C:
1617         * lyxtext.h:
1618         * rowpainter.C:
1619         * text2.C:
1620         * text3.C: remove lastPos uses in favour of Row::endpos
1621
1622 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1623
1624         * undo.C (performUndoOrRedo): fix two crashes by setting a
1625         cursor by hand and reordering some calls. Use bv->lockInset instead
1626         of inset->edit because the latter loses cursor information
1627
1628 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1629
1630         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1631         by Martin
1632         (rowBreakPoint): fix width. change point to point + 1.
1633         Add a missing check.
1634
1635 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1636
1637         * MenuBackend.C:
1638         * lyxfunc.C: fix (at least partly) the problems
1639         with the Nav menu and headers inside branch insets
1640         reported by Kayvan
1641
1642 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1643
1644         * paragraph.C (getChar): add strong asserts
1645
1646         * lyxrow_funcs.C (lastPos): remove hideous hack
1647
1648         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1649         (fill): adjust to that (avoid an infinite loop)
1650
1651 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1652
1653         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1654
1655 2003-10-23  André Pönitz  <poenitz@gmx.net>
1656
1657         * RowList_fwd.h: change list<> to vector<> to gain speed
1658         after suggestion from Alfredo
1659
1660 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1661
1662         * lyxtext.h: move the bidi stuff from here...
1663         * text.C: and here
1664         * text2.C: and here
1665         * Bidi.[Ch]: ... to here
1666
1667 2003-10-23  André Pönitz  <poenitz@gmx.net>
1668
1669         * lyxtext.h:
1670         * text.C (isLastRow, isFirstRow): new functions
1671
1672         * paragraph.h: new width cache member
1673
1674         * rowpainter.C: replace RowList::iterator with Row & where possible
1675
1676         * lyxfunc.C: replace several view()->text with a single call
1677
1678         * toc.C: fix 'unused' warning
1679
1680 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1681
1682         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1683         when woring with stream::pos_type
1684         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1685
1686 2003-10-22  André Pönitz  <poenitz@gmx.net>
1687
1688         * lyxtext.h:
1689         * text.C: use Row & instead of RowList::iterator
1690
1691         * lyxrow.h: rename end() to endpos()
1692
1693         * rowpainter.C:
1694         * text.C:
1695         * text2.C: adjust
1696
1697 2003-10-22  Angus Leeming  <leeming@lyx.org>
1698
1699         * buffer.[Ch] (fully_loaded): new member function, returning true
1700         only when the file has been loaded fully.
1701         Used to prevent the premature generation of previews and by the
1702         citation inset to prevent computation of the natbib-style label.
1703
1704         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1705         templates are all set up.
1706
1707         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1708
1709 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1710
1711         * text.C: fixed an "oops" in the "is a bit silly"
1712         bug fix
1713
1714 2003-10-21  André Pönitz  <poenitz@gmx.net>
1715
1716         * FuncStatus.[Ch]: small stuff, whitespace
1717
1718         * lyxfont.[Ch]: operator<<() for debug reasons
1719
1720         * lyxfunc.C:
1721         * lyxrow_funcs.C:
1722         * lyxtext.h: whitespace, spelling
1723
1724         * paragraph.C: naming of variables
1725
1726         * text.C:
1727         * text2.C: small stuff
1728
1729
1730 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1731
1732         * text.C: (1) finish off the inset display() work;
1733         (2) fix the "is a bit silly" bug (accessing char
1734         past end of par).
1735
1736 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1737
1738         * text.C: re-introduce display() for insets, fixing the
1739         various bugs (stretch of line above, math inset
1740         positioning, ...)
1741
1742 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1743
1744         * text.C (rightMargin): remove spurious semicolon
1745
1746         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1747         1415)
1748
1749 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1750
1751         * text3.C: fix one crash due to wrong cursor def
1752
1753 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1754
1755         * vc-backend.C (scanMaster): make the regex static
1756
1757         * LaTeX.C (scanAuxFile): make the regexs static
1758
1759         * text3.C (doInsertInset, dispatch, dispatch):
1760         * text2.C (cursorUp, cursorDown):
1761         * text.C (selectNextWordToSpellcheck):
1762         * BufferView_pimpl.C (dispatch):
1763         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1764
1765 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * lyxsocket.C: include <cerrno>
1768
1769 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1770
1771         * lyxfunc.C (dispatch): remove textcache stuff
1772
1773         * bufferlist.C (release): remove textcache stuff
1774         (closeAll): ditto
1775
1776         * TextCache.C: delete file
1777         * TextCache.h: delete file
1778
1779         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1780
1781         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1782         delete of the bv_->text.
1783         (resizeCurrentBuffer): remove texcache stuff
1784         (workAreaResize): ditto
1785
1786 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1787
1788         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1789         action.
1790
1791 2003-10-16  André Pönitz  <poenitz@gmx.net>
1792
1793         * lyxrow.[Ch]:
1794         * paragraph.h:
1795         * rowpainter.C:
1796         * text.C:
1797         * text2.C:
1798         * text3.C: speed up by storing y positions per paragraph plus per-row
1799         offset instead of having a 'full' y position in the row.
1800
1801 2003-10-15  André Pönitz  <poenitz@gmx.net>
1802
1803         * iterators.[Ch]:
1804         * iterators.[Ch]:
1805         * undo.[Ch]: make undo aware of inner insets
1806
1807 2003-10-14  Angus Leeming  <leeming@lyx.org>
1808
1809         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1810         static member functions LyX::ref() and LyX::cref.
1811         (lastfiles): new accessor functions for the new lastfiles_ member var.
1812         (addLyXView, views_): add a new LyXView to the list of views_.
1813         (updateInset): loop over all LyXViews to call their own updateInset
1814         member function, returning a pointer to the Buffer owning the inset.
1815
1816         * BufferView_pimpl.C (loadLyXFile):
1817         * MenuBackend.C (expandLastfiles):
1818         * bufferlist.C (MenuWrite, QuitLyX):
1819         lastfiles is no longer a global variable.
1820         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1821
1822         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1823         static function. Access through LyX::cref().emergencyCleanup().
1824
1825 2003-10-14  André Pönitz  <poenitz@gmx.net>
1826
1827         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1828
1829         * undo.[Ch]: restoring part of 'undo in insets'
1830
1831         * Makefile.am:
1832         * undo_funcs.[Ch]: merge with undo.[Ch]
1833
1834         * tabular.C: small cleansing stuff
1835
1836 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1837
1838         * paragraph_funcs.C (readParToken): report unknown insets as error
1839         boxes. Use the outer paragraph as location (also for unknown
1840         tokens).
1841
1842         * factory.C (readInset): do not abort on reading an unknown inset.
1843         Eat it and return 0.
1844
1845 2003-10-13  Angus Leeming  <leeming@lyx.org>
1846
1847         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1848
1849         * lyxrc.C: displayTranslator is now a function,
1850         declared in GraphicsTypes.h.
1851
1852 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1853
1854         * format.C: new placeholder $$a to pass the socket address.
1855
1856         * bufferlist.[Ch]: new function getBufferFromTmp.
1857
1858         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1859           files in the temporary dir.
1860
1861 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1862
1863         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1864
1865         * Makefile.am: add lyxsocket.[Ch].
1866
1867         * lyx_main.C (error_handler): handle SIGPIPE.
1868
1869 2003-10-13  André Pönitz  <poenitz@gmx.net>
1870
1871         * BufferView_pimpl.C:
1872         * lyxtext.h:
1873         * text.C:
1874         * text2.C:
1875         * text3.C:
1876         * undo_funcs.[Ch]: use paroffset_type instead of
1877           ParagraphList::iterators to prevent multiple conversion
1878           (and get a more robust interface)
1879
1880 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1881
1882         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1883         * lyxtext.h: ditto
1884         * text3.C (dispatch): ditto
1885
1886 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1887
1888         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1889         move the onlyfile, use onlyfile instead of foundfile in a couple
1890         of places.
1891
1892         * DepTable.C (update): flush the error stream a bit more
1893
1894 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1895
1896         * lyxserver.C (callback): adjust
1897
1898         * lyxfunc.C (getStatus): add a missing brace in commented code
1899         (ensureBufferClean): reindent
1900         (dispatch): delete version taking a string
1901
1902 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1903
1904         * LaTeX.C (deplog): move found file handlig from here...
1905         (handleFoundFile): .. to new function here.
1906         (deplog): make sure to discover several files mentioned on the
1907         same log line.
1908
1909 2003-10-10  André Pönitz  <poenitz@gmx.net>
1910
1911         * lyxfunc.C:
1912         * lyxtext.h:
1913         * tabular.C:
1914         * text.C:
1915         * text2.C:
1916         * text3.C: fix some of the tabular crashes
1917
1918 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1919
1920         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1921
1922         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1923
1924 2003-10-09  André Pönitz  <poenitz@gmx.net>
1925
1926         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1927
1928         * BufferView.C:
1929         * BufferView_pimpl.C:
1930         * bufferview_funcs.C:
1931         * lyx_cb.C:
1932         * lyxcursor.C:
1933         * lyxfind.C:
1934         * lyxfunc.C:
1935         * lyxtext.h:
1936         * text.C:
1937         * text2.C:
1938         * text3.C:
1939         * text_funcs.[Ch]:
1940         * textcursor.[Ch]:
1941         * undo_funcs.C: adjust
1942
1943 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1944
1945         * text2.C (incrementItemDepth): new function, use a backtracking
1946         algorithm to discover the correct item depth.
1947         (resetEnumCounterIfNeeded): new function, use a backtracking
1948         algorithm to discover if counter reset is needed.
1949         (setCounter): use them. Simplify a bit. Add different labels for
1950         different item depths for itemize.
1951
1952         * paragraph.C (Paragraph): remove initialization of enumdepth
1953         (operator=): ditto
1954
1955         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1956         enumerate and itemize. Change the type of itemdepth to signed char.
1957
1958 2003-10-08  André Pönitz  <poenitz@gmx.net>
1959
1960         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1961           thing assignable.
1962         * text.C:
1963         * text2.C: adjust
1964
1965         * tabular.[Ch]: fix crash after 'row-insert'
1966
1967 2003-10-08  Angus Leeming  <leeming@lyx.org>
1968
1969         Fix doxygen warnings.
1970
1971         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1972         Remove CutAndPaste:: prefix from header file declaration.
1973
1974         * LColor.h (fill): remove LColor:: prefix from declaration.
1975
1976         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1977         use lyx::depth_type rather than Paragraph::depth_type so that
1978         header file and .C file match.
1979
1980         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1981
1982         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1983         * aspell.C: \file aspell_local.C -> \file aspell.C
1984         * gettext.C: \file gettext.C -> \file src/gettext.C
1985         * gettext.h: \file gettext.h -> \file src/gettext.h
1986         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1987         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1988         * text.C: \file text.C -> \file src/text.C
1989
1990         * toc.C: move comment so that doxygen is not confused.
1991
1992 2003-10-07  Angus Leeming  <leeming@lyx.org>
1993
1994         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1995
1996 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1997
1998         * aspell.C:
1999         * aspell_local.h: add forgotten std::string's.
2000
2001 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2002
2003         * LaTeXFeatures.C:
2004         * LyXAction.C:
2005         * factory.C:
2006         * lfuns.h:
2007         * lyxfunc.C:
2008         * text3.C: The Box patch. Fancybox support, minipage, parbox
2009
2010 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2011
2012         * CutAndPaste.h:
2013         * DepTable.h:
2014         * FloatList.h:
2015         * LaTeXFeatures.h:
2016         * ParagraphParameters.h:
2017         * TextCache.h:
2018         * Thesaurus.h:
2019         * bufferlist.h:
2020         * exporter.h:
2021         * importer.h:
2022         * lastfiles.h:
2023         * lyxfind.h:
2024         * lyxfont.h:
2025         * lyxlex.h:
2026         * lyxtextclasslist.h:
2027         * messages.h:
2028         * paragraph.h:
2029         * paragraph_pimpl.C:
2030         * textcursor.h: add <string> and other small fixes to make Lars'
2031         std::string patch compile with STLport.
2032
2033 2003-10-06  Angus Leeming  <leeming@lyx.org>
2034
2035         * LColor.h: Add missing #include <string>.
2036
2037 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2038
2039         * All most all file in all subdirs: Make <string> be the prefered
2040         way of getting to std::string, add using declarations.
2041
2042 2003-10-06  André Pönitz  <poenitz@gmx.net>
2043
2044         * metricsinfo.C: initialize LyXFont before changing attribute.
2045         (fixes the 'math in \emph is upright' bug)
2046
2047 2003-10-06  André Pönitz  <poenitz@gmx.net>
2048
2049         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2050
2051 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2052
2053         * graph.C:
2054         * paragraph_pimpl.C: Small fixes to build using STLport
2055
2056 2003-10-02  André Pönitz  <poenitz@gmx.net>
2057
2058         * lyxfunc.C:
2059         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2060
2061 2003-10-01  André Pönitz  <poenitz@gmx.net>
2062
2063         * factory.C: assert early
2064
2065 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2066
2067         * lyx_main.C: remove the global debug object
2068
2069         * debug.h: adjust for new debugstream
2070
2071         * debug.C: adjust for new debugstream and keep the global debug
2072         object here.
2073
2074 2003-09-22  Angus Leeming  <leeming@lyx.org>
2075
2076         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2077         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2078         an incomplete class LyXFont.
2079
2080 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2081
2082         * factory.C: bug fix in branches
2083
2084 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2085
2086         * lyxfunc.C (processKeySym): adjust
2087         (dispatch): adjust
2088         (dispatch): change arg name from ev to func, adjust
2089         (sendDispatchMessage): ditto
2090
2091         * lyx_main.C (defaultKeyBindings): adjust keybindings
2092         (deadKeyBindings): ditto
2093
2094         * kbsequence.C (addkey): return a FuncRequest
2095
2096         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2097
2098         * kbmap.C (bind): take a FuncRequest as arg, adjust
2099         (read): adjust
2100         (lookup): adjust
2101         (defkey): change to take a FuncRequest as arg, adjust
2102         (findbinding): take a FuncRequest as arg, adjust.
2103
2104         * funcrequest.h (operator=): added
2105
2106         * funcrequest.C (FuncRequest): default kb_action changed from
2107         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2108
2109         * buffer.C (dispatch): simplify
2110         (dispatch): adjust to take a FuncRequest as arg, adjust
2111
2112         * boost.C (assertion_failed): change assertion message slightly
2113
2114         * ToolbarBackend.C (read): simplify
2115
2116         * MenuBackend.C (binding): adjust call to findbinding, add a
2117         message if no binding is found.
2118         (read): simplify
2119         (expandToc): correct by adding a empty FuncRequest
2120
2121         * LyXAction.C: include <boost/assert.hpp>
2122         (isPseudoAction): delete function
2123         (LookupFunc): change name to...
2124         (lookupFunc): this. change return type to FuncRequest.
2125         (getActionName): take kb_action as arg, simplify
2126         (funcHasFlag): add an assert, simplify.
2127
2128 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2129
2130         * toc.C (action): return a FuncRequest, simplify
2131
2132         * lyxfunc.C (processKeySym): adjust
2133         (getStatus): delete version that takes an int.
2134         (getStatus): adjust
2135         (dispatch): delete version that takes action as int
2136         (dispatch): adjust
2137         (sendDispatchMessage): simplify and adjust
2138
2139         * funcrequest.C (getArg): take unsigned int as arg
2140
2141         * ToolbarBackend.C (read): adjust
2142         (add): delete version that takes func as a string.
2143         (getIton): take a FuncRequest as arg
2144
2145         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2146         action.
2147
2148         * MenuBackend.C (MenuItem): add a new construct that only takes a
2149         Kind, simplify the constructor use for submenus.
2150         (add): adjust
2151         (expandLastfiles): adjust
2152         (expandDocuments): adjust
2153         (expandFormats): adjust
2154         (expandFloatListInsert): adjust
2155         (expandFloatInsert): adjust
2156         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2157
2158         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2159         Remove class variables lyx_pseudo_map and lyx_arg_map
2160
2161         * LyXAction.C (searchActionArg): delete function
2162         (getPseudoAction): delete function
2163         (retrieveActionArg): delete function
2164         (LookupFunc): make it return kb_action, simplify.
2165         (getActionName): simplify
2166
2167         * factory.C (createInset): fix new bug
2168
2169 2003-09-19  Angus Leeming  <leeming@lyx.org>
2170
2171         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2172         masterFilename_ parameter in the include inset.
2173
2174         * factory.C (createInset): changes due to the changes to InsetInclude.
2175
2176 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2177
2178         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2179
2180 2003-09-18  Angus Leeming  <leeming@lyx.org>
2181
2182         * buffer.C:
2183         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2184         Inset::fillWithBibKeys.
2185         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2186
2187 2003-09-18  Angus Leeming  <leeming@lyx.org>
2188
2189         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2190         variables.
2191         (ctor): pass and store a 'Buffer const &'
2192         (buffer): new member function.
2193
2194         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2195         '*this' to the LaTeXFeatures ctor.
2196
2197 2003-09-18  Angus Leeming  <leeming@lyx.org>
2198
2199         * LColor.h:
2200         * lyxfont.C:
2201         * lyxfont.h:
2202         * lyxtext.h:
2203         * text.C: rename EnumLColor as LColor_color.
2204
2205 2003-09-18  Angus Leeming  <leeming@lyx.org>
2206
2207         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2208         remove #include "insets/insetbase.h" from cursor.h.
2209
2210 2003-09-18  Angus Leeming  <leeming@lyx.org>
2211
2212         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2213         InsetOld_code to remove #include "inset.h".
2214
2215         * iterators.C: add #include "insets/inset.h"
2216
2217 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2218
2219         * BufferView.C: remove more locking stuff that apparently doesn't
2220         do anything sensible.
2221
2222 2003-09-16  André Pönitz  <poenitz@gmx.net>
2223
2224         * paragraph.[Ch]:
2225         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2226           performance boost.
2227
2228 2003-09-16  Angus Leeming  <leeming@lyx.org>
2229
2230         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2231
2232         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2233         arg/return type.
2234
2235         * paragraph.h: remove #include "lyxfont.h". Forward declare
2236         LyXFont_size.
2237
2238 2003-09-16  Angus Leeming  <leeming@lyx.org>
2239
2240         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2241         of support/textutils.h.
2242         (isWord): move the contents of support/textutils.h's IsWordChar here.
2243
2244         * buffer.C:
2245         * lyxfind.C:
2246         * rowpainter.C:
2247         * text.C:
2248         * text2.C: add #include "paragraph.h".
2249
2250         * rowpainter.C:
2251         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2252
2253 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2254
2255         * main.C:
2256         * lyx_main.C:
2257         * lyx_cb.C:
2258         * buffer.C:
2259         * LaTeX.C: use namespace alias for lyx::support::os
2260
2261 2003-09-16  Angus Leeming  <leeming@lyx.org>
2262
2263         * bufferparams.C:
2264         * bufferview_funcs.C:
2265         * factory.C:
2266         * lyxfunc.C:
2267         * paragraph_pimpl.C:
2268         * rowpainter.C:
2269         * text.C: add #include "LColor.h".
2270
2271 2003-09-16  Angus Leeming  <leeming@lyx.org>
2272
2273         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2274         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2275         return LyXFont &.
2276         Store the FontBits::color variable as an int rather than as an
2277         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2278         file.
2279
2280         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2281         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2282         string calls together.
2283
2284         * lyxrc.C: add #include "LColor.h".
2285
2286 2003-09-15  Angus Leeming  <leeming@lyx.org>
2287
2288         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2289         a cow_ptr.
2290
2291 2003-09-15  Angus Leeming  <leeming@lyx.org>
2292
2293         * LColor.h: add an EnumLColor wrapper for LColor::color.
2294
2295         * lyxfont.[Ch] (color, setColor, realColor):
2296         * lyxtext.h, text.C (backgroundColor):
2297         pass EnumLColor args to/from the functions, rather than LColor::color
2298         ones.
2299
2300         * lyxfont.h:
2301         * lyxtext.h: forward declare EnumLColor.
2302
2303         * lyx_main.C: add #include "LColor.h".
2304
2305 2003-09-15  Angus Leeming  <leeming@lyx.org>
2306
2307         * .cvsignore: add lyx-gtk.
2308
2309 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2310
2311         * Chktex.C
2312         * LaTeX.C
2313         * LaTeXFeatures.C
2314         * ParagraphParameters.C
2315         * Spacing.C
2316         * buffer.C
2317         * bufferparams.C
2318         * bufferview_funcs.C
2319         * chset.C
2320         * counters.C
2321         * funcrequest.C
2322         * lyxfont.C
2323         * lyxgluelength.C
2324         * lyxlength.C
2325         * paragraph.C
2326         * paragraph_funcs.C
2327         * text3.C
2328         * vc-backend.C: remove usage of STRCONV
2329
2330 2003-09-15  Angus Leeming  <leeming@lyx.org>
2331
2332         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2333         explicitly define the color passed to the painter.
2334
2335 2003-09-15  Angus Leeming  <leeming@lyx.org>
2336
2337         * bufferparams.C (BufferParams): reorder member initializers to avoid
2338         compiler warning.
2339
2340 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2341
2342         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2343         * text.C (updateRowPositions): remove an unusual nop
2344
2345 2003-09-12  André Pönitz  <poenitz@gmx.net>
2346
2347         * BufferView_pimpl.C:
2348         * Bullet.C:
2349         * layout.h:
2350         * lyxfunc.C:
2351         * lyxlayout.[Ch]:
2352         * lyxtextclass.C:
2353         * rowpainter.C:
2354         * text.C:
2355         * text2.C:
2356         * Counters.[Ch]: finish the 'automatic counters' job
2357
2358 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2359
2360         * aspell.C: include <boost/assert.cpp> (compile fix)
2361
2362 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2363
2364         * boost.C (assertion_failed): use lyx::support::abort instead of
2365         assert.
2366
2367 2003-09-10  Angus Leeming  <leeming@lyx.org>
2368
2369         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2370         with their _fwd progeny.
2371
2372 2003-09-09  Angus Leeming  <leeming@lyx.org>
2373
2374         134 files throughtout the source tree: replace 'using namespace abc;'
2375         directives with the appropriate 'using abc::xyz;' declarations.
2376
2377 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2378
2379         * boost.C (emergencyCleanup): moved here from LAssert.c
2380         (assertion_failed): new function, called by BOOST_ASSERT
2381
2382         * several files: change Assert to BOOST_ASSERT
2383
2384 2003-09-09  Angus Leeming  <leeming@lyx.org>
2385
2386         * buffer.[Ch]: Add an Impl class and move Buffer's member
2387         variables into it. As a result move several header files out of
2388         buffer.h.
2389
2390         Add header files to lots of .C files all over the tree as a result.
2391
2392 2003-09-09  Angus Leeming  <leeming@lyx.org>
2393
2394         * buffer.[Ch]: make Buffer's member variables private. Add
2395         accessor functions.
2396
2397         Lots of changes all over the tree as a result.
2398
2399 2003-09-08  Angus Leeming  <leeming@lyx.org>
2400
2401         * graph.C: #include <config.h>.
2402
2403 2003-09-08  Angus Leeming  <leeming@lyx.org>
2404
2405         * BranchList.C:
2406         * BufferView.C:
2407         * BufferView_pimpl.C:
2408         * CutAndPaste.C:
2409         * DepTable.C:
2410         * LaTeX.C:
2411         * LaTeXFeatures.C:
2412         * LyXAction.C:
2413         * MenuBackend.C:
2414         * TextCache.C:
2415         * aspell.C:
2416         * buffer.C:
2417         * bufferlist.C:
2418         * changes.C:
2419         * chset.C:
2420         * converter.C:
2421         * counters.C:
2422         * debug.C:
2423         * graph.C:
2424         * ispell.C:
2425         * lyx_cb.C:
2426         * lyxfind.C:
2427         * lyxfunc.C:
2428         * lyxlex_pimpl.C:
2429         * lyxrc.C:
2430         * lyxrow.C:
2431         * paragraph.C:
2432         * rowpainter.C:
2433         * texrow.C:
2434         * text.C:
2435         * text2.C:
2436         * toc.C: remove redundant using directives.
2437
2438 2003-09-07  Angus Leeming  <leeming@lyx.org>
2439
2440         * LaTeXFeatures.h: remove #include "support/types.h".
2441         * ToolbarBackend.h: remove #include <algorithm>.
2442         * changes.h: remove #include <ctime>.
2443         * debug.h: remove #include <iosfwd>.
2444         * graph.h: remove #include "support/std_string.h".
2445         * lyx_main.h: remove #include <csignal>.
2446         * lyxlex_pimpl.h: remove #include <fstream>.
2447         * sgml.h: remove #include <algorithm>, <utility>.
2448         * toc.h: remove #include "support/std_ostream.h".
2449         Add #include <iosfwd>.
2450
2451 2003-09-07  Angus Leeming  <leeming@lyx.org>
2452
2453         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2454
2455         * converter.h: forward declare LatexRunParams.
2456         * encoding.h: remove #include "lyxrc.h".
2457         * lyxtext.h: remove #include "LColor.h".
2458         * lyxtextclass.h: remove #include "support/types.h".
2459         * trans.h: remove #include "tex-accent.h".
2460         * trans_mgr.h: remove #include "tex-accent.h".
2461         * insets/inset.h: remove #include "support/types.h", <vector>.
2462         * insets/insetcollapsable.h: remove #include "LColor.h".
2463         * insets/insetinclude.h: remove #include "dimension.h".
2464         * insets/insetlatexaccent.h: remove #include "dimension.h".
2465         * insets/insetoptarg.h:: remove #include "insettext.h".
2466         * insets/insettext.h: remove #include "dimension.h",
2467         <boost/shared_ptr.hpp>
2468
2469         * insets/renderers.h: add #include "dimension.h".
2470         * insets/updatableinset.h: add #include "support/types.h".
2471
2472         * many .C files: Associated changes.
2473
2474 2003-09-06  Angus Leeming  <leeming@lyx.org>
2475
2476         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2477         one, inside testInvariant.
2478
2479         * PrinterParams.C: new file.
2480         * PrinterParams.[Ch]: move the function bodies out of line.
2481
2482 2003-09-06  Angus Leeming  <leeming@lyx.org>
2483
2484         * ParagraphParameters.h: forward declare ParameterStruct rather than
2485         including its header file.
2486         (depth): moved out-of-line.
2487
2488 2003-09-06  Angus Leeming  <leeming@lyx.org>
2489
2490         * BufferView_pimpl.h:
2491         * kbmap.h:
2492         * kbsequence.h:
2493         * lyxfunc.h: forward declare LyXKeySym rather than
2494         #include "frontends/LyXKeySym.h".
2495
2496         * BufferView_pimpl.C:
2497         * kbmap.C:
2498         * kbsequence.C:
2499         * lyxfunc.C: associated changes.
2500
2501 2003-09-06  Angus Leeming  <leeming@lyx.org>
2502
2503         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2504         As a result, can remove the #include "insets/inset.h" from BufferView.h
2505
2506 2003-09-06  Angus Leeming  <leeming@lyx.org>
2507
2508         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2509         As a result, can remove the #include "insets/inset.h" from BufferView.h
2510
2511 2003-09-06  Angus Leeming  <leeming@lyx.org>
2512
2513         * buffer_funcs.C:
2514         * buffer.h:
2515         * bufferlist.C:
2516         * BufferView.C:
2517         * bufferview_funcs.C:
2518         * BufferView_pimpl.C:
2519         * CutAndPaste.C:
2520         * lyx_cb.C:
2521         * lyxfunc.C:
2522         * paragraph.h:
2523         * ParagraphParameters.C:
2524         * tabular.C:
2525         * text3.C:
2526         * toc.C:
2527         * undo_funcs.C:
2528         * frontends/controllers/ControlDocument.C:
2529         * insets/insetcaption.C: rearrange the #includes into some sort of
2530         coherent order.
2531
2532         * buffer.h: remove #includes ErrorList.h, undo.h
2533
2534 2003-09-06  Angus Leeming  <leeming@lyx.org>
2535
2536         * support/types.h: add a 'depth_type' typedef, used to store the
2537         nesting depth of a paragraph.
2538
2539         * paragraph.h:
2540         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2541         defining explicitly.
2542
2543         * buffer.h:
2544         * paragraph_funcs.h:
2545         * ParagraphParameters.h:
2546         * sgml.h: use lyx::depth_type rather than Paragraph or
2547         ParameterStruct's depth_type.
2548
2549         * buffer.h
2550         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2551
2552         * BufferView.C:
2553         * BufferView_pimpl.C:
2554         * CutAndPaste.C:
2555         * ParagraphParameters.C:
2556         * buffer_funcs.C:
2557         * bufferlist.C:
2558         * bufferview_funcs.C:
2559         * lyx_cb.C:
2560         * lyxfunc.C:
2561         * tabular.C:
2562         * text3.C:
2563         * toc.C:
2564         * undo_funcs.C:
2565         * frontends/LyXView.C:
2566         * frontends/controllers/ControlDocument.C:
2567         * frontends/controllers/ControlErrorList.C:
2568         * insets/insetbibitem.C:
2569         * insets/insetbranch.C:
2570         * insets/insetcaption.C:
2571         * insets/insetcollapsable.C:
2572         * insets/insetenv.C:
2573         * insets/insetert.C:
2574         * insets/insetfloat.C:
2575         * insets/insetfoot.C:
2576         * insets/insetfootlike.C:
2577         * insets/insetnewline.C:
2578         * insets/insetquotes.C:
2579         * insets/insettabular.C:
2580         * insets/insettext.C:
2581         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2582
2583         * frontends/controllers/ControlChanges.C: #include "changes.h".
2584
2585 2003-09-06  Angus Leeming  <leeming@lyx.org>
2586
2587         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2588         than #including paragraph.h.
2589
2590         * ParagraphList.h:
2591         * RowList.h: deleted. Superfluous.
2592
2593         * CutAndPaste.h:
2594         * iterators.h:
2595         * lyxcursor.h:
2596         * lyxtext.h:
2597         * text_funcs.h:
2598         * undo.h:
2599         * undo_funcs.h:
2600         * insets/inset.h:
2601         * insets/insettext.h: use ParagraphList_fwd.h rather than
2602         ParagraphList.h.
2603
2604         * paragraph.h: don't forward declare ParagraphList.
2605
2606         * buffer.h:
2607         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2608         rather than ParagraphList.h. paragraph.h is still needed for the
2609         Paragraph::depth_type parameters.
2610
2611         * textcursor.h: enable it to compile stand-alone in light of the
2612         above changes.
2613
2614         * bufferview_funcs.C:
2615         * iterators.C:
2616         * lyxfunc.C:
2617         * lyxrow_funcs.C:
2618         * paragraph.C:
2619         * rowpainter.C:
2620         * text.C:
2621         * text2.C:
2622         * text3.C:
2623         * text_funcs.C:
2624         * textcursor.C:
2625         * undo.C:
2626         * frontends/controllers/ControlParagraph.C:
2627         * frontends/controllers/ControlTabular.C:
2628         * insets/insetmarginal.C:
2629         * insets/insetminipage.C:
2630         * insets/insetnote.C:
2631         * insets/insetoptarg.C: add header files needed to compile again.
2632
2633 2003-09-06  Angus Leeming  <leeming@lyx.org>
2634
2635         * RowList_fwd.h: new file, forward-declaring Row rather than
2636         #including lyxrow.h.
2637
2638         * lyxrow_funcs.h:
2639         * lyxtext.h:
2640         * paragraph.h:
2641         * insets/insettext.h: use it instead of RowList.h
2642
2643         * bufferview_funcs.C:
2644         * lyxfunc.C:
2645         * lyxrow_funcs.C:
2646         * paragraph.C:
2647         * rowpainter.C:
2648         * text.C:
2649         * text2.C:
2650         * text3.C: #include "RowList.h".
2651
2652 2003-09-05  Angus Leeming  <leeming@lyx.org>
2653
2654         * factory.C (createInset):
2655         * vspace.C (c-tor): replace sscanf call with an istringstream.
2656         * ispell.C: re-add missing HP/UX headers.
2657         * lyxserver.C: re-add missing  os2 headers.
2658
2659 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2660
2661         * BranchList.C:
2662         * graph.C:
2663         * ispell.C:
2664         * lastfiles.C:
2665         * lyx_cb.C:
2666         * lyxserver.C:
2667         * texrow.C:
2668         * text3.C: re-add missing system headers, needed for 2.95.2.
2669
2670 2003-09-05  Angus Leeming  <leeming@lyx.org>
2671
2672         Changes most place everywhere due to the removal of using directives
2673         from support/std_sstream.h.
2674
2675 2003-09-05  Angus Leeming  <leeming@lyx.org>
2676
2677         Replace LString.h with support/std_string.h,
2678         Lsstream.h with support/std_sstream.h,
2679         support/LIstream.h with support/std_istream.h,
2680         support/LOstream.h with support/std_ostream.h.
2681
2682         Changes resulting throughout the tree.
2683
2684 2003-09-05  Angus Leeming  <leeming@lyx.org>
2685
2686         * sgml.h: ensure that the header file can be compiled stand-alone.
2687         * *.C: strip out redundant #includes. (320 in total.)
2688
2689 2003-09-04  Angus Leeming  <leeming@lyx.org>
2690
2691         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2692         here (from getPackages).
2693
2694         * debug.[Ch]: add a new EXTERNAL tag.
2695
2696 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2697
2698         * text2.C (cursorEnd): simplify
2699         (setCursor): adjust
2700         (getColumnNearX): adjust
2701
2702         * text.C (computeBidiTables): adjust
2703         (fill): adjust
2704
2705         * rowpainter.C (paintChars): adjust
2706         (paintSelection): adjust
2707         (paintChangeBar): adjust
2708         (paintText): adjust
2709
2710         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2711         lastPos instead.
2712         (numberOfSeparators): adjust
2713
2714 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2715
2716         * LyXAction.C:
2717         * box.[Ch]:
2718         * lfuns.h:
2719         * lyxfunc.C:
2720         * text3.C: Restricts the mouse click functionality
2721         of insets like bibtex, include, toc and floatlist to the visible
2722         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2723         up the dialogs. Cursor has to be in front of the inset (i.e.
2724         start of row) for this to function.
2725
2726 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2727
2728         * bufferview_funcs.C (currentState): output row information
2729
2730 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2731
2732         * bufferview_funcs.C (currentState): output paragraph position
2733
2734 2003-09-04  Angus Leeming  <leeming@lyx.org>
2735
2736         * FloatList.h: move out #include "Floating.h".
2737         * LaTeX.h: move out #include "DepTable.h".
2738         * LyXAction.h: move out #include "funcrequest.h".
2739         * buffer.h: move out #include "author.h", "iterators.h".
2740         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2741         * lyx_main.h: move out #include "errorlist.h".
2742         * lyxfunc.h: move out #include "FuncStatus.h".
2743         * lyxtext: move out #include "lyxcursor.h".
2744         * paragraph_pimpl.h: move out #include "counters.h".
2745
2746 2003-09-03  Angus Leeming  <leeming@lyx.org>
2747
2748         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2749         preamble_snippets list, enabling us to add snippets to the preamble
2750         only if the snippet was not there already.
2751
2752 2003-09-04  Angus Leeming  <leeming@lyx.org>
2753
2754         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2755
2756 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2757
2758         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2759         update
2760
2761 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2762
2763         * BranchList.C: point fix, earlier forgotten
2764
2765 2003-09-02  Angus Leeming  <leeming@lyx.org>
2766
2767         * box.C (contains): renamed from 'contained' after a fantastic
2768         amount of hot air.
2769
2770 2003-09-02  John Levon  <levon@movementarian.org>
2771
2772         * BufferView.C:
2773         * lyxcursor.h:
2774         * lyxcursor.C:
2775         * lyxfunc.C:
2776         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2777
2778 2003-09-02  John Levon  <levon@movementarian.org>
2779
2780         * text2.C: simplification of cursorEnd(), including partial
2781         fix for bug 1376
2782
2783 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * buffer.C (readFile): add a space
2786
2787 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2790
2791 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2792
2793         * buffer.C (readFile): new function, take a filename and a
2794         ParagraphList::iterator
2795         (readFile): adjust
2796         (readFile): adjust, make it private. don't use setStream, make
2797         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2798         always contain the filename.
2799
2800         * BufferView.C (insertLyXFile): simplify and make it work for
2801         gzipped files.
2802
2803 2003-08-30  John Levon  <levon@movementarian.org>
2804
2805         * Makefile.am: fix dist (from Kayvan)
2806
2807 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2808
2809         * most files: change to use const Buffer refs
2810
2811 2003-08-27  André Pönitz  <poenitz@gmx.net>
2812
2813         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2814         on top of ownerPar().
2815
2816 2003-08-27  John Levon  <levon@movementarian.org>
2817
2818         * funcrequest.C: properly initialise POD members
2819
2820 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * lyxtext.h (top_y): move top_y from here
2823         * text.C:
2824         * text2.C:
2825         * text3.C:
2826         * BufferView.[Ch]:
2827         * BufferView_pimpl.[Ch]: to here
2828         * frontends/screen.C:
2829         * insets/insettabular.C:
2830         * insets/insettext.C: adjust
2831         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2832
2833 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * BufferView.[Ch]:
2836         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2837
2838 2003-08-26  André Pönitz  <poenitz@gmx.net>
2839
2840         * paragraph_func.[Ch] (outerPar): new function
2841
2842         * paragraph.C:
2843         * paragraph_funcs.C:
2844         * paragraph_funcs.h:
2845         * paragraph_pimpl.C:
2846         * text2.C: remove Inset::par_owner
2847
2848 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2849
2850         * lyxrow_funcs.C:
2851         * lyxtext.h:
2852         * text.C:
2853         * text2.C: eliminates the needFullRow/display() stuff
2854         altogether, putting the logic in metrics/draw in the insets.
2855
2856 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * text2.C (redoParagraphInternal, redoParagraphs):
2859         * text.C (redoParagraph): add a call to updateRowPositions at the
2860         end of each 'metrics-like' call. Remove all others.
2861         (getRow): remove the 'y-computing' version.
2862         (getRowNearY): do not compute nor return the real y. Solve the
2863         'y < 0' problem and simplify.
2864
2865 2003-08-22  Angus Leeming  <leeming@lyx.org>
2866
2867         * *.[Ch]: clean-up of licence and author blurbs.
2868         Also move config.h out of a few .h files and into a few .C files.
2869
2870 2003-08-22  André Pönitz  <poenitz@gmx.net>
2871
2872         * lyxrow.[Ch]: add x_ and *fill_ members
2873
2874         * lyxtext.h:
2875         * text.C:
2876         * rowpainter.C:
2877         * text2.C: adjust/remove prepareToPrint() calls
2878
2879 2003-08-22  André Pönitz  <poenitz@gmx.net>
2880
2881         * lyxrow.[Ch]: add  end_ member
2882
2883         * lyxrow_funcs.C: use LyXRow::end_
2884
2885         * lyxtext.h (singleWidth): add LyXFont parameter
2886
2887         * rowpainter.C:
2888         * text2.C: adjust LyXText::singleWidth() calls
2889
2890         * text.C (redoParagraph): simplify row breaking logic
2891
2892
2893 2003-08-19  André Pönitz  <poenitz@gmx.net>
2894
2895         * funcrequest.C: initialize button_ member
2896
2897         * text3.C:
2898         * rowpainter.[Ch]: interface consolidation
2899
2900 2003-08-18  André Pönitz  <poenitz@gmx.net>
2901
2902         * BufferView.C:
2903         * BufferView_pimpl.C:
2904         * lyxfind.C:
2905         * paragraph_funcs.C:
2906         * rowpainter.C:
2907         * text3.C: remove LyXScreen::draw() and fitCursor calls
2908
2909         * BranchList.h: remove spurious semicolons
2910
2911         * MenuBackend.C: fix branchlist related crash
2912
2913 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2914
2915         * BranchList.[Ch]:
2916         * InsetList.[Ch]:
2917         * LColor.[Ch]:
2918         * LyXAction.C:
2919         * Makefile.am:
2920         * MenuBackend.[Ch]:
2921         * bufferparams.[Ch]:
2922         * factory.C:
2923         * lfuns.h:
2924         * lyxfunc.C:
2925         * text3.C: implements the 'branch inset'
2926         idea. This allows the output of various versions of a document
2927         from a single source version, selectively outputing or suppressing
2928         output of parts of the text.
2929         This implementation contains a 'branch list editor' in a separate
2930         tab of the document settings dialog. Branches are user definable
2931         and have a "display colour" to distinguish them on-screen.
2932
2933         ColorHandler was somewhat cleaned up.
2934         (1) make possible a dynamically growing LColor list by allowing
2935         the graphic context cache to grow along (vector);
2936         (2) eliminate an IMHO unnecessary step in colour allocation.
2937
2938 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2939
2940         * BufferView_pimpl.C: compile fix
2941
2942 2003-08-15  André Pönitz  <poenitz@gmx.net>
2943
2944         * rowpainter.C: remove extra metrics calls
2945
2946         * lyxtext.h: merge the two constructors into a single one,
2947           pass reference to owner's par list
2948
2949         * BufferView_pimpl.C:
2950         * text.C:
2951         * text2.C: adjust
2952
2953 2003-08-15  André Pönitz  <poenitz@gmx.net>
2954
2955         * lyxrow_funcs.[Ch]:
2956         * lyxtext.h:
2957         * paragraph.h:
2958         * paragraph_funcs.C:
2959         * rowpainter.C:
2960         * text.C:
2961         * text2.C:
2962         * text3.C:
2963         * text_funcs.C: split LyXText::rowlist_ into individual
2964         Paragraph::rows_ chunks
2965
2966         * BufferView.[Ch]:
2967         * BufferView_pimpl.[Ch]:
2968         * lyxfind.C:
2969         * lyxtext.h:
2970         * text3.C: remove toggleSelection()
2971
2972 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2973
2974         * bufferlist.C: beautify two alerts (shorter text of buttons)
2975         * buffer.C: Remove redundant ' ' from message
2976         * tabular.h:
2977         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2978         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2979         rename VALIGN_CENTER to VALIGN_MIDDLE
2980
2981 2003-08-11  André Pönitz  <poenitz@gmx.net>
2982
2983         * lyxtext.h (getPar):
2984         * text.C: new function
2985
2986 2003-08-11  André Pönitz  <poenitz@gmx.net>
2987
2988         * Makefile.am:
2989         * tracer.[Ch]: remove unneeded files
2990
2991         * InsetList.[Ch]: remove resizeInsetsLyXText()
2992
2993         * lyxtext.h:
2994         * text.C:
2995         * text2.C:
2996         * text3.C: merge insertParagraphs() and appendParagraph()
2997         remove breakAgain(), update()
2998
2999         * BufferView_pimpl.[Ch]:
3000         * bufferview_funcs.[Ch]:
3001         * lyxfunc.C:
3002         * paragraph.[Ch]:
3003         * rowpainter.C:
3004         * tabular.C: adjust after text & InsetList changes.
3005
3006 2003-08-08  André Pönitz  <poenitz@gmx.net>
3007
3008         * text.C (insertChar, backspace): replace rowlist fiddling
3009         with rebreak of full par
3010
3011         * lyxtext.h:
3012         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3013         checkParagraph, updateInset): removed
3014
3015 2003-08-07  André Pönitz  <poenitz@gmx.net>
3016
3017         * paragraph.C:
3018         * text3.C: merge some LFUN handlers, remove dead code
3019
3020 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3021
3022         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3023
3024 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3025
3026         * text2.C (DEPM): fix part of bug 1255 and 1256
3027
3028 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3029
3030         * BufferView_pimpl.C (workAreaDispatch): change to use
3031         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3032         that are no mouse related.
3033
3034 2003-08-05  André Pönitz  <poenitz@gmx.net>
3035
3036         * BufferView.[Ch]:
3037         * BufferView_pimpl.[Ch]:
3038         * bufferview_funcs.C:
3039         * text2.C:
3040         * text3.C: rip out "deep update"
3041
3042         * textcursor.[Ch] (last_sel_cursor): remove unused member
3043
3044 2003-08-04  André Pönitz  <poenitz@gmx.net>
3045
3046         * BufferView.[Ch]:
3047         * BufferView_pimpl.[Ch]:
3048         * ParagraphParameters.C:
3049         * bufferview_funcs.C:
3050         * lyx_cb.C:
3051         * lyxfind.C:
3052         * lyxfunc.C:
3053         * text.C:
3054         * text2.C:
3055         * text3.C: replace "complicated" BufferView::update(...) calls with
3056         simpler ones.
3057
3058         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3059
3060 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3061
3062         * Makefile.am (lyx_SOURCES): add paper.h
3063
3064 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3065
3066         * Makefile.am: move things around so that both lyx-qt and
3067         lyx-xforms can be built (according to --with-frontend). Then lyx
3068         is a symbolic link to lyx-[firstfrontend]
3069
3070 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3071
3072         * Always use std::endl with lyxerr
3073
3074 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3075
3076         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3077
3078 2003-08-01  André Pönitz  <poenitz@gmx.net>
3079
3080         * BufferView.[Ch]:
3081         * BufferView_pimpl.[Ch]:
3082         * lyxfunc.C:
3083         * text3.C: merge BufferView::repaint() and BufferView::update()
3084
3085 2003-08-01  José Matos  <jamatos@lyx.org>
3086
3087         * buffer.[Ch]: file_format is no longer a buffer data element.
3088
3089 2003-08-01  André Pönitz  <poenitz@gmx.net>
3090
3091         * BufferView.C:
3092         * lyxtext.h:
3093         * text.C:
3094         * text2.C: make redoParagraph more independent of current cursor
3095
3096         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3097         * text.C:
3098         * text2.C: remove unneeded members
3099
3100 2003-07-30  André Pönitz  <poenitz@gmx.net>
3101
3102         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3103
3104         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3105           create a single function...
3106
3107         * paragraph_funcs.C (moveItem): ... here.
3108
3109         * text.C:
3110           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3111
3112 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3113
3114         * LColor.[Ch]: Add comment and greyedout logical colors.
3115
3116 2003-07-30  André Pönitz  <poenitz@gmx.net>
3117
3118         * tabular.C: don't use Assert too heavily. This crashes where it
3119           shouldn't
3120
3121 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3122
3123         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3124         is disabled (bug 1232)
3125
3126 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3127
3128         * factory.C: limited 'arg' scope
3129
3130 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3131
3132         * factory.C: fixed Note submenu issues
3133
3134 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3135
3136         * factory.C: submenu for Note/Comment/Greyedout
3137
3138 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3139
3140         * lyx_main.C (LyX):
3141         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3142
3143 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3144
3145         * LaTeXFeatures.C:
3146         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3147         greyedout. Patch provided by Jürgen Spitzmüller.
3148
3149 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3150
3151         * kbmap.C (read): fix error message when reading bind files
3152
3153 2003-07-29  Angus Leeming  <leeming@lyx.org>
3154
3155         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3156         certainly does not do what it purports to do. I am doing it, and
3157         us, a favour by killing it.
3158
3159 2003-07-28  José Matos  <jamatos@lyx.org>
3160
3161         * buffer.C (readBody, do_writeFile):
3162         * paragraph.C(readParagraph): \end_document replaces \the_end.
3163
3164 2003-07-29  André Pönitz  <poenitz@gmx.net>
3165
3166         * BufferView.[Ch]:
3167         * BufferView_pimpl.[Ch]:
3168         * lyxfunc.C:
3169         * text2.C:
3170         * text3.C:
3171         * textcursor.[Ch]: remove toggleToggle & Co
3172
3173 2003-07-28  José Matos  <jamatos@fep.up.pt>
3174
3175         * buffer.C (readParagraph):
3176         * params_func (readParToken, readParagraph):
3177         * paragraph.C (write): \layout -> \begin_layout.
3178
3179 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * lyxlex_pimpl.C (setFile): clean up slightly.
3182
3183         * bufferparams.h: add compressed var
3184
3185         * buffer_funcs.C (readFile): adjust for LyXLex change
3186         (newFile): ditto + simplify
3187
3188         * buffer.C (writeFile): handle writing of compressed files
3189
3190         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3191         Check if the file is compressed and set a bufferparm if so.
3192
3193         * Makefile.am (lyx_LDADD): remove explicit -lz
3194
3195 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3196
3197         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3198         makeDocBookFile): put the real LyX version in the first line of
3199         the file
3200
3201         * version.h:
3202         * version.C.in: remove lyx_docversion
3203
3204         * tabular.C (write_attribute): add a template-based version to
3205         write enums properly
3206
3207 2003-07-28  André Pönitz  <poenitz@gmx.net>
3208
3209         * lyxtext.h:
3210         * text.C:
3211         * text2.C:
3212         * text3.C: use doubles again for x-coordinates. They are needed.
3213
3214 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * messages.C (getLocaleDir): use lyx_localedir()
3217
3218         * lyxlex_pimpl.C (setFile): compress stuff
3219
3220         * buffer.C (writeFile): add some compression stuff
3221         (do_writeFile): new func, dont call expliti close... will this
3222         breake anything?
3223
3224         * Makefile.am (lyx_LDADD): add -lz
3225
3226 2003-07-28  José Matos  <jamatos@fep.up.pt>
3227
3228         * buffer.C: increment file format.
3229         * paragraph_funcs (readParagraph, readParToken):
3230         * paragraph.C (readParagraph): add \end_layout.
3231
3232 2003-07-27  Angus Leeming  <leeming@lyx.org>
3233
3234         * Makefile.am: remove special casing for configure-time setting of
3235         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3236
3237         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3238         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3239
3240 2003-07-26  André Pönitz  <poenitz@gmx.net>
3241
3242         * paragraph_func.[Ch]:
3243         * paragraph.C (realizeFont): inline it whereever it is used
3244
3245         * rowpainter.C:
3246         * text.C:
3247         * text2.C:
3248         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3249
3250
3251 2003-07-26  André Pönitz  <poenitz@gmx.net>
3252
3253         *       lyxtext.h:
3254         * text.C:
3255         * text2.C: get rid of LyXText::need_break_row
3256
3257 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3258
3259         * toc.[Ch]: put namespace toc inside namespace lyx
3260
3261         * MenuBackend.C (expandToc2): adjust for lyx::toc
3262         (expandToc): ditto
3263
3264         * lyxfunc.C (dispatch): adjust for lyx::find
3265
3266         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3267         lyx::find instead. Reorganize a bit.
3268         (LyXReplace): rename to replace
3269         (LyXFind): rename to find
3270
3271         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3272         (dispatch): ditto
3273
3274 2003-07-26  André Pönitz  <poenitz@gmx.net>
3275
3276         * text.C (setHeightOfRow): restrict scope of temporary variable
3277
3278         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3279           code (never has been used?)
3280
3281 2003-07-27  Asger Alstrup  <alstrup@local>
3282
3283         * text.C (fill): Optimise algorithm to exploit that we can reuse
3284         the LyXFont for many characters.
3285         (setHeightOfRow): Same thing.
3286         (rowBreakPoint): Same thing.
3287
3288 2003-07-26  Asger Alstrup  <alstrup@local>
3289
3290         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3291
3292         * text.C (singleWidth): Spurious font copying in hot-spot
3293         singleWidth avoided. Reorder tests for arabic for efficiency.
3294
3295         * text.C (fill): handle empty paragraphs better.
3296
3297 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3298
3299         * ispell.C:
3300         * encoding.h: add includes
3301
3302         * lyxrc.C: remove reading of bind files
3303
3304         * lyx_main.C (init): setup bindings and menus only if we have a
3305         gui.
3306
3307         * kbmap.C (read): new method. Do the actual reading of bind
3308         files.
3309
3310         * converter.C (dvipdfm_options):
3311         * bufferparams.C:
3312         * lyxrc.C (read):
3313         (output): adapt PAPER_* enums.
3314
3315         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3316
3317         * bufferparams.h: remove paper-related enums from there
3318
3319         * paper.h: New file. A trivial header file to hold paper-related
3320         enums. It should later expand to contain many paper-related
3321         horrors access.
3322
3323         * lyxrc.C: declare extern displayTranslator
3324
3325 2003-07-27  José Matos  <jamatos@fep.up.pt>
3326
3327         * tabular.[Ch] (linuxdoc): add support for tables and figures
3328         (linuxdoc).
3329
3330 2003-07-27  José Matos  <jamatos@fep.up.pt>
3331
3332         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3333         consistency in both functions.
3334         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3335
3336 2003-07-26  Asger Alstrup  <alstrup@local>
3337
3338         * rowpainter.C (paintRows): Change algorithm to work directly on
3339         the insets rather than asking every character in the document
3340         whether its an inset.
3341
3342 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3343
3344         * buffer.C (openFileWrite): factorize some code
3345
3346 2003-07-26  Angus Leeming  <leeming@lyx.org>
3347
3348         * lyx_cb.C:
3349         * lyx_main.[Ch]: replace occurances of system_tempdir with
3350         os::getTmpDir().
3351
3352 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * rename Inset to InsetOld
3355
3356 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3357
3358         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3359         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3360         which I think is a bit clearer. EDIT is gone, since it was
3361         premature optimisation, and broken for mathed anyway.
3362         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3363         with cursor positioning in insets as well (math insets still do not
3364         work, but that's a different story anyway.) It mysteriously
3365         crashes sometimes with undo in the first paragraph, but I'm fairly
3366         confident that this is a compiler bug.
3367
3368 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * paragraph.C (Paragraph): adjust for new clone return type
3371         (operator==): ditto
3372         (copyIntoMinibuffer): ditto
3373
3374 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3375
3376         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3377         by not having a special case, and always doing a full rebreak of
3378         the document after undo.
3379
3380 2003-07-23  Angus Leeming  <leeming@lyx.org>
3381
3382         * factory.C (createInset): InsetExternal::setParams now takes a
3383         Buffer const * arg.
3384
3385 2003-07-23  Angus Leeming  <leeming@lyx.org>
3386
3387         * factory.C (createInset): changed interface to the external and
3388         graphics mailers' string2params functions.
3389
3390 2003-07-23  Angus Leeming  <leeming@lyx.org>
3391
3392         * factory.C (createInset): pass a
3393         Buffer const * parameter to InsetExternalMailer's string2params.
3394
3395 2003-07-22  John Levon  <levon@movementarian.org>
3396
3397         * Thesaurus.h: include the right aiksaurus header
3398
3399 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3400
3401         * MenuBackend.C (expand): check menu shortcuts unconditionally
3402
3403 2003-07-21  Angus Leeming  <leeming@lyx.org>
3404
3405         * factory.C (createInset): pass a
3406         buffer_path parameter to InsetGraphicsMailer's string2params.
3407
3408 2003-07-21  Angus Leeming  <leeming@lyx.org>
3409
3410         * BufferView_pimpl.C (buffer):
3411         * buffer.C (d-tor):
3412         * lyx_main.C (LyX):
3413         * lyxfunc.C (dispatch):
3414         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3415         rather than the grfx shortcut.
3416
3417 2003-07-21  André Pönitz  <poenitz@gmx.net>
3418
3419         * rowpainter.C: remove unused variables
3420
3421         * tabular_funcs.C:
3422         * tabular_funcs.h: move to tabular.C
3423         * Makefile.am: adjust
3424
3425         * tabular.[Ch]: basic optical cleaning
3426
3427         * author.h: pass references, not values
3428
3429 2003-07-18  André Pönitz  <poenitz@gmx.net>
3430
3431         * lyxtext.h:
3432         * metricsinfo.C:
3433         * metricsinfo.h:
3434         * rowpainter.C:
3435         * text.C:
3436         * text2.C:
3437         * text3.C: two-phase drawing for InsetText and InsetTabular
3438         some float -> int changes.
3439
3440 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * lyx_main.C: fix the fix
3443
3444 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3445
3446         * lyx_main.C: fix a crash in batch mode if no files specified
3447         * converter.C: ws
3448
3449 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3450
3451         * format.[Ch] (papersize): moved to BufferParams
3452         * converter.[Ch] (dvips_options): moved to BufferParams
3453         (dvipdfm_options): moved to anon namespace
3454         * bufferparams.[Ch]: added above functions.
3455
3456 2003-07-17  André Pönitz  <poenitz@gmx.net>
3457
3458         * lyxtext.h:
3459         * rowpainter.C:
3460         * text2.C: don't call inset->update() anymore
3461
3462         * metricsinfo.[Ch]: add convenience constructor
3463
3464 2003-07-16  André Pönitz  <poenitz@gmx.net>
3465
3466         * lyxcursor.[Ch]:
3467         * lyxfunc.[Ch]:
3468         * text.C:
3469         * text2.C: replace the LyXCursor::irow_ member with
3470          on-demand computation of the value
3471
3472 2003-07-16  John Levon  <levon@movementarian.org>
3473
3474         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3475
3476 2003-07-15  André Pönitz  <poenitz@gmx.net>
3477
3478         * text.C:
3479         * text2.C: remove no more needed refresh_row
3480
3481 2003-07-15  André Pönitz  <poenitz@gmx.net>
3482
3483         * lyxtext.h:
3484         * rowpainter.C:
3485         * text2.C:
3486         * text3.C: refresh_status tristate -> need_update bool
3487
3488 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3489
3490         * lyxtext.h (init): remove reinit argument (act as if always true)
3491         * text2.C: adjust to that
3492
3493 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3494
3495         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3496         * text3.C: use it to delete selections in some cases
3497         (bugs 441, 673, 702, 954).
3498
3499 2003-07-14  André Pönitz  <poenitz@gmx.net>
3500
3501         * rowpainter.[Ch]: reduce interface
3502
3503 2003-07-14  André Pönitz  <poenitz@gmx.net>
3504
3505         * BufferView_pimpl.C:
3506         * text2.C: adjust after removing unused BufferView * argument
3507
3508 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3509
3510         * text2.C (init): fix a crash fired on resize
3511
3512 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3513
3514         * buffer.[Ch]: added new closing signal
3515         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3516         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3517         BufferView::Pimpl via the closing the signal
3518
3519 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3520
3521         * buffer.[Ch]: take out all bv-related from buffer
3522         * BufferView.C:
3523         * BufferView_pimpl.[Ch]: connect to new signals
3524         * CutAndPaste.C: removed useless asserts
3525         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3526         * lyxvc.[Ch]:
3527         * vc-backend.[Ch]:
3528         * lyxfunc.C: moved view-related funciontality from vc here
3529         * paragraph.C: removed outdated comments
3530         * text.C: ws
3531
3532 2003-07-10  André Pönitz  <poenitz@gmx.net>
3533
3534         * BufferView_pimpl.C:
3535         * tabular.h:
3536         * tabular_funcs.C:
3537         * text.C:
3538         * text2.C: remove InsetText::InnerCache, clean up consequences
3539
3540 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3541
3542         * ispell.C: fix two typos in error messages
3543
3544 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3545
3546         * Extend Note inset to other forms of annotation like Comment
3547         and Greyedout. Right button click gives dialog.
3548
3549         Files modified or added (+):
3550
3551         * insetnote.[Ch]
3552         * FormNote.[Ch]      +
3553         * ControlNote.[Ch]   +
3554         * form_note.fd       +
3555         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3556         frontends/controllers
3557         * xforms/Dialogs.C
3558         * factory.C
3559
3560 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3561
3562         * aspell.C: add missing namespace lyx::support
3563
3564 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * BufferView.[Ch] (newFile): Add
3567         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3568         * LaTeX.[Ch] (message): added this signal and use it
3569         * buffer.[Ch] (busy, message): added these signals and use them
3570         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3571         * converter.C:
3572         * exporter.C:
3573         * format.C:
3574         * importer.C: use buffer signals instead of direct bv calling
3575         * lyx_cb.[Ch] (ShowMessage): removed
3576         * lyx_main.C:
3577         * lyxfunc.C:
3578         * paragraph_funcs.C:
3579         * text2.C: use buffer signals
3580
3581 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * introduce namespace lyx::graphics
3584
3585 2003-07-02  André Pönitz  <poenitz@gmx.net>
3586
3587         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3588
3589 2003-07-01  André Pönitz  <poenitz@gmx.net>
3590
3591         * text.C:
3592         * text2.C:
3593         * text3.C:
3594         * text_funcs.[Ch]:
3595         * textcursor.h:
3596         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3597           text*.C to text_func.C
3598
3599 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3600
3601         * introduce namespace lyx::support
3602
3603 2003-06-30  André Pönitz  <poenitz@gmx.net>
3604
3605         * Chktex.C:
3606         * funcrequest.C:
3607         * lyxtext.h:
3608         * text.C: re-enable --with-included-string
3609
3610 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * textcursor.C: add <config.h>
3613
3614         * text.C (getWord): remove const from word_location arg
3615
3616         * lyxvc.C (getLogFile): fix const type order
3617
3618         * lyxtext.h: remove const from word_location arg, add arg name
3619
3620         * lyxlayout.h: currect type on labeltype.
3621
3622         * importer.C: correct \file
3623
3624         * converter.C (intToFormat): use std:: on ret val, ws changes
3625
3626         * bufferlist.h: correct \file
3627
3628         * buffer.C (makeLinuxDocFile): fix const type order
3629         (makeDocBookFile): ditto
3630         (fillWithBibKeys): use std:: on stdlib args.
3631
3632         * CutAndPaste.C: fix authors.
3633         (availableSelections): use std:: on return vector
3634
3635 2003-06-27  André Pönitz  <poenitz@gmx.net>
3636
3637         * BufferView_pimpl.C:
3638         * bufferview_funcs.C:
3639         * lyxcursor.C:
3640         * lyxcursor.h:
3641         * lyxfunc.C:
3642         * lyxtext.h:
3643         * rowpainter.C:
3644         * text.C:
3645         * text2.C:
3646         * text3.C: remove LyXCursor::row_ member
3647
3648         * lyxtext.h:
3649         * text.C: rename fullRebreak() to partialRebreak() and implement
3650           a fullRebreak() that really bereks fully
3651
3652         * textcursor.h: new struct for cursor-related data
3653
3654 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3655
3656         * lyx_main.C (LyX): get full path of document loaded on the
3657         command line
3658
3659 2003-06-26  André Pönitz  <poenitz@gmx.net>
3660
3661         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3662           remove unused/broken operator>,<,>=.
3663
3664         *       text.C: remove only use of broken operator<= in an Assert().
3665
3666 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3667
3668         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3669         moved errorlist_.clear to showErrorList
3670
3671 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3672
3673         * converter.C (scanLog, runLaTeX):
3674         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3675         move the bv->showErrorList call to the callers
3676         * lyxfunc.C: i.e. here...
3677         * text2.C: and here
3678         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3679         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3680         namespace, the second to...
3681         * buffer_funcs (BufferFormat, parseErrors): added
3682         * errorlist.C (ErrorList(TeXErrors const &)): removed
3683
3684 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3685
3686         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3687
3688 2003-06-24  "Garst R. Reese" <reese@isn.net>
3689
3690         * debug.C: fix typo
3691
3692 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3693
3694         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3695
3696         * version.C.in: change docversion to 1.4
3697
3698 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3699
3700         * buffer.C: fix a bug just introduced
3701
3702 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3703
3704         * buffer.[Ch]: added the parseError signal and use it, removed
3705         sgmlError
3706         * BufferView.[Ch] (addError): moved to ...
3707         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3708         to the Buffer::parseError signal to catch (guess what) parse errors
3709         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3710
3711 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3712
3713         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3714         ability to create a buffer and to return an existing one from
3715         the list. Moved these functions to...
3716         * buffer_funcs.[Ch]: added
3717         * BufferView.[Ch] (loadLyXFile): added
3718         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3719         job removed from bufferlist::loadLyXFile.
3720         * buffer.C (setReadOnly): make it work without view
3721         (i.e added an if (users))
3722
3723 2003-06-19  Angus Leeming  <leeming@lyx.org>
3724
3725         * lfuns.h:
3726         * LyXAction.C (init):
3727         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3728         with LFUN_DIALOG_SHOW <name> <data>.
3729
3730 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3731
3732         * CutAndPaste.C (availableSelections): small compilation fix for
3733         ancient (gcc 2.9x) compilers
3734
3735 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * text3.C (cursorNext): add tmp var
3738
3739         * text2.C (updateCounters): for function calling out of for clause
3740         (replaceSelectionWithString): ditto
3741         (insertStringAsParagraphs): ditto
3742         (getColumnNearX): add tmp var
3743         (setCursorFromCoordinates): add tmp var
3744         (cursorDownParagraph): add tmp var
3745         (deleteEmptyParagraphMechanism): add tmp var
3746
3747         * text.C (insertChar): add tmp var
3748
3749         * rowpainter.C (paintDepthBar): add tmp var
3750
3751         * CutAndPaste.C (availableSelections): potentially check all
3752         paragraphs in a cut to fill the shown strings.
3753
3754 2003-06-18  André Pönitz  <poenitz@gmx.net>
3755
3756         * kbmap.[Ch]: use vector<> instead of list<>
3757
3758 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3759
3760         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3761         pasteSelection with index
3762
3763         * text2.C (pasteSelection): modify, call pasteSelection with index
3764
3765         * paragraph.C (asString): reimplement version with no interval to
3766         call the one with interval.
3767
3768         * lyxtext.h: add index arg to pasteSelection
3769
3770         * MenuBackend.C (MenuItem): handle PasteRecent
3771         (Menu::read::Menutags): add md_pasterecent
3772         (read): handle it
3773         (expandPasteRecent): new function
3774         (expand): use it
3775
3776         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3777
3778         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3779         the limited stack
3780         (availableSelections): new function
3781
3782 2003-06-17  Angus Leeming  <leeming@lyx.org>
3783
3784         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3785
3786 2003-06-17  Angus Leeming  <leeming@lyx.org>
3787
3788         * lfuns.h:
3789         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3790
3791         * lyxfunc.C (dispatch): invoke it.
3792
3793 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3794
3795         * iterators.C (operator++, ParPosition): reintroduce some
3796         const_cast for the benefit of older compilers.
3797
3798 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3799
3800         * text3.C (dispatch): do not modify clipboard when doing
3801         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3802         LFUN_DELETE_SKIP on a selection selection
3803
3804 2003-06-16  André Pönitz  <poenitz@gmx.net>
3805
3806         * BufferView.C:
3807         * buffer.C:
3808         * buffer.h:
3809         * paragraph.C:
3810         * tabular.[Ch]: IU of clone() and getLabelList();
3811
3812 2003-06-13  André Pönitz  <poenitz@gmx.net>
3813
3814         * tabular.h: compactification
3815
3816 2003-06-12  André Pönitz  <poenitz@gmx.net>
3817
3818         * tabular.C:
3819         * tabular.h:
3820         * tabular_funcs.h: some renaming plus whitespace
3821
3822 2003-06-12  André Pönitz  <poenitz@gmx.net>
3823
3824         * BufferView.C:
3825         * BufferView_pimpl.C:
3826         * CutAndPaste.C:
3827         * buffer.C:
3828         * iterators.[Ch]:
3829         * lyxfunc.C:
3830         * text.C:
3831         * toc.C: Return a Paragraph & for ParIterator::operator*()
3832
3833 2003-06-11  John Levon  <levon@movementarian.org>
3834
3835         * lyx_main.C:
3836         * ToolbarBackend.h:
3837         * ToolbarBackend.C: add "Toolbars" section and
3838         put the flags there
3839
3840 2003-06-10  Angus Leeming  <leeming@lyx.org>
3841
3842         * lfuns.h:
3843         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3844
3845         * lyxfunc.C (dispatch): invoke it.
3846
3847 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * main.C: protect <ios> with HAVE_IOS
3850         (main): protect sync_with_stdio with HAVE_IOS
3851
3852 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3853
3854         * text2.C (cutSelection): adjust
3855         (pasteSelection): adjust
3856
3857         * messages.C: handle get of empty string
3858
3859         * main.C (main): use sync_with_stdio(false)
3860
3861         * lyxfunc.C (dispatch): adjust
3862
3863         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3864         (WriteAs): remove unneeded BufferView arg.
3865
3866         * bufferparams.h: use correct types on papersize, papersize2 and
3867         paperpackage.
3868
3869         * bufferparams.C (readToken): adjust for type
3870         (writeLaTeX): add missing cases to switch.
3871
3872         * bufferlist.C (quitWriteBuffer): adjust
3873         (close): adjust
3874
3875         * buffer.C (asciiParagraph): remove some commented code.
3876
3877         * CutAndPaste.C: remove current_view extern variable.
3878         (cutSelection): add BufferParams arg.
3879         (eraseSelection): add BufferParams arg.
3880         (pasteSelection): add Buffer const & arg
3881
3882 2003-06-07  John Levon  <levon@movementarian.org>
3883
3884         * buffer.C:
3885         * paragraph_funcs.C:
3886         * paragraph_pimpl.C:
3887         * text.C:
3888         * text2.C:
3889         * paragraph.h:
3890         * paragraph.C: allow InsetERT to freely space lines,
3891         and some consolidation of code
3892
3893 2003-06-06  José Matos  <jamatos@fep.up.pt>
3894
3895         * buffer.C (makeDocBookFile): fix bug #821
3896
3897 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3898
3899         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3900
3901 2003-06-04  Angus Leeming  <leeming@lyx.org>
3902
3903         * buffer.C: bump format to 224.
3904
3905 2003-06-05  André Pönitz  <poenitz@gmx.net>
3906
3907         * text2.C (redoParagraphs): remove two const_cast<>
3908
3909 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3910
3911         * ParagraphList.h: remove last remnants of NO_STD_LIST
3912
3913 2003-06-03  Angus Leeming  <leeming@lyx.org>
3914
3915         * factory.C (createInset): small change to the way InsetExternal's params
3916         are set.
3917
3918 2003-06-04  André Pönitz  <poenitz@gmx.net>
3919
3920         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3921
3922         * paragraph_pimpl.h:
3923         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3924
3925         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3926
3927         * undo_funcs.C: make some simple cases of undo work again
3928
3929 2003-06-03  John Levon  <levon@movementarian.org>
3930
3931         * ispell.C: HPUX doesn't have sys/select.h
3932         (from Albert Chin)
3933
3934 2003-06-03  John Levon  <levon@movementarian.org>
3935
3936         * CutAndPaste.C: update tabular and include inset
3937         buffer references
3938
3939         * buffer.h:
3940         * paragraph.h:
3941         * paragraph.C: remove owningBuffer(), don't pass Buffer
3942         to clone()
3943
3944         * factory.C: insetGraphicsParams changed
3945
3946 2003-06-02  John Levon  <levon@movementarian.org>
3947
3948         * LyXAction.C:
3949         * factory.C:
3950         * lfuns.h:
3951         * lyxfunc.C:
3952         * text3.C: remove insetparent
3953
3954 2003-06-02  John Levon  <levon@movementarian.org>
3955
3956         * buffer.h:
3957         * buffer.C: fix inset_iterator.end(), move out of line
3958         (bug 1149)
3959
3960 2003-06-01  John Levon  <levon@movementarian.org>
3961
3962         * text3.C: use a proper cut/paste when doing inset
3963         insert (from Jürgen Spitzmüller)
3964
3965 2003-06-01  John Levon  <levon@movementarian.org>
3966
3967         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3968
3969 2003-05-30  André Pönitz  <poenitz@gmx.net>
3970
3971         * rowpainter.C: unify second drawing phase
3972
3973 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * trans_mgr.C: remove one case of current_view
3976
3977         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3978
3979         * paragraph_funcs.h: remove paragraph.h include
3980
3981         * paragraph.h: delete NO_STD_LIST stuff
3982
3983         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3984
3985         * buffer.h: remove paragraph.h include
3986
3987         * ParagraphList.C: delete file
3988
3989         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3990
3991         * toc.C (getTocList): adjust
3992
3993         * paragraph_pimpl.C (validate): adjust
3994
3995         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3996
3997         * paragraph.C (Paragraph): adjust
3998         (getPositionOfInset): use const_iterator, adjust
3999         (bibitem): use const_iterator, adjust
4000         (setInsetOwner): adjust
4001
4002         * iterators.C (operator++): adjust
4003
4004         * InsetList.[Ch]: Replace selfmade iterator with standard
4005         vector::iterator also introduce const_iterator. Remove getPos,
4006         getInset and setInset from InsetTable. Adjust accordingly.
4007
4008         * BufferView.C (lockInset): adjust
4009         (ChangeInsets): adjust
4010
4011         * tabular.[Ch]: delete commented same_id functions
4012
4013 2003-05-28  John Levon  <levon@movementarian.org>
4014
4015         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4016
4017 2003-05-28  André Pönitz  <poenitz@gmx.net>
4018
4019         * metricsinfo.[Ch]: remove 'fullredraw' member
4020
4021 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4022
4023         * lyxtextclass.C (operator): remove caching.
4024
4025 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * text3.C: adjust
4028
4029         * text2.C (cursorBottom): adjust
4030         (setCounter): use ParagraphList::find, adjust
4031
4032         * text.C (workWidth): use ParagraphList::find, adjust
4033
4034         * lyxcursor.C (LyXCursor): adjust
4035
4036         * buffer.C (inset_iterator): adjust
4037
4038         * ParagraphList.h: make iterator(value_type) private, make
4039         ParagraphList a friend of iterator.
4040
4041         * ParagraphList.C (find): new function
4042
4043         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4044
4045 2003-05-27  André Pönitz  <poenitz@gmx.net>
4046
4047         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4048
4049 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4050
4051         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4052
4053 2003-05-26  John Levon  <levon@movementarian.org>
4054
4055         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4056
4057 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4058
4059         * remove same_id from function signatures, adjust.
4060
4061 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4064
4065         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4066
4067         * paragraph.C (Paragraph): get rid of same_ids parameter
4068
4069         * ParagraphList.C (insert): adjust
4070         (push_back): adjust
4071
4072 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * paragraph_funcs.C (breakParagraph): adjust
4075         (breakParagraphConservative): adjust
4076
4077         * buffer.C (readParagraph): adjust
4078
4079         * ParagraphList.C (insert): take a reference instead of a pointer
4080         (insert): adjust
4081
4082         * paragraph.[Ch] (id): new function
4083
4084         * bufferlist.C (newFile): adjust
4085
4086         * ParagraphList.C (ParagraphList): adjust
4087         (assign): adjust
4088         (push_back): take a reference instead of a pointer.
4089
4090         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4091
4092         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4093         instead.
4094
4095         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4096         set else use old code.
4097
4098         * ParagraphList.C: remove all NO_NEXT code and only compile this
4099         code of NO_STD_LIST is set.
4100
4101 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * BufferView_pimpl.C:
4104         * TextCache.C:
4105         * TextCache.h:
4106         * bufferlist.C:
4107         * errorlist.h:
4108         * format.C:
4109         * format.h:
4110         * graph.C:
4111         * lyxfunc.C:
4112         * lyxrc.C:
4113         * graphics/GraphicsConverter.C:
4114         * graphics/PreviewLoader.C: header adjustment
4115
4116 2003-05-23  Angus Leeming  <leeming@lyx.org>
4117
4118         * LaTeXFeatures.[Ch] (useBabel): new method.
4119         * bufferparams.C (writeLaTeX): use it.
4120
4121 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * ParagraphList.h (set): remove unused function.
4124
4125 2003-05-23  André Pönitz  <poenitz@gmx.net>
4126
4127         * BufferView.C:
4128         * BufferView_pimpl.C:
4129         * buffer.C:
4130         * buffer.h:
4131         * lyxfunc.C:
4132         * undo_funcs.C: setUndo reworked
4133
4134         * iterators.[Ch]: add access to topmost ParagraphList
4135
4136         * lyxtext.[Ch] (workWidth): add a const
4137
4138 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4139
4140         * texrow.[Ch] (increasePos): remove function
4141         * exporter.C (export): removed unused var and outdated comment
4142
4143 2003-05-23  Angus Leeming  <leeming@lyx.org>
4144
4145         * latexrunparams.h: rename fragile as moving_arg.
4146         * paragraph.C (simpleTeXOnePar): ditto.
4147         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4148
4149 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4152         (createUndo): ditto
4153         (textUndoOrRedo): comment out a currently unused var.
4154
4155         * paragraph.h (NO_NEXT): enable NO_NEXT
4156
4157         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4158
4159         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4160
4161         * exporter.C (Export): adjust for removeAutoInsets removal.
4162
4163         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4164
4165         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4166
4167         * BufferView.[Ch] (removeAutoInsets): delete function
4168
4169 2003-05-22  Angus Leeming  <leeming@lyx.org>
4170
4171         * latexrunparams.h: add a free_spacing variable.
4172
4173         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4174         to pass moving_arg, as the data is stored in runparams.fragile.
4175
4176         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4177         to Inset::latexOptional or to simpleTeXOnePar.
4178
4179         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4180         free_spacing arg to Inset::latexOptional.
4181
4182         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4183         free_spacing arg.
4184
4185 2003-05-22  Angus Leeming  <leeming@lyx.org>
4186
4187         * latexrunparams.h: add fragile and use_babel variables.
4188
4189         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4190         * buffer.C (makeLaTeXFile): store this returned value in
4191         runparams.use_babel, thus passing it to the inset::latex methods.
4192
4193         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4194         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4195
4196         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4197         longer has a fragile arg, as it is stored in runparams.fragile.
4198
4199         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4200         moving_arg parameter as the data is stored in runparams.fragile.
4201
4202         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4203         a fragile parameter as the data is stored in runparams.fragile.
4204
4205 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4208
4209 2003-05-22  Angus Leeming  <leeming@lyx.org>
4210
4211         * latexrunparams.h: add a 'bool nice' which defaults to false.
4212
4213         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4214         now encapsulated within runparams.
4215
4216         * bufferlist.C (updateIncludedTeXfiles):
4217         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4218
4219 2003-05-22  Angus Leeming  <leeming@lyx.org>
4220
4221         * latexrunparams.h: new file containing struct LatexRunParams.
4222         * Makefile.am: add new file.
4223
4224         * LaTeX.[Ch] (c-tor, run):
4225         * buffer.[Ch] (makeLaTeXFile):
4226         * bufferlist.[Ch] (updateIncludedTeXfiles):
4227         * converter.C (convert, scanLog):
4228         * converter.[Ch] (runLaTeX):
4229         * exporter.C (Export):
4230         * paragraph.[Ch] (simpleTeXOnePar):
4231         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4232         * paragraph_funcs.[Ch] (latexParagraphs):
4233         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4234         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4235         pass around a LatexRunParams parameter.
4236
4237 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * paragraph.[Ch]: remove unused constructor
4240
4241         * ParagraphList.C (erase): new function, taking two iterators
4242
4243 2003-05-22  André Pönitz  <poenitz@gmx.net>
4244
4245         * undo_funcs.C: remove duplicated code
4246
4247         * iterator.[Ch]: operator=
4248
4249 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4250
4251         * tabular.C (SetMultiColumn): ws changes
4252
4253         * rowpainter.C (paintFirst): get rid of a ->previous
4254
4255         * lyx_cb.C (getPossibleLabel): parlist simplification
4256
4257         * BufferView.C (ChangeInsets): simplify slightly.
4258
4259 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4260
4261         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4262         * lfuns.h: new LFUN_SPACE
4263         * lyxfunc.C: protected space has a new lfun
4264         * paragraph_funcs.C: read new space insets
4265         * text3.C:
4266         * factory.C: handle new space insets
4267
4268 2003-05-22  André Pönitz  <poenitz@gmx.net>
4269
4270         * BufferView.C:
4271         * BufferView_pimpl.C:
4272         * buffer.[Ch]:
4273         * lyxfunc.C:
4274         * undo_funcs.C: return a ParIterator from getParFromID.
4275
4276         * iterators.[Ch]: add two const's
4277
4278 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * toc.C (getTocList): adjust
4281
4282         * iterators.[Ch]: rework for parlist
4283
4284         * buffer.C (par_iterator_begin): adjust
4285         (par_iterator_end): adjust
4286
4287         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4288
4289         * BufferView.C (removeAutoInsets): adjust
4290         (ChangeInsets): adjust
4291
4292 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4293
4294         * text.C (top_y): fix bug 1110
4295
4296 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4297
4298         * errorlist.[Ch]: added
4299         * buffer.C:
4300         * BufferView.[Ch]:
4301         * BufferView_pimpl.C:
4302         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4303         instead
4304
4305 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * Makefile.am: ensure that lyx is relinked upon changes to the
4308         various "convenience" libs.
4309
4310 2003-05-20  Angus Leeming  <leeming@lyx.org>
4311
4312         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4313         files are compiled in alphabetical order again.
4314
4315         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4316
4317 2003-05-19  Angus Leeming  <leeming@lyx.org>
4318
4319         * gettext.[Ch]: remove "char const * _(char const *)".
4320
4321 2003-05-19  André Pönitz  <poenitz@gmx.net>
4322
4323         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4324
4325         * Makefile.am:
4326         * BufferView.C:
4327         * DepTable.h:
4328         * LaTeXFeatures.C:
4329         * buffer.C:
4330         * lyxfont.C:
4331         * lyxlex.h:
4332         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4333
4334 2003-05-19  André Pönitz  <poenitz@gmx.net>
4335
4336         * buffer.C:
4337         * lyxlayout.[Ch]:
4338         * lyxtextclass.[Ch]:
4339         * paragraph.C:
4340         * paragraph_funcs.[Ch]:
4341         * text2.C:
4342         * text3.C: more insetenv work
4343
4344 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4345
4346         * ParagraphParameters.C (params2string): small bug fixed
4347
4348 2003-05-16  André Pönitz  <poenitz@gmx.net>
4349
4350         * debug.C:
4351         * bufferview_funcs.C: patch from Kornel Benko to prevent
4352           crash when _(...) is called twice in a statement
4353
4354 2003-05-16  André Pönitz  <poenitz@gmx.net>
4355
4356         * BufferView.C:
4357         * lyxfunc.C:
4358         * text.C:
4359         * text2.C:
4360         * text3.C:
4361         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4362
4363 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * lyx_main.C (init): remove spurious static_cast
4366
4367 2003-05-14  André Pönitz  <poenitz@gmx.net>
4368
4369         * BufferView.C: fix format string
4370
4371 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4372
4373         * BufferView.[Ch] (insertErrors): removed
4374         * BufferView.[Ch] (showErrorList): added
4375         * buffer.C (runChkTeX):
4376         * converter.C (scanLog): call showErrorList instead of inserterrors
4377
4378 2003-05-13  André Pönitz  <poenitz@gmx.net>
4379
4380         * BufferView_pimpl.C:
4381         * buffer.C:
4382         * bufferview_func.C:
4383         * MenuBackend.C:
4384         * lyxfunc.C:
4385         * lyxrc.C:
4386         * tex-accent.C:
4387         * text3.C:
4388         * toc.C:
4389         * tabular_funcs.h: tostr() from its own header
4390
4391         * ParagraphParameters.C:
4392         * ToolbarBackend.C:
4393         * bufferparams.C:
4394         * format.C:
4395         * lyxlex_pimpl.C:
4396         * text3.C: STRCONV()
4397
4398 2003-05-12  André Pönitz  <poenitz@gmx.net>
4399
4400         * BufferView.C:
4401         * BufferView_pimpl.C:
4402         * CutAndPaste.C:
4403         * LaTeX.C:
4404         * LaTeXFeatures.C:
4405         * ParagraphParameters.C:
4406         * buffer.C:
4407         * bufferlist.C:
4408         * bufferparams.C:
4409         * bufferview_funcs.C:
4410         * converter.C:
4411         * counters.C:
4412         * debug.C:
4413         * exporter.C:
4414         * format.C:
4415         * importer.C:
4416         * lyx_cb.C:
4417         * lyx_main.C:
4418         * lyxfont.C:
4419         * lyxfunc.C:
4420         * lyxvc.C:
4421         * paragraph.C:
4422         * paragraph_funcs.C:
4423         * tabular.C:
4424         * tabular_funcs.C:
4425         * text2.C:
4426         * text3.C:  boost::format -> bformat  all over the place
4427
4428
4429 2003-05-09  André Pönitz  <poenitz@gmx.net>
4430
4431         * LColor.[Ch]: Pimpl the #include <map> away
4432
4433 2003-05-09  John Levon  <levon@movementarian.org>
4434
4435         * bufferlist.C: never remove emergency saves
4436
4437 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * Makefile.am: better lib building
4440
4441 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4444         instead.
4445         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4446         (simpleTeXSpecialChars): adjust
4447         (simpleTeXSpecialChars): adjust
4448         * paragraph.C (simpleTeXOnePar): adjust
4449         * buffer.C (makeLaTeXFile): adjust
4450
4451         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4452
4453         * text2.C (changeDepth): parlist cleanup
4454         (getColumnNearX): ditto
4455
4456         * rowpainter.C (getLabelFont): parlist cleanup
4457
4458         * bufferlist.C (newFile): parlist cleanup
4459
4460         * CutAndPaste.C (eraseSelection): parlist cleanup
4461
4462         * BufferView_pimpl.C (trackChanges): parlist cleanup
4463         (dispatch): ditto
4464
4465         * BufferView.C (lockInset): parlist cleanup.
4466         (ChangeInsets): ditto
4467
4468 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * CutAndPaste.h: Update file header.
4471
4472         * CutAndPaste.C: Update file header.
4473         Store the parts cut out of the Document in a limited_stack.
4474         (copySelection): adjust
4475         (pasteSelection): new function, takes the index in the limited stack.
4476         (nrOfParagraphs): adjust
4477         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4478         simplify error inset insertion.
4479         (checkPastePossible): adjust
4480
4481 2003-05-06  John Levon  <levon@movementarian.org>
4482
4483         * text2.C: don't cast wrap inset to float
4484
4485 2003-05-05  André Pönitz  <poenitz@gmx.net>
4486
4487         * iterator.C:
4488         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4489
4490         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4491           few naked Paragraph *.
4492
4493 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4494
4495         * bufferparams.C: Output warning if a document with missing
4496         TeX document class is loaded
4497         * exporter.C: Disable TeX exports if the document class is missing
4498         * lyxtextclass.C:
4499         * lyxtextclass.h:
4500         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4501         isTeXClassAvailable()
4502
4503 2003-05-03  John Levon  <levon@movementarian.org>
4504
4505         * BufferView.h:
4506         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4507         explicit cursor show/hide
4508
4509         * BufferView_pimpl.h:
4510         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4511         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4512
4513         * lyxfunc.C: hide cursor before dispatching.
4514
4515         * lyx_cb.C:
4516         * lyxfind.C:
4517         * text.C:
4518         * text3.C: remove explicit cursor hides
4519
4520 2003-05-02  André Pönitz  <poenitz@gmx.net>
4521
4522         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4523
4524         * undo_funcs.C:
4525         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4526           linked lists
4527
4528         * text2.C: tiny whitespace
4529
4530 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * undo_funcs.C: almost only ws changes.
4533
4534         * ParagraphList.C (splice): just return if pl is empty.
4535
4536 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * ParagraphList.C (splice): new function.
4539
4540         * CutAndPaste.C (pasteSelection): use it
4541
4542 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * CutAndPaste.C (pasteSelection): remove the last next and
4545         previous from this file.
4546
4547 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * CutAndPaste.C (pasteSelection): more clean up, user proper
4550         ParagraphList functions for pasteing.
4551
4552         * ParagraphList.C (insert): new function, three arg insert
4553
4554 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4555
4556         * ParagraphList.C (insert): new function, three arg insert
4557
4558         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4559         not on paragraphs.
4560
4561 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4564
4565 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4568
4569 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4572         (copySelection): clean up a bit.
4573         (pasteSelection): use make_pair
4574
4575         * ParagraphList.C (ParagraphList): implement copy constructor
4576         (operator=): implement, base on copy constructor.
4577         (assign): new func
4578
4579         * paragraph.C (erase): return a bool
4580
4581         * paragraph_pimpl.C (erasePos): remove function, move contents...
4582         (erase): ... here. Return a bool.
4583         (erase): call erase instead of erasePos.
4584
4585 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4586
4587         * ParagraphList.h: define PitPosPair
4588         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4589         ParagraphList, fix a bug on pasting multiple pars
4590         * text2.C: change interface to C&P
4591
4592 2003-04-30  André Pönitz  <poenitz@gmx.net>
4593
4594         * undo_func.C: revert part of yesterday's patch 2
4595
4596 2003-04-30  John Levon  <levon@movementarian.org>
4597
4598         * LColor.C: s/tabular/table/
4599
4600 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * text3.C (dispatch): do not convert iterator -> pointer
4603         * undo_funcs.C (setCursorParUndo): ditto
4604         * text_funcs.C (transposeChars): ditto
4605
4606         * text2.C (setLayout): ws changes only
4607
4608         * text.C (breakParagraph): do not convert iterator -> pointer
4609         (insertChar): ditto
4610         (acceptChange): ditto
4611         (rejectChange): ditto
4612         (changeCase): ditto
4613         (Delete): ditto
4614         (backspace): ditto
4615
4616         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4617         pointer
4618
4619 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * text3.C (gotoInset): YABG (yet another bad getChar)
4622
4623 2003-04-29  André Pönitz  <poenitz@gmx.net>
4624
4625         * paragraph.h: make operator= private unimplemented as long as
4626           it is unusable
4627
4628         * ParagraphList.C: whitespace
4629
4630         * paragraph.[Ch]:
4631         * paragraph_pimpl.[Ch]:
4632         * paragraph_funcs.C:
4633         * CutAndPaste.C:
4634         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4635
4636         * text2.C:
4637           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4638
4639 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4640
4641         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4642         * paragraph.[Ch] (erase):
4643         * paragraph_pimpl.[Ch] (erase): change return type and value
4644         * text2.C (cutSelection): some rework
4645
4646 2003-04-28  John Levon  <levon@movementarian.org>
4647
4648         * bufferlist.C: changes for unsaved changes dialog
4649
4650 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4651
4652         * bufferlist.C (newFile): set language (messages_) for new
4653         documents also.
4654
4655         * buffer.C (readFile): ws changes only.
4656
4657 2003-04-28  André Pönitz  <poenitz@gmx.net>
4658
4659         * undo_funcs.C:
4660         * lyxfunc.C:
4661         * buffer.[Ch]:
4662         * BufferView_pimpl.C:
4663         * BufferView.C: getParFromID related ParagraphList::iterator changes
4664
4665 2003-04-28  André Pönitz  <poenitz@gmx.net>
4666
4667         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4668           Changes
4669
4670 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * messages.C: remove one more localedir class variable.
4673
4674 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * messages.C (getLocaleDir): singleton generation function
4677         (Pimpl): use it.
4678         (Messages): add a default constructor.
4679
4680         * main.C (main): do not setup localedir here, do not call
4681         gettext_init.
4682
4683         * gettext.C (_): use it.
4684         (gettext_init): delete funciton
4685
4686 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * gettext.C (getLyXMessages): new singleton generating function.
4689
4690         * buffer.C (updateDocLang): adjust
4691
4692         * Makefile.am (messages.o): add target
4693         (main.o): remove target
4694
4695 2003-04-27  John Levon  <levon@movementarian.org>
4696
4697         * bufferlist.C:
4698         * lyx_cb.C:
4699         * lyxfunc.C:
4700         * lyxvc.C: specify cancel button in Alert::prompt
4701
4702 2003-04-26  John Levon  <levon@movementarian.org>
4703
4704         * text3.C:
4705         * lyxfunc.C:
4706         * lfuns.h:
4707         * LyXAction.C: add LFUN_INSET_SETTINGS
4708
4709         * lyxfunc.C: don't enable tabular-feature when there's
4710         just any locking inset
4711
4712 2003-04-26  John Levon  <levon@movementarian.org>
4713
4714         * bufferlist.C: re-add Cancel to buffer close question
4715
4716         * lyxfunc.C: fix import UI a bit
4717
4718 2003-04-25  John Levon  <levon@movementarian.org>
4719
4720         * gettext.C: remove the broken asserts for now
4721
4722 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * messages.C: make case where setlocale cannot comply work better.
4725
4726         * buffer.C (updateDocLang): new function
4727         (changeLanguage): use it
4728         (readFile): use it
4729
4730         * text2.C (setCounter): use B_ a bit.
4731
4732         * lyxlayout.C (Read): be sure to trim the label strings.
4733
4734         * messages.C (Messages): fix typo in comment
4735
4736         * buffer.C (readFile): set message_ after file is loaded.
4737         (makeDocBookFile): remove double return
4738         (changeLanguage): reset message_ upon language change.
4739         (B_): new func, use this to get translated buffer strings.
4740
4741         * main.C: add myself and Jean Marc as authors.
4742
4743 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * messages.[hC]: pimplify Messages, and three different pimpls to be
4746         used in different circumstances.
4747
4748         * gettext.[Ch]: change for use with new message code.
4749
4750 2003-04-24 André Pönitz <poenitz@gmx.net>
4751
4752         * factory.C: support for eqref
4753
4754 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4755
4756         * messages.[Ch]: add missing char
4757
4758         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4759
4760         * messages.[Ch]: New files
4761
4762 2003-04-18  John Levon  <levon@movementarian.org>
4763
4764         * BufferView.h:
4765         * BufferView.C:
4766         * BufferView_pimpl.C:
4767         * lfuns.h:
4768         * LyXAction.C:
4769         * lyxtext.h:
4770         * text2.C: remove layout-copy/paste (bug 778)
4771
4772 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4773
4774         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4775
4776 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4777
4778         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4779         if they succeed. Act accordingly.
4780
4781 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * text2.C (setCharFont): adjust
4784         (setCounter): adjust
4785         (insertStringAsLines): adjust
4786
4787         * text.C (leftMargin): adjust
4788         (setHeightOfRow): adjust
4789
4790         * rowpainter.C (paintFirst): adjust
4791         (paintLast): adjust
4792
4793         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4794         (outerHook): ditto
4795         (isFirstInSequence): ditto
4796         (getEndLabel): ditto
4797         (outerFont): adjust
4798
4799         * paragraph.C (getParLanguage): comment out some hard stuff.
4800
4801         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4802         (sgmlError): ditto
4803         (simpleDocBookOnePar): ditto
4804         (makeDocBookFile): use ParagraphList::iterator
4805
4806         * CutAndPaste.C (pasteSelection): adjust
4807
4808 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4809
4810         * text2.C (getFont): adjust
4811         (getLayoutFont): adjust
4812         (getLabelFont): adjust
4813
4814         * paragraph_funcs.C (TeXOnePar): adjust
4815
4816         * buffer.C (simpleLinuxDocOnePar): adjust
4817         (simpleDocBookOnePar): adjust
4818
4819         * CutAndPaste.C (pasteSelection): adjust
4820
4821         * BufferView.C (getEncoding): adjust
4822
4823         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4824
4825 2003-04-16  John Levon  <levon@movementarian.org>
4826
4827         * lyxfind.C: use parlist stuff for search/changes
4828
4829 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4832
4833         * text2.C (deleteEmptyParagraphMechanism): adjust
4834
4835         * text2.[Ch] (ownerParagraph): delete func (both of them
4836
4837 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4840
4841 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4842
4843         * ParagraphList.C: prepare for NO_NEXT
4844
4845 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4846
4847         * text2.C (getFont): adjust
4848         (getLayoutFont): adjust
4849         (getLabelFont): adjust
4850
4851         * paragraph.C (getFont): adjust
4852         (getLabelFont): adjust
4853         (getLayoutFont): adjust
4854
4855         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4856
4857 2003-04-15  John Levon  <levon@movementarian.org>
4858
4859         From Angus Leeming
4860
4861         * lyx_main.C: handle Include in .ui files
4862
4863 2003-04-15  John Levon  <levon@movementarian.org>
4864
4865         * MenuBackend.C: make the doc files length shorter
4866
4867         * ToolbarBackend.h:
4868         * ToolbarBackend.C: handle toolbar placement flags,
4869         Minibuffer
4870
4871 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4872
4873         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4874         adjust
4875
4876         * paragraph_funcs.C (TeXOnePar): adjust
4877
4878         * paragraph.C (getLabelFont): add outerfont arg, adjust
4879         (getLayoutFont): ditto
4880         (simpleTeXOnePar): adjust
4881
4882         * paragraph_pimpl.C (realizeFont): delete func
4883
4884 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4885
4886         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4887         row argument, constify cur argument.
4888
4889 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * text2.C (getFont): adjust
4892         (getLayoutFont): adjust
4893         (getLabelFont): adjust
4894
4895         * paragraph_funcs.C (TeXOnePar): adjust
4896         (outerFont): new func...
4897         (realizeFont): ...moved out from here, changed this to facilitate
4898         transition
4899
4900         * paragraph.C (getFont): take outerfont as arg, adjust
4901         (simpleTeXOnePar): add outerfont arg, adjust
4902
4903         * buffer.C (simpleLinuxDocOnePar): adjust
4904         (simpleDocBookOnePar): adjust
4905
4906         * CutAndPaste.C (pasteSelection): adjust
4907
4908         * BufferView.C (getEncoding): adjust
4909
4910 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * text2.C (setCharFont): adjust
4913         (setCounter): adjust
4914
4915         * text.C (leftMargin): adjust
4916         (setHeightOfRow): adjust
4917
4918         * rowpainter.C (paintFirst): adjust
4919         (paintLast): adjust
4920
4921         * paragraph_pimpl.C (realizeFont): adjust
4922
4923         * paragraph.C (isFirstInSequence): move from here...
4924         * paragraph_funcs.C (isFirstInSequence): ...to here
4925
4926         * paragraph.C (outerHook): move from here...
4927         * paragraph_funcs.C (outerHook): ...to here
4928
4929         * paragraph.C (depthHook): move from here...
4930         * paragraph_funcs.C (depthHook): ...to here
4931
4932         * paragraph.C (getEndLabel): move from here...
4933         * paragraph_funcs.C (getEndLabel): ...to here
4934
4935         * text2.C (realizeFont): move from here...
4936         * paragraph_funcs.C (realizeFont): ...to here
4937
4938 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4941
4942 2003-04-14  Angus Leeming  <leeming@lyx.org>
4943
4944         * LColor.[Ch]: scrap LColor mathcursor.
4945
4946 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4947
4948         * lyxlex.[Ch] (text): delete function
4949         * trans.C (Load): adjust
4950         * paragraph_funcs.C (readParToken): adjust
4951
4952 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4953
4954         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4955         vector<char> instead of a char[].
4956
4957         * lyxlex_pimpl.C (getString): adjust
4958         (next): adjust
4959         (lex): use getString
4960         (eatLine): adjust
4961         (nextToken): adjust
4962
4963         * lyxlex.C (text): use pimpl_->getString()
4964         (getBool): ditto
4965         (findToken): ditto
4966
4967 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4970         (makeFontEntriesLayoutSpecific): temp var for par.size()
4971         (setLayout): temp var for ownerParagraphs().end()
4972         (fullRebreak): temp var for rows().end()
4973         (selectionAsString): temp var for boost::next(startpit), realize
4974         that the while really is a regular for loop.
4975         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4976         setCursor in one place.
4977         (setParagraph): temp vr for ownerParagraphs().end()
4978         (updateCounters): make the while loop a for loop
4979         (cutSelection): temp var for ownerParagraphs().end()
4980         (updateInset): make the do {} while() a regular for loop
4981         (getCursorX): use temp vars
4982         (setCurrentFont): use temp vars
4983         (getColumnNearX): use temp vars
4984
4985 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * text.C (transformChar): use temp var for getChar
4988         (computeBidiTables): use temp var for row->par()
4989         (fill): move temp vars for row->par() and pit->layout() earlier in
4990         the function.
4991         (labelFill): use temp var for row->par()
4992         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4993         asc and desc, realize that pit never changes and that firstpit is
4994         just a duplicate and not needed. Exchange rit->par() with pit in a
4995         lot of places.
4996         (breakAgain): use a temp var for boost::next(rit)
4997         (breakAgainOneRow): ditto
4998         (breakParagraph): use a temp var for rows().begin()
4999         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5000         (cursorRightOneWord): use temp var for cursor.par() and
5001         cursor.pos(), remove usage of tmpcursor.
5002         (cursorLeftOneWord): use temp var for cursor.par() and
5003         cursor.pos() only set cur at end of function.
5004
5005 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5006
5007         * text.C, text2.C: exchange all usage of Paragraph::next with
5008         boost::next(ParagraphList::iterator)
5009
5010         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5011
5012         * text2.C (cursorTop): simplify implementation
5013         (cursorBottom): ditto
5014         (setParagraph): use ParagraphList::iterator
5015         (setCurrentFont): adjust
5016         (getColumnNearX): adjust
5017         (cursorRight): adjust
5018         (cursorLeft): remove usage of Paragraph::previous
5019         (cursorUpParagraph): ditto
5020         (deleteEmptyParagraphMechanism): slight cleanup
5021
5022         * text.C (isBoundary): take a Paragraph const & instead of a
5023         pointer as arg.
5024         (addressBreakPoint): ditto
5025         (leftMargin): remove usage of Paragraph::previous.
5026         (setHeightOfRow): ditto
5027         (cursorLeftOneWord): ditto
5028         (selectNextWordToSpellcheck): ditto
5029         (Delete): ditto
5030         (backspace): ditto
5031         (breakParagraph): remove one usage of Paragraph::next
5032         (redoParagraph): ditto
5033         (acceptChange): ditto
5034         (insertChar): adjust
5035         (rowBreakPoint): adjust
5036
5037         * bufferview_funcs.C (toggleAndShow): adjust
5038
5039 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5040
5041         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5042         methods to access it.
5043         * lyxtext.h:
5044         * text.C: Added updateRowPositions to compute all row positions.
5045         Make top_y and getRowNearY() to use the cached y position
5046
5047 2003-04-11  John Levon  <levon@movementarian.org>
5048
5049         * text.C (rowBreakPoint): reintroduce the labelEnd
5050         checks, code copied from the row fill stuff. Deep voodoo.
5051
5052         * text.C (fill): add a comment and debugging for the
5053         next poor soul.
5054
5055 2003-04-11  John Levon  <levon@movementarian.org>
5056
5057         * text.C: make sure fullrow insets get wrapped to the next line,
5058         even when they're in a manual label
5059
5060 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5061
5062         * text2.C (insertParagraph): make it take ParagraphList::iterator
5063         as arg.
5064         (setLayout): make it return ParagraphList::iterator
5065         (redoParagraphs): ditto
5066         (setCounter): ditto
5067         (checkParagraph): ditto
5068
5069         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5070
5071         * text2.C: adjust several funcs.
5072         (realizeFont): take a ParagraphList::iterator as arg.
5073         (getLayoutFont): ditto
5074         (getLabelFont): ditto
5075         (setCharFont): ditto
5076
5077         * text.C: adjust several funcs.
5078
5079 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5080
5081         * text.C (selectNextWordToSpellcheck): don't accidentally
5082         skip insets
5083
5084 2003-04-10  John Levon  <levon@movementarian.org>
5085
5086         * ToolbarBackend.C (getIcon): special handling for
5087         LFUN_MATH_DELIM
5088
5089 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5090
5091         * text2.C (cursorRight): a getChar assert fixed
5092
5093 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * text2.C (getFont): change to take a ParagraphList::iterator
5096         instead of Paragraph*
5097         Adjust several functions.
5098
5099         * text.C (transformChar): change to take a ParagraphList::iterator
5100         instead of Paragraph*
5101         (singleWidth): ditto
5102         Adjust several functions.
5103
5104         * rowpainter.C: adjust several functions
5105         * rowpainter.h:store a ParagraphList::iterator and not a
5106         Paragraph&.
5107
5108
5109 2003-04-09  John Levon  <levon@movementarian.org>
5110
5111         * lyxfunc.C:
5112         * lfuns.h:
5113         * LyXAction.h:
5114         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5115         and the "help" bits as well
5116
5117 2003-04-09  John Levon  <levon@movementarian.org>
5118
5119         * ToolbarBackend.h:
5120         * ToolbarBackend.C: allow multiple toolbars
5121
5122 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5123
5124         * undo_funcs.C (setCursorParUndo): adjust
5125
5126         * text_funcs.C (transposeChars): adjust
5127
5128         * text3.C (gotoNextInset): adjust
5129         (dispatch): adjust
5130
5131         * text2.C (setLayout): adjust
5132         (changeDepth): adjust
5133         (setFont): adjust
5134         (redoParagraphs): adjust
5135         (selectionAsString): adjust
5136         (setParagraph): adjust
5137         (insertInset): adjust
5138         (cutSelection): adjust
5139         (copySelection): adjust
5140         (pasteSelection): adjust
5141         (insertStringAsLines): adjust
5142         (updateInset): adjust
5143         (setCursor): change to take a ParagraphList::iterator parameter
5144         (setCursorIntern): change to take a ParagraphList::iterator parameter
5145         (setCurrentFont): adjust
5146         (cursorLeft): adjust
5147         (cursorRight): adjust
5148         (deleteEmptyParagraphMechanism): adjust
5149
5150         * text.C (breakParagraph): adjust
5151         (insertChar): adjust
5152         (acceptChange): adjust
5153         (rejectChange): adjust
5154         (selectNextWordToSpellcheck): adjust
5155         (changeCase): adjust
5156         (Delete): adjust
5157         (backspace): adjust
5158
5159         * lyxfind.C (SearchForward): adjust
5160         (SearchBackward): adjust
5161         (nextChange): adjust
5162
5163         * lyxcursor.C (par): adjust
5164
5165         * lyxcursor.h: store a ParagraphList::iterator instead of a
5166         Paragraph*
5167
5168         * lyx_cb.C (getPossibleLabel): adjust
5169
5170         * bufferview_funcs.C (toggleAndShow): adjust
5171
5172         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5173         (dispatch): adjust
5174
5175         * BufferView.C (removeAutoInsets): adjust
5176         (lockedInsetStoreUndo): adjust
5177
5178 2003-04-09  John Levon  <levon@movementarian.org>
5179
5180         * ToolbarBackend.C: try icon without argument
5181         if with argument fails
5182
5183 2003-04-08  John Levon  <levon@movementarian.org>
5184
5185         * ToolbarBackend.h:
5186         * ToolbarBackend.C: add getIcon(), handle tooltip,
5187         and change from "Icon" to "Item".
5188
5189 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5190
5191         * BufferView.C (lockInset): another bad getchar crunched
5192
5193 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5194
5195         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5196         again)
5197
5198 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5199
5200         * lyxfind.C (searchForward, searchBackwards): bug 782
5201
5202 2003-04-07  John Levon  <levon@movementarian.org>
5203
5204         * paragraph.C: remove dead comment
5205
5206         * text.C: remove troublesome depth-fiddling code
5207         in leftMargin() and rightMargin() (bug 1017)
5208
5209         * text.C: fix breaking of rows in nested lists
5210         (bug 1004)
5211
5212         * text2.C (updateCounters): fix up depth values
5213         (bug 1013)
5214
5215 2003-04-07  John Levon  <levon@movementarian.org>
5216
5217         * BufferView_pimpl.C: clear message when doc finishes resizing,
5218         and after a mouse event
5219
5220         * lyxfunc.C: clear message after exiting inset
5221
5222 2003-04-07  John Levon  <levon@movementarian.org>
5223
5224         * bufferview_funcs.C: show math status not outside
5225         status in the statusbar
5226
5227 2003-04-07  John Levon  <levon@movementarian.org>
5228
5229         * lyxfunc.C: note status changed after a depth change
5230
5231 2003-04-04  Angus Leeming  <leeming@lyx.org>
5232
5233         * LaTeX.h: move AuxInfo operator==, != out of line.
5234         Remove LaTeX virtual destructor; nothing derives from it.
5235         Move operator()() out of public area and rename it startscript().
5236         Change protected for private.
5237
5238 2003-04-04  Angus Leeming  <leeming@lyx.org>
5239
5240         * lyxfunc.C:
5241         * text2.C: remove unneeded #includes.
5242
5243 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * text2.C (dEPM): fix the heigth of the next row
5246
5247 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5248
5249         * text.C: squashed an invalid getChar requester + some ws changes
5250
5251 2003-04-03  John Levon  <levon@movementarian.org>
5252
5253         * bufferview_funcs.h:
5254         * bufferview_funcs.C:
5255         * lyxfunc.C:
5256         * lyxtext.h:
5257         * text2.C: make getStatus work for the env depth lfuns
5258
5259 2003-04-03  John Levon  <levon@movementarian.org>
5260
5261         * bufferview_funcs.h:
5262         * bufferview_funcs.C:
5263         * lyxfunc.C:
5264         * lyxtext.h:
5265         * text2.C: parlistize decDepth(), by merging it with incDepth()
5266
5267 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * lyxrow.h: store a ParagraphList::iterator instead of a
5270         Paragraph* and adjust other class functions to suit.
5271
5272         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5273         above.
5274
5275 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5276
5277         * text2.C (setCursor): do not anchor to cursor row for the time being
5278
5279 2003-04-02  John Levon  <levon@movementarian.org>
5280
5281         * LyXAction.C:
5282         * lfuns.h:
5283         * lyx_main.C:
5284         * lyxtext.h:
5285         * text.C:
5286         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5287
5288 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * paragraph.h: make ParagraphList and ParagraphList::iterator
5291         friends of Paragraph.
5292
5293         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5294
5295         * ParagraphList.C: Use the private next_ and previous_ from
5296         Paragraph.
5297
5298 2003-04-01  John Levon  <levon@movementarian.org>
5299
5300         * ToolbarBackend.h:
5301         * ToolbarBackend.C:
5302         * Makefile.am: rename, remove defaults gunk
5303
5304         * MenuBackend.h:
5305         * MenuBackend.C: remove defaults gunk
5306
5307         * Languages.h:
5308         * Languages.C: remove defaults gunk
5309
5310         * lyx_main.h:
5311         * lyx_main.C: error out if files couldn't be found.
5312
5313 2003-04-02  John Levon  <levon@movementarian.org>
5314
5315         * text2.C: make incDepth() use parlist
5316
5317 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * undo_funcs.C (firstUndoParagraph): adjust
5320
5321         * text3.C (gotoInset): adjust
5322         (dispatch): adjust, and rewrite loop.
5323
5324         * text2.C (init): adjust, and rewrite loop.
5325         (redoParagraphs): adjust
5326         (updateInset): adjust, and rewrite loop.
5327         (deleteEmptyParagraphMechanism): adjust
5328
5329         * tabular.C (LyXTabular): adjust
5330         (SetMultiColumn): adjust
5331         (TeXRow): adjust
5332
5333         * lyxtext.[Ch] (ownerParagraph): delete function
5334         (ownerParagraphs): new function returns a ParagraphList.
5335
5336         * BufferView.C (removeAutoInsets): adjust
5337         (insertErrors): adjust
5338         (setCursorFromRow): adjust
5339
5340 2003-04-01  Angus Leeming  <leeming@lyx.org>
5341
5342         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5343         in the frontends.
5344
5345 2003-04-02  John Levon  <levon@movementarian.org>
5346
5347         * lyxtext.h:
5348         * text.C:
5349         * Makefile.am:
5350         * text_funcs.h:
5351         * text_funcs.C: make transposeChars a free function
5352
5353         * lyxrow_funcs.C: remove wrong comment
5354
5355 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * lyxtext.h: adjust
5358         * rowpainter.C: adjust
5359         * text.C: adjust
5360         * text2.C: adjust
5361         * text3.C: adjust
5362
5363         * lyxrow_funcs. [Ch]: new files
5364
5365         * lyxrow.[Ch]: remove next and previous pointers
5366         (next,previous): remove accessor functions
5367         (isParEnd): move to lyxrow_funcs
5368         (lastPos): move to lyxrow_funcs
5369         (nextRowIsAllInset): move to lyxrow_funcs
5370         (lastPrintablePos): move to lyxrow_funcs
5371         (numberOfSeparators): move to lyxrow_funcs
5372         (numberOfHfills): move to lyxrow_funcs
5373         (numberOfLabelHfills): move to lyxrow_funcs
5374         (hfillExpansion): move to lyxrow_funcs
5375
5376         * lyxfunc.C: adjust
5377
5378         * bufferview_funcs.C (toggleAndShow): adjust
5379
5380         * RowList.h: Remove class RowList from file leave just a
5381         std::list<Row>.
5382
5383         * RowList.C: delete file
5384
5385         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5386         and lyxrow_funcs.h
5387
5388 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * text3.C (cursorPrevious): adjust
5391         (cursorNext): adjust
5392         (dispatch): adjust
5393
5394         * text2.C (redoHeightOfParagraph): adjust
5395         (redoDrawingOfParagraph): adjust
5396         (setCursor): adjust
5397
5398         * text.C (breakParagraph): adjust
5399         (insertChar): adjust
5400         (backspace): adjust
5401
5402         * rowpainter.C (RowPainter): adjust
5403         (leftMargin): simplify and adjust
5404         (most rowpainter functions): adjust.
5405
5406         * rowpainter.h: store the row as RowList::iterator not as Row*
5407
5408         * lyxcursor.C (row): taka RowList::iterator as arg
5409         (irow): ditto
5410
5411         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5412         of Row*.
5413
5414 2003-04-01  Angus Leeming  <leeming@lyx.org>
5415
5416         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5417         stuff like bool Bool.
5418
5419 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5420
5421         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5422         rewrite a loop
5423
5424 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5427         RowList::iterator.
5428
5429         * lyxtext.h (rows): drop one version and leve a const variant that
5430         returns a RowList::iterator.
5431
5432 2003-03-31  Angus Leeming  <leeming@lyx.org>
5433
5434         * text.C (fill): ensure that the signature is the same as that in the
5435         header file.
5436
5437 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * text2.C (redoParagraphs): adjust
5440         (updateCounters): adjust
5441         (checkParagraph): adjust
5442         (getColumnNearX): adjust and reformat a bit.
5443
5444         * text.C (top_y): adjust
5445         (workWidth): adjust
5446         (leftMargin): adjust
5447         (prepareToPrint): adjust
5448         (getRow): adjust
5449         (getRowNearY): adjust
5450
5451         * lyxtext.h: make rowlist_ mutable.
5452
5453         * RowList.h: add const_iterator
5454         * RowList.C: adjust for RowList::const_iterator.
5455
5456         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5457         adjust.
5458
5459 2003-03-31  John Levon  <levon@movementarian.org>
5460
5461         * lyxrc.h:
5462         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5463
5464         * lyx_main.C: set default fonts from using lyx_gui funcs
5465
5466         * exporter.C: pdf_mode moved from lyxrc
5467
5468         * lyx_cb.C:
5469         * lyxfunc.C: changes from above
5470
5471 2003-03-31  John Levon  <levon@movementarian.org>
5472
5473         * lyx_main.C: fix to the last fix
5474
5475 2003-03-31  John Levon  <levon@movementarian.org>
5476
5477         * bufferlist.C: "Load original" -> "Load Original"
5478
5479         * converter.C:
5480         * exporter.C:
5481         * importer.C:
5482         * lyx_main.C:
5483         * format.C: more Alert cleanups
5484
5485 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5486
5487         * text2.C (removeParagraph): make it take a RowList::iterator as
5488         arg, adjust.
5489         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5490         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5491
5492         * text.C (anchor_row): make it take a RowList::iterator as arg,
5493         adjust.
5494         (computeBidiTables): make it take a const reference to Row instead
5495         of Row pointer, adjust.
5496         (leftMargin): make it take a RowList::iterator as arg, adjust.
5497         (rowBreakPoint): adjust
5498         (breakAgainOneRow): make it take a RowList::iterator as arg,
5499         adjust.
5500         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5501
5502         * bufferview_funcs.C (toggleAndShow): adjust
5503
5504 2003-03-30  John Levon  <levon@movementarian.org>
5505
5506         * Makefile.am:
5507         * BoostFormat.h:
5508         * boost-inst.C: moved to support
5509
5510         * several files: changes as a result
5511
5512 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * text2.C (LyXText): adjust.
5515         (init): adjust
5516         (removeRow): make it take a RowList::iterator as arg, adjust.
5517         (fullRebreak): adjust
5518         (deleteEmptyParagraphMechanism): adjust
5519         (clearPaint): adjust
5520         (postPaint): adjust
5521
5522         * text.C (top_y): adjust
5523         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5524         (breakAgain): make it take a RowList::iterator as arg, adjust.
5525         (breakParagraph): adjust
5526         (insertChar): adjust
5527         (backspace): adjust
5528
5529         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5530         need_break_row, and refresh_row.
5531
5532         * text3.C (dispatch): adjust
5533
5534         * text2.C (checkParagraph): adjust
5535         (setCursor): adjust
5536         (setCursorFromCoordinates): adjust
5537
5538         * text.C (top_y): adjust
5539         (workWidth): adjust
5540         (getRow): make it return a RowList::iterator, adjust
5541         (getRowNearY): make it return a RowList::iterator, adjust
5542
5543         * text2.C (init): adjust
5544         (insertRow): remove function
5545         (insertParagraph): adjust
5546         (redoParagraphs): adjust
5547         (fullRebreak): adjust
5548         (updateCounters): adjust
5549
5550         * text.C (top_y): rewrite to use RowList iterators.
5551         (top_y): adjust
5552         (setHeightOfRow): rewrite to sue RowList iterators.
5553         (appendParagraph): adjust
5554         (breakAgain): adjust
5555         (breakAgainOneRow): adjust
5556         (breakParagraph): adjust
5557         (getRow): adjust
5558         (getRowNearY): adjust, and remove commented code.
5559
5560         * lyxtext.h (firstRow): delete function
5561         (lastRow): delete function
5562         (rows): new function (const and non-const versions.)
5563         (insertRow): delete function
5564
5565         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5566
5567 2003-03-29  John Levon  <levon@movementarian.org>
5568
5569         * BufferView_pimpl.C: always update scrollbar top
5570         because pasting text when we're anchored could mean we
5571         miss an update altogether
5572
5573 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * text2.C (init): use rowlist_.end() and not 0.
5576         (insertRow): change to take a RowList::iterator as arg, adjust
5577         for this.
5578         (insertParagraph): change to take a RowList::iterator as arg,
5579         adjust for this.
5580         (redoParagraphs): remove some debug msgs.
5581
5582         * text.C (appendParagraph): change to take a RowList::iterator
5583         arg, adjust for this.
5584         (breakAgain): add an assert
5585         (breakAgainOneRow): ditto
5586
5587 2003-03-29  John Levon  <levon@movementarian.org>
5588
5589         * text2.C: do not clear selection after inc/decDepth
5590         (bug 550)
5591
5592 2003-03-29  John Levon  <levon@movementarian.org>
5593
5594         * BufferView.C:
5595         * buffer.C: fix broken strerrors according to Lars
5596
5597 2003-03-29  John Levon  <levon@movementarian.org>
5598
5599         * converters.C: more Alert cleanups
5600
5601 2003-03-29  John Levon  <levon@movementarian.org>
5602
5603         * bufferview_funcs.C: remove pointless Alert
5604
5605         * buffer.C: fix confusing error message when
5606         a template is chmoded 000
5607
5608 2003-03-29  John Levon  <levon@movementarian.org>
5609
5610         * BufferView.C:
5611         * BufferView.h:
5612         * BufferView_pimpl.C: Alert fixes
5613
5614         * Makefile.am:
5615         * tabular.C:
5616         * tabular-old.C: remove unused table compat reading
5617
5618 2003-03-29  John Levon  <levon@movementarian.org>
5619
5620         * BufferView.C:
5621         * buffer.C:
5622         * lyx_cb.h:
5623         * lyx_cb.C: more Alert cleanups
5624
5625         * lyxfunc.C: don't allow chktex if not latex document
5626
5627 2003-03-29  John Levon  <levon@movementarian.org>
5628
5629         * lyx_cb.C:
5630         * BufferView.C:
5631         * buffer.C: warnings pushed down from support/,
5632         kill err_alert
5633
5634 2003-03-29  John Levon  <levon@movementarian.org>
5635
5636         * lyxfunc.C: safety check for C-r (revert)
5637
5638 2003-03-29  John Levon  <levon@movementarian.org>
5639
5640         * bufferlist.h:
5641         * bufferlist.C: several UI fixes using Alert::prompt.
5642         Fix the pointless looping quit code. Fix stupid revert
5643         behaviour (bug 938)
5644
5645         * lyxvc.h:
5646         * lyxvc.C:
5647         * lyx_cb.C: use Alert::prompt
5648
5649         * lyx_main.C: remove a silly question
5650
5651         * lyxfunc.C: remove a couple of silly questions,
5652         use Alert::prompt
5653
5654 2003-03-28  John Levon  <levon@movementarian.org>
5655
5656         * text2.C: fix bug 974 (End on empty par)
5657
5658 2003-03-28  John Levon  <levon@movementarian.org>
5659
5660         * BufferView_pimpl.C:
5661         * LyXAction.C:
5662         * lfuns.h: remove do-nothing math greek lfuns
5663
5664 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * lyxgluelength.h (isValidGlueLength): add default arg on
5667         parameter 2. Remove default arg from friend in class.
5668
5669         * lyxlength.h (isValidLength): add default arg on parameter 2.
5670         Remove default arg from friend in class.
5671
5672         * text2.C (LyXText): adjust, initialize refresh_row.
5673         (init): adjust
5674         (removeRow): adjust
5675         (insertRow): adjust
5676         (insertParagraph): adjst
5677         (redoParagraphs): adjust
5678         (fullRebreak): adjust
5679         (updateCounters): adjust
5680         (deleteEmptyParagraphMechanism): first attempt at fixing a
5681         crashing bug.
5682
5683         * text.C (top_y): adjust
5684         (setHeightOfRow): adjust
5685         (getRow): adjust
5686         (getRowNearY): adjust
5687
5688         * lyxtext.h: include RowList.h
5689         (~LyXText): not needed anymore, deleted.
5690         (firstRow): modify for RowList
5691         (lastRow): new function
5692         Delete firstrow and lastrow class variables, add a Rowlist
5693         rowlist_ class variable.
5694
5695         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5696         paragraph is empty.
5697
5698         * RowList.C (insert): fix case where it == begin().
5699
5700 2003-03-26  Angus Leeming  <leeming@lyx.org>
5701
5702         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5703         the thesaurus dialog.
5704
5705 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5708
5709         * RowList.[Ch]: new files
5710
5711         * ParagraphList.C (erase): handle the case where it == begin
5712         correctly.
5713
5714 2003-03-25  John Levon  <levon@movementarian.org>
5715
5716         * Makefile.am:
5717         * aspell_local.h:
5718         * aspell.C: add new aspell support
5719
5720         * lyxrc.h:
5721         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5722         have it accessible.
5723
5724 2003-03-25  Angus Leeming  <leeming@lyx.org>
5725
5726         * lfuns.h:
5727         * LyXAction.C (init): new LFUN_INSET_INSERT.
5728
5729         * BufferView_pimpl.C (dispatch): split out part of the
5730         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5731
5732         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5733         LFUN_INSET_APPLY.
5734
5735 2003-03-25  Angus Leeming  <leeming@lyx.org>
5736
5737         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5738
5739 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5740
5741         * text2.C:
5742         * text3.C: remove useless row->height(0)
5743
5744 2003-03-25  John Levon  <levon@movementarian.org>
5745
5746         * lyxtext.h:
5747         * text2.C:
5748         * text3.C: rename the refreshing stuff to better names
5749
5750 2003-03-24  John Levon  <levon@movementarian.org>
5751
5752         * BufferView_pimpl.h:
5753         * BufferView_pimpl.C: update layout choice on a mouse
5754         press/release
5755
5756 2003-03-23  John Levon  <levon@movementarian.org>
5757
5758         * Makefile.am: fix commandtags.h reference
5759
5760 2003-03-22  John Levon  <levon@movementarian.org>
5761
5762         * BufferView_pimpl.C:
5763         * lyxtext.h:
5764         * rowpainter.C:
5765         * rowpainter.h:
5766         * text.C:
5767         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5768
5769 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5770
5771         * lyxtext.h:
5772         * text.C: take the rtl methods out of line
5773
5774 2003-03-21 André Pönitz <poenitz@gmx.net>
5775
5776         * metricsinfo.[Ch]: new files containing structures to be passed around
5777         during the two-phase-drawing...
5778
5779 2003-03-21 André Pönitz <poenitz@gmx.net>
5780
5781         * lyxtextclass.C: read 'environment' tag.
5782
5783 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5784
5785         * text2.C (removeRow): fix bug 964
5786
5787 2003-03-20  John Levon  <levon@movementarian.org>
5788
5789         * rowpainter.C:
5790         * text.C:
5791         * text2.C: paint cleanups. Inset::update() dropped font
5792         parameter
5793
5794 2003-03-19  John Levon  <levon@movementarian.org>
5795
5796         * lyxfunc.C: only fitcursor/markDirty if available()
5797
5798 2003-03-19  John Levon  <levon@movementarian.org>
5799
5800         * commandtags.h: rename to ...
5801
5802         * lfuns.h: ... this, and renumber / cleanup
5803
5804 2003-03-19  John Levon  <levon@movementarian.org>
5805
5806         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5807         fit the cursor after an lfun
5808
5809         * BufferView.h:
5810         * BufferView.C:
5811         * BufferView_pimpl.h:
5812         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5813
5814         * LyXAction.C: layout-character should have ReadOnly
5815
5816         * ParagraphParameters.C:
5817         * buffer.C:
5818         * bufferview_funcs.C:
5819         * lyx_cb.C:
5820         * lyxfind.C:
5821         * lyxtext.h:
5822         * text.C:
5823         * text2.C:
5824         * text3.C:
5825         * undo_funcs.C: changes from above
5826
5827 2003-03-18  John Levon  <levon@movementarian.org>
5828
5829         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5830         remove it from update()
5831
5832         * lyxfunc.C: update layout choice after an lfun
5833
5834         * text3.C: remove extra updateLayoutChoice()s
5835
5836 2003-03-18  John Levon  <levon@movementarian.org>
5837
5838         * text.C: top_y change means full repaint, fix
5839         a drawing bug with cursor movement
5840
5841 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5842
5843         * lyxtext.h:
5844         * text.C:
5845         * text2.C: anchor row on setCursor
5846
5847 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5848
5849         * lyxtext.h: remove almost all mutable keywords
5850         * text.C:
5851         * text2.C:
5852         * text3.C: remove const keywords accordingly
5853
5854 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5857         anon namespace
5858         (TeXEnvironment): ditto
5859         (TeXOnePar): ditto
5860
5861 2003-03-17  John Levon  <levon@movementarian.org>
5862
5863         * text.C (rowBreakPoint): remove attempt to fix displayed
5864         math insets inside a manual label
5865
5866 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5867
5868         * lyxtext.h: remove BufferView* as first arg from almost all class
5869         functions.
5870         * other files: adjust.
5871
5872 2003-03-17  John Levon  <levon@movementarian.org>
5873
5874         * lyxtext.h:
5875         * undo_funcs.C:
5876         * text2.C: more paint cleanups
5877
5878         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5879
5880         * rowpainter.h:
5881         * rowpainter.C: remove "smart" background painting code
5882
5883 2003-03-16  John Levon  <levon@movementarian.org>
5884
5885         * lyxtext.h:
5886         * text.C:
5887         * text2.C:
5888         * text3.C: add helper functions for setting refresh_row/y
5889
5890 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5891
5892         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5893         newline inset which *can* get inserted in the pass_thru layouts.
5894         This is primarily for literate documents.
5895
5896 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5897
5898         * buffer.C: increment LYX_FORMAT to 223
5899
5900 2003-03-14 André Pönitz <poenitz@gmx.net>
5901
5902         * textclass.h: prepare for environment handling, ws changes
5903         * lyxlayout.C: read latexheader and latexfooter tags
5904
5905 2003-03-14  John Levon  <levon@movementarian.org>
5906
5907         * text2.C: rewrite ::status() a bit
5908
5909 2003-03-13  John Levon  <levon@movementarian.org>
5910
5911         * lyxtext.h: add some docs
5912
5913 2003-03-13  John Levon  <levon@movementarian.org>
5914
5915         * lyxtext.h:
5916         * text.C:
5917         * text2.C:
5918         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5919
5920 2003-03-13  John Levon  <levon@movementarian.org>
5921
5922         * text3.C: fix appendix redrawing
5923
5924 2003-03-13  John Levon  <levon@movementarian.org>
5925
5926         * text.C (setHeightOfRow):
5927         * rowpainter.h:
5928         * rowpainter.C: make appendix mark have the text
5929           "Appendix" so the user knows what it is
5930
5931         * LColor.h:
5932         * LColor.C: s/appendixline/appendix/ from above
5933
5934 2003-03-13  John Levon  <levon@movementarian.org>
5935
5936         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5937
5938         * text.C: fix a getChar(pos) bug properly
5939
5940 2003-03-13  Angus Leeming  <leeming@lyx.org>
5941
5942         * commandtags.h:
5943         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5944         Probably only temporary. Let's see how things pan out.
5945
5946         * BufferView.C (unlockInset):
5947         * BufferView_pimpl.C (fitCursor):
5948         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5949
5950         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5951         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5952
5953         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5954         new functions that convert ParagraphParameters to and from a string.
5955
5956         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5957         BufferView::Pimpl's dispatch.
5958         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5959
5960 2003-03-13 André Pönitz <poenitz@gmx.net>
5961
5962         * lyxfunc.C:
5963         * text3.C:
5964         * factory.C: make it aware of InsetEnv
5965
5966 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * text2.C (setCursor): never ask for one past last
5969         (setCursor): add some debugging messages.
5970
5971         * text.C (singleWidth): never ask for one past last
5972         (singleWidth): ditto
5973         (leftMargin): ditto
5974         (rightMargin): ditto
5975         (rowBreakPoint): ditto
5976         (setHeightOfRow): ditto
5977         (prepareToPrint): ditto
5978
5979         * rowpainter.C (paintBackground): never ask for one past last
5980         (paintText): never ask for one past last
5981
5982         * paragraph_pimpl.C (getChar): make the assert stricter, never
5983         allow the one past last pos to be taken
5984
5985         * paragraph.C (getChar): ws changes only
5986
5987         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5988         (numberOfSeparators): ditto
5989         (numberOfHfills): ditto
5990
5991 2003-03-12  John Levon  <levon@movementarian.org>
5992
5993         * author.h:
5994         * author.C:
5995         * bufferparams.h:
5996         * bufferparams.C:
5997         * paragraph_funcs.C: fix per-buffer authorlists
5998
5999 2003-03-12  John Levon  <levon@movementarian.org>
6000
6001         * text.C: fix newline in right address
6002
6003 2003-03-12  Angus Leeming  <leeming@lyx.org>
6004
6005         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6006         duplicate those in LyXFunc::dispatch.
6007
6008         * commandtags.h:
6009         * LyXAction.C:
6010         * ToolbarDefaults.C:
6011         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6012         Add LFUN_FONTFREE_UPDATE.
6013
6014         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6015         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6016
6017         * bufferview_func.[Ch]: several new functions to facilliate
6018         transfer of data to and from the character dialog.
6019
6020 2003-03-12  John Levon  <levon@movementarian.org>
6021
6022         * buffer.C:
6023         * paragraph.h:
6024         * paragraph.C:
6025         * paragraph_funcs.C:
6026         * paragraph_pimpl.C:
6027         * sgml.C:
6028         * tabular.C:
6029         * text.C:
6030         * text3.C: remove META_NEWLINE in favour of an inset
6031
6032         * rowpainter.h:
6033         * rowpainter.C: remove paintNewline (done by inset)
6034
6035 2003-03-12  John Levon  <levon@movementarian.org>
6036
6037         * paragraph_pimpl.C: complain about bad getChar()s
6038         for a while at least
6039
6040 2003-03-12  John Levon  <levon@movementarian.org>
6041
6042         * buffer.h:
6043         * buffer.C: move paragraph read into a separate function,
6044         a little renaming to reflect that.
6045
6046         * bufferparams.h:
6047         * bufferparams.C: remove the author_ids map, not necessary now
6048
6049         * factory.h:
6050         * factory.C: moved Buffer::readInset to here
6051
6052         * paragraph_funcs.h:
6053         * paragraph_funcs.C: readParagraph free function moved from
6054         buffer.C
6055
6056         * tabular.C: name change
6057
6058 2003-03-12  John Levon  <levon@movementarian.org>
6059
6060         * buffer.C:
6061         * ParagraphParameters.C: move par params input to
6062         a read() method
6063
6064         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6065         behave like a normal read from the stream wrt reading
6066         a line vs. a \\token
6067
6068 2003-03-12  John Levon  <levon@movementarian.org>
6069
6070         * paragraph.C:
6071         * ParagraphParameters.h:
6072         * ParagraphParameters.C: move output code to a
6073         ::write() method
6074
6075 2003-03-12  John Levon  <levon@movementarian.org>
6076
6077         * BufferView.C (insertLyXFile):
6078         * buffer.h:
6079         * buffer.C:
6080         * tabular.C: use a parlist iterator for creating the
6081           document.
6082
6083 2003-03-12  John Levon  <levon@movementarian.org>
6084
6085         * buffer.C: make current_change static local not
6086           static file-scope
6087
6088 2003-03-12  John Levon  <levon@movementarian.org>
6089
6090         * buffer.C: fix insertStringAsLines for change tracking
6091
6092 2003-03-12  John Levon  <levon@movementarian.org>
6093
6094         * BufferView.C:
6095         * tabular.C:
6096         * buffer.h:
6097         * buffer.C:
6098         * bufferparams.h:
6099         * bufferparams.C: move author list into params. Rename some
6100           functions. Move the header reading into a separate token
6101           loop. Move the header token reading into BufferParams.
6102
6103 2003-03-12  John Levon  <levon@movementarian.org>
6104
6105         * changes.C: put debug inside lyxerr.debugging() checks
6106
6107 2003-03-11 André Pönitz <poenitz@gmx.net>
6108
6109         * factory.C: make it aware of InsetHFill
6110
6111 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6112
6113         * buffer.C (latexParagraphs): move function from here...
6114         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6115         args.
6116
6117 2003-03-10  Angus Leeming  <leeming@lyx.org>
6118
6119         * LyXAction.C (init): fix bug in poplating array with multiple entries
6120         with the same LFUN (spotted by JMarc).
6121
6122 2003-03-10  John Levon  <levon@movementarian.org>
6123
6124         * text.C:
6125         * text2.C: move getColumnNearX() near its
6126         only call site
6127
6128 2003-03-10  John Levon  <levon@movementarian.org>
6129
6130         * text.C: fix break before a minipage
6131
6132 2003-03-10  John Levon  <levon@movementarian.org>
6133
6134         * text.C: fix the last commit
6135
6136 2003-03-09  John Levon  <levon@movementarian.org>
6137
6138         * lyxtext.h:
6139         * text.C:
6140         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6141         bug 365 (don't break before insets unless needed). Don't
6142         return a value > last under any circumstances.
6143
6144 2003-03-09  Angus Leeming  <leeming@lyx.org>
6145
6146         * BufferView_pimpl.C (trackChanges, dispatch): call
6147         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6148
6149 2003-03-09  Angus Leeming  <leeming@lyx.org>
6150
6151         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6152         than Dialogs::showAboutlyx().
6153
6154 2003-03-09  Angus Leeming  <leeming@lyx.org>
6155
6156         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6157         than Dialogs::showTabularCreate().
6158
6159 2003-03-09  John Levon  <levon@movementarian.org>
6160
6161         * lyxtext.h:
6162         * text.C:
6163         * text2.C: 3rd arg to nextBreakPoint was always the same.
6164           Use references.
6165
6166 2003-03-08  John Levon  <levon@movementarian.org>
6167
6168         * lyxrow.C:
6169         * paragraph.C:
6170         * paragraph.h:
6171         * rowpainter.C:
6172         * text.C:
6173         * text2.C: Remove the "main" bit from the "main body"
6174           notion.
6175
6176 2003-03-08  John Levon  <levon@movementarian.org>
6177
6178         * text.C (leftMargin): The left margin of an empty
6179         manual label paragraph should not include the label width
6180         string length.
6181
6182         * text.C (prepareToPrint): don't attempt to measure hfills
6183         for empty manual label paragraphs - the answer should be 0
6184
6185 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * CutAndPaste.C: remove commented code and reindent.
6188
6189 2003-03-08  John Levon  <levon@movementarian.org>
6190
6191         * lyxfunc.h:
6192         * lyxfunc.C: move reloadBuffer()
6193
6194         * BufferView.h:
6195         * BufferView.C: to here
6196
6197         * lyxvc.C: add comment
6198
6199         * vc-backend.h:
6200         * vc-backend.C: call bv->reload() to avoid
6201           getStatus() check on MENURELOAD
6202
6203 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6204
6205         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6206         to an old format .dep file.
6207
6208 2003-03-07  Angus Leeming  <leeming@lyx.org>
6209
6210         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6211         when the LFUN_MOUSE_RELEASE should have been handled by
6212         inset->localDispatch.
6213
6214 2003-03-07  Angus Leeming  <leeming@lyx.org>
6215
6216         * BufferView_pimpl.C (dispatch):
6217         * LyXAction.C (init):
6218         * ToolbarDefaults.C (init):
6219         * commandtags.h:
6220         * lyxfunc.C (getStatus):
6221         remove LFUN_INSET_GRAPHICS.
6222
6223         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6224
6225 2003-03-07  Angus Leeming  <leeming@lyx.org>
6226
6227         * commandtags.h:
6228         * LyXAction.C (init):
6229         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6230
6231         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6232
6233         * commandtags.h:
6234         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6235
6236         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6237         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6238
6239 2003-03-07  Angus Leeming  <leeming@lyx.org>
6240
6241         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6242         remove "ert".
6243
6244 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6245
6246         * ParagraphList.C (front): new function
6247         (back): implement
6248
6249 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6250
6251         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6252         and top_row_offset_. removed var first_y.
6253         * text.C (top_y):
6254         * text2.C (LyXText, removeRow):
6255         * text3.C:
6256         * BufferView_pimpl.C:
6257         use these methods instead of using first_y
6258
6259 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * text2.C (pasteSelection): adjust for checkPastePossible
6262
6263         * CutAndPaste.C: remove Paragraph * buf and replace with
6264         ParagraphList paragraphs.
6265         (DeleteBuffer): delete
6266         (cutSelection): change the tc type to textclass_type
6267         (copySelection): change the tc type to textclass_type
6268         (copySelection): adjust for ParagraphList
6269         (pasteSelection): change the tc type to textclass_type
6270         (pasteSelection): adjust for Paragraphlist
6271         (nrOfParagraphs): simplify for ParagraphList
6272         (checkPastePossible): simplify for ParagraphList
6273         (checkPastePossible): remove unused arg
6274
6275         * ParagraphList.C (insert): handle the case where there are no
6276         paragraphs yet.
6277
6278         * CutAndPaste.h: make CutAndPaste a namespace.
6279
6280         * text3.C (dispatch): adjust
6281
6282         * text.C (breakParagraph): add a ParagraphList as arg
6283
6284         * paragraph_funcs.C (breakParagraph): change to take a
6285         BufferParams and a ParagraphList as args.
6286         (breakParagraphConservative): ditto
6287         (mergeParagraph): ditto
6288         (TeXDeeper): add a ParagraphList arg
6289         (TeXEnvironment): ditto
6290         (TeXOnePar): ditto
6291
6292         * buffer.C (readLyXformat2): adjust
6293         (insertStringAsLines): adjust
6294         (latexParagraphs): adjust
6295
6296         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6297         (cutSelection): adjust
6298         (pasteSelection): adjust
6299
6300         * BufferView_pimpl.C (insertInset): adjust
6301
6302 2003-03-05  Angus Leeming  <leeming@lyx.org>
6303
6304         * commandtags.h:
6305         * LyXAction.C (init):
6306         * BufferView_pimpl.C (dispatch):
6307         * lyxfunc.C (getStatus):
6308         remove LFUN_CHILD_INSERT.
6309
6310         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6311
6312 2003-03-05  Angus Leeming  <leeming@lyx.org>
6313
6314         * commandtags.h:
6315         * LyXAction.C (init):
6316         * src/factory.C (createInset):
6317         * lyxfunc.C (getStatus):
6318         * text3.C (dispatch):
6319         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6320
6321         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6322
6323 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * ParagraphList.C (insert): handle insert right before end()
6326         (erase): fix cases where it can be first or last paragraph.
6327
6328 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6331         Paragraph::next and Paragraph::previous
6332         (TeXOnePar): ditto
6333
6334         * text.C (breakParagraph): adjust
6335
6336         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6337         BufferParams& as arg.
6338         (breakParagraph): use ParagraphList::insert
6339         (breakParagraphConservative): take a Buffer* instead of a
6340         BufferParams& as arg.
6341         (breakParagraphConservative): use ParagraphList::insert.
6342
6343         * buffer.C (insertStringAsLines): un-const it
6344         (insertStringAsLines): adjust
6345
6346         * ParagraphList.C (insert): new function
6347
6348         * CutAndPaste.C (pasteSelection): adjust
6349
6350         * text.C (backspace): adjust
6351
6352         * tabular.C (SetMultiColumn): adjust
6353
6354         * CutAndPaste.C (cutSelection): adjust
6355         (pasteSelection): adjust
6356
6357         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6358         Buffer const * as arg
6359
6360         * ParagraphList.C (erase): new function
6361         * paragraph_funcs.C (mergeParagraph): use it
6362         (mergeParagraph): make it take a Buffer* instead of a
6363         BufferParams* as arg
6364
6365         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6366         as arg
6367         (breakParagraphConservative): ditto
6368
6369         * paragraph.h: remove the breakParagraph friend
6370
6371         * paragraph.C (eraseIntern): new function
6372         (setChange): new function
6373
6374         * paragraph_funcs.C (mergeParagraph): make it take a
6375         ParagraphList::iterator instead of a Paragraph *, adjust
6376         accordingly.
6377
6378         * paragraph.h: move an #endif so that the change tracking stuff
6379         also works in the NO_NEXT case.
6380
6381 2003-03-04  Angus Leeming  <leeming@lyx.org>
6382
6383         * commandtags.h:
6384         * LyXAction.C: new LFUN_INSET_MODIFY.
6385
6386         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6387         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6388
6389 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6390
6391         * several files: ws changes only
6392
6393         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6394         (TeXEnvironment): ditto
6395         (TeXDeeper): ditto
6396
6397         * buffer.C (makeLaTeXFile): adjust
6398         (latexParagraphs): make it take ParagraphList::iterator as args
6399
6400 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * buffer.C (latexParagraphs): adjust
6403
6404         * paragraph.C (TeXOnePar): move function...
6405         (optArgInset): move function...
6406         (TeXEnvironment): move function...
6407         * paragraph_pimpl.C (TeXDeeper): move function...
6408         * paragraph_funcs.C: ...here
6409
6410         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6411
6412 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * buffer.C (readInset): remove compability code for old Figure and
6415         InsetInfo insets
6416
6417 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * buffer.C: ws changes
6420         (readInset):
6421
6422         * BufferView_pimpl.C: ditto
6423         * author.C: ditto
6424         * buffer.h: ditto
6425         * bufferlist.h: ditto
6426         * changes.h: ditto
6427         * lyxfunc.C: ditto
6428
6429 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6430
6431         * converter.[Ch]: split into itself +
6432         * graph.[Ch]
6433         * format.[Ch]
6434         * Makefile.am: += graph.[Ch] + format.[Ch]
6435         * MenuBackend.C
6436         * buffer.C
6437         * exporter.C
6438         * importer.C
6439         * lyx_main.C
6440         * lyxfunc.C
6441         * lyxrc.C: added #include "format.h"
6442
6443 2003-02-27  Angus Leeming  <leeming@lyx.org>
6444
6445         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6446           a label.
6447
6448         * factory.C (createInset): add "label" to the factory.
6449
6450         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6451           string and do no more.
6452
6453 2003-02-27  Angus Leeming  <leeming@lyx.org>
6454
6455         * commandtags.h:
6456         * LyXAction.C (init):
6457         * factory.C (createInset):
6458         * BufferView_pimpl.C (dispatch):
6459           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6460
6461         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6462
6463         * lyxfunc.C (dispatch):
6464         * text3.C (dispatch): pass name to params2string.
6465
6466 2003-02-26  Angus Leeming  <leeming@lyx.org>
6467
6468         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6469           blocks together.
6470           Rearrange the ~includes. Strip out the unnecessary ones.
6471
6472         * factory.C (createInset): reformat.
6473           create new insets for the various LFUN_XYZ_APPLY lfuns.
6474
6475 2003-02-26  John Levon  <levon@movementarian.org>
6476
6477         * lyxrow.h:
6478         * lyxrow.C: add isParStart,isParEnd helpers
6479
6480         * paragraph.h: make isInserted/DeletedText take refs
6481
6482         * paragraph_funcs.h:
6483         * paragraph_funcs.C: remove #if 0'd code
6484
6485         * lyxtext.h:
6486         * text3.C:
6487         * text2.C:
6488         * text.C: use lyxrow helpers above.
6489           Move draw and paint routines to RowPainter.
6490           Make several methods use refs not pointers.
6491           Make backgroundColor() const.
6492           Add markChangeInDraw(), isInInset().
6493           Merge changeRegionCase into changeCase.
6494           Make workWidth() shouldn't-happen code into an Assert.
6495
6496         * rowpainter.h:
6497         * rowpainter.C: new class for painting a row.
6498
6499         * vspace.h:
6500         * vspace.C: make inPixels take a ref
6501
6502 2003-02-26  Angus Leeming  <leeming@lyx.org>
6503
6504         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6505         LFUN_REF_APPLY.
6506
6507 2003-02-25  John Levon  <levon@movementarian.org>
6508
6509         * ispell.C: give the forked command a more accurate name
6510
6511 2003-02-22  John Levon  <levon@movementarian.org>
6512
6513         * toc.h:
6514         * toc.C: make TocItem store an id not a Paragraph *
6515           (bug #913)
6516
6517 2003-02-21  Angus Leeming  <leeming@lyx.org>
6518
6519         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6520           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6521           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6522           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6523           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6524           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6525
6526         * BufferView_pimpl.C (dispatch):
6527         * LyXAction.C (init):
6528         * factory.C (createInset):
6529         * lyxfunc.C (getStatus, dispatch):
6530         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6531
6532 2003-02-21  Angus Leeming  <leeming@lyx.org>
6533
6534         * BufferView_pimpl.C (MenuInsertLyXFile):
6535         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6536         * lyxfunc.C (menuNew, open, doImport):
6537           no longer pass a LyXView & to fileDlg.
6538
6539 2003-02-21  Angus Leeming  <leeming@lyx.org>
6540
6541         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6542         * LyXAction.C: change, BIBKEY to BIBITEM.
6543         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6544         Change InsetBibKey to InsetBibitem.
6545         Change BIBKEY_CODE to BIBITEM_CODE.
6546         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6547         * factory.C: replace insetbib.h with insetbibitem.h.
6548         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6549         * paragraph.C: replace insetbib.h with insetbibitem.h.
6550         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6551         Change bibkey() to bibitem().
6552         * text.C: remove insetbib.h.
6553         * text2.C: replace insetbib.h with insetbibitem.h.
6554         change bibkey() to bibitem().
6555         * text3.C: remove insetbib.h.
6556         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6557
6558 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6559
6560         * lyxrc.C (output): enclose user email in quotes (in case there are
6561         several words)
6562
6563 2003-02-18  John Levon  <levon@movementarian.org>
6564
6565         * buffer.h: add std::
6566
6567 2003-02-17  John Levon  <levon@movementarian.org>
6568
6569         * SpellBase.h:
6570         * ispell.h:
6571         * ispell.C:
6572         * pspell.h:
6573         * pspell.C: reworking. Especially in ispell, a large
6574           number of clean ups and bug fixes.
6575
6576         * lyxfunc.C: fix revert to behave sensibly
6577
6578 2003-02-17 André Pönitz <poenitz@gmx.net>
6579
6580         * LyXAction.C:
6581         * commandtags.h: new LFUN_INSERT_BIBKEY
6582
6583         * layout.h:
6584         * lyxlayout.C:
6585         * buffer.C:
6586         * factory.C:
6587         * text.C:
6588         * text2.C:
6589         * text3.C:
6590         * paragraph.[Ch]:
6591         * paragraph_func.C: remove special bibkey handling
6592
6593 2003-02-17  John Levon  <levon@movementarian.org>
6594
6595         * text.C (Delete): fix case where delete at the end of
6596           the very first paragraph would not merge the pars
6597
6598 2003-02-17  John Levon  <levon@movementarian.org>
6599
6600         * lyxrow.C: fix lastPrintablePos()
6601
6602 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6603
6604         * bufferparams.C (writeLaTeX): add a std:here
6605
6606         * buffer.C: and remove a using directive there
6607
6608 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6609
6610         * buffer.C (makeLaTeXFile): move the code that generates the
6611           preamble...
6612
6613         * bufferparams.C (writeLaTeX): ... in this new method
6614
6615         * LaTeXFeatures.C (getEncodingSet): make const
6616           (getLanguages): make const
6617
6618         * MenuBackend.C (binding): returns the binding associated to this
6619           action
6620           (add): sets the status of each item by calling getStatus. Adds
6621           some intelligence.
6622           (read): add support for OptSubMenu
6623           (expand): remove extra separator at the end of expanded menu
6624
6625 2003-02-15  John Levon  <levon@movementarian.org>
6626
6627         * BufferView.C:
6628         * BufferView_pimpl.C:
6629         * bufferlist.h:
6630         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6631           inset code that had no actual effect. Remove unneeded status
6632           code.
6633
6634 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6635
6636         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6637           in preamble
6638
6639 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6640
6641         * text.C (drawLengthMarker): also draw an arrow marker for
6642           symbolic lengths (medskip...)
6643
6644 2003-02-14  John Levon  <levon@movementarian.org>
6645
6646         * tabular.h:
6647         * tabular.C: better method names
6648
6649 2003-02-14  John Levon  <levon@movementarian.org>
6650
6651         * BufferView_pimpl.C:
6652         * bufferlist.C:
6653         * buffer.C:
6654         * converter.C:
6655         * lyx_cb.C:
6656         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6657           it's a more accurate name. Remove some pointless uses.
6658
6659 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6660
6661         * text2.C (LyXText): change order of initilizers to shut off
6662           warnings
6663
6664 2003-02-14  John Levon  <levon@movementarian.org>
6665
6666         * buffer.C: use ParIterator for getParFromID()
6667
6668         * paragraph.h:
6669         * paragraph.C:
6670         * paragraph_pimpl.h:
6671         * paragraph_pimpl.C: remove unused getParFromID()
6672
6673 2003-02-14  John Levon  <levon@movementarian.org>
6674
6675         * buffer.C: remove some very old #if 0'd parse code
6676
6677 2003-02-13  John Levon  <levon@movementarian.org>
6678
6679         * text.h:
6680         * text.C:
6681         * text2.C: move hfillExpansion(), numberOfSeparators(),
6682           rowLast(), rowLastPrintable(), numberofHfills(),
6683           numberOfLabelHfills() ...
6684
6685         * lyxrow.h:
6686         * lyxrow.C: ... to member functions here.
6687
6688         * paragraph.h:
6689         * paragraph.C:
6690         * lyxtext.h:
6691         * text.C: remove LyXText::beginningOfMainBody(), and call
6692           p->beginningOfMainBody() directly. Move the check for
6693           LABEL_MANUAL into the latter.
6694
6695         * text.h:
6696         * text.C:
6697         * text2.C:
6698         * vspace.C:
6699         * BufferView.h:
6700         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6701
6702         * text.h:
6703         * text.C:
6704         * text2.C:
6705         * text3.C:
6706         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6707           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6708
6709 2003-02-13  John Levon  <levon@movementarian.org>
6710
6711         * CutAndPaste.C: remove debug
6712
6713 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6714
6715         * paragraph.C (asString): remove two unused variables
6716
6717         * lyxtextclass.C (readTitleType):
6718           (Read):
6719           (LyXTextClass): handle new members titletype_ and titlename_
6720
6721         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6722
6723 2003-02-09  John Levon  <levon@movementarian.org>
6724
6725         * buffer.h:
6726         * buffer.C: replace hand-coded list with a map for the dep clean
6727
6728 2003-02-08  John Levon  <levon@movementarian.org>
6729
6730         * LaTeX.C: consolidate code into showRunMessage() helper
6731
6732 2003-02-08  John Levon  <levon@movementarian.org>
6733
6734         * lyxfind.C:
6735         * lyxtext.h:
6736         * text2.C:
6737         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6738           and pass the size in explicitly
6739
6740         * BufferView_pimpl.h:
6741         * BufferView_pimpl.C:
6742         * BufferView.h:
6743         * BufferView.C: add getCurrentChange()
6744
6745         * BufferView_pimpl.h:
6746         * BufferView_pimpl.C: handle change lfuns
6747
6748         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6749           for changes. Mark pasted paragraphs as new.
6750
6751         * support/lyxtime.h:
6752         * support/lyxtime.C:
6753         * DepTable.C: abstract time_t as lyx::time_type
6754
6755         * LColor.h:
6756         * LColor.C: add colours for new text, deleted text, changebars
6757
6758         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6759           package use "usenames" option.
6760
6761         * commandtags.h:
6762         * lyxfunc.C:
6763         * LyXAction.C: add change lfuns
6764
6765         * Makefile.am:
6766         * author.h:
6767         * author.C: author handling
6768
6769         * buffer.h:
6770         * buffer.C: add a per-buffer author list, with first entry as
6771           current author. Handle new .lyx tokens for change tracking. Output
6772           author list to .lyx file. Output dvipost stuff to .tex preamble.
6773           Bump lyx format to 222.
6774
6775         * bufferlist.h:
6776         * bufferlist.C: add setCurrentAuthor() to reset current author details
6777           in all buffers.
6778
6779         * bufferparams.h:
6780         * bufferparams.C: add param for tracking
6781
6782         * bufferview_funcs.C: output change info in minibuffer
6783
6784         * Makefile.am:
6785         * changes.h:
6786         * changes.C: add change-tracking structure
6787
6788         * debug.h:
6789         * debug.C: add CHANGES debug flag
6790
6791         * lyxfind.h:
6792         * lyxfind.C: add code for finding the next change piece
6793
6794         * lyxrc.h:
6795         * lyxrc.C: add user_name and user_email
6796
6797         * lyxrow.h:
6798         * lyxrow.C: add a metric for the top of the text line
6799
6800         * lyxtext.h:
6801         * text.C: implement accept/rejectChange()
6802
6803         * lyxtext.h:
6804         * text.C: paint changebars. Paint new/deleted text in the chosen
6805         colours. Strike through deleted text.
6806
6807         * paragraph.h:
6808         * paragraph.C:
6809         * paragraph_pimpl.h:
6810         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6811           in the current change to the insert functions. Rework erase to
6812           mark text as deleted, adding an eraseIntern() and a range-based
6813           erase(). Implement per-paragraph change lookup and
6814           accept/reject.
6815
6816         * paragraph_funcs.C: Fixup paste for change tracking.
6817
6818         * tabular.C: mark added row/columns as new.
6819
6820         * text.C: fix rowLast() to never return -1. Don't allow
6821           spellchecking of deleted text. Track transpose changes. Don't
6822           allow paragraph break or merge where appropriate.
6823
6824         * text2.C: leave cursor at end of selection after a cut.
6825
6826 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6827
6828         * text.C (getLengthMarkerHeight):
6829         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6830         visible on screen too.
6831
6832 2003-02-07  John Levon  <levon@movementarian.org>
6833
6834         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6835
6836 2003-02-05  Angus Leeming  <leeming@lyx.org>
6837
6838         * lyxserver.C (read_ready): revert my patch of 11 September last year
6839         as it sends PC cpu through the roof. Presumably this means that
6840         the lyxserver will no longer run on an Alpha...
6841
6842 2003-01-30  Angus Leeming  <leeming@lyx.org>
6843
6844         * factory.C (createInset): create an InsetCommandParam of type "index"
6845         and use it to 'do the right thing'.
6846
6847         * text2.C (getStringToIndex): ensure that cursor position is always
6848         reset to the reset_cursor position.
6849
6850 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6851
6852         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6853         disabled.
6854
6855 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6856
6857         * bufferview.C:
6858         * lyxcb.C:
6859         * lyxfunc.C: Output messages with identical spelling, punctuation,
6860         and spaces
6861
6862 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6863
6864         * MenuBackend.C (expandFormats): List only viewable export formats
6865         in "View" menu
6866
6867         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6868         message
6869
6870         * lyxfunc.C (getStatus): Make sure that formats other than
6871         "fax" can also be disabled
6872
6873 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6874
6875         * text3.C (dispatch): put the lfuns that insert insets in 3
6876         groups, and call doInsertInset with appropriate arguments.
6877         (doInsertInset): new function, that creates an inset and inserts
6878         it according to some boolean parameters.
6879
6880 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * buffer.C (readFile): remember to pass on 'par' when calling
6883         readFile recursively.
6884
6885 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6886
6887         * MenuBackend.C (expandFormats): add "..." to import formats.
6888
6889 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6890
6891         * paragraph.C (asString): Remove XForms RTL hacks.
6892
6893 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6894         * buffer.C: fix typo
6895
6896 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * Makefile.am (LIBS): delete var
6899         (lyx_LDADD): add @LIBS@ here instead.
6900
6901 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6902
6903         * Clarify the meaning of "wheel mouse jump"
6904
6905 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6906
6907         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6908         tabular in a float
6909
6910 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6911
6912         * importer.C (Loaders): do not preallocate 3 elements in the
6913         vector, since one ends up with 6 elements otherwise
6914
6915 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6916
6917         * DepTable.C (write): write the file name as last element of the
6918         .dep file (because it may contain spaces)
6919         (read): read info in the right order
6920
6921 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6922
6923         * paragraph_pimpl.C (simpleTeXBlanks):
6924         (simpleTeXSpecialChars):
6925         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6926
6927         * tabular.C (latex): add some missing case statements. Reindent.
6928
6929         * MenuBackend.C (expandToc): remove unused variable.
6930
6931 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6932
6933         * LColor.C:
6934         * LaTeX.C:
6935         * LyXAction.C:
6936         * MenuBackend.C:
6937         * buffer.C:
6938         * exporter.C:
6939         * lyxfunc.C:
6940         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6941         and the like.
6942
6943 2003-01-05  John Levon  <levon@movementarian.org>
6944
6945         * BufferView.h:
6946         * BufferView.C: add getEncoding()
6947
6948         * kbsequence.h:
6949         * kbsequence.C: do not store last keypress
6950
6951         * lyxfunc.h:
6952         * lyxfunc.C: store last keypress here instead. Pass encoding
6953           to getISOEncoded()
6954
6955 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6956
6957         * lyx_main.C (init): remove annoying error message when following
6958         symbolic links (bug #780)
6959
6960 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6961
6962         * text.C (insertChar):
6963         * lyxrc.C (getDescription): remove extra spaces
6964
6965 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6966
6967         * lyxrc.C (getDescription): remove extra spaces
6968
6969 2002-12-20  John Levon  <levon@movementarian.org>
6970
6971         * text3.C: hack fix for page up/down across tall rows
6972
6973 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6974
6975         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6976         not been invoked
6977
6978 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6979
6980         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6981         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6982         thesaurus is not compiled in
6983
6984 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6985
6986         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6987
6988 2002-12-16  Angus Leeming  <leeming@lyx.org>
6989
6990         * lyxrc.[Ch]:
6991         * lyx_main.C (init): remove override_x_deadkeys stuff.
6992
6993 2002-12-12  John Levon  <levon@movementarian.org>
6994
6995         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6996           insert. Only remove shift modifier under strict
6997           circumstances.
6998
6999 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * MenuBackend.C (expandToc): fix crash.
7002
7003 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * MenuBackend.C (expandToc): gettext on float names.
7006
7007 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7008
7009         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7010         implement bool empty() [bug 490]
7011
7012 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7015
7016 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * several files: ws changes
7019
7020 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * text2.C (setCounter): clean up a bit, use boost.format.
7023         (updateCounters): initialize par upon declaration.
7024
7025         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7026         if the layout exists. We do not just store the layout any more.
7027         (SwitchLayoutsBetweenClasses): use boost.format
7028
7029 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7030
7031         * converter.C (convert): if from and to files are the same, use a
7032         temporary files as intermediary
7033
7034 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7035
7036         * commandtags.h:
7037         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7038
7039 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7040
7041         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7042
7043 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * tabular.C (asciiPrintCell): use string(size, char) instead of
7046         explicit loop.
7047
7048         * sgml.C (openTag): fix order of arguments to string constructor
7049         (closeTag): ditto
7050
7051         * lyxfunc.C (dispatch): use boost.format
7052
7053         * lots of files: change "c" -> 'c'
7054
7055 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7056
7057         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7058
7059 2002-11-25  Angus Leeming  <leeming@lyx.org>
7060
7061         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7062
7063         * lyx_main.C (init): compile fix.
7064
7065 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * lyx_cb.C (start): boost.formatify
7068         do not include <iostream>
7069
7070         * lengthcommon.C: ws only
7071
7072         * boost-inst.C,BoostFormat.h: add more explict instantations
7073
7074 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * lots of files: handle USE_BOOST_FORMAT
7077
7078 2002-11-21  John Levon  <levon@movementarian.org>
7079
7080         * pspell.C: fix compile
7081
7082 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7083
7084         * lyxfunc.C (dispatch): use boost::format
7085         (open): ditto
7086         (doImport): ditto
7087
7088         * lyxfont.C (stateText): use boost::format
7089
7090         * lyx_main.C (LyX): use boost::format
7091         (init): ditto
7092         (queryUserLyXDir): ditto
7093         (readRcFile): ditto
7094         (parse_dbg): ditto
7095         (typedef boost::function): use the recommened syntax.
7096
7097         * importer.C (Import): use boost::format
7098
7099         * debug.C (showLevel): use boost::format
7100
7101         * converter.C (view): use boost::format
7102         (convert): ditto
7103         (move): ditto
7104         (scanLog): ditto
7105
7106         * bufferview_funcs.C (currentState): use boost::format
7107
7108         * bufferlist.C (emergencyWrite): use boost::format
7109
7110         * buffer.C (readLyXformat2): use boost::format
7111         (parseSingleLyXformat2Token): ditto
7112
7113         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7114
7115         * LaTeX.C (run): use boost::format
7116
7117         * Chktex.C (scanLogFile): use boost::format
7118
7119         * BufferView_pimpl.C (savePosition): use boost::format
7120         (restorePosition): ditto
7121         (MenuInsertLyXFile): ditto
7122
7123         * BoostFormat.h: help file for explicit instation.
7124
7125 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7126
7127         * tabular.C (latex): Support for block alignment in fixed width
7128         columns.
7129
7130 2002-11-17  John Levon  <levon@movementarian.org>
7131
7132         * BufferView_pimpl.C:
7133         * lyx_cb.C:
7134         * lyxfunc.C: split filedialog into open/save
7135
7136 2002-11-08  Juergen Vigna  <jug@sad.it>
7137
7138         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7139         by my last patch (hopefully).
7140
7141 2002-11-08  John Levon  <levon@movementarian.org>
7142
7143         * iterators.h:
7144         * iterators.C:
7145         * buffer.h:
7146         * buffer.C:
7147         * paragraph.h:
7148         * paragraph.C:
7149         * toc.h:
7150         * toc.C: ParConstIterator, and use it (from Lars)
7151
7152 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7153
7154         * lyxtextclass.[Ch]: revise and add doxygen comments
7155
7156 2002-11-07  John Levon  <levon@movementarian.org>
7157
7158         * text.C: fix progress value for spellchecker
7159
7160         * toc.C: fix navigate menu for insetwrap inside minipage
7161
7162         * paragraph_funcs.C: added FIXME for suspect code
7163
7164 2002-11-07  John Levon  <levon@movementarian.org>
7165
7166         * BufferView_pimpl.C: fix redrawing of insets
7167           on buffer switch
7168
7169 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7170
7171         * text2.C (updateCounters): fix bug 668
7172
7173 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7174
7175         * text3.C (dispatch): Do not make the buffer dirty when moving the
7176         cursor.
7177
7178 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * vc-backend.C: STRCONV
7181         (scanMaster): ditto
7182
7183         * text2.C (setCounter): STRCONV
7184
7185         * paragraph.C (asString): STRCONV
7186
7187         * lyxlength.C (asString): STRCONV
7188         (asLatexString): ditto
7189
7190         * lyxgluelength.C (asString): STRCONV
7191         (asLatexString): ditto
7192
7193         * lyxfunc.C (dispatch): STRCONV
7194         (open): ditto
7195
7196         * lyxfont.C (stateText): STRCONV
7197
7198         * importer.C (Import): STRCONV
7199
7200         * counters.C (labelItem): STRCONV
7201         (numberLabel): ditto
7202         (numberLabel): remove unused ostringstream o
7203
7204         * chset.C: STRCONV
7205         (loadFile): ditto
7206
7207         * bufferview_funcs.C (currentState): STRCONV
7208
7209         * buffer.C (readFile): STRCONV
7210         (asciiParagraph): ditto
7211         (makeLaTeXFile): ditto
7212
7213         * Spacing.C (writeEnvirBegin): STRCONV
7214
7215         * LaTeXFeatures.C (getLanguages): STRCONV
7216         (getPackages): ditto
7217         (getMacros): ditto
7218         (getBabelOptions): ditto
7219         (getTClassPreamble): ditto
7220         (getLyXSGMLEntities): ditto
7221         (getIncludedFiles): ditto
7222
7223         * LaTeX.C: STRCONV
7224         (run): ditto
7225         (scanAuxFile): ditto
7226         (deplog): ditto
7227
7228         * LString.h: add the STRCONV macros
7229
7230         * BufferView_pimpl.C (savePosition): STRCONV
7231         (restorePosition): ditto
7232         (MenuInsertLyXFile): ditto
7233
7234         * vc-backend.C (scanMaster): change from submatch[...] to
7235         submatch.str(...)
7236
7237         * funcrequest.C: include config.h
7238
7239         * factory.C: include config.h
7240
7241         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7242
7243         * box.C: include config.h
7244
7245         * LaTeX.C (scanAuxFile): change from submatch[...] to
7246         submatch.str(...)
7247         (deplog): ditto
7248
7249 2002-10-25  Angus Leeming  <leeming@lyx.org>
7250
7251         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7252
7253         * ispell.[Ch] (setError): new method.
7254         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7255         Use setError() insetead of goto END.
7256
7257         * lyx_cb.C (AutoSave): move out child process into new class
7258         AutoSaveBuffer.
7259
7260 2002-10-30  John Levon  <levon@movementarian.org>
7261
7262         * text3.C: make start appendix undoable
7263
7264 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7265
7266         * lyxlength.C (inPixels): Fix returned value.
7267
7268         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7269         environment.
7270
7271 2002-10-24  Angus Leeming  <leeming@lyx.org>
7272
7273         * lyxgluelength.h: no need to forward declare BufferParams
7274         or BufferView, so don't.
7275
7276 2002-10-21  John Levon  <levon@movementarian.org>
7277
7278         * BufferView.C: menuUndo ->undo, redo
7279
7280         * BufferView.h: document, remove dead, make some methods private
7281
7282         * paragraph_funcs.h:
7283         * paragraph_funcs.C:
7284         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7285
7286         * buffer.h:
7287         * buffer.C:
7288         * sgml.h:
7289         * sgml.C: move sgml open/close tag into sgml.C
7290
7291         * bufferview_funcs.h: unused prototype
7292
7293         * lyxfunc.h:
7294         * lyxfunc.C: remove unused
7295
7296         * lyxtext.h:
7297         * text.C: remove unused
7298
7299 2002-10-21  John Levon  <levon@movementarian.org>
7300
7301         * BufferView.h:
7302         * BufferView.C:
7303         * BufferView_pimpl.h:
7304         * BufferView_pimpl.C: fix mouse wheel handling based on
7305           patch from Darren Freeman
7306
7307 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7308
7309         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7310
7311 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7312
7313         * lyxlength.C (inPixels): Fix hanfling of negative length.
7314         Fix LyXLength::MU case.
7315
7316 2002-10-16  John Levon  <levon@movementarian.org>
7317
7318         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7319
7320 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7321
7322         * converter.C (view): add support for $$i (file name) and $$p
7323         (file path) for the viewer command. If $$i is not specified, then
7324         it is appended to the command (for compatibility with old syntax)
7325
7326 2002-10-14  Juergen Vigna  <jug@sad.it>
7327
7328         * undo_funcs.C (textHandleUndo): alter the order in which the
7329         new undopar is added to the LyXText, as we have to set first
7330         the right prev/next and then add it as otherwise the rebuild of
7331         LyXText is not correct. Also reset the cursor to the right paragraph,
7332         with this IMO we could remove the hack in "redoParagraphs()".
7333
7334 2002-10-09  Angus Leeming  <leeming@lyx.org>
7335
7336         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7337         to turn off an optimisation if a new inset is to be inserted.
7338
7339 2002-10-11 André Pönitz <poenitz@gmx.net>
7340
7341         * lyxtext.h: make some functions public to allow access
7342         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7343
7344 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7345
7346         * text3.C (dispatch): when changing layout, avoid an infinite loop
7347         [bug #652]
7348
7349 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7350
7351         * lyxrc.C (read): treat a viewer or converter command of "none" as
7352         if it were empty.
7353
7354         * MenuBackend.C (expandFormats): for an update, also allow the
7355         formats that are not viewable
7356
7357         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7358         script if it is newer than the lyxrc.defaults in user directory
7359
7360 2002-10-07 André Pönitz <poenitz@gmx.net>
7361
7362         * text.C: Vitaly Lipatov's small i18n fix
7363
7364 2002-09-25  Angus Leeming  <leeming@lyx.org>
7365
7366         * ispell.h: doxygen fix.
7367
7368 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7369
7370         * buffer.h (readFile): Add a new argument to the method, to allow
7371         reading of old-format templates.
7372
7373 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7374
7375         * toc.C (getTocList): Get TOC from InsetWrap.
7376
7377 2002-09-16  John Levon  <levon@movementarian.org>
7378
7379         * lyxfunc.C: check tabular for cut/copy too
7380
7381 2002-09-12  John Levon  <levon@movementarian.org>
7382
7383         * LyXAction.C: tidy
7384
7385         * factory.h:
7386         * factory.C: add header
7387
7388         * paragraph_funcs.h:
7389         * paragraph_funcs.C: cleanup
7390
7391 2002-09-11  John Levon  <levon@movementarian.org>
7392
7393         * PrinterParams.h: odd/even default to true
7394
7395 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7396
7397         * PrinterParams.h: update printer parameters for new xforms dialog
7398
7399 2002-09-11  Angus Leeming  <leeming@lyx.org>
7400
7401         * lyxserver.C (read_ready): re-write to make it more transparent
7402         and to make it work in coherent fashion under Tru64 Unix.
7403
7404 2002-09-11  André Pönitz <poenitz@gmx.net>
7405
7406         * commandtags.h:
7407         * LyXAction.C:
7408         * text3.C: implement LFUN_WORDSEL
7409
7410 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7413         make floatlist_ a boost::shared_ptr<FloatList>
7414
7415         * lyxtextclass.C: include FloatList.h
7416         (LyXTextClass): initialize floatlist_
7417         (TextClassTags): add TC_NOFLOAT
7418         (Read): match "nofloat" to TC_NOFLOAT and use it.
7419         (readFloat): modify call to floatlist_
7420         (floats): ditto
7421         (floats): ditto
7422
7423         * FloatList.[Ch] (FloatList): remove commented out float
7424         initialization.
7425         (erase): new function
7426
7427 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7428
7429         * MenuBackend.C (expandToc): fix crash when there is no document
7430         open
7431
7432 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7433
7434         * many files: Add insetwrap.
7435
7436 2002-09-09  John Levon  <levon@movementarian.org>
7437
7438         * text2.C: remove confusing and awkward depth wraparound
7439
7440 2002-09-09  John Levon  <levon@movementarian.org>
7441
7442         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7443
7444         * buffer.h:
7445         * buffer.C: remove getIncludeonlyList()
7446
7447         * paragraph.C:
7448         * lyxfunc.C: remove headers
7449
7450 2002-09-09  Juergen Vigna  <jug@sad.it>
7451
7452         * text.C (getColumnNearX): fix form Michael this is most
7453         probably a cut&paste bug.
7454
7455 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7458
7459         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7460         references, ws changes.
7461
7462         * text2.C (init): update counters after init
7463         (insertParagraph): no need to set counter on idividual paragraphs.
7464         (setCounter): access the counters object in the textclass object
7465         on in the buffer object.
7466         (updateCounters): ditto
7467
7468         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7469         shared_ptr<Counters> to avoid loading counters.h in all
7470         compilation units.
7471         (LyXTextClass): initialize ctrs_
7472         (TextClassTags): add TC_COUNTER, and ...
7473         (Read): use it here.
7474         (CounterTags): new tags
7475         (readCounter): new function
7476         (counters): new funtion
7477         (defaultLayoutName): return a const reference
7478
7479         * counters.C (Counters): remove contructor
7480         (newCounter): remove a couple of unneeded statements.
7481         (newCounter): simplify a bit.
7482         (numberLabel): some small formatting changes.
7483
7484         * buffer.[Ch]: remove all traces of counters, move the Counters
7485         object to the LyXTextClass.
7486
7487 2002-09-06  Alain Castera  <castera@in2p3.fr>
7488
7489         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7490         package to set the horizontal alignment on fixed width columns.
7491
7492         * lyx_sty.C:
7493         * lyx_sty.h: added tabularnewline macro def.
7494
7495         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7496
7497 2002-09-06  John Levon  <levon@movementarian.org>
7498
7499         * LyXAction.C: tooltips for sub/superscript
7500
7501         * MenuBackend.C: a bit more verbose
7502
7503         * lyxfunc.C: tiny clean
7504
7505         * undo_funcs.C: document undo_frozen
7506
7507 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * counters.C (Counters): add missing algorithm counter.
7510
7511         * text2.C (setCounter): lookup the counter with layouts latexname
7512         instead of by section number.
7513         (setCounter): use a hackish way to lookup the correct enum
7514         counter.
7515         a float name->type change
7516         reset enum couners with counter name directly instead of depth value.
7517
7518         * counters.C (Counters): remove the push_backs, change to use the
7519         float type not the float name.
7520         (labelItem): remove unused string, float name->type change
7521
7522         * counters.h: don't include vector, loose the enums and sects vectors
7523
7524 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7527         (Read): add float->TC_FLOAT to textclassTags
7528         (Read): and handle it in the switch
7529         (readFloat): new function
7530
7531         * FloatList.C (FloatList): comment out the hardcoded float
7532         definitions.
7533
7534         * lyxlayout.h: ws change.
7535
7536 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7537
7538         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7539
7540 2002-09-03  Angus Leeming  <leeming@lyx.org>
7541
7542         * BufferView_pimpl.h: qualified name is not allowed in member
7543         declaration: WorkArea & Pimpl::workarea() const;
7544
7545         * factory.C: added using std::endl directive.
7546
7547         * text3.C: added using std::find and std::vector directives.
7548
7549 2002-08-29  André Pönitz <poenitz@gmx.net>
7550
7551         * lyxtext.h:
7552         * text2.C: remove unused member number_of_rows
7553
7554         * Makefile.am:
7555         * BufferView2.C: remove file, move contents to...
7556         * BufferView.C: ... here
7557
7558         * BufferView_pimpl.C:
7559         * factory.C: move more inset creation to factory
7560
7561         * vspace.C: avoid direct usage of LyXText, ws changes
7562
7563         * BufferView.[Ch]:
7564                 don't provide direct access to WorkArea, use two simple
7565                 acessors haveSelction() and workHeight() instead
7566
7567
7568 2002-08-29  John Levon  <levon@movementarian.org>
7569
7570         * BufferView_pimpl.C (dispatch): do not continue when
7571           no buffer
7572
7573 2002-08-28  André Pönitz <poenitz@gmx.net>
7574
7575         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7576
7577         * BufferView.h:
7578         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7579
7580 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7581
7582         * buffer.C: increment LYX_FORMAT to 221
7583
7584         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7585         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7586
7587         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7588
7589         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7590
7591 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7592
7593         * factory.C (createInset): use LyXTextClass::floats
7594
7595         * MenuBackend.C (expandFloatListInsert):
7596         (expandFloatInsert):
7597         (expandToc):
7598
7599         * text2.C (setCounter):
7600
7601         * LaTeXFeatures.C (useFloat):
7602         (getFloatDefinitions):
7603
7604         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7605
7606         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7607         floatlist_, with accessor floats().
7608
7609         * FloatList.h: remove global FloatList
7610
7611 2002-08-26  André Pönitz <poenitz@gmx.net>
7612
7613         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7614
7615         * BufferView.h:
7616         * BufferView2.C:
7617         * BufferView_pimpl.C:
7618         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7619
7620 2002-08-25  John Levon  <levon@movementarian.org>
7621
7622         * LyXAction.C: fix margin note description
7623
7624 2002-08-24  John Levon  <levon@movementarian.org>
7625
7626         * buffer.C:
7627         * bufferlist.C:
7628         * bufferview_funcs.C:
7629         * lyxfont.C:
7630         * undo_funcs.C: cleanups
7631
7632         * lyxfunc.C: disable CUT/COPY when no selection
7633
7634 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7635
7636         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7637         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7638
7639         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7640         Add backward compatibility to "mono", "gray" and "no".
7641
7642 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7643
7644         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7645         (and file_format >= 200).
7646
7647 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7648
7649         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7650
7651 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7652
7653         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7654
7655 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7656
7657         * BufferView_pimpl.C:
7658         * LyXAction.C:
7659         * buffer.C:
7660         * commandtags.h:
7661         * lyxfunc.C:
7662         * paragraph.[Ch]:
7663         * text2.C:
7664         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7665         inset and code to make it  work with the paragraph code. The inset
7666         can be anywhere in the paragraph, but will only do the expected
7667         thing in LaTeX if the layout file contains the parameter line
7668                         OptionalArgs    1
7669         (or more generally, a nonzero value) for that layout.
7670
7671 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * paragraph.h: remove the declaration of undefined counters class
7674         function.
7675
7676 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7677
7678         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7679         Dr. Richard Hawkins.
7680
7681 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7682
7683         * paragraph_funcs.h: remove some unneeded includes
7684
7685         * text.C (backspace): pasteParagraph now in global scipe
7686
7687         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7688         (pasteSelection): ditto
7689
7690         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7691         * paragraph_funcs.C (pasteParagraph): ... here
7692
7693 2002-08-20  André Pönitz <poenitz@gmx.net>
7694
7695         * commandtags.h: new LFUNs for swapping/copying table row/colums
7696
7697         * LyXAction.C:
7698         * lyxfunc.C: support for new lfuns
7699
7700 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * tabular.C:
7703         * buffer.[Ch]: remove NO_COMPABILITY stuff
7704
7705 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7706
7707         * boost.C (throw_exception): new file, with helper function for
7708         boost compiled without exceptions.
7709
7710         * paragraph.h:
7711         * lyxlength.C:
7712         * buffer.C:
7713         * ParameterStruct.h:
7714         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7715
7716         * bufferlist.C (emergencyWriteAll): use boost bind
7717
7718         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7719
7720         * text.C: include paragraph_funcs.h
7721         (breakParagraph): breakParagraph is now in global scope
7722
7723         * paragraph_funcs.[Ch]: new files
7724
7725         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7726         global scope
7727
7728         * buffer.C: include paragraph_funcs.h
7729         (insertStringAsLines): breakParagraph is now in global scope
7730
7731         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7732         paragraph_funcs.C
7733
7734         * CutAndPaste.C: include paragraph_funcs.h
7735         (cutSelection): breakParagraphConservative is now in global scope
7736         (pasteSelection): ditto
7737
7738         * buffer.h: declare oprator== and operator!= for
7739         Buffer::inset_iterator
7740
7741         * bufferlist.C (emergencyWrite): don't use fmt(...)
7742
7743         * text3.C: add using std::endl
7744
7745         * BufferView.C (moveCursorUpdate): remove default arg
7746
7747 2002-08-20  André Pönitz <poenitz@gmx.net>
7748
7749         * buffer.[Ch]: move inline functions to .C
7750
7751         * BufferView2.C:
7752         * BufferView_pimpl.C:
7753         * text.C:
7754         * buffer.[Ch]: use improved inset_iterator
7755
7756         * buffer.C:
7757         * paragraph.[Ch]: write one paragraph at a time
7758
7759 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7760
7761         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7762         style if style is not specified.
7763
7764 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7765
7766         * text2.C (setCounter): when searching for right label for a
7767         caption, make sure to recurse to parent insets (so that a caption
7768         in a minipage in a figure float works) (bug #568)
7769
7770 2002-08-20  André Pönitz <poenitz@gmx.net>
7771
7772         * text3.C: new file for LyXText::dispatch() and helpers
7773
7774         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7775
7776         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7777
7778 2002-08-19  André Pönitz <poenitz@gmx.net>
7779
7780         * lyxtext.h:
7781         * text.C: new LyXText::dispatch()
7782
7783         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7784
7785 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7786
7787         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7788
7789         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7790         Hebrew text.
7791
7792 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7793
7794         * Makefile.am: use $(variables) instead of @substitutions@
7795
7796 2002-08-15  André Pönitz <poenitz@gmx.net>
7797
7798         * lyxfunc.C:
7799         * BufferView_pimpl.C: streamlining mathed <-> outer world
7800         interaction
7801
7802         * commandtags.h:
7803         * LyXAction.C: remove unused LFUN_MATH
7804
7805 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7806
7807         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7808
7809 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * paragraph.C (Paragraph): reformat a bit
7812         (cutIntoMinibuffer): use builtin InsetList function instad of
7813         doing it manually.
7814         (getInset): ditto
7815
7816         * buffer.C: include boost/bind.hpp, add using std::for_each
7817         (writeFileAscii): use ParagraphList iterators
7818         (validate): use for_each for validate traversal of paragraphs
7819         (getBibkeyList): use ParagraphList iterators
7820         (resizeInsets): use for_each to resizeInsetsLyXText for all
7821         paragraphs.
7822         (getParFromID): use ParagraphList iterators
7823
7824         * BufferView2.C (lockInset): use paragraph list and iterators
7825
7826 2002-08-14  John Levon  <levon@movementarian.org>
7827
7828         * lyxserver.C: remove spurious xforms include
7829
7830 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7831
7832         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7833
7834 2002-08-13  André Pönitz <poenitz@gmx.net>
7835
7836         * LyXAction.[Ch]:
7837         * lyxfunc.C: further cleaning
7838
7839 2002-08-13  André Pönitz <poenitz@gmx.net>
7840
7841         * funcrequest.h: new constructor
7842
7843         * funcrequest.C: move stuff here from .h
7844
7845         * Makefile.am:
7846         * BufferView_pimpl.C:
7847         * LyXAction.C:
7848         * toc.C:
7849         * lyxfunc.C: subsequent changes
7850
7851         * lyxfunc.h: new view() member function
7852
7853         * lyxfunc.C: subsequent changes
7854
7855 2002-08-13  Angus Leeming  <leeming@lyx.org>
7856
7857         * BufferView2.C:
7858         * BufferView_pimpl.C:
7859         * buffer.C:
7860         * converter.C:
7861         * importer.C:
7862         * lyxfunc.C:
7863         * lyxvc.C:
7864         * toc.C:
7865         * vc-backend.C:
7866         changes due to the changed LyXView interface that now returns references
7867         to member variables not pointers.
7868
7869 2002-08-13  Angus Leeming  <leeming@lyx.org>
7870
7871         * WordLangTuple (word, lang_code): return references to strings,
7872         not strings.
7873
7874         * BufferView.h:
7875         * SpellBase.h:
7876         * lyxtext.h: forward-declare WordLangTuple.
7877
7878         * BufferView2.C:
7879         * ispell.C:
7880         * pspell.C:
7881         * text.C: #include "WordLangTuple.h".
7882
7883         * lyxtext.h:
7884         * text.C: (selectNextWordToSpellcheck): constify return type.
7885
7886 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7887
7888         * buffer.C:
7889         * buffer.h:
7890         * lyxtext.h:
7891         * paragraph.C:
7892         * paragraph_pimpl.h:
7893         * text.C:
7894         * text2.C:
7895         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7896         suggested by Angus.
7897         Made updateCounter always count from start of buffer, and removed
7898         second argument (par).
7899         Reverted floats number display to '#'. Perhaps I'll try again when the
7900         code base is sanitized a bit.
7901
7902 2002-08-12  Angus Leeming  <leeming@lyx.org>
7903
7904         * buffer.[Ch] (getLabelList): constify.
7905
7906 2002-08-07  André Pönitz <poenitz@gmx.net>
7907
7908         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7909
7910         * funcrequest.h: extension to keep mouse (x,y) position
7911
7912 2002-08-12  Juergen Vigna  <jug@sad.it>
7913
7914         * BufferView2.C (insertErrors): forbid undo when inserting error
7915         insets.
7916
7917         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7918
7919 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7920
7921         * ParagraphList.[Ch]: new files
7922
7923         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7924
7925         * BufferView2.C (lockInset): ParagraphList changes
7926         * toc.C: ditto
7927         * text2.C: ditto
7928         * bufferlist.C: ditto
7929         * buffer.h: ditto
7930         * buffer.C: ditto
7931
7932 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7933
7934         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7935         unused class variable counter_,
7936
7937         * paragraph.[Ch] (getFirstCounter): delete unused function
7938
7939         * counters.C: include LAssert.h
7940         (reset): add a new function with no arg, change other version to
7941         not have def. arg and to not allow empty arg.
7942
7943         * text2.C (setCounter): remove empty arg from call to Counters::reset
7944
7945 2002-08-11  John Levon  <levon@movementarian.org>
7946
7947         * Makefile.am: add WordLangTuple.h
7948
7949 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7950
7951         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7952         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7953
7954         * insets/insettext.C: InsetList changes
7955
7956         * graphics/GraphicsSupport.C (operator()): InsetList changes
7957
7958         * toc.C (getTocList): InsetList changes
7959
7960         * paragraph_pimpl.[Ch]: InsetList changes
7961
7962         * paragraph.[Ch]: InsetList changes
7963
7964         * buffer.C (inset_iterator): InsetList changes
7965         (setParagraph): ditto
7966         * buffer.h (inset_iterator): ditto
7967         * iterators.C (operator++): ditto
7968         * iterators.h: ditto
7969
7970         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7971
7972         * InsetList.[Ch]: new files, most InsetList handling moved out of
7973         paragraph.C.
7974
7975         * BufferView2.C (removeAutoInsets): InsetList changes
7976         (lockInset): ditto
7977         (ChangeInsets): ditto
7978
7979 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * paragraph_pimpl.h (empty): new function
7982
7983         * paragraph.[Ch] (empty): new function
7984
7985         * other files: use the new Paragraph::empty function
7986
7987 2002-08-09  John Levon  <levon@movementarian.org>
7988
7989         * lyxtext.h: remove unused refresh_height
7990
7991 2002-08-09  John Levon  <levon@movementarian.org>
7992
7993         * Makefile.am:
7994         * sgml.h:
7995         * sgml.C:
7996         * buffer.C:
7997         * paragraph.h:
7998         * paragraph.C: move sgml char escaping out of paragraph
7999
8000         * paragraph.h:
8001         * paragraph.C: remove id setter
8002
8003         * buffer.C:
8004         * paragraph.C:
8005         * paragraph_pimpl.C: remove dead tex_code_break_column
8006
8007         * bufferview_funcs.C: small cleanup
8008
8009         * lyxfunc.C: remove dead proto
8010
8011         * lyxtext.h: make some stuff private. Remove some dead stuff.
8012
8013         * lyxgluelength.C: make as[LyX]String() readable
8014
8015 2002-08-08  John Levon  <levon@movementarian.org>
8016
8017         * LyXAction.h:
8018         * LyXAction.C:
8019         * MenuBackend.C:
8020         * ToolbarDefaults.C:
8021         * lyxfunc.C:
8022         * lyxrc.C:
8023         * toc.C: lyxaction cleanup
8024
8025 2002-08-08  John Levon  <levon@movementarian.org>
8026
8027         * BufferView2.C: small cleanup
8028
8029         * lyxfind.h:
8030         * lyxfind.C: move unnecessary header into the .C
8031
8032 2002-08-08  John Levon  <levon@movementarian.org>
8033
8034         * funcrequest.h: just tedious nonsense
8035
8036         * lyx_main.h:
8037         * lyx_main.C: cleanups
8038
8039         * buffer.C:
8040         * vspace.C: remove dead header lyx_main.h
8041
8042 2002-08-07  Angus Leeming  <leeming@lyx.org>
8043
8044         * Paragraph.[Ch]:
8045         * paragraph_pimpl.h:
8046         Forward declare class Counters in paragraph.h by moving the ctrs member
8047         variable into Paragraph::Pimpl.
8048         (counters): new method, returning a reference to pimpl_->ctrs.
8049
8050         * text2.C: ensuing changes.
8051
8052 2002-08-07  John Levon  <levon@movementarian.org>
8053
8054         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8055
8056         * BufferView_pimpl.C: announce X selection on double/triple
8057           click
8058
8059         * lyx_main.C: use correct bool in batch dispatch
8060
8061         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8062
8063 2002-08-07  André Pönitz <poenitz@gmx.net>
8064
8065         * funcrequest.h: new class to wrap a kb_action and its argument
8066
8067         * BufferView.[Ch]:
8068         * BufferView_pimpl[Ch]:
8069         * LaTeX.C:
8070         * LyXAction.[Ch]:
8071         * lyxfunc.[Ch]:
8072         * lyxrc.C: subsequent changes
8073
8074
8075 2002-08-07  John Levon  <levon@movementarian.org>
8076
8077         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8078           document options change.
8079
8080 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8081
8082         * counters.[Ch]
8083         * text2.C
8084         * paragraph.[Ch]
8085         * makefile.am: move counters functionality over from
8086         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8087
8088 2002-08-06  John Levon  <levon@movementarian.org>
8089
8090         * WordLangTuple.h: new file for word + language code tuple
8091
8092         * SpellBase.h:
8093         * pspell.h:
8094         * pspell.C:
8095         * ispell.h:
8096         * ispell.C:
8097         * lyxtext.h:
8098         * text.C:
8099         * text2.C:
8100         * BufferView.h:
8101         * BufferView2.C: use WordLangTuple
8102
8103         * layout.h:
8104         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8105
8106 2002-08-06  John Levon  <levon@movementarian.org>
8107
8108         * lyx_main.C: fix cmdline batch handling
8109
8110 2002-08-06  André Pönitz <poenitz@gmx.net>
8111
8112         * lyxrc.C: set default for show_banner to true
8113
8114 2002-08-06  John Levon  <levon@movementarian.org>
8115
8116         * pspell.C: fix a crash, and allow new aspell to work
8117
8118 2002-08-06  John Levon  <levon@movementarian.org>
8119
8120         * lyxfunc.C:
8121         * kbmap.C: small cleanup
8122
8123         * vspace.h:
8124         * vspace.C: add const
8125
8126 2002-08-05  John Levon  <levon@movementarian.org>
8127
8128         * LyXAction.C: back to tabular-insert
8129
8130 2002-08-04  John Levon  <levon@movementarian.org>
8131
8132         * BufferView.h:
8133         * BufferView.C: cosmetic change
8134
8135         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8136
8137         * bufferlist.C:
8138         * buffer.h:
8139         * buffer.C:
8140         * lyxcb.h:
8141         * lyxcb.C:
8142         * lyxserver.C:
8143         * lyxvc.C:
8144         * vc-backend.C:
8145         * BufferView2.C: purge all "Lyx" not "LyX" strings
8146
8147         * lyxcursor.h:
8148         * lyxcursor.C: attempt to add some documentation
8149
8150         * lyxfunc.C:
8151         * commandtags.h:
8152         * LyXAction.C:
8153         * ToolbarDefaults.C:
8154         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8155           merge with LFUN_TABULAR_INSERT
8156
8157         * Makefile.am:
8158         * SpellBase.h:
8159         * ispell.h:
8160         * ispell.C:
8161         * pspell.h:
8162         * pspell.C: split up i/pspell implementations into separate
8163           files, many cleanups
8164
8165         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8166
8167         * text2.C: some cleanup
8168
8169         * lyxfunc.C: don't check for isp_command == "none" any more, it
8170           didn't make any sense
8171
8172 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8173
8174         * counters.[Ch]
8175         * text2.C
8176         * paragraph.[Ch]
8177         * makefile.am: move counters functionality over
8178         from text2.C/paragraph.[Ch] to counters.[Ch], and
8179         make proper C++.
8180 2002-08-02  John Levon  <levon@movementarian.org>
8181
8182         * buffer.C: s/lyxconvert/lyx2lyx/
8183
8184 2002-08-02  Angus Leeming  <leeming@lyx.org>
8185
8186         * lyxlex.C: revert John's change as it breaks reading of the user
8187         preamble.
8188
8189 2002-08-02  Angus Leeming  <leeming@lyx.org>
8190
8191         * importer.C (Import):
8192         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8193         changes due to LyXView::view() now returning a boost::shared_ptr.
8194
8195 2002-08-02  John Levon  <levon@movementarian.org>
8196
8197         * lyxlex.C: small cleanup
8198
8199 2002-08-02  John Levon  <levon@movementarian.org>
8200
8201         * text2.C (status): small cleanup, no logic change
8202
8203 2002-08-01  John Levon  <levon@movementarian.org>
8204
8205         * buffer.h:
8206         * buffer.C (writeFile): don't output alerts, caller
8207           handles this
8208
8209         * bufferlist.C:
8210         * lyx_cb.C: from above
8211
8212         * lyxfunc.C: allow to open non-existent files
8213
8214 2002-07-31  John Levon  <levon@movementarian.org>
8215
8216         * lyxserver.C: don't let incidental errors get
8217           in the way (errno)
8218
8219 2002-07-30  John Levon  <levon@movementarian.org>
8220
8221         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8222
8223 2002-07-30  John Levon  <levon@movementarian.org>
8224
8225         * lyxserver.h:
8226         * lyxserver.C: remove I/O callback too
8227
8228 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8229
8230         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8231         log.
8232
8233 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * many files: strip,frontStrip -> trim,ltrim,rtrim
8236
8237 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8238
8239         * PrinterParams.h: remove extern containsOnly, and include
8240         support/lstrings.h instead.
8241
8242         * LaTeX.C (scanAuxFile): modify because of strip changes
8243         (deplog): ditto
8244         * buffer.C (makeLaTeXFile): ditto
8245         * bufferparams.C (writeFile): ditt
8246         * lyxfont.C (stateText): ditto
8247         * lyxserver.C (read_ready): ditto
8248         * vc-backend.C (scanMaster): ditto
8249
8250         * BufferView_pimpl.h: ws changes
8251
8252         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8253
8254 2002-07-26  André Pönitz <poenitz@gmx.net>
8255
8256         * kb_sequence.C: remove unnedred usings
8257
8258 2002-07-26  Juergen Vigna  <jug@sad.it>
8259
8260         * lyxfind.C (LyXReplace): we have to check better if the returned
8261         text is not of theLockingInset()->getLockingInset().
8262
8263 2002-07-25  Juergen Vigna  <jug@sad.it>
8264
8265         * lyxfind.C (LyXReplace): don't replace if we don't get the
8266         right LyXText.
8267
8268         * undo_funcs.C (createUndo): remove debugging code.
8269
8270 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8271
8272         * buffer.C (parseSingleLyXformat2Token): Use default placement
8273         when reading old floats.
8274
8275         * FloatList.C (FloatList): Change the default placement of figure
8276         and tables to "tbp".
8277
8278 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8279
8280         * MenuBackend.C: using std::max
8281
8282 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8283
8284         * MenuBackend.C (expandToc):
8285         (expandToc2): code moved from xforms menu frontend. It is now
8286         generic and TOCs are transparent to menu frontends.
8287
8288 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8289
8290         * toc.C (getTocList): protect against buf=0
8291
8292         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8293         Menu as first parameter. Now, this calls itself recursively to
8294         expand a whole tree (this will be useful for TOC handling)
8295         (expandFloatInsert): remove 'wide' version of floats
8296
8297         * MenuBackend.h (submenuname): returns the name of the submenu.
8298         (submenu): returns the submenu itself, provided it has been
8299         created by MenuBackend::expand
8300
8301 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8302
8303         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8304         insets which have noFontChange == true. (bug #172)
8305
8306 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8307
8308         * BufferView_pimpl.C: add connection objects and use them...
8309         (Pimpl): here.
8310
8311 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8312
8313         * MenuBackend.C (expandLastfiles):
8314         (expandDocuments):
8315         (expandFormats):
8316         (expandFloatListInsert):
8317         (expandFloatInsert):
8318         (expand): split expand in parts
8319
8320 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8321
8322         * lyx_gui.C: use lyx_gui::exit()
8323
8324 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8325
8326         * LyXAction.C: show the failing pseudo action
8327
8328 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8329
8330         * buffer.C (readFile): Run the lyxconvert script in order to read
8331         old files.
8332
8333 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * LyXAction.C:
8336         * commandtags.h:
8337         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8338
8339 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8340
8341         * LyXAction.C:
8342         * commandtags.h:
8343         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8344
8345 2002-07-22  Herbert Voss  <voss@lyx.org>
8346
8347         * lengthcommon.C:
8348         * lyxlength.[Ch]: add support for the vertical lengths
8349
8350 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * toc.[Ch]: std:: fixes
8353
8354 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8355
8356         * lyxrc.C: do not include lyx_main.h
8357
8358         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8359         for layouts
8360
8361         * lyxrc.C:
8362         * encoding.C:
8363         * bufferlist.C:
8364         * BufferView2.C: include "lyxlex.h"
8365
8366         * tabular.h:
8367         * bufferparams.h: do not #include "lyxlex.h"
8368
8369         * lyxtextclasslist.C (Add): remove method
8370         (classlist): renamed to classlist_
8371
8372         * paragraph_pimpl.C:
8373         * paragraph.C:
8374         * text2.C:
8375         * CutAndPaste.C:
8376         * bufferview_funcs.C:
8377         * bufferlist.C:
8378         * text.C:
8379         * LaTeXFeatures.C:
8380         * buffer.C:
8381         * toc.C (getTocList): use BufferParams::getLyXTextClass
8382
8383         * toc.C (getTocList): use InsetFloat::addToToc
8384
8385         * toc.[Ch]: new files, containing helper functions to handle table
8386         of contents
8387
8388         * lyxfunc.C (dispatch): no need to remove spaces around command
8389         given as a string
8390         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8391         first command of the sequence; it is not very clever, but I do not
8392         have a better idea, actually
8393
8394         * LyXAction.C (LookupFunc): make sure to remove space at the
8395         beginning and end of the command
8396
8397 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8398
8399         * MenuBackend.C (getMenubar): new method: return the menubar of
8400         this menu set
8401         (read): treat differently reading of menu and menubar (in
8402         particular, the menubar has no name now)
8403         (Menu::menubar): remove
8404
8405         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8406         saving is finished
8407
8408 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8409
8410         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8411         a bibitem inset in a RTL paragraph.
8412
8413 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8414
8415         * paragraph_pimpl.C: constify
8416
8417         * BufferView_pimpl.C:
8418         * LaTeX.C:
8419         * lyxfunc.C: fix dispatch in a nicer way
8420
8421 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8422
8423         * lyxfunc.C (dispatch):
8424         * BufferView_pimpl.C:
8425         * BufferView_pimpl.h:
8426         * BufferView.C:
8427         * BufferView.h: rename Dispatch() to dispatch()
8428
8429         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8430
8431         * lyxlayout.C (Read): honor DependsOn tag
8432
8433         * lyxlayout.[Ch] (depends_on): new method
8434
8435         * version.C.in: update lyx_docversion
8436
8437         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8438
8439         * paragraph.C (validate): remove from here...
8440         * paragraph_pimpl.C (validate): ... and move here
8441         (isTextAt): make it const
8442
8443         * buffer.C (getLists): ws cleanup
8444
8445 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8446
8447         * language.C (read): Use iso8859-1 encoding in latex_lang
8448         (this prevents LyX from crashing when using iso10646-1 encoding).
8449
8450 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8451
8452         * text2.C (toggleInset): if cursor is inside an inset, close the
8453         inset and leave cursor _after_ it
8454
8455 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8456
8457         * lyxfunc.C: move minibuffer completion handling out of here
8458
8459 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8460
8461         * BufferView_pimpl.C:
8462         * LaTeX.C: fix dispatch calls
8463
8464 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8465
8466         * text.C (drawChars): Fix Arabic text rendering.
8467
8468 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * LyXAction.C:
8471         * commandtags.h:
8472         * lyxfunc.C: remove message-push/pop
8473
8474         * lyxserver.C:
8475         * lyxfunc.h:
8476         * lyxfunc.C: rationalise some code by removing verboseDispatch
8477           in favour of a bool argument to dispatch()
8478
8479 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8480
8481         * lyx_main.C (init): make sure to read symlinks as absolute paths
8482
8483 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8484
8485         * lyxfunc.h:
8486         * lyxfunc.C: no need for commandshortcut to be a member
8487
8488 2002-07-15  André Pönitz <poenitz@gmx.net>
8489
8490         * converter.C: add support for $$s (scripts from lib/scripts dir)
8491         * lyx_main.C: white space
8492
8493 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8494
8495         * bufferlist.C:
8496         * lyxrc.h:
8497         * lyxrc.C: remove second exit confirmation
8498
8499 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8500
8501         * BufferView.h:
8502         * BufferView.C:
8503         * BufferView2.C:
8504         * BufferView_pimpl.h:
8505         * BufferView_pimpl.C:
8506         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8507
8508 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8509
8510         * MenuBackend.C (expand): add numeric shortcuts to document menu
8511
8512         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8513
8514 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8515
8516         * lyxfont.C (setLyXFamily):
8517         (setLyXSeries):
8518         (setLyXShape):
8519         (setLyXSize):
8520         (setLyXMisc):
8521         (lyxRead):
8522         * debug.C (value):
8523         * buffer.C (asciiParagraph): use ascii_lowercase
8524
8525 2002-07-15  Mike Fabian  <mfabian@suse.de>
8526
8527         * lyxlex_pimpl.C (search_kw):
8528         * lyxlex.C (getLongString):
8529         * converter.h (operator<):
8530         * converter.C (operator<):
8531         * buffer.C (parseSingleLyXformat2Token):
8532         (asciiParagraph):
8533         * ToolbarDefaults.C (read):
8534         * MenuBackend.C (checkShortcuts):
8535         (read):
8536         * LColor.C (getFromGUIName):
8537         (getFromLyXName): use the compare_ascii_no_case instead of
8538         compare_no_case, because in turkish, 'i' is not the lowercase
8539         version of 'I', and thus turkish locale breaks parsing of tags.
8540
8541 2002-07-16  Angus Leeming  <leeming@lyx.org>
8542
8543         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8544         now takes a Buffer const & argument.
8545
8546 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8547
8548         * BufferView.C (resize): check there's a buffer to resize
8549
8550 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8551
8552         * lyxfunc.C: remove dead code
8553
8554         * lyxserver.h:
8555         * lyxserver.C: use lyx_guii::set_read_callback
8556
8557 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8558
8559         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8560         an inset in a RTL paragraph.
8561
8562 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * lyxfunc.C: repaint after a font size update
8565
8566 2002-07-15  André Pönitz <poenitz@gmx.net>
8567
8568         * lyxlength.C: inBP should be able to return negative values
8569
8570 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8571
8572         * lyxfunc.C: use lyx_gui::update_fonts()
8573
8574 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8575
8576         * lyxfunc.C: use lyx_gui::update_color()
8577
8578 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8579
8580         * bufferlist.C:
8581         * lyxfunc.h:
8582         * lyxfunc.C:
8583         * lyxrc.h:
8584         * lyxrc.C: remove file->new asks for name option, and let
8585           buffer-new take an argument
8586
8587 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8588
8589         * BufferView_pimpl.C: remove unneeded extra repaint()
8590
8591 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8592
8593         * LyXAction.C: allow command-sequence with NoBuffer
8594
8595         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8596
8597 2002-07-10  Angus Leeming  <leeming@lyx.org>
8598
8599         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8600
8601 2002-07-09  Angus Leeming  <leeming@lyx.org>
8602
8603         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8604
8605 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8606
8607         * lengthcommon.h: whitespace
8608
8609         * lyxfunc.C: update scrollbar after goto paragraph
8610
8611         * lyxtext.h: factor out page break drawing, and fix it so
8612           page break/added space paints as selected nicely
8613
8614 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * BufferView_pimpl.C: add FIXMEs, clean up a little
8617
8618 2002-07-09  André Pönitz <poenitz@gmx.net>
8619
8620         * lyxfont.[Ch]: support for wasy symbols
8621
8622 2002-07-08  André Pönitz <poenitz@gmx.net>
8623
8624         * BufferView_pimpl.C: apply John's patch for #93.
8625
8626 2002-07-05  Angus Leeming  <leeming@lyx.org>
8627
8628         * BufferView_pimpl.C (buffer): generate previews if desired.
8629
8630         * LColor.h: add "preview" to the color enum.
8631
8632         * LColor.C (LColor): add a corresponding entry to the items array.
8633
8634         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8635         with this buffer.
8636
8637 2002-07-05  Angus Leeming  <leeming@lyx.org>
8638
8639         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8640         The body of the code is now in the method that is passed an ostream &
8641         rather than a file name.
8642         Pass an additional only_preamble parameter, useful for the forthcoming
8643         preview stuff.
8644
8645 2002-07-03  André Pönitz <poenitz@gmx.net>
8646
8647         * lyxfunc.C: simplify getStatus() a bit for math stuff
8648
8649 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8650
8651         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8652
8653 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8654
8655         * text.C (changeRegionCase): do not change case of all the
8656         document when region ends at paragraph end (bug #461)
8657
8658 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8659
8660         * paragraph.C (startTeXParParams):
8661         (endTeXParParams): add \protect when necessary
8662
8663 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * BufferView_pimpl.C (workAreaExpose): remove warning
8666
8667 2002-06-27  Angus Leeming  <leeming@lyx.org>
8668
8669         * Makefile.am: add lyxlayout_ptr_fwd.h.
8670
8671 2002-06-26  André Pönitz <poenitz@gmx.net>
8672
8673         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8674
8675 2002-06-25  Angus Leeming  <leeming@lyx.org>
8676
8677         * lyxfunc.C (dispatch): Comment out the call to
8678         grfx::GCache::changeDisplay. The method no longer exists now that the
8679         pixmap generation part of the graphics loader has been moved into
8680         InsetGraphics.
8681
8682 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8683
8684         * text2.C: layout as layout
8685
8686         * text.C: layout as layout
8687
8688         * tabular.C (OldFormatRead): layout as layout
8689
8690         * paragraph_pimpl.C (TeXDeeper): layout as layout
8691         (realizeFont): layout as layout
8692
8693         * paragraph.C (writeFile): layout as layout
8694         (validate): layout as layout
8695         (getFont): layout as layout
8696         (getLabelFont): layout as layout
8697         (getLayoutFont): layout as layout
8698         (breakParagraph): layout as layout
8699         (stripLeadingSpaces): layout as layout
8700         (getEndLabel): layout as layout
8701         (getMaxDepthAfter): layout as layout
8702         (applyLayout): layout as layout
8703         (TeXOnePar): layout as layout
8704         (simpleTeXOnePar): layout as layout
8705         (TeXEnvironment): layout as layout
8706         (layout): layout as layout
8707         (layout): layout as layout
8708
8709         * lyxtextclass.C (compare_name): new functor to work with
8710         shared_ptr, layout as layout
8711         (Read): layout as layout
8712         (hasLayout): layout as layout
8713         (operator): layout as layout
8714         (delete_layout): layout as layout
8715         (defaultLayout): layout as layout
8716
8717         * lyxlayout_ptr_fwd.h: new file
8718
8719         * lyxlayout.C (Read): layout as layout
8720
8721         * lyx_cb.C (MenuInsertLabel): layout as layout
8722
8723         * bufferlist.C (newFile): layout as layout
8724
8725         * buffer.C (readLyXformat2): layout as layout
8726         (parseSingleLyXformat2Token): layout as layout
8727         (insertStringAsLines): layout as layout
8728         (asciiParagraph): layout as layout
8729         (latexParagraphs): layout as layout
8730         (makeLinuxDocFile): layout as layout
8731         (simpleLinuxDocOnePar): layout as layout
8732         (makeDocBookFile): layout as layout
8733         (simpleDocBookOnePar): layout as layout
8734         (getLists): layout as layout
8735
8736         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8737
8738         * CutAndPaste.C (cutSelection): layout as layout
8739         (pasteSelection): layout as layout
8740         (SwitchLayoutsBetweenClasses): layout as layout
8741
8742         * BufferView_pimpl.C (Dispatch): layout as layout
8743         (smartQuote): layout as layout
8744
8745         * BufferView2.C (unlockInset): layout as layout
8746
8747 2002-06-24  André Pönitz <poenitz@gmx.net>
8748
8749         * lyxfunc.C: fix #487
8750
8751 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8752
8753         * lyxrc.h:
8754         * lyxrc.C:
8755         * lyxfunc.C: remove display_shortcuts, show_banner
8756
8757 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * Buffer_pimpl.C: oops, update on resize
8760
8761 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8762
8763         * buffer.C:
8764         * converter.C:
8765         * exporter.C:
8766         * lyxfunc.C:
8767         * BufferView.h:
8768         * BufferView.C: use repaint()
8769
8770         * BufferView_pimpl.h:
8771         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8772           as it's a clearer description. Remove superfluous
8773           redraws.
8774
8775 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8776
8777         * text.C: fix bug 488. Not ideal, but getting
8778           getWord() to work properly for the insets that
8779           matter is more difficult ...
8780
8781 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8782
8783         * BufferView_pimpl.C:
8784         * LyXAction.C:
8785         * commandtags.h:
8786         * lyxfunc.C: remove the six million index lyxfuncs to just
8787           one, and DTRT (bug 458)
8788
8789 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8790
8791         * BufferView.h:
8792         * BufferView.C:
8793         * BufferView_pimpl.h:
8794         * BufferView_pimpl.C: clean up resize() stuff,
8795           and unnecessary updateScreen()s
8796
8797 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8798
8799         * BufferView.h:
8800         * BufferView.C:
8801         * BufferView_pimpl.h:
8802         * BufferView_pimpl.C:
8803         * lyxfind.h:
8804         * lyxfind.C:
8805         * minibuffer.C: remove focus management of workarea,
8806           not needed. Use screen's greyOut()
8807
8808 2002-06-17  Herbert Voss  <voss@lyx.org>
8809
8810         * converter.C: (convert) do not post a message, when converting
8811         fails, let the calling function decide what to do in this case
8812
8813 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8814
8815         * lyxfunc.C: tidy up a little
8816
8817 2002-06-16    <alstrup@diku.dk>
8818
8819         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8820         Got rid of FORMS_H_LOCATION include. Now we are
8821         GUII.
8822
8823 2002-06-15  LyX Development team  <lyx@rilke>
8824
8825         * buffer.[Ch] (sgmlOpenTag):
8826         (sgmlCloseTag): Added support for avoiding pernicious mixed
8827         content. Return number of lines written.
8828
8829         (makeLinuxDocFile):
8830         (makeDocBookFile): Fixed calls to sgml*Tag.
8831         Simple white space clean.
8832
8833         (simpleDocBookOnePar): Simple white space clean.
8834
8835         * tabular.[Ch] (docBook): Renamed to docbook and got another
8836         argument to related with the pernicious mixed content.
8837
8838         (docbookRow): Fixed calls for docbook inset method.
8839
8840 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8841
8842         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8843         so it's X11 independent.
8844
8845         * kb*.[Ch]: ditto.
8846
8847         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8848
8849 2002-06-15  Lyx Development team  <lyx@electronia>
8850
8851         * intl.h: Renamed getTrans to getTransManager.
8852
8853 2002-06-14  Angus Leeming  <leeming@lyx.org>
8854
8855         * Makefile.am: nuke forgotten stl_string_fwd.h.
8856
8857 2002-06-12  Angus Leeming  <leeming@lyx.org>
8858
8859         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8860
8861 2002-06-13  Angus Leeming  <leeming@lyx.org>
8862
8863         * LaTeX.C:
8864         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8865
8866 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8867
8868         * kbmap.C (getiso): add support for cyrillic and greek
8869
8870 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8871
8872         * BufferView.h:
8873         * BufferView.C:
8874         * BufferView_pimpl.h:
8875         * BufferView_pimpl.C: move bogus scrolling logic
8876           to xforms
8877
8878 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * lyxfunc.C:
8881         * BufferView_pimpl.C: view->resize() change
8882
8883 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8884
8885         * BufferView_pimpl.C: topCursorVisible
8886           prototype change
8887
8888 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * Makefile.am:
8891         * lyx_gui.h:
8892         * lyx_gui.C: move to frontends/
8893
8894         * main.C:
8895         * lyx_main.h:
8896         * lyx_main.C: changes from above
8897
8898 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8899
8900         * intl.C:
8901         * intl.h:
8902         * kbmap.C:
8903         * kbsequence.C:
8904         * lyx_cb.C:
8905         * lyx_main.C: minor tidy
8906
8907 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8908
8909         * BufferView_pimpl.h:
8910         * BufferView_pimpl.C:
8911         * BufferView.h:
8912         * BufferView.C: make painter() const,
8913           remove dead code
8914
8915         * BufferView2.C: use screen() accessor
8916
8917         * lyx_main.h:
8918         * lyx_main.C: some minor cleanup
8919
8920 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * BufferView_pimpl.h:
8923         * BufferView_pimpl.C: remove enter/leaveView,
8924           use workHeight()
8925
8926 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * BufferView.h:
8929         * BufferView.C:
8930         * BufferView2.C:
8931         * BufferView_pimpl.h:
8932         * BufferView_pimpl.C: only construct screen once,
8933           rename
8934
8935         * lyxrc.C: remove pointless comment
8936
8937 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * BufferView.h:
8940         * BufferView.C: remove active() and belowMouse()
8941
8942         * BufferView_pimpl.h:
8943         * BufferView_pimpl.C: use workarea() not workarea_,
8944           and make it use a scoped_ptr instead
8945
8946 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8947
8948         * lyx_gui.C: add debug message on BadWindow
8949
8950 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8951
8952         * sp_spell.C: fdopen is not part of the C++ standard.
8953
8954         * paragraph.C (InsetIterator): use >= instead of ==
8955
8956 2002-06-07  Angus Leeming  <leeming@lyx.org>
8957
8958         Fixes needed to compile with Compaq cxx 6.5.
8959         * BufferView_pimpl.C:
8960         * DepTable.C:
8961         * buffer.C:
8962         * converter.C:
8963         * encoding.C:
8964         * lyx_gui.C:
8965         * lyx_main.C:
8966         * lyxtextclasslist.C:
8967         * minibuffer.C:
8968         * sp_spell.C:
8969         * tabular_funcs.C:
8970         * vc-backend.C:
8971         all c-library variables have been moved into namespace std. Wrap
8972         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8973
8974         * lyxlength.C:
8975         * tabular-old.C:
8976         * tabular.C:
8977         Add a using std::abs declaration.
8978
8979         * kbmap.h (modifier_pair):
8980         * paragraph.h (InsetTable, InsetList):
8981         * lyxfont.h (FontBits):
8982         type definition made public.
8983
8984         * bufferlist.C (emergencyWriteAll): the compiler complains that
8985         there is more than one possible lyx::class_fun template to choose from.
8986         I re-named the void specialisation as lyx::void_class_fun.
8987
8988         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8989
8990         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8991         the compiler is is unable to find tostr in write_attribute.
8992
8993 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8994
8995         * buffer.C (sgmlError): hide #warning
8996
8997 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8998
8999         * xtl/*: get rid of xtl, which is not in use anyway
9000
9001         * LyXAction.C (init):
9002         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9003         were unimplemented xtl experimentation
9004
9005 2002-06-04  André Pönitz <poenitz@gmx.net>
9006
9007         * lyxfunc.C: disable array operation on simple formulae
9008
9009 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9010
9011         * converter.C: constify a bit
9012
9013 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9014
9015         * lyx_gui.C: check xforms version correctly
9016
9017 2002-04-30  Herbert Voss  <voss@lyx.org>
9018
9019         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9020         "keep" option
9021
9022 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9023
9024         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9025           attempt to register it with a VCS)
9026
9027 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9028
9029         * lyx_main.C (init): honor variables LYX_DIR_13x and
9030         LYX_USERDIR_13x
9031
9032 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9033
9034         * buffer.h:
9035         * buffer.C:
9036         * lyx_main.C: fix a crash on bad command line,
9037           and give a useful exit status on error
9038
9039         * lyxfunc.C (doImport): allow -i lyx to work
9040
9041 2002-03-30  André Pönitz <poenitz@gmx.net>
9042
9043         * lyxfunc.C: mathed font changes
9044
9045 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * LaTeX.C:
9048         * importer.h:
9049         * importer.C:
9050         * lyx_sty.h:
9051         * lyx_sty.C:
9052         * lyxlex.C:
9053         * lyxrow.h:
9054         * lyxtext.h:
9055         * paragraph.h:
9056         * paragraph.C:
9057         * texrow.h:
9058         * texrow.C:
9059         * text.C:
9060         * trans_mgr.h: srcdocs, and some minor cleanups
9061
9062 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9063
9064         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9065         call getFont all the time)
9066
9067 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * switch from SigC signals to boost::signals
9070
9071 2002-05-29  André Pönitz <poenitz@gmx.net>
9072
9073         * paragraph_pimpl.C (getChar): don't call size() too often...
9074
9075 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9076
9077         * paragraph_pimpl.C (insertChar): do not try to update tables when
9078         appending (pos == size())
9079
9080         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9081         in order to reduce drastically the number of comparisons needed to
9082         parse a large document
9083
9084 2002-05-29  André Pönitz <poenitz@gmx.net>
9085
9086         * text.C:
9087         * text2.C:
9088         * lyxtextclass.C:
9089         * sp_pspell.h:
9090         * textclasslist.[Ch]:
9091         * sp_ispell.h: whitespace change
9092
9093 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9094
9095         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9096         lyxaction directly now.
9097
9098 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9099
9100         * trans.C:
9101         * lyxfont.C:
9102         * lyxvc.C: remove unused headers
9103
9104 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * Makefile.am:
9107         * buffer.h:
9108         * undostack.h:
9109         * undostack.C:
9110         * undo_funcs.h:
9111         * undo_funcs.C: some cleanups. Use shared_ptr
9112           and a template for the undo stacks.
9113
9114 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9115
9116         * BufferView_pimpl.h:
9117         * BufferView_pimpl.C:
9118         * kbmap.h:
9119         * kbmap.C:
9120         * kbsequence.h:
9121         * kbsequence.C:
9122         * lyxfunc.h:
9123         * lyxfunc.C:
9124         * text2.C: use key_state/mouse_state
9125
9126 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9127
9128         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9129         and LSubstring
9130
9131         * chset.C: change include order
9132         (loadFile): use boost regex and get rid of LRegex and LSubstring
9133
9134         * Makefile.am (BOOST_LIBS): new variable
9135         (lyx_LDADD): use it
9136
9137         * LaTeX.C: change include order.
9138         (scanAuxFile): use boost regex and get rid of LRegex and
9139         LSubstring
9140         (deplog): ditto
9141
9142 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9143
9144         * ColorHandler.h:
9145         * ColorHandler.C:
9146         * FontInfo.h:
9147         * FontInfo.C: moved to frontends/xforms/
9148
9149         * FontLoader.h:
9150         * FontLoader.C: moved into frontends for GUIIzation
9151
9152         * Makefile.am:
9153         * lyx_gui.C:
9154         * lyxfont.C:
9155         * lyxfunc.C: changes from above
9156
9157 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9158
9159         * LColor.C: remove spurious X include
9160
9161         * BufferView_pimpl.C:
9162         * Makefile.am:
9163         * font.h:
9164         * font.C:
9165         * text.C:
9166         * text2.C: move font metrics to frontends/
9167
9168 2002-05-24  Juergen Vigna  <jug@sad.it>
9169
9170         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9171         setting the undo_cursor.
9172
9173         * ParagraphParameters.h: include local includes first.
9174
9175 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * BufferView_pimpl.C:
9178         * BufferView_pimpl.h:
9179         * Makefile.am:
9180         * WorkArea.h:
9181         * WorkArea.C:
9182         * screen.C: move WorkArea into frontends/
9183
9184         * lyxscreen.h:
9185         * screen.C:
9186         * text.C:
9187         * BufferView.C:
9188         * BufferView2.C: move LyXScreen into frontends/
9189
9190         * lyxlookup.h:
9191         * lyxlookup.C:
9192         * lyx_gui.C: move lyxlookup into frontends/xforms/
9193
9194 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9195
9196         * BufferView2.C:
9197         * BufferView_pimpl.C:
9198         * FontLoader.C:
9199         * LyXView.h:
9200         * LyXView.C:
9201         * Makefile.am:
9202         * WorkArea.C:
9203         * XFormsView.h:
9204         * XFormsView.C:
9205         * buffer.C:
9206         * bufferlist.C:
9207         * bufferview_funcs.C:
9208         * converter.C:
9209         * importer.C:
9210         * lyx_cb.C:
9211         * lyx_gui.C:
9212         * lyx_main.C:
9213         * lyx_find.C:
9214         * lyxfunc.C:
9215         * lyxvc.C:
9216         * minibuffer.C:
9217         * text.C:
9218         * text2.C:
9219         * trans.C:
9220         * vc-backend.C: move LyX/XFormsView into frontends/
9221
9222 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9223
9224         * Makefile.am:
9225         * PainterBase.C:
9226         * PainterBase.h:
9227         * Painter.C:
9228         * Painter.h:
9229         * WorkArea.C:
9230         * WorkArea.h:
9231         * screen.C:
9232         * tabular.C:
9233         * text.C:
9234         * text2.C: move Painter to frontends/
9235
9236 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9237
9238         * buffer.C: comment out some some code that depend upon lyx_format
9239         < 220
9240
9241         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9242         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9243
9244         * buffer.h (NO_COMPABILITY): turn off compability
9245
9246         * ColorHandler.C: include scoped_array.hpp
9247
9248         * font.C: Use more specific smart_ptr header.
9249         * Painter.C: ditto
9250         * gettext.C: ditto
9251         * ShareContainer.h: ditto
9252         * lyx_main.h: ditto
9253         * kbmap.h: ditto
9254         * FontInfo.h: ditto
9255         * BufferView_pimpl.h: ditto
9256         * ColorHandler.h: ditto
9257
9258         * kbmap.C (defkey): change call to shared_ptr::reset
9259
9260 2002-05-21  Juergen Vigna  <jug@sad.it>
9261
9262         * buffer.C (insertErtContents): fix to insert ert asis if it is
9263         non empty. Skip it completely if it contains only whitespaces.
9264
9265 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * BufferView_pimpl.C:
9268         * BufferView2.C: clear selection on paste (bug 393)
9269
9270 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9271
9272         * DepTable.C: include ctime
9273
9274 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9275
9276         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9277
9278 2002-05-14  Juergen Vigna  <jug@sad.it>
9279
9280         * text.C (breakParagraph): fixed function to honor the keepempty
9281         layout in the right maner and also to permit the right breaking
9282         algorithm on empty or non empyt keepempty paragraphs.
9283
9284         * paragraph.C (breakParagraph): we have to check also if the par
9285         is really empty (!size()) for isempty otherwise we do the wrong
9286         paragraph break.
9287
9288 2002-05-10  Juergen Vigna  <jug@sad.it>
9289
9290         * buffer.[Ch] : The following are only changes to the ert
9291         compatibility read reading old LaTeX layout and font stuff and
9292         convert it to ERTInsets.
9293
9294         * buffer.h: added isErtInset().
9295
9296         * buffer.C (struct ErtComp): add a fromlayout bool to check
9297         if we're inside a LaTeX layout.
9298         (isErtInset): new helper function.
9299         (insertErtContents): look for other ert insets before this one
9300         and insert the contents there, so that we don't have subsequent
9301         ERT insets with nothing between them. This way we create only one
9302         inset with multiple paragraphs. Also check if we don't insert only
9303         spaces ' ' as they are ignored anyway afterwards in the .tex file
9304         so if we have only spaces we will ignore this latex part in the
9305         new file.
9306         (parseSingleLyXformat2Token \\layout): better compatibility when
9307         reading layout-latex stuff.
9308         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9309         language tag.
9310         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9311         stuff after reading the inset only get the information back from
9312         the stack.
9313
9314 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9315
9316         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9317
9318         * LaTeXFeatures.C (getBabelOptions): New method.
9319
9320 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9321
9322         * BufferView_pimpl.C (Dispatch): work around missing argument for
9323         'layout'
9324
9325 2002-05-08  Juergen Vigna  <jug@sad.it>
9326
9327         * text.C (leftMargin): handle paragraph leftindent.
9328
9329         * paragraph.C (writeFile): write the new \\leftindent tag.
9330         (validate): handle leftindent code.
9331         (TeXEnvironment): handle paragraphleftindent code again.
9332
9333         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9334
9335         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9336         for paragrap_extra indent code and new token \\leftindent.
9337         (latexParagraphs): handle the leftindent as environment.
9338
9339         * ParameterStruct.h: added leftindent support.
9340
9341         * ParagraphParameters.C (leftIndent): added support functions for
9342         the paragraph left indent.
9343
9344         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9345         more appropriate.
9346
9347 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9348
9349         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9350         inside insetERT.
9351
9352         * text.C (computeBidiTables): No bidi in insetERT.
9353
9354         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9355         in RTL documents.
9356
9357 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9358
9359         * version.C.in: pre 5
9360
9361 2002-05-02  José Matos  <jamatos@fep.up.pt>
9362         * buffer.C (makeDocBookFile): white space changes, add newline to
9363         command styles.
9364         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9365
9366         * tabular.C (docBook): fix typo.
9367
9368 2002-05-03  Juergen Vigna  <jug@sad.it>
9369
9370         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9371         change in LyXText as we can not be sure it was not freed.
9372         (drawOneRow): remove unused code.
9373
9374         * text.C (drawInset): redo the calculation of the need_break_row as
9375         it could have a row which was already freed.
9376         (draw): look at the return value of drawInset and return false if
9377         it also returned false.
9378         (paintRowText): look at the return value of draw and return false if
9379         it also returned false.
9380
9381         * lyxtext.h: added bool return type to drawInset() and draw() so that
9382         if we have a change in the row so that the rowbreak has to be redone
9383         we abort drawing as it will be called again.
9384
9385 2002-05-02  Juergen Vigna  <jug@sad.it>
9386
9387         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9388         a change in the maintext also if we're inside an inset.
9389         (Dispatch): set the cursor again after a break line and after the
9390         screen has been updated as it could be we're in a different row.
9391
9392         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9393         to set the cursor behind the pargraph with > size().
9394         (setCursor): check also for the same paragraph when checking where
9395         to put the cursor if we have a NFR inset.
9396
9397         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9398         parts of layout read further up as it still was in the wrong
9399         position.
9400
9401 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9402
9403         * screen.C (drawFromTo): change sine fullRebreak always return
9404         true.
9405
9406         * buffer.C (parseSingleLyXformat2Token): reindent some
9407
9408         * BufferView_pimpl.C (update): change since fullRebreak always
9409         return true.
9410         (Dispatch): git rid of the last hardcoded "Standard"s.
9411
9412 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9413
9414         * text2.[Ch] (fullRebreak): make it return void now that we always
9415         returned true.
9416
9417 2002-04-30  Juergen Vigna  <jug@sad.it>
9418
9419         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9420         ert compatibility check for "latex" layout.
9421
9422 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9423
9424         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9425         minipages: use col% instead of p%, and also use the current font.
9426         (makeLaTeXFile): Fix use babel condition.
9427         (parseSingleLyXformat2Token): Correct font when reading old floats.
9428
9429 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9430
9431         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9432         inserting list of floats.
9433
9434 2002-04-25  Herbert Voss  <voss@lyx.org>
9435
9436         * MenuBackend.C (expand): don't add the graphics extensions to the
9437         export menu
9438
9439 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9440
9441         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9442         non-existing layout, do not complain if it was the default layout
9443         of the original class (bug #342)
9444
9445 2002-04-24  Juergen Vigna  <jug@sad.it>
9446
9447         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9448         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9449
9450 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9451
9452         * buffer.C (getBibkeyList): If using \bibliography, return the
9453         option field with the reference itself. Enables us to provide natbib
9454         support when using \bibliography.
9455
9456 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9457
9458         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9459
9460         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9461         natbib is provided by the LaTeX class.
9462
9463 2002-04-23  Juergen Vigna  <jug@sad.it>
9464
9465         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9466         Wakeup functions.
9467
9468         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9469
9470 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9471
9472         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9473
9474         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9475         ensuremath around textordmasculine, textordfeminine and
9476         textdegree.
9477
9478 2002-04-19  Juergen Vigna  <jug@sad.it>
9479
9480         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9481         reinitializing the buffer otherwise row-dimensions may be wrong.
9482         (update): reset also the selection cursors if they do exits otherwise
9483         their x/y positions may be wrong.
9484
9485         * text2.C (cursorDown): don't enter the inset if we came from a row
9486         above and are one row over the inset.
9487
9488         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9489         really leaving an inset.
9490
9491 2002-04-18  Juergen Vigna  <jug@sad.it>
9492
9493         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9494         of the selected paragraph does not have the selected layout also if
9495         the last one had!
9496
9497         * text2.C (setLayout): fixed bug which did not change last selected
9498         paragraph.
9499
9500         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9501         changed the read and substituted \\end_float with \\end_inset!
9502
9503         * BufferView_pimpl.C (cursorPrevious):
9504         (cursorNext): fixed to make it work with rows heigher than the work
9505         area without moving the cursor only the draw of the row.
9506         (workAreaMotionNotify): fix jumping over high rows.
9507
9508 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9509
9510         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9511         Ressler.
9512
9513 2002-04-16  Juergen Vigna  <jug@sad.it>
9514
9515         * text2.C (setCursor): set also the irow().
9516         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9517         (cursorUp):
9518         (cursorDown): support for locking an inset if the x_fix value goes
9519         inside it. That way I can transverse insets too with cursor up/down.
9520
9521         * lyxrow.h: added irow helper function same as other (i) functions.
9522
9523         * BufferView_pimpl.C (cursorPrevious):
9524         (cursorNext): fixed for insets!
9525
9526 2002-04-15  Juergen Vigna  <jug@sad.it>
9527
9528         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9529         position otherwise it is wrong in some cases.
9530
9531         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9532         inside the inset before the call.
9533
9534 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9535
9536         * buffer.[Ch] (getBibkeyList): make it const.
9537
9538 2002-04-12  Juergen Vigna  <jug@sad.it>
9539
9540         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9541
9542         * text2.C (getCursorX): new helper function
9543         (setCursor): compute also ix_
9544         (setCursorFromCoordinates): set also ix.
9545
9546         * lyxcursor.h: added ix_ and helper functions.
9547
9548         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9549
9550         * buffer.C (insertStringAsLines): dont break paragraph if the this
9551         paragraph is inside an inset which does not permit it!
9552
9553         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9554         also with no chars on this paragraph.
9555         (paintRowText): only paint stuff if it's inside the workarea!
9556
9557         * paragraph.C (breakParagraph): honor keepempty flag and break the
9558         paragraph always below not above.
9559
9560         * BufferView2.C (unlockInset): update the paragraph layout on inset
9561         unlock as we changed paragraph in such a case.
9562
9563         * lyxfind.C (LyXFind): clear the former selection if not found!
9564
9565         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9566         again called in insertChar().
9567
9568         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9569         an inset which uses the whole row!
9570         (rightMargin): ditto.
9571         (insertChar): force a rebreak if we inserted an inset!
9572
9573 2002-03-28  Herbert Voss  <voss@lyx.org>
9574
9575         * lyxlength.[Ch]: add inBP() to get the right PS-point
9576         units (BigPoint). With inPixels we have rounding errors
9577
9578 2002-04-11  Juergen Vigna  <jug@sad.it>
9579
9580         * text2.C (setCursorFromCoordinates): set iy to the right value.
9581         (setCursor): add check if row->previous exists!
9582
9583         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9584         an old float_type as this was the case in the old code!
9585
9586         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9587
9588         * BufferView2.C (showLockedInsetCursor): use iy
9589         (fitLockedInsetCursor): ditto
9590
9591         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9592         locked insets as there we have the right value now.
9593
9594         * lyxcursor.C: added iy_ variable and iy functions to set to the
9595         baseline of cursor-y of the locked inset.
9596
9597         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9598         (setCursor): fixed for insets which need a full row.
9599
9600         * text.C (rowLastPrintable): don't ignore the last space when before
9601         an inset which needs a full row.
9602         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9603         as last character of a row when before a inset which needs a full row.
9604
9605 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9606
9607         * version.C.in: update date
9608
9609         * text2.C (fullRebreak): try to always return true and see what
9610         happens...
9611
9612 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9613
9614         * MenuBackend.C (expand): use Floating::listName
9615
9616         * FloatList.C (FloatList): add listName argument to the built-in
9617         floats
9618
9619         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9620         text associated with the float.
9621
9622 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9625
9626 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9627
9628         * ShareContainer.h: add a couple of missing typenames.
9629
9630 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9631
9632         * lyxrc.C (getDescription): use _() correctly rather than N_().
9633
9634 2002-03-28  Herbert Voss  <voss@lyx.org>
9635
9636         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9637         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9638
9639 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9642         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9643
9644 2002-03-29  Juergen Vigna  <jug@sad.it>
9645
9646         * lyxfunc.C (dispatch): add a missing fitCursor call.
9647
9648         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9649         it was scrolled by a cursor move, so return the bool status.
9650
9651         * BufferView.C (fitCursor): return the bool flag also to the outside
9652         world as this is needed.
9653
9654         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9655
9656         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9657         call the edit() as it is not needed (and wrong) IMO.
9658         (workAreaButtonPress): set the screen_first variable before evt.
9659         unlock the inset as this may change screen_first and then we have
9660         a wrong y position for the click!
9661
9662 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9663
9664         * MenuBackend.C (expand): another translation that I missed
9665
9666 2002-03-28  Juergen Vigna  <jug@sad.it>
9667
9668         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9669
9670         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9671
9672 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9673
9674         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9675
9676         * MenuBackend.C (expand): fix export/view/update when there is no
9677         document open.
9678
9679 2002-03-27  Herbert Voss  <voss@lyx.org>
9680
9681         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9682         and text%
9683
9684 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * bufferview_funcs.C (currentState): only show paragraph number
9687         for is DEVEL_VERSION is set.
9688
9689         * lyxfunc.C (dispatch): put warning in INFO channel
9690
9691         * MenuBackend.C (expand): translate the name of floats
9692
9693         * FloatList.C (FloatList): mark the float names for translation
9694
9695         * converter.C (convert): use LibScriptSearch
9696
9697 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9698
9699         * MenuBackend.C (defaults): fix default menu (we might as well get
9700         rid of it...)
9701
9702 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9703
9704         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9705         directory.
9706
9707 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9708
9709         * lyxvc.C: reorder includes.
9710
9711 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9712
9713         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9714           properly
9715
9716 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * CutAndPaste.C: change layouts earlier on paste
9719           to avoid crashing when calling getFont()
9720
9721 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9722
9723         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9724         irritating #error.
9725
9726 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9727
9728         * WorkArea.C: remove 'Pending' debug message.
9729
9730         * most files: ws cleanup
9731
9732         * buffer.[Ch]: ws changes
9733
9734         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9735
9736 2002-03-21  Juergen Vigna  <jug@sad.it>
9737
9738         * tabular.C (SetMultiColumn): collapse also the contents of the
9739         cells and set the last border right. Added a Buffer const * param.
9740
9741 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9742
9743         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9744         linking or not.
9745
9746 2002-03-19  Juergen Vigna  <jug@sad.it>
9747
9748         * text2.C (clearSelection): reset also xsel_cache.
9749
9750         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9751         where it needs to be called (John tells us to do so too :)
9752         (selectionLost): reset sel_cache.
9753
9754         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9755
9756 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9757
9758         * text2.C (setCursorIntern): put debuging code in INSETS channel
9759
9760 2002-03-19  André Pönitz <poenitz@gmx.net>
9761
9762         * lyxfunc.C: tiny whitespace change
9763
9764 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9765
9766         * ToolbarDefaults.C (init):
9767         * LyXAction.C (init):
9768         * commandtags.h:
9769         * BufferView_pimpl.C (Dispatch):
9770         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9771
9772 2002-03-19  Allan Rae  <rae@lyx.org>
9773
9774         * exporter.C (Export): removeAutoInsets before doing anything else.
9775         While I've just introduced a dependency on BufferView this really is
9776         the best place to clean the buffer otherwise you need to cleanup in
9777         a dozen places before calling export or cleanup in a dozen functions
9778         that export calls.
9779
9780         * converter.C (runLaTeX):
9781         (scanLog): Better handling of removeAutoInsets and screen updates.
9782
9783         * lyxfunc.C (dispatch): small whitespace changes
9784
9785 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9786
9787         * WorkArea.C (C_WorkAreaEvent): return a value.
9788         (event_cb): return 1 if we handled the event, 0 otherwise.
9789
9790         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9791
9792 2002-03-18  Juergen Vigna  <jug@sad.it>
9793
9794         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9795         (GetAdditionalWidth): ditto.
9796         (RightLine): ditto.
9797         (LeftLine): ditto.
9798
9799         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9800         inset if we're there actually (probably not used right now but this
9801         is the direction to go for unifying code).
9802         (paste): disable code to clear the selection.
9803
9804         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9805         inside an InsetText and move the check further up as it is in the
9806         wrong place.
9807
9808         * text2.C (pasteSelection): set a selection over the pasted text.
9809
9810 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9811
9812         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9813         and libgraphics to build on Cygwin.
9814
9815 2002-03-15  Juergen Vigna  <jug@sad.it>
9816
9817         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9818         inserting an Inset into the paragraph. I know this is not the best
9819         fix but we already use current_view in CutAndPaste so we will remove
9820         all of it's using at the same time.
9821
9822         * buffer.C (sgmlError): deactivated function till it is rewritten in
9823         the right mode, now it can create problems.
9824
9825         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9826         before accessing it.
9827
9828 2002-03-14  Juergen Vigna  <jug@sad.it>
9829
9830         * undo_funcs.C (textHandleUndo): do the right thing when updating
9831         the inset after the undo/redo.
9832
9833         * text2.C (setCursor): just some testcode for #44 not ready yet.
9834
9835         * undo_funcs.C (textHandleUndo): set the next() and previous()
9836         pointers of the paragraph to 0 before deleting otherwise we have
9837         problems with the Paragraph::[destructor].
9838
9839         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9840         on a paragraph insertion.
9841
9842 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9843
9844         * buffer.C (asciiParagraph): use += operator for char append to
9845         string.
9846
9847         * paragraph.C (getFontSettings): compare >= not just >
9848         (highestFontInRange): ditto
9849         (setFont): ditto
9850
9851 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9852
9853         * paragraph.C: change several algorithm to be more appripriate for
9854         the problem domain. This is lookip in FontList and in the InsetList.
9855
9856 2002-03-13  André Pönitz <poenitz@gmx.net>
9857
9858         * commandtags.h:
9859         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9860
9861 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9862
9863         * commandtags.h:
9864         * LyXAction.C:
9865         * lyxfunc.C:
9866         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9867
9868 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9869
9870         * Painter.C (display): anon helper function, adjust code for this
9871         change.
9872         (pixmap): remove function.
9873
9874         * Painter.h: remove private display variable.
9875
9876         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9877
9878 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9879
9880         * WorkArea.[Ch]: remove figinset_canvas cruft.
9881
9882 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9883
9884         * lyxtextclass.C (operator): add one item cache optimization.
9885
9886         * bufferlist.h: doxy changes
9887
9888         * bufferlist.C: ws changes
9889
9890         * DepTable.[Ch] (ext_exist): place const in the right spot.
9891
9892         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9893         call resizeInsets.
9894         (workAreaExpose): call resizeInsets when the with BufferView changes.
9895         (Dispatch): adjust for protectedBlank removal
9896         (specialChar): call updateInset if the insert went ok.
9897
9898         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9899         specialChar instead.
9900
9901         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9902
9903         * BufferView.h: doxy change
9904
9905         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9906
9907         * lyxtextclass.C (operator[]): remove non-const version
9908         (defaultLayout): remove non-const version
9909
9910 2002-03-12  Juergen Vigna  <jug@sad.it>
9911
9912         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9913         did resize the LyXText too.
9914
9915         * buffer.C (readLyXformat2): set layout information on newly allocated
9916         paragraphs.
9917
9918         * tabular.C (OldFormatRead): set layout information on the paragraph.
9919
9920 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9921
9922         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9923
9924 2002-03-11  Juergen Vigna  <jug@sad.it>
9925
9926         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9927         plainly wrong.
9928         (resizeCurrentBuffer): force also the insets to resize themselfes.
9929         (moveCursorUpdate): fixed up for InsetText.
9930
9931 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9932
9933         * commandtags.h:
9934         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9935         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9936         value of Dialogs::tooltipsEnabled().
9937         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9938
9939 2002-03-08  Juergen Vigna  <jug@sad.it>
9940
9941         * BufferView_pimpl.C (updateInset): update inset inside inset also
9942         if it isn't inside theLockingInset().
9943
9944 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9945
9946         * buffer.C (asciiParagraph): redo some of the word and line length
9947         handling.
9948         (getLists): look for Caption instead of caption.
9949
9950 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9951
9952         * buffer.C (Buffer): initialize niceFile to true
9953         (makeLaTeXFile):
9954         (makeLinuxDocFile):
9955         (makeDocBookFile): make sure niceFile is true on exit
9956
9957 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9958
9959         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9960
9961 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9962
9963         * LyXSendto.C: remove.
9964         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9965         * lyx_gui.C: remove now-redundant comment.
9966         * ColorHandler.h: remove forward declaration of class WorkArea.
9967         * lyxfunc.C: remove #include "WorkArea.h".
9968
9969 2002-03-07  Juergen Vigna  <jug@sad.it>
9970
9971         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9972         got moved away with the DEPM and also set the inset_owner always
9973         right which before could have been omitted.
9974
9975 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9976
9977         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9978         wanted layout is not found.
9979
9980 2002-03-07  Juergen Vigna  <jug@sad.it>
9981
9982         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9983
9984 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * paragraph.C (breakParagraph): use default layout not layout of
9987         prev paragraph.
9988         (Paragraph): clear ParagraphParameters.
9989
9990 2002-03-06  Juergen Vigna  <jug@sad.it>
9991
9992         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9993         otherwise it would not be a valid lenght. Fixed a special case in
9994         the minipage compatibility read where we end the document with a
9995         minipage.
9996
9997         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9998         was set as it could be 0 for InsetTexts first entry.
9999
10000 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10001
10002         * paragraph.C (writeFile): if layout is empty write out
10003         defaultLayoutName().
10004
10005         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10006         file without named layout we set layout to defaultLayoutName().
10007
10008 2002-03-06  Juergen Vigna  <jug@sad.it>
10009
10010         * CutAndPaste.C (copySelection): set layout for new paragraph.
10011
10012         * text.C (prepareToPrint): leave ERT inset left aligned
10013         (leftMargin): don't indent paragraphs inside ERT insets
10014
10015 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10016
10017         * paragraph.C (breakParagraph): dont call clear do the work manually
10018
10019         * paragraph.[Ch] (clear): remove function
10020
10021 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10022
10023         * paragraph.C (Paragraph): dont call clear, the work has already
10024         been done.
10025
10026         * lyxtextclass.C (operator): assert if n is empty
10027
10028         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10029         work manually instead.
10030
10031 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * BufferView_pimpl.C: protect selectionLost against text == 0
10034
10035 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10036
10037         * text.C (breakParagraph): fix a setting layout to '0' problem.
10038
10039 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10040
10041         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10042         final location of file, for the included files, and graphics.
10043
10044 2002-03-05  Juergen Vigna  <jug@sad.it>
10045
10046         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10047
10048 2002-03-04  Juergen Vigna  <jug@sad.it>
10049
10050         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10051
10052         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10053         last column of multicolumn cells.
10054         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10055
10056 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10057
10058         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10059         file if it doesn't go to a temporary file.
10060
10061         * buffer.C (sgmlOpenTag):
10062         (sgmlCloseTag):  remove extra newline insertion.
10063
10064 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10065
10066         * text.C (getRowNearY): comment out debug msg
10067
10068 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10069
10070         * text2.C: first -> first_y
10071
10072         * text.C (getRowNearY): add some attemts at a possible
10073         optimization, not working.
10074
10075         * tabular.[Ch]: add BufferParams to several function so that newly
10076         created paragraph can be initialized to he default layotu for the
10077         buffers textclass.
10078
10079         * tabular-old.C (ReadOld): add buf->params to call of Init
10080
10081         * screen.C: rename text->first to text->first_y
10082
10083         * paragraph.C (breakParagraph): always set layout in the broken
10084         paragraph
10085
10086         * lyxtextclass.C (Read): remove lowercase
10087         (hasLayout): ditto
10088         (operator): ditto
10089         (delete_layout): ditto
10090
10091         * lyxtext.h: rename first -> first_y
10092
10093         * lyxlayout.C (Read): remove lowercase
10094         (name): ditto
10095         (setName): ditto
10096         (obsoleted_by): ditto
10097
10098         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10099
10100         * buffer.C (insertErtContents): add params are to InsetERT
10101         (parseSingleLyXformat2Token): add code to check if a paragraphs
10102         layout really exist.
10103         (parseSingleLyXformat2Token): add params to several inset
10104         constructors
10105         (asciiParagraph): remove lowercase, do the layout comparisons with
10106         no_case
10107
10108         * BufferView_pimpl.C (cursorNext): first -> first_y
10109         (resizeCurrentBuffer): first -> first_y
10110         (updateScrollbar): first -> first_y
10111         (scrollCB): first -> first_y
10112         (workAreaMotionNotify): first -> first_y
10113         (workAreaButtonPress): first -> first_y
10114         (checkInsetHit): first -> first_y
10115         (cursorPrevious): first -> first_y
10116         (cursorNext): first -> first_y
10117         (Dispatch): add buffer_->params to severl inset contructors
10118
10119 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10120
10121         * lyxlayout.C (Read): remove some debug info that I forgot.
10122
10123         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10124         clean up the code slightly.
10125         (makeLinuxDocFile): ditto
10126         (makeDocBookFile): ditto
10127
10128         * text2.C: layout as string
10129
10130         * text.C: layout as string
10131
10132         * paragraph_pimpl.C: layout as string
10133
10134         * paragraph.[Ch]: layout as string
10135
10136         * lyxtextclasslist.[Ch]: layout as string
10137
10138         * lyxtextclass.[Ch]: layout as string
10139
10140         * lyxtext.h: layout as string
10141
10142         * lyxlayout.[Ch]: layout as string
10143
10144         * lyx_cb.C: layout as string
10145
10146         * bufferview_funcs.C: layout as string
10147
10148         * bufferparams.C: layout as string
10149
10150         * buffer.C: layout as string
10151
10152         * LyXView.[Ch]: layout as string
10153
10154         * LaTeXFeatures.[Ch]: layout as string
10155
10156         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10157
10158         * BufferView_pimpl.C: change current_layout to string, remove
10159         lyx::layout_type.
10160         (Dispatch):
10161         (smartQuote):
10162         (insertInset):
10163         (workAreaButtonRelease): layout as string
10164
10165         * BufferView2.C (unlockInset): adjust
10166
10167         * vspace.C (asLatexCommand): use an explict temp variable.
10168
10169 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * Makefile.am: use FRONTEND_*
10172
10173 2002-03-01  Juergen Vigna  <jug@sad.it>
10174
10175         * tabular.C (SetWidthOfMulticolCell): changed to something better
10176         I hope but still work in progress.
10177         (recalculateMulticolumnsOfColumn): renamed function from
10178         recalculateMulticolCells as it is more appropriate now.
10179         (SetWidthOfCell): calculate multicols better.
10180
10181 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10182
10183         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10184
10185         * lyxfunc.C (processKeySym): print sequence also if it is
10186         `deleted' (complete)
10187
10188         * kbsequence.C (print): print sequence even if it is deleted
10189         (complete would be a better word, actually).
10190
10191         * lyxfunc.C (dispatch): print complete options after a prefix key
10192
10193         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10194
10195 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10196
10197         * text2.C (setCharFont): eliminate setCharFont code duplication.
10198
10199 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10200
10201         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10202         LFUN_TABULAR_FEATURE (bug #177)
10203
10204 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10205
10206         * Makefile.am: remove figure.h
10207
10208 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10209
10210         * Bufferview_pimpl.C:
10211         * CutAndPasteC:
10212         * LaTeX.C:
10213         * LyXSendto.C:
10214         * buffer.C:
10215         * bufferlist.C:
10216         * converter.C:
10217         * language.C:
10218         * lyxfunc.C:
10219         * lyxvc.C:
10220         * paragraph.C:
10221         * text.C:
10222         * text2.C: remove #include "lyx_gui_misc.h".
10223
10224         * LaTeX.C: added #include <cstdio>
10225
10226 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10229         that the paragraph following this one can have.
10230
10231         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10232
10233         * vspace.C (asLatexCommand): fix bogus gcc warning
10234
10235         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10236
10237 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10238
10239         * text2.C (setLayout): get rid of redundant code
10240
10241 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10242
10243         * text2.C (incDepth): make sure depth cannot be increased beyond
10244         reasonable values.
10245
10246 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10247
10248         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10249         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10250
10251         * PainterBase.h (image):
10252         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10253         a LyXImage const *.
10254
10255 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * BufferView.C:
10258         * BufferView.h:
10259         * BufferView_pimpl.C:
10260         * BufferView_pimpl.h:
10261         * LaTeXFeatures.C:
10262         * LyXAction.C:
10263         * LyXView.C:
10264         * Makefile.am:
10265         * UpdateList.h:
10266         * UpdateList.C:
10267         * buffer.C:
10268         * figure.h:
10269         * figureForm.C:
10270         * figureForm.h:
10271         * figure_form.C:
10272         * figure_form.h:
10273         * lyx_cb.C:
10274         * lyx_gui.C:
10275         * lyx_gui_misc.C:
10276         * lyxfunc.C:
10277         * sp_base.h:
10278         * sp_ispell.h:
10279         * sp_pspell.h:
10280         * sp_spell.C: remove fig inset, and the crap house of
10281           cards that follows it
10282
10283 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10284
10285         * Makefile.am:
10286         * lyxserver.C:
10287         * os2_defines.h:
10288         * os2_errortable.h:
10289         * nt_defines.h: move .h into support/
10290
10291         * vms_defines.h: remove
10292
10293         * WorkArea.C: add space in debug output
10294
10295         * text2.C:
10296         * paragraph.C:
10297         * buffer.C: add WITH_WARNINGS
10298
10299         * vc-backend.h:
10300         * vc-backend.C:
10301         * bufferlist.C: s/retrive/retrieve/, add docs
10302
10303         * vspace.h:
10304         * vspace.C:
10305         * kbmap.h:
10306         * lyxlength.h:
10307         * lyxgluelength.h:
10308         * length_common.h:
10309         * chset.h:
10310         * chset.C: add docs
10311
10312         * lyxgui.C: add ID to X error handler
10313
10314         * lyxtestclass.c: fix typo
10315
10316 2002-02-26  Juergen Vigna  <jug@sad.it>
10317
10318         * tabular_funcs.C (write_attribute): changed so that some default
10319         attributes are not written at all.
10320         (getTokenValue): set default values before trying to read the
10321         value so we have the return value always set as default if we don't
10322         find the token we search for.
10323
10324         * tabular.C (Write): write bools as bools not as strings!
10325
10326 2002-02-22  Juergen Vigna  <jug@sad.it>
10327
10328         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10329         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10330
10331         * text.C (leftMargin): don't add an indent for paragraphs inside
10332         tabular cells (fix #208).
10333
10334 2002-02-21  José Matos  <jamatos@fep.up.pt>
10335
10336         * tabular.C (docBook): fixed support for long tables.
10337
10338 2002-02-20  Juergen Vigna  <jug@sad.it>
10339
10340         * text2.C (getFont): get the drawing font of the Inset if this
10341         paragraph is inside an inset (only important for InsetERT for now).
10342
10343         * buffer.C (insertErtContents): use new lanugage params in ERT
10344         constructor.
10345
10346         * CutAndPaste.C: commenting out seemingly uneeded code.
10347
10348 2002-02-19  Allan Rae  <rae@lyx.org>
10349
10350         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10351         Iterators might be simple to use but they also get invalidated.
10352         (removeAutoInsets): renamed saved cursor tracking variables and added
10353         some comments to clarify what everything does.
10354
10355 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10356
10357         * Chktex.C:
10358         * LaTeX.C:
10359         * LyXSendto.C:
10360         * converter.C:
10361         * lyx_cb.C:
10362         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10363         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10364
10365         * lyxfunc.C:
10366         * vc-backend.h: remove #include "support/syscall.h"
10367
10368         * LaTeX.C:
10369         * LyXSendto.C:
10370         * converter.C: rearrange #includes in Lars' approved fashion.
10371
10372         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10373         forward declare class Timeout in the header file.
10374
10375         * XFormsView.C: changes due to the above.
10376
10377         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10378         similar to LyXView.
10379
10380         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10381         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10382
10383 2002-02-18  José Matos  <jamatos@fep.up.pt>
10384
10385         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10386         insets contents.
10387
10388 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10389
10390         * a lot of small ws changes
10391         * add a lot of using std::XXX
10392         * use std construcs some places where approp.
10393         * use some exisint stuff from lyxfunctional where approp.
10394         * Make file changes to use partial linking (lets test this now...)
10395
10396 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10397
10398         * Chktex.C:
10399         * buffer.C:
10400         remove #include "support/syscontr.h" as it's redundant. Always has been.
10401
10402         * Chktex.C:
10403         * LaTeX.C:
10404         * LyXSendto.C:
10405         * converter.C:
10406         * lyx_cb.C:
10407         * vc-backend.C:
10408         change Systemcalls::System to Systemcalls::Wait and
10409         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10410         No change of functionality, just reflects the stripped down Systemcalls
10411         class.
10412
10413 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10414
10415         * debug.[Ch]: add a GRAPHICS type to the enum.
10416
10417 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10418
10419         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10420
10421         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10422         there is an inset.
10423
10424 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10427         match the changes below.
10428
10429         * text2.C (toggleInset): if there is not editable inset at cursor
10430         position, try to see if cursor is _inside_ a collapsable inset
10431         and close it.
10432
10433 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10436         document menu has a nice checkbox
10437
10438 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * lyxlength.C (asLatexString): change PW to output as percent of
10441         \textwidth.
10442
10443         * lengthcommon.C: change '%' to 't%'
10444
10445         * lyxfunc.C (dispatch): a few comments from Martin
10446
10447 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10448
10449         * WorkArea.h:
10450         * WorkArea.C:
10451         * BufferView_pimpl.h:
10452         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10453           the X selection.
10454
10455 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10456
10457         * vspace.C (inPixels): fix compiler warning
10458
10459 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10460
10461         * lyxfunc.C (getStatus): fix status message for disabled commands.
10462
10463 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * BufferView_pimpl.C: fix crash on close buffer
10466         during selection (#227)
10467
10468 2002-01-27  Herbert Voss  <voss@lyx.org>
10469
10470         * buffer.C: link old Figure to new graphic inset
10471
10472 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10473
10474         * FontLoader.C (getFontinfo): Change the latex font names in order
10475         to match the names of type1inst.
10476
10477 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10480
10481         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10482         (extchanged): ditto
10483         (ext_exist): ditto
10484         (remove_files_with_extension): ditto
10485         (remove_file): ditto
10486         (write): ditto
10487
10488         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10489         document is smaller than the work area height. Do not initialize
10490         static variables to 0.
10491
10492 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10493
10494         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10495
10496         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10497         LFUN_LAYOUT_PARAGRAPHS.
10498
10499         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10500         tabular. It is possible to provide a possible cell, which will
10501         typically be the actcell from the corresponding insettabular
10502
10503         * lyxfunc.C (getStatus): small cleanup; disable
10504         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10505         true
10506
10507 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10508
10509         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10510
10511         * paragraph.C (startTeXParParams):
10512         (endTeXParParams): new methods. The LaTeX code to
10513         start/end paragraph formatting
10514         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10515         empty (fixes bug #200)
10516
10517         * vspace.C (inPixels): adapt to the change below
10518         (inPixels): [later] more cleanups (remove unused variables)
10519
10520         * lyxlength.C (inPixels): change to use a width and a height as
10521         parameter.
10522
10523 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10524
10525         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10526         Replaced with \paperwidth
10527
10528         * DepTable.C (insert): add std:: qualifier
10529
10530 2002-01-18  Allan Rae  <rae@lyx.org>
10531
10532         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10533         updated also?
10534
10535         * text.C (drawInset): Turned out I didn't know enough about how
10536         rebreaking worked.  This fixes most of the redraw problems.  I see
10537         an occasional cursor trail when a line is broken now and the cursor
10538         placement can seem out by a few pixels also after a rebreak.
10539
10540 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10541
10542         * buffer.C (parseSingleLyXformat2Token): update because minipage
10543         width is now a LyXLength
10544
10545         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10546
10547         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10548         math insets
10549
10550 2002-01-17  Juergen Vigna  <jug@sad.it>
10551
10552         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10553
10554         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10555         is set correctly and the inset is updated correctly.
10556
10557 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10560         the beginning of the loop.
10561
10562 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * lyxrc.C: improve help for use_scalable_fonts
10565
10566 2002-01-17  Allan Rae  <rae@lyx.org>
10567
10568         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10569
10570 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10573         make sure to set their inset_owner to the right value (bug #171)
10574
10575 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10576
10577         * DepTable.h
10578         * DepTable.C: Implement mtime checking to reduce time spent doing
10579         CRCs.
10580
10581 2002-01-16  Juergen Vigna  <jug@sad.it>
10582
10583         * tabular.C (GetAdditionalHeight): one of error fixed.
10584
10585         * lyxrc.C (output): small fix in writing use_pspell.
10586
10587 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10588
10589         * sp_base.h: #include LString.h
10590
10591 2002-01-16  Allan Rae  <rae@lyx.org>
10592
10593         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10594         Can someone check this please?
10595
10596         * text.C (drawInset): It was possible that p.row would be removed by
10597         breakAgainOneRow upsetting a few other settings.  There may be another
10598         small tweak possible by setting need_break_row = 0 when p.row has been
10599         removed but I don't know enough about the logic here.
10600
10601 2002-01-15  Allan Rae  <rae@lyx.org>
10602
10603         * text.C (insertChar): removed conditional truism.
10604
10605         * BufferView2.C (removeAutoInsets): More tweaks.
10606         cur_par_prev could be a stray pointer.  Check for trailing empty line
10607         in case last line was cur_par and only had an error inset on it.
10608
10609 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10610
10611         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10612         absolute
10613
10614         * vc-backend.C (most methods):
10615         * exporter.C (Export):
10616         * converter.C (convert):
10617         (runLaTeX):
10618         * LyXSendto.C (SendtoApplyCB):
10619         * lyxfunc.C (dispatch):
10620         (menuNew):
10621         (open):
10622         (doImport):
10623         * lyx_cb.C (AutoSave):
10624         (InsertAsciiFile):
10625         * BufferView_pimpl.C (MenuInsertLyXFile):
10626         * buffer.C (runChktex): use Buffer::filePath().
10627
10628         * buffer.h: rename filename to filename_; rename filepath to
10629         filepath_ and make it private
10630         (filePath): new method
10631
10632         * buffer.C (writeFile): use fileName()
10633         (getLatexName):
10634
10635         * lyx_main.C (init): fix starting  of LyX when the binary is a
10636         link from so,ewhere else.
10637
10638         * minibuffer.C: include <cctype> for isprint
10639
10640 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10641
10642         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10643         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10644         name clash with InsetCollapsable's width function.
10645
10646 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * lastfiles.C: include <iterator>
10649
10650 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10651
10652         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10653         std::count.
10654
10655         * buffer.C (makeLaTeXFile): ditto.
10656         Also make loop operation more transparent.
10657
10658 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10659
10660         * ToolbarDefaults.C: remove trailing comma closing namespace.
10661
10662         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10663
10664         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10665         as in WorkArea.
10666
10667         * trans.C (Load): comment out unused variable, allowed.
10668
10669 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10670
10671         * minibuffer.[Ch] (append_char): new method to recieve input from the
10672         drop-down completion browser. If a key was pressed, then recieve this
10673         char and append it to the existing string.
10674         (peek_event): modify the positioning data passed to the completion
10675         browser so that it can be placed above the minibuffer rather than below.
10676 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677
10678         * LyXAction.C (init): alloe error-next for readonly documents.
10679
10680         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10681         count.
10682
10683 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10684
10685         * bufferlist.C (readFile): create the buffer _after_ checking that
10686         the file exists.
10687
10688         * lyxfunc.C (verboseDispatch): fix handling of arguments
10689
10690         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10691
10692         * lyxrc.C: use string::erase() instead of initializing to "".
10693
10694
10695 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * BufferView_pimpl.h:
10698         * BufferView_pimpl.C:
10699         * WorkArea.h:
10700         * WorkArea.C:
10701         * text2.C: tell X when we have made a selection for copying
10702
10703 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * BufferView_pimpl.C (MenuInsertLyXFile):
10706         * lyxfunc.C (menuNew):
10707         (open):
10708         (doImport): add shortcuts to directory buttons
10709
10710         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10711         open a float)
10712
10713         * lyxfunc.C (setStatusMessage):
10714         (getStatusMessage): new methods
10715         (getStatus):use setStatusMessage instead of setErrorMessage
10716         (dispatch): when function is disabled, set error message here
10717         [instead of in getStatus previously]
10718
10719         * BufferView_pimpl.C (workAreaButtonRelease): update
10720         toolbar/menubar here too.
10721
10722 2002-01-13  Allan Rae  <rae@lyx.org>
10723
10724         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10725         Now seems indestructible.  Remaining task is to audit all other
10726         code affected by deleteEmptyParagraphMechanism.  One small quirk
10727         left is that an empty document with an error in the preamble can
10728         be made to report an error but no error box appears.  I don't know
10729         where it goes.
10730         (removeAutoInsets): Improved comments.
10731
10732 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * Thesaurus.h:
10735         * Thesaurus.C: update for Aiksaurus 0.14
10736
10737 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10738
10739         * text2.C (firstParagraph): removed member function, all uses
10740         replaces with ownerParagraph
10741         (redoParagraphs): here
10742         (updateInset): here
10743         (toggleAppendix): here
10744         * BufferView2.C (insertErrors): here
10745         (setCursorFromRow): here
10746
10747 2002-01-13  Allan Rae  <rae@lyx.org>
10748
10749         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10750         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10751         There is still a way to segfault this although you may have to do this
10752         multiple times: Have an InsetERT with an unknown command in it.
10753         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10754         <down-arrow>, <Enter> again, View->DVI, BANG!
10755
10756         * text2.C (setCursor):
10757         (deleteEmptyParagraphMechanism):
10758         * lyxtext.h (setCursor):
10759         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10760         Making use of the return value may help fix other bugs.
10761
10762 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10763
10764         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10765
10766         * LyXView.C (updateMenubar): call MenuBar::update here
10767         (updateToolbar): but not here
10768         (showState): do not update toolbar/menubar
10769
10770         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10771         should need to care about that.
10772
10773         * lyxfunc.C (verboseDispatch): simplify a bit
10774         (getStatus): have a version which takes a pseudoaction, and
10775         another which requires a (kb_action,string).
10776
10777         * LyXAction.C (retrieveActionArg): make it work also when action
10778         is not a pseudo-action.
10779         (getActionName): simplify a bit
10780         (helpText):
10781
10782 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * lyxfunc.C (verboseDispatch): new families of methods with
10785         several ways to specify a command and a bool to indicate whether
10786         the command name and shortcut should be displayed in minibuffer
10787         (eventually, we could extend that to a finer bitmask like
10788         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10789         (dispatch): the pristine dispatch command which just, well,
10790         dispatchs! Note it still sets its result to minibuffer; I'm not
10791         sure we want that.
10792
10793         * lyxfunc.h: remove setHintMessage
10794
10795         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10796
10797 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10798
10799         * BufferView_pimpl.C (specialChar): delete new inset if we have
10800         not been able to insert it.
10801
10802         * kbmap.C: revert to using int instead of kb_action, since all we
10803         are dealing with is pseudo-actions.
10804
10805         * LyXAction.C (searchActionArg): change to return int instead of
10806         kb_action, since the result is a pseudoaction.
10807
10808 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10809
10810         * buffer.C (insertErtContents): Fix (partially) the font bug.
10811
10812 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10813
10814         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10815         as the other one is broken on my machine!
10816
10817 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10818
10819         * commandtags.h:
10820         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10821
10822 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10823
10824         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10825         reflect their actual use. Provide compatibility code for older lyxrc
10826         files.
10827
10828         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10829         FL_NORMAL_STYLE.
10830         change names of popup font variables in line with the changes to lyxrc.C
10831
10832 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10833
10834         * buffer.C (asciiParagraph): avoid outputing a word twice after
10835         an inset.
10836
10837         * lyxrc.C (getDescription): document that document_path and
10838         template_path can be empty.
10839
10840 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10841
10842         * LaTeXFeatures.C (getMacros):
10843         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10844
10845         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10846
10847         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10848         getPackages.
10849         (getPackages): rename feature "floats" to "float". Use an array to
10850         iterate over 'simple' features (i.e. just a \usepackage). Add
10851         handling of "amsmath" (renamed from "amsstyle").
10852
10853 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10854
10855         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10856         features list.
10857
10858 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10859
10860         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10861         FuncStaus::FuncStatus & FuncStaus::some_method().
10862
10863 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10864
10865         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10866         of the func_satus stuff. Edited and massaged in various ways by
10867         JMarc.
10868
10869         * lyxfunc.C (getStatus): use FuncStatus
10870
10871 2002-01-08  Juergen Vigna  <jug@sad.it>
10872
10873         * text.C (nextBreakPoint): use function Inset::isChar().
10874
10875         * paragraph.C (TeXOnePar): use function
10876         Inset::forceDefaultParagraphs.
10877
10878         * buffer.C (latexParagraphs): use function
10879         Inset::forceDefaultParagraphs.
10880
10881 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10882
10883         * lyx_gui.C (init): set the style of the menu popups to
10884         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10885
10886 2002-01-07  Juergen Vigna  <jug@sad.it>
10887
10888         * text.C (setHeightOfRow): small fix
10889         (prepareToPrint): don't look at alignment if we don't have the place
10890         for doing it.
10891
10892 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10893
10894         * box.C: New file. Move the Box methods and functions out of box.h,
10895         following Lars' suggestion.
10896
10897 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10898
10899         * box.h: #include "support/LOstream.h", needed for inlined function.
10900
10901         * lyxtextclass.C:
10902         * lyxtextclasslist.C: added some using std declarations.
10903
10904 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * box.h: make signed dimensions to allow insets wider than
10907           the screen (bug #162)
10908
10909         * BufferView_pimpl.C: add some insetHit debug
10910
10911 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * vc-backend.C: add FIXME
10914
10915 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * lyxfunc.C (getStatus): enable code for showing math font status
10918         in toolbar/menu.
10919
10920 2002-01-07  Juergen Vigna  <jug@sad.it>
10921
10922         * text.C (nextBreakPoint): removed debug output not needed anymore.
10923
10924 2002-01-06  Juergen Vigna  <jug@sad.it>
10925
10926         * text.C (nextBreakPoint): fixed up this function we had this bug
10927         since ever but now hopefully we break row better.
10928         (insertChar): we have to check if an inset is the next char as it
10929         could now happen that a large inset is causing a break.
10930
10931 2002-01-05  Juergen Vigna  <jug@sad.it>
10932
10933         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10934         if it doesn't like to be drawed.
10935
10936 2002-01-04  Juergen Vigna  <jug@sad.it>
10937
10938         * BufferView2.C (lockInset): forgot to set a cursor.
10939
10940         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10941
10942 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10943
10944         * FormMathsPanel.C:
10945         * FormMathsPanel.h
10946         * MathsSymbols.C:
10947         * form_maths_panel.C:
10948         * form_maths_panel.h:
10949         * form_maths_panel.fd: implemented sub- and super- buttons in math
10950         panel.
10951
10952         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10953         (or ^ space) to be used as in TeX (req'd by André).
10954
10955         * lyxfunc.C: Allow ^ and _ again to be used both as
10956         super/subscript (mathed) and as themselves (in text).
10957
10958 2002-01-03  Allan Rae  <rae@lyx.org>
10959
10960         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10961         "LyX" or the filename of the current buffer if it has one.  This is a
10962         modified form of John Levon's patch.
10963
10964         * XFormsView.C (setWindowTitle): also set icon title.
10965
10966         * LyXView.h (setWindowTitle): signature changed.
10967         * XFormsView.h (setWindowTitle): ditto.
10968
10969 2002-01-02  Juergen Vigna  <jug@sad.it>
10970
10971         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10972
10973 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * screen.C (topCursorVisible): introduce a temp var for
10976         text->cursor.row(), handle the case where this row is null. (kindo
10977         hachish)
10978
10979         * text2.C (setCursor): add a couple of asserts.
10980
10981         * paragraph.h (inset_iterator): add -> operator
10982
10983         * paragraph.[Ch] (autoDeleteInsets): remove member function
10984
10985         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10986         cursor pos correctly and handle inset deletion by itself.
10987         (insertErrors): move iterator declaration out of for expression
10988
10989         * lyxtextclass.C: add <algorithm>
10990
10991         * Makefile.am: added the new files to sources, removed layout.C
10992
10993         * layout.C: removed file
10994
10995         * layout.h: remove LYX_DUMMY_LAYOUT
10996
10997         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10998         layout.
10999
11000         * lyxlayout.[Ch]:
11001         * lyxtextclass.[Ch]:
11002         * lyxtextclasslist.[Ch]: new files
11003
11004         * include order changes to a lot of files, also changes because of
11005         the six new files.
11006
11007 2001-12-27  Juergen Vigna  <jug@sad.it>
11008
11009         * buffer.C (asciiParagraph): more fixes.
11010
11011         * tabular.C (ascii): make ascii export support export of only the
11012         data separated by a column-delimiter.
11013         (ascii): better support for ascii export.
11014
11015         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11016
11017 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11018
11019         * tabular_funcs.C: use a "using std::getline" instead of the
11020         previous fix from Angus (necessary for cxx + lyxstring)
11021
11022 2001-12-24  Juergen Vigna  <jug@sad.it>
11023
11024         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11025
11026         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11027         problems. First check a minipage also if we have some ert-contents
11028         (not only on par->size(), second set the right depth of the paragraph
11029         on the relink to the root-paragraph-list!
11030
11031         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11032         which then did not anymore update the main paragraphs on undo/redo!
11033
11034 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11035
11036         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11037         code. Support all font-changing funcs (even those which are not in
11038         menu currently). Support for reporting font settings in
11039         mathed (disabled until Andre provides a function on mathed's side).
11040
11041         * func_status.h (toggle): small helper function to set toggle
11042         state on a flag.
11043
11044 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11045
11046         * tabular_funcs.C: getline -> std::getline
11047
11048 2001-12-21  Juergen Vigna  <jug@sad.it>
11049
11050         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11051         accessed and could be 0 (I couldn't generate this but it seems
11052         Michael could!).
11053
11054 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11055
11056         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11057         * tabular_funcs.h: here and include iosfwd
11058
11059 2001-12-20  Juergen Vigna  <jug@sad.it>
11060
11061         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11062         inside inset but undo_par was.
11063
11064 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11065
11066         * Thesaurus.C: always include <config.h> in sources.
11067
11068         * Painter.h:
11069         * lyxlookup.h:
11070         * box.h: do not include <config.h> in header files
11071
11072         * text.C (paintLastRow): remove unused variable
11073
11074         * text.C (transformChar):
11075         (insertChar):
11076         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11077
11078         * Painter.C (text):
11079         * font.C (width): rewrite to use uppercase() instead of
11080         islower/toupper.
11081
11082         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11083
11084 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * lyxfind.C: clean up of find failure position change
11087
11088 2001-12-20  Juergen Vigna  <jug@sad.it>
11089
11090         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11091
11092         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11093         (TeXRow): added to LaTeX a single tabular row.
11094         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11095         (Latex): simplified and finally good LT-h/f support.
11096         (various_functions): just small adaptions for LT-h/f support.
11097
11098         * tabular_funcs.[hC]: added and moved here all not classfunctions
11099         of LyXTabular.
11100
11101 2001-12-19  Juergen Vigna  <jug@sad.it>
11102
11103         * tabular.[Ch]: better support for longtabular options (not finished
11104         yet!)
11105
11106 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11107
11108         * text.C (paintLastRow): use the label font instead of the font of
11109         the last character to compute the size of *_BOX. This makes more
11110         sense and avoids a crash with empty paragraphs.
11111         Use Painter::rectangle to draw EMPTY_BOX.
11112
11113 2001-12-19  Juergen Vigna  <jug@sad.it>
11114
11115         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11116         the paragraphs if the replaced paragraph is not the first one!
11117         Tried to delete not used paragraphs but does not work yet so for
11118         now it's inside #ifdef's and by default off!
11119
11120 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11121
11122         * MenuBackend.C: include "lyx_main.h" instead of declaring
11123         lastfiles (actually was declared as LastFiles* instead of a
11124         scoped_ptr).
11125
11126 2001-12-17  Juergen Vigna  <jug@sad.it>
11127
11128         * tabular.C (AppendColumn): applied John's fix
11129
11130 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11131
11132         * BufferView.h:
11133         * BufferView.C:
11134         * BufferView_pimpl.h:
11135         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11136
11137         * Makefile.am:
11138         * box.h: new start of class for above
11139
11140         * lyxfunc.C: ignore space-only minibuffer dispatches.
11141           Show the command name when it doesn't exist
11142
11143         * minibuffer.C: don't add empty lines to the history
11144
11145         * minibuffer.C: add a space on dropdown completion
11146
11147 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * text.C: fix line above/below drawing in insets
11150
11151 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * lyxlength.C (LyXLength): Initialize private variables.
11154
11155 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11156
11157         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11158         when inserting error insets.
11159
11160 2001-12-13  Juergen Vigna  <jug@sad.it>
11161
11162         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11163         actually sometimes the before-paragraph.
11164         (setUndo): don't clear the redostack if we're not actually undoing!
11165
11166 2001-12-06  Juergen Vigna  <jug@sad.it>
11167
11168         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11169         and fixed redoing of main paragraph, so we can use it now ;)
11170
11171         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11172
11173 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11176         Juergen's request
11177
11178 2001-12-13  André Pönitz <poenitz@gmx.net>
11179
11180         * undostack.[Ch]:
11181         * undo_func.C: minor cleanup
11182
11183 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11184
11185         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11186         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11187         font in urw-fonts package which is marked as -urw-fontspecific and
11188         does not work (incidentally, changing the encoding in the
11189         fonts.dir of this package to -adobe-fontspecific fixes the
11190         problem).
11191
11192         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11193         is a crash when undoing first paragraph (Juergen, please take a
11194         look). THis does not mean the undo fix is wrong, just that it
11195         uncovers problems.
11196
11197         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11198         the (Paragraph*) version when needed instead of duplicating the
11199         code.
11200
11201         * text.C (workWidth): use Inset::parOwner to find out where the
11202         inset has been inserted. This is a huge performance gain for large
11203         documents with lots of insets. If Inset::parOwner is not set, fall
11204         back on the brute force method
11205
11206         * paragraph_pimpl.C (insertInset):
11207         * paragraph.C (Paragraph):
11208         (cutIntoMinibuffer): set parOwner of insets when
11209         inserting/removing them
11210
11211         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11212
11213 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11214
11215         * commandtags.h:
11216         * LyXAction.C:
11217         * lyx_main.C:
11218         * lyxfunc.C:
11219         * mathed/formulabase.C:
11220         * mathed/math_cursor.[Ch]:
11221         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11222
11223
11224 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * lyxlength.[Ch] (operator!=): new function
11227
11228 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * text.C (workWidth): use Inset::parOwner to find out where the
11231         inset has been inserted. This is a huge performance gain for large
11232         documents with lots of insets. If Inset::parOwner is not set, fall
11233         back on the brute force method
11234
11235         * paragraph_pimpl.C (insertInset):
11236         * paragraph.C (Paragraph):
11237         (cutIntoMinibuffer): set parOwner of insets when
11238         inserting/removing them
11239
11240         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11241
11242 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11243
11244         * tabular-old.C (getTokenValue):
11245         * tabular.C (getTokenValue):
11246         (write_attribute): new versions for LyXLength
11247         (everywhere): adjust the use of widths
11248
11249         * tabular.h: change the type of widths from string to LyXLength
11250
11251 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11252
11253         * paragraph.C: fixed missing line number count when exporting
11254         Environments to LaTeX file
11255
11256         * buffer.C: added informational message for checking line numbers.
11257
11258 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11259
11260         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11261         paragraph, do the 'double space' part, but not the 'empty
11262         paragraph' one.
11263
11264         * text.C (workWidth): small optimization
11265         (getLengthMarkerHeight): use minimal size for negative lengths.
11266
11267 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11268
11269         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11270
11271         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11272
11273 2001-12-11  André Pönitz <poenitz@gmx.net>
11274
11275         * FontLoader.C:
11276         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11277
11278 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11279
11280         * text2.C: keep selection on a setFont()
11281
11282 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * lyx_cb.C: another bv->text misuse, from insert label
11285
11286 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * kbsequence.h:
11289         * kbsequence.C: re-instate nmodifier mask
11290
11291 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11292
11293         * lyx_main.h: make lyxGUI private.
11294
11295 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * lyxfind.C: place the cursor correctly on failed search
11298
11299 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11300
11301         * text.C (getLengthMarkerHeight): for small heights, the arrows
11302         are not always on top/bottom of the text
11303         (drawLengthMarker): smaller arrows; take the left margin in
11304         account; draw also vfills.
11305         (paintFirstRow):
11306         (paintLastRow): remove special code for vfill and standard spaces,
11307         since everything is handled in drawLengthMarker now.
11308
11309 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11310
11311         * buffer.C (insertErtContents): try to handle font and language
11312         interaction a bit better.g
11313
11314         * ColorHandler.C (updateColor): change the hash to cover the whole
11315         LColor enum, ws cleanup
11316         (getGCLinepars): ditto
11317         (getGCLinepars): only lookup in the linecache once.
11318
11319 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11320
11321         * iterators.C (operator++): Make the iterator more robust
11322
11323         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11324         (John's patch)
11325         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11326
11327 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * lyxtext.h:
11330         * text.C: better added space drawing
11331
11332 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * LyXView.C:
11335         * BufferView2.C: fix layout combo update on inset unlock
11336
11337 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11338
11339         * Makefile.am: don't compile unused files
11340
11341 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * lyxfunc.C:
11344         * commandtags.h:
11345         * LyXAction.C: remove old LFUN_LAYOUTNO
11346
11347 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * paragraph_pimpl.h:
11350         * paragraph_pimpl.C: isTextAt() doesn't need font param
11351
11352 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * lyxlex.h:
11355         * lyxlex.C: little cleanup
11356
11357 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11358
11359         * BufferView_pimpl.C: fix insertAscii for insets
11360
11361 2001-12-05  Juergen Vigna  <jug@sad.it>
11362
11363         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11364         set the right font on the "multi" paragraph paste!
11365
11366 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11367
11368         * trans_decl.h:
11369         * trans_mgr.[Ch]:
11370         * trans.[Ch]:
11371         * lyxgluelength.C:
11372         * lyxlength.C: remove out-commented code.
11373
11374         * BufferView_pimpl:
11375         * CutAndPaste.C:
11376         * DepTable.C:
11377         * buffer.C:
11378         * chset.C:
11379         * lastfiles.C:
11380         * lyxlex.C:
11381         * lyxlex_pimpl.C:
11382         * lyxserver.C:
11383         * screen.C:
11384         * tabular-old.C:
11385         * tabular.C:
11386         * text.C:
11387         * trans_mgr.C:
11388         * vc-backend.C: change "while(" to "while ("
11389
11390         * lyxlength.[Ch]: add zero function to check if length is zero or
11391         not
11392         * lyxgluelength.C: use it
11393
11394 2001-12-05  Allan Rae  <rae@lyx.org>
11395
11396         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11397         Works for 2.95.3, from what I understand of Garst's reports this should
11398         work for other g++ versions.  We're screwed if the abs(int) definition
11399         changed between bugfix releases of gcc.
11400
11401 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * text.C: fix chapter label offset !
11404
11405 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * lyxtext.h:
11408         * text.C: fix hfill at end of line, clean up
11409
11410 2001-12-04  Juergen Vigna  <jug@sad.it>
11411
11412         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11413         that we force an update of the inset and it's owners if neccessary.
11414
11415 2001-12-03  Juergen Vigna  <jug@sad.it>
11416
11417         * text.C (rowLast): simplified code
11418
11419 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11420
11421         * lyxfunc.C: fix show options on timeout
11422
11423 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * screen.C (topCursorVisible): scroll half a page when the cursor
11426         reached top of bottom of screen
11427
11428 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * minibuffer.C: deactivate on loss of focus
11431
11432 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * vspace.[Ch] (operator!=): add operator.
11435
11436 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * BufferView_pimpl.C: refuse to open an inset when
11439         there's a selection.
11440
11441 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * BufferView_pimpl.C: allow to click on RHS of full row insets
11444
11445 2001-11-30  Juergen Vigna  <jug@sad.it>
11446
11447         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11448         insets for undo reasons.
11449
11450 2001-11-28  André Pönitz <poenitz@gmx.net>
11451
11452         * vspace.[Ch]: cosmetical changes
11453
11454 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * LyXAction.h:
11457         * LyXAction.C:
11458         * lyxfunc.h:
11459         * lyxfunc.C:
11460         * kbmap.h:
11461         * kbmap.C:
11462         * lyxrc.C:
11463         * kbsequence.h:
11464         * kbsequence.C: part re-write of old kb code
11465
11466         * Painter.C:
11467         * WorkArea.C: remove Lgb_bug_find_hack
11468
11469 2001-11-30  José Matos <jamatos@fep.up.pt>
11470
11471         * buffer.C (makeDocBookFile): add a comment to point a hack.
11472         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11473         Fixed a double write of labels.
11474
11475 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11476
11477         * LaTeX.C:
11478         * LaTeX.h Fixed bug in LaTeX class where it would not
11479         re-run latex if no depfiles were changed, but the .dvi was removed.
11480
11481 2001-11-28  André Pönitz <poenitz@gmx.net>
11482
11483         * all the files from the change on 2001/11/26:
11484         use lyx::layout_type instead of LyXTextClass::size_type
11485         use lyx::textclass_type instead of LyXTextClassList::size_type
11486
11487 2001-11-29  Juergen Vigna  <jug@sad.it>
11488
11489         * text.C: added support for paragraph::isFreeSpacing()
11490
11491         * buffer.C: same as above
11492
11493         * paragraph.h: inserted isFreeSpacing() function to enable
11494         FreeSpacing inside InsetERT.
11495
11496         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11497         of the paragraph's in the cut/copy buffer to 0!
11498
11499         * text2.C (removeRow): remove the assert as it can!
11500
11501         * lyxtext.h: added helper function firstRow returning firstrow and
11502         made firstrow private again.
11503
11504         * BufferView2.C (lockInset): don't relock if we're already locked!
11505
11506         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11507         the only paragraph.
11508         (removeRow): added Assert::(firstrow)
11509
11510         * debug.C: forgot to add INSETTEXT here.
11511
11512 2001-11-28  Juergen Vigna  <jug@sad.it>
11513
11514         * sp_spell.C (initialize): changed error text to more general
11515         spellchecker command use (not only ispell!)
11516
11517         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11518
11519         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11520
11521 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11522
11523         * vspace.C: initialise lyxgluelength on failure
11524
11525 2001-11-28  Allan Rae  <rae@lyx.org>
11526
11527         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11528         declaration & definition that looks like a function declaration.
11529
11530 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11531
11532         * BufferView2.C (copy):
11533         (copyEnvironment): do not clear the selection when doing a copy.
11534
11535         * text.C (paintFirstRow): compilation fix
11536
11537 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11538
11539         * tabular.C (Latex): correct line count when writing latex.
11540
11541 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * paragraph_pimpl.h:
11544         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11545           bug a bit
11546
11547 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * text.C:
11550         * LColor.h:
11551         * LColor.C: change vfillline->added_space
11552
11553         * text.C: add markers and text for added space
11554
11555         * vspace.C: fix comment
11556
11557 2001-11-28  André Pönitz <poenitz@gmx.net>
11558
11559         * paragraph.C: whitespace changes
11560         * all the other files from the change on 2001/11/26:
11561         change *::pos_type into lyx::pos_type
11562
11563 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11564
11565         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11566         language of the document when inserting error insets.
11567
11568 2001-11-26  André Pönitz <poenitz@gmx.net>
11569
11570         * BufferView_pimpl.[Ch]:
11571         *       CutAndPaste.C:
11572         * buffer.[Ch]:
11573         * lyxcursor.[Ch]:
11574         * lyxfind.C:
11575         * lyxfunc.C:
11576         * lyxrow.[Ch]:
11577         * paragraph.[Ch]:
11578         * paragraph_pimpl.[Ch]:
11579         * sp_spell.C:
11580         * text.C:
11581         * text2.C: reduce header dependencies, introduce type for positions
11582
11583 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * <various>: change to use Alert.h
11586
11587 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11588
11589         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11590         when encountering an unknown token.
11591         (readLyXformat2): Show an error message if there were unknown tokens.
11592
11593 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * BufferView2.C:
11596         * BufferView_pimpl.C:
11597         * buffer.C:
11598         * paragraph.h:
11599         * text.C:
11600         * text2.C: use par->isInset()
11601
11602 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * paragraph_pimpl.h:
11605         * paragraph_pimpl.C: cleanup
11606
11607 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11608
11609         * text2.C (removeRow):
11610         * text.C (setHeightOfRow): remove useless (and costly) call to
11611         getRow.
11612
11613 2001-11-20  Allan Rae  <rae@lyx.org>
11614
11615         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11616         Now need Inset*::checkInsertChar() to return true for appropriate
11617         cases so that the characters in the minibuffer will actually be
11618         inserted.
11619
11620 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * text.C: change the order of the includes.
11623         (workWidth): initialize it at once.
11624         (workWidth): make maxw unsigned
11625         (setHeightOfRow): remove unused variable (inset)
11626         (selectSelectedWord): remove unused variable (inset)
11627         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11628
11629 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11630
11631         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11632         server is not running.
11633         (openConnection):
11634         (closeConnection): add debug info when server is disabled.
11635
11636         * ColorHandler.C (getGCForeground): send debug message to GUI
11637         channel.
11638
11639         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11640
11641         * kbmap.C (bind): modify because return conventions of
11642         kb_sequence::parse have changed.
11643
11644         * kbsequence.C (parse): only ignore spaces and not any stupid
11645         control character. This avoids tests like s[i] <= ' ', which are
11646         guaranteed to fail with 8bit characters and signed chars.
11647         Change return code to string::npos when there have been no error
11648         (0 was a bad idea when error is at first character)
11649
11650 2001-11-14  José Matos  <jamatos@fep.up.pt>
11651
11652         * buffer.h:
11653         * buffer.C (simpleDocBookOnePar): removed unused argument.
11654
11655 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11658         insets which are part of a word. Paragraph::isLetter takes care of
11659         that now. Use Paragraph::isInset to identify insets.
11660         (selectSelectedWord): do not test for hyphenation break.
11661
11662         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11663         that protected spaces are considered as spaces.
11664
11665         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11666         Inset::isLetter.
11667
11668 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11669
11670         * lyxserver.h:
11671         * lyxserver.C: fix it. and small cleanup.
11672
11673 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * BufferView_pimpl.C: use inline helpers
11676
11677         * LaTeXFeatures.h:
11678         * LaTeXFeatures.C: fix typos
11679
11680         * Spacing.h:
11681         * Spacing.C: move spacing_string into class
11682
11683         * ToolbarDefaults.C: move stuff into namespace anon
11684
11685         * layout.h: update enum
11686
11687         * lyxfunc.C: use better debug
11688
11689         * minibuffer.h: fix typo
11690
11691         * debug.h:
11692         * debug.C:
11693         * WorkArea.C: add and use Debug::WORKAREA
11694
11695         * lyxtext.h:
11696         * text.C:
11697         * text2.C: code re-organisation, inline helpers
11698
11699 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11700
11701         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11702         std::vector.empty().
11703
11704 2001-11-09  Allan Rae  <rae@lyx.org>
11705
11706         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11707         '\n's after tables.  Tabular and ERT inset work now makes this no
11708         longer necessary.
11709
11710 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * minibuffer.h:
11713         * minibuffer.C: fix crash, improve drop-down completion
11714
11715 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11716
11717         * lyxserver.h:
11718         * lyxserver.C: invalidate fd's when doing endPipe()
11719
11720 2001-11-08  José Matos  <jamatos@fep.up.pt>
11721
11722         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11723         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11724
11725         * paragraph.h:
11726         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11727
11728 2001-11-07  José Matos  <jamatos@fep.up.pt>
11729
11730         * buffer.h:
11731         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11732         const qualifier.
11733
11734         * buffer.C (sgmlOpenTag):
11735         * buffer.C (sgmlCloseTag): removed debug info.
11736
11737         * buffer.h (sgmlOpenTag):
11738         * buffer.h (sgmlCloseTag): made public.
11739
11740 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11741
11742         * buffer.C (saveParamsAsDefaults):
11743         * lyx_cb.C (MenuLayoutSave): remove
11744
11745         * LyXAction.C (init):
11746         * commandtags.h:
11747         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11748
11749 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * buffer.C (setPaperStuff): removed from here...
11752
11753         * bufferparams.C (setPaperStuff): ... and moved there.
11754
11755 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * minibuffer.h:
11758         * minibuffer.C:
11759         * XFormsView.C: add support for drop-down completion
11760
11761 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11762
11763         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11764         commands.
11765
11766 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11767
11768         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11769         disabled.
11770
11771 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * lyx_main.C: change ref to known bugs
11774
11775 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11776
11777         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11778         to work around older babel problems.
11779
11780 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11781
11782         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11783
11784 2001-10-24  Juergen Vigna  <jug@sad.it>
11785
11786         * tabular-old.C (ReadOld): below variable changes reflected.
11787
11788         * tabular.[Ch]: added ltType struct for longtable header/footer
11789         defines and changed all instances where they are used. Added
11790         future support for double top/bottom rows.
11791
11792 2001-10-24  José Matos  <jamatos@fep.up.pt>
11793
11794         * buffer.h (docbookHandleCaption):
11795         * buffer.C (docbookHandleCaption): removed unused function.
11796         (makeDocBookFile): moved docbook supported version to v4.1.
11797
11798 2001-10-24  José Matos  <jamatos@fep.up.pt>
11799
11800         * tabular.h:
11801         * tabular.C (docbookRow): new function to export docbook code of a row.
11802         (DocBook): now honors the longtable flags.
11803
11804 2001-10-23  José Matos  <jamatos@fep.up.pt>
11805
11806         * LaTeXFeatures.h:
11807         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11808         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11809
11810         * buffer.C (makeLinuxDocFile):
11811         (makeDocBookFile): reworked the preamble, more clean, and with
11812         support for lyx defined entities. Changed the document declaration
11813         to be more XML friendly.
11814
11815         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11816         if we need to output XML that should be done with a filter.
11817
11818 2001-10-22  Juergen Vigna  <jug@sad.it>
11819
11820         * sp_pspell.h (class PSpell): add alive function needed in the
11821         controller to see if the spellchecker could be started.
11822
11823 2001-10-22  Juergen Vigna  <jug@sad.it>
11824
11825         * buffer.C (insertStringAsLines): modify the font for inserting
11826         chars in certain conditions by calling checkInsertChar(font).
11827
11828 2001-10-19  Juergen Vigna  <jug@sad.it>
11829
11830         * text.C (workWidth): use getRow instead of wrong algorithm.
11831         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11832
11833 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * lyxserver.h:
11836         * lyxserver.C:
11837         * lyx_main.h:
11838         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11839
11840 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11841
11842         * text.C (workWidth): do not search for the exact row when
11843         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11844         optimization for big documents.
11845
11846 2001-10-18  Juergen Vigna  <jug@sad.it>
11847
11848         * text.C (workWidth): new function with added Inset * parameter.
11849
11850 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11851
11852         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11853
11854         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11855         change return type of getColumnNearX.
11856
11857
11858         * text.C (changeRegionCase): use uppercase/lowercase instead of
11859         toupper/tolower.
11860         (leftMargin):
11861         (rightMargin): simplify code by factoring out the uses of
11862         textclasslist.
11863         (labelFill):
11864         (numberOfHfills):
11865         (setHeightOfRow):
11866         (appendParagraph): use Paragraph::size_type
11867
11868 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11869
11870         * vspace.C (asLatexString): add a missing break
11871
11872 2001-10-15  Herbert Voss  <voss@perce.de>
11873
11874         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11875
11876 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11879         is not available.
11880
11881 2001-10-10  André Pönitz <poenitz@gmx.net>
11882
11883         * lyxfunc.C: removed greek_kb_flag.
11884
11885 2001-10-10  Herbert Voss  <voss@perce.de>
11886
11887         * lyx_main.C: delete global string help_lyxdir.
11888
11889 2001-10-09  Herbert Voss  <voss@perce.de>
11890
11891         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11892
11893         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11894
11895         * lyx_main.C: added global string help_lyxdir.
11896
11897         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11898
11899 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11900
11901         * lyxrc.C (set_font_norm_type): support iso8859-4
11902
11903 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11904
11905         * LaTeX.C (deplog): add another regex for MikTeX
11906
11907 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11908
11909         * lyxrc.C (set_font_norm_type): support iso8859-3
11910
11911 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11914
11915         * LaTeXFeatures.C: remove special case of french and index
11916
11917         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11918         before \begin{document}). This solves several incompatibilities.
11919
11920 2001-10-03  Garst Reese  <reese@isn.net>
11921
11922         * lyx_cb.C: change CheckTex error msg.
11923
11924 2001-10-03  José Matos  <jamatos@fep.up.pt>
11925
11926         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11927
11928 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11929
11930         * .cvsignore: update
11931
11932         * lyx_main.C (commandLineVersionInfo): use new style version info.
11933
11934         * buffer.C (writeFile):
11935         (makeLaTeXFile):
11936         (makeLinuxDocFile):
11937         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11938
11939         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11940
11941         * version.h: update to use stuff in version.C
11942
11943         * version.C.in: new file. Contains version information determined
11944         at compile time. This is a merging of version.h and
11945         version_info.h.in.
11946
11947 2001-10-03  Juergen Vigna  <jug@sad.it>
11948
11949         * BufferView_pimpl.C (update): don't change "dirty" status in
11950         updateInset call.
11951
11952 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11953
11954         * WorkArea.C (c-tor): re-position version string slightly.
11955
11956 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11957
11958         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11959         revert to previous code.
11960
11961         WorkArea.[Ch]: (show, destroySplash): methods removed.
11962
11963         WorkArea.C: rework code so that it's an amalgam of the codes before and
11964         after the splash screen was moved to WorkArea.
11965
11966 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11967
11968         * lyxrc.C (read):
11969         * vspace.C (inPixels):
11970         (lyx_advance):
11971         * kbmap.C (bind):
11972         * buffer.C (insertStringAsLines):
11973         (asciiParagraph): fix types to be large enough
11974
11975         * lyxlex_pimpl.h: change member status from short to int
11976
11977         * layout.h: fix type of endlabeltype
11978
11979         * kbmap.C (bind):
11980         * kbsequence.C (parse): change return type to string::size_type
11981
11982         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11983         variable
11984
11985         * Bullet.C (bulletSize):
11986         (bulletEntry): do not use short ints as parameters
11987
11988         * BufferView2.C (insertLyXFile): change a char to an int.
11989
11990         * WorkArea.C (WorkArea): remove unneeded floats in computation
11991
11992 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11993
11994         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11995
11996         * paragraph.C (asString): Do not ignore newline/hfill chars when
11997         copying to the clipboard.
11998
11999 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12000
12001         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12002         after a multi-line inset.
12003
12004 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12005
12006         * paragraph.C (validate): Set NeedLyXFootnoteCode
12007
12008 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12009
12010         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12011         and decrease-error to decrease.
12012
12013 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12014
12015         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12016         it more readable (should be equivalent)
12017
12018 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12019
12020         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12021
12022 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12023
12024         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12025         of a cursor (row, etc.) after a character has been deleted
12026         (deleteEmptyParagraphMechanism): call the method above on _all_
12027         cursors held by the LyXText when a double space has been
12028         detected/deleted.
12029
12030 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12031
12032         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12033         pixmap.
12034         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12035
12036         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12037         background. Use greyOut() and the new show() methods to toggle between
12038         the foreground and background. Add code to remove the splash after
12039         its initial showing.
12040
12041         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12042         (create_forms): no longer call Dialogs::showSplash.
12043
12044 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12045
12046         * .cvsignore: add version_info.h
12047
12048 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12049
12050         * version_info.h.in: new file
12051
12052         * Makefile.am: add version_info.h.in
12053
12054         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12055         version_info.h instead of VERSION_INFO
12056
12057 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12058
12059         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12060         The ERT inset now returns string().
12061
12062 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12063
12064         * lyxtext.h, text.C (selectNextWord): renamed as
12065         selectNextWordToSpellcheck.
12066
12067         * text.C (selectNextWordToSpellcheck): Modified to not select
12068         words inside an ERT inset.
12069
12070 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12071
12072         * lyx_cb.C (MenuLayoutSave): change a bit the question
12073
12074         * sp_base.h: include <sys/types.h>
12075
12076 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12077
12078         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12079
12080 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12081
12082         * several files: fix typos in user-visible strings
12083
12084 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12085
12086         * text2.C (pasteSelection): do not set the selection, since it
12087         will be cleared later. Actually, the intent was to fix the way the
12088         selection was set, but I figured rmoving the code was just as good.
12089
12090 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12091
12092         * FontLoader.C (available): Check if font is available without
12093         loading the font.
12094
12095 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12096
12097         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12098
12099 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12100
12101         * lyxrc.[Ch]: added display_graphics variable and associated code.
12102
12103 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12104
12105         * bufferparams.C (hasClassDefaults): new method. Returns true if
12106         the buffer parameters correspond to known class defaults
12107
12108 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12109
12110         * XFormsView.C (show): set minimum size to the main window.
12111
12112 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12113
12114         * text2.C (copySelection):
12115         (cutSelection):
12116         * lyxfind.C (LyXReplace):
12117         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12118         LyXText::selectionAsString.
12119
12120         * paragraph.C (asString): add "label" argument to the second form
12121
12122         * text2.C (selectionAsString): add "label" argument and pass it to
12123         Paragraph::asString.
12124
12125 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12126
12127         * lyx_main.C (commandLineHelp): remove version information
12128
12129 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12130
12131         * lyx_main.C: add -version commandline option
12132
12133 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * paragraph.h: make the optional constructor arg required instead.
12136         some modifications to other files because of this.
12137
12138         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12139
12140         * lyxserver.C (C_LyXComm_callback): make it static
12141
12142         * lyx_main.C (error_handler): make it static
12143
12144         * lyx_gui.C (LyX_XErrHandler): make it static
12145
12146         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12147
12148         * WorkArea.C: make the extern "C" methods static.
12149
12150         * Makefile.am (lyx_LDADD): simplify
12151
12152 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12153
12154         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12155         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12156
12157         * LyXAction.C (init):
12158         * lyxfunc.C (dispatch): associated code removal.
12159
12160 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12161
12162         * lyxfont.h (isSymbolFont): shut off warning
12163
12164         * text.C (setHeightOfRow):
12165         (getVisibleRow): fix crash with empty paragraphs which have a
12166         bottom line
12167
12168 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12169
12170         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12171         code.
12172
12173 2001-09-04  José Matos  <jamatos@fep.up.pt>
12174         * buffer.C
12175         * buffer.h
12176         * tabular.C (docbook): rename docBook method to docbook.
12177
12178 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12179
12180         * Makefile.am: add dependencies to main.o.
12181
12182 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12183
12184         * FontLoader.C (available): Return false if !lyxrc.use_gui
12185
12186 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12187
12188         * FontInfo.C (query):
12189         * converter.C (view):
12190         * importer.C (Import):
12191         * exporter.C (Export): Can not -> cannot.
12192
12193 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12194
12195         * BufferView_pimpl.C: allow to create index inset even if
12196           string is empty
12197
12198 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12199
12200         * buffer.C (getLists): replace boost::tie code with an explicit pair
12201         as boost::tie can break some compilers.
12202
12203         * iterators.h: Added a std:: declaration to the return type of
12204         ParIterator::size.
12205
12206 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12209           case.
12210
12211 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12212
12213         * iterators.[Ch]: New files. Provide paragraph iterators.
12214
12215         * buffer.C (changeLanguage): Use paragraph iterators.
12216         (isMultiLingual): ditto
12217
12218         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12219
12220 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12221
12222         * FontLoader.C: Support for cmr font.
12223
12224 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12225
12226         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12227         (available): New method.
12228
12229         * FontInfo.C (getFontname): Use scalable fonts even when
12230         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12231         found.
12232
12233 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * converter.C (Formats::view): reverted! Incorrect fix.
12236
12237 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * converter.C (Formats::view): only output the -paper option
12240         if the dvi viewer is xdvi, thereby fixing bug #233429.
12241
12242 2001-08-23  Herbert Voss  <voss@perce>
12243
12244         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12245
12246 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12247
12248         * Spacing.h (Spacing): Set space to Default on in the default
12249         constructor.
12250
12251 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * vc-backend.h (RCS::versionString): add RCS to version
12254         (CVS::versionString): add CVS to version
12255
12256         * vc-backend.C (scanMaster): do not add CVS to version.
12257         (scanMaster): do not add RCS to version
12258
12259         * lyxvc.C (versionString): new method
12260
12261         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12262
12263 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * Spacing.C (set): initialize fval
12266
12267 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12268
12269         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12270         " or \.
12271
12272 2001-08-16  Juergen Vigna  <jug@sad.it>
12273
12274         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12275
12276 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * BufferView_pimpl.C:
12279         * figureForm.C:
12280         * lyxtext.h:
12281         * text2.C: setParagraph takes linespacing now
12282
12283 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * LyxAction.C: add internal LFUN_CITATION_INSERT
12286
12287         * LyXView.C: actually apply fix
12288
12289         * bufferlist.C: fix open non-existent file
12290
12291         * lyxfind.C: fix indentation
12292
12293         * lyxfunc.C: remove unneeded assert, fix typo
12294
12295 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12296
12297         * MenuBackend.C: use "Floatname List"
12298
12299 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12300
12301         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12302         when converting LaTeX layout to insetERT.
12303         Generate a non-collapsed float when reading old float
12304
12305 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12306
12307         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12308         ERT insets.
12309
12310 2001-08-13  Juergen Vigna  <jug@sad.it>
12311
12312         * text.C (fill): return 0 instead of 20 as this seems to be the more
12313         correct value.
12314
12315 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12316
12317         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12318         lyxrc.font_norm.
12319
12320 2001-08-13  Juergen Vigna  <jug@sad.it>
12321
12322         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12323         casesensitive off.
12324         (SearchBackward): comment out the unlocking of the inset_owner this
12325         should not be needed!
12326
12327 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12328
12329         * Many files: Remove inherit_language, and add latex_language
12330
12331         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12332         collapsible insets.
12333
12334 2001-08-10  Juergen Vigna  <jug@sad.it>
12335
12336         * text.C (prepareToPrint): fixed hfill-width in draw!
12337
12338         * BufferView2.C (selectLastWord): save the selection cursor as this
12339         now is cleared in the function LyXText::clearSelection!
12340
12341 2001-08-08  Juergen Vigna  <jug@sad.it>
12342
12343         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12344         BACKSPACE type functions.
12345
12346         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12347         is only cutted from the document but not put in the cut-buffer, where
12348         still the old stuff should be.
12349
12350         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12351
12352         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12353
12354         * tabular.C (SetWidthOfCell): fixed special case where the width
12355         was not updated!
12356         (LeftLine): handle '|' in align_special.
12357         (RightLine): ditto
12358         (LeftAlreadyDrawed): ditto
12359         (SetWidthOfCell): ditto
12360
12361 2001-08-07  Juergen Vigna  <jug@sad.it>
12362
12363         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12364
12365 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12368         * lyxlex.[hC]: ditto
12369
12370 2001-08-06  Juergen Vigna  <jug@sad.it>
12371
12372         * text.C (getVisibleRow): fix up row clearing a bit.
12373
12374 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12375
12376         * minibuffer.C: make sure the X server sees the changes in the input.
12377
12378 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12379
12380         * paragraph.C (getFont): split into...
12381         (getLabelFont): this
12382         (getLayoutFont): and this
12383         * paragraph_pimpl.C (realizeFont): calling this
12384
12385         * text2.C (getFont): split into...
12386         (getLayoutFont): this
12387         (getLabelFont): and this
12388         (realizeFont): all three calling this
12389
12390         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12391         files where used.
12392
12393 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12394
12395         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12396
12397 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12398
12399         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12400         layouts from the Quote inset insertion.
12401
12402 2001-08-03  Juergen Vigna  <jug@sad.it>
12403
12404         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12405
12406         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12407         only if status not is already CHANGED_IN_DRAW (second level).
12408
12409         * text.C (draw): don't set the need_break_row when inside an
12410         InsetText LyXText.
12411
12412 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12413
12414         * buffer.C (parseSingleLyXformat2Token): handle more latex
12415         conversion cases.
12416
12417         * bufferview_funcs.[hC]: change function names to
12418         begin with small char, adjust other files.
12419
12420 2001-08-02  André Pönitz <poenitz@gmx.net>
12421
12422         * lyxfunc.C:
12423         BufferView_pimpl.C: remove broken special code for math-greek
12424
12425 2001-08-02  Juergen Vigna  <jug@sad.it>
12426
12427         * BufferView_pimpl.C (update): redone this function so that we
12428         update the text again if there was a CHANGE_IN_DRAW.
12429
12430         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12431         (drawFromTo): added a new internal bool which is used by draw() and
12432         redraw() function.
12433         (general): some cursor drawing problems fixed.
12434
12435 2001-08-01  Juergen Vigna  <jug@sad.it>
12436
12437         * lyxfind.C (LyXFind): fixed
12438         (SearchForward): ditto
12439         (SearchBackward): ditto
12440
12441         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12442         spurius drawing of the cursor in the main area.
12443
12444         * text2.C (status): small fix which could lead to a segfault!
12445         (clearSelection): remove unneeded BufferView param.
12446
12447 2001-08-01  André Pönitz <poenitz@gmx.net>
12448
12449         * lyxfunc.C: small change due to changed mathed interface
12450
12451 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12452
12453         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12454
12455 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * lyxfunc.c: fail gracefully if file doesn't exist
12458
12459         * LyXSendto.C:
12460         * buffer.C:
12461         * lyxfunc.C:
12462         * BufferView_pimpl.C: IsDirWriteable() proto changed
12463
12464         * LyXView.C: fix updateWindowTitle() to store the last title
12465
12466 2001-07-31  Juergen Vigna  <jug@sad.it>
12467
12468         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12469         the font (wrong since using of Paragraph::highestFontInRange).
12470
12471         * paragraph.C (highestFontInRange): added a default_size parameter.
12472
12473         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12474         (setHeightOfRow): reformat
12475
12476 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * converter.[hC] + affected files: move to (inital-char)lowercase
12479         function names.
12480
12481         * ParagraphParameters.C (ParagraphParameters): remove commented code
12482
12483         * PainterBase.[Ch]: remove commented code
12484
12485         * LaTeXFeatures.h: add "bool floats" for float.sty
12486
12487         * LaTeXFeatures.C (LaTeXFeatures): init floats
12488         (require): handle float
12489         (getPackages): do it with floats
12490
12491 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12492
12493         * BufferView_pimpl.C (Dispatch): improve handling of
12494         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12495
12496         * commandtags.h: #include lyxfont.h here temporarily to avoid
12497         keybinding bug.
12498
12499         * bufferlist.h: include LString.h here.
12500
12501 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12502
12503         * text2.C (getStringToIndex): new method.
12504
12505 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12506
12507         * *: Reduced header file dependencies all over.
12508
12509 2001-07-30  Baruch Even  <baruch@lyx.org>
12510
12511         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12512
12513 2001-07-29  Baruch Even  <baruch@lyx.org>
12514
12515         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12516
12517 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * ParameterStruct.h (endif): add a default constructor to make
12520         sure that all variables is initialized.
12521
12522         * ParagraphParameters.C (ParagraphParameters): adjust
12523
12524 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12525
12526         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12527         index; also, check that there is something to index, and that it
12528         does not span over several paragraphs.
12529         (doubleClick): use WHOLE_WORD_STRICT for double click.
12530
12531         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12532
12533         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12534         scheme.
12535
12536 2001-07-26  Baruch Even  <baruch@lyx.org>
12537
12538         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12539         an InsetFig figure, backwards compatible reading of old figure code.
12540
12541 2001-07-27  Juergen Vigna  <jug@sad.it>
12542
12543         * text2.C: font.realize function adaption.
12544
12545         * text.C (draw): add a warnings lyxerr text if needed.
12546
12547         * layout.C: font.realize function adaption.
12548
12549         * language.C: add inherit_language and implement it's handlings
12550
12551         * bufferview_funcs.C (StyleReset): remove language parameter from
12552         font creation (should be language_inherit now).
12553
12554         * bufferparams.C (writeFile): handle ignore_language.
12555
12556         * paragraph.C (getFontSettings): the language has to be resolved
12557         otherwise we have problems in LyXFont!
12558
12559         * lyxfont.C (lyxWriteChanges): added document_language parameter
12560         (update): removed unneeded language parameter
12561
12562         * paragraph.C (validate): fixed wrong output of color-package when
12563         using interface colors for certain fonts in certain environments,
12564         which should not seen as that on the final output.
12565
12566 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * BufferView_pimpl.C:
12569         * Thesaurus.h:
12570         * Thesaurus.C:
12571         * Makefile.am:
12572         * commandtags.h:
12573         * LyXAction.C: add thesaurus support
12574
12575         * lyxfind.h:
12576         * lyxfind.C: add "once" parameter, for thesaurus, to not
12577           move to the next match
12578
12579 2001-07-26  Juergen Vigna  <jug@sad.it>
12580
12581         * lyxfont.C (realize): honor ignore_language too!
12582         (resolved): ditto.
12583
12584         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12585
12586         * text.C (draw): one place more for ignore_language to not draw
12587         itself!
12588
12589 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12590
12591         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12592
12593 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12596         the minipage conversion problem.
12597
12598 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12599
12600         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12601         insert an inset.
12602
12603 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * BufferView.h: don't forward declare WorkArea
12606
12607         * BufferView.C: don't include WorkArea.h
12608
12609 2001-07-25  André Pönitz <poenitz@gmx.net>
12610
12611         * commandtags.h:
12612         * LyXAction.C:
12613         * lyxfunc.C:  new LFUN 'math-space'
12614
12615         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12616
12617 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12618
12619         * text2.C (toggleInset): call open/close
12620
12621 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * lyxfunc.C (dispatch): add debug for the disabled case
12624
12625         * font.C (buttonText): make similar to rectText
12626
12627         * buffer.C (readInset): comment out parsing of insetlist and
12628         insttheorem
12629
12630         * PainterBase.C (rectText): small correction
12631
12632         * BufferView_pimpl.C: comment out insettheorem and insetlist
12633         * LyXAction.C: ditto
12634         * commandtags.h: ditto
12635
12636 2001-07-24  Juergen Vigna  <jug@sad.it>
12637
12638         * text.C (draw): honor the ignore_language.
12639
12640         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12641
12642 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12643
12644         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12645         char inset.
12646
12647 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12648
12649         * lyxtext.h: remove unused (and unimplemented) methods
12650
12651 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12652
12653         * text.C (getVisibleRow): honor background color
12654
12655         * PainterBase.h:
12656         * Painter.h: remove default color argument for fillRectangle
12657
12658         * text.C (backgroundColor): new method
12659
12660 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12661
12662         * text.C (getVisibleRow): adjust
12663
12664         * font.[Ch] (rectText): new method, metrics
12665         (buttonText): new method, metrics
12666
12667         * PainterBase.[hC]: make rectText and buttonText always draw and take
12668         fewer paramteres.
12669
12670 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12671
12672         * ToolbarDefaults.C (read):
12673         * MenuBackend.C (read): allow escaping in all strings
12674
12675         * BufferView_pimpl.C (insertAndEditInset): new method.
12676         (Dispatch): use insertAndEditInset whenever appropriate.
12677
12678         * BufferView_pimpl.C (insertNote): removed
12679
12680         * BufferView_pimpl.C (smartQuote): new method, moved from
12681         BufferView; if an insetquote cannot be inserted, insert a '"'
12682         character instead.
12683
12684         * BufferView2.C: remove insertCorrectQuote();
12685
12686         * lyxfunc.C (getStatus): Add support for all remaingin
12687         inset-insert lfuns.
12688
12689         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12690
12691         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12692         command (necessary to pass " as parameter of self-insert.
12693
12694         * text.C (selectWordWhenUnderCursor):
12695         (selectWord): add word_location parameter
12696         (selectWordWhenUnderCursor): same + remove special code for word
12697         boundary.
12698         (selectNextWord): use kind() to guess type of insetspecialchar,
12699         not latex().
12700
12701         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12702         (insertErtContents): create ert insets as collapsed.
12703         (readInset): better compatibility code for Info inset.
12704
12705 2001-07-20  Juergen Vigna  <jug@sad.it>
12706
12707         * lyxfunc.C (dispatch): use always LyXFind now!
12708
12709         * text2.C (init): add a reinit flag so that the LyXText can be
12710         reinited instead of deleted and reallocated (used in InsetText).
12711
12712         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12713
12714         * text.C: ditto
12715
12716         * text2.C: ditto
12717
12718 2001-07-18  Juergen Vigna  <jug@sad.it>
12719
12720         * text.C (selectNextWord): handle insets inside inset by calling
12721         always the bv->text functions so that we can go up the_locking_inset!
12722
12723         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12724         in strange locations when inside an inset!
12725
12726         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12727         handling to include insets.
12728
12729         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12730
12731 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12732
12733         * LyXAction.C (init):
12734         * commandtags.h:
12735         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12736         LIGATURE_BREAK, since the name is so stupid.
12737
12738 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12739
12740         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12741         InsetInfos.
12742
12743         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12744
12745         * sp_form.[Ch]: remove.
12746
12747         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12748
12749         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12750         InsetInfo.
12751
12752         * src/buffer.C (readInset): ditto.
12753
12754 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12755
12756         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12757         menuSeparator(), endOfSentenceDot(), ldots() and
12758         hyphenationPoint(), which are therefore removed.
12759         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12760
12761         * LyXAction.C (init):
12762         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12763
12764         * paragraph.C (getWord): removed.
12765
12766         * BufferView_pimpl.C (Dispatch): use last word or selection for
12767         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12768
12769         * lyx_main.C (queryUserLyXDir): do not ask before creating
12770         user_dir, except if it has been named explicitely.
12771
12772 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12773
12774         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12775         a document of zero size.
12776
12777 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12778
12779         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12780         approriately in the c-tor and in require().
12781         (getPackages): output the appropriate LaTeX for natbib support.
12782
12783         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12784         variables "use_natbib" and "use_numerical_citations" when reading the
12785         LyX file.
12786         (readInset): read the various natbib cite commands.
12787         (validate): white-space change.
12788
12789         * bufferparams.[Ch]: new variables "bool use_natbib" and
12790         "bool use_numerical_citations".
12791         (writeFile): output them in the LyX file.
12792
12793 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12794
12795         * lyxfunc.C (getStatus): add support for all the inset insertion
12796         commands.
12797
12798         * text2.C (insertInset):
12799         * paragraph.C (insetAllowed):
12800         * BufferView_pimpl.C (insertInset): update to take in account the
12801         renaming of insertInsetAllowed
12802
12803         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12804
12805         * text2.C (getInset): new method. returns inset at cursor position.
12806
12807         * BufferView_pimpl.C (Dispatch): changes because of this.
12808
12809         * LyXAction.C (init): rename open-stuff to inset-toggle.
12810
12811         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12812
12813         * text2.C (toggleInset): renamed from openStuff; use
12814         Inset::open().
12815
12816 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12817
12818         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12819
12820         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12821
12822 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12823
12824         * buffer.C (readLyXformat2): Add filename to the error dialog
12825
12826 2001-07-18  Juergen Vigna  <jug@sad.it>
12827
12828         * tabular.C (GetCellNumber): put an assert here instead of the check!
12829
12830 2001-07-17  Juergen Vigna  <jug@sad.it>
12831
12832         * BufferView_pimpl.C (toggleSelection): adapted too.
12833
12834         * text.C (selectNextWord): adapted for use with insets.
12835         (selectSelectedWord): ditto
12836
12837 2001-07-17  Juergen Vigna  <jug@sad.it>
12838
12839         * sp_spell.C (PSpell): fix initialitation order.
12840
12841 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * paragraph.C: spacing
12844
12845 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12846
12847         * sp_spell.C: repair language selection for pspell
12848
12849 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12850
12851         * lyxfunc.h: change more methods to begin with lower char.
12852
12853 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12854
12855         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12856         for unknown layouts.
12857
12858 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12859
12860         * buffer.C (readLyXformat2): Generate an error dialog if there are
12861         unknown layouts.
12862
12863 2001-07-16  Juergen Vigna  <jug@sad.it>
12864
12865         * sp_spell.C: always compile ISpell part.
12866
12867         * lyxrc.C: added use_pspell entry and it's handling.
12868
12869 2001-07-13  Juergen Vigna  <jug@sad.it>
12870
12871         * sp_spell.C: removed double includes.
12872
12873 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12874
12875         Consistent use of Lsstream.h:
12876         * Lsstream.h: added using std::stringstream for consistencies sake.
12877
12878         * buffer.C: removed using std::stringstream
12879
12880         * lyxfont.C (stateText):
12881         * paragraph.C (asString):
12882         * text.C (selectNextWord, selectSelectedWord):
12883         * text2.C (setCounter):
12884         * vspace.C (asString, asLatexString):
12885         std::ostringstream -> ostringstream.
12886
12887 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12888
12889         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12890         * commandtags.h: add LFUN_HELP_ABOUTLYX
12891         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12892
12893 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12894
12895         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12896         cursorToggle()
12897         * lyx_gui_misc.C: remove spellchecker
12898         * lyxfunc.C: showSpellchecker
12899         * sp_base.h: added
12900         * sp_ispell.h: added
12901         * sp_pspell.h: added
12902         * sp_spell.C: added
12903         * sp_form.[Ch]: removed
12904         * spellchecker.[Ch]: removed
12905
12906 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12907
12908         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12909         is set.
12910         (simpleTeXSpecialChars): Simply print the input character without
12911         any special translation if pass_thru is set.
12912
12913         * layout.h: Added bool pass_thru to layout class for being able to
12914         implement pass through of a paragraph for Literate Programming.
12915
12916         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12917         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12918         * layout.C (Read): add "passthru" to list of layout tags and add
12919         code to set the pass_thru boolean when it is read.
12920
12921 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12922
12923         * trans_decl.h: remove allowed from KmodInfo
12924
12925         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12926         remove allowed code
12927         (Load): adjust
12928
12929         * paragraph_pimpl.C (erase): use boost::prior
12930
12931         * Painter.C (text): use data() instead of c_str() when length is
12932         also provided.
12933         * WorkArea.C (putClipboard): ditto
12934         * font.h (width): ditto
12935
12936         * BufferView2.C: use it-> instead of (*it). for iterators
12937         * texrow.C: ditto
12938         * paragraph_pimpl.C: ditto
12939         * paragraph.C: ditto
12940         * minibuffer.C: ditto
12941         * language.C: ditto
12942         * kbmap.C: ditto
12943         * encoding.C: ditto
12944         * counters.C: ditto
12945         * converter.C: ditto
12946         * chset.C: ditto
12947         * Variables.C: ditto
12948         * TextCache.C: ditto
12949         * MenuBackend.C: ditto
12950         * LyXAction.C: ditto
12951         * LColor.C: ditto
12952         * FloatList.C: ditto
12953         * DepTable.C: ditto
12954         * ColorHandler.C (LyXColorHandler): ditto
12955
12956 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12957
12958         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12959
12960         * text2.C (openStuff): reintroduce this method (which had been
12961         nuked in NEW_INSETS frenzy).
12962
12963         * lyxfunc.C (Dispatch): when an action has not been handled, use
12964         its name in the error message, not its number.
12965
12966         * paragraph.C (inInset): change method name to begin with lowercase.
12967
12968         * undo_funcs.C:
12969         * text2.C: updates because of this.
12970
12971 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12972
12973         * ToolbarDefaults.C (add): add spaces in error message
12974
12975 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12976
12977         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12978         (readLyXformat2): rename return_par to first_par, use lyxlex's
12979         pushToken and remove the manual push handling.
12980         (parseSingleLyXformat2Token): add another ert comp. variable:
12981         in_tabular, rename return_par to first_par. handle newlines better
12982
12983 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12984
12985         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12986
12987 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * text2.C (getParFromID): removed
12990
12991         * buffer.C (getParFromID): new method moved form lyxtext.
12992         * BufferView2.C (insertErrors): adjust
12993         (setCursorFromRow): adjust
12994         * BufferView_pimpl.C (restorePosition): adjust
12995         * lyxfunc.C (Dispatch): adjust
12996         * undo_funcs.C (textUndo): adjust
12997         (textRedo): adjust
12998         (textHandleUndo): adjust
12999         (textHandleUndo): adjust
13000
13001 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13002
13003         * buffer.C: up' the LYX_FORMAT
13004
13005         * lyxfont.h: turn NO_LATEX on as default
13006
13007         * buffer.C (insertErtContents): new methods of tex style compability.
13008         (parseSingleLyXformat2Token): use it several places.
13009         * tabular.C (OldFormatRead): and here
13010
13011 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * text2.C: remove some commented code.
13014         reindent file.
13015
13016         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13017         * trans.C: changes because of the above.
13018
13019 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13020
13021         * text2.C (setCounter): Fix counters bug with bibliography layout.
13022
13023 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13026         own member functions
13027         (simpleTeXSpecialChars): ditto
13028
13029 2001-07-06  Juergen Vigna  <jug@sad.it>
13030
13031         * a lot of files: changed the access to LyXText::status and the
13032         call of undo-functions.
13033
13034         * undo.[Ch]: added a inset_id to the undo informations.
13035
13036         * undo_funcs.[Ch]: added and moved here all undo functions.
13037
13038         * lyxtext.h: give the status enum a weight, made status_ a private
13039         variable and made accessor functions for it, removed the whole bunch
13040         of undo-functions as they are now in their own file, make some
13041         functions publically available. Added function ownerParagraph with
13042         int parameter.
13043
13044         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13045         made InInset() a const function, added getParFromID() function.
13046
13047         * buffer.[Ch]: added const version for inset_iterator functions,
13048         added getInsetFromID() function.
13049
13050         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13051         changed undo functions for new version.
13052
13053 2001-07-05  Juergen Vigna  <jug@sad.it>
13054
13055         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13056         unknow mechanism does not call the proper constructor but only this
13057         one also if I request the other!?
13058
13059 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13060
13061         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13062
13063         * text2.C (LyXText): use initialization lists.
13064
13065         * lyxtext.h (Selection): initialize set_ and mark_
13066         (init): remove method
13067
13068 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13069
13070         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13071
13072 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13073
13074         * screen.[Ch]: change method names to begin with lowercase
13075
13076         * BufferView_pimpl.C (updateScrollbar): simplify further and
13077         hopefully make it a bit faster.
13078
13079 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13082         calling directly xforms functions.
13083
13084         * Painter.C (Painter):
13085         * lyx_cb.C (MenuWrite):
13086         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13087         fl_display.
13088
13089         * lyx_gui.C: remove bogus guiruntime extern declaration.
13090
13091 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13092
13093         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13094         in NEW_INSETS
13095         (redoDrawingOfParagraph): ditto
13096         (redoParagraphs): ditto
13097         (cutSelection): don't create a object for CutAndPaste use the
13098         static method directly
13099         (pasteSelection): ditto
13100
13101         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13102         LyXview (+ rename)
13103
13104 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * modifications to some other files because of this.
13107
13108         * Makefile.am (lyx_SOURCES): add XFormsView
13109
13110         * XFormsView.[Ch]: new files
13111
13112         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13113         the main window. Move the gui dependent stuff to XFormsView
13114
13115 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13116
13117         * tabular.C (GetCellInset): update cur_cell also in the row/col
13118         version of this function.
13119
13120         * lyxfunc.C: no need to include figure_form.h here.
13121
13122         * FontLoader.h:
13123         * lyxfunc.h:
13124         * lyxscreen.h:
13125         * text2.C:
13126         * lyxvc.C: no need to include forms.h here.
13127
13128 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13129
13130         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13131
13132         * lyxfunc.C (Dispatch):
13133         * Spacing.C (set):
13134         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13135         constructor argument.
13136
13137 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13138
13139         * paragraph.C (Paragraph): dont't clear, and just set layout.
13140         (makeSameLayout): use params's copy contructor.
13141
13142         * ParagraphParameters.[Ch] (makeSame): delete method
13143
13144 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13145
13146         * Variables.[Ch]: fix indentation, rename set to isSet
13147
13148 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13149
13150         * lyxfunc.C (Dispatch): fix typo
13151
13152 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13153
13154         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13155         upper_bound.
13156
13157         * bufferlist.C: include assert.h for emergencyWrite().
13158
13159 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13160
13161         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13162           give up at last (bug #425202) !
13163
13164 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * lyx_gui_misc.C:
13167         * sp_form.h:
13168         * sp_form.C:
13169         * spellchecker.h:
13170         * spellchecker.C: strip spellchecker options and bring up
13171           preferences tab instead
13172
13173 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13176         the istringstream constructor
13177
13178 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13179
13180         * paragraph.C (getLayout): fix return value
13181
13182         * paragraph.h: do not declare getLayout as inline.
13183
13184         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13185
13186 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * lyxcursor.h (operator<): new func
13189         (operator>): new func
13190         (operator>=): new func
13191         (operator<=): new func
13192
13193         * text.C (changeCase): use selection.start and selection.end
13194         (changeRegionCase): require from to be <= to. Require par to be a
13195         valid paragraph.
13196
13197         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13198
13199 2001-06-27  Juergen Vigna  <jug@sad.it>
13200
13201         * text.C (cursorLeftOneWord): changed to return the cursor and added
13202         overlay with BufferView * parameter which calls this one.
13203         (getWord): added
13204         (selectWord): use new getWord function.
13205         (changeCase): renamed from changeWordCase as and extended to work
13206         also on selections.
13207
13208         * lyxtext.h: added enum word_location
13209
13210         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13211         changeCase as this operates now also on selections.
13212
13213 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13214
13215         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13216
13217         * many files: send debug output to Debug::INFO instead of
13218         Debug::ANY.
13219
13220         * converter.C (View):
13221         (Convert):
13222         (Move): send debug output to Debug::FILES instead of console.
13223
13224 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13225
13226         * lyxfunc.C (getStatus): use func_status
13227
13228         * func_status.h: new header, describing the results of
13229         LyXFunc::getStatus;
13230
13231         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13232         LFUN_MATH_HALIGN.
13233
13234 2001-06-25  The LyX Project  <jug@sad.it>
13235
13236         * buffer.C (sgmlOpenTag):
13237         (sgmlCloseTag):
13238         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13239
13240 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13241
13242         * text2.C: remove some dead code
13243
13244         * tabular.C (GetCellInset): store the last cell checked (gotten)
13245
13246         * tabular.h: add the helper for the speedup
13247
13248         * lyxtext.h: remove some dead code
13249
13250 2001-06-26  The LyX Project  <Asger>
13251
13252         * paragraph.C: Change export to LaTeX of alignment to
13253         \begin{center} and family for better roundtrip work with reLyX.
13254
13255         * Tune the math drawing a bit.
13256
13257 2001-06-25  The LyX Project  <Asger>
13258
13259         * LColor.C (LColor): New color for math background. New color
13260         for buttons.
13261
13262 2001-06-25  The LyX Project  <jug@sad.it>
13263
13264         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13265
13266         * lyxfunc.C (Open):
13267         * bufferlist.C (newFile): do not restrict to files ending with
13268         .lyx
13269
13270         * BufferView_pimpl.C (MenuInsertLyXFile):
13271
13272 2001-06-24  The LyX Project  <jug@sad.it>
13273
13274         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13275         of compare_no_case
13276
13277 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13278
13279         * lyxtext.h: rename most methods to begin with a small char.
13280         Lots of changes because of this.
13281
13282         * paragraph.C (Paragraph): do not call fitToSize
13283         (erase): call Pimpl::erase
13284         (insertChar): call Pimpl::insertChar
13285         (insertInset): call Pipl::insertInset
13286         (breakParagraph): do not call fitToSize
13287         (breakParagraphConservative): do not call fitToSize
13288         (fitToSize): remove method
13289
13290         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13291
13292 2001-06-24  The LyX Project  <Asger>
13293
13294         * Fix Qt compilation^2
13295
13296 2001-06-24  The LyX Project  <jug@sad.it>
13297
13298         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13299         depthHook(getDepth()-1).
13300
13301         * paragraph.h:
13302         * ParagraphParameters.h:
13303         * ParameterStruct.h: change type of depth to unsigned int ==
13304         depth_type. Many adaptations to other files before of that.
13305
13306 2001-06-24  The LyX Project  <Asger>
13307
13308         * Fix Qt compilation.
13309
13310 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13311
13312         * paragraph.h: renamed several methods to begin with small letter.
13313         several changes to many parts of the code because of this.
13314
13315 2001-06-23  The LyX Project  <jug@sad.it>
13316
13317         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13318         rewritten to discard all double spaces when KeepEmpty is off
13319         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13320         to only handle newlines but not fiddle with spaces and friends.
13321
13322         * lyxfunc.C (MenuNew): when doing 'new from template', use
13323         template_path as default directory
13324
13325 2001-06-23  The LyX Project  <Asger>
13326
13327         * Clean-up of header file includes all over
13328         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13329
13330 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * paragraph.h: renamed from lyxparagraph.h
13333
13334 2001-06-23  Asger  <lyx@violet.home.sad.it>
13335
13336         * Buffer.h: Removed Buffer::resize
13337         * BufferList.h: Removed BufferList::resize
13338         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13339         the document lazily when we change the width, or the font settings.
13340
13341 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13342
13343         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13344
13345 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * buffer.h: remove out of date comment
13348
13349 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * lyxscreen.h:
13352         * screen.C: fix "theoretical" GC leak
13353
13354 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13355
13356         * LaTeX.C (scanAuxFile):
13357         (deplog): remove trailing \r when reading stream (useful under
13358         win32)
13359
13360 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13361
13362         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13363         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13364         and BufferView::theLockingInset(Inset*), so should use them and not
13365         access bv_->text->the_locking_inset directly.
13366
13367         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13368
13369 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13370
13371         * Makefile.am:
13372         * tex-defs.h: remove old unused file
13373
13374 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13375
13376         * BufferView_pimpl.C: fix typo, remove minibuffer message
13377           when buffer has loaded
13378
13379 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13380
13381         * lyxfunc.C (Dispatch): use stringstream
13382         (MenuNew): use stringstream
13383         (Open): use stringstream
13384
13385         * importer.C (Import): use stringstream
13386
13387         * bufferview_funcs.C (CurrentState): use stringstream
13388
13389         * LaTeX.C (run): use stringstream
13390
13391         * BufferView_pimpl.C (savePosition): use stringstream
13392         (restorePosition): use stringstream
13393         (MenuInsertLyXFile): use stringstream
13394
13395 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13396
13397         * BufferView.C:
13398         * Bullet.C:
13399         * ColorHandler.C:
13400         * FontInfo.C:
13401         * FontLoader.C:
13402         * LColor.C:
13403         * LaTeXFeatures.C:
13404         * Painter.C:
13405         * gettext.C:
13406         * lyx_gui_misc.C:
13407         * lyxserver.C:
13408         * vspace.C: removed // -*- C++ -*- as first line.
13409
13410         * lyxfind.h:
13411         * version.h: added // -*- C++ -*- as first line.
13412
13413 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13416
13417         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13418         of string
13419
13420 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13421
13422         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13423         of floats.
13424
13425 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * gettext.C: include LString.h even when --disable-nls is on.
13428
13429 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13430
13431         * converter.h (Get): changed argument type from int to
13432         FormatList::size_type to avoid unnecessary conversion.
13433
13434         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13435         before using it.
13436
13437 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13438
13439         * gettext.h: include LString.h even when --disable-nls is on.
13440
13441 2001-06-07  Juergen Vigna  <jug@sad.it>
13442
13443         * text.C (BreakAgain): subst spaces with tabs.
13444
13445         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13446         (resizeInsetsLyXText): set force on resizeLyXText.
13447
13448 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13449
13450         * gettext.h (gettext_init):
13451         (locale_init): use a real definition instead of a macro
13452
13453 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13454
13455         * Bufferview_pimpl.C:
13456         * LColor.h:
13457         * LColor.C: further lcolor tidies
13458
13459 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13460
13461         * BufferView_pimpl.C (updateScrollbar): simplify.
13462
13463         * BufferView2.C: don't include insets/insetinfo.h, change
13464         prototype for insertInset and call the Pimpl version. let
13465         updateInset call Pimpl version.
13466
13467         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13468         gotoInset to BufferView::Pimpl
13469
13470 2001-06-01  Juergen Vigna  <jug@sad.it>
13471
13472         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13473         inside a LockingInset (is the update needed at all?).
13474
13475 2001-05-31  Juergen Vigna  <jug@sad.it>
13476
13477         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13478         here not the old one otherwise how should we compare it afterwards
13479         if it's the same!
13480
13481 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13482
13483         * lyxfont.C:
13484         * tabular.C:
13485         * tabular-old.C:
13486         * FontInfo.C: bring C functions into global namespace when
13487         necessary
13488
13489 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13490
13491         * LString.h: make sure config.h has been loaded before LString.h.
13492
13493         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13494         (one for each char read by EatLine!).
13495
13496         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13497         variables.
13498
13499 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13500
13501         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13502         to the same as the par we break from
13503
13504 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13505
13506         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13507
13508         * MenuBackend.C (expand): also create menu entries for wide
13509         versions of the floats.
13510
13511         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13512
13513         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13514
13515         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13516         frontends/Makefile.am
13517
13518         * text2.C: adjust
13519         * text.C: adjust
13520
13521
13522         * tabular.C (getTokenValue): add std::
13523
13524         * tabular-old.C (getTokenValue): add std::
13525         (getTokenValue): ditto
13526         (getTokenValue): ditto
13527
13528         * screen.C (ToggleSelection): adjust
13529
13530         * lyxtext.h: put selection cursors inside a Selection struct.
13531
13532         * lyxfunc.C (moveCursorUpdate): adjust
13533
13534         * lyxfont.C (latexWriteStartChanges): add std::
13535
13536         * lyxfind.C: adjust
13537
13538         * font.h: delete with(char const *, LyXFont const &)
13539
13540         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13541
13542         * FontInfo.C (getFontname): add std::
13543
13544         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13545         (workAreaButtonPress): adjust
13546         (tripleClick): adjust
13547         (update): adjust
13548         (moveCursorUpdate): adjust
13549         (Dispatch): adjust
13550
13551         * BufferView2.C (gotoInset): adjust
13552
13553 2001-05-30  Juergen Vigna  <jug@sad.it>
13554
13555         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13556         to check pspell I add this as default as I now have new pspell
13557         libraries and they seem to use this.
13558
13559 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13560
13561         * text2.C (CutSelection): make the cursor valid before the call to
13562         ClearSelection.
13563
13564 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13565
13566         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13567         relied on 0 terminated strings and other horrors. Bug found due to
13568         the new assert in lyxstring!
13569
13570         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13571         KP_ keys.
13572
13573 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13574
13575         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13576         to latinkeys.bind.
13577
13578         * lyxfunc.C (processKeySym): change method of getting to the
13579         self-insert char.
13580
13581         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13582         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13583         * BufferView_pimpl.[Ch]: here as private methods.
13584
13585 2001-05-28  Juergen Vigna  <jug@sad.it>
13586
13587         * text.C (SetHeightOfRow): added the update() call again as it is
13588         needed to initialize inset dimensions!
13589
13590 2001-05-16  Juergen Vigna  <jug@sad.it>
13591
13592         * text2.C (SetCharFont): Add new function with BufferView * and
13593         bool toggleall parameters for setting insets internal fonts.
13594         (SetFont): Freeze the undo as we may change fonts in Insets and
13595         all this change should be inside only one Undo!
13596
13597         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13598         setting font's in insets as for them we have the SetFont function!
13599
13600 2001-05-15  Juergen Vigna  <jug@sad.it>
13601
13602         * text2.C (ClearSelection): to be sure we REALLY don't have any
13603         selection anymore!
13604
13605         * tabular.C (TeXCellPreamble): fixed the left border problem for
13606         multicolumn cells.
13607
13608 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13609
13610         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13611         dependancy file
13612
13613 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13616         LFUN_BREAKPARAGRAPH.
13617
13618         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13619         help test to "internal only", similar for LFUN_INSERT_URL
13620
13621         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13622         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13623         auto_region_delete and deadkeys.
13624
13625 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * LColor.h:
13628         * LColor.C: remove some dead entries, tidy a little
13629
13630 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13631
13632         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13633         commented code.
13634         (Dispatch): implement LFUN_ESCAPE
13635
13636         * commandtags.h: add LFUN_ESCAPE
13637
13638         * LyXAction.C (init): add entry for LFUN_ESCAPE
13639
13640         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13641         Remove commented code.
13642         (insertNote): moved here
13643         (open_new_inset): moved here
13644
13645         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13646         BufferView_pimpl
13647
13648 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13649
13650         * kbmap.C (findbinding): clean it up and make it work correctly.
13651
13652         * lyx_main.C (init): do not pass argc and argv as parameters
13653
13654 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13655
13656         * buffer.C: fix path for OS/2 & Win32
13657
13658         * lyx_gui.C:
13659         * lyx_main:
13660         * lyx_main.C: Added os:: class.
13661
13662         * os2_defines.h: update
13663
13664 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13665
13666         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13667         better by trying again with reduced state.
13668
13669 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * lyxrc.C (read): print error about invalid key sequence only when
13672         debugging (because not all latinX keysyms are known to some X
13673         servers)
13674
13675         * kbsequence.C (getiso): add a few std:: qualifiers
13676         (getiso): comment out extra return statement.
13677
13678 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13681         handling.
13682         (Dispatch): enhance the accent inset a bit. (not perfect)
13683
13684 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13687
13688 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * bufferlist.C (emergencyWrite): fix assert() call
13691
13692 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13693
13694         * text.C (InsertChar): Added trivial patch to only send the "you
13695         can not do multiple spaces this way" message once during a
13696         session.
13697
13698 2001-05-08  Baruch Even  <baruch@lyx.org>
13699
13700         * Makefile.am: Changed order of libraries to get LyX to link properly
13701         with the gnome frontend.
13702
13703 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13704
13705         * LaTeXFeatures.h: add a std:: qualifier
13706
13707 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * paragraph.C (String): use stringstream
13710
13711 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13712
13713         * paragraph.C (writeFile): remove footflag arg
13714
13715         * buffer.C (makeLaTeXFile): use stringstream
13716         (latexParagraphs): remove footnot gurba
13717
13718         * LaTeXFeatures.C (getPackages): use stringstream
13719         (getMacros): likewise
13720         (getTClassPreamble): likewise
13721         (getFloatDefinitions): new method
13722
13723         * paragraph.C (writeFile): reindent
13724         (Erase): reindent
13725
13726         * WorkArea.h: revert the xpos + etc changes.
13727
13728         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13729
13730         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13731
13732         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13733         (pasteSelection): likewise
13734         * text2.C (CreateUndo): likewise
13735
13736 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13737
13738         * minibuffer.C (peek_event): temporarily reduce the functionality
13739         of the minibuffer (to allow args on lfuns)
13740
13741         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13742         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13743
13744         * buffer.C (readInset): add compability reading of old float
13745         lists, add reading of new style float list.
13746         (readInset): avoid reevaluation of inscmd.getCmdName()
13747         (getLists): reindent
13748
13749         * MenuBackend.C (MenuItem): implement parsing of
13750         md_floatlistinsert and md_floatinsert.
13751         (expand::LastFiles): move initalizaton of iterators out of loop,
13752         avoid reevaluation.
13753         (expand::Documents): introduce typdedef vector<string> Strings,
13754         and use it.
13755         (expand::ExportFormats): introduce typedef vector<Format const *>
13756         Formats, and use it.
13757         (expand): implement FloatListInsert and FloatInsert.
13758
13759         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13760         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13761         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13762
13763         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13764         handling.
13765         (Dispatch::LFUN_FLOAT_LIST): implement
13766
13767 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13768
13769         * LaTeX.C (run): Fix problem with --export code.
13770
13771 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13772
13773         * BufferView.[Ch] (workarea): removed.
13774         (getClipboard) new method; wrapper for workarea()->getClipboard()
13775
13776         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13777         bug.
13778
13779         * WorkArea.h (width, height, xpos, ypos): These methods all
13780         returned the dimensions of the work_area sub-area of WorkArea,
13781         resulting in a position error if the WorkArea were resized. Now
13782         return the dimensions of the entire WorkArea.
13783
13784         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13785
13786 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13787
13788         * LaTeX.C (deplog): correct the syntax of regex reg1
13789
13790 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * undo.C: remove !NEW_INSETS cruft
13793
13794 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13795
13796         * text2.C: remove !NEW_INSETS cruft
13797
13798         * text.C: remove !NEW_INSETS cruft
13799
13800         * tabular.C: remove !NEW_INSETS cruft
13801
13802         * spellchecker.C: remove !NEW_INSETS cruft
13803
13804         * lyxtext.h: remove !NEW_INSETS cruft
13805
13806         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13807
13808         * lyxfunc.C: remove !NEW_INSETS cruft
13809
13810         * lyxfind.C: remove !NEW_INSETS cruft
13811
13812         * lyx_cb.C: remove !NEW_INSETS cruft
13813
13814         * figureForm.C: remove  !NEW_INSETS cruft
13815
13816         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13817
13818         * buffer.[Ch]: remove !NEW_INSETS cruft
13819
13820         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13821
13822         * CutAndPaste.C: remove !NEW_INSETS cruft
13823
13824         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13825
13826         * BufferView2.C: remove !NEW_INSETS cruft
13827
13828         * BufferView.h: remove !NEW_INSETS cruft
13829
13830 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13831
13832         * Lsstream.h: include LString.h before the sstream headers to
13833         fix problem with gcc 2.95.3 and lyxstring
13834
13835 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * lyx_main.C: add using directives when needed for C functions
13838         declared in std:: namespace.
13839
13840 2001-04-27  Juergen Vigna  <jug@sad.it>
13841
13842         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13843         (SetHeightOfRow): comment out the update call should not be needed!
13844
13845 2001-04-13  Juergen Vigna  <jug@sad.it>
13846
13847         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13848         (LyXTabular): tried to minimize operator= operations (and realized
13849         hopfully Lars wish).
13850
13851 2001-04-27  Juergen Vigna  <jug@sad.it>
13852
13853         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13854
13855 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13858
13859         * buffer.C (readInset): hack to make listof algorithm work
13860
13861         * BufferView_pimpl.C: hack to make listof algorithm work
13862
13863 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13864
13865         * LyXAction.C: removed all !NEW_INSETS cruft
13866         (init): moved lfun_item in method
13867
13868         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13869
13870 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13871
13872         * BufferView2.C (theLockingInset): white space.
13873
13874 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * minibuffer.C: include <iostream>
13877
13878         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13879
13880         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13881
13882         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13883
13884         * text.[Ch] (TransposeChars): new method
13885
13886 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13887
13888         * call message directly through LyXView instead of through LyXFunc
13889         * BufferView2.C: adjust
13890         * BufferView_pimpl.C: adjust
13891         * FontLoader.C: adjust
13892         * buffer.C: adjust
13893         * bufferview_funcs.C: adjust
13894         * converter.C: adjust
13895         * figureForm.C: adjust
13896         * importer.C: adjust
13897         * lyx_cb.C: adjust
13898         * lyx_gui_misc.C: adjust
13899         * lyxfunc.C: adjust
13900         * lyxvc.C: adjust
13901         * text2.C: adjust
13902         + more files in subdirs
13903
13904         * lyxparagraph.h (size): move up int file
13905         (GetLayout): ditto
13906
13907         * adjust all uses of Assert to lyx::Assert.
13908
13909         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13910         lyxfunctional in namespace lyx
13911         * layout.C (hasLayout): ditto
13912         (GetLayout): ditto
13913         (GetLayout): ditto
13914         (delete_layout): ditto
13915         (NumberOfClass): ditto
13916         * converter.C (GetFormat): ditto
13917         (GetNumber): ditto
13918         (Add): ditto
13919         (Delete): ditto
13920         (SetViewer): ditto
13921         * bufferlist.C (getFileNames): ditto
13922         (emergencyWriteAll): ditto
13923         (exists): ditto
13924         (getBuffer): ditto
13925         * MenuBackend.C (hasSubmenu): ditto
13926         (hasMenu): ditto
13927         (getMenu): ditto
13928         * BufferView_pimpl.C (getInsetByCode): ditto
13929
13930 2001-04-18  Juergen Vigna  <jug@sad.it>
13931
13932         * vspace.C (asLatexString): fixed the 100% problem.
13933
13934 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * lyxfunc.C (Dispatch):
13937         * minibuffer.C:
13938         * minibuffer.h: add a few std:: qualifiers
13939
13940 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13941
13942         * minibuffer.[Ch]: reimplement so that commands is initiated and
13943         run from lyxfunc, simplified som handling, and made the completion
13944         and history code for complete. wip.
13945
13946         * lyxfunc.C (processKeySym): call message
13947         (miniDispatch): new temporary method
13948         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13949         (LFUN_MESSAGE): implement
13950         (LFUN_MESSAGE_PUSH): implement
13951         (LFUN_MESSAGE_POP): implement
13952         (initMiniBuffer): the initial/defualt minibuffer message.
13953
13954         * lyxfont.[Ch]: inline some more getters
13955
13956         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13957
13958         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13959
13960         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13961         (AutoSave): use LFUN_MESSAGE
13962         (Reconfigure): ditto
13963
13964         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13965
13966         * figureForm.C: use LFUN_MESSAGE
13967
13968         * converter.C (runLaTeX): use LFUN_MESSAGE
13969
13970         * bufferview_funcs.C: use LFUN_MESSAGE
13971         (Melt): ditto
13972         (changeDepth): ditto
13973
13974         * bufferparams.h: use boost::
13975
13976         * bufferlist.h: inherit privately from noncopyable
13977
13978         * bufferlist.C (loadLyXFile): remove some commented code.
13979
13980         * buffer.C (runChktex): use LFUN_MESSAGE
13981
13982         * ShareContainer.h: inherit privately from noncopyable
13983
13984         * ParagraphParameters.[hC] (depth): inline it.
13985
13986         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13987         methods.
13988         (message): new method
13989         (messagePush): ditto
13990         (messagePop): ditto
13991         (show): init minibuffer
13992         (showState): direct call
13993
13994         * LaTeX.[Ch]: inherit privately from noncopyable
13995         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13996         instead of WriteStatus.
13997
13998         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13999
14000         * BufferView_pimpl.C (buffer): don't init minibuffer
14001         (workAreaButtonPress): use LFUN_MESSAGE
14002         (workAreaButtonRelease): ditto
14003         (savePosition): ditto
14004         (restorePosition): ditto
14005         (MenuInsertLyXFile): ditto
14006         (workAreaExpose): don't init minibuffer
14007         (update): remove commented code, simplify
14008
14009         * BufferView2.C (openStuff): use LFUN_MESSAGE
14010         (toggleFloat): ditto
14011         (menuUndo): ditto
14012         (menuRedo): ditto
14013         (copyEnvironment): ditto
14014         (pasteEnvironment): ditto
14015         (copy): ditto
14016         (cut): ditto
14017         (paste): ditto
14018         (gotoInset): ditto
14019         (updateInset): remove some commented code
14020
14021         * lastfiles.h: inherit privately from noncopyable
14022         * layout.h: ditto
14023         * lyx_gui.h: ditto
14024         * lyx_main.h: ditto
14025         * lyxlex.h: ditto
14026         * lyxlex_pimpl.h: ditto
14027
14028         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14029         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14030         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14031
14032         * LyXAction.h: inherit privately from noncopyable, add methods
14033         func_begin, func_end, returning iterators to the func map.
14034
14035         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14036         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14037         (func_begin): new method
14038         (func_end): new method
14039
14040         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14041         and not)
14042         (copySelection): ditto
14043         (pasteSelection): ditto
14044
14045         * BufferView.C: whitespace change
14046         * BufferView.h: inherit privately from noncopyable
14047
14048 2001-04-16  Allan Rae  <rae@lyx.org>
14049
14050         * tabular-old.C (l_getline):
14051         * spellchecker.C (sc_check_word):
14052         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14053         an unrecognised preprocessor directive.  So ensure they're wrapped.
14054
14055 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14056
14057         * src/exporter.C (Export): Give an error message when path to file
14058         contains spaces.
14059
14060 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14061
14062         * LaTeX.C (deplog): Always check that foundfile exists.
14063
14064 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14065
14066         * lyx_main.h:
14067         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14068
14069 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14070
14071         * tabular.[Ch] (getLabelList): implement new method
14072
14073         * minibuffer.h: comment ouf setTiimer
14074
14075         * minibuffer.C (ExecutingCB): constify res
14076         (peek_event): constify s
14077         (Set): constify ntext
14078         (Init): constify nicename
14079
14080         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14081
14082         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14083         (savePosition): use two params to Minibuffer::Set
14084         (restorePosition): ditto
14085
14086 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * lyx_main.C: include language.h
14089
14090         * Makefile.am (lyx_main.o): add language.h
14091
14092 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * exporter.C:
14095         * paragraph.C:
14096         * screen.C:
14097         * tabular.C:
14098         * CutAndPaste.C: include gettext.h
14099
14100         * lyxfont.h: remove old hack with ON and OFF.
14101
14102         * lyxparagraph.h:
14103         * lyxfont.h: do not include language.h...
14104
14105         * BufferView2.C:
14106         * LaTeXFeatures.C:
14107         * Painter.C:
14108         * bufferview_funcs.C:
14109         * font.C:
14110         * lyxfont.C:
14111         * text.C:
14112         * text2.C:
14113         * trans_mgr.C:
14114         * paragraph.C: ... but do it here instead
14115
14116 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14117
14118         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14119
14120         * tabular.C: small reformat
14121
14122         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14123         NEW_INSETS version
14124         (GetChar): ditto
14125         (BreakParagraph): ditto
14126         (SetOnlyLayout): ditto
14127         (SetLayout): ditto
14128
14129         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14130         with one arg less.
14131
14132         * lastfiles.C: removed most using decl, add std:: where needed
14133
14134         * buffer.C: ws changes
14135
14136         * MenuBackend.C (class compare_format): put into anon namespace
14137         (expand): constify label, names, action, action2
14138         (expand):
14139
14140         * text.C (SingleWidth): constify font
14141         (IsBoundary): constify rtl2
14142         (GetVisibleRow): constify ww
14143
14144         * LaTeX.C (deplog): constify logfile
14145
14146         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14147         start_x, end_x
14148         (workAreaExpose): constify widthChange, heightChange
14149
14150         * lyxrow.C (par): moved
14151         (height): moved
14152         (next): moved
14153         * lyxrow.h: as inlines here
14154
14155         * lyxfont.h (shape): moved from lyxfont.C
14156         (emph): moved from lyxfont.C
14157
14158         * lyxfont.C (LyXFont): use initialization list for all
14159         constructors
14160         (shape): move to lyxfont.h as inline
14161         (emph): move to lyxfont.h as inline
14162
14163
14164 2001-04-04  Juergen Vigna  <jug@sad.it>
14165
14166         * vspace.C: had to include stdio.h for use of sscanf
14167
14168 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14169
14170         * BufferView.h:
14171         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14172         independent of xforms.
14173
14174 2001-04-02  Juergen Vigna  <jug@sad.it>
14175
14176         * spellchecker.C: fixed namespace placing!
14177
14178 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14179
14180         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14181         the LyXParagraph * is 0.
14182
14183 2001-03-29  Juergen Vigna  <jug@sad.it>
14184
14185         * vspace.C: added support for %, c%, p%, l%.
14186         (stringFromUnit): added helper function.
14187         (asLatexString): changed to give right results for the %-values.
14188
14189         * buffer.C: convert the widthp in a width%.
14190
14191 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14192
14193         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14194         figureForm.[Ch].
14195
14196         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14197         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14198
14199         * lyx_cb.[Ch]: see above.
14200
14201         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14202         form1.[Ch].
14203
14204         * form1.[Ch]:
14205         * lyx.[Ch]: replaced by figure_form.[Ch].
14206
14207         * lyx_gui.C:
14208         * lyx_gui_misc.C:
14209         * lyxfunc.C: changed headers associated with above changes.
14210
14211 2001-03-27  Juergen Vigna  <jug@sad.it>
14212
14213         * BufferView_pimpl.C: set the temporary cursor right!
14214
14215 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14216
14217         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14218
14219 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14220
14221         * LString.h: removed "using std::getline"!
14222
14223         * BufferView_pimpl.C (Dispatch): changes due to changes in
14224         InsetInclude::Params.
14225
14226         * buffer.C (tag_name): removed redundant break statements as they were
14227         producing lots of warnings with my compiler.
14228
14229 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14230
14231         * LString.h: add "using std::getline" when using the real <string>.
14232
14233 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14234
14235         * buffer.C: removed bitset usage.
14236         PAR_TAG moved to an anonymous name space.
14237         (tag_name): new funtion, also in the anonymous namespace.
14238         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14239         (makeDocBookFile): clean code. Completed transition from string arrays
14240         to string vectors.
14241         (SimpleDocBookOnePar): code clean.
14242
14243 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14244
14245         * tabular.C: add some comments.
14246
14247 2001-03-22  Juergen Vigna  <jug@sad.it>
14248
14249         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14250         compatibility read a bit and fixed bug with minipage in different
14251         depth.
14252
14253 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14254
14255         * buffer.C (pop_tag): removed.
14256         (push_tag): removed.
14257         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14258         array replaced with vector. Added support for CDATA sections.
14259         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14260         at any nest level.
14261         (makeDocBookFile): XML conformant declaration of CDATA section,
14262         fixed bug related to <emphasis> in the first paragraph char.
14263         (sgmlOpenTag): exclude empty tags.
14264         (sgmlCloseTag): ditto.
14265
14266         * buffer.h (pop_tag): removed.
14267         (push_tag): removed.
14268
14269 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14270
14271         * language.h (Languages): added size_type and size().
14272
14273 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14274
14275         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14276         response on compability reading of minipages. One probliem is that
14277         the old usage of minipages was «flertydig»
14278
14279         * several files here and in subdirs: don't use static at file
14280         scope use anon namespaces instead.
14281
14282 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14283
14284         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14285         LaTeX output. This is necessary for Literate document
14286         processing.
14287
14288 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14289
14290         * buffer.C: insert hfill when needed.
14291
14292         * tabular.C (l_getline): use string::erase, small whitespace change.
14293
14294         * BufferView_pimpl.C: try the anon namespace.
14295         * WorkArea.C: ditto
14296
14297 2001-03-16  Juergen Vigna  <jug@sad.it>
14298
14299         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14300         otherwise it won't open options-dialogs.
14301
14302         * buffer.C: honor pextraWidth(p) on converting minipages.
14303
14304         * tabular.C (l_getline): changed the functions to strip trailing \r.
14305
14306 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14307
14308         * BufferView_pimpl.C:
14309         * minibuffer..C: added "using SigC::slot" declaration.
14310
14311 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14312
14313         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14314
14315         * text2.C: ditto
14316
14317         * text.C: ditto
14318
14319         * paragraph.C: ditto
14320
14321         * lyxtext.h: NO_PEXTRA
14322
14323         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14324
14325         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14326         * ParameterStruct.h: ditto
14327         * ParagraphParameters.h: ditto
14328         * lyxparagraph.h: ditto
14329
14330 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14331
14332         * buffer.C: add compability for minipage alignment.
14333         (latexParagraphs): remove unwanted pextra check.
14334
14335         * several files: remove CXX_WORKING_NAMESPACES
14336
14337         * buffer.C (pop_tag): tie is in namespace boost
14338
14339         * BufferView.h: noncopyable is in namespace boost
14340         * lyxlex.h: ditto
14341         * lyx_main.h: ditto
14342         * lyx_gui.h: ditto
14343         * layout.h: ditto
14344         * lastfiles.h: ditto
14345         * bufferlist.h: ditto
14346         * ShareContainer.h: ditto
14347         * LyXView.h: ditto
14348         * LyXAction.h: ditto
14349         * LaTeX.h: ditto
14350
14351 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14352
14353         * Merging changes from BRANCH_MVC back into HEAD.
14354
14355         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14356
14357 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14358
14359         * BufferView_pimpl.C: change from intl.C
14360
14361         * combox.h:
14362         * combox.C:
14363         * Makefile.am: move combox.*
14364
14365         * form1.h:
14366         * form1.C:
14367         * lyx_gui.C:
14368         * intl.h:
14369         * intl.C: remove dialog (covered by prefs)
14370
14371 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14372
14373         * lyxfunc.C (Dispatch): removed redundant break statement.
14374
14375 2001-03-14  Juergen Vigna  <jug@sad.it>
14376
14377         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14378
14379 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14380
14381         * buffer.C: add hack to fix compability reading of minipages.
14382
14383 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14384
14385         * buffer.C (getLists): Cleanup.
14386
14387 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14388
14389         * lyxfont.C (update): don't honor toggleall on font size.
14390
14391 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14392
14393         * bmtable.c:
14394         * bmtable.h:
14395         * Makefile.am: moved to frontends/xforms/
14396
14397         * lyx_gui_misc.C:
14398         * lyxfunc.C:
14399         * BufferView_pimpl.C: changes for moved mathpanel
14400
14401 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * gettext.h: fix gettext_init() in --disable-nls
14404
14405 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14406
14407         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14408
14409 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14410
14411         * lyx.C:
14412         * lyx.h: strip external form
14413
14414 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14415
14416         * BufferView_pimpl.C: add comment, destroySplash()
14417
14418 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14419
14420         * BufferView_pimpl.C:
14421         * LyXAction.C:
14422         * buffer.C:
14423         * commandtags.h:
14424         * lyxfunc.C: use re-worked insetinclude
14425
14426 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14427
14428         * buffer.C: add using std::stringstream.
14429
14430         * lyx_cb.C: readd using std::ios.
14431
14432         * buffer.C: add using std::map.
14433
14434         * BufferView_pimpl.C: add using std::vector.
14435
14436         * ShareContainer.h: add std:: to swap.
14437
14438         * buffer.h: add some typedefs
14439         * buffer.C (getLists): use them
14440         (getLists): renamed from getTocList.
14441         add a counter for the different float types and use it in the
14442         generated string.
14443         (getLists): use the same counter for the NEW_INSETS and the "non"
14444         NEW_INSETS
14445
14446         * lyx_cb.h: remove unused items, includes, using etc.
14447
14448         * ShareContainer.h: remove some commented code, add more comments
14449         and "documentation".
14450
14451 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14452
14453         * buffer.C (getTocList): make the list also when NEW_INSETS is
14454         defined.
14455
14456         * buffer.h: remove TocType
14457
14458         * buffer.C (getTocList): change to return a map<string,
14459         vector<TocItem> >, implement for dynamic number of list.
14460
14461         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14462         * text2.C (PasteSelection): adjust
14463         * CutAndPaste.C (pasteSelection): adjust
14464
14465         * FloatList.C (FloatList): update from the new_insets branch.
14466         * Floating.[Ch]: ditto
14467         * LaTeXFeatures.C: ditto
14468         * buffer.C: ditto
14469         * lyxlex_pimpl.C: ditto
14470
14471         * paragraph.C (Last): remove when NEW_INSETS is defined.
14472
14473         * other file: changes because of the above.
14474
14475 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14476
14477         * lyxparagraph.h: rename next to next_, previous to previous_,
14478         make them private for NEW_INSETS. Rename Next() to next(),
14479         Previous() to previous().
14480
14481         * other files: changes because of the above.
14482
14483 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14484
14485         * BufferView.h:
14486         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14487         problem.
14488
14489 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14490
14491         * main.C (main): pass lyx_localedir to gettext_init().
14492
14493         * gettext.h: remove locale_init and gettext_init macros
14494
14495         * gettext.C (locale_init): new function
14496         (gettext_init): new function
14497
14498         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14499         setlocale().
14500
14501 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14502
14503         * Moved credits to frontends:
14504         * credits.[Ch]: removed
14505         * credits_form.[Ch]: removed
14506         * lyx_gui_misc.C: remove credits stuff
14507         * Makefile.am:
14508
14509 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14510
14511         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14512
14513         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14514         unneeded destructor.
14515
14516         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14517         a standalone pointer again.
14518
14519         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14520
14521 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * Makefile.am:
14524         * filedlg.h:
14525         * filedlg.C:
14526         * LyXAction.C:
14527         * ToolbarDefaults.C:
14528         * bufferlist.C:
14529         * commandtags.h:
14530         * form1.C:
14531         * form1.h:
14532         * lyx_cb.C:
14533         * lyx_cb.h:
14534         * lyxfunc.h:
14535         * lyxfunc.C:
14536         * BufferView_pimpl.C: use new file dialog in GUII
14537
14538         * lyx_cb.h:
14539         * lyx_cb.C: remove LayoutsCB to Toolbar
14540
14541 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14542
14543         * ShareContainer.h (get): add std:: qualifier
14544
14545 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * ShareContainer.h: define a proper ShareContainer::value_type
14548         type (and use typename to please compaq cxx)
14549
14550 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14551
14552         * lyxparagraph.h: move serveral local vars to
14553         ParameterStruct/ParagraphParameters., use ShareContainer in
14554         FontTable., make vars in FontTable private and add getter and
14555         setter.
14556
14557         * paragraph.C: changes because of the above.
14558
14559         * lyxfont.h: remove copy constructor and copy assignment. (the
14560         default ones is ok), move number inside FontBits. move inlines to
14561         lyxfont.C
14562
14563         * lyxfont.C: add number to initializaton of statics, move several
14564         inlines here. constify several local vars. some whitespace
14565         cleanup. Dont hide outerscope variables.
14566
14567         * Spacing.h: add two new constructors to match the set methods.
14568
14569         * ShareContainer.h: new file, will perhaps be moved to support
14570
14571         * ParameterStruct.h: new file
14572
14573         * ParagraphParameters.h: new file
14574
14575         * ParagraphParameters.C: new file
14576
14577         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14578         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14579
14580         * BufferView_pimpl.C: ParagraphParameter changes.
14581         * buffer.C: Likewise.
14582         * bufferview_funcs.C: Likewise.
14583         * text.C: Likewise.
14584         * text2.C: Likewise.
14585
14586 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14587
14588         * lyxfind.C (LyXReplace): do not redefine default argument in
14589         implementation.
14590         (IsStringInText): ditto
14591         (SearchForward): ditto
14592         (SearchBackward): ditto
14593
14594 2001-03-06  Juergen Vigna  <jug@sad.it>
14595
14596         * lyxfind.C (IsStringInText): put parentes around expressions.
14597
14598 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14599
14600         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14601
14602 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14605
14606         * stl_string_fwd.h: add comment
14607
14608         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14609
14610         * tabular.h:
14611         * tabular.C: remove unused DocBook methods
14612
14613         * intl.C:
14614         * language.C:
14615         * paragraph.C:
14616         * buffer.C:
14617         killed DO_USE_DEFAULT_LANGUAGE
14618
14619 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14620
14621         * lyx_gui.C: do not include language.h.
14622
14623         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14624         arguments in function implementation.
14625
14626 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14627
14628         * BufferView_pimpl.C: add <ctime>
14629
14630 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14631
14632         * BufferView_pimpl.C: add using std::find_if
14633
14634 2001-02-27  José Matos  <jamatos@fep.up.pt>
14635
14636         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14637         by OnlyPath.
14638
14639 2001-02-11  José Matos  <jamatos@fep.up.pt>
14640
14641         * buffer.C (makeDocBookFile): command styles now have a parameter as
14642         "title" by default.
14643
14644 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14645
14646         * layout_forms.[Ch]: removed
14647         * lyx_cb.[Ch]: out character
14648         * lyx_gui.C: out character
14649         * lyx_gui_misc.C: out character
14650         * bufferview_funcs.C: : out character,
14651         added toggleall as parameter in ToggleAndShow
14652
14653 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14654
14655         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14656
14657         * text2.C (SetCurrentFont): Disable number property at boundary.
14658
14659 2001-02-26  Juergen Vigna  <jug@sad.it>
14660
14661         * lyxfunc.C (getStatus): added a string argument override function so
14662         that this is correctly called from LyXFunc::Dispatch if it contains a
14663         do_not_use_argument which is used!
14664         (Dispatch): added check for "custom" export and call appropriate func.
14665
14666 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14667
14668         * lyxrc.C: Add language_command_local, language_use_babel and
14669         language_global_options.
14670
14671         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14672
14673         * buffer.C (makeLaTeXFile): Use language_use_babel and
14674         language_global_options.
14675
14676 2001-02-23  Juergen Vigna  <jug@sad.it>
14677
14678         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14679         which works with LyXText and putted it inside BufferView. Here now we
14680         only call for that part the BufferView::Dispatch() function.
14681
14682         * BufferView.C (Dispatch): added.
14683
14684         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14685         functions which needs to use a LyXText over from LyXFunc.
14686         (MenuInsertLyXFile): added
14687         (getInsetByCode): added
14688         (moveCursorUpdate): added
14689         (static TEXT): added
14690
14691 2001-02-22  Juergen Vigna  <jug@sad.it>
14692
14693         * BufferView_pimpl.C (update): call a status update to see if LyXText
14694         needs it.
14695
14696 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14697
14698         * vc-backend.C (revert): implement for CVS
14699         (getLog): implement for CVS
14700
14701 2001-02-20  Juergen Vigna  <jug@sad.it>
14702
14703         * text2.C (ClearSelection): added BufferView param for inset_owner call
14704
14705         * lyxfunc.C (TEXT): added this function and use it instead of
14706         directly owner->view()-text of getLyXText().
14707
14708 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14709
14710         * src/layout_forms.C: out preamble
14711         * src/layout_forms.h: out preamble
14712         * src/lyx_cb.C: out preamble
14713         * src/lyx_cb.h: out preamble
14714         * src/lyx_gui.C: out preamble
14715         * src/lyx_gui_misc.C: out preamble
14716         * src/lyxfunc.C: connect with guii preamble
14717
14718 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14719
14720         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14721
14722 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14723
14724         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14725         whether to run bibtex.
14726
14727 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14728
14729         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14730
14731 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14732
14733         * Makefile.am (lyx_SOURCES): removed bibforms.h
14734
14735         * vspace.h: doxygen
14736
14737         * text.C (GetVisibleRow): make several local vars const
14738
14739         * tabular.C: small cleanup.
14740
14741         * lyxserver.C (callback): use compare instead of strncmp
14742
14743         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14744         inlines to after class or to paragraph.C
14745
14746         * lyxfont.h: remove friend operator!=
14747
14748         * converter.h: move friend bool operator< to non friend and after
14749         class def.
14750
14751         * combox.h: small cleanup
14752
14753         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14754         to inlines after class def.
14755
14756         * buffer.C (pop_tag): use string operations instead of strcmp
14757
14758         * bmtable.c: doxygen, small cleanup
14759
14760         * LaTeX.h: remove friend operator==
14761
14762 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14763
14764         * screen.C:
14765         * lyxrc.[Ch]:
14766         * lyxfunc.C:
14767         * lyxfont.[Ch]:
14768         * lyx_cb.C:
14769         * intl.[Ch]:
14770         * commandtags.h:
14771         * buffer.C:
14772         * WorkArea.[Ch]:
14773         * LyXAction.C:
14774         * BufferView_pimpl.C:
14775         * BufferView.[Ch]: remove cruft
14776
14777 2001-02-14  Juergen Vigna  <jug@sad.it>
14778
14779         * lyxfunc.C: removed #if 0 unused code
14780
14781         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14782
14783         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14784
14785         * text2.C (SetSelection): added a BufferView * parameter
14786
14787 2001-02-13  Juergen Vigna  <jug@sad.it>
14788
14789         * lyxfunc.C (Dispatch): fixed protected blank problem.
14790         * BufferView2.C (protectedBlank): added LyxText * parameter.
14791
14792         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14793         (AppendColumn): same as above for column_info.
14794
14795         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14796         (moveCursorUpdate): use a LyXText param for support of InsetText.
14797
14798         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14799         (tripleClick): ditto
14800
14801         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14802
14803         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14804
14805         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14806
14807         * text2.C (SetSelection): set correct update status if inset_owner
14808         (ToggleFree): ditto
14809
14810 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14811
14812         * tabular.C: remove some commented code.
14813
14814 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14815
14816         * BufferView_pimpl.C: call hideSplash()
14817
14818         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14819
14820         * include_form.h:
14821         * bibforms.h: remove
14822
14823         * lyxfunc.C:
14824         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14825           add LFUN_CHILD_CREATE
14826
14827         * counters.h: fix tiny typo
14828
14829         * lyx_cb.C:
14830         * lyx.h:
14831         * lyx_gui.C:
14832         * lyx.C: move splash to frontends/xforms/
14833
14834         * lyx_gui_misc.C: move Include and Bibform to frontends
14835
14836         * lyxvc.h: clarify comment
14837
14838         * vspace.C: tiny housekeeping
14839
14840 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14841
14842         * text.C (PrepareToPrint): RTL Fix.
14843
14844         * paragraph.C (GetUChar): New method.
14845         (String):  Use GetUChar.
14846
14847         * buffer.C (asciiParagraph): Use GetUChar.
14848
14849 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14850
14851         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14852
14853 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * buffer.h:
14856         * buffer.C: rename to getLogName(), handle
14857           build log / latex log nicely
14858
14859 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * MenuBackend.C:
14862         * MenuBackend.h: remove support for reference menuitem type.
14863
14864 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * BufferView_pimpl.C: housekeeping
14867         * BufferView_pimpl.h:
14868         * LyXView.h:
14869         * Makefile.am:
14870         * Timeout.C:
14871         * Timeout.h:
14872         * minibuffer.h: move Timeout GUI-I
14873
14874 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14875
14876         * lyxrc.C (read): Update converters data-structures.
14877
14878 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14879
14880         * LaTeX.h (operator!=): add operator != for Aux_Info
14881
14882 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14883
14884         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14885
14886         * LaTeXLog.C: deleted, useful code moved to Buffer
14887
14888         * buffer.h:
14889         * buffer.C: new function getLatexLogName()
14890
14891         * lyx_gui_misc.C:
14892         * lyx_gui.C:
14893         * lyxvc.C:
14894         * lyxvc.h:
14895         * lyxfunc.C: use frontends for LaTeX and VC logs
14896
14897 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14898
14899         * LaTeX.h: yet another std:: that Allan forgot.
14900
14901         * Variables.C (set): renamed from isset(), because this clashes
14902         with some HP-UX macros (grr).
14903
14904 2001-02-06  Allan Rae  <rae@lyx.org>
14905
14906         * LaTeX.h: Another bug fix.  Missing std:: this time.
14907
14908 2001-02-04  Allan Rae  <rae@lyx.org>
14909
14910         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14911         floats problem. I've left it commented out because it's not quite
14912         correct.  It should also test that the current object is a table or
14913         figure inset.  But I haven't gotten around to figuring out how to do
14914         that.  I *think* it'll be something like: "table" == inset.type()
14915
14916         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14917         bool.
14918
14919 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14920
14921         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14922         all the citation/databases/styles in the auxilary file.
14923         (run): Rerun latex if there was a babel language error.
14924
14925 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14926
14927         * text.C (Backspace): Preserve the font when changing newline char
14928         with a space.
14929         (BreakParagraph): If the cursor is before a space, delete the space.
14930
14931         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14932
14933 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14934
14935         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14936         new argument (code).
14937         (ChangeCitationsIfUnique): New method.
14938
14939         * paragraph.C (GetPositionOfInset): Handle bibkey.
14940
14941 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14942
14943         * BufferView_pimpl.h: change type of Position::par_pos to
14944         LyXParagraph::size_type.
14945
14946 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14947
14948         * BufferView_pimpl.C (savePosition, restorePosition): Write
14949         messages to minibuffer.
14950
14951 2001-01-28  José Matos  <jamatos@fep.up.pt>
14952
14953         * buffer.C (makeDocBookFile): adds support for document language.
14954         A silly restriction on the name of LatexCommand types where removed.
14955         Added support for CDATA sections, allows to chars unescaped, used
14956         among others in code, to avoid escape < and >.
14957
14958 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14959
14960         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14961         saved positions instrad of a stack. Furthermore, a position is
14962         stored using paragraph id/paragraph position.
14963
14964         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14965         Remove LFUN_REF_BACK.
14966
14967 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14968
14969         * converter.C (dvipdfm_options): New method.
14970
14971 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14972
14973         * vspace.C (isValidLength): Fix for empty input string.
14974
14975 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14976
14977         * LyXAction.C (init): change description of LFUN_FIGURE to
14978         "Insert Graphics"
14979
14980 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14981
14982         * LaTeX.C: add using directive
14983
14984 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14985
14986         * MenuBackend.C (expand): Fix the sorting of the formats.
14987
14988 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14989
14990         * lyx_main.C: tiny error message fix
14991
14992 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14995         calling fl_initialize(). This fixes the problem with ',' as
14996         decimal separator in text files.
14997
14998 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14999
15000         * trans.C (process): Fix the keymap bug.
15001
15002 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15003
15004         * LaTeX.C (scanAuxFiles): New method. Provides support for
15005         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15006         (scanLogFile) Scan for "run BibTeX" messages.
15007
15008         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15009         OT1 font encoding. Also, load the aecompl package if the ae
15010         package is loaded.
15011
15012         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15013
15014 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15015
15016         * texrow.C (increasePos): turn two error messages into debug
15017         messages.
15018
15019 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * LaTeX.C (scanAux): Handle the \@input macro.
15022         (runBibTeX): Use scanAux().
15023
15024         * language.C (latex_options_): New field.
15025
15026         * LaTeXFeatures.C (getMacros): Add language macros.
15027
15028         * buffer.C (makeLaTeXFile): Small fix.
15029
15030 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15033
15034         * text2.C: add a using directive.
15035
15036 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * BufferView2.C:
15039         * lyx_gui_misc.h:
15040         * lyxfr1.C:
15041         * lyxfunc.C: kill LyXBell.
15042
15043 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15044
15045         * text.C (IsBoundary): Remove the error message
15046
15047         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15048
15049         * lyxrc.C (setDefaults): Correct initialization value for
15050         font_norm_type.
15051
15052 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15053
15054         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15055         gotoError().
15056
15057         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15058         and GotoNextNote().
15059
15060         * src/LyXAction.C: Added reference-next.
15061
15062         * text.C (InsertChar): Use contains instead of strchr.
15063
15064         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15065
15066 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15069         alignment commands (when needed).
15070
15071         * text.C (InsertChar): Add ':' to number separator chars.